From owner-freebsd-current Sat Nov 20 7:12:26 1999 Delivered-To: freebsd-current@freebsd.org Received: from overcee.netplex.com.au (overcee.netplex.com.au [202.12.86.7]) by hub.freebsd.org (Postfix) with ESMTP id 20FD614D33; Sat, 20 Nov 1999 07:12:20 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id 8CE6F1CA0; Sat, 20 Nov 1999 23:12:19 +0800 (WST) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.0.2 2/24/98 To: "Andrey A. Chernov" Cc: current@freebsd.org, phk@freebsd.org Subject: Re: ps ax: kernel command line caching bug with "-"? In-reply-to: Your message of "Sat, 20 Nov 1999 06:54:32 PST." <19991120065432.A74795@freebsd.org> Date: Sat, 20 Nov 1999 23:12:19 +0800 From: Peter Wemm Message-Id: <19991120151219.8CE6F1CA0@overcee.netplex.com.au> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "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