NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Tweeking xterm -title



Changes the text color -- in .ksh

printf "\e[0;32m  %s\007  " "$(date "+%A ----- %d - %B - %Y")"

How do I put the color in -title ; which is in .xinitrc

On Sat, Dec 28, 2024 at 3:04 AM Ignatios Souvatzis
<ignatios%cs.uni-bonn.de@localhost> wrote:
>
> Todd, as Greg wrote earlier: 'In X11 the
> window manager is in charge of the window decorations (frame border,
> title, etc.).  For ctwm(1) the "TitleForeground" and "TitleBackground"
> lists are used to set the colours of the window titles.'
> You can set the title TEXT from Resources, from the -title option and even change it through output INTO the xterm using one strange escape sequence as mentioned a few times earlier, but it is only drawn by the window manager and not using the terminal emulator of xterm, so no colours that way.
>
>     -is


Home | Main Index | Thread Index | Old Index