Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: zftp xterm titlebar



>  AB> BTW is it possible to get the current window title?
>
> I could print it with :
>
> $ echo ''
>
> 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