util-linux/term-utils
Jim Patterson 01544c52f8 wall: add --group option
The wall command on AIX supports a "-g" option to limit the message
to a group of users by gid.  Add compatibility to the Linux version.

Thanks to Sami Kerola <kerolasa@iki.fi> for an initial skeleton
implementation.

[kzak@redhat.com: - rename max to ngroups
                  - add free_group_workspace()
                  - some cosmetic changes]

Reference: http://www.ibm.com/support/knowledgecenter/ssw_aix_61/com.ibm.aix.cmds6/wall.htm
Signed-off-by: Jim Patterson <jimp@wegrok.net>
Signed-off-by: Karel Zak <kzak@redhat.com>
2016-12-02 13:53:03 +01:00
..
Makemodule.am write: stop removing and adding /dev/ in front of tty string 2016-07-03 23:35:10 +01:00
agetty.8 misc: spelling, always use "cannot" instead of "can not" 2016-11-30 14:56:50 +01:00
agetty.c misc: always check setenv(3) return value 2016-08-12 21:25:36 +01:00
mesg.1 Place SEE ALSO entries in order 2016-11-29 10:44:19 +01:00
mesg.c mesg: fix multiple races 2015-11-22 20:56:39 +00:00
reset reset: deprecate the script, and remove reset.033c 2015-06-29 12:06:22 +02:00
reset.1 docs: bring a few more man pages closer to standard formatting 2014-07-16 12:03:25 +02:00
script.1 Place SEE ALSO entries in order 2016-11-29 10:44:19 +01:00
script.c script: improve coding style and the "done" message 2016-05-18 15:06:31 +02:00
scriptreplay.1 docs: fix some spelling errors and typos in man pages 2015-02-27 14:48:56 +01:00
scriptreplay.c scriptreplay: avoid re-implementing strtod_or_err() 2016-05-05 11:46:54 +02:00
setterm.1 Place SEE ALSO entries in order 2016-11-29 10:44:19 +01:00
setterm.c misc: spelling, always use "cannot" instead of "can not" 2016-11-30 14:56:50 +01:00
ttymsg.c misc: safer (and uniform) handling of return value 2016-03-07 15:11:06 +01:00
ttymsg.h ttymsg: fix compiler warnings and use EXIT_ 2011-04-12 11:19:15 +02:00
wall.1 wall: add --group option 2016-12-02 13:53:03 +01:00
wall.c wall: add --group option 2016-12-02 13:53:03 +01:00
write.1 docs: remove obsolete and unneeded comments from man-page files 2015-01-12 11:03:26 +01:00
write.c write: don't use strftime() 2016-07-14 13:20:58 +02:00