Subject: Re: terminals under X 4.2.0 - problems with variables and setup
To: David Laight <david@l8s.co.uk>
From: Lubos Vrbka <shnek@chemi.muni.cz>
List: netbsd-users
Date: 12/05/2002 10:43:14
> try xterm -ls
> 
> 

thanx, works fine. it seems to me that there's an error in the xterm manual:

        -ls     This  option  indicates  that  the  shell  that is
                started in the xterm window will be a login  shell
                (i.e.,  the  first  character of argv[0] will be a
                dash, indicating to the shell that it should  read
                the user's .login or .profile).

                Note  that this is incompatible with -e, since the
                login program does not provide a  way  to  specify
                the command to run in the new shell.  If you spec
                ify both, xterm uses -ls.

because

xterm -ls -e ssh name

executes login shell and ssh (that shouldn't work according to the man) 
and ALL settings and variables are "transferred" to the new window...

_@_:

-- 
#################################################
Lubos Vrbka
National Centre for Biomolecular Research
Masaryk university, Brno, Czech Republic

shnek@chemi.muni.cz
http://www.chemi.muni.cz/~shnek
tel. +420 5 4112 9508
#################################################