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 18:57:50 +0100
    From:        Nicolas Joly <njoly%pasteur.fr@localhost>
    Message-ID:  <20151115175750.GA10949%issan.sis.pasteur.fr@localhost>


  | In the last case, when _exit(2) is called, getprogname report strange
  | '-sh' instead of expected 'csh'.

Having the first char of a shell become '-' is an ancient (and most
likely no longer relevant) convention that indicates a login shell
(initially, one started from getty, but now just about anything.)

It isn't a bug, but wacky.

kre



Home | Main Index | Thread Index | Old Index