Commit Graph

22562 Commits

Author SHA1 Message Date
tegge
b2e3846ead Don't depend upon the kernel load address being 0xf0100000. 1997-06-24 15:56:41 +00:00
yokota
621608a383 Take the OS release string from the kernel variable `osrelease'
rather than hard-code it in the message text. Optinally include
the host name in the message if SHOW_HOSTNAME is defined.

The origianl idea and sample code submitted by Angelo Turetta
<ATuretta@stylo.it>.
1997-06-24 12:43:18 +00:00
brian
dc42cd84a9 Suggest using /etc/services entry rather than a
number in the "ipfw add divert" example.
1997-06-24 10:49:44 +00:00
kato
4faab418b8 Recognize AMD K5 PR166 and PR200 CPUs. 1997-06-24 09:45:35 +00:00
dg
e95a95cf3a Killed bogus kernacc() call in malloc() DIAGNOSTIC code. kernacc() by
it's nature, locks the kernal_map, and this is deadly if kernal_map had
been locked previous to a (net) interrupt.
1997-06-24 09:41:00 +00:00
fsmp
a568c704c4 Fix calculation of initial mplock value.
We now use LOGICAL, not PHYSICAL, IDs to calculate the mplock.
1997-06-24 07:48:02 +00:00
asami
215421d3b1 Add new variable USE_PERL5. It is similar to USE_GMAKE, except that
it also sets RUN_DEPENDS (USE_GMAKE is BUILD_DEPENDS only).

The (immediate) purpose of this is to avoid having to change 70
zillion ports when the version of perl changes.  Also, when perl5 is
pulled into -current, this will become a no-op in -current's
bsd.port.mk.

Reviewed by:	jfitz
1997-06-24 07:16:21 +00:00
charnier
a300c51544 Document the use of `ls -lo' to see flags.
Obtained from: OpenBSD.
1997-06-24 06:57:11 +00:00
fsmp
ef72fe5c77 Fixed breakage for "default" configurations in mptable_pass1(). 1997-06-24 06:55:30 +00:00
charnier
c32c798b05 Add prototypes to functions. Make -Wall happy. 1997-06-24 06:54:43 +00:00
charnier
c8e3da3b20 Remove use of program_name variable. 1997-06-24 06:52:33 +00:00
charnier
96376ee333 Revert part of previous commit. I didn't see rcsid string in the middle of
the file. Put includes in alphabetical order.
1997-06-24 06:26:32 +00:00
stark
219e5197f2 Submitted by: Gene Stark and Robert Sexton (robert@kudra.com)
Added patches from Robert Sexton to eliminate case sensitivity of the
xtend command.
1997-06-24 03:52:15 +00:00
stark
0087bd0ef2 Submitted by: Gene Stark, Steve Passe, and Robert Sexton (robert@kudra.com)
Updated README file with additional helpful information from Steve Passe
and added patches from Robert Sexton to eliminate case sensitivity of
the xten command.
1997-06-24 03:21:47 +00:00
brian
a3c9607200 o Fix uptime for direct connections.
o Style police
o Make hangup abort the current connection, not
  necessarily exiting (-auto/-ddial).
o Trap HUP and INT during DoChat and abort the
  connection attempt.  This means you can now
  type "dial" and change your mind with ^C, or
  HUP the process to stop it dialing.

Slapped into doing it by: Chuck Robey <chuckr@glue.umd.edu>
1997-06-23 23:10:13 +00:00
brian
d1c718d9c3 Typo police.
Submitted by: Chuck Robey <chuckr@glue.umd.edu>
1997-06-23 23:08:23 +00:00
tegge
ad743ec5a7 Allow use of the name "swap" instead of an actual swap device.
This makes configuration of mfs /tmp on diskless clients more intuitive
for people like me, that have used this feature on NetBSD and SunOS.
Using the -T option and /dev/null, while already supported,
is neither intuitive nor documented in the handbook.
Obtained from: NetBSD
1997-06-23 22:44:51 +00:00
julian
b2627a7a7f Allow ipfw to look up service names from /etc/services (or NIS if turned on)
note.. this would be dangerous if your ipfw was blocking NIS access :)

Submitted by: archie@whistle.com (Archie Cobbs)
1997-06-23 22:32:13 +00:00
tegge
9c1e6b87a1 Long command names are not NUL terminated. Force truncation in format string. 1997-06-23 22:09:15 +00:00
tegge
8131710f9d Delay free of mf->mf_mount in uninit_mntfs until it is no longer used. 1997-06-23 22:03:12 +00:00
tegge
4b413d416e Don't try upgrading an existing exclusive lock in vm_map_user_pageable.
This should close PR kern/3180.
Also remove a bogus unconditional call to vm_map_unlock_read in
vm_map_lookup.
1997-06-23 21:51:03 +00:00
fsmp
cd2a620cb0 Removed SMP_PRIVPAGES from options list.
This functionality is now automatic.
1997-06-23 20:23:44 +00:00
julian
82bf05e615 netscape was obviously involved somewhere in the committing of this file
as  all cases of the character '\0xF8` became the string  "=F8"
Submitted by:	archie@whistle.com
1997-06-23 19:36:14 +00:00
brian
78d67a98b9 Fix "set parity"
PR:		3881
Actual problem found by:	shocking@mailbox.uq.edu.au
1997-06-23 19:18:13 +00:00
joerg
9289d9c498 Imply a 10-second connection timeout when querying remote queues, to
prevent lpq from hanging indefinately (well, 10 minutes are for sure
counting as `indefinately' in this case).
1997-06-23 10:00:01 +00:00
kato
0c0bda62e2 Synchronize with following changes:
>  Revision  Changes    Path
>  1.250     +1 -18     src/sys/i386/i386/machdep.c
>  1.48      +1 -7      src/sys/i386/conf/options.i386
>  1.251     +19 -46    src/sys/i386/i386/machdep.c
>  1.24      +2 -6      src/sys/i386/i386/microtime.s
>  1.100     +4 -15     src/sys/i386/i386/trap.c
>  1.46      +6 -7      src/sys/i386/isa/npx.c
1997-06-23 09:35:47 +00:00
kato
635eadcfef Synchronize with sys/i386/i386/userconfig.c revision 1.86. 1997-06-23 09:31:58 +00:00
kato
eba0fef8d8 Synchronize with sys/i386/isa/syscons.c revision 1.217. 1997-06-23 09:31:03 +00:00
charnier
3d2e5f4b7c Typo fix: Alan Turning is aka Alan Turing. 1997-06-23 06:52:58 +00:00
charnier
2d49da06e0 Use err(3). Abort if strdup() returns NULL. 1997-06-23 06:52:13 +00:00
charnier
14698cd80a Upgrade to a newer version. Old synopsys was incorrect.
Obtained from: OpenBSD
1997-06-23 06:49:42 +00:00
charnier
8b0eb34c58 Use err(3). Typo fix in usage string. 1997-06-23 06:47:12 +00:00
charnier
514c793c39 Typo fix in man page. Use err(3) instead of local copy. 1997-06-23 06:45:38 +00:00
charnier
ff79b92da8 Use err(3).
Simplification: if(a == 12) a -= 12 -> if(a == 12) a = 0.
1997-06-23 06:44:18 +00:00
charnier
6052f2e1ee Convert man page to mdoc format. Cosmetic in usage string. 1997-06-23 06:41:30 +00:00
steve
f8049f60d8 Fix a minor nit in the .Dd macro invocation so that
the revision date is displayed correctly.
1997-06-23 04:52:13 +00:00
steve
7a5541cde7 Show the real revision date and not the date that this
manpage is being viewed.
1997-06-23 04:03:49 +00:00
julian
7e4f226bc3 Make this file bare a small resemblance to reality again
Requested from: Archie Cobbs (archie@whistle.com)
1997-06-23 02:12:21 +00:00
jkh
9d9ead19a1 Do ports.1 earlier. 1997-06-23 01:49:35 +00:00
sef
5bb5b9c674 For the xenix_ftime() routine, don't use the native version of the struct --
the XENIX version is packed, and two bytes smaller than ours.  So, define
the structure, and have it packed.  I used the __attribte__((packed))
modifier for this; I could also have surrounded the struct definition with
#pragma pack(2) -- but that would have meant making ibcs2_timeb's definition
outside the function.  This may need to be revisited if we ever want to
compile with a compiler other than gcc.  (I also used 'unsigned long'
instead of 'time_t' because I am writing to match an external specification
-- and the definition of time_t could change.)

Reviewed by:	Steven Wallace
1997-06-22 19:04:03 +00:00
jkh
472218ee71 Argh - 3rd time's a charm. Move doc even further in the distribution chain. 1997-06-22 17:59:04 +00:00
phk
e682320b6b Integrate calloc with the rest of the gang.
Various portability and stylistic cleanups.
Kill MALLOC_STATS & the 'D' option.
Fix the 'V' option.
Major overhaul of the man-page.
You milage should not vary.

Reviewed by:	Keith Bostic <bostic@bostic.com>
Submitted by:	Keith Bostic <bostic@bostic.com>
1997-06-22 17:54:27 +00:00
phk
711f7235a1 BYOC - Bring Your Own Calloc(3)
Someday I'm going to face the music and dispose of this private malloc copy.
1997-06-22 17:48:35 +00:00
jkh
7bf6a981bc The doc dist was being made too early - move it. 1997-06-22 17:21:59 +00:00
peter
2dc5ff96e7 Preliminary support for per-cpu data pages.
This eliminates a lot of #ifdef SMP type code.  Things like _curproc reside
in a data page that is unique on each cpu, eliminating the expensive macros
like:    #define curproc (SMPcurproc[cpunumber()])

There are some unresolved bootstrap and address space sharing issues at
present, but Steve is waiting on this for other work.  There is still some
strictly temporary code present that isn't exactly pretty.

This is part of a larger change that has run into some bumps, this part is
standalone so it should be safe.  The temporary code goes away when the
full idle cpu support is finished.

Reviewed by: fsmp, dyson
1997-06-22 16:04:22 +00:00
peter
e0245a10b2 Kill some stale leftovers from the earlier attempts at SMP per-cpu pages 1997-06-22 15:47:16 +00:00
jkh
f4c30626de sysconfig -> rc.conf 1997-06-22 14:40:27 +00:00
msmith
fca71c8053 From the submitted patch :
The kernel with USERCONFIG_BOOT and VISUAL_USERCONFIG option presents
the user the kernel configuration menu upon boot.

The user can navigate the menu with cursor keys. I think it would be
nice if the user can navigate and select a menu item with regular keys
as well, so that the user who is using a serial console which is not
so capable of esc sequences still can choose a menu item.

With the following patch we can select an item by typing an item
number, 1, 2, or 3, or mnemonic `s' to skip UserConfig, 'v' to enter
the visual mode, and `c' to start the CLI mode. `p', `u', `n', and `d'
will move cursor up and down.

Submitted by:	yokota
1997-06-22 13:51:04 +00:00
peter
0a4476a7fb remove some stray files 1997-06-22 12:50:33 +00:00
yokota
6d701eaf76 The syscons driver doesn't really check the presence of the display
adapter during the system boot. It always assumes there is at least a
monochrome adapter.

This is rather strange assumption. If there is no dispaly adapter, the
console driver cannot be any good...

In this patch, scinit() is split into two parts; the first part is
now called scvidprobe() which will detect the presence of video card
at the CGA or MONO buffer address and returns TRUE if found. It is
called during sccnprobe() and scprobe(). Both will fail if no video
card is found.

The second part, whose name stays the same as before, scinit(), is
called from sccninit() and scattach() to complete initialization of
the found video card.

The keyboard probe code is moved from scprobe() to sckbdprobe();
scprobe() now calls scvidprobe() and sckbdprobe() to carry out device
probe. (This is rather a cosmetic change, but it sure makes the code
look better organized.)

The problem pointed out by Joerg.
1997-06-22 12:04:36 +00:00