[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Colour telnet session
- Subject: Re: [cobalt-users] Colour telnet session
- From: flash22@xxxxxxx
- Date: Fri Nov 3 18:27:02 2000
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
On Wed, 1 Nov 2000, Jody wrote:
> Hi Guys --
>
> Could you please help?
>
> When we telnet into our RaQs, we only ever get a Black and white session. I
> know linux can be multicolored (e.g. for ls commands). Does anyone know how
> I can modify our installation so that when I telnet in I get colour output?
>
> Not urgent but would be nice dontchathink?
>
> Jody.
Well, ls color is kind of a hack, and it can cause problems if you use it
through telnet since it has no way to know if your terminal really can do
color, but if you want , try this:
alias ls="/bin/ls --color"
LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tga=01;35:"
That should get you color filenames , this will only last till you log out
to make it stick put the above 2 lines in .profile
Gordon