summaryrefslogtreecommitdiffstats
path: root/usr.bin/window/wwinit.c
Commit message (Collapse)AuthorAgeFilesLines
* While I'm here and got caught by it, add FreeBSD IDs so the next guyobrien2000-10-261-0/+1
| | | | won't have trouble committing his bits.
* Fix the style of my previous commit.joerg1999-03-031-1/+1
| | | | Submitted by: The Style Police[tm]
* Make window(1) actually work again. It has been broken for quite somejoerg1999-03-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* Use <signal.h> instead of <sys/signal.h>.dfr1998-08-051-1/+1
|
* Make window(1) honor the LC_CTYPE setting.joerg1997-11-051-4/+29
| | | | | | 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.
* Remove _set_ospeed, it is done in tgetentache1995-08-051-1/+0
|
* Allow it works with non-fixed termios speeds.ache1995-08-041-5/+9
| | | | Replace ospeed switch with new _set_ospeed
* Give up instead of looping endlessly for unknown speeds.bde1994-10-301-2/+1
|
* Make window 8bit clean and ctype oriented.ache1994-10-301-0/+1
| | | | Fix restart after ^Z hang.
* Fix hang on exit: needs to restore SIGIO reaction _before_ache1994-10-301-1/+1
| | | | tcsetattr, because tcsetattr cause SIGIO in wakeup
* Remove VMIN_BUG from CFLAGS, add 57600, 115200ache1994-10-271-0/+10
|
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+388
OpenPOWER on IntegriCloud