Commit Graph

42 Commits

Author SHA1 Message Date
eric
afed3dc4e9 Include a missing header, and change a mktemp(3), mkdir(2) sequence to
mkdtemp(3).

Approved by:	murray
2001-03-29 20:33:57 +00:00
ru
8ec47de9c3 MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
ru
b1c3961564 mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
ru
655e7db87e Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
ru
0957874304 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
obrien
45d79faec5 string.h has been repo copied to mystring.h 2000-10-30 10:04:56 +00:00
obrien
39b12fc8ab 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
obrien
77b5127d5e Having a local `string.h' is just asking for trouble. As is having a
`struct string'.  Rename the struct and effectively rename the header
to `mystring.h'
2000-10-26 10:00:52 +00:00
obrien
394f954c18 Use the pathnames from pathnames.h rather than hardcoding them here.
Add RCSIDs.
2000-10-26 09:52:06 +00:00
brian
595fba88d1 Include sys/types.h 2000-10-16 08:28:50 +00:00
imp
8e96f07683 #include <errno.h> where needed. Kill extern int errno;.
Minor warnings in tip corrected.
2000-04-14 06:39:19 +00:00
peter
e4b04a2b21 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
nik
7e91e73b9f 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
19dfc785f9 Fix the style of my previous commit.
Submitted by:	The Style Police[tm]
1999-03-03 14:02:50 +00:00
joerg
5aa0d5669d 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
fab35ece76 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
71ec81376c 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
aef69c7121 Use <signal.h> instead of <sys/signal.h>. 1998-08-05 09:01:29 +00:00
joerg
4b1ab3a2e4 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
b2768112ff 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
1dc76c74b7 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
756028baf5 Add #include <string.h> to get prototypes. 1998-02-20 19:53:12 +00:00
jb
ac2f527217 Add #include <stdlib.h> to get prototypes. 1998-02-20 19:50:10 +00:00
imp
0627345bb5 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
dc6c317e6f 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
922c635ef9 Cosmetic in usage string. 1997-08-26 11:17:16 +00:00
mpp
99996af085 Correct some man page cross references and file location references. 1996-04-07 00:06:21 +00:00
mpp
587481e04a 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
27b830a3e3 Remove _set_ospeed, it is done in tgetent 1995-08-05 22:04:23 +00:00
ache
58af62e155 Allow it works with non-fixed termios speeds.
Replace ospeed switch with new _set_ospeed
1995-08-04 06:54:18 +00:00
rgrimes
79e59e9123 Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
bde
ca9c1d9711 Include <stdlib.h> so that malloc() is declared. 1995-04-02 19:01:07 +00:00
jkh
12fa25db82 Nuke bogus duplicate decls. 1994-12-18 11:59:37 +00:00
bde
3e82d5d1af Give up instead of looping endlessly for unknown speeds. 1994-10-30 21:01:04 +00:00
ache
3c59c5a8ee More 8bit/ctype fixes, command mode 1994-10-30 04:05:50 +00:00
ache
2dcd3b75fb Make window 8bit clean and ctype oriented.
Fix restart after ^Z hang.
1994-10-30 03:09:58 +00:00
ache
efe303f9ea 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
eff7ae253b Remove VMIN_BUG from CFLAGS, add 57600, 115200 1994-10-27 22:52:14 +00:00
wollman
ca57e58947 More merry makefile munging for man page compatability. 1994-08-05 19:00:04 +00:00
rgrimes
e542b10be0 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
b65ae149ea 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