Current-Users archive

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

Re: csh & getprogname small issue



    Date:        Sun, 15 Nov 2015 19:26:47 +0000 (UTC)
    From:        christos%astron.com@localhost (Christos Zoulas)
    Message-ID:  <n2am9m$pva$1%ger.gmane.org@localhost>

  | Well, ps "knows" about it:
  |     http://nxr.netbsd.org/xref/src/bin/ps/print.c#205

ps deals with it, since login still does it.  The shells do seem to still
use this mechanism to determine if they are login shells or not...

  | But this is not the login -<shellname> case, since the "csh -c" is not
  | a login command.

True, it is a related case, inspired by the even older login shell convention.

kre



Home | Main Index | Thread Index | Old Index