It is currently Mon, 27 Jun 2022 12:19:23 GMT



 
Author Message
 changing a terminal's background color

Is there a way to set the terminal background from a shell
so that the color attribute is changed to that color and
the new background rendition of the terminal is applied
to every character position on the screen possibly
clearing the screen? The clear command seems to
lack such functionality.

All suggestions are welcome!

Thanks,

Neil



 Wed, 26 Nov 2003 13:30:08 GMT   
 changing a terminal's background color

http://groups.google.com/groups?as_q=terminfo&as_ugroup=comp.unix.she...

TERM=xterm-color export TERM
tput setab 4
tput clear

that works for me.

Cyrille.
--
home: mailto:clefevre%no-s...@redirect.to.invalid    | UNIX is user-friendly;
work: mailto:Cyrille.Lefevre%no-s...@edf.fr.invalid  | it's just particular
Supprimer "%no-spam" et ".invalid" pour me repondre. | about who it chooses
Remove "%no-spam" and ".invalid" to answer me back.  | to be friends with.



 Wed, 26 Nov 2003 14:43:16 GMT   
 changing a terminal's background color
[optional FUP2 c.w.x for X11-specific replies]

(must be T.Dickeys xterm, as the MIT xterm doesn't know color)

<URL:http://dickey.his.com/xterm/xterm.faq.html>:
TERM=xterm-xfree86

package contains terminal description, as does ncurses, and also an
explanation of all control/escape sequences (the latter is why i post)

Sven



 Thu, 27 Nov 2003 02:21:57 GMT   
 
   [ 3 post ] 

Similar Threads

1. Changing a terminal's foreground and background color

2. Question of changing shortcut's text background color

3. changing background color and font color of console (no X)

4. Changing one terminal background from another terminal

5. Changing terminal's *normal* color scheme?"

6. Terminal Background color

7. Improper Background Colors In The Terminal

8. Changing background color in X Windows

9. Change Dtlogin Background Bitmap / Color

10. Change shell background color


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software