Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | write(1) needs to strip off the leading /dev/ from the tty name for the | jhb | 2007-11-12 | 1 | -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. | ru | 2005-05-21 | 1 | -1/+1 |
| | |||||
* | Expand contractions. | ru | 2005-02-13 | 1 | -1/+1 |
| | |||||
* | Fix a typo in comment. | cognet | 2005-01-05 | 1 | -1/+1 |
| | | | | Reviewed by: mux (mentor) | ||||
* | Mention in the BUGS section that write and wall bogusly use the sender's | tjr | 2004-07-17 | 1 | -1/+8 |
| | | | | | LC_CTYPE setting instead of the receiver's when determining which characters are printable. | ||||
* | Document missing multibyte character support in utilities specified | tjr | 2004-07-03 | 1 | -1/+5 |
| | | | | by POSIX. | ||||
* | ANSIify function definitions. | dwmalone | 2002-09-04 | 1 | -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. | tjr | 2002-05-29 | 1 | -10/+15 |
| | |||||
* | Use `The .Nm utility' | charnier | 2002-04-20 | 1 | -2/+3 |
| | |||||
* | remove __P | imp | 2002-03-22 | 1 | -7/+7 |
| | |||||
* | 1) Move FreeBSD tag to after vendor ID, #if 0 vendor ID. | dwmalone | 2002-02-27 | 1 | -5/+7 |
| | | | | 2) Add missing include of stdlib.h for exit(), spotted by gcc3. | ||||
* | WARNS=2 fixes, use __FBSDID(), kill register keyword. | markm | 2001-12-11 | 1 | -10/+11 |
| | |||||
* | Add xref to wall(1). | ru | 2001-11-20 | 1 | -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. | ru | 2000-11-20 | 1 | -1/+1 |
| | |||||
* | $Id$ -> $FreeBSD$ | peter | 1999-08-28 | 2 | -2/+2 |
| | |||||
* | Clean up some ambiguous nested if/elses. | billf | 1999-07-04 | 1 | -2/+3 |
| | |||||
* | Allow backspace too | ache | 1997-09-15 | 1 | -2/+3 |
| | |||||
* | Oops, fix upper controls test | ache | 1997-09-15 | 1 | -2/+3 |
| | |||||
* | Localize it. High controls disabled in any case. | ache | 1997-09-15 | 1 | -5/+11 |
| | | | | | Shut compiler warning about signal argument. PR: 4466 | ||||
* | Use err(3). Add usage() and prototypes. | charnier | 1997-08-26 | 2 | -67/+60 |
| | |||||
* | Remove the text that says nroff and pr automatically disable | mpp | 1997-03-22 | 1 | -6/+1 |
| | | | | writing to the tty while they are running because they don't. | ||||
* | Revert $FreeBSD$ to $Id$ | peter | 1997-02-22 | 1 | -1/+1 |
| | |||||
* | Make the long-awaited change from $Id$ to $FreeBSD$ | jkh | 1997-01-14 | 1 | -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). | alex | 1996-10-26 | 1 | -1/+1 |
| | | | | Pointed out by: bde | ||||
* | sprintf --> snprintf | alex | 1996-10-26 | 1 | -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 UNIX | wosch | 1996-08-29 | 1 | -1/+2 |
| | | | | Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41 | ||||
* | Do unctrl in right way | ache | 1995-11-05 | 1 | -6/+12 |
| | | | | Handle '\377' properly | ||||
* | Remove char->int promotion. | ache | 1995-10-29 | 1 | -6/+4 |
| | | | | Fix uncontrol function for 8bit chars. | ||||
* | Now works with 8bit chars... | ache | 1995-10-28 | 1 | -1/+1 |
| | |||||
* | BSD 4.4 Lite Usr.bin Sources | rgrimes | 1994-05-27 | 3 | -0/+441 |