The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

Colour in an ssh session? by MrTrick2006-07-03 17:54:51
  Its an application thing... by imperito2006-07-03 17:58:51
    ooo! ls --color works... by MrTrick2006-07-03 18:07:55
      Well, it depends on the application... by imperito 2006-07-03 18:14:00
which in turn probably depends on the terminal capabilities library in use (usually termcap, terminfo, ncurses, or all of the above).

try setting TERM=xterm-color or xtermc in your environment, (export for sh, setenv for stupid).

vim has a color option that needs to be set, depending on defaults and termcaps. Other apps have color options too, although many will Just Work if your termcaps are correctly setup.

You can alias ls to ls --color (or ls --color --whateverelse) to make it always display that way.
[ Reply ]
        Hmm... by MrTrick2006-07-03 18:23:45
          both last for the life of the shell... by imperito2006-07-03 19:02:13
          Late, but.... by Stuka2006-07-03 21:19:38

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)