Path: utzoo!attcan!uunet!husc6!bbn!rochester!pt.cs.cmu.edu!cat.cmu.edu!pane From: pane@cat.cmu.edu (John Pane) Newsgroups: comp.unix.aux Subject: Re: Tiny bug in A/UX 1.0 finger Message-ID: <2401@pt.cs.cmu.edu> Date: 26 Jul 88 17:52:22 GMT References: <27425@bbn.COM> Sender: netnews@pt.cs.cmu.edu Organization: Carnegie-Mellon University, CS/RI Lines: 18 In article <27425@bbn.COM> jjd@BBN.COM () writes: > >There is a tiny bug in the A/UX 1.0 finger command. > >When given a local user as an argument, it apparently fails to >discriminate between current and dead processes listed in /etc/utmp. > I don't know if the problem you describe is a bug in finger or a bug in term (is it ok for term to leave that entry in /etc/utmp?). I was able to fix it by adding one line of code to the term program. After line 106, add: utmp.ut_user[0] = '\0'; This has the effect of removing the username from the utmp entry. John Pane Department of Computer Science Carnegie Mellon University pane@cs.cmu.edu