Re: name sessions in konsole

2004-04-25 Thread Wolfgang Mader
Wow - that is just more as I have asked for. Thank you very much. Cheers Wolfgang On Sunday 25 April 2004 19:03, Robert Lindgren wrote: > sure is possible: > > add something like: > PS1="\[\033]0;[EMAIL PROTECTED]: \w\007\]\[\033]30;[EMAIL PROTECTED]: [EMAIL > PROTECTED]:\w] " > to your .bashrc >

Re: name sessions in konsole

2004-04-25 Thread Adeodato Simó
* Nick Leverton [Sun, 25 Apr 2004 20:28:31 +0100]: > On Sun, Apr 25, 2004 at 07:34:58PM +0200, Robert Lindgren wrote: > > > This only changes it in the session title though, > > No it doesn't, it changes both the tabname and the session name. the first > > escape sequence changes the session nam

Re: name sessions in konsole

2004-04-25 Thread Nick Leverton
On Sun, Apr 25, 2004 at 07:34:58PM +0200, Robert Lindgren wrote: > > This only changes it in the session title though, > > No it doesn't, it changes both the tabname and the session name. the first > escape sequence changes the session name, the second the konsole tab. It doesn't here, but it's

Re: name sessions in konsole

2004-04-25 Thread Jarno Elonen
> Possibly it could be done via DCOP, if you wrapped your local /usr/bin/ssh > in a script to do that, but I don't know sufficient about DCOP to say > if it's so. I'm not sure if this is what you are after here, but (~/bin/ssh): #!/bin/bash REAL_SSH=/usr/bin/ssh if [ ! -z "$KONSOLE_DCOP_SESSION

Re: name sessions in konsole

2004-04-25 Thread Robert Lindgren
On Sunday 25 April 2004 19:29, Nick Leverton wrote: > On Sun, Apr 25, 2004 at 07:03:10PM +0200, Robert Lindgren wrote: > > sure is possible: > > > > add something like: > > PS1="\[\033]0;[EMAIL PROTECTED]: \w\007\]\[\033]30;[EMAIL PROTECTED]: > > [EMAIL PROTECTED]:\w] " > > to your .bashrc > > Thi

Re: name sessions in konsole

2004-04-25 Thread Nick Leverton
On Sun, Apr 25, 2004 at 07:03:10PM +0200, Robert Lindgren wrote: > sure is possible: > > add something like: > PS1="\[\033]0;[EMAIL PROTECTED]: \w\007\]\[\033]30;[EMAIL PROTECTED]: [EMAIL > PROTECTED]:\w] " > to your .bashrc This only changes it in the session title though, which AFAIK only show

Re: name sessions in konsole

2004-04-25 Thread Adeodato Simó
* Robert Lindgren [Sun, 25 Apr 2004 19:03:10 +0200]: > sure is possible: > add something like: > PS1="\[\033]0;[EMAIL PROTECTED]: \w\007\]\[\033]30;[EMAIL PROTECTED]: [EMAIL > PROTECTED]:\w] " > to your .bashrc Thanks, that's something I've always wanted to know. I'll just make clearer t

Re: name sessions in konsole

2004-04-25 Thread Bud Rogers
On Sunday 25 April 2004 04:58, Wolfgang Mader wrote: > Hello, > > If you open a new tab for a new session in konsole normaly there > appears something like "shel"l (or whatever type of session you have > chosen) on the tab. I am working on different machines and it would > be nice to have the name

Re: name sessions in konsole

2004-04-25 Thread Robert Lindgren
sure is possible: add something like: PS1="\[\033]0;[EMAIL PROTECTED]: \w\007\]\[\033]30;[EMAIL PROTECTED]: [EMAIL PROTECTED]:\w] " to your .bashrc or .tcshrc: alias precmd 'echo -n "\033]0;${HOST}:$cwd\007\033]30;${HOST}:$cwd\007"' Note that this should be added on the remote end, and local if