1166 Commits

Author SHA1 Message Date
mycroft
451c744306 If we get an EOF on stdin, close the write side of the TCP connection, but
wait for the remote host to close the connection before exiting.
1995-03-17 18:03:06 +00:00
mycroft
23f31f5bcd The `D' command should only input a new line if the pattern space becomes empty. 1995-03-15 12:12:16 +00:00
mycroft
c92e174d74 Fix the P command, and optimize D slightly. 1995-03-15 11:25:10 +00:00
mycroft
9a90db1e8e Remove an old #ifndef of little value. 1995-03-15 11:13:30 +00:00
pk
4df02dd0c1 Make use of the new kernel event counters; from Theo. 1995-03-14 07:35:49 +00:00
mycroft
35e8bf367a Compile group commands differently, using a stack rather than calling the
parser recursively.  Don't throw away commands after an end group.
1995-03-09 11:19:24 +00:00
brezak
f7b66ca83f Use tty as cred file uniquifier. (From Michael Graff) 1995-03-08 19:41:36 +00:00
cgd
2cb53ac7dc convert to use memset, rather than bzero. From Luke Mewburn. 1995-03-06 04:59:08 +00:00
cgd
fed2601086 fix a security hole, reported by T. Newsham <newsham@wiliki.eng.hawaii.edu> 1995-03-02 21:33:13 +00:00
mycroft
4c34be6b52 Clean up deleted files. 1995-03-01 00:00:00 +00:00
cgd
5d2c4d5da8 for some reason, this never got merged properly... 1995-02-27 02:40:23 +00:00
jtc
94f49c37a9 Fixed typo in usage string. 1995-02-23 17:25:23 +00:00
jtc
ddd564fdcf Fixed -n processing with patch from PR #800. 1995-02-15 15:49:19 +00:00
jtc
4d5a739bb7 Fix typo --- setenv doesn't use = (PR #798). 1995-02-15 15:37:56 +00:00
jtc
e9e6fca8b9 The descriptions of the o and u formatting options were reversed (PR #785). 1995-02-15 15:32:27 +00:00
mycroft
afd89ee68e Check for bogus file descriptor tables. 1995-02-15 02:10:41 +00:00
phil
68bbf97073 Make passwd work with a link to yppasswd. (From Jason Thorpe) 1995-02-12 17:45:54 +00:00
phil
49d06ab1d4 Fix bug bin/789 with my fix. 1995-02-08 19:54:12 +00:00
jtc
a067af72d8 Implement the ~_ and ~< escapes from POSIX.2.
These are the easiest of the escapes to implement, as ~_ is the same as ~:,
and ~< is the same as ~r.
1995-02-08 16:15:52 +00:00
christos
f222a602cf Fixed so that orphan tabs are ignored. Should close PR760. 1995-02-08 04:36:41 +00:00
christos
85ac32e8d2 str.c: Don't free NULL; does not work with non posix frees.
var.c: Minor memory leak plugged.
suff.c: Don't add extra sources on the null suffix if it has dependency
	lines or commands attached to it [POSIX says so]
1995-02-04 23:44:41 +00:00
pk
fd4b4e2aef Recognise PIC object files. 1995-01-29 14:55:28 +00:00
jtc
371af22d46 added systat 1995-01-25 08:48:18 +00:00
mycroft
b36edbb4da Fix 4 typos pointed out by Jordan, and 1 by me. 1995-01-23 20:34:59 +00:00
jtc
bea110759f Pass progname to the printf call in usage(). 1995-01-21 21:53:46 +00:00
jtc
460277ffdb Spell SYNOPSIS correctly. 1995-01-21 21:50:37 +00:00
jtc
2f3cb7ae7d Changed to conform to NetBSD's new RCS Id convention. 1995-01-20 08:51:48 +00:00
jtc
12749a2a84 imported from 44lite 1995-01-20 08:30:50 +00:00
christos
0036b358ae Fixed to parse correctly SysV variable substitutions ${VAR:P1=P2} when
P1 or P2 contain }'s or )'s. From mikeb@snow.datametrics.com
1995-01-20 04:35:10 +00:00
ws
9bce9062d9 Minor fix for date of 3 Sep 1752
doesn't affect program due to usage of this constant
found by Frank Lancaster (fl@tools.de)
1995-01-16 19:06:47 +00:00
mycroft
db6e530eb0 Sync with 4.4-Lite, plus local changes. 1995-01-16 09:29:08 +00:00
mycroft
7a7adcb788 Gather a more complete ioctl list. From Matt Green (somewhat edited). 1995-01-15 07:51:08 +00:00
mycroft
7e07241514 Some KNF, POSIX, and err*(3)/warn*(3) cleanup. Also, use sys_signame[]
rather than a private, home-grown list.
1995-01-15 07:50:44 +00:00
mycroft
92702177a0 Add sum(1) alias, per Matt Green. Various other cleanup. Someone should
finish the addition to the HISTORY section.
1995-01-15 06:43:49 +00:00
phil
ba9c5ac055 Fix the bug that stopped a user from changing his yp passwd when
the entry was ::.  (Also allows root to change the empty password.)
1995-01-15 03:23:48 +00:00
jtc
db9433b832 Describe -t (enable packet tracing) command line flag (PR #713).
Alphabetize description of command line flags.

Packet tracing is an unimplemented feature, I've decided to keep it's
documentation since ever other UN*X vendor I checked still does.  Not
a particularly useful reason.
1995-01-13 00:09:41 +00:00
christos
77759e5c6d Fixed PR/724, 'make' runs commands when $? is empty
This is not the perfect fix. I think that the whole __SYMDEF
checking code should be removed. [I should also teach myself
how to deal with the PR stuff to mark this closed :-)]
1995-01-11 17:42:26 +00:00
christos
42d1db77e3 Save the name of the environment variables. Remove the comment that
says that we don't. from Paul Borman (prb@bsdi.com)
1995-01-09 18:31:41 +00:00
mycroft
3dbc1e9443 Patch from Giles Lean to make compilation flags more consistent. 1995-01-07 23:07:03 +00:00
christos
95531c8e1f Fixes from Paul Borman (prb@bsdi.com)
1. Honor environment variable $MACHINE if set over uname.machine
2. archives with :: are always out of date, even when they have no children.
3. VAR= a b c     # comment, gets the trailing blanks trimmed, unless
   escaped by \. I'll have to read the posix manul to make sure that it
   is ok to handle escapes here.
1995-01-06 19:57:27 +00:00
jtc
c15bd8dda9 Changed so that log entry format used when logfiles are rolled over
matches that of syslogd(8).  This is a slightly modified version of
the patch Thorsten Lockert supplied with PR #684.

Changed manpage to reflect the fact that we are using gzip instead
compress.
1995-01-06 19:20:20 +00:00
mycroft
def22ebf96 Document the `arch' flag. Fix the test of the getopt(3) return value. 1995-01-04 05:40:08 +00:00
glass
7e8a9d0d4c some knf 1995-01-03 07:06:42 +00:00
glass
58695b5fdb reapplied patch that made ktrace behave well when kernel subsystem wasn't
installed.
some KNFing.
fixes PR 663 as reported by muir@idiom.com
1995-01-03 07:04:18 +00:00
hpeyerl
e9b66f9184 Squish #581. 1995-01-03 06:24:48 +00:00
cgd
af03189d5c .include changes suggested by Jon Stone in pr 674. Not strictly necessary
(because there should never be an 'obj' dir/link in .../usr.bin/tn3270,
but good style, and robust if there happens to be one.)
1995-01-02 22:33:21 +00:00
cgd
7bcf44497f invoke cpp with -P 1994-12-30 21:57:09 +00:00
mycroft
5f9524c8e6 Avoid getdtablesize(3). 1994-12-30 02:46:05 +00:00
jtc
709aab2025 fixed major brain fault: echo -> exit 1994-12-29 06:20:16 +00:00
cgd
6e77815dff send error messages & password prompt to stderr, as proposed by Simon Gerraty.
Note that this is not necessarily correct for the password prompt: ideally,
libc/gen/getpass.c should be cloned into the password reading routine in
libskey, and it should be extended to take a prompt string, so that the prompt
and input are taken from /dev/tty, a la passwd(1).
Also, make usage() exit as is standard style, and delete the redundant exits.
1994-12-28 23:17:52 +00:00