a solution for high and dry xterm_title

Tomas Styblo tripie at cpan.org
Sun Jan 5 05:33:18 UTC 2003


* Adam Byrtek 'alpha' <alpha at student.uci.agh.edu.pl> [Wed, 01 Jan 2003]:
> It was recently discussed on this list, and I've made a patch to store
> and restore old title:

I tested the title reporting ability of few popular terminal
emulators. All of them support title change, but these ones do not
support title reporting correctly or at all:

    konsole
    gnome-terminal
    aterm

Personally I think that relying on the title reporting ability 
is too error prone.

 From the point of view of the user the easiest way to restore 
the title is to simply generate it in the PS1 variable as a part of
the command prompt. That way it's automatically updated when an 
application exits and also can contain name of the working
directory etc..

-- 
Tomas Styblo <tripie at cpan.org>
PGP: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xC97EA4B6



More information about the mc-devel mailing list