Commit Graph

1475 Commits

Author SHA1 Message Date
jmg
5a03931ab5 Modified the display() function to recognize when the output it going to a
file.  When it is don't do the percentage update, but still display the file
size and rate.

Closes PR#2725

Reviewed by:	wollman
1997-02-14 19:08:18 +00:00
wosch
b1a2bea08b Bye Bye. 1997-02-14 01:22:54 +00:00
bde
c4e31ca8bc Print error messages to stderr, not to stdout.
Fixed usage message to match reality (-a was missing) and man page
(arg names were spelled differently).
1997-02-13 12:05:12 +00:00
wollman
98eca9a3c5 When the mbuf code was changed to use a private allocator instead of
the kernel malloc, netstat was never updated to reflect the fact that
there are once again allocated-but-free mbufs, just as there are
clusters, and so the information presented about how much memory was
allocated to the network was bogus.  Fixed.
1997-02-12 19:33:22 +00:00
mpp
e38ad41c58 Typo fix.
Obtained from: NetBSD-bugs PR# 3214
1997-02-12 13:50:02 +00:00
wollman
062bd92d8c Fix remote request for HTTP proxies. Should close PR#2670. 1997-02-11 20:46:06 +00:00
danny
da4de4acb6 Reduce the command field width by one when idle time is > 9 days, to
eliminate unsightly blank line.

Possibly a 2.2 candidate.
1997-02-11 10:49:25 +00:00
mpp
4cb95f035d Fix a couple of typos.
Submitted by:	bde
1997-02-11 03:45:14 +00:00
wollman
e189308068 Fix PR#2700: report correct transmission speed, and restart transfers
from the restart point, not the end of the file (blush!).

Submitted by:	John-Mark Gurney <jmg@nike.efn.org>
1997-02-10 18:49:42 +00:00
davidn
eb7d367862 Adds login class support for local & nis passwords:
- minpasswordlen=n         override minimum password length for class.
    - passwordperiod=n[smhdwy] auto-set next password change date.
1997-02-10 15:42:12 +00:00
markm
0c0c7dab0f Better buffer length calculation and overrun detection. Closes PR 2577
Submitted by:	Julian Assange
1997-02-09 21:34:14 +00:00
mpp
22e8acfd7d Typo police. 1997-02-09 21:14:48 +00:00
joerg
bd4abbf5cc Add a manpage for brandelf(1). Minor stylistic fixes, and a buffer
overrun fix, too.

Submitted by:	John-Mark Gurney <jmg@nike.efn.org>
1997-02-09 20:35:54 +00:00
eivind
fe1adf2bad Removed potential buffer overflow. 1997-02-09 16:11:13 +00:00
mpp
60aa846017 Really fix calendar to drop all permissions when
run with "calendar -a".  Also don't ignore the return
values from the setuid/setgid calls.

Thanks to bde for making me this about this.
1997-02-09 07:45:03 +00:00
mpp
f1090aa261 Typo fix.
Closes FreeBSD PR#2685.

Obtained from: NetBSD-BUGS PR# 3199
1997-02-09 07:01:33 +00:00
phk
acde077ad4 Basically reverse last commit which was plain wrong. 1997-02-08 08:57:22 +00:00
wollman
1b0b9bef8d Fix off-by-one error in proxy host:port parser.
Submitted by:	fenner
1997-02-07 17:55:01 +00:00
phk
47ffce85a0 Add ${.CURDIR}/ to relative path to contrib. 1997-02-07 12:29:27 +00:00
pst
82e28ab717 Activate new OPIE programs 1997-02-07 03:57:21 +00:00
pst
3afd1c0a0f This commit was generated by cvs2svn to compensate for changes in r22381,
which included commits to RCS files with non-trunk default branches.
1997-02-07 03:56:15 +00:00
pst
4c37b88543 Build opiepasswd from contrib_opie module. 1997-02-07 03:56:15 +00:00
pst
7a53360b4e This commit was generated by cvs2svn to compensate for changes in r22379,
which included commits to RCS files with non-trunk default branches.
1997-02-07 03:54:54 +00:00
pst
53492fe554 Build opiekey from contrip_opie sources. 1997-02-07 03:54:54 +00:00
pst
4f628dcc3a This commit was generated by cvs2svn to compensate for changes in r22377,
which included commits to RCS files with non-trunk default branches.
1997-02-07 03:53:12 +00:00
pst
1bf922859b Build opiekey from the contrib_opie module. 1997-02-07 03:53:12 +00:00
wosch
8c41f06c7f delete unused variable BINDIR=/usr/libexec
/usr/bin -> ${BINDIR}
1997-02-06 15:00:24 +00:00
mpp
dd8002bd0b Initialize the group list when we switch uids when run as
root with "calendar -a".  Drop all privs when execing other
programs.

Obtained from: OpenBSD
1997-02-06 05:42:49 +00:00
mpp
95281c9f3b Add a couple of relavant man page xrefs for more information
on the structures time(1) displays, instead of refering
he reading to an include file.

Obtained from: NetBSD-bugs mailing list PR#3193
1997-02-06 05:21:39 +00:00
wollman
37ca85c089 Some bug-fixes, clean-ups, and one new feature:
- Fix the bug with URIs of the form ftp://host/filename.
- Fix some more string-termination bugs in util.c.
- Use safe_malloc() rather than testing the return value of
  regular malloc() in 15 places.
- Implement HTTP authentication, for both servers and proxies.
  Currently only ``basic'' authentication is supported; This Is A Bug
  (but less of one tjhan nmot supporting any authentication).

I think there is only one more feature which is required for full
HTTP/1.1 support, which is Transfer-Encoding: chunked; this should
not be toohard, but it isn't very important, either.
1997-02-05 19:59:18 +00:00
phk
ffd9cd487a Add framemaker 5.0.
This file could be rationalized I belive.
1997-02-04 17:06:19 +00:00
pst
e6146b2184 Cruft cleanup to eliminate useless warnings 1997-02-02 21:33:37 +00:00
wosch
55fe02abd1 ${DESTDIR}/usr/bin -> ${DESTDIR}${BINDIR} 1997-02-02 14:41:43 +00:00
bde
ee7d1d310f Null-terminate the string in percent_decode() so that we don't depend on
malloc() returning zeroed storage or dump core while starting up.

Found-by:	/etc/malloc.conf ->AJ
1997-02-02 09:16:37 +00:00
mpp
0e1fbde21d Fix calendar so that it doesn't report strange results on
Jan 1st (and probably other dates as well) for some variable
events.  E.g.

01/SunThird	whatever...

Was being printed as:

Jan  0	Whatever

when calendar was run on January 1st.

Closes PR#2461.
1997-02-02 07:37:46 +00:00
wollman
827e39354a Some fixes for HTTP:
1) Implement redirects (or try to, at least).
2) Implement automatic retry after 503 errors when Retry-After is given.
3) Implement a -a flag to enable both of these behaviors.
4) Recognize Transfer-Encoding headers and emit a warning that the file
  is likely to be damaged.
5) Bug fix: only write the amount of data we read.
6) Actually document some of these.
7) Fix the usage message to display flags in semi-alphabetical order.
1997-01-31 19:55:51 +00:00
mpp
d292298ce7 Correct the year that Sydney Australia was settled.
Submitted by:	 <stephen.ma@jtec.com.au>
Obtained from:  NetBSD-bugs PR#3115
1997-01-31 02:22:29 +00:00
wollman
444cbb04ee Here is my long-threatened revamping of fetch. Jean-Marc probably won't
recognize it any more.  This makes the following significant changes:

- The main body of the program doesn't know a thing about URIs,
  HTTP, or FTP.  This makes it possible to easily plug in other
  protocols.  (The next revision will probably be able to dynamically
  add new recognizers.)

- There are no longer arbitrary timeouts for the protocols.  If you want
  to set one for yourself, use the environment variables.

- FTP proxies are now supported (if I implemented it right).

- The HTTP implementation is much more complete, and can now do restarts,
  preserve modtimes, and mrun in mirror mode.  It's not yet up to 1.1,
  but it's getting there.

- Transaction TCP is now used for sending HTTP requests.  The HTTP/1.1 syntax
  for requesting that the connection be closed after one request is
  implemented.

In all of this, I have doubtless broken somebody.  Please test it and tell me
about the bugs.
1997-01-30 21:43:44 +00:00
wosch
a6574d9b83 The option "fstype" does not handle the argument "msdos" correctly.
This error results from changing the name for the msdos file system
from "pcfs" to "msdos". Close PR #1105

submitted by: Thomas Wintergerst <thomas@lemur.nord.de>,
              Slaven Rezic <eserte@cs.tu-berlin.de>
1997-01-28 13:18:46 +00:00
wosch
f9f02322a9 Store temp files in current directory instead /tmp. The current
directory is usually not world writable, this avoid security
problems due the evil Berkeleian symlinks.
1997-01-27 00:10:53 +00:00
jkh
65e0bbf66b Don't dereference NULL pwd on non-existant username (I wonder how long
THAT has been in here!).
1997-01-22 18:36:27 +00:00
davidn
a4e4337b4d Fix handling of empty shell field in passwd file (use /bin/sh); problem
was caused by introduction of login classes. Closes PR bin/2550.
Added references to login.conf to manpage, crossreference to login.conf(5).
1997-01-22 02:45:16 +00:00
wollman
fe537196d3 Print out the new uninteresting-multicast-packets statistic. 1997-01-21 21:08:57 +00:00
davidn
07860c5307 Activate limits(1). 1997-01-21 15:09:03 +00:00
davidn
69dbd15d2e This commit was generated by cvs2svn to compensate for changes in r21923,
which included commits to RCS files with non-trunk default branches.
1997-01-21 15:05:15 +00:00
davidn
2fcbfa8ff9 limits(1): set and display process resources. 1997-01-21 15:05:15 +00:00
jfieber
53fb34f6b9 Make -hdr and -ftr options (to include arbitrary HTML at the
top and bottom of output) work with docbook.
1997-01-19 21:21:18 +00:00
jfieber
358560822a Do the Right Thing(TM) with source files that have extensions
other than .sgml.
1997-01-18 01:48:04 +00:00
jfieber
912bcfa966 Add rudimentary docbook support:
sgmlfmt -d docbook -f html myfile.docb

Depreciate undocumented -white option (now default).
1997-01-17 23:38:40 +00:00
joerg
d4da872ef2 Update for the French message catalog.
Submitted by:	charnier@xp11.frmug.org (Philippe Charnier)
1997-01-17 23:01:18 +00:00