www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/04/18/06:08:58

Date: Sun, 18 Apr 1999 14:06:29 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Vladimir Mosgalin <mosgalin AT school DOT ioffe DOT rssi DOT ru>
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: <Pine.SUN.3.91.990418140604.22615Y-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

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?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019