Commit Graph

19217 Commits

Author SHA1 Message Date
joerg
ddbf6dc5fd 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
33052ffb74 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
9a36202436 Update to reflect current include files. 1997-01-30 22:39:40 +00:00
wollman
444cbb04ee 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
067667ae97 Update to reflect current include files. 1997-01-30 21:31:52 +00:00
roberto
5073562677 Add the missing ``"'' ro url=. It seems my mail do -doc didn't get though. 1997-01-30 20:39:26 +00:00
dg
ccdc729a2c 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
d613a1ec67 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
902c1eaf5a 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
15cf4c9cd1 Removed reference to PSM_NO_RESET which is no longer available. 1997-01-30 11:59:36 +00:00
asami
71220e9b22 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
4dbb7c3002 Synchronize with sys/i386/isa/sio.c revision 1.157. 1997-01-30 10:48:06 +00:00
kato
297e5886fb Synchronize with sys/i386/isa/npx.c revision 1.38. 1997-01-30 10:45:36 +00:00
kato
dec8fc0e49 Synchronize with sys/i386/isa/clock.c revision 1.75. 1997-01-30 10:44:05 +00:00
jmacd
bdeeed7f59 Correct "Chflags() will fail it:" to read "Chflags() will fail if:". 1997-01-30 10:25:38 +00:00
jmacd
45f2876f9b 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
0988434e5d 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
71baeec496 Sync with RELENG_2_2 changes. 1997-01-30 06:38:19 +00:00
davidn
25969ba119 Fix free()ing block twice, remove unused function. 1997-01-30 03:37:13 +00:00
max
c2172b20d2 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
9abde98e48 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
0340159e07 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
264fc79b21 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
d81f278ab4 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
637e1706b9 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
369e45d4cb Cosmetic tweaks.
Also redirect stderr to Debug when running multiuser.
1997-01-29 21:45:30 +00:00
jkh
ac85456797 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
0b1072afc8 More fixes and an update to the ZIP section.
Submitted-By: pds
1997-01-29 15:02:05 +00:00
jkh
b727838bd4 Talk about ZIP drives.
Fix a typo.
Submitted-By: pds
1997-01-29 14:45:57 +00:00
bde
477f38f71b 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
a40655e5dd 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
05e286fe5e 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
davidn
c8262fe8b1 Fix typo .->, for default separators in login_getcaplist(). 1997-01-29 06:50:00 +00:00
davidn
79f712147e Completed fixes with login_getcapsize(). 1997-01-29 06:31:42 +00:00
davidn
960d5c29b4 Added -Wall to CFLAGS, cleaned up (all avoidable) warnings. 1997-01-29 06:11:31 +00:00
davidn
9b241a5043 1) Fixed bug in free()ing internal string/array where
allocated size not reset to 0 causing NULL dereference
	on call after login_close().
2)	Modify login_capsize() behaviour to match manpage, allow
	concatenated sizes; ie. 10m500k
1997-01-29 06:06:32 +00:00
davidn
7069b2a506 #include <sys/stat.h> for umask() prototype. 1997-01-29 06:02:49 +00:00
max
eb61707cbd Merge 1.46 -> 1.47 changes. 1997-01-29 05:56:15 +00:00
mpp
17f7e2c9e2 Update to reflect the current mount.h. 1997-01-29 05:43:46 +00:00
gibbs
d0c49608ac Add 1997 to my copyright.
Change the autotermination code slightly to be more careful on narrow
adapters.
1997-01-29 05:28:21 +00:00
gibbs
d9c03f77e0 Add 1997 to my copyright.
If we can, use timeouts instead of DELAYs when dealing with a bus reset.
This prevents us from holding up the whole machine for a noticible amount
of time (especially for a real time app).

Make a pass over the timeout/error handling code.  Aborts are more
reliable.  We actually handle parity errors correctly now instead of
locking up the bus.  Added code to properly clean up disconnected SCBs
down on the card during error handling.  Improved robustness in several
areas.

If we are using defaults, but are an Ultra card, negotiate at 20MHz instead
of 10.

Don't attempt to handle any commands for 100ms after a reset has occured.
This is the minimum time before a target will respond to selection.  Also
disable the busfree interrupt before doing a bus reset.  This prevents the
driver from getting confused by an "unexpected busfree".
1997-01-29 05:27:03 +00:00
mpp
d85c3c457e Update to reflect the current types.h. 1997-01-29 05:24:35 +00:00
gibbs
deadaf1cb7 Add 1997 to my copyright.
Expand the boundaries of a pause disabled region to close of possible race
condition.

Revert a portion of the DMA code to fix false overruns.

Add a missing "add_scb_to_free_list" so we don't leak SCBs.
1997-01-29 05:19:46 +00:00
jkh
3bdfe7960a Straighten out Portugal and Russia. 1997-01-29 04:16:28 +00:00
jkh
2c34f16609 Make media re-init a user choice. 1997-01-29 03:30:24 +00:00
brian
bfe2c29335 Move the call to TimerService() into main.c - just after the select()
call.  The SIGALRM just sets a flag now, preventing the possibility of
any nasty recursivness in the handler itself.
1997-01-29 01:27:58 +00:00
jkh
cb0391dcad Do media initialization at correct time for upgrade too.
Update /stand.
1997-01-29 01:23:05 +00:00
jkh
9506febea9 Update Russian FTP sites according to Mikhail A. Sokolov's current
configuration.
1997-01-29 01:13:27 +00:00
jkh
9c22ad0f6f Death to another bad idea: Don't auto-mount CDROM on startup. 1997-01-29 00:14:17 +00:00
max
7db0f4ba23 Merge 1.45 -> 1.46 changes. 1997-01-28 21:38:45 +00:00