Peter Wemm [Fri, 10 Oct 1997 12:14:48 +0000 (12:14 +0000)]
This has always bugged me. At single user, the implied example it gives
is not valid - it says that "sh" is the default, but you can't
actually type "sh" at this prompt - it has to be /bin/sh or some other
full pathname.
Change default keymap (I left all the international ones alone) so
that LALT is META by default. This will make the emacs users happy.
Approved by: sos
Peter Wemm [Fri, 10 Oct 1997 09:44:12 +0000 (09:44 +0000)]
Convert the VM86 option from a global option to an option only depended
on by the files that use it. Changing the VM86 option now only causes
a recompile of a dozen files or so rather than the entire kernel.
Peter Wemm [Fri, 10 Oct 1997 09:28:38 +0000 (09:28 +0000)]
Revive the connect-max-attempts option. When running in persist mode,
this limits the number of retries before aborting. This can save
expensive phone bills. :-) See rev 1.6 of main.c for original.
Peter Wemm [Fri, 10 Oct 1997 06:02:57 +0000 (06:02 +0000)]
Revive some things that were lost during the ppp-2.3.1 update.
- (see auth.c rev 1.13) allow the pap/chap secrets file to specify an
override for the otherwise hard coded IP addresses. This allows specific
users to dial in on a rotary which would otherwise get a dynamic address
forced to authenticate and get their own fixed addresses.
- (see options.c rev 1.9) recognize the old dns1 and dns2 options. This
is a hack (TM). :-)
Bill Paul [Thu, 9 Oct 1997 20:29:39 +0000 (20:29 +0000)]
Fix bug in __yp_ping(): keep proper count of assigned request structures.
The test to see if a request struct had been assigned after looping
though the server list was bogus.
Submitted by: "Erik E. Rantapaa" <rantapaa@math.umn.edu>
John Dyson [Thu, 9 Oct 1997 04:14:41 +0000 (04:14 +0000)]
Major cleanup and debugging of the new AIO/LIO code. The LIO code is
now corrected. New tunables/instrumentation added. The code is now
likely "good enough to use." I will add the userland support soon.
The "high performance" mode for raw devices is still missing, and will
be added next. POSIX system calls that now appear to work:
aio_cancel, aio_error, aio_read, aio_return, aio_suspend, aio_write,
lio_listio. Missing, but to be added soon: aio_fsync.
Bill Fenner [Wed, 8 Oct 1997 18:43:53 +0000 (18:43 +0000)]
Interpret multiple slashes as a single slash in ftp: URL's. This
is contrary to RFC1738, which specifies that empty elements between
slashes really mean to send a CWD command with an empty argument.
Most FTP servers consider this an error, so strict RFC compliance
is advisable in this case.
Nate Williams [Wed, 8 Oct 1997 17:05:03 +0000 (17:05 +0000)]
- Enable PS/2 mouse support by default. Given that almost all new hardware
has a PS/2 port, this is a good thing. Note, older 386/486 boxes may
lockup the keyboard controller with this enabled, but most of these kinds
of machines don't run -current, so the benefits outweigh the downsides.
Frank Durda IV [Wed, 8 Oct 1997 03:14:34 +0000 (03:14 +0000)]
PR: bin/771 and bin/1037 are resolved by this change
This change changes the default handling of linemode so that older and/or
stupider telnet clients can still get wakeup characters like <ESC> and
<CTRL>D to work correctly multiple times on the same line, as in csh
"set filec" operations. It also causes CR and LF characters to be read by
apps in certain terminal modes consistently, as opposed to returning
CR sometimes and LF sometimes, which broke existing apps. The change
was shown to fix the problem demonstrated in the FreeBSD telnet client,
along with the telnet client in Solaris, SCO, Windows '95 & NT, DEC OSF,
NCSA, and others.
A similar change was incorporated in the non-crypto version of telnetd.
Frank Durda IV [Wed, 8 Oct 1997 03:10:32 +0000 (03:10 +0000)]
PR: bin/771 and bin/1037 are resolved by this change
This change changes the default handling of linemode so that older and/or
stupider telnet clients can still get wakeup characters like <ESC> and
<CTRL>D to work correctly multiple times on the same line, as in csh
"set filec" operations. It also causes CR and LF characters to be read by
apps in certain terminal modes consistently, as opposed to returning
CR sometimes and LF sometimes, which broke existing apps. The change
was shown to fix the problem demonstrated in the FreeBSD telnet client,
along with the telnet client in Solaris, SCO, Windows '95 & NT, DEC OSF,
NCSA, and others.
A similar change will be incorporated in the crypto version of telnetd.
Bill Fenner [Tue, 7 Oct 1997 21:10:06 +0000 (21:10 +0000)]
Don't allow the window to be increased beyond what is possible to
represent in the TCP header. The old code did effectively:
win = min(win, MAX_ALLOWED);
win = max(win, what_i_think_i_advertised_last_time);
so if what_i_think_i_advertised_last_time is bigger than can be
represented in the header (e.g. large buffers and no window scaling)
then we stuff a too-big number into a short. This fix reverses the
order of the comparisons.
Bruce Evans [Tue, 7 Oct 1997 11:10:18 +0000 (11:10 +0000)]
`numdirtybuffers' was not maintained properly. This caused excessive
flushing of buffers in an attempt to reduce numdirtybuffers, and
perhaps other problems.
Joerg Wunsch [Tue, 7 Oct 1997 07:40:35 +0000 (07:40 +0000)]
Ooops, this should have made it into the same commit, but didn't.
Introduce the SIOC[SG]IFGENERIC hooks that can be used to pass an
arbritrary ioctl subcommand into an interface driver. Surprisingly
enough, there was no provision for this already present (except of the
option of abusing SIOC[SG]IFMEDIA for this).
The idea is that an interface driver can establish ioctl subcommands
of its own that can't be meaningfully interpreted by the upper layer
interface ioctl function. Something like this is required to
implement a clean solution of passing down things like CHAP secrets or
PPP options to the /sys/net/if_sppp* files. (Yes, my CHAP is now
finally working with it, but i gotta update my kernel to the new
callout interface before being able to commit _that_.)
Joerg Wunsch [Tue, 7 Oct 1997 07:39:40 +0000 (07:39 +0000)]
Introduce the SIOC[SG]IFGENERIC hooks that can be used to pass an
arbritrary ioctl subcommand into an interface driver. Surprisingly
enough, there was no provision for this already present (except of the
option of abusing SIOC[SG]IFMEDIA for this).
The idea is that an interface driver can establish ioctl subcommands
of its own that can't be meaningfully interpreted by the upper layer
interface ioctl function. Something like this is required to
implement a clean solution of passing down things like CHAP secrets or
PPP options to the /sys/net/if_sppp* files. (Yes, my CHAP is now
finally working with it, but i gotta update my kernel to the new
callout interface before being able to commit _that_.)
Joerg Wunsch [Tue, 7 Oct 1997 07:23:28 +0000 (07:23 +0000)]
Include optional support for HDB-style config files, so the true masochists
can get their rights as well. ;-) The default remains, of course, Taylor
config.
Demanded by: some people on -hackers
I think this is safe enough to go into RELENG_2_2 as well, if there's
demand.
ISSUES:
An example and better explansion on how to specify a user's login
class in /etc/master passwd is needed.
(As I don't seem to be specifiying it right, I can't do it).
Brian Somers [Tue, 7 Oct 1997 00:56:58 +0000 (00:56 +0000)]
Support VJ maximum slot identifiers != 15.
Support VJ slot id compression.
Previously, ppp would negotiate a max slot between 2 & 15
(if asked), and would agree to slot id compression (if asked).
It would then proceed to use 16 slots and no compression
anyway. The result was a rather unusable connection.
Joerg Wunsch [Mon, 6 Oct 1997 20:37:50 +0000 (20:37 +0000)]
Documentation for the LOG_NTP facility. While i was at it, added a
bit of a warning about not all systems providing for the same set of
syslog facilities.
Joerg Wunsch [Mon, 6 Oct 1997 20:37:01 +0000 (20:37 +0000)]
Since i've just touched <sys/syslog.h>, thereby causing a large part
of the system to be rebuilt anyway, this is a good time to introduce
LOG_NTP.
The reasoning for a separate facility is that xntpd can sometimes
cause exaggerative log message at high prioritites which are,
depending on your environment and available clock sources, not
necessarily as important as other LOG_DAEMON messages. However, they
used to clutter log files and system console in the existing setup.
Note that this situation could not be resolved using the !xntpd option
(think about it).
xntpd(8) is supposed to automatically pick up the change, it had
already all necessary #ifdef's.
The chosen value does, as far as my inquiries yielded, not clash with
any other operating system.
Joerg Wunsch [Mon, 6 Oct 1997 18:20:23 +0000 (18:20 +0000)]
Shift the value for INTERNAL_MARK left by 3, as done for all other
facilities. This fixes the problems reported about syslogd not
recording marks correctly.
Submitted by: Alexander B. Povolotsky <tarkhil@mgt.msk.ru>
Did I ever spam this file good with that last commit. Despite 3
reviewers, we still managed to revoke the eBones fixes, TCL 8.0 support,
libvgl and a host of other new things from this file in the process of
parallelizing the Makefile. DOH! I think we need more pointy hats - this
particular incident is worthy of a small children's birthday party's worth of
pointy hats. ;-)
I certainly intend to take more care with the processing of aged diffs
in the future, even if it does mean reading through 20K's worth of them.
I might also be a bit more anal about asking for more up-to-date changes
before looking at them. ;)
Peter Wemm [Mon, 6 Oct 1997 08:30:08 +0000 (08:30 +0000)]
Ack! Fix excessive cut/paste blunder during poll mods. Who had the
pointy hat last? :-]
When one is selecting (or polling) for write, it helps if we use the
write side of the pipe when requesting wakeups instead of the read side.
This broke ghostview (at least) - I'm suprised it wasn't noticed for
so long.
KATO Takenori [Mon, 6 Oct 1997 08:08:41 +0000 (08:08 +0000)]
Added two Cyrix 6x86/6x86MX options.
- CPU_CYRIX_NO_LOCK enables weak locking. If this option is not set and
FAILESAFE is defined, NO_LOCK bit of CCR1 is cleared.
- CPU_WT_ALLOC enables write-through allocation.
Whoops! Whomever added the de_DE.ISO_8859-1 entry missed a "..", causing
an incomplete /usr/local to be populated (this is why the ports collection
is mostly broken in the out-of-box configuration with 2.2.5-BETA).
Nate Williams [Mon, 6 Oct 1997 05:46:03 +0000 (05:46 +0000)]
- Bring in APM_PCCARD_RESUME support from PAO, FreeBSD style. This new
sysctl option 'fakes' like a card was removed and inserted when the
machine is brought up again from a suspend. It is disabled by default,
and the old code is used.
Obtained from: PAO
Gene Stark [Mon, 6 Oct 1997 04:43:46 +0000 (04:43 +0000)]
Fixed spot in twintr() where tw_control and TWC_SYNC were used instead
of tw_zcport and tw_zcmask. Could cause problems for people who use
pin 12 for sync.
Nate Williams [Mon, 6 Oct 1997 04:27:32 +0000 (04:27 +0000)]
- Hide the 'device doesn't supported shared interrupts' code behind
bootverbose, since the older register_intr() code didn't print out
anything, and the laptop support will cause lots of these un-necessary
messages.
Nate Williams [Mon, 6 Oct 1997 03:17:36 +0000 (03:17 +0000)]
Modem cards send the speaker audio (dialing noises) to the host's
speaker. Cirrus Logic PCIC chips must enable this. There is also a Low
Power Dynamic Mode bit that claims to reduce power consumption by 30%,
so enable it and hope for the best.
PR: 4650
Submitted by: Nick Sayer <nsayer@quack.kfu.com>
Nate Williams [Mon, 6 Oct 1997 02:56:15 +0000 (02:56 +0000)]
- Allocate the 'PCIC' interrupt from the last available (higher #) IRQ
instead of the first available, like Win95 does. This appears to help
on some machines, and avoids potential problems with built-in serial
ports which tend to live at IRQ 3, which is usually picked with the
old method.