/
How to display colors
How to display colors
PROBLEM DESCRIPTION
This article explains how you can use colors in Xshell. Different colors usually used in UNIX/Linux computers to distinguish folders and files.
RESOLUTION
There are few requirements to display colors properly:
- Set color enabled color schema in Xshell
Xshell terminal can show 256 colors. From the Color Schema dialog box, select a schema that can display colors such as 'ANSI Colors on Black'. - Use the SHELL environment that can display colors
Some UNIX/Linux shell environment cannot display colors. Use BASH or TCSH to use colors on terminal. Use the terminal type that can display colors
$ echo $TERM $ export TERM=xterm (or setenv TERM xterm)
- Use the application that can display colors
Some UNIX/Linux applications do not support colors. Refer to the application manual for more information on how to display colors. ls and vim support colors. Configure terminal applications to display colors
For example, in order to use colors with 'ls', you would use the '--color=tty' option.$alias ls='ls --color=tty'
Related content
Controlling colors when using the ls command
Controlling colors when using the ls command
Read with this
Viewing MAN pages in Color
Viewing MAN pages in Color
More like this
Appearance _ Highlight
Appearance _ Highlight
More like this
Appearance _ Window
Appearance _ Window
More like this
Why are broken characters displayed?
Why are broken characters displayed?
More like this
xsh.Screen
xsh.Screen
More like this