Printable Version of Topic

Click here to view this topic in its original format

Linuxhelp _ Technical Support _ Screen App, Retain BG Color

Posted by: Anthony Jul 6 2009, 03:56 PM

Hello!
I am using the screen app, and have set bce to on, and issued the following commands to set my background and foreground color:
tput setab 4; clear; tput setaf 7; clear;

This temporarily sets everything properly on my screen. However, when I issue any commands that change or set their own background color (for example, when I issue an "ls" command with colorized output), the background color gets lost for any new output and I have to reissue the commands listed above in order to retrieve my background color.

Ideally I'd like to keep my background color when issuing these commands, as it serves as a good way to remind me of what environment I am currently issuing commands in. Any help in fixing this issue would be greatly appreciated! Thanks!

Posted by: markjr Jul 8 2009, 10:21 AM

Sorry Anthony, I think I pruned your account as well in a sweep of a few hundred spambot signups.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)