summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Fix usage: message to print out corrrectly.nate1996-04-181-2/+2
| | | | Submitted by: Tatsumi Hosokawa <hosokawa@mt.cs.keio.ac.jp>
* Added RCS Id and BSD-style copyrights to individual files.nate1996-04-1817-17/+440
|
* Mention swapinfo as .Nm, so it will be referenced by mkwhatis.joerg1996-04-171-2/+3
|
* Fix a few bugs in argument processing.pst1996-04-171-3/+39
| | | | Submitted by: Timo Kokkonen <tjko@jyu.fi>
* NIS cleanups and fixes, the next generation, continued.wpaul1996-04-161-56/+11
| | | | | | | | | | | | | | | 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.
* Implemented a new keyword `disable'. This should be useful for controllingbde1996-04-134-11/+20
| | | | | | | | dangerous drivers in GENERIC. Removed non-comments on #endifs in config.y. Improved output formatting in mkioconf.c.
* Fixed a couple of format strings to match the change of pid_t from longbde1996-04-131-2/+2
| | | | | | 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'.
* Accept and use the content of packets received that is bigger than thejhay1996-04-1311-17/+77
| | | | | | 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.
* 1. Update all the copyrights to delete useless clauses 3 and 4.jkh1996-04-1348-1217/+1026
| | | | | 2. Change more of the menu code over to new system. 3. Streamline label editor.
* Remove the legacy -d option from the arguments to mail.local in 4.4bsd.joerg1996-04-131-0/+1
|
* default to udp if no flags specified...closes PR#bin/759scrappy1996-04-131-0/+1
| | | | - should this be documented in the man page?
* Fix a typo.mpp1996-04-131-1/+1
| | | | Submitted by: David Leonard <d@scry.dstc.edu.au>
* Fix for memory leak: specify NULL as openinfo parameter when callingwpaul1996-04-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | 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.
* Fix editing mistake in last commit...sorry.dg1996-04-111-3/+3
|
* Bugfix based on a kernel fix:dg1996-04-111-5/+12
| | | | | | | | | | | 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.
* Run indent on all these files to make them more readable. (I also wentnate1996-04-106-1172/+1022
| | | | through by hand and cleaned up some indent bogons.)
* Run indent on all these files to make them more readable. (I also wentnate1996-04-109-449/+372
| | | | through by hand and cleaned up some indent bogons.)
* Fix a core dump when the user gives "-w" without an "="smpatel1996-04-101-1/+4
|
* Remove a file no longer valid as the config file moved to /etc/pccard.conf.nate1996-04-091-23/+0
|
* Cleanup useless stuff in Makefile and add a missing NOMAN target.nate1996-04-091-29/+6
|
* Removed original distribution files that are no longer valid.nate1996-04-0916-5996/+0
|
* Quick patch to fix a bug where issuing ctl-c while in crontab -escrappy1996-04-091-3/+11
| | | | | | leaves editor running in background (PR: bin/751) Submitted by: candy@fct.kgc.co.jp (Toshihiro Kanda)
* Correct some man page xrefs, and some other minor changes to bring somempp1996-04-088-20/+19
| | | | | | 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.
* Change references from rpc.bootparamd to bootparamd.mpp1996-04-072-3/+3
|
* Some minor cleanup to bring the pccard man pages in linempp1996-04-072-28/+28
| | | | with mdoc guidelines.
* Correct the rpc.lockd and rpc.statd man pages to not referencempp1996-04-072-4/+4
| | | | | | 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.
* Major surgery.jkh1996-04-0728-2166/+1631
| | | | | | | | | | | | | | | 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.
* Correct some man page cross references and file location references.mpp1996-04-077-16/+16
|
* Correct some cross references and some path names.mpp1996-04-061-2/+2
|
* Here is a patch for a little bug in the WaitForString routine. The problemache1996-04-061-4/+14
| | | | | | | | | | 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>
* Add rpc.statd and the stub rpc.lockd, as these build and are of some use topeter1996-04-041-2/+3
| | | | some people.
* Makefile: Add new modes.c file to list of objects.sef1996-04-035-57/+497
| | | | | | | | | | 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
* Remove definitions and declarations for FS, FC, XS, XC variables, andsef1996-04-032-8/+2
| | | | | | replace them with MS char* variable. Reviewed by: rgrimes, joerg
* printcap.5: Remove fs,fc,xs,xc capability, and replace them with the mssef1996-04-031-5/+3
| | | | | | capability Reviewed by: rgrimes, joerg
* Update paths to Taiwan sites.jkh1996-04-032-10/+10
|
* yppush_main.c:wpaul1996-04-033-52/+22
| | | | | | | | | | | | | | | | | | | | - 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.
* Add the '8' flag to the smtp and esmtp mailers. This causes sendmail-8.7.5peter1996-04-031-2/+2
| | | | | | | | 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.
* Copy /etc/localtime, unless it's already a symlink.joerg1996-04-011-7/+20
|
* Some minor tweaks for statdpeter1996-04-014-101/+25
| | | | | | - use rpcgen to generate unmodified code instead of havinf it in the repository - use "natural" function names to avoid conflicts with prototypes etc.
* Tweaks for the stub lockd.peter1996-04-016-242/+46
| | | | | | | - Use rpcgen to generate the unmodified boilerplate code rather than having it in the repository. - Eliminate the conflicting function names by changing them to their "natural" rpcgen generated names
* Allow the use of uid ranges when using the "-p" option to allowmpp1996-03-312-1/+30
| | | | | | | | | | | | easy setup of default quotas for a range of uids. Usage: edquota -p protouser startuid-enduid E.g. edquota -p mpp 10000-19999 Will duplicate the quota limints for user mpp for uids 10000 - 19999. The uids in question do not have to currently exist in /etc/passwd.
* Another round of fixes:joerg1996-03-312-60/+35
| | | | | | | | | | | | . Replace my NIH-suffering code to detect the number of lines on the terminal by the curses variable LINES. . Fix the selection code for countries with more than one screenful of locations. The very few people living in America/US/Pacific now won't be charged for Indiana any longer... :) . Removed the gross code that copied over the timezone file to /etc/localtime, and create a symlink now instead.
* Put signal number into logfileache1996-03-301-5/+7
|
* Add the jp.106 Japanese keymap to list of possibilities. I also seejkh1996-03-302-2/+6
| | | | | a jp.106x keymap there, but Satoshi hasn't asked for it and I don't know what it even is, so...
* Fix UnrawModem:ache1996-03-291-6/+6
| | | | | | restore initial (not second level) state not call it for DEV_SYNC issue input flush after restoring
* Count PCI irqs in up to 4 ISAish counters named `pci irqnn' instead ofbde1996-03-292-2/+6
| | | | | | in the clk0 counter. Reviewed by: se
* Add bootparams.5.joerg1996-03-282-1/+81
| | | | Obtained from: NetBSD
* Directly clear parity area because cfmakeraw not do itache1996-03-281-1/+2
|
* After real problem is found (flush never occurse), re-enableache1996-03-271-1/+3
| | | | | software flow control, but re-enable it properly, idea taken from taylor 'cu'
* Fix typing bug cause flushing never occurse:ache1996-03-271-2/+2
| | | | TIOCFLUSH -> TCIOFLUSH
OpenPOWER on IntegriCloud