summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Add kzip(8) as supplied with PR# 1507, with some minor cleanup by me.mpp1996-08-212-2/+75
| | | | Submitted by: David E. O'Brien <obrien@nuxi.com>
* Fix a small potential bogon I noticed here with restarts.jkh1996-08-211-2/+2
|
* a header file for zopen.3wosch1996-08-203-1/+36
| | | | Pointed out by: Philippe Charnier <charnier@lirmm.fr>
* Fix non-break space attrsache1996-08-202-5/+5
|
* If running under a typical sysv-style curses, including ncurses, usepeter1996-08-201-3/+5
| | | | | | | | hline() to draw the window split rather than fudging it with dashes. This causes the line to be drawn in line-draw characters if the terminal description has them. Suggested by: ache
* Simplistic conversion of mail to use termios instead of sgtty.peter1996-08-194-21/+23
|
* Update some ancient warts in talk:peter1996-08-193-20/+25
| | | | | | | | | | - use termios, not sgtty - dont use _putchar(), that was a BSD-curses specific feature not in other curses packages (such as ncurses) - use sigaction, not sigvec while I'm there - box() does different things under sysv/ncurses on 1-line high windows, and BSD-curses doesn't have hline(), so do it by adding characters instead. That works on both styles of curses.
* replace shell comment char ``#'' with troff comment command ``.\"''wosch1996-08-171-2/+2
|
* make install should not install any file in /etc.wosch1996-08-171-2/+3
|
* kzip's usage() does not show the ``-v'' verbose optionnate1996-08-161-2/+2
| | | | Submitted by: "David E. O'Brien" <obrien@nuxi.cs.ucdavis.edu>
* Add support for HTTP proxies, fix some bugs with http transfers.jkh1996-08-142-5/+58
| | | | Submitted-By: Mikael Hybsch <micke@dynas.se>
* bigramwosch1996-08-1412-98/+307
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bigram does not remove newline at end of filename. This break particulary the bigram algorithm and /var/db/locate.database grow up 15 %. Bigram does not check for characters outside 32-127. The bigram output is silly and need ~1/2 CPU time of database rebuilding. old: locate.bigram < $filelist | sort | uniq -c | sort -nr ^^^^^^^^^^^^^^ this can easy made bigram new: bigram < $filelist | sort -nr code Code does not check for char 31. Use a lookup array instead a function. 3 x faster. updatedb rewritten sync with bigram changes read config file /etc/locate.rc if exists submitted by: guido@gvr.win.tue.nl (Guido van Rooij) concatdb - concatenate locate databases mklocatedb - build locate database
* New collating rules, reflect POSIX better nowache1996-08-135-81/+3143
|
* Add a simple -v (verbose) option that allows you to see when -C actuallypeter1996-08-121-5/+12
| | | | | | | | | | installs something. This is not 100% right, since it has a false hit when install -C snaps hard links. Also, run strip(1) from the $PATH, otherwise you need a special version of install to install (say) elf binaries which have a different strip. With JDP's elfkit, the layout of the path determines which binary format you are generating.
* Add new option to chpass: -e "expire" ; change the account expire timepeter1996-08-125-13/+38
| | | | | | | | | | | | | | | from a script as if it was done in the interactive editor. When reassembling the gecos string, trim any excess trailing commas, they look ugly in the passwd file. :-) Have a simple Makefile tweak to prevent mortal users from changing their fullname. As ISP's we have seem some real bizzare stuff here.. When decoding the change/expire string, allow the month number as a synonym for the name of the month.. (ie: 1 as well as Jan or January) Note that using numbers means there's a chance that you can get bitten if you're not used to the American DD-MM-YY order.
* Fix broken modtime preservation code. *Now* it preserves the modtimejkh1996-08-121-17/+25
| | | | | correctly! Noticed-By: knarf@camelot.de (Frank Bartels)
* Localize itache1996-08-122-3/+5
|
* Make it at least semi-workedache1996-08-111-2/+2
|
* Localize itache1996-08-113-5/+7
| | | | 8bit cleanup
* Pick collate info for RE character rangesache1996-08-111-1/+1
|
* Describe collation order rules (from POSIX WG)ache1996-08-111-0/+35
|
* Fix some improperly wrapped lines in the code.alex1996-08-111-4/+2
|
* s/trace -C/ktrace -C/peter1996-08-101-1/+1
| | | | Pointed out by: zgabor@code.hu (Zahemszky Gabor) PR#1486
* Remove the need for rdist(1) to run setuid, thus completely closing anypeter1996-08-1011-43/+250
| | | | | | | | | | | | | | | | | | possibility of a security hole. It now does what rdist-6 does, and calls /usr/bin/rsh if not running as root. There are NO protocol changes, this is 100% compatable with the old rdist, except that it does not need setuid root privs. However, there are some minor differences to the base rdist-6 code in that if it is being run by root, it will call rcmd(3) directly rather than piping everything through rsh(1). This is a little more efficient as it doesn't involve context switching on pipe reads/writes. Also, the -P option was added from rdist-6.1.2, which allows an alternative rsh program to be specified, such as ssh. Note that it requires the fixes to the ssh port to disable the unconditional USE_PIPES option that was recently added. The rcmd(3) optimisation is disabled if a non-rsh program is speficied.
* Fix a potential buffer overflow condition.joerg1996-08-081-2/+3
| | | | Submitted by: Somebody on -hackers, ooops, i've already deleted that mail
* Move tsort back to lib-tools where it belongs, and add a "speciallypeter1996-08-071-2/+3
| | | | | | | | for bootstrap" tweak to the lex Makefile to stop it building the library too early. This untangles things a bit more, it stops new bootstraps failing because libl/libfl uses 'ld -O' before ld is updated.
* Defer to fashion.jkh1996-08-071-10/+10
|
* Suppress the messages from the server after login (ftpVerbose(ftp,0)). Errorsjmz1996-08-041-1/+3
| | | | are already correctly reported.
* documented that the dog Biff is deadwosch1996-08-031-0/+3
| | | | Obtained from: A Quarter Century of UNIX, Peter H. Salus
* Adapt to new libftpio. [jkh]jkh1996-08-031-9/+9
| | | | | Better error messages. Submitted-By: "David E. O'Brien" <obrien@Nuxi.cs.ucdavis.edu>
* Close PR#1455. In a couple of weeks, I'll change bsd.lib.mk to usejkh1996-08-022-11/+21
| | | | | tsort -q as well - I don't feel like adding tsort as Yet Another Item to the bootstrap target.
* Fix a bug under time's "-l" option. The values reported for averagejdp1996-07-301-1/+24
| | | | | | | | | | shared memory size, average unshared data size, and average unshared stack size were too high by a factor of 128/100, because the program used a hard-coded hz value of 100. The correct value is the frequency of the statistics clock, currently 128. The program now uses sysctl to get the stathz value from the kernel. Discussed with: bde@freebsd.org (Bruce Evans)
* one file somehow slipped by me in the previous commitadam1996-07-302-2/+6
| | | | tidy up
* when file can be opened for read but cannot be read from:adam1996-07-303-6/+11
| | | | | | | fail once (was twice) in forward case fail once (was no times) in reverse case this can happen when file is a directory on an NFS or procfs mount.
* ree (aka ee) doesn't have a man pagewosch1996-07-291-0/+1
| | | | Submitted by: Philippe Charnier charnier@lirmm.fr
* Add newline, closes bin/1433pst1996-07-261-1/+1
|
* Add Bruce's improvement to security patchpst1996-07-251-1/+6
|
* Fix an itinerant cross-reference.wollman1996-07-251-1/+1
|
* Submitted by: archie@whistle.comjulian1996-07-231-2/+2
| | | | slight cleanups on yesterday's patches
* 'make' prints an extra leading `make: ' and extra trailing newline ifnate1996-07-231-1/+1
| | | | | | | | | | | | | | | there is no target to make. % make make: make: no target to make. % Beause the function Punt() in main.c takes care of leading 'make:' and trailing newline, so, there is no need to pass explicitly. Submitted by: enami@ba2.so-net.or.jp Obtained from: NetBSD GNATS
* Submitted by: archie@whistle.comjulian1996-07-234-44/+51
| | | | appletalk cleanups
* Fix botches in the handling of "AM" and "PM":jdp1996-07-191-3/+8
| | | | | 12:xx PM is 12:xx, not 24:xx. 12:xx AM is 00:xx, not 12:xx.
* s/msg/shm/ for one variable.joerg1996-07-181-2/+2
| | | | Submitted by: jin@george.lbl.gov (Jin Guojun[ITG])
* Whups - update the usage message too.jkh1996-07-181-2/+2
|
* Add -n flag to use the current modtime rather than preserving it.jkh1996-07-182-6/+13
|
* Yet^2 another fix for the line continuation bug.bde1996-07-171-5/+5
| | | | | | | | | | | | The fundamental problem with the original code is that it accesses p[-2] which is one before the beginning of the input buffer for empty lines. rev.1.6 just moved the problem from failures when p[-2] happens to be '\\' to failures when it happens to be '\0'. rev.1.5 was confused about the trailing newline and other things. I went back to rev.1.5 and fixed it. The result is the same as Keith Bostic's final version in PR 1356 except it loses more gracefully for excessively long input lines.
* Added a -V option to print make's idea of the value of a variable.bde1996-07-172-8/+47
| | | | | | Submitted by: mark@linus.demon.co.uk (Mark Valentine) Fixed bugs and inconsistencies in synopsis and usage message.
* Do a bounds check on the strcpy of environment variables onto the stack.pst1996-07-151-1/+1
|
* Move setting of username to the correcft place; also initialize it.guido1996-07-141-3/+3
| | | | Reviewed by: peter@freebsd.org
* General -Wall warning cleanup, part I.jkh1996-07-1233-220/+313
| | | | Submitted-By: Kent Vander Velden <graphix@iastate.edu>
OpenPOWER on IntegriCloud