Commit Graph

19235 Commits

Author SHA1 Message Date
max
afab43cdf6 Style police:
- Indentation corrections
  - Spaces -> tabs.
  - func() -> func () (To be consistent with the original code.)
  - Check if getopt() returns -1, not EOF.

Suggested by:	bde
1997-01-31 15:04:23 +00:00
kato
85d99346bd Synchronize with sys/i386/isa/syscons.c revision 1.200. 1997-01-31 11:24:01 +00:00
kato
e3fff67ef1 Synchronize with sys/i386/i386/locore.s revision 1.80. 1997-01-31 11:23:18 +00:00
dyson
18043d2874 Another fix to inheriting shared segments. Do the copy on write
thing if needed.
Submitted by:	Alan Cox <alc@cs.rice.edu>
1997-01-31 04:10:41 +00:00
uhclem
7ff53c263f Submitted by: Frank Durda IV <uhclem@nemesis.lonestar.org>
Fixed some typos and improved a few descriptions over my first revision.
1997-01-31 04:05:41 +00:00
mpp
3ca80b4403 Correct the year that Sydney Australia was settled.
Submitted by:	 <stephen.ma@jtec.com.au>
Obtained from:  NetBSD-bugs PR#3115
1997-01-31 02:22:29 +00:00
mpp
e09f245abe Don't use hardcoded *roff escape sequences. Use mdoc macros instead. 1997-01-31 01:14:16 +00:00
mpp
8220b597d4 Don't use hardcoded *roff font change requests. 1997-01-31 01:06:39 +00:00
mpp
cba3bddc5b Don't use hardcoded *roff font change requests. Do it
via mdoc macros instead.
1997-01-31 01:00:12 +00:00
mpp
cea7e84d03 Minor mdoc cleanup. 1997-01-31 00:38:18 +00:00
mpp
7fe175c228 Very minor mdoc cleanup. 1997-01-31 00:25:12 +00:00
mpp
53ac8a619c Update to reflect current include files. 1997-01-31 00:05:08 +00:00
mpp
a43d8ada6e Update to reflect current include files. 1997-01-30 23:57:31 +00:00
mpp
f1eacb7cf0 Actually remove the old netns/netiso man pages. They haven't
been installed for the last 9 months or so anyways.
1997-01-30 23:51:48 +00:00
mpp
6c40a062aa Update to reflect current include files. 1997-01-30 23:49:46 +00:00
mpp
2401de34be Update to reflect current include files. 1997-01-30 23:10:32 +00:00
mpp
1fd86ae87b Update to reflect current include files. 1997-01-30 23:01:49 +00:00
mpp
93c15c7dcf Dont' mlink getgrent.3 to setgrfile.3, since there is no
setgrfile() function.
1997-01-30 22:52:50 +00:00
joerg
a58fa563aa Fix yet another breakage i've missed when committing rev 1.14. It was
non-obvious to me since my test kernel didn't run NETATALK.  Sorry.

LINT should compile again now.
1997-01-30 22:51:02 +00:00
joerg
8bfdf81940 Fix a benign type mismatch i've introduced in rev 1.40.
Pointed out by:	bde
1997-01-30 22:47:55 +00:00
mpp
15f9d09b96 Update to reflect current include files. 1997-01-30 22:39:40 +00:00
wollman
db3e7bcc95 Here is my long-threatened revamping of fetch. Jean-Marc probably won't
recognize it any more.  This makes the following significant changes:

- The main body of the program doesn't know a thing about URIs,
  HTTP, or FTP.  This makes it possible to easily plug in other
  protocols.  (The next revision will probably be able to dynamically
  add new recognizers.)

- There are no longer arbitrary timeouts for the protocols.  If you want
  to set one for yourself, use the environment variables.

- FTP proxies are now supported (if I implemented it right).

- The HTTP implementation is much more complete, and can now do restarts,
  preserve modtimes, and mrun in mirror mode.  It's not yet up to 1.1,
  but it's getting there.

- Transaction TCP is now used for sending HTTP requests.  The HTTP/1.1 syntax
  for requesting that the connection be closed after one request is
  implemented.

In all of this, I have doubtless broken somebody.  Please test it and tell me
about the bugs.
1997-01-30 21:43:44 +00:00
mpp
8becbb00fa Update to reflect current include files. 1997-01-30 21:31:52 +00:00
roberto
5d30fdd026 Add the missing ``"'' ro url=. It seems my mail do -doc didn't get though. 1997-01-30 20:39:26 +00:00
dg
c16cba5b84 Removed PG_N from here, too. Some machines don't like it and it's unnecessary. 1997-01-30 20:22:02 +00:00
dg
7e0289ee9a Removed unnecessary PG_N flag from device memory mappings. This is handled
by the CPU/chipset already and was apparantly triggering a hardware bug that
causes strange parity errors.
1997-01-30 19:36:58 +00:00
sos
d1572e3e65 Fixed the "switch to next screen" command (normally bound to the
key "print scrn".
It used to stop at the first non-open vty, now it skips the non-open
ones and thereby enable one to cycle around all open vty by pressing
"print scrn".
1997-01-30 15:12:17 +00:00
yokota
9f5b0228be Removed reference to PSM_NO_RESET which is no longer available. 1997-01-30 11:59:36 +00:00
asami
7816cb6e42 Change space to tab.
Pointed out by:	bde (this is only one of the four, though)
1997-01-30 11:05:57 +00:00
kato
0639e831ae Synchronize with sys/i386/isa/sio.c revision 1.157. 1997-01-30 10:48:06 +00:00
kato
c5cfce96bc Synchronize with sys/i386/isa/npx.c revision 1.38. 1997-01-30 10:45:36 +00:00
kato
53be18e8b1 Synchronize with sys/i386/isa/clock.c revision 1.75. 1997-01-30 10:44:05 +00:00
jmacd
14a9d059f4 Correct "Chflags() will fail it:" to read "Chflags() will fail if:". 1997-01-30 10:25:38 +00:00
jmacd
cc7944c3be I just found a bug in my program, I was calling va_arg (..., char),
when parsing a printf-like arg list.  Looking for someone to blame,
I noticed that the man page has a bad example.  It clearly says at
the top that types following the last known argument are passed after
their default type conversions, and then later the example uses

	va_arg (..., char);

so I fixed it.
1997-01-30 10:22:00 +00:00
max
62609e4d20 Better handling of command-line argument:
1. Pass argc and argv to getarg and process them with getopt().
  2. Instead of using an array to save arg characters, use array of
    pointers and call backgammon/teachgammon with execv, instead of execl.

This should fix problems with calling teachgammon.
2.2 candidate.
1997-01-30 07:12:59 +00:00
jkh
9f3f50f5b7 Sync with RELENG_2_2 changes. 1997-01-30 06:38:19 +00:00
davidn
0dd2a2390a Fix free()ing block twice, remove unused function. 1997-01-30 03:37:13 +00:00
max
80d909b5a7 Oops, setreuid() also needed before and after opening/closing the recover file
in recover().
2.2 candidate.
1997-01-30 01:51:45 +00:00
max
a29801b198 Do getreuid(geteuid(), getuid()) before opening file to save the game and
after closing it.
This fixes bug that user couldn't save the game in progress.
2.2 candidate.
1997-01-30 01:29:28 +00:00
brian
0009dde7ee Check the timer request flag irrespective of wheter select() came back with
EINTR - it's possible that it happened at some other point in the loop.
1997-01-30 00:49:50 +00:00
bde
e21a571c79 Estimate an initial overhead of 0 usec instead of 20 usec in DELAY().
I have code to calibrate the overhead fairly accurately, but there
is little point in using it since it is most accurate on machines
where an estimate of 0 works well.  On slow machines, the accuracy
of DELAY() has a large variance since it is limited by the resolution
of getit() even if the initial delay is calibrated perfectly.

Use fixed point and long longs to speed up scaling in DELAY().
The old method slowed down a lot when the frequency became variable.
Assume the default frequency for short delays so that the fixed
point calculation can be exact.

Fast scaling is only important for small delays.  Scaling is done
after looking at the counter and outside the loop, so it doesn't
decrease accuracy or resolution provided it completes before the
delay is up.  The comment in the code is still confused about this.
1997-01-29 22:51:44 +00:00
jkh
ba36da27a6 Allow user to delete as well as install packages from the package
installer menu.

Fix status line code so informationals show up properly again.
1997-01-29 22:35:05 +00:00
bde
62a0860a97 Fixes and workarounds for Hayes ESP:
- don't uselessly initialize the fifo "DMA" bit at attach time.
- initialize the fifo "DMA" bit at open time.  Without this, the device
  interrupts for every character received, reducing input performance
  to that of an 8250.
- don't uselessly initialize the fifo trigger level to 8 (scaled to
  256) at attach time.
- don't scale the fifo trigger level to 512 bytes.  The driver's pseudo-
  dma buffer has size 256, so it can't handle bursts of size 512 or 256.
  It should be able to handle the second lowest ftl (2 scaled to 64).
- don't reset the fifos in siostop().  Reset triggers a hardware bug
  involving wedging of the output interrupt bit  This workaround
  unfortunately requires ESP support to be configured.
1997-01-29 21:50:02 +00:00
jkh
21bef29895 Cosmetic tweaks.
Also redirect stderr to Debug when running multiuser.
1997-01-29 21:45:30 +00:00
jkh
a7f7e7ef2a Fix broken layout help (this is what broke the TCP help screen).
Allow DITEM_NO_ECHO to be encoded in layout field types and make
user.c use it for the password item.
1997-01-29 21:16:07 +00:00
jkh
0658e22858 More fixes and an update to the ZIP section.
Submitted-By: pds
1997-01-29 15:02:05 +00:00
jkh
b5306b8e03 Talk about ZIP drives.
Fix a typo.
Submitted-By: pds
1997-01-29 14:45:57 +00:00
bde
728dd85447 Removed `Debugger("no slices")'. It's normal and harmless to have no
slices in sd_open() after a media change when the previous sd_open()
discards the previous slices and then fails.  sd_open() just handles
media changes poorly and fails too often.
1997-01-29 14:18:34 +00:00
bde
e9017541ca Disabled logging of masked exceptions on exit. Keep the side effect of
saving the state (see rev.1.17).
1997-01-29 13:46:28 +00:00
kato
45a720e051 Fixed reset port address of PC-9801-108.
Submitted by:	Chiharu Shibata <chi@rd.njk.co.jp>
1997-01-29 12:42:41 +00:00