-   Slackware (
-   -   colored ls in screen (

[GOD]Anck 03-22-2005 01:18 PM

colored ls in screen
This has been annoying me for some time now.. when I use the "screen" program on a terminal it won't display colored ls. It's probably ridiculously simple to turn on, but I failed to find it so far.

Where can I turn on colored ls for use within screen?

killerbob 03-22-2005 02:09 PM

According to the man page for "screen", it emulates VT100.

VT100 terminals don't support ANSI. That is, they don't support colour at all. I'm pretty sure that ls *is* coloured, but that the terminal that "screen" is emulating isn't displaying it.

cavalier 03-22-2005 03:07 PM

Re: colored ls in screen
I know that, when I want this to work in an xterm, I have to make sure that I execute the command "xterm -ls" to force it to be a login shell, and thus read the necessary commands to colorize the ls command. Is it possible to pass any arguments like that to screen? I honestly don't know, but it's what I'd look for...

All times are GMT -5. The time now is 08:39 PM.