Commit Graph

1552 Commits

Author SHA1 Message Date
jkh
878aff132c Add a missing helpfile for fixit. 1996-04-27 07:18:59 +00:00
jkh
d55392a274 More misc menu hackery. 1996-04-27 07:04:12 +00:00
jkh
24f34d459d Update more docs to match -current reality. 1996-04-27 01:34:47 +00:00
jkh
8c8f947c8c Fix display refresh bug in displayHelp()
Go back to Normal menus for Media and FTP menus rather than
radio menus - the difference in behavior is confusing and sort
of detracts from the added (small) advantage of seeing what you last
picked.
1996-04-26 18:19:38 +00:00
jkh
35e1196ebe These docs were in fair need of updating. 1996-04-25 18:40:02 +00:00
jkh
488b4cacb8 Add a place-holder message for the CDROM fixit feature (which I'm not going
to add in time for the next SNAP).
1996-04-25 18:00:28 +00:00
jkh
a77c833943 Quite a few changes:
1. Fix the last display bugs (I hope) by use of dialog rebuilds at stategic
   points.
2. Clean up the distributions menus so that everybody (that's reasonable)
   has All and Clear options for setting/clearing things en-masse.
3. Various attempts at display optimization.
4. Change the wording of the `Don't use Write!' dialogs to make them more
   explicitly define when and when not to use the option.
1996-04-25 17:31:27 +00:00
pst
5c398da369 Close a security hole in sliplogin.
If you use sliplogin as a user shell (in /etc/passwd) upgrade to this version.
Reviewed by:	bde, peter
Submitted by:	AUS CERT
Obtained from:	Linux sliplogin-2.02
1996-04-24 20:18:25 +00:00
nate
96b360c02f - Make pccardd release it's allocated io space and sets the mem.cardaddr
even if DEBUG is not set.
- #ifdef protect DEBUG printf's

Submitted by:	sos
1996-04-23 16:46:48 +00:00
jkh
7aaf24f77d Bring this into sync.
I still have a _very very annoying_ display bug which occurs when a menu
item causes a submenu to be displayed - the screen repaints for the original
menu (which is restored upon return from the submenu) are off by about 4
characters.  I've tried restoring the screen, the cursor position, you name
it - same deal.  Grrrr!  This commit is my first step in trying to get someone
else to help me look into this one since I'm just tearing my hair out at this
point!
1996-04-23 01:29:35 +00:00
pst
33e31f1259 typo shmrsh -> smrsh 1996-04-22 20:30:09 +00:00
pst
f4fa36543b Find official home of smrsh 1996-04-21 19:50:46 +00:00
pst
efb70d6d1c Enable proper installation of sendmail restricted shell smrsh(8).
This program is a wrapper for the prog mailer in sendmail.  It does shell
meta character masking and restricts the list of executables to those found
in /usr/libexec/sm.bin.

The default sendmail.cf file does not use this tool, however you can enable
it by either changing /bin/sh to /usr/libexec/smrsh or adding the line
FEATURE(smrsh) into your sendmail .mc file and rebuilding your .cf file.

For more info, RTFMP.
1996-04-21 19:48:07 +00:00
nate
223e65965d Fix usage: message to print out corrrectly.
Submitted by:	Tatsumi Hosokawa <hosokawa@mt.cs.keio.ac.jp>
1996-04-18 05:23:47 +00:00
nate
2bc85bbf31 Added RCS Id and BSD-style copyrights to individual files. 1996-04-18 04:25:17 +00:00
joerg
639a966853 Mention swapinfo as .Nm, so it will be referenced by mkwhatis. 1996-04-17 20:50:44 +00:00
pst
0fd98a2f6e Fix a few bugs in argument processing.
Submitted by:	Timo Kokkonen <tjko@jyu.fi>
1996-04-17 08:57:50 +00:00
wpaul
9c53b6ad43 NIS cleanups and fixes, the next generation, continued.
pwd_mkdb.c:

- Don't save the PLUSCNT and MINUSCNT tokens: we don't need them anymore.

- Count the + and - entires for NIS together instead of counting + and -
  entries seperately. Index all special NIS entries using new _PW_KEYYPBYNUM
  token.

pwd.h:

- Remove the PLUSBYNUM, MINUSBYNUM, PLUSCNT and MINUSCNT tokens and replace
  then with a single _PW_KEYYPBYNUM token.
1996-04-16 00:23:59 +00:00
bde
d41bacba01 Implemented a new keyword `disable'. This should be useful for controlling
dangerous drivers in GENERIC.

Removed non-comments on #endifs in config.y.

Improved output formatting in mkioconf.c.
1996-04-13 19:57:38 +00:00
bde
551a3d945e Fixed a couple of format strings to match the change of pid_t from long
to int32_t.  I only fixed the ones that I noticed the warnings for.
Perhaps most of the format strings are correct now because they were
wrong before.  Except of course if int32_t isn't compatible with `int'.
1996-04-13 15:47:43 +00:00
jhay
8d653876bf Accept and use the content of packets received that is bigger than the
Novell spec, but still only transmit according to the spec.
Add a feature to dump the RIP and SAP tables when a SIGINFO signal is
received.
1996-04-13 15:13:30 +00:00
jkh
d1f2a99932 1. Update all the copyrights to delete useless clauses 3 and 4.
2. Change more of the menu code over to new system.
3. Streamline label editor.
1996-04-13 13:32:15 +00:00
joerg
a7f34c320f Remove the legacy -d option from the arguments to mail.local in 4.4bsd. 1996-04-13 11:42:46 +00:00
scrappy
248e7c0177 default to udp if no flags specified...closes PR#bin/759
- should this be documented in the man page?
1996-04-13 06:08:24 +00:00
mpp
b2aecb6c53 Fix a typo.
Submitted by:	David Leonard <d@scry.dstc.edu.au>
1996-04-13 02:09:03 +00:00
wpaul
301324e344 Fix for memory leak: specify NULL as openinfo parameter when calling
dbopen() to open an NIS map.

Testing with very large maps (e.g. a sample password database with 31,000+
entries) has shown that ypserv will leak memory (ps shows RSS and VSZ
growing to 4000 pages or more) when performing repeated yp_next()s or
a yp_all(). The problem with yp_all() is not immediately obvious since
the ypproc_all service is handled in a child process which exits once
the transfer is finished, but with repeated yp_next()s (like what you
get when you use getpwent() to scroll through the password database),
the parent ypserv grows to enormous size and never shrinks again.

It seems this is related to the HASHINFO parameters I used in yp_dblookup.c,
which I actually stole from pwd_mkdb. Calling dbopen() with the default
parameters (specifying openinfo as NULL) fixes the problem.

I still need to see how this impacts the other NIS tools. I'm also
considering changing from hash to btree databases: the hash database
method doesn't support R_CURSOR, which means yp_next_record() has to
do a lot of ugly work in order to reach an arbitrary location in the
database.
1996-04-11 20:54:15 +00:00
dg
5f097395da Fix editing mistake in last commit...sorry. 1996-04-11 08:24:04 +00:00
dg
634c38cb39 Bugfix based on a kernel fix:
When PPP gets an uncompressed packet, it attempts to save off the TCP/IP
header for use in decompressing subsequant packets. If PPP gets garbage
(such as what happens when there is a port speed mismatch or modem line
noise), it will occasionally mistake the packet as a valid uncompressed
packet. When it tries to save off the header, it doesn't bother to check
for the validity of the header length and will happily clobber not only
the PPP VJC data structure, but parts of other process memory that happens
to follow it...causing, ahem, undesired behavior.
1996-04-11 08:14:44 +00:00
nate
7f78c5620d Run indent on all these files to make them more readable. (I also went
through by hand and cleaned up some indent bogons.)
1996-04-10 06:49:32 +00:00
nate
b56f778ea4 Run indent on all these files to make them more readable. (I also went
through by hand and cleaned up some indent bogons.)
1996-04-10 05:45:39 +00:00
smpatel
4a164c67b1 Fix a core dump when the user gives "-w" without an "=" 1996-04-10 00:53:22 +00:00
nate
1703e79644 Remove a file no longer valid as the config file moved to /etc/pccard.conf. 1996-04-09 23:33:08 +00:00
nate
7fbbbc47cb Cleanup useless stuff in Makefile and add a missing NOMAN target. 1996-04-09 23:31:51 +00:00
nate
c5933a861c Removed original distribution files that are no longer valid. 1996-04-09 23:29:07 +00:00
scrappy
416eeac7c4 Quick patch to fix a bug where issuing ctl-c while in crontab -e
leaves editor running in background (PR: bin/751)

Submitted by:	 candy@fct.kgc.co.jp (Toshihiro Kanda)
1996-04-09 20:28:16 +00:00
mpp
dfbf6cbddc Correct some man page xrefs, and some other minor changes to bring some
man pages up to mdoc guidelines and fix some minor formatting glitches.
Also fixed a number of man pages to not abuse the .Xr macro to
display functions and path names and a lot of other junk.
1996-04-08 04:18:31 +00:00
mpp
d2488e1061 Change references from rpc.bootparamd to bootparamd. 1996-04-07 23:28:25 +00:00
mpp
e0e9abc0e6 Some minor cleanup to bring the pccard man pages in line
with mdoc guidelines.
1996-04-07 09:14:46 +00:00
mpp
dbfb32fa91 Correct the rpc.lockd and rpc.statd man pages to not reference
their path names in the synopsis line (especially since they
referenced the wrong path!).  Corrected some other minor problems
with the rpc.lockd man page.
1996-04-07 08:55:32 +00:00
jkh
2f72deb93b Major surgery.
1. Use new dialog menu hacks (no strings, just arrays of dialogMenuItem structs)
   so that I can create composite menus with radio/checkbox/... items in them,
   removing some long-standing UI bogons in various menus.  This work isn't
   finished yet, but will be done in two phases.  This is phase one.

2. Remove all the script installation stuff.  I never got time to document it,
   it was arcane and it just complicated much of the code.  There are better
   ways of doing this if I want to do auto-driven installations later.

3. Remove much dead code and otherwise attempt to remove as much historical
   grot as possible so that this code is easier to hack on.  This is also
   a two-stage process, phase one of which is now complete.
1996-04-07 03:52:36 +00:00
mpp
99996af085 Correct some man page cross references and file location references. 1996-04-07 00:06:21 +00:00
mpp
e6d2f2986f Correct some cross references and some path names. 1996-04-06 09:47:30 +00:00
ache
58d0622f68 Here is a patch for a little bug in the WaitForString routine. The problem
is when the matched string spans the end of the inbuff.  This fix allocates
twice the IBSIZE so that it can keep the last and the current text to search
in the inbuff so that the match won't fail if it gets truncated by the read.

It also warns if the search string is to long and truncates it.

Submitted by: Dough Ambrisco <ambrisco@ambrisco.roble.com>
1996-04-06 02:00:17 +00:00
peter
8191b4473c Add rpc.statd and the stub rpc.lockd, as these build and are of some use to
some people.
1996-04-04 03:17:48 +00:00
sef
a4f9f71f6f Makefile: Add new modes.c file to list of objects.
printjob.c:  Use termios instead of sgtty structs and ioctls; remove
support for fs/fc/xs/xc capabilities, and replace them with the ms
capability (stty-like words, instead of octal bit patterns).
modes.c:  Modified from stty's file, parses comma-seperated list of
tty modes (e.g., "cs8,-paren,-opost").

Reviewed by:	rgrimes, joerg
1996-04-03 22:49:15 +00:00
sef
371eed81c0 Remove definitions and declarations for FS, FC, XS, XC variables, and
replace them with MS char* variable.

Reviewed by:	rgrimes, joerg
1996-04-03 22:46:59 +00:00
sef
3f1deffdc3 printcap.5: Remove fs,fc,xs,xc capability, and replace them with the ms
capability

Reviewed by:	rgrimes, joerg
1996-04-03 22:46:17 +00:00
jkh
a6b8de91f1 Update paths to Taiwan sites. 1996-04-03 06:55:09 +00:00
wpaul
8643dcde63 yppush_main.c:
- Remove unused 'pid' member from the jobs structure. (This was left over
  from an earlier incarnation of the program that used multiple processes.)

- Remove #ifdef'ed longjmp() stuff.

- Print warning message if the 'pushing' host is not the master for
  a map being pushed but don't bail out. (While yppush should only
  be used on an NIS master, using it elsewhere is not an unpardonable sin.)

yppush.8:

- Fix a couple of mind-os.

Makefile

- Change format to hopefully ease bootstrapping. (Suggested by wollman.)
  Other Makefiles should follow.
1996-04-03 03:24:03 +00:00
peter
227aa42479 Add the '8' flag to the smtp and esmtp mailers. This causes sendmail-8.7.5
to behave like the older sendmails when talking to a peer that does not
have esmtp or does not advertise 8BITMIME.  The old sendmail "just sent it
anyway", while the 8.7.x series mangle any extended character set mail
by conferting it to quoted-printable or base64.  Freefall has been
running this for some time.
1996-04-03 03:06:17 +00:00