Path: utzoo!attcan!uunet!auspex!guy From: guy@auspex.UUCP (Guy Harris) Newsgroups: comp.unix.questions Subject: Re: Login shell? Message-ID: <416@auspex.UUCP> Date: 8 Nov 88 19:44:07 GMT References: <3ed799bc.103e8@hi-csc.UUCP> <13851@mimsy.UUCP> <511@imec.UUCP> <1217@vsedev.VSE.COM> <10808@ulysses.homer.nj.att.com> <1229@vsedev.VSE.COM> Reply-To: guy@auspex.UUCP (Guy Harris) Organization: Auspex Systems, Santa Clara Lines: 9 >You WILL find this call on ALL System V machines that conform to >the SVID. If your machine doesn't have it, then look up utmp(4) >and write a 10-line function that will read in the structure >declared there and in /usr/include/utmp.h. I'm pretty sure that >even BSD machines have this. Even with job control, your utmp >entry's ut_pid WILL be that of your ksh! BSD systems, just like the AT&T V7 systems from which they are descended, do not have a "ut_pid" in their "utmp" entries.