Mail Archives: djgpp/1999/04/18/06:08:58
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 -