[prev in list] [next in list] [prev in thread] [next in thread] 

List:       konsole-devel
Subject:    [Konsole-devel] Re: Konsole 1.1 - change session title with skript
From:       Waldo Bastian <bastian () kde ! org>
Date:       2002-06-04 19:02:39
[Download RAW message or body]

[Jonathan: This might be usefull for an "advanced" section in the konsole 
handbook?]

On Wednesday 05 June 2002 01:01 am, Alexander Völz wrote:
> Dear Waldo,
>
> I use the Konsole program, and I like the way you can have multiple
> sessions in one window. I have to telnet pretty often to a lot of
> different machines, so this feature helps me getting less confused.
>
> I wonder if it were possible to change the session name automatically to
> the machines name when telnetting to a machine? I would like to use $1,
> but I don't know where Konsole gets the session name from.

You can use the following script:

	dcop $KONSOLE_DCOP_SESSION renameSession $1
	telnet $1

Or alternatively you can execute the following command on the machine you 
telnet into:
	echo -e "\e]30;`hostname`\a"

Cheers,
Waldo
-- 
bastian@kde.org  |   SuSE Labs KDE Developer  |  bastian@suse.com

_______________________________________________
konsole-devel mailing list
konsole-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/konsole-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic