In message: <[EMAIL PROTECTED]>
Chris Green <[EMAIL PROTECTED]> writes:
>I know one can set the title of an rxvt window using an escape
>sequence but is it possible to read it back? This would be useful for
>setting the name of the ksh/bash history file.
A quick grep of the source for XFetchName shows that yes,
there is a command (in command.c) to fetch the window title.
Digging around a bit, it looks like it'd be "<ESC>[21t", with
<ESC> replaced with 0x1b. I haven't tested that, though...
- Alex