Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: zftp xterm titlebar
- X-seq: zsh-workers 9040
- From: Oliver Kiddle <opk@xxxxxxxxxxxxx>
- To: Zsh workers <zsh-workers@xxxxxxxxxxxxxx>
- Subject: Re: PATCH: zftp xterm titlebar
- Date: Tue, 14 Dec 1999 11:15:12 +0000
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <000a01bf4562$b5378750$21c9ca95@xxxxxxxxxxxxxx>
> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author