From owner-freebsd-questions Tue Nov 2 21:52:25 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.rdc2.on.home.com (ha1.rdc2.on.home.com [24.9.0.15]) by hub.freebsd.org (Postfix) with ESMTP id 32BD0154C8 for ; Tue, 2 Nov 1999 21:52:23 -0800 (PST) (envelope-from street@iname.com) Received: from mired.eh.local ([24.64.136.188]) by mail.rdc2.on.home.com (InterMail v4.01.01.07 201-229-111-110) with ESMTP id <19991103055223.RFLG3040.mail.rdc2.on.home.com@mired.eh.local>; Tue, 2 Nov 1999 21:52:23 -0800 Received: (from kws@localhost) by mired.eh.local (8.9.3/8.9.3) id AAA25036; Wed, 3 Nov 1999 00:52:22 -0500 (EST) (envelope-from kws) To: Mark Ovens Cc: questions@FreeBSD.ORG Subject: Re: xterm and/or X escape sequences References: <19991103001130.G317@marder-1> From: Kevin Street Date: 03 Nov 1999 00:52:22 -0500 In-Reply-To: Mark Ovens's message of "Wed, 3 Nov 1999 00:11:31 +0000" Message-ID: <87n1sw86ll.fsf@mired.eh.local> Lines: 27 X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "Biscayne" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mark Ovens 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