[Konsole-devel] [Bug 38055] wishlist: automatic session rename feature

Greg Allen greg_allen at westlb.co.uk
Thu Oct 24 11:44:06 UTC 2002


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=38055     




------- Additional Comments From greg_allen at westlb.co.uk  2002-10-24 13:44 -------
Konsole already has a control code sequence to rename the session - esc ] 3 0 ; 
BLAH bel. This poorly documented - I had to look at the source code to find it! 
If it is in a document somewhere, that document should be easier to find.

This could be used appropriately in the shell to title the session after the 
current command, host or whatever- e.g. in the prompt, or in a pre/post cmd 
alias (tcsh).

In csh/tcsh this alias will rename the session.

alias sess   'echo "\033]30;\!*\007\c"'

Greg



More information about the konsole-devel mailing list