-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Jim Meyering on 7/7/2008 6:52 AM:
| If anyone can find a system on which this prints
| something other than "tty", please let us know:
|
|   stat --format %G $(tty)

On cygwin 1.5.25, this prints "None".  By default, cygwin has neither a
'root' nor a 'tty' group, so cygwin punts and chooses the only group name
that is guaranteed to exist on underlying Windows.  Meanwhile, wall is
installed with the permissions of the user who ran the cygwin installer:

$ ls -lF /usr/bin/wall $(tty)
- -rwxrwxrwx+ 1 eblake Users 8192 Apr  1 01:55 /usr/bin/wall.exe*
crw-rw-rw- 1 eblake None 136, 0 Nov 30  2006 /dev/tty0
$ id
uid=1007(eblake) gid=513(None) 513(None),544(Administrators),545(Users)

There is no /usr/bin/write on cygwin, and I've never tried using wall to
see whether terminal messaging is even reasonable to expect to work.

It may just be that worrying about 'who -a' on cygwin is not worth the
effort, since I'm not sure whether terminal messaging is supported.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkh7SV4ACgkQ84KuGfSFAYAnhQCeMYjlxHnT1SRWQELVsnCZAUlP
2m0An3YgXJ2SGahXQf5c1Gj5nqE+cxQv
=BqWs
-----END PGP SIGNATURE-----


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to