Commit Graph

13 Commits

Author SHA1 Message Date
obrien
ba39ea3893 Fix the rcsid's. 2001-05-17 09:38:49 +00:00
obrien
0d9cb3fb61 While I'm here and got caught by it, add FreeBSD IDs so the next guy
won't have trouble committing his bits.
2000-10-26 10:07:20 +00:00
joerg
6be72cc099 Fix the style of my previous commit.
Submitted by:	The Style Police[tm]
1999-03-03 14:02:50 +00:00
joerg
1288f941f7 Make window(1) actually work again. It has been broken for quite some
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>
1999-03-02 19:08:09 +00:00
dfr
5128447c33 Use <signal.h> instead of <sys/signal.h>. 1998-08-05 09:01:29 +00:00
joerg
a79b41490a Make window(1) honor the LC_CTYPE setting.
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.
1997-11-05 20:20:17 +00:00
ache
db0e73744f Remove _set_ospeed, it is done in tgetent 1995-08-05 22:04:23 +00:00
ache
e287a130ea Allow it works with non-fixed termios speeds.
Replace ospeed switch with new _set_ospeed
1995-08-04 06:54:18 +00:00
bde
c45ff33f5f Give up instead of looping endlessly for unknown speeds. 1994-10-30 21:01:04 +00:00
ache
491abb6099 Make window 8bit clean and ctype oriented.
Fix restart after ^Z hang.
1994-10-30 03:09:58 +00:00
ache
ce751ae1f7 Fix hang on exit: needs to restore SIGIO reaction _before_
tcsetattr, because tcsetattr cause SIGIO in wakeup
1994-10-30 01:43:09 +00:00
ache
57c5a0ced9 Remove VMIN_BUG from CFLAGS, add 57600, 115200 1994-10-27 22:52:14 +00:00
rgrimes
f9ab90d9d6 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00