Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!ucsd!tut.cis.ohio-state.edu!purdue!iuvax!uceng!kamat From: kamat@uceng.UC.EDU (Govind N. Kamat) Newsgroups: gnu.emacs.bug Subject: Re: bug in GNU emacs Message-ID: Date: 5 Oct 89 16:13:32 GMT References: <8910051019.AL27323@unido.informatik.uni-dortmund.de> Distribution: gnu Organization: College of Engg., University of Cincinnati Lines: 21 In article <8910051019.AL27323@unido.informatik.uni-dortmund.de> unido!nixpbe!klein.muc@UUNET.UU.NET writes: a minor bug is integrated in our version 18.51 of GNU emacs: When getting a shell and invoking "who am i" nothing happens. The who command itself works fine, but "who am i" fails. I would be glad to get an answer. Gottfried Klein (Munich) That's not a bug in Emacs. The command "who am i" relies on its process to be attached to a terminal to discover who you are. The processes Emacs spawns are in their own process groups, and not attached to terminals. You should be able to use "whoami" successfully, or, if you don't have that, "logname". The former returns the username corresponding to the real uid of the process, and the latter does so if its process is not attached to a terminal. -- Govind N. Kamat College of Engineering kamat@uceng.UC.EDU University of Cincinnati Cincinnati, OH 45221, USA