Commit Graph

1938 Commits

Author SHA1 Message Date
mycroft
5d918be419 Minor formatting changes to make the output less ugly. 1997-03-28 02:15:21 +00:00
christos
b4fe701a22 - Disable globbing for targets/dependencies when POSIX is defined.
- Fix globbing so that patterns that don't have a matching number of [] or {}
  don't get expanded. (before the [ case got expanded to nothing!) This is
  disabled.
1997-03-27 17:20:18 +00:00
mycroft
c2c16c1c2c Set SCRIPTSDIR. 1997-03-27 11:06:20 +00:00
mycroft
0d07ddd923 Set FILESDIR correctly. 1997-03-27 08:59:22 +00:00
mycroft
90de81834d Set SCRIPTSNAME correctly. 1997-03-27 08:57:26 +00:00
thorpej
87ca1d62e0 Print Ethernet and FDDI addresses in the same format as ether_ntoa().
From Matt Thomas <matt@3am-software.com>
1997-03-26 01:49:44 +00:00
christos
3917c3179d - Makefile cleanups 1997-03-24 21:57:01 +00:00
gwr
f17ca2c65c Do not compile-in ${MACHINE} (as per PR#3386, OK'ed by christos) 1997-03-24 20:56:36 +00:00
christos
69ad8a6988 Locate all the children of a node marked as MADE. 1997-03-23 01:25:28 +00:00
lukem
4e01c5d008 use mkstemp() instead of mktemp() 1997-03-22 03:42:57 +00:00
lukem
0c81e58868 use mkstemp() instead of mktemp() to create the tempfile 1997-03-22 03:38:03 +00:00
mikel
2a8b3fc882 use FD_SETSIZE instead of manifest constant for select(2); from Rolf
Grossman in PR bin/3338.
1997-03-19 05:36:59 +00:00
christos
161ba8eea5 Fix problems in the RE substitution error handling. 1997-03-18 19:24:46 +00:00
mycroft
19d55000f7 Get the byte-swapping right in netmask(). 1997-03-18 03:40:10 +00:00
thorpej
6fac7758e7 Fix typo, per Dave Huang <khym@bga.com>, PR #3345. 1997-03-18 00:40:13 +00:00
christos
852505afb6 Fix pasto in error message. 1997-03-16 19:46:02 +00:00
christos
9384236fae Add support for installing hard and symbolic links via the [-l harms] flag. 1997-03-16 19:43:19 +00:00
lukem
ae07641250 Fixes from <Todd.Miller@cs.colorado.edu>, with some cleanup and reworks by me:
* only echo "Passive mode" in verbose mode; scripts that use ftp
  may get unwanted output otherwise
* disable progress bar and modification time preservation when
  retreiving to a non-regular files. fixes progress bar getting in
  way of "get file /dev/tty"
* setup el_init() et al if editing is set, not if fromatty.
  TODO: migrate this to a function, and call if editing is turned on later
	in the session. also implement edit_cleanup if editing is turned off
* call el_set() after setting SIGWINCH handler. This fixes the problem
  when suspending in a non-cbreak shell (e.g, csh) would trash your tty mode.
* reset interactive mode correctly in auto_fetch() mget mode
1997-03-16 14:24:14 +00:00
christos
067f3f2db4 SMALLFTP->SMALL; remove SMALL from Makefile 1997-03-14 01:39:31 +00:00
cgd
bd158ef43d use ${MKDEP} (and ${MKDEPFLAGS}) properly; from Thorsten Freauf in PR
bin/3325.
1997-03-13 23:23:38 +00:00
christos
49258416ec Deal with SMALLFTP a bit differently [by compiling complete.c] 1997-03-13 22:38:39 +00:00
lukem
3b5054739d Features:
* support remglobbing of auto_fetch arguments
* new flag - '-e'; disable editing
* "page file" == "get file |${PAGER-less}"

Bugfixes/cleanup:
* consistently use a trailing '.' on messages
* code cleanup, including buffer overrun fixes, use puts
  and putchar in places, etc (inspired by OpenBSD mods)
* disable progress bar when local-file is a pipe or '-'
* skip \r in http headers
* fix remote ftpd slash bug more elegantly (so it works with ////)
* abort_remote(): check if cout==NULL before using it. should fix [bin/3273]
* fixed up cosmetic problems when complete_remote() generated errors from the
  remote server (such as "no files found", "login with user and pass", ...)
  done by adding extra argument to remglob(), which is a pointer to an error
  buffer to put messages in rather than printing to stdout.
1997-03-13 06:23:11 +00:00
mikel
cea63f2488 add missing backslash; from David Brownlee in PR bin/3321.
also cleanup RCSids a bit.
1997-03-13 04:57:46 +00:00
mikel
ee2f9698ff use ${MKDEP} (and ${MKDEPFLAGS}) properly; from Thorsten Freauf in PR
bin/3325.
1997-03-13 04:24:38 +00:00
mycroft
fd38f3efbc Remove hack for (very old) GCC bug on i386. 1997-03-12 18:28:55 +00:00
mycroft
2c450c6cc2 Remove kluge for GCC bug on m68k. 1997-03-12 18:13:17 +00:00
christos
dd0a1d0814 Add a .MADE directive to indicated that the children of a target are
up-to-date, even when they are not. This is to simulate our current
make install behavior with proper dependencies.
1997-03-10 21:19:49 +00:00
thorpej
d7fa8cdb0d Use a slightly more sane way to cheat around XXX_BROKEN_GCC on the m68k.
The old way was more complex than necessary, and buggy, as pointed out
by Bruce Albrecht <bruce@zuhause.mn.org> in PR #3309.
1997-03-10 17:29:05 +00:00
fvdl
ff19eb6a74 warnx --> warn, warnx wasn't needed anymore after previous change
(pointed out by enami tsugutomo)
1997-03-10 14:14:37 +00:00
cgd
d15724228e print out a
rwho: no hosts in /var/rwho.
message like ruptime does, for consistency.  (Similarly, exit with exit
code 0, though i'm not sure that's "correct" for either.)
1997-03-08 23:08:28 +00:00
cgd
31b388d823 add rwhod(8) xref 1997-03-08 22:23:19 +00:00
mouse
ee6a5b2cd6 alternate -> alternative, per PR 2643 1997-03-08 14:24:19 +00:00
mouse
650ee578da alternate -> alternative, per PR 2643 1997-03-08 14:13:54 +00:00
mikel
e1525d735d merge lite2 changes (just SCCS ids) 1997-03-07 06:14:02 +00:00
fvdl
720565ab4f Correct error in previous. 1997-03-06 16:09:45 +00:00
fvdl
3ee3460f02 Don't bail out when chflags() fails with EOPNOTSUPP. Fixes PR #3288 1997-03-05 23:48:47 +00:00
explorer
1a20e46715 s/strcnpy/strncpy/ typo 1997-03-04 00:21:13 +00:00
explorer
3f120170b2 Add a double quote to make emacs's color mode happy... 1997-03-03 22:47:17 +00:00
explorer
5c1fdae73d Message buffer passed to kvm_openfiles() should _POSIX2_LINE_MAX long; PR#3266 1997-03-03 22:22:48 +00:00
explorer
a030e0a1ae Message buffer passed to kvm_openfiles() should _POSIX2_LINE_MAX long; PR#3266 1997-03-03 22:12:19 +00:00
mikel
e60e80fff9 pass $SHELL or /bin/sh as argv[0] to subshell, instead of "sh"; fixes
PR bin/3276.
1997-03-03 04:02:21 +00:00
mikel
a9513a3823 fix typo; from Andrew Wheadon in PR bin/3264. 1997-02-28 06:35:48 +00:00
jonathan
f0f7e53290 Add compiled-in MCLBYTES and MSIZE to conf/param.c, as 'mclbytes" and "msize".
Add code to netstat to use libkvm to for kernel variables "mclbytes"
and "msize', and if found, use those for netstat -m rather than
compiled-in defaults.
1997-02-28 00:14:19 +00:00
mikel
5ca01fc0a4 Don't assume that sun_path in sockaddr_un is null-terminated; final fix by
Noriyuki Soda <soda@sra.co.jp>.  fixes part of PR 3035.
1997-02-27 05:41:19 +00:00
mrg
e3fdccd2ce oops, rsh is still setuid root for the moment. 1997-02-24 00:00:22 +00:00
thorpej
a7883a4d79 If kmem stats are not being gathered by the kernel, print a useful
message to that effect.  Fixes PR #3187, submitted by
Guenther Grau <s_grau@ira.uka.de> (fix by me).
1997-02-22 02:04:42 +00:00
thorpej
46610bda06 Tidy up printf formats in "don't use all lower case" warning
message.  From Dave Huang <khym@bga.com>, PR #3198.
1997-02-22 01:50:46 +00:00
mikel
87b7b330c4 don't clobber CFLAGS 1997-02-21 07:52:37 +00:00
explorer
ff34809355 Add Carl Sagan's death 1997-02-20 21:54:39 +00:00
christos
4417c4f61f Reported by cgd: fix .USE directive problems:
1. ${.*} variables did not get expanded in dependencies.
    2. expanded ${.*} variables in .USE dependencies can cause tree
       restructuring; handle it.
    3. in compat mode, expand .USE before evaluating the list of targets,
       instead of doing .USE expansions on demand, because they can cause
       tree restructuring.
1997-02-20 16:51:47 +00:00