summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Fix two bugs related to resumed transfers:des2000-07-191-20/+26
| | | | | | | | | | - if the dates didn't match, fetch would append the received file to the existing file instead of replacing it. - if the local file was complete and up-to-date, fetch would miscalculate the expected size and report a failure instead of a success, because it had no way of knowing that the server was actually resending the entire file since the requested offset was invalid.
* Braino: don't use passive mode unless the user requests it.des2000-07-191-1/+1
| | | | | PR: bin/20025 Submitted by: HIYAMA Takeshi <th@cis.ibaraki.ac.jp>
* Oops. fsync(8) should have been fsync(1). (repo-copied by peter)ps2000-07-192-3/+2
| | | | Change reference from update(4) to syncer(4).
* Add fsync(8). This becomes useful with the advent of MAP_NOSYNC etc.ps2000-07-194-0/+124
| | | | Reviewed by: peter
* * Remove description of obsolete -t option.ben2000-07-181-5/+2
| | | | | | * Insert newline before "and" in ".Fl c and". Approved by: des
* Convert calls to match new kqueue API.jlemon2000-07-181-5/+2
|
* Correct the attribution for yes(1).nik2000-07-181-1/+1
| | | | | PR: docs/19401 Submitted by: s.c.sprong@student.utwente.nl
* Cross-reference mount_nfs(8) and showmount(8).sheldonh2000-07-181-1/+2
| | | | | PR: 20008 Reported by: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
* Import the new truncate(1) utility.sheldonh2000-07-184-0/+352
| | | | Approved by: jdp
* Allow logger to send messages directly to a remote syslog. (Thisdwmalone2000-07-182-8/+72
| | | | | | | | | only does IPv4 as our syslogd only does IPv4. I dunno if the KAME people have any plans for syslogd). PR: 19821 Submitted by: Nick Hilliard <nick@iol.ie> Reviewed by: sheldonh
* The description of the semantics of -v and -q has long since been OBE.des2000-07-171-10/+1
|
* While I'm at it, break a line that was too long, remove a pointless diagnosticdes2000-07-171-3/+3
| | | | and adjust the verbosity level of another.
* Document the fact that -r and -m are mutually exclusive.des2000-07-171-0/+10
|
* Rearrange / rewrite large portions of fetch() to take advantage of newdes2000-07-171-35/+84
| | | | | | | | | | | | | | | | | | | | | | libfetch features (fetchRestartCalls, fetchXGet()). Since it doesn't make much sense to have m_flag and r_flag set at the same time, and it can actually cause trouble in some cases, die if they're both set. Set the SA_RESETHAND flag for SIGINT so that when we've caught one, we can kill ourselves with a second SIGINT (thus notifying our parent of our tragic fate) instead of just exiting. These changes fix several problems that would show up when fetching ports, as well as speeding up HTTP transfers quite a bit (at least for relatively small files). Most of these changes were prompted by an interaction problem with an HTTP server called SWS-1.0, which exhibited two bugs, the first of which prevented fetch from working around the second (the first was not sending content-type in reply to HEAD requests, the second was sending garbage after the end of the requested file).
* Use pwd instead of cwd in backticks. cwd in backticks doesn't dosheldonh2000-07-171-2/+2
| | | | | | | anything useful in a Bourne shell. PR: 19980 Submitted by: Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>
* Better signal handling.des2000-07-161-11/+18
| | | | Submitted by: green
* Fix octal numbers parsingache2000-07-151-0/+3
| | | | | PR: 19950 Submitted by: Alexey Klimov <klim@unique.kiev.ua>
* Fix systat to use the kern.ipc.mbtypes sysctl instead of referencing aalfred2000-07-151-34/+44
| | | | | | | | | structure member that doesn't exist anymore. Use getsysctlbyname for kern.ipc.mbstat instead of sysctl. Use netstat's method of displaying values from mtnames. Submitted by: Ian Dowse <iedowse@maths.tcd.ie> Missed by PR: 19809
* Make mbstat.m_mtypes seperate and viewable via sysctl, alsoalfred2000-07-151-25/+49
| | | | | | | expand the size from short to ulong Submitted by: Ian Dowse <iedowse@maths.tcd.ie> PR: kern/19809
* Add the -z flag to check file sizes firstbrian2000-07-142-5/+19
| | | | | | | Correct the cmp.1 usage message Correct the -l/-s incompatibility message Submitted by: Mark Knight <markk@knigma.org>
* ncurses -> termcapache2000-07-141-2/+2
|
* Upgrade to less v358.ps2000-07-141-0/+9
|
* Fix a bug in the stats display that showed up when resuming aborted transfers.des2000-07-131-2/+2
| | | | Submitted by: green
* Rework the stats code for the nth time. Much cleaner now.des2000-07-121-98/+62
| | | | | | | | | | Always display the completion percentage if stderr is a tty. Drop the char-by-char transfer mode, it was based on an incorrect assumption regarding the semantics of fread(). Finally (I hope) straighten out the business of setting the mtime, as well as when to remove the output file and when not to. Thanks are owed to the many who have provided nearly instantaneous and highly constructive feedback and suggestions about these matters.
* "ls" is note the same as "nlist", but it is the same as "dir". Correctben2000-07-121-18/+30
| | | | | | | | this, and add a bit to the descriptions of "dir" and "nlist" to emphasize the difference. PR: 15408 Submitted by: Joe Smith <inwap@best.com>
* remove m_pulldown related statistics, it is not for production systemitojun2000-07-121-32/+0
| | | | (it belongs to kame experiment).
* Now that the HTTP code supports timeouts, we don't need to use alarm()des2000-07-121-16/+29
| | | | | | | around the call to fetchStat(). Catch SIGINT, and rework the signal handling so it doesn't skimp on the cleanup after a timeout or interrupt. Also, don't just bail out after a timeout; there may be more files to fetch.
* Backout previous commit.asmodai2000-07-121-1/+1
| | | | (Mental note: don't forget -rRELENG_4 next time.)
* MFC: fix some output cosmetics so that the finger -s output is properlyasmodai2000-07-121-1/+1
| | | | lined up
* Rework the stats code to avoid code duplication.des2000-07-121-13/+16
| | | | | | Fix a bug where the stats code would print the expected size instead of the number of bytes received. Fix the reading code so it'll support partial reads.
* Spelling (embedd to embed) fix and change a comma to a semicolon.dannyboy2000-07-111-2/+2
|
* Fix finger -s output on an user who never logged in.asmodai2000-07-111-1/+1
| | | | | | | | This is purely a cosmetic patch. PR: 9809 Submitted by: se Nagged about: nrahlstr
* Fix a bug when talking to non-freebsd machines where carriage returnps2000-07-111-0/+4
| | | | | | | | | | | was being interperated and displayed as ^M on the remote side. Old curses used to change the behavior of the tty and how carriage return was interperated via STDIN. ncurses does this on a per-window basis within the library rather than using the tty modes. Since talk is bypassing ncurses, it was missing the conversion. Reviewed by: peter
* Extend to deal with 64 bit numeric arguments.se2000-07-101-14/+17
|
* Don't call warn() with no format string.kris2000-07-102-3/+3
|
* Don't call err() with no format string.kris2000-07-104-21/+21
|
* Oops, missed another printf() invocation with no format string.kris2000-07-101-1/+1
|
* Don't call printf() with no format string.kris2000-07-101-1/+1
|
* Don't call warn() with no format string.kris2000-07-101-1/+1
|
* Don't call err() with no format string.kris2000-07-102-3/+7
|
* Don't call printf with no format string.kris2000-07-103-3/+3
|
* Don't segfault if given an invalid URL (doh!)des2000-07-091-1/+2
| | | | Submitted by: green
* Fix assembler error messages - there is no \n allowed in __COPYRIGHT macroache2000-07-091-2/+1
|
* Use __RCSID()wsanchez2000-07-0916-100/+67
|
* Use __RCSID()wsanchez2000-07-0927-56/+82
|
* Initialize variablewsanchez2000-07-091-1/+1
|
* Clarify the meaning of -m and -n (thanks to bde).des2000-07-081-6/+3
|
* Straighten out the behvaiour of -m and -n (thanks to bde).des2000-07-081-6/+12
| | | | Check that stderr, not stdout, is a tty (thanks to green).
* Initial kenv(1) hack for dumping the kernel environment. This can bepeter2000-07-084-0/+187
| | | | | | used to extract modified boot hints to make loader(8)-time changes "sticky". It tries to use \ style quoting so that it can be used directly with foo.conf files. It can also extract specific variables.
* One more EAI_NONAME -> EAI_NODATA issue.ume2000-07-071-1/+1
|
OpenPOWER on IntegriCloud