Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Nov 1999 06:54:32 -0800
From:      "Andrey A. Chernov" <ache@freebsd.org>
To:        current@freebsd.org
Cc:        phk@freebsd.org
Subject:   Re: ps ax: kernel command line caching bug with "-"?
Message-ID:  <19991120065432.A74795@freebsd.org>
In-Reply-To: <19991120031827.A242@nagual.pp.ru>; from ache@nagual.pp.ru on Sat, Nov 20, 1999 at 03:18:27AM %2B0300
References:  <19991120031827.A242@nagual.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991120065432.A74795>