[Konsole-devel] Bug#37942: feature request: escape sequence to set background color (like xterm)
saurer at nts.at
saurer at nts.at
Sun Feb 10 11:15:04 UTC 2002
Package: konsole
Version: 1.0.1 (using KDE 2.2.2 )
Severity: wishlist
Installed from: Not Specified
Compiler: Not Specified
OS: Linux
OS/Compiler notes: Not Specified
Hello!
I use the following escape sequence to control the background color of
xterm sessions when logging in to different machines:
PS1="\[\033]11;lightgreen\007\033]0;\u@\h\007\033[0;34m\]\u@\h:\w>\[\033[0m\] "
xterm works, but my konsole windows always have the same background color.
I use this simple trick to
differentiate between telnet sessions
to different hosts by looking at
the background color of the window.
Each color means a specific machine, for example:
lightyellow ... machine 1
lightgreen ... machine 2
lightred ... production machine 1
NCD terminals support it, xterm
too, but konsole not (yet).
Kind regards,
Robert Saurer
(Submitted via bugs.kde.org)
More information about the konsole-devel
mailing list