Commit Graph

3993 Commits

Author SHA1 Message Date
tg
3f61b37d6e Fix boot order (really try A:, then C:, unless the `boot' option is
specified in .doscmdrc).
2001-05-22 11:31:39 +00:00
tg
d56823d7f2 Implement file truncation (DOS function 0x21, sub 0x40).
PR:		20925
Submitted by:	Tatsuya Kudoh <cdr@cosmonet.org>
2001-05-22 11:31:08 +00:00
tg
2486cc2c02 Correct typo to get DOS function 0x51 (get PSP) to work.
PR:		15547
Submitted by:	Atushi Sakauchi <sakauchi@yamame.to>
2001-05-22 11:30:22 +00:00
tg
4a353a58b9 DOS function 0x0a (buffered keyboard input) returned immediately.
PR:		15531
Submitted by:	Atushi Sakauchi <sakauchi@yamame.to>
2001-05-22 11:29:31 +00:00
tg
1877189382 Fix DOS function 4c (exit with return code).
PR:		15528
Submitted by:	Atushi Sakauchi <sakauchi@yamame.to>
2001-05-22 11:28:28 +00:00
ru
c78dfea20c mdoc(7) police: fix markup.
Submitted by:	roam, ru
2001-05-22 07:05:39 +00:00
eric
aee1b05511 Remove an accidentaly added extra blank line.
Approved by:	murray
2001-05-22 06:20:27 +00:00
guido
700525303e Disable SIGHUP while getting the login name.
Reviewed by:	security-officer
2001-05-21 20:19:59 +00:00
ru
2a37b01164 Work around the side effect of src/include/Makefile,v 1.137 changes.
(The proper fix is to add missing #include directives.)
2001-05-21 17:06:26 +00:00
dd
79b7ca8187 Print commas in the group list in user(). current() already did this.
Reviewed by:	ru, sheldonh
Inspired by:	OpenBSD, NetBSD
2001-05-20 20:32:13 +00:00
kris
3704482b08 Silence WARNS=2 and BDECFLAGS on alpha and i386
MFC after:      1 week
2001-05-20 06:21:12 +00:00
kris
345ed876ad Silence WARNS=2 and BDECFLAGS on alpha and i386
MFC after:	1 week
2001-05-20 06:18:37 +00:00
kris
0788a7a330 Silence WARNS=2 and BDECFLAGS on alpha and i386
MFC After:	1 week
2001-05-20 06:16:53 +00:00
kris
65be28ca85 This passes WARNS=2 on alpha and i386 2001-05-20 06:15:09 +00:00
sobomax
491129cbdf Move scrshot(1) functionality into vidcontrol(1).
Suggested by:		many
Not objected to by:	nik (scrshot co-author)
2001-05-19 06:47:36 +00:00
gshapiro
5201154685 String operations could silently truncate long strings, leaving the output
corrupted.  Mark's patch fixes this be removing the MAXTOK limitation on
substring operations and allowing the putback buffer size to be the limiting
factor.  If the putback buffer size if reached, m4 gives an error instead of
silently truncating the string.

PR:		bin/26619
Submitted by:	Mark Peek <mark-ml@whistle.com>
MFC after:	5 days
2001-05-18 18:35:34 +00:00
nik
f6b3b57bdd I appear to be badly out of practice. Remember to flush the output stream
when mixing printf and write.
2001-05-18 14:07:51 +00:00
ru
52a9144c8b Removed -I${.CURDIR}/.../sys from CFLAGS. 2001-05-18 13:41:42 +00:00
ru
0565ca3c5b Remove GCC-ism (-Wall). 2001-05-18 10:40:34 +00:00
ru
89fc7497bd mdoc(7) police: Fix markup and spelling. 2001-05-18 10:39:41 +00:00
ru
4048b83188 Don't leak memory when compiling text following the a', c' or `i' command.
Testcase:

echo FOO | sed "/FOO/c\\
`jot -b 'aaaa\' 500`"

Submitted by:	Max Khon <fjoe@newst.net>
2001-05-18 09:48:17 +00:00
nik
b3fa78683d Add scrshot to the i386 specific section. If someone can test this on the
Alpha I'd appreciate it.
2001-05-18 09:06:00 +00:00
sobomax
34a18784ef By default build make(1) as a static binary. It costs only 100k of additional
disk space, buf provides measureable speed increase for make-intensive
operations, such as pkg_version(1), `make world' and so on.

MFC after:	1 week
2001-05-18 09:05:56 +00:00
nik
1136460dcc New scrshot utility, using the CONS_SCRSHOT ioctl. Usage is
scrshot /dev/ttyv0 > shot.scr

See the shot2{txt,png} utilities (soon to be) in the ports collection.

Reviewed by:	-arch
2001-05-18 09:00:51 +00:00
obrien
0e7e1d4ade Missed a few things. 2001-05-18 05:46:40 +00:00
obrien
f45fae89c2 In a word -- style(9). 2001-05-18 05:33:42 +00:00
obrien
de8cebdec8 Add the "prompt" and "passwd_prompt" fields to /etc/login.conf,
which makes lgoin more like getty in its ability to be configured.

Submitted by:	tlambert (code only)
2001-05-18 04:55:16 +00:00
obrien
ba39ea3893 Fix the rcsid's. 2001-05-17 09:38:49 +00:00
eric
5d8c743866 Check for the expiration of an account and its password in the proper
order.

Reviewed by:	-audit (silence)
Approved by:	murray
Obtained from:	OpenBSD
MFC after:	5 days
2001-05-17 03:10:04 +00:00
ru
b9f33f3993 mdoc(7) police: fix markup. 2001-05-16 13:53:19 +00:00
phk
9c6cf1aa44 Fix an array which was too small.
PR:		27380
Submitted by:	Samuel Greear <sgreear@vsni.com>
2001-05-16 11:13:16 +00:00
ru
f46bc2e2e9 mdoc(7) police: fix markup (demonstrates new -xwidth modifier). 2001-05-16 10:18:20 +00:00
dd
13db4bb4b3 Add a -J replstr option that allows the user to tell xargs to insert
the data read from standard input at a specific point in the command
line arguments rather than at the end.

Submitted by:	dd, gad
Reviewed by:	gad, brian
2001-05-15 00:31:19 +00:00
eric
13fb775e00 Add some gravitational values.
Approved by:	murray
2001-05-12 21:21:38 +00:00
dd
f7d244cc07 Document the -h option. 2001-05-11 23:53:46 +00:00
mikeh
0746a554bf Allow mail(1) to be able to read Eudora mailboxes by transforming
lines that end in <CR><LF> to just <LF>.

Reviewed by:	imp
Obtained from:	OpenBSD
2001-05-11 03:07:11 +00:00
sheldonh
cf69042ef6 Handle sbsize as a size, not a number.
Submitted by:	Paul Herman <pherman@frenchfries.net>
2001-05-10 17:15:06 +00:00
obrien
c5e2cc3302 Tell the user what group they must be in to su to root.
Submitted by:	Seth Kingsley <sethk@osd.bsdi.com>
2001-05-10 07:37:25 +00:00
ru
4590d54485 mdoc(7) police: fix markup. 2001-05-10 07:29:35 +00:00
schweikh
c81b45062f Here comes the forgotten C source, oopsy.
Turned the shell script into a binary fixing several minor buglets.
Mention _POSIX_SOURCE feature test macro in man page.
PR:           bin/19337
Submitted by: schweikh
Reviewed by:  joerg, bde
MFC after:    2 weeks
2001-05-08 20:27:14 +00:00
schweikh
3f3636cf89 Turned the shell script into a binary fixing several minor buglets.
Mention _POSIX_SOURCE feature test macro in man page.
PR:		bin/19337
Submitted by:	myself way back when I was a nobody :-) (schweikh)
Reviewed by:	joerg, bde
MFC after:	2 weeks
2001-05-08 19:47:01 +00:00
kris
fd84041b00 When opening the file to broadcast, do it with the user's gid, not the
egid (tty).

Obtained from:	OpenBSD
Submitted by:	Maxime Henrion <mux@qualys.com>
Reviewed by:	imp
2001-05-08 11:11:42 +00:00
ru
0a9fa3241f Restore printing of routes cloned from a RTF_CLONING parent
(e.g., ARP table entries) with the default routing display.

PR:		bin/26970
Reviewed by:	wollman
MFC after:	3 days
2001-05-07 12:29:36 +00:00
brian
8927370f68 Fix markup
Spotted by:	Jens Schweikhardt <schweikh@schweikhardt.net>
2001-05-05 09:02:24 +00:00
brian
5ff7127b68 Add nl(1)
PR:		27078
Obtained from:	NetBSD
2001-05-04 17:25:23 +00:00
phk
e51263b8a6 They add the following commands:
-anewer
   -cnewer
   -mnewer
   -okdir
   -newer[acm][acmt]

 With it, you can form queries like

     find . -newerct '1 minute ago' -print

 As an extra bonus, the program is ANSI-fied - the original version
 relies on some obscure features of K&R C.

(This PR was submitted in 1999, and the submittor has kept the patch
updated ever since, hats off for him guys, and how about you close a PR ??)

PR:		9374
Submitted by:	Martin Birgmeier <Martin.Birgmeier@aon.at>
2001-05-03 18:05:35 +00:00
obrien
ed39fc393a Fix minor style issue from previous commit. 2001-05-03 00:35:53 +00:00
obrien
21fd43ad54 Fix $FreeBSD$ style. 2001-05-02 23:57:49 +00:00
obrien
538e761e02 * include/elf.h has been repo copied to include/elf-hints.h, and it no
longer includes machine/elf.h.
* consumers of elf.h now use the minimalist elf header possible.

This change is motivated by Binutils 2.11.0 and too much clashing over
our base elf headers and the Binutils elf headers.
2001-05-02 23:56:21 +00:00
dd
a5f704a929 Alphabetize command-line options in the synopsis. 2001-05-02 06:41:46 +00:00