achoi@cory.Berkeley.EDU (Andrew Choi) (12/06/90)
Hi again everyone. First of all, I want to express my gratitude to the many people in the net who answer my questions posted earlier. The net is such a good and friendly environment. Second of all, I am just wondering if anyone knows where I can find a list of escape sequences which, when 'echo'ed, modify something. For example, the only two escape sequences which I know are: echo "^[]0;foo^G" /* Note that "^[" is the escape, and "^G" is ctrl-g. */ /* This sequence modifies the window name and the icon */ /* name (XA_WM_NAME and XA_WM_ICON_NAME properties) */ echo "^[]50;font^G" /* Change current font (30 or 50, I don't quite remember). */ Are there more? Thanks a lot again. Name: Andrew Choi Internet Address: achoi@cory.berkeley.edu Tel: (415)848-5658 #include <standard/disclaimer.h>
thoth@reef.cis.ufl.edu (Gilligan) (12/06/90)
Maybe this belongs on the FAQ? Maybe it is. The comprehensive list (to my knowledge) is in the xterm source as ctlseq*. There is a .txt and a .ms (roffable). An extended document comes with color xterm* that lists its extra escape codes. * Tom Weinstein <tomw%esd.sgi.com@SGI.COM> -- "Until it's on my desk, it's vaporware" (`it' is the NeXT) "Those who sacrifice freedom for security will soon have neither" - Murph's telnetting to my emacs again. vvv Ack, help I'm caught in someone elses emacs session!!!!!!!!!!
dnarain@hecke.helios.nd.edu (Deepak Narain) (12/07/90)
Heres a couple of (actually four) escapes I use: ( I think that there is a list of these in the FAQ ) white on black: echo -n \^]\[\?5h black on white: echo -n \^[\[\?5l icon only : echo -n "^[]1;text^G" wintitle only : echo -n "^[]2;text^G" Note that "^[" is the escape, and "^G" is ctrl-g If there are any more, please let me know. Deepak Narain dnarain@verdi.helios.nd.edu
sivesh@rebels.ingr.com (sivesh pradhaan) (12/09/90)
In article <1990Dec6.205816.2882@news.nd.edu>, dnarain@hecke.helios.nd.edu (Deepak Narain) writes: |> Heres a couple of (actually four) escapes I use: |> ( I think that there is a list of these in the FAQ ) |> white on black: echo -n \^]\[\?5h |> black on white: echo -n \^[\[\?5l |> icon only : echo -n "^[]1;text^G" |> wintitle only : echo -n "^[]2;text^G" |> Note that "^[" is the escape, and "^G" is ctrl-g |> |> If there are any more, please let me know. |> Deepak Narain |> dnarain@verdi.helios.nd.edu A complete listing is given in O'Reilly's "X Window System User's Guide" : appendix F page 681 Happy ^Ging :-) -Sivesh