Date: Sun, 18 Apr 1999 14:06:29 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Vladimir Mosgalin cc: djgpp AT delorie DOT com Subject: Re: I cannot compile "who" program. In-Reply-To: <199904161040.OAA10359@ape.school.ioffe.rssi.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Fri, 16 Apr 1999, Vladimir Mosgalin wrote: > I have downloaded sources of Sh-utils (shl112s.zip), and maked them. > But program "who" didn't compiled (and there was "who.c"). `who' isn't ported because it doesn't make sense in the DOS/Windows environment: there's only one user logged in at any given time, and the only information `who' can print is its username, which is what `whoami' does. `whoami' *is* ported and _should_ be built if you compile Sh-utils. > Manually I cannot compile it, I have not "utmp.h" file. Right. `who' depends on facilities which don't exist on DOS/Windows, and since it wasn't ported for the reasons I described above, no alternative facilities were invented. Why would you need `who' on DOS/Windows, anyway?