Tim J. Robbins
3d1a01487a
Document incorrect handling of multibyte characters.
2004-07-17 04:04:30 +00:00
Ruslan Ermilov
6a3e8b0adc
Mechanically kill hard sentence breaks.
2004-07-02 22:22:35 +00:00
Tim J. Robbins
ca78e3fb20
Remove "sleeper" nonsense.
2003-02-21 08:46:44 +00:00
Mike Barcroft
2b7f24d210
Change iov_base's type from char *' to the standard
void *'. All
...
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 *'.
2002-10-11 14:58:34 +00:00
Juli Mallett
6fc8ba94c6
Note that this appeared at least as early as PWB UNIX.
...
Use the literal string 'PWB UNIX', as we still have no .At macro for it.
2002-06-10 22:59:59 +00:00
Philippe Charnier
e8937ba009
Use `The .Nm utility'
2002-04-20 12:18:28 +00:00
Mark Murray
075f293932
WARNS=2 fix, use __FBSDID().
...
Not added to Makefile as WARNS=2 will be made default.
2001-12-11 22:22:15 +00:00
Dima Dorfman
728d043e5b
- Move the prototype of ttymsg() into ttymsg.h. syslogd and talkd
...
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
2001-09-09 14:23:31 +00:00
Ruslan Ermilov
2cfec5ade4
Make ``wall -g'' really DTRT.
...
Reviewed by: imp, markm
2001-09-05 15:31:07 +00:00
Ruslan Ermilov
625003720a
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 14:16:33 +00:00
Kris Kennaway
a47f98edb4
When opening the file to broadcast, do it with the user's gid, not the
...
egid (tty).
Obtained from: OpenBSD
Submitted by: Maxime Henrion <mux@qualys.com>
Reviewed by: imp
2001-05-08 11:11:42 +00:00
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