aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/window/wwinit.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove window(1) from the base system.Ed Schouten2009-06-021-430/+0
| | | | | | | | | | | | | | | | | | Some time ago Tom Rhodes sent me an email that he was willing to perform various cleanups to the window(1) source code. After some discussion, we both decided the best thing to do, was to move window(1) to the ports tree. The application isn't used a lot nowadays, mainly because it has been superseeded by screen, tmux, etc. A couple of hours ago Tom committed window(1) to ports (misc/window), so I'm removing it from the tree. I don't think people will really miss it, but I'm describing the change in UPDATING anyway. Discussed with: trhodes, pav, kib Approved by: re Notes: svn path=/head/; revision=193308
* Include proper header files for system functions that are used andWarner Losh2009-02-191-0/+1
| | | | | | | | that gcc complains about this code changing from the built-in versions. Notes: svn path=/head/; revision=188828
* Fix the rcsid's.David E. O'Brien2001-05-171-1/+2
| | | | Notes: svn path=/head/; revision=76736
* While I'm here and got caught by it, add FreeBSD IDs so the next guyDavid E. O'Brien2000-10-261-0/+1
| | | | | | | won't have trouble committing his bits. Notes: svn path=/head/; revision=67607
* Fix the style of my previous commit.Joerg Wunsch1999-03-031-1/+1
| | | | | | | Submitted by: The Style Police[tm] Notes: svn path=/head/; revision=44447
* Make window(1) actually work again. It has been broken for quite someJoerg Wunsch1999-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> Notes: svn path=/head/; revision=44431
* Use <signal.h> instead of <sys/signal.h>.Doug Rabson1998-08-051-1/+1
| | | | Notes: svn path=/head/; revision=38120
* Make window(1) honor the LC_CTYPE setting.Joerg Wunsch1997-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. Notes: svn path=/head/; revision=30967
* Remove _set_ospeed, it is done in tgetentAndrey A. Chernov1995-08-051-1/+0
| | | | Notes: svn path=/head/; revision=9943
* Allow it works with non-fixed termios speeds.Andrey A. Chernov1995-08-041-5/+9
| | | | | | | Replace ospeed switch with new _set_ospeed Notes: svn path=/head/; revision=9891
* Give up instead of looping endlessly for unknown speeds.Bruce Evans1994-10-301-2/+1
| | | | Notes: svn path=/head/; revision=4018
* Make window 8bit clean and ctype oriented.Andrey A. Chernov1994-10-301-0/+1
| | | | | | | Fix restart after ^Z hang. Notes: svn path=/head/; revision=4002
* Fix hang on exit: needs to restore SIGIO reaction _before_Andrey A. Chernov1994-10-301-1/+1
| | | | | | | tcsetattr, because tcsetattr cause SIGIO in wakeup Notes: svn path=/head/; revision=4001
* Remove VMIN_BUG from CFLAGS, add 57600, 115200Andrey A. Chernov1994-10-271-0/+10
| | | | Notes: svn path=/head/; revision=3942
* BSD 4.4 Lite Usr.bin SourcesRodney W. Grimes1994-05-271-0/+388
Notes: svn path=/cvs2svn/branches/CHRISTOS/; revision=1590