summaryrefslogtreecommitdiffstats
path: root/usr.bin/wall
Commit message (Collapse)AuthorAgeFilesLines
* Fix some bugs in wall(1):das2008-01-151-6/+13
| | | | | | | | | | - Handle wrapping correctly when \r appears in the input, and don't remove the \r from the output. - For lines longer than 79 characters, don't drop every 80th character. - Style: Braces around compound while statement. PR: 114498 Submitted by: Niclas Zeising <niclas.zeising@gmail.com> (earlier version)
* In wall and who, check that the utmp entry isn't stalled, as it is done in w.cognet2006-02-211-0/+15
| | | | | | | Apparently with the new pts code stalled entries are printed, when they are not with the BSD ptys. Submitted by: Michal Mertl <mime at traveller dot cz>
* make wall(1) work with pts.ume2006-01-271-2/+6
|
* Mention in the BUGS section that write and wall bogusly use the sender'stjr2004-07-171-0/+7
| | | | | LC_CTYPE setting instead of the receiver's when determining which characters are printable.
* Document incorrect handling of multibyte characters.tjr2004-07-171-1/+5
|
* Mechanically kill hard sentence breaks.ru2004-07-021-1/+2
|
* Remove "sleeper" nonsense.tjr2003-02-211-4/+1
|
* Change iov_base's type from `char *' to the standard `void *'. Allmike2002-10-111-1/+1
| | | | | uses of iov_base which assume its type is `char *' (in order to do pointer arithmetic) have been updated to cast iov_base to `char *'.
* Note that this appeared at least as early as PWB UNIX.jmallett2002-06-101-2/+1
| | | | Use the literal string 'PWB UNIX', as we still have no .At macro for it.
* Use `The .Nm utility'charnier2002-04-201-2/+3
|
* WARNS=2 fix, use __FBSDID().markm2001-12-112-14/+15
| | | | Not added to Makefile as WARNS=2 will be made default.
* - Move the prototype of ttymsg() into ttymsg.h. syslogd and talkddd2001-09-093-7/+15
| | | | | | | | | | also use this, and they shouldn't have to have their own prototypes. - Silence warnings about constness and signedness in ttymsg(). This includes changing the return value to a `const char *', and changing the types of `left' and `wret' (both byte counts) to ssize_t. Reviewed by: bde
* Make ``wall -g'' really DTRT.ru2001-09-051-8/+11
| | | | Reviewed by: imp, markm
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* 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