fvdl
7970a0483a
Correct the connecthelp info. This is really ftp, not tftp.
1996-11-25 09:53:50 +00:00
lukem
36d3d1fd0f
cleanups/bugfixes:
...
- don't echo 'ACCT' parameter when debugging (a la 'PASS')
- Fix checking of directory access for "/foo", the parent
directory is "/", not "" (from FreeBSD)
- remove trailing whitespace on lines
- add any missing NetBSD tags
- cleanups to man page, includinging sorting options description
feature additions:
- variable sized hash marks (from [bin/683], but done in the hash command
as an optional arg)
- more user-friendly transfer time printing (from FreeBSD, with mods)
- '-p' command line option to jump into PASV mode (closes [bin/2857],
but with an option rather than checking argv[0])
- SIGINFO support for printing xfer stats when sending/receiving requests
- '-P port' for changing the port to connect to (from thorpej@netbsd.org )
- '-a': bypass normal login, and try anonymous login (from OpenBSD
via thorpej)
- autofetch files via url (ftp://...) or "classic" (host:/file)
(from OpenBSD via thorpej)
- 'ftp' synonymous with 'open' (from FreeBSD)
1996-11-25 05:13:18 +00:00
lukem
8bcf7e5435
don't need to explicitly NUL terminate strings written by snprintf()
1996-11-22 05:34:06 +00:00
mikel
43f43a58b0
eliminate multiple inclusion of <sys/errno.h>.
1996-11-21 06:25:26 +00:00
lukem
3ccb8ba1c9
- add -h (show hostnames in short listing instead of office info), and
...
-o (the reverse of this, also the default)
- use vis(3) in vputc() instead of handcrufted function (from OpenBSD).
- move gecos expansion into expandusername() (a la sendmail's buildfname).
A generic version of this last bit in libutil would be useful...
- cleanup the code, fix prototypes, etc.
1996-11-21 06:01:47 +00:00
lukem
d417f09e65
- clean up man page
...
- don't allow quotes in terminal names (for -s and -S) as they confuse
the shell. whitespace is currently forbidden for the same reason.
as there isn't any orthoganol way of escaping this, forbid it all,
which makes [bin/306] unfixable.
- use str(r)char instead of (r)index
1996-11-15 05:52:42 +00:00
gwr
6efa6770fc
After the chown(ttyn, ...), call ttyaction(ttyn, "login", pwd->pw_name)
1996-11-14 19:28:29 +00:00
mikel
f9a7d704f1
preserve data from localtime() buffer before reuse.
...
PRs bin/2889 and bin/2906, with some improvement by me.
1996-11-14 07:34:46 +00:00
mikel
1d2de6e812
/etc/termcap -> /usr/share/misc/termcap. Fixes misc/1401.
...
(also /etc/map3270 -> /usr/share/misc/map3270).
1996-11-12 08:19:52 +00:00
mikel
a41241b92a
/etc/termcap -> /usr/share/misc/termcap. Fixes misc/1401.
1996-11-12 07:50:11 +00:00
christos
2f197a9f4d
Fir PR/2930: declare missing variable.
1996-11-11 15:16:10 +00:00
lukem
1be2e46708
fix the the typos (and 1 other)
1996-11-11 00:22:47 +00:00
lukem
5d37ffa7eb
fix the the typos
1996-11-10 23:58:22 +00:00
pk
e0648652c2
Sync with eval.c. (What's this file doing here, anyway?).
1996-11-10 21:23:53 +00:00
pk
b70febb8c1
Use COMMA in stead of ',' when pushing items back on the stack, for
...
consistency with the macro parsing routine. Suggested by Brian Grayson.
1996-11-10 21:21:29 +00:00
mikel
d9c33548ae
Fix quote description; PR misc/2781.
1996-11-07 07:24:08 +00:00
is
db5fe6cfb2
file(1) magic for AmigaOS binaries --- useful to people mount_ados'ing
...
Amiga disks.
For the moment, only executable/sharedlib/driver and
object/linklibrary definitions.
1996-11-06 18:47:27 +00:00
christos
aa49881371
- Merge in FreeBSD and Lite2 changes.
...
- Fix bug where a non-archive target with a .a suffix would always
be considered to be out of date, since it does not have a TOC.
1996-11-06 17:58:58 +00:00
pk
0bc3b758b9
Implement `$@' macro, as promised by the manual page (PR#2914).
1996-11-06 00:11:56 +00:00
cgd
b7e69ffbd5
translate '=' in phone number strings into ',' (to generate delays),
...
as is done for couriers and t3000s. Ahh, the wonders of being in
a hotel room with source.
1996-11-01 23:56:33 +00:00
christos
faad20023f
Fix PR/2900: Handle case where the signal mask is NULL.
1996-10-29 00:02:01 +00:00
scottr
25e56cb761
Be explicit about iostat transfer rate by displaying `KBps' instead of
...
`Kps'. As per (and noticed by) J.T.
1996-10-25 18:30:52 +00:00
thorpej
2ea1f6b673
Add the `toolong' count to the IP stats display.
1996-10-25 07:41:35 +00:00
sommerfe
e21d0de843
Fix PR1542: gross inaccuracies in bdes.1 Reviewed by Perry
1996-10-19 00:59:26 +00:00
thorpej
9e0f17d4f7
Implement a -c (Grand Total) option, a'la GNU du(1).
...
From Luke Mewburn <lukem@telstra.com.au>, PR #2805 .
1996-10-18 07:20:31 +00:00
thorpej
338c8b475e
Exit with an error condition if the timed command does not exit.
...
From Arne H. Juul <Arne.Juul@idt.ntnu.no>, PR #2838 .
1996-10-18 07:12:58 +00:00
thorpej
150c33e60b
Use ${INSTALL}.
1996-10-18 05:55:26 +00:00
jonathan
58e8bd3b69
Rework to compile with <sys/exec_elf.h>.
1996-10-16 00:27:05 +00:00
jonathan
db1e04bc0f
remove duplicate of elfstrip.c
1996-10-15 23:04:32 +00:00
explorer
35e259ff9e
milliseconds, not milleseconds
1996-10-15 18:58:15 +00:00
christos
76ef973082
- Fix previous commit; shells require -c "command"
...
- RCSid police.
1996-10-15 14:35:41 +00:00
christos
17b3a275d4
Fix PR/2837: su [login [args]] had the wrong usage and did not work properly. Build the correct argument list and add -c for the shells.
...
Fix PR/2839: su will not build with Kerberos.
- Also:
-Don't coredump when $TERM is not set.
-Add prototypes, remove local old style declarations of system
functions.
-Recognize shells that contain "csh" as being csh alike.
-Don't build with SKEY unconditionally. Obey bsd.own.mk.
1996-10-12 23:54:38 +00:00
christos
b7c524d629
Use <sys/types.h> instead of <machine/endian.h>
1996-10-12 23:46:23 +00:00
gwr
b99b7ecf12
Fix some warnings, and cosmetic things (spaces/tabs, etc.)
1996-10-09 18:07:14 +00:00
christos
dc089e1ea1
Add -X flag, which strips only debugging and compiler identification
...
symbols. RCSid police and gcc -Wall cleanup.
1996-10-08 22:00:18 +00:00
cgd
9c646fddb7
Don't treat a char buffer like a structure since alignment constraints can
...
make that fail on some machines. Rather, since the code wants to access
the data both ways, use a structure and treat that structure as an array
of chars where appropriate.
1996-10-08 15:50:53 +00:00
explorer
3f3e868348
use %lu, not %u. This covers more than my original %d -> %u change...
1996-10-08 01:18:10 +00:00
explorer
3d7986bab5
Netstat -s should use %u for u_long parameters... Closes bin/2817 by me
1996-10-07 18:42:25 +00:00
cgd
d703de28b2
include stdlib.h to bring malloc()'s prototype into scope.
1996-10-06 18:27:25 +00:00
christos
1b1e1884b3
Changes from file-3.21
1996-10-05 20:20:24 +00:00
cgd
6964f6b023
treat arrays used with XDR_INLINE as arrays of 'int32_t's, rather than
...
arrays of 'long's.
1996-10-01 04:13:53 +00:00
jonathan
0506626d5f
Fix Makefile boilerplate:
...
Use elfstrip to strip itself only in elfstrip, not elf2aout or elf2ecoff.
1996-09-29 22:23:01 +00:00
jonathan
559daf5070
Add RCS id lines to Ted Lemon's original code.
...
Update elf2ecoff to compile against NetBSD-1.2 distribtion ECOFF headers.
1996-09-29 22:01:44 +00:00
jonathan
fb8fff0110
Commit minimal Makefiles and man pages for ELf toolchain utilties
...
elf2aout, elf2ecoff, elfstrip
1996-09-29 21:53:11 +00:00
jonathan
55e1f3d7f3
Import Ted Lemon's ELF toolchain utilties used to build kernels
...
for the pmax port in NetBSD 1.1 and 1.2.
1996-09-29 21:48:29 +00:00
thorpej
93f0bfac6d
Grok local timezone when determining "today".
...
From Tatoku Ogaito <tacha@tera.fukui-med.ac.jp>, PR #2534 .
1996-09-27 03:32:07 +00:00
thorpej
d6430a5271
Document the -l option.
...
From Dave Huang <khym@bga.com>, PR #2601 .
1996-09-27 02:49:50 +00:00
thorpej
dff3ccad44
Fix extra "make:" and newline in error message.
...
From enami tsugutomo <enami@ba2.so-net.or.jp>, PR #2651 .
1996-09-27 02:36:58 +00:00
thorpej
1d4301453f
RCS id police.
1996-09-27 01:56:55 +00:00
thorpej
e8e306239b
Correct behavior of setting number of saves to 0.
...
From Kenneth Stailey <kstailey@dol-esa.gov>, PR #2724 .
1996-09-27 01:55:26 +00:00
thorpej
19f013a504
RCS id police.
1996-09-27 01:46:08 +00:00
thorpej
13a88ddb50
Correct time display for 12:xx case.
...
From Dave Huang <khym@bga.com>, PR #2734 .
1996-09-27 01:44:58 +00:00
thorpej
f549601f76
Back out previous. Please beat me about the head and shoulders with
...
a large stick if I ever attempt to touch file(1) again.
1996-09-26 19:51:28 +00:00
thorpej
c535ad0cdc
Move the definition of MSB (in byte 5) to sit next to the other definitions
...
for byte 5 values... No functional change, just adds some clarity.
1996-09-26 19:37:15 +00:00
jtc
a4eaf78058
Added a "-l" flag so that it is possible to distinguish between weak
...
and global symbols. When this flag is used, an asterisk is printed
after the key letter for weak symbols.
Prior art for this flag comes from Solaris.
1996-09-21 00:34:35 +00:00
thorpej
a500813c14
RCS id police.
1996-09-19 19:39:36 +00:00
thorpej
29cf09f47a
RCS id police.
1996-09-19 06:27:04 +00:00
thorpej
0b02f897d7
Decode long (GNU-style) options. Changes originally from Niklas Hallqvist,
...
but modified some by me.
1996-09-19 06:10:02 +00:00
explorer
e1fa4673e0
Don't display skey error on s/key logins... This gives attackers some
...
information
1996-09-18 21:23:37 +00:00
christos
453e90716c
- Fix bug where the first line after a conditionally skipped was not ready
...
in its entirety if it contained a continuation.
- Print the whole error line, not just the first 20 characters of it.
1996-09-13 04:22:09 +00:00
thorpej
65f3b15dc2
When iterating the host list, do not access memory that has just been
...
free()'d. From Matt Beal <beal@umiacs.umd.edu>, PR #2747 .
1996-09-10 18:48:57 +00:00
thorpej
ec67ea7102
When checking the entry point of an executable, use N_PAGSIZ() rather
...
than __LDPGSZ directly.
1996-09-07 22:07:15 +00:00
explorer
d3a4eeb1fe
Fix some potential buffer overflow problems.
...
From David Holland <dholland@hcs.harvard.edu>
1996-09-07 21:05:37 +00:00
christos
bb97544b1b
Fix bug reported by Greg Hudson where leaf (source only) nodes were
...
referenced only by their basename and not by their full pathname. This
breaks when .PATH or MAKEOBJDIR are used. There might be Makefiles around
that try to work around this bug by prepending ${.CURDIR} to the sources,
and they should be found and fixed. Also a lot of the gunk in suff.c that
was attempting to work around the same problem could be removed.
1996-08-30 23:21:10 +00:00
thorpej
bbb4184355
Tidy up some RCS ids a bit.
1996-08-30 17:59:37 +00:00
abrown
091ed31b08
Add missing braces to for-loop to make compress work again after changes
...
between versions 1.9 and 1.10 (dumped core when not used as a filter).
1996-08-20 18:24:46 +00:00
christos
091b5c0118
Add estrdup(), a checked version of strdup and use it.
1996-08-13 16:42:00 +00:00
christos
22770fe8ea
Add strdup() since ultrix is missing it.
...
From Larry Schwimmer <rosebud@cyclone.Stanford.EDU>
1996-08-13 16:41:15 +00:00
christos
ba78477e9d
Various cleanups from: Larry Schwimmer <rosebud@cyclone.Stanford.EDU>
1996-08-13 16:40:31 +00:00
christos
1bc899a1ff
Protect __P from being multiply defined (for systems that already define it)
1996-08-13 16:39:30 +00:00
explorer
d54b3d99f1
call regfree() -- closes pr bin/2691.
...
Bug noticed and fixed by Charles Amos <amos@umiacs.umd.edu>
Submitted by Mike Grupenhoff
1996-08-13 03:24:18 +00:00
explorer
661c82521c
clear the screen at the correct time to avoid leaving garbage on the screen.
...
This happens when switching from address to :numbers display.
From FreeBSD pr bin/1425.
1996-08-11 04:19:16 +00:00
explorer
1350e82a8f
remove nlist lookup of _dk_*
1996-08-11 04:16:28 +00:00
explorer
186c10db45
fix pr bin/2659 in a different way
1996-08-10 19:47:32 +00:00
thorpej
51956e9393
Slight semantics change: ALWAYS use YP if the system is bound to a
...
YP server. This is required if the passwd database is to stay in sync
if this program is run on the YP server. Note, local passwd database
operations can still be performed by passing the -l flag.
1996-08-09 09:22:11 +00:00
thorpej
27643ee095
Slight semantics change: ALWAYS use YP if the system is bound to a
...
YP server. This is required if the passwd database is to stay in sync
if this program is run on the YP server. Note, local passwd database
operations can still be performed by passing the -l flag.
Also, some minor cleanup and RCS id police.
1996-08-09 09:19:33 +00:00
mycroft
916902678d
Remove straggling references to dk_ndrive and dk_xfer.
1996-08-08 04:11:27 +00:00
explorer
00933138c8
Allocate space for 'ipcs -m' correctly; this floated across a FreeBSD
...
mailing list, and seems correct
1996-07-19 23:58:33 +00:00
thorpej
3aab4f7d4f
RCS id police.
1996-07-12 00:46:18 +00:00
thorpej
cf0afdf885
From Christos: kill the last bits of sprintf(), and use regcomp/regexec
...
rather than re_comp/re_exec. (I committed my sprintf sweep-up before
I realized that Christos had already done it...)
1996-07-12 00:38:50 +00:00
thorpej
336eeb5f1c
Use snprintf() whenever feasible.
1996-07-12 00:06:32 +00:00
thorpej
145e30f8dd
Fix typo/thinko in last change: an occurrence of "while" should have
...
been a "for".
1996-07-03 23:17:51 +00:00
mrg
a2c61dd4d4
fix lossage caused by compress' usage of /dev/stdout and /dev/stdin
...
combined with the (broken?) versions of these files provided with
the fdesc mount. fixes PR#774 & PR#957.
1996-06-30 12:41:44 +00:00
christos
ca282f350d
Fix minor nits that prevented this to compile with a non ansi compiler.
1996-06-28 17:07:39 +00:00
mrg
779746748d
KNF.
1996-06-23 11:21:48 +00:00
mrg
00333c9e38
fix incorrect (dated?) comment.
1996-06-23 11:16:39 +00:00
mrg
c7ac10f4db
Deal with the case where `$TERM/<baudrate>' exceeds 1024 chars.
1996-06-23 11:09:32 +00:00
mrg
c9e514192e
look for USD.doc in the right place.
1996-06-23 05:59:51 +00:00
mrg
adc186a9c0
delete this file ONCE MORE. SIGH!
1996-06-23 05:51:30 +00:00
mrg
922d5cf939
delete these files ONCE MORE. SIGH!
1996-06-23 05:48:55 +00:00
mrg
62d4acd78d
snprintf() adds the last nul for us
1996-06-19 08:17:49 +00:00
mrg
08847f7836
use strncat/snprintf
1996-06-19 06:02:24 +00:00
cgd
418b1071e0
include bsd.own.mk at the top, so checks of EXPORTABLE_SYSTEM work as
...
intended.
1996-06-14 17:22:05 +00:00
christos
d89b74b288
Fix PR/2546: For non canonical input processing set VMIN=1,VTIME=0. Otherwise
...
things might not work if these are not set properly in the
current tty.
1996-06-13 19:59:31 +00:00
mrg
050b6cd211
pull in core-dump fix from bostic (part of nvi 1.67)
1996-06-10 12:39:47 +00:00
mrg
2a28f67a41
make "ex -s" work. massaged by bostic from pr#2518
1996-06-10 12:37:00 +00:00
mrg
19b430625c
fix bug in wrapsearch/command line args. from bostic.
1996-06-10 12:28:53 +00:00
jtk
bfd87b38e4
merge fix from 1.2 branch: pr#2438 on tn3270/libtelnet build fixes for domestic libtelnet
1996-06-09 16:09:56 +00:00
christos
88b833a7cd
- Fix PR/105: Implement dot locking protocol and check return value of flock.
...
- Fix PR/2247: Don't call unknown users "ubluit". Issue an error message.
- Fix/add prototypes.
- Fix warnings.
- Use POSIX signal mask calls.
- RCSid police.
1996-06-08 19:48:09 +00:00
thorpej
5db2537ade
Fix missing `)' in the sideways view of interfaces (i.e. netstat -w 1).
...
Bug pointed out by Chris G. Demetriou.
1996-06-07 21:43:26 +00:00