View Single Post
Old 05-13-2019, 09:07 AM
bgagnon bgagnon is offline
VanDyke Technical Support
Join Date: Oct 2008
Posts: 4,418
Hi Azim,

I do not understand SecureCRT's role in your project.

Are you connecting a local shell session in SecureCRT?

If so, since the Local Shell inherits from the Default session, you will need to make changes to the Default session:
  1. Set Terminal emulation to Xterm (Terminal > Emulation category; this is the default for 8.1 and newer versions)
  2. Enable ANSI Color option (Terminal > Emulation category; this is on by default in 8.3 and newer verions)
  3. Character encoding should be set to UTF-8 (Terminal > Appearance category)
  4. Font should be set to Menlo (Terminal > Appearance category)
  5. Add the following lines to the end of your .bash_profile (e.g. from within native Terminal, run: vi ~/.bash_profile, then add the two lines to the bottom of the file and save it.)
    export LC_ALL=en_US.UTF-8
    export LANG=en_US.UTF-8

  6. Map the following keystrokes so that they send character codes that are expected for Mac bash shell (Terminal > Emulation > Mapped Keys category)
    Option/Alt+Left --> \033b
    Option/Alt+Right --> \033f
    Home --> \033[H
    End --> \033[F

VanDyke Software
Technical Support
(505) 332-5730
Reply With Quote