Hello,

I'd like to propose a new entry for the FAQ :)

Q: Can I change the colour scheme without restarting the terminal?

A: Yes! Simply pipe an .Xresources snippet into the following
140-character script:

#!/bin/sh
tr -d ' \t' | sed -n '
s/.*background:/\x1b]11;/p
s/.*foreground:/\x1b]10;/p
s/.*color\([0-9][^:]*\):/\x1b]4;\1;/p
' | tr \\n \\a

The script produces XTerm OSC escape sequences from lines like
'*.color15: #ffffff'.

Does it look ok?

Thanks.
Alexander

_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/rxvt-unicode

Reply via email to