History log of /freebsd-10.0-release/usr.bin/write/
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


231586 13-Feb-2012 glebius

Fix write(1) to support wide characters.

Submitted by: amdmi3
PR: bin/164317


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.


200160 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 happy.


173572 12-Nov-2007 jhb

write(1) needs to strip off the leading /dev/ from the tty name for the
current tty as returned from ttyname(3) so it can try to avoid writing to
the current tty if possible. Previously, it did this by trimming off any
leading directory (effectively performing a basename(3) on the path
returned from ttyname(3)). However, this chopped off too much of the path
for ttys who have directories in their name such as pts(4). Instead, just
strip off the leading /dev/ from the path returned by ttyname(3). This
fixes write(1) when using pts(4).

MFC after: 1 week
Reported by: rwatson


146466 21-May-2005 ru

Sync program's usage() with manpage's SYNOPSIS.


141851 13-Feb-2005 ru

Expand contractions.


139718 05-Jan-2005 cognet

Fix a typo in comment.

Reviewed by: mux (mentor)


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.


131511 03-Jul-2004 tjr

Document missing multibyte character support in utilities specified
by POSIX.


102944 04-Sep-2002 dwmalone

ANSIify function definitions.
Add some constness to avoid some warnings.
Remove use register keyword.
Deal with missing/unneeded extern/prototypes.
Some minor type changes/casts to avoid warnings.

Reviewed by: md5


97454 29-May-2002 tjr

Use getopt() to reject any options and skip "--" arguments.


95124 20-Apr-2002 charnier

Use `The .Nm utility'


92922 22-Mar-2002 imp

remove __P


91378 27-Feb-2002 dwmalone

1) Move FreeBSD tag to after vendor ID, #if 0 vendor ID.
2) Add missing include of stdlib.h for exit(), spotted by gcc3.


87682 11-Dec-2001 markm

WARNS=2 fixes, use __FBSDID(), kill register keyword.


86672 20-Nov-2001 ru

Add xref to wall(1).

PR: docs/32128
Submitted by: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> (partially)


68963 20-Nov-2000 ru

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


50477 28-Aug-1999 peter

$Id$ -> $FreeBSD$


48566 04-Jul-1999 billf

Clean up some ambiguous nested if/elses.


29433 15-Sep-1997 ache

Allow backspace too


29431 15-Sep-1997 ache

Oops, fix upper controls test


29430 15-Sep-1997 ache

Localize it. High controls disabled in any case.
Shut compiler warning about signal argument.
PR: 4466


28794 26-Aug-1997 charnier

Use err(3). Add usage() and prototypes.


24110 22-Mar-1997 mpp

Remove the text that says nroff and pr automatically disable
writing to the tty while they are running because they don't.


23012 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


19193 26-Oct-1996 alex

Replace hardcoded length of "/dev/" with strlen(_PATH_DEV).

Pointed out by: bde


19190 26-Oct-1996 alex

sprintf --> snprintf

Use _PATH_DEV instead of hard coded "/dev/"

Obtained from: OpenBSD, Jason Downs <downsj@OpenBSD.ORG>


17891 29-Aug-1996 wosch

[HISTORY] command appeared in Version 1 AT&T UNIX
Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41


12097 05-Nov-1995 ache

Do unctrl in right way
Handle '\377' properly


11916 29-Oct-1995 ache

Remove char->int promotion.
Fix uncontrol function for 8bit chars.


11898 28-Oct-1995 ache

Now works with 8bit chars...


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.