Commit Graph

2138 Commits

Author SHA1 Message Date
jkh
e38dfc28b6 Correct a minor misspelling.
Noticed-by: der
1996-09-29 10:03:30 +00:00
bde
84ed9156c5 Removed references to pathconf-related variables that were never handled
by sysctl and never can be in their documented form (kern.name_max would
have to become fs.filesystemname.name_max, etc.).

Added missing references to user.stream_max and user.tzname_max.  These
seem to misnamed.  <sys/sysconf.h> says that they correspond to POSIX2
names, but the sysconf names don't have POSIX2 or "posix2" like all the
other POSIX2 names.
1996-09-28 14:43:03 +00:00
bde
118ffee3d0 Moved getdtablesize() out of a loop. 1996-09-28 11:25:47 +00:00
pst
463283127b Add info field.
Closes pr docs/1679.
1996-09-27 20:31:26 +00:00
pst
62d70d7bef Rate limit the "xxx bytes read from" message to a maximum of one per
chunk or one per second, whichever is less.  Outputting this message once every
couple of K was really crazy on a 9600bps serial console.
1996-09-26 22:12:07 +00:00
pst
c48d91002b If we're running through the FTP setup dialog the *first* time, skip
the FTP path if we've already configured one (this allows preconfigured ftp
servers).
1996-09-26 22:07:32 +00:00
pst
b8c760157a If we're unable to open /dev/ttyv0, assume that we're on a single tty system
and use /dev/console.

I really think the proper test is to determine which device has been configured
to be the console (remember the RB_SERIAL flag?) and use it instead of always
trying to open /dev/ttyv0 first.
1996-09-26 21:07:11 +00:00
pst
b67d08af4a If /install.cfg exists on the local floppy (or if LOAD_CONFIG_FILE is defined
and the user inserts a floppy), read the config file to pre-define variables
for a custom installation.

[Note: I fixed one bug in LOAD_CONFIG_FILE code, but it's still not perfect.]
1996-09-26 21:03:35 +00:00
bde
cbced3178f Really eliminated includes of the "temporary" backwards compatibility
header <sys/dir.h> in applications.  My previous sweep didn't find the
places that included it without needing it.
1996-09-24 08:43:04 +00:00
bde
0350140145 Eliminated includes of the "temporary" backwards compatibility header
<sys/dir.h> in applications.  Maintained existing (inadequate) ifdefs
for dir.h vs dirent.h in libdialog, amd and rarpd, but didn't add any
new ones.
1996-09-24 08:08:11 +00:00
wosch
e7eeae0eba add missing comma(s) in .Xr macros 1996-09-23 22:24:39 +00:00
ache
6f734afc2b Fix one byte buffer overflow
Submitted by: Eric Allman <eric@sendmail.org>
1996-09-22 14:57:00 +00:00
jkh
4416080b40 Remove some gratutious screen saves. 1996-09-22 00:48:55 +00:00
ache
c01f7b9616 Fix & expansion (from pw_gecos field), sizeof buf used when
buf is pointer, not array, buflen must be used instead.
Charlie & from root name was expanded to junk as result.
1996-09-21 23:37:35 +00:00
wosch
68a6efc16b fix .Xr macro 1996-09-21 15:08:10 +00:00
nate
7bfae28671 ts_sec -> tv_sec
ts_nsec -> tv_nsec

Pointed out by:	bde
1996-09-20 04:13:44 +00:00
peter
14969b2bf5 aarghh! what is it with this CVSROOT/val-tags regexp anyway? how
many times do I have to do this to get it right? :-]
1996-09-19 08:41:49 +00:00
peter
851f9c28cd Merge import conflicts 1996-09-19 03:12:11 +00:00
peter
334d0ceea3 Import of sendmail-8.7.6 1996-09-19 03:01:32 +00:00
peter
a5031cd76a This commit was generated by cvs2svn to compensate for changes in r18366,
which included commits to RCS files with non-trunk default branches.
1996-09-19 03:01:32 +00:00
jkh
fc55866b21 Don't call copySelf() when upgrading. 1996-09-18 18:40:37 +00:00
wosch
60a3a5d25a warn if reach group line limit (>200 users, >1024 bytes per line)
close PR#1595

suggested by: Seppo Kallio <kallio@beeblebrox.cc.jyu.fi
1996-09-17 19:34:56 +00:00
wollman
7f3a408ee0 Delete old routed(8). 1996-09-16 16:56:00 +00:00
wollman
beec13a871 Disable build of old routed. 1996-09-16 16:53:54 +00:00
jkh
2b662b3cee Remove some bogosities I introduced with the init file hack (not serious,
just bogus).  Also turn off by default - whoops!
1996-09-15 23:55:23 +00:00
wpaul
29dec7db05 Toss the mkaliases script into the attic and remove its install
target from the Makefile. We don't need it anymore, and it was
broken anyway.
1996-09-15 00:39:20 +00:00
wosch
9baf6ec809 Do not backup master.passwd if pwd_mkdb returned an error. This
was to paranoid, pwd_mkdb(8) is carefully enough to not
corrupt master.passwd on failure.

Submitted by: joerg
1996-09-14 23:22:23 +00:00
bde
071f2afd3e Don't use __dead or __pure in user code. They were obfuscations
for gcc >= 2.5 and no-ops for gcc >= 2.6.  Converted to use __dead2
or __pure2 where it wasn't already done, except in math.h where use
of __pure was mostly wrong.
1996-09-14 03:00:32 +00:00
jkh
1220c18e7a Make passwords no longer echo or display. Because of this, we now also
ask for matching confirmation.  I'm sure there is a clever direct-from-perl
ioctl way of putting the terminal into noecho mode, but I don't feel like
learning perl so I just used system.  [yes, I'll put stty on the installation
boot floppy as necessary]
1996-09-11 08:36:54 +00:00
peter
8d77f94ff4 Argh! there's no need for moused to be setuid-root! Now that it
works from startup, and works with XFree86 via /dev/sysmouse, it should
be started at boot and left running.

Pointed out by: Sujal Patel <smpatel@umiacs.umd.edu>
1996-09-10 19:17:25 +00:00
peter
f3a7064d80 gut and overhaul moused, it was simply not working for me on any mouse
I could find.  This change does the following:
  - s/usage()/break;/ in handling the -s switch.
  - use err/warn instead of fprintf(stderr, ... strerror()); exit(1);
  - implement Hitachi PUMA HitTablet support from the XFree86 code,
    whatever the hell that is. :-)
  - correctly implement baud rate setting, too much was cut from the
    XFree86 code, the critical parts were a sweep over all likely
    mouse powerup baud rates to switch it to the reqested rate.
  - logitech support was busted (at least on mine, which is autosensing
    and runs in either mmseries or logitech mode depending on the handshake
    code at startup.  Among other things, you talk to it at 1200, then
    switch to the target baud later.

Some remaining problems..  samplerate setting is missing, but I've not
found where this is meant to be set yet.  I presume this is resolution
setting of some kind.
1996-09-10 18:20:46 +00:00
peter
1d6bf6c00c personal (ie: with the crontab command) cron tabs were broken by the
last change. :-(
ie: /var/cron/log would report: .. cron[206]: (usage) CAN'T OPEN (%s/%s)
1996-09-10 03:38:20 +00:00
fenner
2c923f47da Change strcpy() to strncpy() in several places, and give gethostname()
the real buffer size.  Note that the strncpy(domain, ...) doesn't need to
be a strncpy(), since it is copying from itself to itself, but belts
and suspenders don't hurt and this is not time-critical code.

Fixes the half of PR bin/1581 that wasn't fixed in rev 1.7

Submitted by:	Karl <karl@codebase.mcs.net>
1996-09-10 00:50:13 +00:00
sos
d3115d7869 Fix for the problem that moused hangs if it is started from /etc/rc
Introduces the /dev/consolectl device for controlling various
console related things (given syscons is used).
1996-09-09 18:47:47 +00:00
jkh
f986f295c0 Doh! Actually read the patch I applied and see what it was *trying* to do,
then make it do that.
Error-of-my-ways-pointed-out-by: Bob Willcox <bob@luke.pmr.com>
1996-09-09 15:32:26 +00:00
pst
1f959b04f1 Fix some buffer overflow problems... 1996-09-08 23:50:23 +00:00
jkh
50de073cf3 Various minor improvements. 1996-09-08 01:39:25 +00:00
peter
700c1f9850 Add dequeue script for the record. 1996-09-07 21:09:41 +00:00
peter
d95599e1e0 make it slightly less verbose while creating queue entries.. 1996-09-07 21:06:19 +00:00
peter
48bf989b93 make the "-l logfile" option actually do something.. 1996-09-07 20:41:09 +00:00
peter
88beea98fe After queueing deltas, send out an initial two mails since that will cover
99.9% of the cases at with out delay as before.
1996-09-07 19:50:48 +00:00
peter
bacc5d7610 fts_children() returns NULL if there are no files. If there was a failure
then errno != 0.
1996-09-07 19:46:29 +00:00
peter
19180478fd - resync with configs running on freefall
- add ctm_conf.gnats from freefall
- add support for doing both the immediate mailout and the queued mailout.
- use "sendmail -odq -t" rather than "sendamil -t" to make it queue to
  the mailqueue rather than immediately begin transmission. This allows
  us to take advantage of our ordered dequeueing system without blowing
  WC's T1 to hell with a 50 part mailout in parallel.
- bump the max ctm size from 3MB to 10MB....  This is mainly for the fast
  list.
1996-09-07 18:48:52 +00:00
peter
5a3086bf85 When looking for "group daemon" (since that's what's in mtree), make sure
we actually look for the *group* and not the user's gid.  user daemon
has traditionally been group 31 (guest).

Also clear out the groups vector so that it doesn't inherit the groups
of the invoking user (ever run rwhod by hand before?)  Unfortunately, we
can't empty the supplemental groups list because the !&@^#! egid is stored
in there! :-(
1996-09-07 01:43:08 +00:00
phk
b84ee4ee53 remove devconf tools from make tree. 1996-09-06 23:07:35 +00:00
phk
d2284e5b37 Remove lsdev. Devconf never grew up. 1996-09-06 23:05:22 +00:00
peter
6791e2e65b Turn on SO_KEEPALIVE on network connections. Since we limit the number
of connections, we cannot afford to allow "disappeared" client to cause
us to leave one of the 14 connections open and hanging in a read() forever.

(SO_KEEPALIVE causes probe packets to be sent after a few hours of IDLE
time where no data has been transferred.  Sup should NEVER do this, so the
only time it will have an effect is if it looses the remote machine)
1996-09-06 16:08:32 +00:00
peter
fa0c3e4928 Rewrite part of the compression support so that it does not leave
files in /var/tmp.  Sup needs to send the file size, so that
prevents running gzip in a pipeline (sigh).

It now opens a temporary file, and immediately unlinks it.  It sends
gzip's output to the temp file, and when gzip is done, it rewinds the
file and sends it. When the last fd is closed, the file storage is
reclaimed.  With luck, this will stop those 15MB
gzip < emacs-19.30.tgz > /var/tmp/tmp.xxxx files from being left behind
and blowing out /var on freefall.

While I have the platform, let me quote a fortune entry which sup reminds
me of:  "It is a crock of sh!t, and it stinks!"
1996-09-06 15:40:08 +00:00
jkh
f6647a451d PR#2724 in NetBSD notes that newsyslog save log files even if the number
of copies to save is zero.  Incorporate suggested fix with some stylistic
cleanup to make the resulting code more readable.
Submitted-By: Kenneth Stailey <kstailey@dol-esa.gov>
1996-09-06 06:36:07 +00:00
jkh
953635c797 Close a security hole in anonymous ftp setup.
Submitted-By: Jason Garman <garman@phs.k12.ar.us>
1996-09-06 05:58:27 +00:00
bde
218243765f Fixed DPADD. 1996-09-05 17:16:10 +00:00
wpaul
c47eb72db7 When updating a password via the standard RPC handler, reset the password
change time (pw_change) to zero.
1996-09-05 15:53:42 +00:00
adam
7cd20986d1 typo 1996-09-05 11:18:27 +00:00
bde
d7e21a9ee9 Removed bogus unused `-I..' and unnecessary override of BINDIR. Didn't
clean up.
1996-09-04 22:43:20 +00:00
bde
792f2785e7 Removed another unused `-I.' and cleaned up. 1996-09-04 22:31:32 +00:00
bde
3c2ee02d21 Removed unused `-I.'s from CFLAGS.
"." means the object directory, so it is just confusing to use it
when nothing is included from the object directory unless the object
directory is also the source directory.  It is confusing for "."
not to mean the source directory anyway, so used `-I.'s should be
replaced by `-I${.OBJDIR}'.
1996-09-04 22:25:35 +00:00
peter
f56698a460 Set ${DPADD}, use +=, add $Id$ 1996-09-02 23:38:58 +00:00
jkh
3d73a083a0 Simplify some dialogs on the basis of my changes to ui_objects.c in libdialog.
Also update copyright notices.
1996-09-01 08:17:14 +00:00
ache
20d1c965d1 Unlocalize date 1996-09-01 00:48:29 +00:00
phk
9cab960d44 Some new options, useful for restoring single files or subtrees from the
deltas.

Submitted by:	A JOSEPH KOSHY <koshy@fakir.india.hp.com>
1996-08-30 10:21:00 +00:00
peter
29182f01a8 Use a variable to prevent multiple inclusion from duplicating CFLAGS args. 1996-08-30 03:03:21 +00:00
peter
f5601cb991 Delete temporary man page rules 1996-08-30 03:01:34 +00:00
peter
29561019a5 Hmm, well, whaddya know? ypserv was making calls to the undocumented
private internal _gethostbydnsname() resolver functions..
1996-08-30 01:17:47 +00:00
peter
a620763c74 delete bind, add named named.reload named.restart ndc 1996-08-29 22:20:58 +00:00
peter
17c65b10bb kill these, they were declared a bad idea. 1996-08-29 22:19:21 +00:00
peter
81d16744bf build bind-4.9.4-P1 named.restart in it's own directory 1996-08-29 21:48:19 +00:00
peter
cd0b79d052 build bind-4.9.4-P1 named.reload in it's own directory 1996-08-29 21:47:33 +00:00
peter
eb3ece5502 build bind-4.9.4-P1 ndc in it's own directory 1996-08-29 21:46:46 +00:00
peter
1b5861bcbf Build bind-4.9.4-P1 nslookup 1996-08-29 21:40:09 +00:00
peter
a33641c7f4 Revert back to building bind-4.9.4-P1 in seperate directories... 1996-08-29 21:38:16 +00:00
peter
932c7b2235 Swing the SUBDIR entry across for the new bind-4.9.4-p1 dir.. 1996-08-29 20:15:11 +00:00
peter
ee248f6bee This commit was generated by cvs2svn to compensate for changes in r17897,
which included commits to RCS files with non-trunk default branches.
1996-08-29 19:43:00 +00:00
peter
7f83168f01 Import some bmake glue for bind-4.9.4-p1.
This is based on Paul Vixie's makefiles, but some of it doesn't look much
like it now.
1996-08-29 19:43:00 +00:00
wosch
d4a1c1cff8 [HISTORY] command appeared in Version 1 AT&T UNIX
Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41
1996-08-29 18:06:19 +00:00
wpaul
11b4bd9ca4 Add one line fix to stop my old 'don't barf if you see the same
hostname/IP twice on same line in /etc/exports' fix from dumping core
due to bogus /etc/exports entries.

Submitted by: Toshihiro Kanda <candy@fct.kgc.co.jp>
1996-08-29 14:20:57 +00:00
adam
02bc249098 typo police
I couldn't make any sense of the sentence "Eval variables in this file." so I
left it alone.

also allow creation of new local group when NIS groups are used.
this can probably be done more elegantly, and needs more thought.
1996-08-28 17:54:14 +00:00
wosch
e99625b29c sync copyright with /usr/share/examples/etc/bsd-style-copyright 1996-08-27 20:04:45 +00:00
wollman
9b19e561e3 Merge new routed from vendor branch. 1996-08-27 16:22:05 +00:00
wollman
76bd23e8bf Initial revision 1996-08-27 16:12:46 +00:00
pst
4c9ab7ec27 Run as daemon.daemon, not nobody.daemon 1996-08-26 17:01:58 +00:00
pst
e3ef64def1 Fix buffer overrun, and run as nobody 1996-08-25 21:37:11 +00:00
wpaul
a9fe8ef22d It appears that with FreeBSD-current, we need to set the ethernet
frame type in network byte order. The htons() that wasn't needed in
2.1 is now required in 2.2.

Ultimately, this rarpd should be replaced with the more recent one
supplied with the new BPF distribution.
1996-08-24 23:05:08 +00:00
mpp
72955fa29f Convert to mdoc format. 1996-08-24 16:34:23 +00:00
mpp
2370082340 Use the .Bx macro where appropriate. 1996-08-23 20:36:11 +00:00
jkh
7fcc118cdf Conditionalize some annoying debug statements, update the docs. 1996-08-23 07:56:06 +00:00
mpp
0da347e402 Use the .Fx macro where appropriate. 1996-08-23 00:57:08 +00:00
wosch
521a5cc3ae bye, bye 1996-08-22 17:41:22 +00:00
pst
be3d4c9369 Fix typo in last commit...sigh 1996-08-21 21:39:44 +00:00
mpp
36154c8b62 Add the -o option to the usage line. 1996-08-21 20:54:38 +00:00
cvs2svn
62f5b9eea1 This commit was manufactured by cvs2svn to create branch 'SENDMAIL'. 1996-08-21 20:47:59 +00:00
mpp
31e462653d Oops, forgot to actually add the new man page. 1996-08-21 20:47:58 +00:00
mpp
fc6562f870 Add a man page for mailstats(8).
Obtained from:  NetBSD
1996-08-21 20:45:20 +00:00
pst
093639bb4e Change DISTDIR to TCPDUMP_DISTDIR 1996-08-21 17:11:41 +00:00
ache
303254c665 Bugfix: all device counts >= 256 was broken, they truncated by % 255
because of u_char count field size. It hits when device
header file already present.
1996-08-21 17:00:54 +00:00
pst
bc3f9f59ca Uniquely name the distribution directory variable so that it can be overridden
for multiple packages at the same time.
1996-08-21 16:50:15 +00:00
peter
1e36c99434 Decode ICMP_UNREACH_FILTER_PROHIB responses as !F, from RFC1812.
Suggested by: Bill Fenner <fenner@parc.xerox.com>

Additionally, print unrecognised ICMP_UNREACH codes numerically. eg, code
15 would show up as !<15>.
1996-08-21 05:59:19 +00:00
peter
92bdc4747e Back out part of my previous commit. The bug was fixed over 12 months
ago in FreeBSD more cleanly.
1996-08-21 04:31:28 +00:00
gpalmer
1b2a059cbc Pickup VERSION from the tcpdump sources in contrib/tcpdump. Allows
`make world' to work again.
1996-08-21 04:14:36 +00:00
wosch
179f760ed3 add pathnames.h, -Wall cleanup 1996-08-20 23:51:20 +00:00
jkh
0be5fbfd70 Clean up the english a little, having made the mistake of reading it. 1996-08-20 21:27:18 +00:00
wosch
dae73fa126 run pwd_mkdb with new check option [-c] to verify correctness
of /etc/master.passwd
1996-08-20 19:57:23 +00:00
pst
e872f89def Fix up path 1996-08-20 05:44:01 +00:00
pst
6475cb8d12 Grab tcpdump out of src/contrib/tcpdump 1996-08-19 21:57:10 +00:00
wosch
85e9181a9d New option: [-c]
Check if the password file is in the correct format. Do not
        change, add, or remove any files.
1996-08-19 16:03:15 +00:00
peter
560d5db64a Fix a bug, it was returning a pointer to a variable on the stack, instead
of the specially strdup()'ed version.
1996-08-19 14:28:48 +00:00
peter
f00c939cd3 Define ETHERS_SERVICE, since our OS provides it. Otherwise, you
can't do a "tcpdump 'gateway foo'" unless it's in /etc/ethers - it wasn't
reading the NIS tables.
1996-08-19 14:27:14 +00:00
wosch
bd9c66bd65 ``make install'' should not install the symlink /usr/sbin/rmt -> /etc/rmt
Only ``make distribution'' in src/etc/Makefile overrides things in /etc

Pointed out by: joerg
1996-08-18 11:05:08 +00:00
peter
3ea41fcc73 Fixes from NetBSD:
- inet_ntoa() returns a pointer to a static buffer, dont use it twice
   in the same printf().
 - prevent the possibility of never timing out
 - Report two more ICMP error types (prohibited nets etc)
And some (commented out) enhancements that I use, but some don't like.
1996-08-17 10:37:28 +00:00
wosch
e7b799428f New options
-K      Run as command kbdmap(1).
    -V      Run as command vidfont(1).
    -p, -print
            Print description  of available keymaps or fonts to
            stdout and exit.

Document that users should not choose MSDOS codepage keymaps or fonts.
1996-08-16 13:26:44 +00:00
ache
986d04eed7 Remove -p from SYNOPSIS 1996-08-16 12:34:47 +00:00
ache
bb378bf1cf Remove -p option from getopt string, all corresponding code
already deleted
1996-08-16 12:12:53 +00:00
peter
d470b3a5fe rpc.rstatd -> rpc.lockd typo
Noticed by: tholo@sigmasoft.com (Thorsten Lockert)
1996-08-16 09:44:40 +00:00
wosch
db4b23e2bd Do not add an user to a group if the group is also the login group. 1996-08-14 19:06:04 +00:00
adam
43e727294a chown(8) and chgrp(1) directories once only 1996-08-14 18:13:58 +00:00
wosch
4b4df814d1 Do not send "welcome mail" as default. If you want this feature
you can still enable it. Better, use mail client like elm or pine.

Requested by: Jordan
1996-08-13 21:50:51 +00:00
fenner
f34ca46f19 Fix last commit (and PR bin/1489) by creating both sockets before
setuid().
1996-08-13 16:28:59 +00:00
peter
182f3eb76f Fix a few minor type problems that turned up with gcc-2.7.2 1996-08-13 09:21:38 +00:00
peter
36d570d74b Add RTF_STATIC to default route's flags in the hope that routed will no
longer remove it while it is running.
1996-08-13 09:19:45 +00:00
peter
7d811b9c99 Add RTF_STATIC to flags when creating a default route. Hopefully this
will stop routed from removing it if it is also running.
1996-08-13 09:16:49 +00:00
pst
25fd4acd75 Previously, if the dial script had any problems, pppd would simply
bomb out.  Unfortunately, FreeBSD's sio driver and certain internal
modems don't get along very well, which can cause the serial port to
wedge until it is closed and reopened.

Add new variable, connect-max-attempts, default = 1 (to mimic previous
behavior).  If > 1, will try up to "n" times to dial remote site before
aborting.
1996-08-11 17:29:37 +00:00
julian
29bd9ba0e6 Reviewed by: various
Submitted by:	archie@whistle.com

changes to allow inetd to bind to a single interface
for more complicated options see xinetd in ports.

Obtained from: whistle.com
1996-08-09 22:20:24 +00:00
adam
8c876a0bf6 was missing @ 1996-08-09 17:55:18 +00:00
fenner
624ac9582b Drop setuid ASAP, to minimize code executed as root.
Reviewed by:	pst
1996-08-09 06:00:53 +00:00
phk
fce688d082 Make broadcast clients work. 1996-08-06 11:32:25 +00:00
pst
9fa2b3e61d Gratuitous whitespace change so that I can commit the source of the recent
buffer overflow patch.
Reviewed by:	pst
Submitted by:	Dave Andersen <angio@aros.net>
1996-08-05 00:50:02 +00:00
pst
d0b41180a9 Fix up some more buffer overflow problems. 1996-08-05 00:31:27 +00:00
wpaul
57f37925be Fix a couple of bogons. The first two were brought to my attention
by Peter Wemm:

- In yppasswdproc_update_1_svc(), I wasn't paying attention and put
  a couple of lines of code _after_ a return() instead of before.
  (*blush*)

- The removal of certain temp files didn't always work (this showed
  up mostly if you were using /etc/master.passwd as your NIS passwd
  template instead of /var/yp/master.passwd). This is because the
  whole temp file creation mechanism I was using was tragically
  broken (you can't rename across filesystems).

This problem I found myself:

- If you have a very large password database (30,000 or more entries),
  there can be a delay of several seconds while pw_copy() copies the
  ASCII template file and subsitutes in the modified/new entry. During
  this time, the clnt_udp() code in the RPC library may get impatient
  and retry its request. This will get queued at the server and be
  treated as a second request. By then the password change will have
  been completed and the second request will fail (the old password is
  no longer valid). To attempt to fix this, we save the IP address and
  port of each request and ignore any subsequent requests from the
  same IP and same port that arrive within five minutes of each other.
1996-08-04 22:13:05 +00:00
phk
4c105a7f91 Enhance crunchgens understanding of our new /usr/obj/pwd strategy. 1996-08-04 20:38:53 +00:00
jkh
a150f10760 Try to make screen update more efficient (less flickering) by more
judicious use of dialog_clear_norefresh().
1996-08-03 10:11:56 +00:00
jkh
a876e03162 Make the same fix to the disk partition editor screen. 1996-08-03 05:29:24 +00:00
jkh
64c179f3d4 Fix an embarassing bogon in the key input code. I'll roll another snap
boot floppy for this one..
1996-08-03 05:25:56 +00:00
nate
ba13991565 Use the defines and macros defined in /sys/pccard/cis.h to make the code
easier to understand.  LOTS more work needed in this area.

Inspired by:	The Nomad code
1996-08-01 15:45:46 +00:00
jkh
a9d8f65f49 Whoops! VTYs return zero values for TIOCGSIZE! Work around this. 1996-08-01 13:47:03 +00:00
jkh
e4cfeaa689 Don't query DNS if we haven't got it configured. 1996-08-01 12:59:54 +00:00
jkh
9f283d4357 Handle SIGPIPE in a couple of crucial places. 1996-08-01 12:35:51 +00:00
jkh
15470a7f40 Put verbosity in the right place. 1996-08-01 12:13:20 +00:00
jkh
435e6170fb Purely cosmetic tweaks. 1996-08-01 12:02:26 +00:00
jkh
f9a2c3997c Clean up the results from getch(). 1996-08-01 11:39:49 +00:00
jkh
7ddd073de8 Close PR#1542. Don't just assume 24 lines, get the tty size.
Some things may still display text on the 24th line, but that's because
they've always been screens designed to fit into a minimal real-estate
and have hardwired assumptions about the dimensions.  They'll be a little
harder to make dynamic.
1996-08-01 10:58:54 +00:00
jkh
399d369b34 Make -force work for pkg_add. 1996-07-31 21:52:33 +00:00
jkh
66a0dca67a Add a required save/restore 1996-07-31 14:49:20 +00:00
jkh
1b3aa0186b Try again. 1996-07-31 10:55:19 +00:00
jkh
efa3bb0eb3 Don't munge keystrokes. 1996-07-31 09:29:35 +00:00
jkh
d345a443bf Prevent Geometry warning messages when the disk is already "dedicated" 1996-07-31 09:10:39 +00:00
jkh
704badacde More minor tweaks (that I'm trying to get into the SNAP). 1996-07-31 06:41:29 +00:00
jkh
8ea64a578d Detect which partitions have already been created with `auto' so as not to create them
twice.

Various cosmetic tweaks.
1996-07-31 06:20:59 +00:00
jkh
7241e8251f Add MD5 checksums to packing list for all files during pkg_create and use
later at pkg_delete time to verify that you're deleting what you added.
This, of course, does NOT cover the case where a file you still need
hasn't changed!  That's a tougher problem to solve, and this provides
only the minimal amount of safety belt.  MD5 checksums are stored in comment
fields, so packages produced with these tools are backwards compatible with
the older ones.
1996-07-30 10:48:20 +00:00
alex
287a0051d6 "appeared in 4.2BSD.." changed to "appeared in 4.2BSD." 1996-07-27 01:20:00 +00:00
peter
b1d806d43e Fix the services.byname target so that it creates search keys for the
aliases of the "official" names as well, because now that getportbyname()
does a yp match, it no longer found the entries under the alias.
This broke rsh(1), because it looks up "shell/tcp" while the official
name in /etc/services is "cmd/tcp".
1996-07-25 19:32:37 +00:00
phk
c6b40f9188 Add some explanation on TMPDIR.
Submitted by: Chuck Robey <chuckr@Glue.umd.edu>
1996-07-24 21:36:48 +00:00
peter
d5ab2e9fa3 Fix typo in last commit, it seems that a hash comments out a \ at the end
of line.

Also, fix existing bug in ethers.byname, it was passing an unknown option
to yppush.  This appears to have been a cut/paste slip intended for a
$(DBLOAD) command above it.
1996-07-24 14:04:57 +00:00
peter
d457baca92 Add sample rules for amd.host, mostly from the AMD docs, but tweaked to fit
the FreeBSD Makefile.yp structure by me.  This allows you to have a single
amd map for all machines in a cluster.

In /etc/sysconfig, it would look something like:
  amdflags="-p -a /net -c 1800 -l syslog /host amd.host"
1996-07-24 10:48:07 +00:00
wollman
551828f69e Merge from vendor branch. The rttrace program is gone (subsumed by rtquery).
There is a new routed.h which wil be imported separately.
1996-07-22 21:13:08 +00:00
wollman
c4a041128c Initial revision 1996-07-22 20:56:38 +00:00
jkh
13149cdb29 Fix some bogus argument handling - whups! James was right.. 1996-07-22 18:43:21 +00:00
pst
8e3d7ded82 Bring in some fixes from NetBSD and re-hack our syslogd to be option-compatible
with theirs (change the -I option to -s (but leave -I in for backwards compat.)
Also eliminate an make sane some magic numbers, and fix a small bug where we'd
send to an unopened socket.

Reviewed by:	wollman
Obtained from:	NetBSD
1996-07-22 16:35:50 +00:00
phk
cbb7f45e85 Reset Pred1 protocol on FCS errors. 1996-07-21 13:01:27 +00:00
adam
327e00f10d 'mkaliases' is broken (strips spaces) so don't use it,
perhaps it can be removed altogether.
corrected typos
1996-07-18 23:48:13 +00:00
gpalmer
30a867f84a Remove eeprom too as more unused stuff.
Pointed out by: Thomas Graichen <graichen@axp5.physik.fu-berlin.de>
1996-07-18 22:26:54 +00:00
wollman
b67e9ab303 These old files are no longer relevant to the current routed
implementation.
1996-07-18 21:15:05 +00:00
wollman
bf03fd2dfc Merge from vendor branch. We are now completely up-to-date with
respect to the ADO timezone code.
1996-07-18 19:59:09 +00:00
wollman
2177daedd1 This commit was generated by cvs2svn to compensate for changes in r17211,
which included commits to RCS files with non-trunk default branches.
1996-07-18 19:40:52 +00:00
wollman
74a42cf6dd Second part of the timezone code import for version 96h. This includes
a number of bug fixes to the compiler (which bugs would previously
have caused undesirable behavior during transition times).
1996-07-18 19:40:52 +00:00
dfr
e718677ae1 Import fixes from NetBSD to print NFSv3 packets.
Obtained from: NetBSD
1996-07-18 14:53:04 +00:00
joerg
f35f0a8253 Correct the Unix programmer's error #1: "char c = getc();".
Closes PR # bin/1386: lpf Text Filter does not w...

Submitted by:	andreas@marvin.RoBIN.de
1996-07-17 20:14:42 +00:00
dg
eb79ad5389 Increased listen() queue-depth limit to 64. 1996-07-17 15:00:28 +00:00
jkh
0012923091 1. Fix the CD installation bogon for Novice install I mentioned.
2. Add some code for dealing with a ports collection on the second CD now.
1996-07-16 17:11:45 +00:00
phk
d304b48f31 Make crunchgen match the new obj/ convention. 1996-07-15 11:20:21 +00:00
jkh
00cbe91b26 Damn - looks like upgrade got broken along the way and it's not something
I usually test, so... :-(  Guess we'll have to slide the tag forward on
these two files - Peter, could you do the honors?  I've been up for the last
30 hours or so and I just *know* that any attempt on my part to do this would
probably end up deleting the entire repository somehow. :-)
1996-07-14 01:54:39 +00:00
jkh
4857b4d048 Make CD version clash non-fatal. 1996-07-13 05:48:44 +00:00
jkh
d0e8e4a2c5 Back out my change for Peter which did transfer timings based on current
chunk rather than distribution - it's just caused the numbers to fluctuate
too wildly, sorry Peter! ;-(
1996-07-13 05:44:51 +00:00
jkh
c597f9dda1 Fix a bogon in the Novice mode CD auto-selection. 1996-07-13 05:13:25 +00:00
jkh
b26a3ad043 Fix EBUSY checking in devices.c - DTRT when it's detected on a CD. 1996-07-13 05:09:29 +00:00
jkh
225af85c05 Remove some suspect sector size calculations which are also the source
of some confusing messages from newfs (just judging by the number of people
who point them out, anyway).
1996-07-12 15:24:49 +00:00
gpalmer
44c6d68cc9 Small changes so that this actually stands a chance of doing the
right thing...
1996-07-12 13:12:46 +00:00
jkh
f3f9c53d3c Fix something I broke with CDROM installation (well, I knew my first
test CD would turn at least one bug up :-).
1996-07-12 11:14:15 +00:00
bde
a16e168d5b Fixed brackets in usage message.
Reformatted some of recent changes to KNF.
1996-07-12 08:20:28 +00:00
jkh
942d376c96 Make the menu height calculation actually work.
Make a menu more self-explanatory at user request.
1996-07-11 18:37:48 +00:00
nate
a9c1f9b750 In num_tok, allow the user to specify '0' as plain '0' instead of
forcing them to use '00', and/or '0x0'.

Submitted by:	Johann Tonsing <jtonsing@mikom.csir.co.za>
1996-07-11 15:04:43 +00:00
nate
9f897b15f2 Now that we have a manpage, don't have the 'clean' target be a NO-OP. 1996-07-10 18:36:41 +00:00
jkh
acab5c95a7 Better error checking in helpfile expander.
Tart up some of the output a little.
1996-07-10 11:38:29 +00:00
jkh
acb70e2259 Document new GENERIC 1996-07-10 09:41:18 +00:00
nate
61d2bf905f Add sm_inter.h to DPSRCS so that make depend is not required to build
this.
1996-07-09 22:40:39 +00:00
ache
92e1f06ddd Dump core on SIGSEGV instead of silent exiting. I saw SIGSEGV few times,
but they are VERY rare to tracking down this bug. I hope core
helps to track it down.
1996-07-09 17:40:36 +00:00
jkh
c8cb392655 Try to prevent the status line from jumping around quite so much. 1996-07-09 16:57:14 +00:00
jkh
26a30b6eb7 Take compat dists out of the canned set - they seem to do more harm
than good, actually, and those who actually need them can select them.
1996-07-09 16:29:00 +00:00
jkh
79e1062a56 Update docs to match. 1996-07-09 14:34:58 +00:00
jkh
74b3877fe8 A number of improvements in the way statistics are printed, add a "chroot"
option for installing distributions and/or packages to somewhere other than /,
say for a case where you're installing to an external disk on some other
machine's behalf.  More miscellaneous fixes to various problems I stumbled
across while adding this stuff.
1996-07-09 14:28:22 +00:00
jkh
68e945601d Don't freak out at the lack of root/swap/usr if we're running multiuser
and simply adding another disk.
1996-07-09 07:17:03 +00:00
jkh
a4edec8c4b Eradicate more lurking bogons. 1996-07-09 03:07:51 +00:00
jkh
128b48f041 Update the documentation here and there. 1996-07-08 12:00:47 +00:00
jkh
eeb3c0cadb Same tweak. 1996-07-08 11:07:08 +00:00
jkh
e3e653a00b Fix even more lurking bogons - why do I never find these until the last
possible minute? :-)
1996-07-08 10:08:22 +00:00
jkh
7315939135 Whoops! Now that I'm decompressing docs into /tmp, it's important to
make sure that /tmp is there first! :-)  While I'm at it, clean up the
somewhat inexplicably bogus Mkdir() function.
1996-07-08 08:54:36 +00:00
wpaul
775dfbfe24 Re-implement the DB handle cache using a circular queue and manage
it with the CIRCLEQ macros. This simplifies the code a little, makes
it somewhat easier to read, and may be a little faster. (Actually I think
the performace is about the same.)

Also, in the non DB_CACHE case, save copies of data returned from
the database library in a static buffer, just in case we decide to use
it after the database has been closed. Technically, the memory that the
data pointers refer to belongs to the DB package and we can't count on
it being there after the database has been closed -- the DB package
frees its buffers. (With DB_CACHE #defined the databases are held
open so the buffers remain valid.) I don't think any of the utilities
that use the dblookup module have had any problems with this yet, but
there's no sense in taking any chances.
1996-07-07 23:02:41 +00:00
jkh
5c7fe0a72a Support compressed doc files again.
Add a few strategic screen clears.
Do a lot less wasted screen I/O in restoring screen contents that don't need
restoring.
Use tar instead of cp to back up /etc in installUpdate.
Don't panic when upgrade shell exits.
1996-07-05 08:36:02 +00:00
jkh
6a22d90fda Update docs (more specifically to -current). 1996-07-05 01:24:41 +00:00
jkh
5513142d9c Fix some minor reported bogons from the BETA 1996-07-04 23:12:05 +00:00
wpaul
132863e419 Add checks for byte order and DB type mismatches. We ignore the
filename argument for now: it's really only useful for .dir/.pag-style
ndbm databases, which we don't support anyway.
1996-07-04 02:29:54 +00:00
mpp
0f663b33d7 Update the pppd(8) man page to exmplain the CHAP acronym
to the same way that the RFC does.

Obtained from: NetBSD-bugs mailing list
1996-07-03 23:23:03 +00:00
gpalmer
b4fd920460 Fix typo.
Submitted by:	Philippe Charnier <charnier@xp11.frmug.org>
1996-07-03 22:06:12 +00:00
martin
c210ba29fa Check if username is a NULL pointer before dereferencing it. 1996-07-03 21:43:48 +00:00
mpp
c65ad2d348 Document the -i backward compatibility option (same as -v).
Submitted by:	Faried Nawaz
1996-07-03 02:11:39 +00:00
jkh
b6fb079423 Only print the selected timezone in verification rather than the bogus time. 1996-07-03 01:17:34 +00:00
wosch
2706607cb5 Print a warning before starting dialog(1) if the user
has no write access to /dev/speaker or the speaker device is not
enabled in kernel.

Code cleanup.
1996-07-02 23:35:21 +00:00
jkh
61386f775a Untabify. 1996-07-02 10:59:26 +00:00
jkh
8c06ca329b Document shortcuts.
Fix a bug which prevented variables from working properly
1996-07-02 10:57:58 +00:00
jkh
e697fd9fd2 Add an extra /etc/hosts entry per advice of Joerg. 1996-07-02 09:12:34 +00:00
jkh
a953741c5d Make it plainer how to exit. 1996-07-02 01:03:55 +00:00
gpalmer
311be13b39 Add ctm_dequeue to the SUBDIR list now that I've checked that it
compiles cleanly on 2.2
1996-07-01 21:59:22 +00:00
gpalmer
2f13d4cdc8 Add a facility for a `slow'' CTM delta queue, allowing x' number
of delta's to be mailed out every hour (or however often you schedule
the cron job).

ctm_dequeue is the cron job which takes the stuff from the
queue directory and punts it into sendmail. The chunks of
the deltas (and the complete deltas if they are that small)
are sorted into order before being dispatched, so the people
subscribing should still get the bits in the right order.

The changes to ctm_smail should be fairly safe as they won't be
activated unless you go for the new queue directory option.
1996-07-01 20:54:11 +00:00
guido
60392064ed Implement incremental passwd database updates. This is done by ading a '-u'
option to pwd_mkdb and adding this option to utilities invoking it.
Further, the filling of both the secure and insecure databases has been
merged into one loop giving also a performance improvemnet.
Note that I did *not* change the adduser command. I don't read perl
(it is a write only language anyway).
The change will drastically improve performance for passwd and
friends with large passwd files. Vipw's performance won't change.
In order to do that some kind of diff should be made between the
old and new master.passwd and depending the amount of changes, an
incremental or complete update of the databases should be agreed
upon.
1996-07-01 19:38:50 +00:00
wosch
25a9928ab6 fix: debug flag 'test' cause endless loop
document debug flags

close PR bin/683
1996-06-30 22:11:51 +00:00
jkh
7426e4bbc8 Update the Lynx version number. 1996-06-29 03:49:39 +00:00
jkh
974442fb7c Put my changes back - Thanks, Peter! Boy, an errant Tag sure can mess
you up! :-)
1996-06-29 03:43:25 +00:00
jkh
d1c5935860 Sync with 2.1-stable (I commited my changes there first by mistake due to
an errant CVS tag file).
1996-06-29 02:53:09 +00:00
jkh
88fec0b679 Copy the documentation files up into the release area - I've been doing
this by hand all along.  Silly.
1996-06-29 02:22:48 +00:00
jkh
4ccbf5875d Add 3rd South Africa mirror. 1996-06-27 07:03:44 +00:00
markm
4966d817a0 This first appeared in 2.1.5. Correct comment. 1996-06-26 17:11:04 +00:00
jkh
84c4f7b320 Allow argv[0] to be a command also. 1996-06-26 09:09:30 +00:00
ache
ad8e47de1d Don't print number (garbadge) if media catalog is inactive 1996-06-25 21:01:27 +00:00
wpaul
091efb042f Toss old mknetid script into the attic.
Adjust things slightly to support the new mknetid program.
1996-06-25 20:28:07 +00:00
markm
c10a22be12 Add sys/ioctl.h to includes. Shut up a warning. 1996-06-25 18:56:19 +00:00
jkh
2487d76066 Make "Fake" turn off more potentially system-nuking options. 1996-06-25 18:41:10 +00:00
sos
a0b7045f41 Change the way moused talk to syscons, now its only delivering mouseevents
via an ioctl (MOUSE_ACTION).
Fixed a couple of bugs (destructive cursor, uncut, jitter).
Now applications can use the mouse via the MOUSE_MODE ioctl, its
possible to have a signal sent on mouseevents, makeing an event loop
in the application take over mouseevents.
1996-06-25 08:54:57 +00:00
jkh
f76d01b1ee Handle tabs in INDEX files.
Display full, un-truncated version of description in status line.
1996-06-25 04:28:23 +00:00
jkh
e693c16dd8 Bring in my changes for removing the pestilent obj links (unless you
really want them) from /usr/src.  This is the final version of the
patches, incorporating the feedback I've received from -current.
1996-06-24 04:26:21 +00:00
wpaul
0841883a08 Whoops: had a couple of hardcoded instances of '/var/yp/' that shouldn't
have been there. Fixed to use yp_dir, which can be set on the command line.
1996-06-23 22:44:06 +00:00
bde
7bf08fa027 Removed -g from CFLAGS. 1996-06-23 13:11:59 +00:00
sos
bc2f1132ec Add moused to targets. 1996-06-23 12:13:02 +00:00
sos
6b5d7e0d13 Moused is the daemon that provides the connection between the cut&paste
functionality in syscons and the real mouse hardware. If moused is
run one can switch on/off the mousepointer with vidcontrol -m on/off.
There is no manpage yet, but a fairly descriptive usage message....

Reviewed by:sos
Submitted by:	Michael Smith
Obtained from:Some of the mouselogic comes from XFree86
1996-06-21 09:24:09 +00:00
sos
d03fcbb4fb Added new -m option, that enable / disables the mousepointer on
a textmode screen.
1996-06-21 07:20:13 +00:00
nate
fd35bf0230 Don't un-necessarily include varargs.h. 1996-06-20 21:06:53 +00:00
julian
476ae8086e Submitted by: archie@whistle.com
This program should COMPLAIN about uids > 65K but not abort.. they are after
all legal, and some of us NEED them!
1996-06-20 19:19:29 +00:00
jkh
16cc4e880c Make pkg_install understand and use libftpio instead of its own
copies of the ftp support routines.  Also some cosmetic and minor
bug fixes I've been meaning to incorporate for awhile.
1996-06-20 18:33:55 +00:00
nate
f4d7338241 Print out the IRQ rather than the IRQ mask when printing out the
resources allocated to the driver when DEBUG is defined.
1996-06-19 17:27:55 +00:00
nate
bc2de85961 Enable code that allows the daemon to select a free IRQ from the list if
none is selected.  The code was already there but needed to be updated
to use the correct structure element.
1996-06-19 01:25:37 +00:00
nate
cfb88cf3f2 Use irq_tok() instead of num_tok() for IRQ's. This will allow us to use
the '?' (undefined) token for stating IRQ's in the driver config line.

This will allow the card to automatically select and unused IRQ when
that code is enabled.
1996-06-19 01:08:58 +00:00
nate
fd56b008fc Staticize and removed unused code. 1996-06-18 23:50:51 +00:00
nate
25b1566176 Use CFLAGS += instead of setting it directly. 1996-06-18 22:54:25 +00:00
nate
2fe26d2b79 Staticize and remove unused function.
Inspired by:	The Nomad code
1996-06-18 21:58:55 +00:00
jkh
1fce3490d0 Shut up a message which now appears to be a natural consequence of RIP2 and
RIP1 routeds on the same subnet and I *don't* want filling up my syslog.
1996-06-18 19:59:35 +00:00
nate
4e5589c7ea - Removed dead code (if you need it you can get it out of the
Repository).
- Added some comments, and moved some code around to make flow more
  obvious.

No functional changes.
1996-06-18 19:52:30 +00:00
wollman
58e45141e3 Add a public domain notice to these files.
Requested by: jkh, 03 Sep 1995
1996-06-18 15:35:06 +00:00
jkh
8fbcaa4c6f ack - left in a typo. Time for bed! 1996-06-17 23:04:24 +00:00
nate
217f9f99c0 Prepend the CIS string length define with CIS_ per the rest of the
constants.

Obtained from:	Nomad code
1996-06-17 22:30:30 +00:00
nate
853f1acab3 Use the defined path to the card devices instead of hard-coding it's
value in every file.

No functional changes.
1996-06-17 22:14:19 +00:00
jkh
0b3c4a0d76 Init network at proper time. 1996-06-17 21:48:33 +00:00
wollman
5b24525f8a Add keyadmin directory. 1996-06-17 19:49:17 +00:00
wollman
5f2ddfd26b This commit was generated by cvs2svn to compensate for changes in r16449,
which included commits to RCS files with non-trunk default branches.
1996-06-17 19:47:57 +00:00