summaryrefslogtreecommitdiffstats
path: root/usr.bin/write
Commit message (Collapse)AuthorAgeFilesLines
* write(1) needs to strip off the leading /dev/ from the tty name for thejhb2007-11-121-3/+2
| | | | | | | | | | | | | 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
* Sync program's usage() with manpage's SYNOPSIS.ru2005-05-211-1/+1
|
* Expand contractions.ru2005-02-131-1/+1
|
* Fix a typo in comment.cognet2005-01-051-1/+1
| | | | Reviewed by: mux (mentor)
* Mention in the BUGS section that write and wall bogusly use the sender'stjr2004-07-171-1/+8
| | | | | LC_CTYPE setting instead of the receiver's when determining which characters are printable.
* Document missing multibyte character support in utilities specifiedtjr2004-07-031-1/+5
| | | | by POSIX.
* ANSIify function definitions.dwmalone2002-09-041-21/+9
| | | | | | | | | 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
* Use getopt() to reject any options and skip "--" arguments.tjr2002-05-291-10/+15
|
* Use `The .Nm utility'charnier2002-04-201-2/+3
|
* remove __Pimp2002-03-221-7/+7
|
* 1) Move FreeBSD tag to after vendor ID, #if 0 vendor ID.dwmalone2002-02-271-5/+7
| | | | 2) Add missing include of stdlib.h for exit(), spotted by gcc3.
* WARNS=2 fixes, use __FBSDID(), kill register keyword.markm2001-12-111-10/+11
|
* Add xref to wall(1).ru2001-11-201-0/+1
| | | | | PR: docs/32128 Submitted by: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> (partially)
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
* $Id$ -> $FreeBSD$peter1999-08-282-2/+2
|
* Clean up some ambiguous nested if/elses.billf1999-07-041-2/+3
|
* Allow backspace tooache1997-09-151-2/+3
|
* Oops, fix upper controls testache1997-09-151-2/+3
|
* Localize it. High controls disabled in any case.ache1997-09-151-5/+11
| | | | | Shut compiler warning about signal argument. PR: 4466
* Use err(3). Add usage() and prototypes.charnier1997-08-262-67/+60
|
* Remove the text that says nroff and pr automatically disablempp1997-03-221-6/+1
| | | | writing to the tty while they are running because they don't.
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | 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.
* Replace hardcoded length of "/dev/" with strlen(_PATH_DEV).alex1996-10-261-1/+1
| | | | Pointed out by: bde
* sprintf --> snprintfalex1996-10-261-3/+4
| | | | | | Use _PATH_DEV instead of hard coded "/dev/" Obtained from: OpenBSD, Jason Downs <downsj@OpenBSD.ORG>
* [HISTORY] command appeared in Version 1 AT&T UNIXwosch1996-08-291-1/+2
| | | | Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41
* Do unctrl in right wayache1995-11-051-6/+12
| | | | Handle '\377' properly
* Remove char->int promotion.ache1995-10-291-6/+4
| | | | Fix uncontrol function for 8bit chars.
* Now works with 8bit chars...ache1995-10-281-1/+1
|
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-273-0/+441
OpenPOWER on IntegriCloud