Ollivier Robert
2fa9dad0ef
Fixes for gcc 4.x.
...
PR: bin/84995
Submitted by: Divacky Roman <xdivac02@stud.fit.vutbr.cz>
2005-08-25 14:09:35 +00:00
Ruslan Ermilov
0227791b40
Expand *n't contractions.
2005-02-13 22:25:33 +00:00
Ruslan Ermilov
6c7216df78
Sort sections.
2005-01-18 13:43:56 +00:00
Alexander Kabaev
e96993d049
Remove local malloc prototypes, which are incorrect and conflict with
...
both GCC builtin and system declared ones.
2004-07-28 07:12:30 +00:00
Ruslan Ermilov
557b7fa148
Deal with double whitespace.
2004-07-03 00:24:45 +00:00
Ruslan Ermilov
6a3e8b0adc
Mechanically kill hard sentence breaks.
2004-07-02 22:22:35 +00:00
Philippe Charnier
75fb4a5304
Add FBSDID. Use %ld to printf(3) a long (even if the number is small).
2004-04-04 19:11:01 +00:00
Marcel Moolenaar
9e3275a35b
Fix a `cast to pointer from integer of different size' warning.
...
usage() has been made a (non-void) function so that it can be
used in a pointer expression (see macro `next'). Widen the
implied integer return type of usage() so that we can cast to
a pointer without warnings.
2003-09-17 03:58:52 +00:00
Alexander Kabaev
8e04260639
Remove the only varargs.h consumer in the tree. Use stdarg.h instead.
2003-04-15 18:59:22 +00:00
Philippe Charnier
07aa16ca83
The ... utility
2003-03-24 15:53:11 +00:00
Mike Barcroft
cb263c3594
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
Philippe Charnier
e8937ba009
Use `The .Nm utility'
2002-04-20 12:18:28 +00:00
Mark Murray
e35f9517d6
Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3.
2002-02-08 23:07:37 +00:00
Bruce Evans
b84c8f34fd
Fixed bitrot in DPADD in rev.1.8.
2001-12-29 14:03:03 +00:00
Mark Murray
6f223d2222
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
Bill Fumerola
5b3f2c13a2
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
Ruslan Ermilov
c4d9468ea0
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
Bruce Evans
13c05935fa
Removed garbage "CFLAGS+= -I.". This finishes backing out rev.1.4.
2001-07-30 11:08:11 +00:00
Sheldon Hearn
e1b4d8d074
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
Dima Dorfman
f247324df7
Remove whitespace at EOL.
2001-07-15 08:06:20 +00:00
Ruslan Ermilov
625003720a
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 14:16:33 +00:00
David E. O'Brien
2f8b721157
Fix the rcsid's.
2001-05-17 09:38:49 +00:00
Eric Melville
1a125da03a
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
Ruslan Ermilov
dc12be5258
MAN[1-9] -> MAN.
2001-03-27 10:52:19 +00:00
Ruslan Ermilov
d0353b836e
mdoc(7) police: split punctuation characters + misc fixes.
2001-02-01 16:38:02 +00:00
Ruslan Ermilov
9b88faecd3
Prepare for mdoc(7)NG.
2000-12-19 16:00:12 +00:00
Ruslan Ermilov
8fe908ef0c
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 19:21:22 +00:00
David E. O'Brien
d75c9e3a48
string.h has been repo copied to mystring.h
2000-10-30 10:04:56 +00:00
David E. O'Brien
9e1ade7750
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
David E. O'Brien
e218b63212
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
David E. O'Brien
cc66bbda3c
Use the pathnames from pathnames.h rather than hardcoding them here.
...
Add RCSIDs.
2000-10-26 09:52:06 +00:00
Brian Somers
fe4f4f067a
Include sys/types.h
2000-10-16 08:28:50 +00:00
Warner Losh
0e7f0658ee
#include <errno.h> where needed. Kill extern int errno;.
...
Minor warnings in tip corrected.
2000-04-14 06:39:19 +00:00
Peter Wemm
c3aac50f28
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
Nik Clayton
3be5f1f5ce
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 Wunsch
0f9ae8e234
Fix the style of my previous commit.
...
Submitted by: The Style Police[tm]
1999-03-03 14:02:50 +00:00
Joerg Wunsch
569b765ba9
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 Wunsch
d7a28702a3
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
Dag-Erling Smørgrav
202bab3944
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
Doug Rabson
f1598784ae
Use <signal.h> instead of <sys/signal.h>.
1998-08-05 09:01:29 +00:00
Joerg Wunsch
6738ac4ff3
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
John Birrell
f2af83ab9e
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
John Birrell
9ddaa53328
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
John Birrell
e4fcd28b7f
Add #include <string.h> to get prototypes.
1998-02-20 19:53:12 +00:00
John Birrell
58a76373c2
Add #include <stdlib.h> to get prototypes.
1998-02-20 19:50:10 +00:00
Warner Losh
545b0f4db7
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 Wunsch
dc6393aa53
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
Philippe Charnier
552f27d60f
Cosmetic in usage string.
1997-08-26 11:17:16 +00:00
Mike Pritchard
906c1e27fc
Correct some man page cross references and file location references.
1996-04-07 00:06:21 +00:00
Mike Pritchard
7c87ef470d
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