Commit Graph

31 Commits

Author SHA1 Message Date
peter
3b842d34e8 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
nik
6578739ddb Add $Id$, to make it simpler for members of the translation teams to
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
1999-07-12 20:24: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
81e34f1a51 Increase the vector that's used to look for free pty's. We go through
/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.
1999-03-03 12:08:49 +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
des
43cb8a7cb9 One vfork() changed to fork(); one execl() changed to execv(). The
latter isn't actually called as far as I can see since FreeBSD uses
termcap and not terminfo.
1998-10-13 15:14:37 +00:00
dfr
5128447c33 Use <signal.h> instead of <sys/signal.h>. 1998-08-05 09:01:29 +00:00
joerg
41f2b5a06e Define '\t' as a printable character, so it can be displayed on the
screen.  isprint(3) doesn't do this, but isprt() apparently expected
this to be the case.
1998-04-20 13:37:29 +00:00
jb
f9a4fc0fbc Change a (defaulted) int arg to a long so that a cast from a pointer
doesn't throw anything away. I don't want to re-code the app, just
port it!
1998-02-20 19:59:59 +00:00
jb
10057ded6e Add #include <string.h> to get prototypes. Note that this program
also has a local "string.h" which is included too.
1998-02-20 19:56:01 +00:00
jb
039ef0e89d Add #include <string.h> to get prototypes. 1998-02-20 19:53:12 +00:00
jb
4fd64574bc Add #include <stdlib.h> to get prototypes. 1998-02-20 19:50:10 +00:00
imp
56d7e88ba1 Wait for job to finish and exit if exec fails.
Obtained from:	OpenBSD (Theo de Raadt)
1998-01-07 00:05:20 +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
charnier
7f44bec4ad Cosmetic in usage string. 1997-08-26 11:17:16 +00:00
mpp
86b292ffbd Correct some man page cross references and file location references. 1996-04-07 00:06:21 +00:00
mpp
6e83fbce86 Correct some manual page cross reference errors. E.g. su is a section
one man page, not section eight.  This is the first round of such changes
and only fixes man pages in manual section one.
1996-02-02 00:26:12 +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
rgrimes
a14d555c87 Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
bde
e60505aff7 Include <stdlib.h> so that malloc() is declared. 1995-04-02 19:01:07 +00:00
jkh
a4f5aec057 Nuke bogus duplicate decls. 1994-12-18 11:59:37 +00:00
bde
c45ff33f5f Give up instead of looping endlessly for unknown speeds. 1994-10-30 21:01:04 +00:00
ache
e8cc63c3bb More 8bit/ctype fixes, command mode 1994-10-30 04:05:50 +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
wollman
3ac06aac07 More merry makefile munging for man page compatability. 1994-08-05 19:00:04 +00:00
rgrimes
0ff5b1efa7 This commit was generated by cvs2svn to compensate for changes in r1590,
which included commits to RCS files with non-trunk default branches.
1994-05-27 12:33:43 +00:00
rgrimes
71f843c9a2 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
rgrimes
f9ab90d9d6 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00