brian
89c06caf59
It turns out that the following:
...
close(1);
close(2);
x = open(ctermid(NULL), O_RDWR|O_NONBLOCK);
close(0)
on a tty causes select() to return an exception for descriptor x !
This is the case in RELENG_2_2, but not in 2.2.2. I'm not sure why.
Instead of doing the x=open() and close(0), we just do x=0 now.
Problem pointed out by: Greg Lehey <grog@lemis.com>
Tomi Vainio <tomppa@fidata.fi>
1997-09-21 20:26:47 +00:00
brian
2f99a3221a
Typo police
...
Submitted by: Mark Cammidge <mark@gmtunx.ee.uct.ac.za>
1997-09-21 13:08:00 +00:00
brian
131579bb6f
Add a pppctl(8) xref.
...
Suggested by: joerg
1997-09-21 13:06:43 +00:00
wosch
ae07872751
Add ypwhich(1) and yppoll(8) manual pages.
...
Obtained from: NetBSD, slightly modified
1997-09-21 11:49:18 +00:00
wosch
354c4ae899
Chown(8) compiled with -DSUPPORT_DOT (backward compatibility) does
...
first check for a `.' and then for `:' as a delimiter.
Usernames with a dot will fail.
# chown r.r:bin /tmp/bla
chown: r:bin: illegal group name
Fix: first check for a `:' and then for a `.'
1997-09-21 09:13:57 +00:00
wosch
5d81cfe470
Do not complain about non existing shell "/nonexistent"
...
Smarter error check if a uid is already in use.
Submitted by: "Eugene Radchenko" <genie@qsar.chem.msu.su>
1997-09-20 19:59:54 +00:00
wosch
49f61b81da
Do not accept empty user names.
1997-09-20 18:26:22 +00:00
jkh
bf3fadc451
More label editor enhancements.
...
Submitted by: Ed Gold <vegold01@starbase.spd.louisville.edu>
1997-09-20 06:24:17 +00:00
imp
bbdf620f6f
Add missing \ from previous rev to end of a line.
1997-09-20 04:58:08 +00:00
jkh
d940e50d4c
Fix conditional bogon in Label Editor [from Ed Gold]
...
Print info boxes without titles.
1997-09-20 02:48:48 +00:00
brian
c772a08c0b
Use snprintf() instead of sprintf() most of the time.
...
Obtained from: OpenBSD
Make usage() consistent with man page.
1997-09-19 22:22:04 +00:00
max
2a05eabf01
Typo.
1997-09-19 16:04:19 +00:00
jmg
5ea6480b10
bmake'd pnpinfo
1997-09-19 15:41:57 +00:00
jmg
8a673a35ad
activate pnpinfo
1997-09-19 15:41:43 +00:00
jmg
d3d13402b9
major modifications to the mixer. currently it doesn't report errors
...
that it encounters (such as invalid device), but does print usage upon
this error...
but otherwise allows complex commands such as:
mixer -f /dev/mixer4 synth line 50 -rec mic +rec line =rec cd ^rec mix
1997-09-19 13:38:51 +00:00
charnier
2f51fec1e1
Use An macro for author name.
1997-09-19 06:29:52 +00:00
charnier
849e44e300
Use err(3). Typo fixes in man page.
1997-09-19 06:28:57 +00:00
charnier
e9cad8594e
Use err(3).
1997-09-19 06:27:30 +00:00
jkh
de0ee3be86
Whoops! Missed one on the XF8633 -> XF86331 update.
...
PR: 4560
1997-09-18 17:54:36 +00:00
jkh
418c3d5810
Correct typo.
1997-09-18 16:24:36 +00:00
jkh
09b4f713a5
Over 1000 ports now. Note this in the relevant place.
1997-09-18 16:19:17 +00:00
phk
d8ac409160
Many places in the code NULL is used in integer context, where
...
plain 0 should be used. This happens to work because we #define
NULL to 0, but is stylistically wrong and can cause problems
for people trying to port bits of code to other environments.
PR: 2752
Submitted by: Arne Henrik Juul <arnej@imf.unit.no>
1997-09-18 14:08:40 +00:00
charnier
1754071cd4
environmental -> environment.
1997-09-18 06:55:21 +00:00
charnier
335b8fc3ac
Typo.
1997-09-18 06:54:03 +00:00
charnier
ce8df1cd4a
Use err(3). Document -y flag. Remove unused -s flag from getopt string.
1997-09-18 06:35:51 +00:00
brian
109ba0ca66
Don't close(1) in direct mode and then proceed to
...
isatty(1) ! Keep 0 open for this till the modem's
been set up by either dup()ing 0 or by opening
ctermid(NULL) (if isatty(0)).
Discussed problem with: Tomi Vainio <tomppa@fidata.fi>
Made it finally dawn on me: Angelo Turetta <ATuretta@stylo.it>
1997-09-18 00:15:25 +00:00
brian
af684d2595
Support CHAP using MD4
...
Suggested by: jordan
1997-09-17 23:17:57 +00:00
pst
52f8c412b8
Fix misspelling
1997-09-17 16:23:48 +00:00
pst
f6e7a48122
variable_load.c is dead
1997-09-17 16:18:54 +00:00
pst
4f718b5d5d
Put all variables in VAR_ #define's to force a single location for all
...
of these magic knobs. This is purely cosmetic and a documentation issue
so we don't have to glop through the source code looking for gems.
1997-09-17 16:18:22 +00:00
jkh
0dfe9b61e4
Add a new netInteractive variable so that the interactiveness of the TCP
...
setup dialog from scripts is more controllable. No more biasing off of
hostname (which is now non-optional in the non-netInteractive case).
Requested by: pst
1997-09-17 13:33:14 +00:00
charnier
79b7395b62
Use err(3). Document options in man page, not in usage string.
1997-09-17 06:32:45 +00:00
charnier
29e06a9a5c
Perror() -> warn().
1997-09-17 06:30:22 +00:00
charnier
4d3c6f853c
Use err(3). Add prototypes.
1997-09-17 06:29:23 +00:00
charnier
8d96034d35
Use err(3), add usage().
1997-09-17 06:27:23 +00:00
charnier
9b3a5c04f4
Use err(3) instead of local redefinition.
1997-09-17 06:26:06 +00:00
charnier
34a6b27326
Use err(3). Use An/Aq for author name.
1997-09-17 06:24:58 +00:00
charnier
7f53c003f5
Wrap too long lines.
...
Requested by: Bruce.
1997-09-17 06:20:45 +00:00
brian
aaae64c991
o Fix two unlikely descriptor leaks.
...
o Output the correct device for "show modem"
while in -direct mode.
o Cosmetic: Moan a bit more when we can't open
the [modem] device.
o Call OpenModem() in a more "natural" way.
o Add some LogDEBUG in OpenModem().
1997-09-16 23:15:16 +00:00
jkh
e4a215054b
Whoops, forgot a file!
...
Submitted by: pst
1997-09-16 18:57:47 +00:00
jkh
cb8ec218f6
Much better dispatch code and scripting support.
...
Submitted by: pst
1997-09-16 18:57:18 +00:00
jkh
d387f3a0a9
MF22: pst's changes.
...
Submitted by: pst
1997-09-16 10:14:23 +00:00
charnier
28c97c8eb6
Police from style.9 and Bruce.
1997-09-16 07:11:13 +00:00
charnier
99550d450c
Use err(3).
1997-09-15 06:41:09 +00:00
charnier
bdee4a3e4b
Use err(3). Rewrote man page in mdoc format.
1997-09-15 06:39:25 +00:00
charnier
b8c46235c5
Use err(3), add usage(). -Wall clean.
1997-09-15 06:37:10 +00:00
charnier
3e054bd532
Put includes in alphabetical order. various cosmetics.
1997-09-15 06:33:52 +00:00
charnier
0976cf0f14
Remove unused #include. Statisize usage().
1997-09-15 06:32:01 +00:00
rgrimes
23d5613e63
Now that this has been merged over to RELENG_2_2 remove
...
the #if FreeBSD >= 3 wart I added while debugging.
1997-09-15 05:08:05 +00:00
joerg
4d85218738
Explain a little more about the piping feature.
...
PR: 4122
1997-09-14 06:55:15 +00:00