From: Oliver Kiddle <opk@u.genie.co.uk>
To: Zsh workers <zsh-workers@sunsite.auc.dk>
Subject: Re: PATCH: zftp xterm titlebar
Date: Tue, 14 Dec 1999 11:15:12 +0000 [thread overview]
Message-ID: <385626C0.826ECADE@u.genie.co.uk> (raw)
In-Reply-To: <000a01bf4562$b5378750$21c9ca95@mow.siemens.ru>
> AB> BTW is it possible to get the current window title?
>
> I could print it with :
>
> $ echo '^[[21t'
>
> But does someone know how to catch this in a shell script ? Is there
> a better way than using script(1) ?
Try getting the setterm program at
http://www.moria.de/~michael/setterm/. It lets you read back responses
from the terminal easily. It would be easy to add handling for dtterm
and the escape code you mentioned above for getting the window title. I
did a similar thing with it to read the colour settings for an SGI xwsh.
Oliver Kiddle
next prev parent reply other threads:[~1999-12-14 11:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-12-10 16:06 Clint Adams
1999-12-10 19:38 ` Alexandre Duret-Lutz
1999-12-12 10:44 ` Andrej Borsenkow
1999-12-13 10:13 ` Alexandre Duret-Lutz
1999-12-13 12:08 ` Andrej Borsenkow
1999-12-14 11:15 ` Oliver Kiddle [this message]
1999-12-23 11:50 ` Alexandre Duret-Lutz
1999-12-12 11:51 ` Andrej Borsenkow
1999-12-12 23:02 ` Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=385626C0.826ECADE@u.genie.co.uk \
--to=opk@u.genie.co.uk \
--cc=zsh-workers@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).