From owner-freebsd-current Sat Nov 20 6:54:50 1999 Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 542) id 38F431503A; Sat, 20 Nov 1999 06:54:32 -0800 (PST) Date: Sat, 20 Nov 1999 06:54:32 -0800 From: "Andrey A. Chernov" To: current@freebsd.org Cc: phk@freebsd.org Subject: Re: ps ax: kernel command line caching bug with "-"? Message-ID: <19991120065432.A74795@freebsd.org> References: <19991120031827.A242@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <19991120031827.A242@nagual.pp.ru>; from ache@nagual.pp.ru on Sat, Nov 20, 1999 at 03:18:27AM +0300 Organization: Biomechanoid Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG So the question is: should csh/tcsh use setproctitle() or should su be fixed to not use "_"? On Sat, Nov 20, 1999 at 03:18:27AM +0300, Andrey A. Chernov wrote: > With recent -current I got > > _su (tcsh) > \___ > > in "ps ax" instead of > > -su (tcsh) > > as before. > > >From su.c: > > /* csh strips the first character... */ > *np = asthem ? "-su" : iscsh == YES ? "_su" : "su"; > > It seems that it NOT strip the first character now :-( > > -- > Andrey A. Chernov > http://www.nagual.pp.ru/~ache/ > MTH/SH/HE S-- W-- N+ PEC>+ D A a++ C G>+ QH+(++) 666+>++ Y > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message -- Andrey A. Chernov http://nagual.pp.ru/~ache/ MTH/SH/HE S-- W-- N+ PEC>+ D A a++ C G>+ QH+(++) 666+>++ Y To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message