Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 03-22-2005, 01:18 PM   #1
Registered: Dec 2003
Location: The Netherlands
Distribution: Slackware
Posts: 171

Rep: Reputation: 35
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?
Old 03-22-2005, 02:09 PM   #2
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Rep: Reputation: 31
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.
Old 03-22-2005, 03:07 PM   #3
Registered: Feb 2005
Location: Denver, CO
Distribution: Slack 12, tweaked just so (though I'm also a fan of Ubuntu)
Posts: 198
Blog Entries: 1

Rep: Reputation: 30
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...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
colored vlinks? synaptical LQ Suggestions & Feedback 2 07-15-2005 07:54 PM
colored shell devit Slackware 1 03-15-2004 09:23 AM
colored shell spank Linux - General 3 08-31-2003 02:18 AM
Colored prompter spank Linux - Newbie 1 08-25-2003 01:25 PM
Colored console jeucken Linux - Software 1 11-15-2002 05:13 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:42 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration