kan
07a0e2efde
Remove the only varargs.h consumer in the tree. Use stdarg.h instead.
2003-04-15 18:59:22 +00:00
charnier
7e716ce896
The ... utility
2003-03-24 15:53:11 +00:00
mike
9b39ed7b94
Use POSIX macros for wait(2)-style status information instead of the
...
deprecated 4.2/4.3BSD wait union. Fix some nearby pid_t/int
confusion.
2002-06-03 23:13:11 +00:00
charnier
ad8a79e6a5
Use `The .Nm utility'
2002-04-20 12:18:28 +00:00
markm
31d81e4fbc
Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3.
2002-02-08 23:07:37 +00:00
bde
1951cbf9ee
Fixed bitrot in DPADD in rev.1.8.
2001-12-29 14:03:03 +00:00
markm
4d4f0a49d8
Temporarily "protect" this against the coming WARNS=2 default as it
...
is "hard to fix" (meaning I will come back to fix it if nobody gets
there first).
2001-12-11 22:33:11 +00:00
billf
5f0513c0ec
use openpty() instead of rolling a custom function (which didn't support
...
the full range of ptys anyways)
2001-09-28 22:46:13 +00:00
ru
4345758876
mdoc(7) police:
...
Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text.
Not only this slows down the mdoc(7) processing significantly, but it also
has an undesired (in this case) effect of disabling hyphenation within the
entire enclosed block.
2001-08-07 15:48:51 +00:00
bde
c74fbf3c96
Removed garbage "CFLAGS+= -I.". This finishes backing out rev.1.4.
2001-07-30 11:08:11 +00:00
sheldonh
9bfb9eedcd
Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The
...
definitions are more readable, and it's possible that they're
more portable to pathalogical platforms.
Submitted by: David Hill <david@phobia.ms>
2001-07-26 11:02:39 +00:00
dd
911ca14c87
Remove whitespace at EOL.
2001-07-15 08:06:20 +00:00
ru
36f138439b
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 14:16:33 +00:00
obrien
ba39ea3893
Fix the rcsid's.
2001-05-17 09:38:49 +00:00
eric
e7a634d197
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
89596e4538
MAN[1-9] -> MAN.
2001-03-27 10:52:19 +00:00
ru
8a6f8b5fe4
mdoc(7) police: split punctuation characters + misc fixes.
2001-02-01 16:38:02 +00:00
ru
e6cfc0711d
Prepare for mdoc(7)NG.
2000-12-19 16:00:12 +00:00
ru
0d1334ca0c
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 19:21:22 +00:00
obrien
516660c161
string.h has been repo copied to mystring.h
2000-10-30 10:04:56 +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
obrien
82cfc38d6c
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
ec81787534
Use the pathnames from pathnames.h rather than hardcoding them here.
...
Add RCSIDs.
2000-10-26 09:52:06 +00:00
brian
d01c82cf1a
Include sys/types.h
2000-10-16 08:28:50 +00:00
imp
4721d7ef43
#include <errno.h> where needed. Kill extern int errno;.
...
Minor warnings in tip corrected.
2000-04-14 06:39:19 +00:00
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