summaryrefslogtreecommitdiffstats
path: root/usr.bin/wall
Commit message (Collapse)AuthorAgeFilesLines
* When opening the file to broadcast, do it with the user's gid, not thekris2001-05-081-2/+8
| | | | | | | | egid (tty). Obtained from: OpenBSD Submitted by: Maxime Henrion <mux@qualys.com> Reviewed by: imp
* Fix ttynames generation broken with strlcatache2001-03-051-1/+1
| | | | | PR: 25541 Submitted by: Nickolay Dudorov <nnd@mail.nsk.ru>
* Add -g group to usage message.imp2001-03-021-2/+4
| | | | | | | Don't treat pointer as a boolean, but instead test it against NULL. Add warning for groups that don't exist Submitted by: ru
* o Add support for wall -g. This will send a message to all members ofimp2001-03-013-27/+71
| | | | | | | a given group. o Minor code style cleanups while I'm here Reviewed by: bde, kris, markm, audit@
* Cleanup this code a bit by attempting to sync it up with NetBSD andkris2000-11-261-14/+15
| | | | | | with each other. Reviewed by: markm, dwmalone
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
* Instead of printing '(null)' if there is no tty, print 'no tty'.n_hibma2000-10-021-1/+5
| | | | | In the case where the program is executed by a daemon running in the background the terminal might not have a tty. The '(null)' is confusing.
* Let wall report the local timezone as well on output.asmodai2000-07-271-2/+2
| | | | | | PR: 17867 Submitted by: Joel Ray Holveck <joelh@gnu.org> Nagged by: nrahlstr
* O_NONBLOCK was used as a command with a bogus arg to fcntl(2).ghelmer2000-06-091-2/+2
| | | | | | | | Change it to F_SETFD with an arg of 0 to clear O_NONBLOCK. PR: bin/8681 Submitted by: koyama takahiro <tah@d1.dion.ne.jp> Prompted by: Nathan Ahlstrom <nrahlstr@winternet.com>
* column counter (cnt) not reset to 0 on display of '\r' which could causedbaker1999-09-011-1/+4
| | | | | | unnecessary forced linewraps on some terminals. Submitted by: David McNett <nugget@slacker.com>
* Corrected apparent omission in program logic which was causing thedbaker1999-09-011-1/+2
| | | | | | | insertion of redundant crlf's. Eliminated the venetian-blind effect in walled text. Submitted by: David McNett <nugget@slacker.com>
* $Id$ -> $FreeBSD$peter1999-08-283-3/+3
|
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-121-0/+1
| | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde
* PR: bin/8680dillon1998-12-131-6/+8
| | | | | | Increase the size of a number of buffers and replace strcpy/strcat/sprintf with snprintf(). There was a minor and possibly not exploitable security hole related to one sprintf().
* A bit of PR7278 which belongs here.phk1998-07-221-2/+2
| | | | | | PR: 7278 Reviewed by: phk Submitted by: Harlan.Stenn@pfcs.com
* Add rcsid. Sort #includes.charnier1998-03-231-3/+7
|
* Change manual declarations of some functions to proper includesache1997-09-151-15/+30
| | | | | | Rewrote allowed character test to be more efficient Fix screen position calculations: control and 8bit characters was not counted properly
* Use err(3). Add usage().charnier1997-08-251-31/+30
|
* Add locale-independent control checks for security reasonache1997-05-141-2/+4
|
* Localize itache1997-05-131-0/+3
|
* Fix 8bit chars handlingache1997-04-081-2/+11
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-1/+1
| | | | posix standard on the topic.
* Fix some improperly wrapped lines in the code.alex1996-08-111-4/+2
|
* The talkd security hole can ealso be exploited by wall (and thus rwall).guido1994-10-231-0/+5
| | | | | write and talk are not affected. Now print out escape sequences in the same way as is done by write(1).
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-274-0/+435
OpenPOWER on IntegriCloud