Commit Graph

11196 Commits

Author SHA1 Message Date
Julian Elischer
9fd7da5843 Submitted by: Heikki Suonsivu
Made the pty devices creates in devfs match the present MAKEDEV naming
1995-12-02 07:30:19 +00:00
Julian Elischer
124b8f8150 A quick fix for a problem that will go away in a few days anyway.. 1995-12-01 23:09:20 +00:00
David Greenman
dfe61cf102 Fix minor bug that would cause the packet statistics updates to stop
working under extremely rare circumstances. Also added some additional
comments..
1995-12-01 22:41:56 +00:00
Guido van Rooij
d7b3176278 It is not necessary to check if a '-' is in lusername., Checking if
lusername starts with a '-' is enough. Otherwise, no users with a '-'
in there name can use rlogin.
1995-12-01 20:38:40 +00:00
Jordan K. Hubbard
2db54afc5e Similarly spartan dotfiles. 1995-12-01 20:13:42 +00:00
Jordan K. Hubbard
7b55c6d153 Rip these things down to the absolutely minimums - no tsets, no
sttys, no fancy prompts, nothing.  Everything else seems to be
too contraversal, so we'll go vanilla.
1995-12-01 20:12:05 +00:00
Poul-Henning Kamp
7de4ce7671 Commit the longstanding bin/410 & kern/411 fix, in the hope that somebody
will find out if it works/breaks before we do our next release.  It's all
about bad blocks in the remap area of the disk.
1995-12-01 11:07:01 +00:00
Jordan K. Hubbard
b80417f9ab Adjust a perror() to print the actual target of the error. 1995-12-01 10:36:12 +00:00
Jordan K. Hubbard
6474989dfe Account for newline in fgets(). Whoops!
Noticed by:	peter
1995-12-01 10:26:20 +00:00
Bruce Evans
1d064c3b2d Restored [u]cmpdi2.c which are needed for switching on [unsigned] long
long values.
1995-12-01 09:38:35 +00:00
Jordan K. Hubbard
6a9f25ddaa Update these from new examples in etc/root. Also comment out
dot.rhosts entries which are wholly bogus and not worth a search
on.
1995-12-01 08:41:35 +00:00
Jordan K. Hubbard
bfb5faf86d gets() -> fgets() 1995-12-01 08:26:36 +00:00
Jordan K. Hubbard
d7c4e4ec1e gets() -> fgets() 1995-12-01 08:19:12 +00:00
Jordan K. Hubbard
b203792f98 gets() -> fgets(). I'm tired of looking at the compiler messages! 1995-12-01 08:10:17 +00:00
Jordan K. Hubbard
1c71c164fc Stamp out more calls to gets(). 1995-12-01 08:02:06 +00:00
Julian Elischer
1eeac5367e remove typo 1995-12-01 01:38:49 +00:00
Stefan Eßer
ff98bff638 Add definition of PROT_NONE=0 for compatibility with SunOS/Solaris/Linux ...
Reviewed by:	julian
1995-11-30 20:59:08 +00:00
Andrey A. Chernov
ffe4e40844 Remove ports-utils 1995-11-30 19:57:56 +00:00
Julian Elischer
e7a301c64f Submitted by: jb@cimlogic.com.au (John Birrell)
Obtained from:  NetBSD as well (He submitted it there too)

make sure that teh shm region is beyond the sum of the text and data segs
as it was big progs could collide with the shm region.
1995-11-30 07:58:50 +00:00
Paul Traina
dedbc6f872 Fix support for QIC_3080 drives...it 1/2 worked before. 1995-11-30 07:43:47 +00:00
Satoshi Asami
df5379dcaf Add ports-misc and ports-www. 1995-11-30 07:18:26 +00:00
Julian Elischer
de1676f933 A pair of really tiny patches that not only allow it all to compile
but also IT ACTUALLY WORKS!
FreeBSD with options  JREMOD now runs with no entries in the devsw tables
prior to the devices puting their own entries there..

Thanks to bde and terry for thoughts and comments.
next stop 'Real' devfs support in devices.
1995-11-30 05:59:09 +00:00
Andrey A. Chernov
0b44d3a9f9 Remove ENABLE_STARTUP_LOCALE, use proper name for LANG 1995-11-30 03:54:37 +00:00
Andrey A. Chernov
662f3a95dd Fix my color/attr separation patch.
Swap foreground/background logic to allow DIM REVERSE
1995-11-30 03:29:31 +00:00
Jordan K. Hubbard
309851e0c1 Install new dotfiles. 1995-11-30 02:32:40 +00:00
Jordan K. Hubbard
b5acb70412 Revamp root's dotfiles.
Submitted by:	Patrick Hausen + mods by me
1995-11-30 02:28:37 +00:00
Andrey A. Chernov
ab808bfb5d Add cfree.3 1995-11-29 21:39:57 +00:00
Garrett Wollman
c7704e9ce0 Uniformize startup display to follow style of all the others. This means
in particular getting rid of most of the goop that causes syscons options
to be spread out over four separate lines.
1995-11-29 20:40:36 +00:00
Garrett Wollman
48991a3684 Delete obnoxious uprintf()s in load/unload procedures. 1995-11-29 20:10:33 +00:00
Nate Williams
e9aaac99f2 GENERIC - Add a commented out line for adding support for IBM ThinkPad
keyboards

LINT - Add SCANSET=2 support to the LINT kernel and comments reflecting it's
       purpose.
1995-11-29 20:07:49 +00:00
Nate Williams
98e9e66ccb Add some comments above the npx0 device to make it even more obvious
that it is a mandatory device.
1995-11-29 20:02:29 +00:00
Garrett Wollman
9350db19e7 Fix Pentium CPU rate diagnosis:
- Don't print out meaningless iCOMP numbers, those are for droids.
	- Use a shorter wait to determine clock rate to avoid deficiencies
	  in DELAY().
	- Use a fixed-point representation with 8 bits of fraction to store
	  the rate and rationalize the variable name.  It would be
	  possible to use even more fraction if it turns out to be
	  worthwhile (I rather doubt it).

The question of source code arrangement remains unaddressed.
1995-11-29 19:57:22 +00:00
Guido van Rooij
d6ed3c374d Timeout when an expected accept does not happen after all.
This gets rids of dozens of hanging ftpd's because some broken
pc implementation `forgets' to open a passive connection.
Obtained from: Wietse Venema
1995-11-29 19:52:30 +00:00
Garrett Wollman
8e050b2e86 Disallow LKM manipulations when in seure mode.
Noticed by: bde
1995-11-29 17:45:59 +00:00
Bruce Evans
cd0ef57bb3 Don't staticize again (twice).
Cleaned up includes.
1995-11-29 17:40:47 +00:00
Bruce Evans
f98e0b2d0b Fixed dependencies. Changes to source files weren't noticed. 1995-11-29 16:46:25 +00:00
Bruce Evans
9e26ffcd19 Fixed dependencies. fig2.3.n never got made, although it is used.
Errors in document processing are almost never passed back to `make'.

Removed the requirement for having an obj directory.  fig.2.3.n
previously had to live in obj/.
1995-11-29 16:42:22 +00:00
Bruce Evans
b75a051167 Fixed buggy generation of index.so. The roff command to generate it was
a little different than the one to generate the document.  This caused
wrong page numbers.

Fixed sourcing of index.so.  The hack of handling it separately is no
longer necessary.  This hack didn't quite work - the page numbers and
columnization of the index were wrong.

Fixed warnings about not being able to source index.so.

Fixed generation of `index' in the source directory.

Don't bother removing `index' after creating index.so.  `index' gets
created again when the final document is built and it's too much
trouble to remove later.

Fixed dependencies.  The long {SRCS} list in 4.4lite isn't quite
right and got broken to allow centralized rules.
1995-11-29 16:25:21 +00:00
Bruce Evans
96bfa14287 Added a preprocessor for soelem. If if USE_SOELIMPP is defined, then
1. ${ROFF} is run in ${.OBJDIR}.
2. the preprocessor prefixes ${SRCDIR}/ to relative pathnames in `.so'
   statements.
This is useful when running ${ROFF} in the source directory isn't
convenient.

Added dependencies on ${EXTRA} and ${OBJS}.  These are usually for files
that are sourced indirectly.  ${OBJS} is for files that are built.
4.4lite has decentalized incomplete dependencies on ${EXTRA} and ${DPADD}.
These were broken by are centralized handling of the roff targets.
1995-11-29 16:05:08 +00:00
Julian Elischer
b0d30084c0 missed one..
thanks jim..
(actually I was already aware I'd missed it, but hadn't started
searching for it :)
1995-11-29 15:31:22 +00:00
Bruce Evans
dce5165a30 Removed cmpdi2.c from ${SRCS}. I think it is no more needed than ucmpdi2.
Restored order in ${SRCS}.
1995-11-29 15:11:43 +00:00
Bruce Evans
20c6c6ed1d Restored my old changes which were clobbered by the previous commit.
Added prototypes.  The previous version wouldn't have compiled if
prototypes were in scope.
1995-11-29 15:07:59 +00:00
Bruce Evans
56cb20cd72 Removed builtin list of port addresses. The address for sio3
conflicted with S3 graphics cards.  Now users should put sio[2-3]
in the config file if the hardware exisst, even if the probe is
certain to fail due to an interrupt conflict.  Otherwise, ports
sharing the interrupt may fail the probe if the system is warm
booted while sio[2-3] are active (perhaps under another OS).  The
same problem for nonstandard ports is now handled better than
before.
1995-11-29 15:00:07 +00:00
Julian Elischer
7198bf4725 If you're going to mechanically replicate something in 50 files
it's best to not have a (compiles cleanly) typo in it! (sigh)
1995-11-29 14:41:20 +00:00
Julian Elischer
adb2dc299a #ifdef out nearly the entire file of conf.c when JREMOD is defined
add a few safety checks in specfs because
now it's possible to get entries in [cd]devsw[] which are ALL NULL
so it's better to discover this BEFORE jumping into the d_open() entry..

more check to come later.. this getsthe code to the stage where I
can start testing it, even if I haven't caught every little error case...
I guess I'll find them quick enough..
1995-11-29 12:38:49 +00:00
Poul-Henning Kamp
2d0b1d708c A test was backwards.
Noticed by:	Cheng, Hsiao-Yang <sycheng@cis.ufl.edu>
1995-11-29 11:28:00 +00:00
Satoshi Asami
1d2e4e9cdf 'see" -> "see" (in the comment).
Noticed by:	hilit19.el (stop laughing! ;)
1995-11-29 11:19:02 +00:00
Julian Elischer
53ac6efbd8 OK, that's it..
That's EVERY SINGLE driver that has an entry in conf.c..
my next trick will be to define cdevsw[] and bdevsw[]
as empty arrays and remove all those DAMNED defines as well..

Each of these drivers has a SYSINIT linker set entry
that comes in very early.. and asks teh driver to add it's own
entry to the two devsw[] tables.

some slight reworking of the commits from yesterday (added the SYSINIT
stuff and some usually wrong but token DEVFS entries to all these
devices.

BTW does anyone know where the 'ata' entries in conf.c actually reside?
seems we don't actually have a 'ataopen() etc...

If you want to add a new device in conf.c
please  make sure I know
so I can keep it up to date too..

as before, this is all dependent on #if defined(JREMOD)
(and #ifdef DEVFS in parts)
1995-11-29 10:49:16 +00:00
Poul-Henning Kamp
3924871a1d staticize. 1995-11-29 10:26:51 +00:00
Poul-Henning Kamp
f73a856d23 Staticized and '#ifdef notused' stuff we don't use. 1995-11-29 10:25:50 +00:00