Commit Graph

1841 Commits

Author SHA1 Message Date
wpaul
46fcb35f23 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
72ea5e6d10 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
4d8cdf4308 Fix typo.
Submitted by:	Philippe Charnier <charnier@xp11.frmug.org>
1996-07-03 22:06:12 +00:00
martin
c42838f64b Check if username is a NULL pointer before dereferencing it. 1996-07-03 21:43:48 +00:00
mpp
6551a41fd1 Document the -i backward compatibility option (same as -v).
Submitted by:	Faried Nawaz
1996-07-03 02:11:39 +00:00
jkh
bee7e144ad Only print the selected timezone in verification rather than the bogus time. 1996-07-03 01:17:34 +00:00
wosch
5ce3752019 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
c6eea46989 Untabify. 1996-07-02 10:59:26 +00:00
jkh
0d0ea501cb Document shortcuts.
Fix a bug which prevented variables from working properly
1996-07-02 10:57:58 +00:00
jkh
574bbec032 Add an extra /etc/hosts entry per advice of Joerg. 1996-07-02 09:12:34 +00:00
jkh
0b35a3052f Make it plainer how to exit. 1996-07-02 01:03:55 +00:00
gpalmer
f58ac78ef6 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
638960af56 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
70bae2bee1 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
2025f2a59a fix: debug flag 'test' cause endless loop
document debug flags

close PR bin/683
1996-06-30 22:11:51 +00:00
jkh
9a6bae5c15 Update the Lynx version number. 1996-06-29 03:49:39 +00:00
jkh
e0a4a16767 Put my changes back - Thanks, Peter! Boy, an errant Tag sure can mess
you up! :-)
1996-06-29 03:43:25 +00:00
jkh
0d2b2ebbd5 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
090d9e9546 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
e208e25159 Add 3rd South Africa mirror. 1996-06-27 07:03:44 +00:00
markm
68a47f56a8 This first appeared in 2.1.5. Correct comment. 1996-06-26 17:11:04 +00:00
jkh
4578af9ab6 Allow argv[0] to be a command also. 1996-06-26 09:09:30 +00:00
ache
40797deb0e Don't print number (garbadge) if media catalog is inactive 1996-06-25 21:01:27 +00:00
wpaul
010c2800ac 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
da0cee6d8e Add sys/ioctl.h to includes. Shut up a warning. 1996-06-25 18:56:19 +00:00
jkh
c79c2d405d Make "Fake" turn off more potentially system-nuking options. 1996-06-25 18:41:10 +00:00
sos
860f339c72 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
f51935dac3 Handle tabs in INDEX files.
Display full, un-truncated version of description in status line.
1996-06-25 04:28:23 +00:00
jkh
8eb37231d4 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
46fc34c49c 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
34b72c7bcc Removed -g from CFLAGS. 1996-06-23 13:11:59 +00:00
sos
51f800d978 Add moused to targets. 1996-06-23 12:13:02 +00:00
sos
4bd1b9c864 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
62906f837c Added new -m option, that enable / disables the mousepointer on
a textmode screen.
1996-06-21 07:20:13 +00:00
nate
b5fa4f80eb Don't un-necessarily include varargs.h. 1996-06-20 21:06:53 +00:00
julian
e7934b56b0 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
e8d26b1581 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
6f8d85f397 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
9cb4c78b33 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
583ac053ed 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
40d732a632 Staticize and removed unused code. 1996-06-18 23:50:51 +00:00
nate
b02b380b6c Use CFLAGS += instead of setting it directly. 1996-06-18 22:54:25 +00:00
nate
585a644fe0 Staticize and remove unused function.
Inspired by:	The Nomad code
1996-06-18 21:58:55 +00:00
jkh
c771a37efa 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
4c45772134 - 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
c6485270a8 Add a public domain notice to these files.
Requested by: jkh, 03 Sep 1995
1996-06-18 15:35:06 +00:00
jkh
cdc8a8df54 ack - left in a typo. Time for bed! 1996-06-17 23:04:24 +00:00
nate
18c043062f 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
1daa2fff75 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
a2bb2b476e Init network at proper time. 1996-06-17 21:48:33 +00:00
wollman
011e6e102a Add keyadmin directory. 1996-06-17 19:49:17 +00:00
wollman
48ddd0aeaf 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
wollman
9e1f4da809 This is the `key' program from NRL's IPv6 distribution, heavily
hacked up by me to remove the IPv6 stuff (fow now).  I renamed
it `keyadmin' since `key' was already taken by the S/Key calculator.
Its purpose is to act as a command-driven interface to the `PF_KEY'
socket domain, analogously to thefunction of route(8) in the
`PF_ROUTE' domain.  This program is believed to be exportable, since
it does no actual cryptography itself.
1996-06-17 19:47:57 +00:00
jkh
1eddad26dd Whups! Slight adjustment. 1996-06-17 19:33:27 +00:00
jkh
ee326e9492 Add more items to the glossary menu and reformat it slightly. 1996-06-17 19:31:34 +00:00
jkh
fabf4e3fc0 Add a top level function index. 1996-06-16 23:17:35 +00:00
jkh
c6e3d799ef Check network status earlier in FTP/NFS installs in order to reduce
user frustration.
1996-06-16 21:57:35 +00:00
jkh
fe0ca9a717 Make a small optimization which shaves about a second off the time
it takes to build the `All' menu in configPackages.
1996-06-16 16:33:34 +00:00
jkh
ed99f5eec3 Change default user/group to ones that actually exist in default passwd
file.
1996-06-15 17:58:51 +00:00
wollman
06f69c1175 Fix multicast address for sending router discovery packets.
Submitted by:	Kensaku Masuda <greg@greg.rim.or.jp>
1996-06-15 17:10:27 +00:00
jkh
0826bf5711 Make the CDROM auto-detection code a little more flexible about accepting
old CDs.
1996-06-14 18:23:26 +00:00
jkh
a6e6c783ca Don't use some of the low-contrast text attributes I was using before - they
apparently look bad on some LCD screens.  While I'm in there, tweak and adjust
a number of other minor interface details which have been bothering me for
awhile.
1996-06-14 14:34:03 +00:00
jkh
b8c4cd33ea Make the editor work again and we're done. 1996-06-13 17:36:28 +00:00
jkh
7fadbf554c Uh, this is what I was really thinking when I made the device registration
changes - honest! :-)
1996-06-13 17:07:41 +00:00
jkh
50a16f70f1 Correct some embarassing 3am english. 1996-06-13 13:45:16 +00:00
jkh
019fedf514 Dispense with the special case handling of cuaa* devices by synthesizing
separate entries for sl0 and ppp0 on each device.
1996-06-12 17:09:34 +00:00
jkh
592543e6a0 Some stuff I left out of the last commit - make toggle options toggle
again instead of simply letting you set them and staying that way forever.
1996-06-12 14:20:20 +00:00
jkh
a2ffbe1a9a Fix a truly stupid bug which broke the package installation menu
for everything _but_ the multi-user case now (it was the opposite before :-).
That means adding packages with the 2.2-960511-SNAP boot floppy is busted. Feh.
1996-06-12 14:02:13 +00:00
jkh
3ff88e997b handle a message box which can potentially go past 80 cols. 1996-06-12 07:03:44 +00:00
jkh
ab0ef148ae Cosmetic fixes for drive names which are 4 chars long.
Submitted-By: Joe Greco <jgreco@ns.sol.net>
1996-06-11 16:18:58 +00:00
jkh
83aa0812ab Put in a strategic dialog_clear() to prevent screen corruption reported
by Joerg.
1996-06-11 13:07:57 +00:00
jkh
6732100aee Change some verbiage slightly. 1996-06-11 10:16:53 +00:00
jkh
63e012a54c A slight error in my logic had me using color text attributes on Hercules
monochrome displays.  Whoops!  Fix.
1996-06-11 09:47:30 +00:00
jkh
8ec53d24df Misc doc cleanup. 1996-06-11 08:02:09 +00:00
jkh
f27ab1365a Come up with a scheme for stamping the FreeBSD version number on CDs,
allowing sysinstall to automagically detect, mount and select an
appropriate FreeBSD CDROM as the installation media.  Defining "appropriate"
also requires that you check the version numbers since an older FreeBSD
CD could be in the drive, which is the purpose of this patch.
1996-06-11 05:06:32 +00:00
wosch
f43e4b2a9b documented login name limit
Obtained from: mailing list
1996-06-09 20:45:35 +00:00
ache
24909cdf1b Prepare for exec properly and check return values
Submitted by: Arjan de Vet <devet@IAEhv.nl>
1996-06-09 20:40:58 +00:00
peter
2f734506ac Ack! You can't strdup() a DB datum that is not null terminated, or you
get seemingly random SEGV's...
1996-06-09 07:34:27 +00:00
alex
285b22dc7a Added function prototypes and removed in-line prototypes of standard
functions such as malloc and time.
1996-06-08 23:32:10 +00:00
jkh
91826e819a Bring back the `config file in the kernel' feature from the 1.x days. This
is conditionalized by the INCLUDE_CONFIG_FILE option in your kernel config
file and is not turned on by default.

Submitted-By: Bill Pechter <pechter@shell.monmouth.com>
1996-06-08 23:27:16 +00:00
jkh
c75ddabf83 Implement selective text attributes for the syscons vty / vt100 emulator
selection since an attribute which looks good on a color console doesn't
necessarily look good in an xterm.
1996-06-08 09:08:51 +00:00
jkh
4faf24f33e Put back some changes I inadvertantly spammed with a cvs update. 1996-06-08 08:01:52 +00:00
jkh
88fea1c3af Merge changes from HEAD. 1996-06-08 07:15:55 +00:00
jkh
2a03e988da Make CDROMs automagically select as the default media type.
If you're running multi-user, check off items in the packages menu
based on whether or not they're actually installed.
1996-06-08 07:02:21 +00:00
alex
9500b89e3f Change min_free to return free space as an off_t instead of a size_t. 1996-06-08 00:46:33 +00:00
alex
ca53d12a6e Fix uninitialized variable that caused a core dump if /etc/newsyslog.conf
was empty.  Closes PR bin/1300.

Found by: Brian Tao <taob@io.org>
1996-06-07 16:27:28 +00:00
wpaul
0aa6551c71 Somehow, I truncated yp_dbwrite.c in the SRCS line to yp_dbwrite. Curiously,
this did not stop 'make' from working, but it did break 'make depend.'
1996-06-06 20:47:53 +00:00
wpaul
03fe6f9d6d Add -I${.CURDIR}/../../libexec/ypxfr to CFLAGS so we can see ypxfr_extern.h. 1996-06-06 17:01:53 +00:00
wpaul
71152501a1 Take ypxfrd_xdr.c out of SRCS line here too. This program is also
linked with librpcsvc.
1996-06-06 03:59:22 +00:00
wpaul
f5e325015a Whoops: dragged along an extra copy of the protocol
definition file by mistake. This isn't needed so long
as the one in include/rpcsvc is installed.
1996-06-05 06:15:07 +00:00
wpaul
7afc912575 Added support for in-place updates:
If rpc.yppasswdd is invoked with the -i flag, password changes will
be made to the master.passwd template file and the hash map files
in-place, which means it won't have to run a complete map update.
Instead, it calls /var/yp/Makefile with the 'pushpw' target, which
just pushes the maps to the slaves and runs yp_mkdb -c to tell the
local ypserv to flush its database cache.

The server will check the passwd.byname and passwd.byuid maps to see
if they were built in 'insecure' or 'secure' mode (i.e. with real
encrypted passwords in them or without) and update them accordingly.

This combined with rpc.ypxfrd greatly reduces the amount of time it
takes to complete an NIS password change, especially with very large
passwd databases.
1996-06-05 06:13:09 +00:00
wpaul
8bff27f555 Update to pass new arguments now expected by the yp_dbwrite routines.
No functional changes.
1996-06-05 05:46:20 +00:00
wpaul
705e40a87b Add rpc.ypxfrd. 1996-06-05 05:23:59 +00:00
phk
93541c4bd1 Add pccard to makefile system 1996-06-05 04:40:41 +00:00
phk
6a8a486164 Add BINDIR 1996-06-05 04:39:34 +00:00
wpaul
a32aea0154 This commit was generated by cvs2svn to compensate for changes in r16125,
which included commits to RCS files with non-trunk default branches.
1996-06-05 04:36:55 +00:00
wpaul
cf31622e83 Makefile.yp:
- Add a 'pushpw' target that only yppushes the various passwd maps
  and sends a YPPROC_CLEAR to the local ypserv. This will be used by
  rpc.yppasswdd once I merge in the in-place update changes.

yp_access.c:

- Make the yp_access() function print RPC program and procedure numbers
  that it doesn't know about in literal form. This will allow it to work
  with other prgrams that it doesn't know about, like rpc.ypxfrd I'm going
  to import shortly.

yp_dblookup.c:

- Take out the __inline keywords. They weren't really helping me anyway.

- Somehow I broke yp_next() when DB_CACHE wasn't #defined. Fix it.

- Also fix potential case where yp_next() might loop forever; make sure
  it checks the return values of all the (dbp->seq)()/R_NEXT calls that
  it does as well as comparing keys.
1996-06-05 02:01:31 +00:00
gpalmer
f41bdecc32 Close a file descriptor leak. Possibly closes PR #1212 1996-06-03 21:35:21 +00:00
jkh
ef88bf5901 fix PR#599
Submitted-By: jdp
1996-06-03 04:40:43 +00:00
phk
b5bea7dc4e Backout yacc changes. 1996-06-02 17:22:01 +00:00
wosch
7957d43260 People ask in Usenet, how to configure remoteprinting successfully
having a hosts.lpd(5) manpage and some references to it from
within lpd(8) might help here. Close PR docs/1277

Submitted by: andreas@knobel.gun.de (Andreas Klemm)
1996-06-01 23:22:36 +00:00
jkh
8d22c5bdb9 Oh my, looks like I didn't understand .B as well as I thought I did! :-) 1996-06-01 20:51:47 +00:00
wpaul
7db7b1cde1 Small touch-ups -- no functional changes.
Fix some comments to reflect reality (in some cases I made changes
to code but not to the comments).

Change some instances of 'inline' to '__inline' to pacify
gcc -ansi -pedantic.

Use rcsid strings more consistently.

Make 'oldaddr' static in yp_access().

Use strcpy()/strcat() in yp_open_db_cache() instead of snprintf().
(Seems to be a little faster this way.)
1996-05-31 16:01:51 +00:00
phk
a550a3bde3 yacc rule changes. 1996-05-30 23:16:31 +00:00
wollman
516f199fd3 Copy SGI routed onto head. 1996-05-30 16:31:46 +00:00
wollman
8902bc33bc Superseded by rttrace and rtquery 1996-05-30 16:21:40 +00:00
wollman
59e35a5328 Initial revision 1996-05-30 16:19:14 +00:00
pst
10d32f7a70 Drop privileges if not using standard namelist or kernel file.
Submitted by:	smpatel (Sujal Patel)
1996-05-30 02:20:10 +00:00
pst
20544fa323 Drop privileges if not using standard namelist or file.
Submitted by:	smpatel (Sujal Patel)
1996-05-30 02:19:43 +00:00
smpatel
e450158f36 Enable the -M and -N options of swapinfo, as advertised in the usage line. 1996-05-29 19:57:25 +00:00
jkh
c3a7c96ba9 Fix some minor formatting dreck. 1996-05-29 03:27:31 +00:00
jkh
6494b19d73 Sha-ZAM!
The root floppy is now gone.  I shall not mourn its passing.
Everything we need is on boot.flp or the bindist.
1996-05-29 01:35:33 +00:00
jkh
63fe227349 Very small semantic change. 1996-05-28 23:31:20 +00:00
jkh
a912abf585 Only look at command-line args if we're not running as init - duh!
Thanks, David.
1996-05-28 18:30:30 +00:00
wosch
c352f22791 document values for option -r 1996-05-28 00:14:20 +00:00
wosch
4ef3e1ad64 update SEE ALSO section 1996-05-27 22:46:44 +00:00
jkh
28ca6026b2 Catch and DTRT with SIGPIPE 1996-05-27 22:12:05 +00:00
bde
4545233798 Fixed oops in previous change. 1996-05-24 15:35:36 +00:00
bde
22afa69275 Fixed SRCS so that `make depend' works. 1996-05-24 15:33:25 +00:00
jkh
a6d22d5527 Have both distribution and package extraction screens display the
transfer speed in KB/sec while fetching stuff; this gives you a better
idea if your link has crashed or is behaving oddly.
1996-05-23 16:34:30 +00:00
wosch
bbabd3ea4b delete MANDIR=/usr/share/man/man,
it breaks `env MANDIR=<dir> make maninstall'
1996-05-21 18:09:11 +00:00
jkh
1c2df5ae79 Remove a particularly annoying confirmation dialog. 1996-05-21 15:57:21 +00:00
wollman
a925c2363f Correct synopsis (-d, -I options were missing because -mdoc mistook
the dI in `.Op Fl dI' for the name of an internal mdoc command).
1996-05-20 17:10:03 +00:00
pst
76aaf04516 Change install permissions to 4555 from 4755 1996-05-20 16:42:32 +00:00
jkh
cbb1c43954 freefall's new sendmail.cf file.
Submitted by:	gpalmer
1996-05-17 07:47:34 +00:00
jkh
7cd1713b42 Rethink the previous X distribution change. Including COMPAT_21 is just
bogus, and I think I'll simply see that the X distribtion is rebuilt for
-current before doing another snapshot for it. :-)
1996-05-16 13:39:08 +00:00
jkh
9a98e87498 Get X user and X developer distributions checked correctly again in menus.
Oh yeah, last commit also fixed (I hope) the /etc/sysinstall not being
written on Custom installation problem.
1996-05-16 13:30:24 +00:00
jkh
7560ec91cb Fix some long-standing malloc bugs in the package handling code (freeing garbage
in one place, leaking memory in another).

Add a facility to invoke subsystems directly by naming them on
sysinstall's command-line when running post-install.  A replacement
for pkg_manage might, for example, be `/stand/sysinstall configPackages'

Fix bogon where upgrade shell was entered with tty modes spammed.

Fix bug with release name checking in ftp_strat.  Turned a bunch of
bogus exit()s into proper calls to systemShutdown().
1996-05-16 11:47:46 +00:00
phk
40c2c4166a Commit the right version of mkCTM, <:-)
Noticed by:	"Philippe Charnier" <charnier@lirmm.fr>
1996-05-14 07:25:59 +00:00
wollman
5eea098aaa Get rid of the last vestiges of the old MOUNT_* constants in the
mount_* programs.  While we're at it, collapse the four now-identical
mount programs for devfs, fdesc, kernfs, and procfs into links to
a new mount_std(8) which can mount any really generic filesystem
such as these when called with the appropriate argv[0].

Also, convert the mount programs to use sysexits.h.
1996-05-13 17:43:19 +00:00
phk
dc61083d98 PR: bin/1194: PPP server port not initialized
Latest round of changes omitted initialization of tunnel device
unit variable.

Submitted by:	John Capo <jc@irbs.com>
1996-05-13 07:20:11 +00:00
phk
324cb686d3 Here is a diff of /usr/src/usr.sbin/ppp against current. The diffs
add some logging functionality which I find very useful.
'set debug link' will record just link up/down and address assignments.
'set debug connect' will record the entire chat dialog
'set debug carrier' will record just chat lines including 'CARRIER'
(so that I can be sure I'm getting a 28.8 line).

There was a global change required to permit LogPrintf to take a bit
mask instead of a bit position value (to permit logging some events
on either of two flags, so that no change in 'set debug lcp' would
result from the code supporting 'link'.  Thus the diffs are rather
long for such a small change.  The man page is also touched.

Oh, and there was a slight syntax problem in route.c

Reviewed by:	phk
Submitted by:	Tony Kimball <alk@Think.COM>
1996-05-11 20:48:42 +00:00
joerg
dc312961c4 Convert the option parser to use getopt(3). This makes it more
orthogonal with the rest of the system (you can now use either -PPS or
-P PS), and makes the parser more intelligible.  The only drawback is
that the old semantics for the -i flag in case a non-numeric argument
is following are no longer fully supported (only if -i is the very
last arg at all), since getopt(3) doesn't support the discticnction
between numeric and non-numeric arguments.

Make lpr also understand dashes as input pseudo filenames.  This
finally makes lp(1) fully comply with Posix.2.
1996-05-11 19:00:55 +00:00
joerg
68cc4ca2e1 Clean out the BUGS section/comments now that our lpr has a better
option parsing.
1996-05-11 18:56:11 +00:00
joerg
23a9b3568d Cleanup.
The removed files are no longer needed, they are actually labelled as
``Use only if you are not 4.4BSD''.  (Yeah, the ol' crufty printcap.c
is really gone!)

Properly declare all external objects in files ending in .h, as
opposed to embed them into files ending in .c.
1996-05-09 22:44:28 +00:00
phk
c78351df10 Update to current reality.
mkctm.c can replace the guts of mkCTM if anybody feels like it...
1996-05-09 20:54:06 +00:00
jkh
0f600e3b36 Some cosmetic changes:
Make "selection bar" inverse video white-on-blue on color screens to avoid
it getting muddled up with popup dialogs.

Do disk selection in a more friendly fashion (for one thing, allow a
drive to be de-selected again if you change your mind).

Add a few strategic screen-saves to prevent corruption of screen contents
(thanks, Michael Elbel!).
1996-05-09 09:42:17 +00:00
jkh
c55a4da980 Properly free up resources allocated in swapmode(). This is not quite
the patch submitted by Philippe Charnier since he wasn't actually freeing
the resources early enough (an earlier return could be invoked, leaving
the resources still allocated), but he definitely pointed it out.  Merci,
Philippe!
Suggested-By: Philippe Charnier <charnier@lirmm.fr>
1996-05-09 07:13:16 +00:00
wpaul
5d89e95ce0 Fix 'multidomain' code. It returns a pointer to memory that it doesn't
really own (and which can end up being mangled later). The manifestation
of this bug is that the first attempt by a user to change their NIS password
succeeds, but all subsequent attempts fail. rpc.yppasswdd also logs
a message about not being able to find a file called
'/var/yp/<some garbage string>/master.passwd.' (Note that for some
bizarre reason, this doesn't happen with the malloc() from FreeBSD 2.1.0.
I suppose this means we can chalk up another victory for phkmalloc. :)

This bug only occurs if you use the -m flag with rpc.yppasswdd.

Fix this by copying the domain name to a static buffer and returning
a pointer to that instead.

Reported by: Jian-Da Li (jdli@csie.nctu.edu.tw)
1996-05-08 15:57:11 +00:00
jkh
c7cdf98163 ppoll -> yppoll. This Makefile should work better now. :-) 1996-05-08 12:28:23 +00:00
wosch
9f795376b3 `mv'' -> `mv -f''
``rm'' -> ``rm -f''
so mv/rm may not ask for confirmation if you are not root
1996-05-07 23:19:49 +00:00
wpaul
1dfa9eae43 Dohw! Turn on yp_mkdb in the Makefile. 1996-05-07 16:17:45 +00:00
gpalmer
3829b6d0e8 Add $Id$ 1996-05-07 03:16:43 +00:00
gclarkii
189a7acd97 We DON'T ship bash by default, why is it the default shell?
We also don't ship tcsh or ksh by default.
Correct these two things to make sh the default and increase csh and sh
to be higher priority.
1996-05-06 06:15:19 +00:00
joerg
914cbcef2c Pull a bunch of fixes from the 4.4BSD-Lite2 branch. It's really
surprising how many trivial errors there have been... :-)

Some more cleanup is needed, but i'd like to separate the Lite2 changes
from other work, that's why this goes into a different commit.

People with serial printers should see whether i have broken the stty-
style printcap options (i hope not).

Inspired by: Sergey Shkonda <serg@bcs1.bcs.zaporizhzhe.ua>
1996-05-05 22:40:51 +00:00
jkh
8d1089fb93 Bring in some changes to make the FTP installation warn you if it can't
find the requested release on a given site.
1996-05-05 21:54:23 +00:00
joerg
f53c8a2ec7 Fix my botched 4.4Lite2 import, and revert these files to their HEAD
versions.
1996-05-05 19:28:34 +00:00
joerg
bfed4e31e9 This commit was generated by cvs2svn to compensate for changes in r15637,
which included commits to RCS files with non-trunk default branches.
1996-05-05 14:04:33 +00:00
joerg
0291e848bc Vendor-branch import of the 4.4BSD-Lite2 code for lpr. There are
several bugfixes in it that are worth considering.

Don't be alarmed about the import conflicts...

Obtained from: 4.4BSD-Lite2
1996-05-05 14:04:33 +00:00
peter
93f1aa601a rm the files first before uudecoding, because the modes in the begin
line doesnt permit writes by the owner.. (oops!)
1996-05-05 07:40:46 +00:00