Andrey A. Chernov
92992ece46
Fix ttynames generation broken with strlcat
...
PR: 25541
Submitted by: Nickolay Dudorov <nnd@mail.nsk.ru>
2001-03-05 14:10:15 +00:00
Warner Losh
003ff9433b
Add -g group to usage message.
...
Don't treat pointer as a boolean, but instead test it against NULL.
Add warning for groups that don't exist
Submitted by: ru
2001-03-02 07:30:37 +00:00
Warner Losh
6a20d55a59
o Add support for wall -g. This will send a message to all members of
...
a given group.
o Minor code style cleanups while I'm here
Reviewed by: bde, kris, markm, audit@
2001-03-01 05:43:12 +00:00
Kris Kennaway
56e7ae90cb
Cleanup this code a bit by attempting to sync it up with NetBSD and
...
with each other.
Reviewed by: markm, dwmalone
2000-11-26 22:36:35 +00:00
Ruslan Ermilov
8fe908ef0c
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 19:21:22 +00:00
Nick Hibma
80af0816cd
Instead of printing '(null)' if there is no tty, print 'no tty'.
...
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.
2000-10-02 17:31:57 +00:00
Jeroen Ruigrok van der Werven
6e5d42b9b0
Let wall report the local timezone as well on output.
...
PR: 17867
Submitted by: Joel Ray Holveck <joelh@gnu.org>
Nagged by: nrahlstr
2000-07-27 07:58:47 +00:00
Guy Helmer
7111b0acef
O_NONBLOCK was used as a command with a bogus arg to fcntl(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>
2000-06-09 19:38:28 +00:00
Daniel Baker
c87eca8b08
column counter (cnt) not reset to 0 on display of '\r' which could cause
...
unnecessary forced linewraps on some terminals.
Submitted by: David McNett <nugget@slacker.com>
1999-09-01 23:07:29 +00:00
Daniel Baker
b4d6ab014c
Corrected apparent omission in program logic which was causing the
...
insertion of redundant crlf's. Eliminated the venetian-blind effect
in walled text.
Submitted by: David McNett <nugget@slacker.com>
1999-09-01 22:21:24 +00:00
Peter Wemm
c3aac50f28
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
Nik Clayton
3be5f1f5ce
Add $Id$, to make it simpler for members of the translation teams to
...
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
1999-07-12 20:24:20 +00:00
Matthew Dillon
98df703fe0
PR: bin/8680
...
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().
1998-12-13 03:42:51 +00:00
Poul-Henning Kamp
a623ec03f3
A bit of PR7278 which belongs here.
...
PR: 7278
Reviewed by: phk
Submitted by: Harlan.Stenn@pfcs.com
1998-07-22 20:34:24 +00:00
Philippe Charnier
a31bd3d64c
Add rcsid. Sort #includes.
1998-03-23 07:47:31 +00:00
Andrey A. Chernov
580117026e
Change manual declarations of some functions to proper includes
...
Rewrote allowed character test to be more efficient
Fix screen position calculations: control and 8bit characters was
not counted properly
1997-09-15 01:03:16 +00:00
Philippe Charnier
752d887a62
Use err(3). Add usage().
1997-08-25 06:43:22 +00:00
Andrey A. Chernov
01f6848c9c
Add locale-independent control checks for security reason
1997-05-14 09:37:54 +00:00
Andrey A. Chernov
9566348d5c
Localize it
1997-05-13 11:30:01 +00:00
Andrey A. Chernov
fc092135ab
Fix 8bit chars handling
1997-04-08 13:52:53 +00:00
Warner Losh
1c8af87873
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-29 04:34:07 +00:00
Alexander Langer
f20e416903
Fix some improperly wrapped lines in the code.
1996-08-11 02:20:05 +00:00
Guido van Rooij
acc879c13f
The talkd security hole can ealso be exploited by wall (and thus rwall).
...
write and talk are not affected.
Now print out escape sequences in the same way as is done by write(1).
1994-10-23 15:33:55 +00:00
Rodney W. Grimes
9b50d90275
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00