summaryrefslogtreecommitdiffstats
path: root/usr.bin/window
Commit message (Collapse)AuthorAgeFilesLines
* Fix a `cast to pointer from integer of different size' warning.marcel2003-09-171-1/+1
| | | | | | | usage() has been made a (non-void) function so that it can be used in a pointer expression (see macro `next'). Widen the implied integer return type of usage() so that we can cast to a pointer without warnings.
* Remove the only varargs.h consumer in the tree. Use stdarg.h instead.kan2003-04-151-7/+4
|
* The ... utilitycharnier2003-03-241-2/+3
|
* Use POSIX macros for wait(2)-style status information instead of themike2002-06-031-3/+2
| | | | | deprecated 4.2/4.3BSD wait union. Fix some nearby pid_t/int confusion.
* Use `The .Nm utility'charnier2002-04-201-6/+9
|
* Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3.markm2002-02-081-1/+0
|
* Fixed bitrot in DPADD in rev.1.8.bde2001-12-291-1/+1
|
* Temporarily "protect" this against the coming WARNS=2 default as itmarkm2001-12-111-0/+1
| | | | | is "hard to fix" (meaning I will come back to fix it if nobody gets there first).
* use openpty() instead of rolling a custom function (which didn't supportbillf2001-09-282-30/+18
| | | | the full range of ptys anyways)
* mdoc(7) police:ru2001-08-071-4/+4
| | | | | | | Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text. Not only this slows down the mdoc(7) processing significantly, but it also has an undesired (in this case) effect of disabling hyphenation within the entire enclosed block.
* Removed garbage "CFLAGS+= -I.". This finishes backing out rev.1.4.bde2001-07-301-3/+0
|
* Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. Thesheldonh2001-07-262-2/+4
| | | | | | | definitions are more readable, and it's possible that they're more portable to pathalogical platforms. Submitted by: David Hill <david@phobia.ms>
* Remove whitespace at EOL.dd2001-07-151-27/+27
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* Fix the rcsid's.obrien2001-05-1784-84/+168
|
* Include a missing header, and change a mktemp(3), mkdir(2) sequence toeric2001-03-292-2/+2
| | | | | | mkdtemp(3). Approved by: murray
* MAN[1-9] -> MAN.ru2001-03-271-1/+0
|
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-011-1/+1
|
* Prepare for mdoc(7)NG.ru2000-12-191-2/+3
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-20/+20
|
* string.h has been repo copied to mystring.hobrien2000-10-302-72/+0
|
* While I'm here and got caught by it, add FreeBSD IDs so the next guyobrien2000-10-2684-6/+84
| | | | won't have trouble committing his bits.
* Having a local `string.h' is just asking for trouble. As is having aobrien2000-10-2613-24/+46
| | | | | `struct string'. Rename the struct and effectively rename the header to `mystring.h'
* Use the pathnames from pathnames.h rather than hardcoding them here.obrien2000-10-262-2/+5
| | | | Add RCSIDs.
* Include sys/types.hbrian2000-10-161-0/+3
|
* #include <errno.h> where needed. Kill extern int errno;.imp2000-04-143-4/+9
| | | | Minor warnings in tip corrected.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-121-0/+1
| | | | | | | | | | | | | | | | | 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
* Fix the style of my previous commit.joerg1999-03-031-1/+1
| | | | Submitted by: The Style Police[tm]
* Increase the vector that's used to look for free pty's. We go throughjoerg1999-03-031-1/+1
| | | | | /dev/ttypv right now, but window(1) was only looking up to ttypf, causing an `Out of pseudo-terminals' when i just tried on freefall.
* Make window(1) actually work again. It has been broken for quite somejoerg1999-03-022-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | time now. For whatever reason, the kernel seems to have generated SIGIOs previously without an initial fcntl(...,F_SETOWN), but does no longer. This caused window(1) to wait indefinitely for input. Also, undo rev 1.3 of wwspawn.c, it was not well-thought, and apparently not even tested at all. The blindly (even in a nonsensical place like the comment on top of the function) applied replacement of vfork() by fork() totally ignored that window(1) *does* abuse the feature of vfork() where a modification of the parent's address space is possible (in this case, to notify the parent of an erred exec*). Also, with vfork(), it is guaranteed that the parent is only woken up after the exec*() happened, where the replacement by fork() made the parent to almost always become runnable again before the child, in which case the parent simply told `subprocess died'. Unfortunately, working around _this_ seems to be a lot more of redesign work compared to little gained value, so i think relying on the specifics of vfork() is the simpler way. Submitted by: Philipp Mergenthaler <un1i@rz.uni-karlsruhe.de>
* One vfork() changed to fork(); one execl() changed to execv(). Thedes1998-10-132-4/+8
| | | | | latter isn't actually called as far as I can see since FreeBSD uses termcap and not terminfo.
* Use <signal.h> instead of <sys/signal.h>.dfr1998-08-055-5/+5
|
* Define '\t' as a printable character, so it can be displayed on thejoerg1998-04-201-1/+1
| | | | | screen. isprint(3) doesn't do this, but isprt() apparently expected this to be the case.
* Change a (defaulted) int arg to a long so that a cast from a pointerjb1998-02-202-3/+5
| | | | | doesn't throw anything away. I don't want to re-code the app, just port it!
* Add #include <string.h> to get prototypes. Note that this programjb1998-02-203-3/+6
| | | | also has a local "string.h" which is included too.
* Add #include <string.h> to get prototypes.jb1998-02-202-0/+2
|
* Add #include <stdlib.h> to get prototypes.jb1998-02-203-0/+3
|
* Wait for job to finish and exit if exec fails.imp1998-01-071-1/+2
| | | | Obtained from: OpenBSD (Theo de Raadt)
* Make window(1) honor the LC_CTYPE setting.joerg1997-11-052-4/+31
| | | | | | While i was at it, don't export \E[OA style cursor key strings into the TERMCAP variable since window's emulation doesn't support it. Instead, convert to \E[[A etc.
* Cosmetic in usage string.charnier1997-08-261-1/+1
|
* Correct some man page cross references and file location references.mpp1996-04-071-6/+6
|
* Correct some manual page cross reference errors. E.g. su is a sectionmpp1996-02-021-1/+1
| | | | | one man page, not section eight. This is the first round of such changes and only fixes man pages in manual section one.
* Remove _set_ospeed, it is done in tgetentache1995-08-051-1/+0
|
* Allow it works with non-fixed termios speeds.ache1995-08-042-7/+9
| | | | Replace ospeed switch with new _set_ospeed
* Remove trailing whitespace.rgrimes1995-05-302-2/+2
|
* Include <stdlib.h> so that malloc() is declared.bde1995-04-024-0/+4
|
* Nuke bogus duplicate decls.jkh1994-12-181-2/+0
|
* Give up instead of looping endlessly for unknown speeds.bde1994-10-301-2/+1
|
* More 8bit/ctype fixes, command modeache1994-10-304-39/+27
|
OpenPOWER on IntegriCloud