Date: 03 Nov 1999 00:52:22 -0500 From: Kevin Street <street@iname.com> To: Mark Ovens <mark@dogma.freebsd-uk.eu.org> Cc: questions@FreeBSD.ORG Subject: Re: xterm and/or X escape sequences Message-ID: <87n1sw86ll.fsf@mired.eh.local> In-Reply-To: Mark Ovens's message of "Wed, 3 Nov 1999 00:11:31 %2B0000" References: <19991103001130.G317@marder-1>
next in thread | previous in thread | raw e-mail | index | archive | help
Mark Ovens <mark@dogma.freebsd-uk.eu.org> writes:
> Does anyone know where I can get a copy of the file ctlseqs.ms, as
> mentioned in the xterm manpage "SEE ALSO" section:
>
> Xterm Control Sequences (this is the file ctlseqs.ms).
>
> What I am looking for is the escape sequence to get the current
> window title. The following will set the window title to "FreeBSD":
>
> char *s = "FreeBSD";
> printf("\033]0;%s\007", s);
>
> but what is the complementary sequence?
Well, it's ESC [ 21 t or printf("\033[21t") but I have never figured
out a way to do anything useful with it. If you find a way to
capture the result, let me know.
I have a copy of the ctlseqs.ms document, but I can't remember where I
found it. I'll be happy to send it to you if you have not already
gotten 57 copies in your in basket as a result of your post. It's
about 32k so I won't post it to the list.
--
Kevin Street
street@iname.com
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87n1sw86ll.fsf>
