NetBSD-Users archive

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

Re: Hacking on .Xresources



On Thu, Dec 12, 2024 at 08:09:46AM +0100, Ignatios Souvatzis wrote:
> No, but you can do that with a small script from the terminal - there's an escape character sequence. I'll post my script later when I have access to it.

Something like:

	printf "\x1b]2;you are: ${USER} and here: ${cwd} \x07"

where \x1b is ESC and \x07 is ^G aka BEL

or:

	 printf "\x1b]2;Hi ${USER} it is %s\x07" "$(date)"


Martin


Home | Main Index | Thread Index | Old Index