Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Nov 1999 23:12:19 +0800
From:      Peter Wemm <peter@netplex.com.au>
To:        "Andrey A. Chernov" <ache@freebsd.org>
Cc:        current@freebsd.org, phk@freebsd.org
Subject:   Re: ps ax: kernel command line caching bug with "-"? 
Message-ID:  <19991120151219.8CE6F1CA0@overcee.netplex.com.au>
In-Reply-To: Your message of "Sat, 20 Nov 1999 06:54:32 PST." <19991120065432.A74795@freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
"Andrey A. Chernov" wrote:
> So the question is: should csh/tcsh use setproctitle() or should su be fixed
> to not use "_"?

IMHO: Either change su to use '-' or forget about it..  I don't recall
whether csh/tcsh attribute anything magic to having the leading "-" or
not..

> 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 :-(

Cheers,
-Peter
--
Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au



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?19991120151219.8CE6F1CA0>