[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#10445: marked as done (xterm: using -e with -ls fails to open a login shell)



Your message dated Sun, 21 Sep 2003 23:26:54 -0500
with message-id <20030922042654.GB3592@deadbeast.net>
and subject line Bug#10445: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=10445
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 8 Jun 1997 18:42:42 +0000
Received: (qmail 11102 invoked from network); 8 Jun 1997 18:42:41 -0000
Received: from lilac.csi.cam.ac.uk (131.111.8.44)
  by master.debian.org with SMTP; 8 Jun 1997 18:42:40 -0000
Received: from piranha.chu.cam.ac.uk [131.111.131.65] (mail)
	by lilac.csi.cam.ac.uk with smtp (Exim 1.62 #1)
	id 0wamvE-0002ee-00; Sun, 8 Jun 1997 19:42:36 +0100
Received: from jon by piranha.chu.cam.ac.uk with local (Exim 1.61 #1)
	id 0wamvB-0000l6-00 (Debian); Sun, 8 Jun 1997 19:42:33 +0100
Date: Sun, 8 Jun 1997 19:42:32 +0100 (BST)
From: Jon Rabone <jonr@chiark.greenend.org.uk>
To: submit@bugs.debian.org
Subject: Xterm -e and -ls options don't work together
Message-ID: <Pine.LNX.3.96.970608193824.2909A-100000@piranha.chu.cam.ac.uk>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Package: xbase
Version: 3.2-5

The -ls option does not do the right thing if -e is also specified to
execute a command, because xterm does an execvp _before_ the shell (bash
in this case) can read the system and user profiles. This breaks (for
example) 

xterm -ls -e trn

because the environment is not set up properly.

Jon.


---------------------------------------
Received: (at 10445-done) by bugs.debian.org; 22 Sep 2003 04:27:13 +0000
>From branden@deadbeast.net Sun Sep 21 23:26:55 2003
Return-path: <branden@deadbeast.net>
Received: from dhcp065-026-182-085.indy.rr.com (redwald.deadbeast.net) [65.26.182.85] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1A1IHn-00018S-00; Sun, 21 Sep 2003 23:26:55 -0500
Received: by redwald.deadbeast.net (Postfix, from userid 1000)
	id E694B640DA; Sun, 21 Sep 2003 23:26:54 -0500 (EST)
Date: Sun, 21 Sep 2003 23:26:54 -0500
From: Branden Robinson <branden@debian.org>
To: 10445-done@bugs.debian.org
Subject: Re: Bug#10445: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=10445
Message-ID: <20030922042654.GB3592@deadbeast.net>
References: <200309211759.h8LHxrp6023724@cyclops.dickey.net>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="Q7MaAb+MMjzLKrXy"
Content-Disposition: inline
In-Reply-To: <200309211759.h8LHxrp6023724@cyclops.dickey.net>
Mail-Copies-To: nobody
X-No-CC: I subscribe to this list; do not CC me on replies.
User-Agent: Mutt/1.5.4i
Delivered-To: 10445-done@bugs.debian.org
X-Spam-Status: No, hits=-4.5 required=4.0
	tests=EMAIL_ATTRIBUTION,QUOTED_EMAIL_TEXT,RCVD_IN_NJABL
	version=2.53-bugs.debian.org_2003_9_21
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_9_21 (1.174.2.15-2003-03-30-exp)


--Q7MaAb+MMjzLKrXy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Sep 21, 2003 at 01:59:53PM -0400, Thomas Dickey wrote:
> >                      Debian Bug report logs - [1]#10445
> >             xterm: using -e with -ls fails to open a login shell
>=20
> This should be closed since the documentation fixes requested were made.

Since xterm 4.2.1-8 at the latest (and probably for several package
releases before that) the xterm manpage has said the following:

       -ls     This  option  indicates  that  the shell that is started in =
the
               xterm window will be a login shell (i.e., the  first  charac=
ter
               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 prog=
ram
               does not provide a way to specify the command to run in the =
new
               shell.  If you specify both, xterm uses -ls.

Closing this report.

--=20
G. Branden Robinson                |      If you don't think for yourself,
Debian GNU/Linux                   |      others will think for you -- to
branden@debian.org                 |      their advantage.
http://people.debian.org/~branden/ |      -- Harold Gordon

--Q7MaAb+MMjzLKrXy
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iEYEARECAAYFAj9ueg4ACgkQ6kxmHytGonw5HgCglG6vmc+sFwhszZyv/hLlz6ZO
c54AnjdAJH21KcwPrMxvWOoLX7suzilm
=hs58
-----END PGP SIGNATURE-----

--Q7MaAb+MMjzLKrXy--



Reply to: