On Thu, 2006-03-23 at 14:36 +0100, Toby 'qubit' Cubitt wrote:
> > > >Having an SSH session on another machine and forgetting ll about it.
> > > >
> > > >Please forgive my stupidity here.
> > > >
> > > >Sorry,
> > > >  jules
> > > >
> > > I thought only I could do that.  Funny ain't it?
> > 
> > Not when you do it in public ;-)
> 
> I used to give the shell prompts different colours on different
> machines to help avoid this. Or rather, the local one would always be
> the same colour, but shells under ssh sessions were colour-coded by
> machine.
> 
> I've lost the script I wrote for this somewhere in the mists of time
> (if I remember right, it was copied and hacked from a bash prompt
> example that colour-coded according to the login type: ssh, telnet,
> local, etc.)
> 
> Someday I might get round to recreating it...

That would be helpful.

Best regards,
  jules



-- 
gentoo-user@gentoo.org mailing list

Reply via email to