aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Add the maybe_stripped to a CLEANFILES target to get a clean obj directoryAndreas Schulz1995-08-011-0/+1
| | | | | | | after a clean or cleandir. Notes: svn path=/head/; revision=9844
* Reduce passed speed to 38400, like telnet does too.Andrey A. Chernov1995-08-011-1/+3
| | | | | | | Remote rlogind may not understand speeds > 38400. Notes: svn path=/head/; revision=9834
* Submitted by: Torbjorn Granlund <tege@matematik.su.se>Satoshi Asami1995-07-311-7/+12
| | | | | | | | * /usr/bin/which doesn't work if a complete path is passed to it. This is incompatible with other flavours of Unix, Here is a suggested patch: Notes: svn path=/head/; revision=9809
* Output statistics as unsigned in the -w section.David Greenman1995-07-293-18/+26
| | | | | | | | | Look at error return of kread() and stop on error. Fix warning in kread() to not output "kvm_read:" twice. Killed PCB cache misses stat as we no longer have it. Notes: svn path=/head/; revision=9776
* Add "connections dropped by persist timeout" statistic.David Greenman1995-07-291-0/+1
| | | | Notes: svn path=/head/; revision=9774
* Change `install' to `${INSTALL}' so that default install flags can beBruce Evans1995-07-2516-26/+26
| | | | | | | specified in the top level Makefiles. Notes: svn path=/head/; revision=9701
* Change `install' to `${INSTALL}' as usual.Bruce Evans1995-07-253-6/+6
| | | | | | | Remove the extra slash in ${DESTDIR}/${BINDIR}. Notes: svn path=/head/; revision=9700
* Build a stripped copy of `strip' so that it doesn't have to be strippedBruce Evans1995-07-241-3/+11
| | | | | | | | | | | | | | at install time. This will allow `install -C' to avoid replacing the installed copy if the new copy is the same. `install -C' would actually work right if `strip' is already installed, but the Makefile doesn't know that and has to work for plain `install'. Stripping should be done by default at link time, but complications would still be required for installing `strip' in case the default is overridden. Notes: svn path=/head/; revision=9693
* Add magic cookie for Zyxel modems ADPCM4 encoding.Mike Pritchard1995-07-241-0/+2
| | | | | | | Submitted by: Henrik Vestergaard Draboel <hvd@terry.ping.dk> Notes: svn path=/head/; revision=9677
* Set NOSHARED=true, having this binary static makes it much easier toRodney W. Grimes1995-07-241-0/+2
| | | | | | | | | fix /usr/lib/*.so problems. Submitted by: davidg Notes: svn path=/head/; revision=9673
* D*mn, botched my last commit message. :-(Joerg Wunsch1995-07-221-0/+2
| | | | | | | | | | | | | | >Description: A machine with uptime >1 year appears wrong in the ruptime list Fixes bin/626: ruptime doesn't like big ... Reviewed by: Submitted by: root@xaa.stack.urc.tue.nl Obtained from: Notes: svn path=/head/; revision=9643
* this avaids the "lineoverflow" which you'll always get at 80 column displaysJoerg Wunsch1995-07-221-1/+1
| | | | | | | | | | | at bootup Reviewed by: Submitted by: graichen@omega.physik.fu-berlin.de (Thomas Graichen) Obtained from: Notes: svn path=/head/; revision=9642
* Change the weekday abbrevaiations to two letters each. This reducesJoerg Wunsch1995-07-221-2/+2
| | | | | | | | | | | | their ambiguity and makes the output more consistent with other calendars (e.g. cal in Emacs). Reviewed by: Submitted by: wosch@cs.tu-berlin.de (Wolfram Schneider) Obtained from: Notes: svn path=/head/; revision=9640
* Slightly better message for `ypwhich -x':Garrett Wollman1995-07-201-1/+1
| | | | | | | | was: Use "foo" for "foo.bar" now: "foo" is an alias for "foo.bar" Notes: svn path=/head/; revision=9594
* When 'w' finds an IP address in the ut_host field, it attempts to doPeter Wemm1995-07-181-0/+8
| | | | | | | | | | | | | | | a gethostbyname() on it. That can take a long time... (especially if the reason the IP address is in there in the first place is because login/rlogind/telnetd couldn't find it either....) This patch reduces the gethostbyaddr lookup time to 2 seconds, the idea being that if the local nameserver knows the answer, it'll answer within that time, otherwise we dont care... :-) This change doesn't do anything about whether or not w should do this in the first place, but at least it will make the current behavior less painful. Reviewed by: David Greenman Notes: svn path=/head/; revision=9573
* Oops! Andrey pointed out tht setlocale(LC_CTYPE, "") doesn't actuallyPeter Wemm1995-07-181-3/+0
| | | | | | | | | | | work for locale's with multibyte characters. Backing this out.... cvs diff -c -r1.1 -r1.2 main.c | patch -R Reviewed by: Submitted by: Obtained from: Notes: svn path=/head/; revision=9572
* Make 'more' sensative to the current locale for it's ctype calls.Peter Wemm1995-07-171-0/+3
| | | | | | | | | Reviewed by: Submitted by: Thomas Gellekum, with minor cosmetic changes from me. Obtained from: Notes: svn path=/head/; revision=9559
* Fix the 'w' command so that the -h option correctly supresses the headingPeter Wemm1995-07-171-2/+2
| | | | | | | | | | as per the manual page. Closes PR578. Reviewed by: Submitted by: Kenneth D. Merry Obtained from: Notes: svn path=/head/; revision=9555
* Fix chpass so that it doesn't advance the passwordMike Pritchard1995-07-161-11/+9
| | | | | | | | change and expire dates by 1 day anytime root edits a user that has a change/expire date set. Notes: svn path=/head/; revision=9554
* Remove the dangerous "eof" command that used to be an alias for "weof"Joerg Wunsch1995-07-162-2/+24
| | | | | | | | | | | but usually got confused with "eom". It didn't ring the warning bell saying: "You are probably going to mark your whole tape as deleted right now." A warning message pointing to "weof" and "eom" is issued instead. Notes: svn path=/head/; revision=9541
* Added support for an LCS-style `wheel su' which allows users in group wheelGarrett Wollman1995-07-121-6/+36
| | | | | | | | | | | | | to su to root by authenticating as themselves (using a password or S/Key) rather than by using the root password. This is useful in contexts like ours, where a large group of people need root access to a set of machines. (However, the security implications are such that this should not be enabled by default.) The code is conditionalized on WHEELSU. Notes: svn path=/head/; revision=9502
* Don't attempt to read the variable `total' from the kernel. `total'Bruce Evans1995-07-121-4/+2
| | | | | | | | | isn't used in systat or in the kernel (it was replaced by a sysctl() call involving VM_METER) and will go away when I clean up bogus common variables in the kernel. Notes: svn path=/head/; revision=9501
* Instantiate our own variables instead of depending on bogus commonBruce Evans1995-07-121-1/+2
| | | | | | | declarations in system headers that will be fixed soon. Notes: svn path=/head/; revision=9500
* Instantiate our own variables instead of depending on bogus commonBruce Evans1995-07-121-2/+5
| | | | | | | declarations in system headers that will be fixed soon. Notes: svn path=/head/; revision=9499
* Add kzip to the clean and cleandir target so that it also get cleaned upAndreas Schulz1995-07-081-2/+2
| | | | | | | properly. Notes: svn path=/head/; revision=9453
* PR # bin/274Joerg Wunsch1995-07-081-1/+1
| | | | | | | | | | | | | | | > The command: > > touch -t 199504011200 testfile > > gives the error message: > > touch: out of range or illegal time specification: [[CC]YY]MMDDhhmm[.SS] Submitted by: mpp@legarto.minn.net (Mike Pritchard) Notes: svn path=/head/; revision=9446
* This fixes 'split -l NNN foo'. As it stands split willRodney W. Grimes1995-07-071-1/+1
| | | | | | | | | | | | | complain about an 'illegal line count' becuase it's looking at the wrong end pointer (ep) to detect any extra characters after the NNN. Submitted by: Rich Murphey <rich@freebsd.org> This should probably get pulled into 2.0.6 and 2.1.0 Notes: svn path=/head/; revision=9427
* New feature: a -links option, when generating html output, createsJohn Fieber1995-06-302-11/+82
| | | | | | | | | | | | symbolic links for each cross reference label in the source file, thus allowing external documents to link to a more or less fixed target, rather that the numbered files which can change whenever the target document is modified. Bug fix: warn when a reference is made to a nonexistant label. Notes: svn path=/head/; revision=9377
* Terminate string copied by strncpy() by '\0' to fix a core dump.Satoshi Asami1995-06-301-0/+1
| | | | | | | Submitted by: kogane@kces.koganemaru.co.jp (Nobuyuki Koganemaru) Notes: svn path=/head/; revision=9376
* Changes to support version 3 of the NFS protocol.Doug Rabson1995-06-274-39/+74
| | | | | | | | | | | | | | | | | | | | | The version 2 support has been tested (client+server) against FreeBSD-2.0, IRIX 5.3 and FreeBSD-current (using a loopback mount). The version 2 support is stable AFAIK. The version 3 support has been tested with a loopback mount and minimally against an IRIX 5.3 server. It needs more testing and may have problems. I have patched amd to support the new variable length filehandles although it will still only use version 2 of the protocol. Before booting a kernel with these changes, nfs clients will need to at least build and install /usr/sbin/mount_nfs. Servers will need to build and install /usr/sbin/mountd. NFS diskless support is untested. Obtained from: Rick Macklem <rick@snowhite.cis.uoguelph.ca> Notes: svn path=/head/; revision=9336
* Include killall.Joerg Wunsch1995-06-251-2/+2
| | | | Notes: svn path=/head/; revision=9318
* Our Perl oracle hit again: Wolfram Schneider's killall utility.Joerg Wunsch1995-06-253-0/+240
| | | | | | | | | | | Kills processes by name instead of by UID. (Man page by me.) Submitted by: wosch@cs.tu-berlin.de (Wolfram Schneider) Notes: svn path=/cvs2svn/branches/wosch/; revision=9316
* usr/ucb -> usr/bin and usr/msgs -> var/msgs.Bruce Evans1995-06-251-3/+3
| | | | Notes: svn path=/head/; revision=9304
* Argh!! Got the arguments in the printf() backwards.Bill Paul1995-06-241-2/+2
| | | | Notes: svn path=/head/; revision=9301
* Whoops: getnewpasswd() always says "Changing local password for foo".Bill Paul1995-06-242-5/+7
| | | | | | | | | Change things slightly so this message says "local" or "YP" as needed so we can use it for both NIS and local password changes without confusing people. Notes: svn path=/head/; revision=9300
* getnewyppasswd() in yp_passwd.c doesn't generate correct encryptedBill Paul1995-06-241-42/+2
| | | | | | | | | | | | | | | | password strings when DES isn't used; somehow the encrypted password is corrupted and it winds up containing control chars, which yppasswdd subsequently rejects. This breaks yppasswd on non-DES FreeBSD systems using NIS. Fix: scrap getnewyppasswd() entirely and use getnewpasswd() from local_password.c, since it already works properly and is virtually identical to getnewyppasswd() anyway. (Wish I'd noticed this sooner.) This fixes a problem just reported on comp.unix.bsd.freebsd.misc. Notes: svn path=/head/; revision=9299
* Back out prev. NetBSD fix, it cause skipping some error constructions,Andrey A. Chernov1995-06-241-5/+3
| | | | | | | don't delete initial space from line instead Notes: svn path=/head/; revision=9298
* Don't make error on ^<spaces>\nAndrey A. Chernov1995-06-241-1/+1
| | | | | | | Obtained from: NetBSD Notes: svn path=/head/; revision=9297
* Make parsetime.c more consistent by using the (already declared) enumJoerg Wunsch1995-06-242-11/+13
| | | | | | | | | | | | | type instead of int all over the place. (Cosmetic, enhances debugging.) Point out that a date specification _must_ follow the time of day spec, in the man page. This clarifies the last point PR # of bin/483: "at doesn't seem to ..." (the remainder has already been fixed with version 1.3 of parsetime.c). Notes: svn path=/head/; revision=9296
* Somewhere along the line, somebody decided to make the 'full name' fieldBill Paul1995-06-231-1/+1
| | | | | | | | | | | | | | | restricted. Am I the only one who sees the absurdity of having chfn be a link to chpass, and then denying users permission to use chpass to change their full names? Of course, chpass has a much more severe bug in it, which is that it allows users to change their password database info without first asking them for their password. I hope to fix this at some point so that I can merge ypchpass, ypchfn, ypchsh and chpass into one program (password authentication is required for changing NIS data). Notes: svn path=/head/; revision=9288
* Fix finger not check all users ~/.nofinger, only for actuallyAndrey A. Chernov1995-06-211-3/+1
| | | | | | | | matched. Close PR 539 Submitted by: tom@haven.uniserve.com Notes: svn path=/head/; revision=9280
* Correct spelling of Judy Garland's name.Rodney W. Grimes1995-06-201-1/+1
| | | | | | | | Submitted by: Kenneth Stailey <kstailey@gnu.ai.mit.edu> Obtained from: NetBSD gnats bug list Notes: svn path=/head/; revision=9268
* Rename, lt_LN.ISO8859-1 -> lt_LN.ISO_8859-1.Satoshi Asami1995-06-191-2/+2
| | | | | | | Reviewed by: rgrimes Notes: svn path=/head/; revision=9267
* Correct spelling mistake: upcated -> updated.Garrett Wollman1995-06-191-2/+2
| | | | Notes: svn path=/head/; revision=9265
* Print out the statistics for cache updates of rtt, rttvar, and ssthresh.Garrett Wollman1995-06-191-0/+5
| | | | Notes: svn path=/head/; revision=9264
* Fix parsing SYSV/GNU "include"Andrey A. Chernov1995-06-181-0/+1
| | | | Notes: svn path=/head/; revision=9255
* NetBSD fixes: declare more prototypes, move .OPTIONAL in alphabetAndrey A. Chernov1995-06-185-5/+26
| | | | | | | | | | | order, prevent suffix rule, if direct or children dependances exists, forget to free v->name in var.c My fixes: fix famous ^\t\n bug, correct free order in str_end Reviewed by: bde Obtained from: NetBSD, me Notes: svn path=/head/; revision=9254
* Fix lseek arg by including unistd.hAndrey A. Chernov1995-06-172-1/+2
| | | | Notes: svn path=/head/; revision=9251
* Rename ISO8859-1 to ISO_8859-1 per RFC1700Andrey A. Chernov1995-06-171-1/+1
| | | | Notes: svn path=/head/; revision=9248
* Allow additional parsing of SYSV/GNU make "include" directive, it coversAndrey A. Chernov1995-06-161-2/+2
| | | | | | | 90% of problems in ports Makefiles Notes: svn path=/head/; revision=9242