Commit Graph

4649 Commits

Author SHA1 Message Date
David Greenman
6e1173dc29 In past releases of FreeBSD, I have used the exit status of "ping" to
determine whether a connection to a given machine is up or not.

In FreeBSD 2.0 (and therefore, I assume, BSD 4.4) the exit code of ping
is always zero, even if no packets were received.

I would like to propose the following change to /usr/src/sbin/ping/ping.c
to restore this useful behaviour:

Submitted by:	Denis Fortin
1994-11-29 16:09:56 +00:00
Jordan K. Hubbard
8580379053 Experimental change to floppy driver to NOT probe the floppy tape if
flags & 0x1.  Somebody should build a kernel with this and see if
the floppy-tape damaged people can turn it off properly with userconfig.
I can't reproduce the original problem here.
1994-11-29 15:46:20 +00:00
Andrey A. Chernov
1f36118a96 wscrl: implement partial scrolling via al/dl
winsdel: implemented via wscrl
winsertln/deleteln: implemented as macros via winsdel
1994-11-29 02:48:20 +00:00
Andrey A. Chernov
f3be64932f Get rid of gets
Submitted by: Ollivier Robert
1994-11-29 01:11:43 +00:00
Andrey A. Chernov
3d9528063c BSD 4.4 compatibility fix
Submitted by: Ollivier Robert
1994-11-29 01:05:37 +00:00
Jordan K. Hubbard
f37da39bb9 Do some last evil things when extracting the bindist to work around problems
reported so far with /tmp and /sys.  This should just drop into a current
bindist without problems.
1994-11-29 00:56:30 +00:00
Stefan Eßer
99e7cabca3 Really deactivated the code that puts scsi stats into dk0.
This should have been disabled for some time, but I had screwed up ...
This made spurious values appear for fd0 in systat, when there was
NCR SCSI activity.
1994-11-28 23:18:46 +00:00
Jordan K. Hubbard
50d89503a4 First shot at fixing all the various bugs reported so far in the
installation.
1994-11-28 22:13:07 +00:00
Justin T. Gibbs
aef8c83d89 Add fbtab.5 to the Makefile so that it will be installed.
Garrett mentioned the /etc/fbtab feature and I was wondering why
I hadn't heard of it...
1994-11-28 21:52:45 +00:00
Andreas Schulz
1a61bcff48 Add the 3C501 to the supported hardware list. 1994-11-28 21:52:15 +00:00
Andreas Schulz
86b41cccd2 Add the NCR 53C825 and the 3com 3C507 and 3C579 to the supported
hardware list.
1994-11-28 19:23:19 +00:00
Andreas Schulz
a7f24f529c Add the files y.tab.h and a2p.c that get automatically generated to
the CLEANFILES target. Remove the file a2p.c from the source tree, this get
generated anew from a2p.y.
1994-11-28 18:30:44 +00:00
Andreas Schulz
eafe5e1c1c Add the automatically generated files: y.tab.h c-exp.tab.c ch-exp.tab.c and
m2-exp.tab.c to the CLEANFILES target.
1994-11-28 17:19:52 +00:00
Ugen J.S. Antsilevich
c334f8666a Added: ICMP reply,TCP SYN check,logging.. 1994-11-28 12:35:14 +00:00
Ugen J.S. Antsilevich
7985370449 Interface changes to support additions to firewall. 1994-11-28 12:34:37 +00:00
Andreas Schulz
6313f15402 Add the automatically generated crunched_skel.c file to the CLEANFILES. 1994-11-28 11:46:37 +00:00
Andreas Schulz
588cf4250c Add the files: characs, gold, lastdead, mess, monsters, motd, scoreboard, void
that are created from a setup program to the CLEANFILES list.
1994-11-28 11:12:29 +00:00
Satoshi Asami
9a96872aa3 Add a site in Northern Japan. 1994-11-28 06:46:49 +00:00
Andreas Schulz
7dd4667fed Submitted by: M.C. Wong
Obtained from:
Don't throw away the /etc/nologin file in the -k case.
1994-11-27 23:52:13 +00:00
Andreas Schulz
d3378ee165 Include "scbus.h" in scsiconfig.c to get the number NSCBUS from the
config file.
1994-11-27 23:30:48 +00:00
Andreas Schulz
f345c4ea15 Comment out an illegal define (E_CLNL_???). 1994-11-27 20:58:30 +00:00
Bruce Evans
fb5960efc4 Remove ifdef for STATCLOCK. STATCLOCK is standard. 1994-11-27 16:16:35 +00:00
Bruce Evans
e89bcdb80f Apply an even number of ntohl's to icmp_otime. This fixes
`timedc clockdiff ...'.
1994-11-27 16:06:31 +00:00
Bruce Evans
8a3c1b369a Fix syntax errors (0 = foo()). 1994-11-27 16:01:29 +00:00
Bruce Evans
7b9754ed1f Fix previous change: don't attempt to reserve cblocks if the tty is null. 1994-11-27 15:29:57 +00:00
Andreas Schulz
0e01a1ca15 Expand again the SYMTAB_SPACE for LINT. 1994-11-27 14:59:54 +00:00
David Greenman
150f9c68d5 Go back to -O optimization...Bruce's arguments against -O2 are convincing
enough for me.
1994-11-27 14:26:16 +00:00
Joerg Wunsch
d439025208 Temporary kludge: treat \r same as \n in input, so working on a
comconsole will behave as expected.  The true problem should be fixed
instead, Bruce' comment for this:

>Anyway, i found the reason for my problems: somehow, ICRNL isn't in
>effect at `userconfig' time (but only for comconsole?), hence only

ICRNL doesn't apply to cngetc().  cnputc() unconditionally does the
equivalent of ONLCR; perhaps cngetc() should unconditionally do the
equivalent of ICRNL.  Ddb must be checking for CR.  Userconfig only
checks for NL.  Userconfig works with syscons because pccngetc()
does the conversion.  This is probably the wrong place to do it.
1994-11-27 13:43:37 +00:00
Andreas Schulz
66f2024ac6 Correct a typo in my mailing address and also use the new alias for my
machine. I should better rename it soon from g386bsd to freebsd to
avoid confusion with the new 386BSD release :-).
1994-11-27 13:06:18 +00:00
Andreas Schulz
0517d73d9a Submitted by: Philippe Charnier
Corrected two typos in the specification of the french freebsd site.
freeBSD -> FreeBSD.
1994-11-27 13:03:00 +00:00
Andrey A. Chernov
79f2f48ea8 Fix many duplicated attribute sets 1994-11-27 05:23:52 +00:00
Andrey A. Chernov
3d3c746818 Add wrefresh before doing putp when idlok 1994-11-27 03:08:12 +00:00
Andrey A. Chernov
06fc741b2a Make idlok works properly with back color erase. 1994-11-27 02:22:09 +00:00
Poul-Henning Kamp
6128633879 I made a syntax error yesterday.
Submitted by:	John Capo
1994-11-27 01:49:39 +00:00
Andreas Schulz
5aff5aea84 Expand the EISA MAX_SLOTS from 8 to 16. 1994-11-26 23:10:03 +00:00
Bruce Evans
3339943545 Submitted by: Kirk McKusick
Allow chown() to return success if the gid isn't changed even if
the gid is not the caller's.  Such gids are normal for files created
in world-writable directories sucj as /tmp.  This "fixes" annoying
error messages for mv'ing files created in /tmp to another file
system.  mv still preserves the foreign gid of /tmp, but now does
it silently.
1994-11-26 19:38:30 +00:00
Andrey A. Chernov
23826a9d2a Call rc.local with . instead of sh to pass variables
Submitted by: John Capo
1994-11-26 19:25:14 +00:00
Bruce Evans
d1a795a280 Fix cblock starvation bugs by reserving enough cblocks for minimal
operation of each clist.  Limit the growth of each clist.  Clists
can only grow larger than the reserved minimum if there are free
cblocks in a shared pool.  The size of this pool is now fixed
(this could be improved).  The reserved and maximum sizes are more
carefully allocated for slip and ppp, depending on the mtu.  A maximum
MTU of 16384 is now enforced for ppp.
1994-11-26 19:24:13 +00:00
Bruce Evans
ba77d4e47b Don't block for output in non-blocking mode if clists run out.
Remove an unnecessary test (if the output queue is above high water
then it is nonempty).
1994-11-26 18:54:25 +00:00
Andreas Schulz
5dd2c633c9 Add a -fwritable-strings to the CFLAGS. hack need it :-). 1994-11-26 16:15:44 +00:00
Andreas Schulz
0013dd1dc4 Correct a litle typo in an error message: PRC -> RPC. 1994-11-26 13:57:46 +00:00
Satoshi Asami
d58baccfd1 Typo. 1994-11-26 12:10:37 +00:00
David Greenman
fdfb68ba09 Always put received packets in an mbuf cluster. This simplifies the code
considerably and is measurably faster. Various comment fixes.
1994-11-26 10:51:49 +00:00
Poul-Henning Kamp
4ca88be6e9 Set the bootverbose if so desired.
if (bootverbose)
    Print the geometries the bios passes to us (through the bootblocks).
1994-11-26 09:37:57 +00:00
Poul-Henning Kamp
0a6a925d04 Declare "extern int bootverbose", so that device-drivers and others
easily can find it.
1994-11-26 09:27:58 +00:00
Poul-Henning Kamp
424183f2a4 Implement RB_VERBOSE. This is intended to mean: Print all information which
could be of any use for trouble-shooting problems with boot/devices/drivers.
1994-11-26 09:08:48 +00:00
Poul-Henning Kamp
94fc076f56 Stefan Esser proved that I couldn't program, and Ollivier Robert that I
couldn't spell :-)
Submitted by:	Stefan Esser, Ollivier Robert
1994-11-26 08:57:42 +00:00
Satoshi Asami
94c13683b4 Added some Japanese sites that carry 2.0-RELEASE. 1994-11-25 23:13:26 +00:00
Andreas Schulz
e4c5063e0b Changed the MAX_SLOTS constant from 8 to 16. The EISA bus can have up
to 16 slots.
1994-11-25 22:25:15 +00:00
Gary Clark II
156cca51f5 Add entry about missing perl libs. Would someone please add a tar file of
these to freefall.cdrom.com:~/pub/perl/libs.tar.gz.
1994-11-25 19:40:25 +00:00