From: Kenny McCormack on 19 Apr 2010 08:01 There is an escape sequence to *set* the current window title; I've used it for several years now. But how to *get* (read) the current title? Also, possibly related, what do these escape sequences do (Note: These may be rxvt-specific): <esc>[8n and <esc>[21t -- (This discussion group is about C, ...) Wrong. It is only OCCASIONALLY a discussion group about C; mostly, like most "discussion" groups, it is off-topic Rorsharch revelations of the childhood traumas of the participants...
From: Bit Twister on 19 Apr 2010 08:53 On Mon, 19 Apr 2010 12:01:11 +0000 (UTC), Kenny McCormack wrote: > There is an escape sequence to *set* the current window title; I've used > it for several years now. But how to *get* (read) the current title? You might try searching for title in this document. http://invisible-island.net/xterm/ctlseqs/ctlseqs.html
From: bsh on 19 Apr 2010 19:36 gaze...(a)shell.xmission.com (Kenny McCormack) wrote: > There is an escape sequence to *set* the current window title; I've used > it for several years now. But how to *get* (read) the current title? Without having tested it...: http://www.xs4all.nl/~gerardvw/HOME/bin/XFetchName (That is, emit the control sequence "\033[21t" -- without the quotes). All of Gerard van Wageningen's xterm control scripts are very instructive. Also: xprop -root WM_NAME # display name of root window > Also, possibly related, what do these escape sequences do? > (Note: These may be rxvt-specific): > <esc>[8n For rxvt version 2.14 and later: set the window title to the version number of rxvt(1). > and > <esc>[21t See above. =Brian
|
Pages: 1 Prev: interactive macro in vi Next: How to use multiple command with in Find command? |