History log of /freebsd-10.0-release/usr.bin/wall/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


241848 22-Oct-2012 eadler

Check the return error of set[e][ug]id. While this can never fail in the
current version of FreeBSD, this isn't guarenteed by the API.
Custom security modules, or future implementations of the setuid and
setgid may fail.

Submitted by: Erik Cederstrand
Approved by: cperciva
MFC after: 3 days


233269 21-Mar-2012 glebius

Add multibyte char support.

PR: 165429
Submitted by: amdmi3


227200 06-Nov-2011 ed

Add missing static keywords to wall(1)


223940 12-Jul-2011 obrien

If one's message is longer than the buffer size, then we reset 'cnt' at the
wrong point and the actual column # get out of sync across the buffer size.


216370 11-Dec-2010 joel

Remove the advertising clause from UCB copyrighted files in usr.bin. This
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change

Also add $FreeBSD$ to a few files to keep svn happy.

Discussed with: imp, rwatson


202200 13-Jan-2010 ed

Perform all trivial ports to utmpx for usr.bin/.

They were already converted to use libulog, so it's easy to convert them
to utmpx.


201386 02-Jan-2010 ed

Build usr.bin/ with WARNS=6 by default.

Also add some missing $FreeBSD$ to keep svn happy.


201224 29-Dec-2009 ed

Add missing `void' keyword.


200462 13-Dec-2009 delphij

Revert most part of 200420 as requested, as more review and polish is
needed.


200420 11-Dec-2009 delphij

Remove unneeded header includes from usr.bin/ except contributed code.

Tested with: make universe


200156 05-Dec-2009 ed

Let wall(1) use utmpx.

Because our implementation guarantees the strings inside struct utmpx to
be null terminated, we don't need to copy everything out, which makes
the code nicer to read.

Also set WARNS to 6 and add $FreeBSD$ to keep SVN silent.


175346 15-Jan-2008 das

Fix some bugs in wall(1):
- 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)


155875 21-Feb-2006 cognet

In wall and who, check that the utmp entry isn't stalled, as it is done in w.
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>


154898 27-Jan-2006 ume

make wall(1) work with pts.


132278 17-Jul-2004 tjr

Mention in the BUGS section that write and wall bogusly use the sender's
LC_CTYPE setting instead of the receiver's when determining which
characters are printable.


132277 17-Jul-2004 tjr

Document incorrect handling of multibyte characters.


131491 02-Jul-2004 ru

Mechanically kill hard sentence breaks.


111209 21-Feb-2003 tjr

Remove "sleeper" nonsense.


104908 11-Oct-2002 mike

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 *'.


98107 10-Jun-2002 jmallett

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.


95124 20-Apr-2002 charnier

Use `The .Nm utility'


87675 11-Dec-2001 markm

WARNS=2 fix, use __FBSDID().

Not added to Makefile as WARNS=2 will be made default.


83242 09-Sep-2001 dd

- 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


83082 05-Sep-2001 ru

Make ``wall -g'' really DTRT.

Reviewed by: imp, markm


79535 10-Jul-2001 ru

mdoc(7) police: removed HISTORY info from the .Os call.


76367 08-May-2001 kris

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


73752 05-Mar-2001 ache

Fix ttynames generation broken with strlcat

PR: 25541
Submitted by: Nickolay Dudorov <nnd@mail.nsk.ru>


73320 02-Mar-2001 imp

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


73255 01-Mar-2001 imp

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@


69231 26-Nov-2000 kris

Cleanup this code a bit by attempting to sync it up with NetBSD and
with each other.

Reviewed by: markm, dwmalone


68963 20-Nov-2000 ru

mdoc(7) police: use the new features of the Nm macro.


66557 02-Oct-2000 n_hibma

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.


63909 27-Jul-2000 asmodai

Let wall report the local timezone as well on output.

PR: 17867
Submitted by: Joel Ray Holveck <joelh@gnu.org>
Nagged by: nrahlstr


61464 09-Jun-2000 ghelmer

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>


50776 01-Sep-1999 dbaker

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>


50772 01-Sep-1999 dbaker

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>


50477 28-Aug-1999 peter

$Id$ -> $FreeBSD$


48792 12-Jul-1999 nik

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


41717 13-Dec-1998 dillon

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().


37846 22-Jul-1998 phk

A bit of PR7278 which belongs here.
PR: 7278
Reviewed by: phk
Submitted by: Harlan.Stenn@pfcs.com


34800 23-Mar-1998 charnier

Add rcsid. Sort #includes.


29434 15-Sep-1997 ache

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


28695 25-Aug-1997 charnier

Use err(3). Add usage().


25812 14-May-1997 ache

Add locale-independent control checks for security reason


25777 13-May-1997 ache

Localize it


24729 08-Apr-1997 ache

Fix 8bit chars handling


24360 29-Mar-1997 imp

compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.


17505 11-Aug-1996 alex

Fix some improperly wrapped lines in the code.


3809 23-Oct-1994 guido

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).


1591 27-May-1994 rgrimes

This commit was generated by cvs2svn to compensate for changes in r1590,
which included commits to RCS files with non-trunk default branches.