Commit Graph

554 Commits

Author SHA1 Message Date
Søren Schmidt
17ee9d00bc Next syscons update (given up on numbering :)
Removed screensavers from syscons, they are now LKM's. This makes it
possible to do some really "interesting" screensavers...
Fixed bug that sometimes caused garbage to appear when leaving
"scroll-lock" history.
Reformattet indentation, it got too deep for a normal 80 pos screen.
Split up in syscons.c & syscons.h for use with the saver-lkm's.
Temporarily removed -s option from vidcontrol, savers should now
be loaded with modload.
1995-02-22 13:48:07 +00:00
Atsushi Murai
91fe718914 The 'set ifilter'/'set ofilter' commands accept a syntax containing
IP addresses and/or protocol+port, but in the case where both are
supplied, it happily accepts the command but ignores the proto+port
It also attempts to handle the case where the second IP address
is omitted, but this doesn't work.

Reviewed by:  amurai@spec.co.jp
Submitted by: Andrew.Gordon@net-tel.co.uk
1995-02-22 06:44:03 +00:00
Andrey A. Chernov
ae9ad53d84 Use CDPLAY environment variable to not type argument each time
Submitted by: hvd@terry.ping.dk
1995-02-22 01:45:03 +00:00
Andrey A. Chernov
13438c1874 mixer added 1995-02-22 01:37:47 +00:00
Andrey A. Chernov
50a3eb230e Do not close cd after eject, close on each ioctl error instead.
Do not open cd on help and quit commands.
1995-02-22 01:19:06 +00:00
Andreas Schulz
0e13d5af6f Add sgsc to the clean/cleandir targets. 1995-02-21 10:30:41 +00:00
Garrett Wollman
d7a124e5d8 Use POSIX.2 regular expressions, get rid of libcompat. 1995-02-21 04:05:20 +00:00
Poul-Henning Kamp
b833a22c62 Be more exclusive about cvs-locks. 1995-02-21 02:09:47 +00:00
Guido van Rooij
e6373c9ec0 Implement maxprocperuid and maxfilesperproc. They are tunable
via sysctl(8). The initial value of maxprocperuid is maxproc-1,
that of maxfilesperproc is maxfiles (untill maxfile will disappear)

Now it is at least possible to prohibit one user opening maxfiles

-Guido

Submitted by:
Obtained from:
1995-02-20 19:42:42 +00:00
Poul-Henning Kamp
95104c63d5 Use absolute path for the "ctm" program. 1995-02-20 19:07:32 +00:00
Poul-Henning Kamp
97074d779f The new and improved mkCTM. Learning from this experience it has been
improved on a couple of accounts.  Amongst these are "damage control"
more than 100 files removed and it will bail out...
1995-02-20 03:03:02 +00:00
Jordan K. Hubbard
0ccb57e856 1. Get all the nodes in this texinfo document happily pointing in the proper
directions.

2. Drop in a Makefile that properly installs the info files for this.
1995-02-19 09:11:07 +00:00
Poul-Henning Kamp
3e2402edc3 Some recent small changes. Probably about time I start writing this in C. 1995-02-19 04:51:41 +00:00
Bruce Evans
51bcc40b35 Write setconf() in KNF, in K&R C, and in Standard C.Standard C. 1995-02-18 21:32:19 +00:00
Bill Paul
188291d20f Do away with 'options SWAP_GENERIC' once and for all: I get ill
just thinking about it.

Two changes need to be made to allow 'config kernel swap generic' to
work properly without requiring any compile-time flags:

/usr/src/usr.sbin/config/mkswapconf.c: we need to define a dummy stub
for the setconf() function to replace the one in swapgeneric.c that
isn't available in non-generic configurations.

/usr/src/sys/i386/i386/autoconf.c: the -a boot flag causes setroot()
to be skipped and lets setconf() prompt the user for a root device.
If you skip setroot() in a non-generic kernel, you could get severely
hosed. To avoid this, we silently ignore the -a flag if rootdev != NODEV.
(rootdev is always initialized to NODEV in swapgeneric.c, so if
we find that rootdev is something other than NODEV, we know we're
not using a generic configuration.)
1995-02-18 18:05:35 +00:00
Jordan K. Hubbard
b96f37e2b0 Remove bogus reference to snp.4. Somebody kinda screwed up their move! :) 1995-02-18 17:10:40 +00:00
Ugen J.S. Antsilevich
3377c114e1 Manpage for snoop device itself. 1995-02-17 17:53:52 +00:00
Ugen J.S. Antsilevich
e2f16ea3ee Add manpage to makefile 1995-02-17 16:41:43 +00:00
Ugen J.S. Antsilevich
15c592c7f2 Watch fresh-made manpage.. 1995-02-17 16:40:32 +00:00
Ugen J.S. Antsilevich
7f4c79484b This is watch - programm to work with /dev/snp,
it still lacks manpage-i will commit it today later.
For now to test try: watch [ttyname] :)
1995-02-17 14:36:03 +00:00
Jordan K. Hubbard
87e4e7246c Rename TMPDIR to PKG_TMPDIR, just to make Jeff happy.. :-) 1995-02-16 12:43:00 +00:00
Jordan K. Hubbard
5c95e17f96 Make a link to /etc/rmt when we're installed. 1995-02-16 12:34:35 +00:00
Bruce Evans
da12c6d2aa config.y:
Support slice numbers in device names.  The syntax is `<driver name>
[<unit number>] ['s' <slice number>] [<partition letter>]'.  Only
`['s' <slice number>]' is new here.  The slice number defaults to 0
so that there is no change in the output from config if this new
feature is not used.

Replace some magic disk numbers by `dk' slice and label macros.

mkswapconf.c:
Improve the output formatting:
Generate <> style includes.
Print minor numbers in hex so that slice numbers are easy to see and edit.
Print the rootdev and dumpdev names in comments like the swapdev names.
1995-02-16 12:17:30 +00:00
Bruce Evans
5cea80f170 Always return null-terminated identifiers from yylex(). 1995-02-16 11:52:11 +00:00
Bill Paul
5d645648b1 ypbind jumbo patch :)
The existing ypbind exhibits some truly anti-social behavior. After
initially establishing a binding with an NIS server, the following events
take place:

- ypbind waits for 60 seconds before trying to broadcast a ping again
- after the 60 seconds expires, ypbind sends out broadcasts every 5 seconds
  come hell or high water.

These broadcasts travel far and wide, even to NIS servers in other domains
which dutifully log the packets even though they don't respond to them.
This leads to lots of unnecessary traffic and bloated log files.

This behavior has been fixed/changed. Here's what happens now:

- We still broadcast every 5 seconds at startup, just like before.

- Once bound, we send out packets once every 60 seconds to the server
  we're bound to AND NO ONE ELSE.

- If we fail to receive a reply from our server within FAIL_THRESHOLD
  seconds, we assume our server has croaked and go back to broadcasting
  everywhere every 5 seconds again until somebody answers. FAIL_THRESHOLD
  is currently set to 20 seconds.

Other fixes/improvements:

- ypbind now logs 'server not responding' and 'server OK' messages where
  appropriate.

Thanks to Thomas Graichen <graichen@omega.physik.fu-berlin.de> for
reporting the problem and guilt-tripping me into fixing it. :)
1995-02-16 01:21:44 +00:00
Garrett Wollman
9426bb7c1d Allow the user access to net.inet.igmp, even though there's nothing
sysctl(8) can interpret there.  (Someday there might be.)
1995-02-16 00:28:42 +00:00
Andrey A. Chernov
b6d7ccaf9d pkg_manage added 1995-02-15 20:52:52 +00:00
Andrey A. Chernov
56d3ff658b pkg_manage utility, using file selector 1995-02-15 20:47:56 +00:00
Poul-Henning Kamp
7f8573b091 Various nitpicking from Stephen.
Reviewed by:	phk
Submitted by:	Stephen McKay <syssgm@devetir.qld.gov.au>
1995-02-15 19:41:38 +00:00
Andrey A. Chernov
8c91744a04 Add more verbosity for status, if standalone 1995-02-15 17:43:12 +00:00
Andrey A. Chernov
ae0de42130 non-X mixer, useful into rc.local 1995-02-15 17:33:04 +00:00
Jordan K. Hubbard
6fc1110b71 Make pkg_install use /var/tmp instead of /tmp
Suggested by:	hsu
1995-02-15 03:48:13 +00:00
Jordan K. Hubbard
bfbd29a110 I've found two bugs in manctl(8). There are two spurious ";" after a "then"
in the script. The result is the following :

203 [23:47] root@keltia:/build/cvs-1.4A2# manctl
/usr/sbin/manctl: 165: Syntax error: ";" unexpected

Here is the fix :
Submitted by:	Ollivier Robert <Ollivier.Robert@keltia.frmug.fr.net>
1995-02-15 00:07:59 +00:00
Bill Paul
4b35aae3dd Added three line hack to nfs_ops.c to add support for the 'resvport'
mount option: you need this little bugger in environments with facsist
SunOS NFS servers (like mine :).
1995-02-13 01:56:22 +00:00
Jordan K. Hubbard
ceb3de7af6 Updated this to be more FreeBSD-like; there was a lot of bipartisan cruft
in here that just made it a heck of a lot more confusing to maintain.
Somebody like Joerg can reality-check this at some point, when they have more
time.  For now, it works.
1995-02-12 01:51:34 +00:00
Andreas Schulz
77357d7355 Fix a little typo. Change the "race record" to a "trace record" :-). 1995-02-10 22:07:42 +00:00
Poul-Henning Kamp
833ccb5d7a Clean up some details, to make it clear to gcc that we do not try to do
something stupid.
1995-02-10 05:25:00 +00:00
Garrett Wollman
8075d17ee2 mtree * MD5 = better security
Idea from: Dr. John T. Wroclawski
1995-02-10 03:12:42 +00:00
Garrett Wollman
35c13fa033 Implement TCP MIB variables. 1995-02-09 23:16:17 +00:00
Bruce Evans
db23157e7c Add ctm and sgsc. ctm is has proved useful and sgsc seems to have been
forgotten.
1995-02-09 15:36:08 +00:00
Bruce Evans
0c47d7b5e0 Restore the field widths that were clobbered by the previous commit so that
the columns in ioconf.c line up if there are no long names.
1995-02-08 18:42:58 +00:00
Dima Ruban
8aec260842 Fixed usage() (cosmetic changes. "(string)" looks much better
than "(string" :-)
1995-02-08 01:07:16 +00:00
Søren Schmidt
e3dbac5e96 Added new choises of cursors. 1995-02-07 11:56:21 +00:00
Poul-Henning Kamp
e96b9d9f84 Stephen lost a -D, now it's back. 1995-02-06 02:22:29 +00:00
Poul-Henning Kamp
c807f32c6b Removed the name length limitations on the device-driver names entirely.
Now device-names can be more than 3 chars.
1995-02-05 21:15:21 +00:00
Jordan K. Hubbard
88644a577e PCVT userland utilities.
Submitted by:	hm
1995-02-05 13:49:25 +00:00
Poul-Henning Kamp
b2ea996c3a Added final '\n' 1995-02-04 20:02:01 +00:00
Poul-Henning Kamp
cbaba1a477 A couple of sensible changes from down under...
Reviewed by:	phk
Submitted by:	Stephen McKay <syssgm@devetir.qld.gov.au>
1995-02-04 19:20:49 +00:00
Stefan Eßer
fabf3fb247 Moved "#include <pci/pcivar.h>" from "usr.sbin/lsdev/i386.c"
to "/sys/i386/include/devconf.h", where it really belongs.
1995-02-04 12:47:19 +00:00
Bruce Evans
9ca5d38370 Include ncr.c from where it is now. 1995-02-03 20:49:10 +00:00
Stefan Eßer
80cdd2af76 Add #include <pci/pcivar.h> for definition of PCI_EXTERNAL_LEN.
Reviewed by:
Submitted by:
Obtained from:
1995-02-03 20:26:50 +00:00
Jordan K. Hubbard
e9400e0561 Cosmetic fix.
Submitted by:	Christoph Kukulies <kuku@gilberto.physik.rwth-aachen.de>
1995-02-02 03:36:51 +00:00
Atsushi Murai
bf8a83a027 PPP does not find config files (Wrong path name not a /etc/ppp)
Submitted by:	Michael Reifenberger <root@rz-wb.fh-sw.de>
1995-02-02 01:54:27 +00:00
Poul-Henning Kamp
e86e7d0e07 CTM email tools.
Reviewed by:	phk
Submitted by:	Stephen McKay <syssgm@devetir.qld.gov.au>
1995-01-31 19:12:53 +00:00
Atsushi Murai
ed1eb14104 Adding "ppp" entry for a user process PPP (aka iijppp) 1995-01-31 07:57:09 +00:00
Atsushi Murai
af57ed9fdc 1995-01-31 06:29:58 +00:00
Søren Schmidt
1f741c31eb Added 80x30 & 80x60 experimental modes officially. 1995-01-30 21:44:07 +00:00
Søren Schmidt
00e0cb6577 Added h option for setting the historysize.
fixed problem with Both n&C flags.
1995-01-30 21:41:14 +00:00
Doug Rabson
5439cc46c9 Add support for kerberised NQNFS. 1995-01-30 18:56:06 +00:00
Søren Schmidt
a926a37b0a Third round in syscons update.
Display update method changed, now allways write in memory buffer,
  then periodically update physical display.
Speed improvements (now > 5 times faster than the old syscons).
History now circular buffer, with changeable size.
History scroll by up/down line, up/down page, home and end.
Backtab proberly implemented.
Now space for 96 function keys, 63 allocated standard, default now
  SCO/SYSV compat again as in the old days.
New keyboard definition files ~share/syscons/keymaps/*
Misc fixes for old "hacks" that broke SCO/SYSV compat.
More that I forgot before writing this...
1995-01-28 22:18:05 +00:00
Andrey A. Chernov
d8f5f936d9 Fix configurations in which mail route depends of the name
of sender host.
Submitted by: vak@cronyx.msk.su
1995-01-28 04:09:05 +00:00
David Greenman
cc6f628176 Be sure to properly fail if there are not enough fields. Problem
reported by MARC Giannoni <marc@cmc.eng.comsat.com>, this fix is by me.
1995-01-27 22:30:03 +00:00
David Greenman
5d20b0e1a2 from Matt Day <mday@artisoft.com>:
> So, the problem is hostnamebyanyaddr() assumes that _res is already
> initialized to proper values, but this is no longer true as of BIND
> 4.9.3.  Here is a patch for sendmail 8.6.9 which changes
> hostnamebyanyaddr() to make sure res_init() has been called before using
> _res.retry.

Submitted by:	Matt Day <mday@artisoft.com> via Terry Lambert
1995-01-27 22:14:38 +00:00
Andrey A. Chernov
0a1c0d9ae8 Add missing ${.CURDIR} 1995-01-24 08:30:13 +00:00
Joerg Wunsch
e3fa32b485 Implementing the "lp" command.
This command is required to exist in terms of compatibility with the
Posix 1003.2 specification.  It actually invokes the lpr service with
the proper options.
1995-01-23 19:22:43 +00:00
Joerg Wunsch
bba63893e5 Add "lp" to list of subdirs. 1995-01-23 19:17:22 +00:00
Garrett Wollman
039b79a960 Allow NIS maps, noconn mounts .
Sumbitted by: Boyd Faulkner <faulkner@mpd.tandem.com>
1995-01-20 20:58:54 +00:00
Bruce Evans
9ad5367675 Enable iostat on i386's. 1995-01-19 16:29:30 +00:00
Jordan K. Hubbard
65cf764910 Make Makefile take a relative path for CFLAGS.
Submitted by:	Remy Card <Remy.Card@masi.ibp.fr>
1995-01-17 15:07:13 +00:00
Garrett Wollman
5ddd6b6a1a Fix Sharnoff complaint #121 (cross-reference to config.new which does not
exist on the i386 platform).
1995-01-14 20:25:02 +00:00
Søren Schmidt
6378775666 First round in syscons update. Several new features has been added:
No kernel config options anymore besides keyboard language layout.
Virtual consoles are now dynamically allocated, no NCONS anymore.
Software cursor blinking/nonblinking.
Visual bell for laptops (don't beep at meetings :-).
Cursor/bell default type setable via config "flags" instead of as defines.
Cursor/bell type setable via ioctl's.
New video modes 80x30 80x60 for some laptops, and those with multisync monitors.
Scroll-lock history (length currently fixed at 100 lines).
Lots of cleanups, some only commented out for now (will goaway soon).
Support for new features in vidcontrol/kbdcontrol.
Updated manpages.
1995-01-12 11:47:05 +00:00
Poul-Henning Kamp
bb04461ba0 Speed kvm_mkdb up by a factor 5 or thereabout. Rewrote all the fseek/fread
nonsense to use a mmap'ed file instead and told the DB/hash what we are up to.

dev_mkdb could maybe benefit from the same treatment.
1995-01-10 18:37:12 +00:00
Andrey A. Chernov
80ac129270 Updates from jmz and me 1995-01-10 18:35:23 +00:00
Jordan K. Hubbard
0817ade904 Correct some of the english. 1995-01-09 11:32:01 +00:00
Jordan K. Hubbard
8f1133e6ec Wolfram Schneider <wosch@cs.tu-berlin.de>:
o manpage
	o save configuration in /etc/adduser.conf
	o send message file (/etc/adduser.message)
Submitted by:	woschcs.tu-berlin.de
1995-01-09 11:26:31 +00:00
Joerg Wunsch
931e501097 Use the "-F" option to /bin/pr now that we have it (thanks to Posix).
This helps for printers that tend to get out of sync.  (For the
cautious folks: we used to have it in 1.1.5, too.  But GNU pr used
"-f" for it.)
1995-01-08 18:01:11 +00:00
Jordan K. Hubbard
349257ffa6 sgsc - utility to control the Genius GS-4500 scanner.
Submitted by:	gusw@fub46.zedat.fu-berlin.de
1995-01-07 14:17:22 +00:00
Jordan K. Hubbard
c090e04591 Whoops! How embarassing. Just now noticed that I forget to update the .Os
lines.  Done.
1995-01-05 10:37:13 +00:00
Jordan K. Hubbard
3852eb465e Fix a bad formatting directive. 1995-01-05 10:31:42 +00:00
Jordan K. Hubbard
8b47e5f5f6 Fix misleading typo in description of @unexec. 1995-01-05 10:22:51 +00:00
Steven Wallace
022402f2be Added new function show_index() which does a 'smart' display of the index file.
Index descriptions are limited to MAXINDEXSIZE (60) chars.  Any description
beyond that is truncated.  Also, only the first line is displayed as well.
This allows pkg_info -a -I to be formated in two columns with one line
per package for easy reading.

Reviewed by:	jkh
1995-01-05 01:10:13 +00:00
Andreas Schulz
86c7d89044 Submitted by: Ollivier ROBERT
Wrong description where the printer socket lives. Changed from /dev/printer
to /var/run/printer. Bug report submitted by Ollivier ROBERT.
1995-01-04 22:55:00 +00:00
Jordan K. Hubbard
f8c034f997 Updates from Peter da Silva to match the recent syslogd changes.
Submitted by:	pds
1995-01-04 00:40:38 +00:00
Jordan K. Hubbard
5cc75e1e12 Update adduser to version by Wolfram Schneider. Sorry, Gary, but his
adduser is a Cadillac to your Volkswagen.. :-)
Submitted by:	wosch@cs.tu-berlin.de
1995-01-03 09:46:14 +00:00
Justin T. Gibbs
528486881b Allow config to fully handle the aic7770 driver dependancies. 1994-12-31 19:23:10 +00:00
Andrey A. Chernov
f4221a73c3 Change ${COPY} to -c, always needed here 1994-12-31 11:13:52 +00:00
Andrey A. Chernov
71d5664cdc Change ${COPY} to -c, always needed here
Remove manpage reference to BSD adduser, add pwd_mkdb reference
1994-12-31 11:12:35 +00:00
Jordan K. Hubbard
31455121d5 Fix:
>Number:         86
>Category:       misc
>Synopsis:       fixit.conf missing srcdir
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    core (FreeBSD core team)

From John Capo.
Submitted by:	jcapo
1994-12-31 05:36:40 +00:00
Andrey A. Chernov
54b77925ee Remove unneded kbdcontrol from SUBDIRS
Submitted by: roberto@blaise.ibp.fr
1994-12-30 15:44:32 +00:00
Andrey A. Chernov
80aea1ca5e Cleanup. 1994-12-30 15:40:11 +00:00
Andrey A. Chernov
99e4807ade Remove extra targets per Bruce suggestion.
Use more macros instead of hardcoded things
1994-12-30 15:38:04 +00:00
Andrey A. Chernov
33148aa5e7 Change man section 1994-12-30 12:15:39 +00:00
Andrey A. Chernov
e3763702e6 Oops, rename adduser.sh to adduser.perl
Add empty clean and obj targets.
1994-12-30 12:13:08 +00:00
Andrey A. Chernov
4298bedc38 Yet one cleanup 1994-12-30 12:03:48 +00:00
Bruce Evans
b367f6bf5f Fix everything. 1994-12-30 07:18:23 +00:00
Garrett Wollman
d9dc765848 Extend syslogd to allow selection of log destinations by program.
Use getbootfile() to determine the kernel name.

Submitted by: Peter da Silva
1994-12-29 22:02:25 +00:00
Gary Clark II
c6fc9f62f9 Changed my copyright back. Too many problems with new one. 1994-12-28 17:27:21 +00:00
Andrey A. Chernov
b2c473eaec adduser added 1994-12-28 14:00:11 +00:00
Andrey A. Chernov
7a9bf0aeb8 Fix configfile path 1994-12-28 13:49:55 +00:00
Andrey A. Chernov
36e94efd67 Move conf files to src/etc 1994-12-28 13:47:31 +00:00