Commit Graph

519 Commits

Author SHA1 Message Date
ache
0d9d52d7f4 Remove unneded substitutes 1995-04-08 21:51:26 +00:00
ache
d28cca30b4 Update controls & remains 1995-04-08 17:34:15 +00:00
ache
859e1acb14 Remove digrams to not confuse sorting 1995-04-08 17:08:45 +00:00
jkh
90873a9427 The negative expire times shown by netstat are confusing and ugly.
Destination      Gateway            Flags     Refs     Use     Netif Expire
199.182.75.128   link#1             UC          0        0       ed0 -842660
Submitted by:	John Capo <jc@irbs.com>
1995-04-06 06:09:44 +00:00
jkh
bb8b7abb39 It has always bugged me that ps and w did not display su with tcsh
properly.  I know, tcsh is not a "Real Shell".

jc       p2 :0.0             Tue04PM     - -u (tcsh)
                                           ^^^
7173 p2  S+     0:01.33 -u (tcsh)
			^^^

Submitted by:	John Capo <jc@irbs.com>
1995-04-06 06:06:47 +00:00
joerg
1a40d97c1d Sed dumps core when linked with some coalescing malloc because it
doesn't initialize malloced structure.

Submitted by:	vode@hut.fi
1995-04-05 22:55:27 +00:00
nate
09db00123a This is the 90's, ask the user for a Subject by default when sending mail. 1995-04-03 05:40:54 +00:00
bde
ca9c1d9711 Include <stdlib.h> so that malloc() is declared. 1995-04-02 19:01:07 +00:00
ache
bd7d4be2e2 Finally restore my original MAIL fix after all junk patches. 1995-04-02 00:16:09 +00:00
wpaul
f5c1417428 Remove references to yppasswd_xdr.c: the stuff in this file already exists
in librpcsvc. Add -lrpcsvc to LDADD instead.
1995-04-01 19:19:15 +00:00
ats
25db9af0c4 Delete a second getenv("MAILPATH") that happens immediately after a first
try. Doesn't make sense.
1995-04-01 15:50:04 +00:00
jkh
11766589e8 Greatly clean up the Makefiles and add a Makefile.inc to more obviously
advertise tip's choice of location and perms.
1995-04-01 09:14:37 +00:00
jkh
82645f1833 I must have been very sleepy last night, sigh..
1. Nuke out the aculib files that crept in somehow by mistake.
2. Fix the ${.CURDIR} path so that this stuff actually compiles.
   It actually compiled for me before the commit, but I must have had
   something short-cutting the bug.
1995-03-31 21:04:48 +00:00
jkh
54631713ce Back out the previous commit. 1995-03-31 11:48:35 +00:00
jkh
68f338abd9 Tom Gray's new tip changes to support a modem capabilities database and
fixes to many assorted bugs and misfeatures.
Submitted by:	Tom Gray - DCA <dcasba@rain.org>
1995-03-31 11:47:39 +00:00
jkh
d280eb5a8a I noticed that the current version of ncftp dos not do the very useful
job af warning me about mail as my work version does. This patch will
will fix this for bash(1) if MAILPATH is exported:
Submitted by:	Mark Murray <mark@grondar.za>
1995-03-31 07:02:49 +00:00
jkh
a3e8797ba3 Add gencat to Makefile
Obtained from: NetBSD
1995-03-30 12:49:25 +00:00
jkh
7447610f56 Add the gencat command for creating message catalog fodder for the new
catgets* routines.
Obtained from: NetBSD
1995-03-30 12:49:09 +00:00
ache
2d2a2b772c Fix default mailpath 1995-03-30 01:13:41 +00:00
dg
b9a45017e2 From Mark Murray:
I got irritated with not seeing the interrupt numbers in a (crowded)
"systat -vmstat" display, so I fixed it. Here is a patch to please be
applied in src/usr.bin/systat
1995-03-29 00:10:14 +00:00
ache
38a85b62ee Don't allow talk own messages wrap around on the screen, just
scroll them like normal user input/output does.
1995-03-28 19:48:45 +00:00
ache
31ee7a94c9 Fix erase determination code: don't look at
system defaults which is always the same
1995-03-27 03:42:21 +00:00
wpaul
dff265cf5a Submitted by: Sebastian Strollo <seb@erix.ericsson.se>
Use hosts.byname as the alias for 'hosts' instead of hosts.byaddr.
1995-03-25 23:26:54 +00:00
joerg
9af0749a7f Make finger(1) accept "cua" to be also a tty, and use the suffix instead
of the very meaningful string "cu" to describe the tty.
1995-03-25 18:15:40 +00:00
dg
063509cde0 Removed object lookup/hit count and changed the order of things a little. 1995-03-25 08:44:48 +00:00
dg
bd4e9b4513 Removed cnt.v_nzfod...we don't support it in the kernel. 1995-03-25 06:39:47 +00:00
dg
fa7266d927 Removed printing of cnt.v_nzfod: we don't implement this in the kernel. 1995-03-25 06:11:43 +00:00
gibbs
cbfb49f75a Add recognition of HP Printer Job Language (PJL) commands. 1995-03-24 01:17:29 +00:00
ache
79897cd9d3 Bug fixed: even root was unable to edit restricted fields 1995-03-21 15:30:59 +00:00
ache
ee15d42761 Fix wrong separator output
Submitted by: julian
Obtained from: newsgroup?
1995-03-21 00:26:32 +00:00
nate
1c0091e1f1 Change the library order so libcrypt is the last library in the list.
libskey contains references to _crypt and can't resolve it unless
-lcrypt occurs after it in the link command.  This only occurs when
linking statically.
1995-03-18 17:36:30 +00:00
nate
29375b3546 Change the library order so libcrypt is the last library in the list.
libskey contains references to _crypt and can't resolve it unless
-lcrypt occurs after it in the link command.  This only occurs when
linking statically.
1995-03-18 17:18:15 +00:00
phk
23a0b91cfe Fix the Name-cache counters. I didn't realign the negative hits. 1995-03-18 08:55:15 +00:00
wollman
aa2fd7de08 Fix bonehead formatting error. 1995-03-16 21:43:03 +00:00
wollman
d518c89935 Print out the new flags. 1995-03-16 20:29:11 +00:00
wollman
6fded6f1fb Print out flags as text rather than a number. 1995-03-16 18:37:47 +00:00
wpaul
1bfdcf6462 According to stdlib.h, malloc and realloc return void * but error_table.y
declares them to return char *. For some reason, this causes no problems
with the old compiler tools, but doing a 'make world' with gcc 2.6.3 in a
seperate DESTDIR got me this error:

yacc -d /usr/src/usr.bin/compile_et/error_table.y
cc -O2 -I. -I/usr/src/usr.bin/compile_et/../../lib/libcom_err   -I/mnt/usr/include -c y.tab.c -o error_table.o
In file included from /usr/src/usr.bin/compile_et/et_lex.lex.l:11,
                 from /usr/src/usr.bin/compile_et/error_table.y:233:
/mnt/usr/include/stdlib.h💯 conflicting types for `malloc'
/usr/src/usr.bin/compile_et/error_table.y:80: previous declaration of `malloc'
/mnt/usr/include/stdlib.h:104: conflicting types for `realloc'
/usr/src/usr.bin/compile_et/error_table.y:80: previous declaration of `realloc'
*** Error code 1

Stop.

Declaring malloc and realloc to return void * fixes this. It could be that
the new gcc is a bit more picky about these things.
1995-03-15 19:05:28 +00:00
phk
4f11b640c4 Report the negative hits in the Namei section. 1995-03-12 01:58:18 +00:00
phk
36d559b8ff Don't use curses until initialized. 1995-03-12 01:47:08 +00:00
ache
82ecf6bd9d Fix syscmd() output out of sync
Submitted by: smp@clem.systemsix.com
1995-03-11 16:57:54 +00:00
dg
0039079226 Changes to support printing stats for the 'cached pages'.
Submitted by:	John Dyson
1995-03-10 20:07:21 +00:00
ache
3a03eb8076 Merge. 1995-03-09 17:40:56 +00:00
ache
b6490b2aed Upgrade. 1995-03-09 17:28:46 +00:00
ache
de6e9378ea This commit was generated by cvs2svn to compensate for changes in r6962,
which included commits to RCS files with non-trunk default branches.
1995-03-09 17:28:46 +00:00
nate
4ebade1ed8 Removed redundant function to64() which also exists in local_passwd.c 1995-03-08 18:05:50 +00:00
nate
67c57bb1f6 Fix rpcgen so that generated files are written to the current working
directory (instead of the same directory as the source files) and that
#includes in those files do not contain the path to the source file.

Obtained from: J.T. Conklin via NetBSD
1995-03-04 17:47:50 +00:00
paul
3ca1b83558 Disable fib 1995-03-01 08:32:42 +00:00
ache
13fe08b27d Better collate table for koi8-r
Submitted by: alex@elvisti.kiev.ua
1995-02-28 23:38:20 +00:00
guido
14783ccffb Fix completely broken find behaviour:
a find -foo -o -bar would behave like find -bar. The same for -a
This broke (among others) ./etc/security.

Obtained from: NetBSD
1995-02-27 20:52:36 +00:00
dg
4c39d3beba Changed "mapped pages in use" to "mbuf clusters in use". 1995-02-23 19:08:11 +00:00
rgrimes
37c5f27278 Fix spelling error (scipt -> script).
Submitted by:	<jhawk@MIT.EDU>
Obtained from:	NetBSD-bugs mailling list
1995-02-23 17:46:35 +00:00
pst
7a223c5bf6 Remove watch(8) 1995-02-23 00:27:08 +00:00
pst
a603d3e09b Rewrite manual page to use mandoc correctly and fix english grammar. 1995-02-22 23:47:51 +00:00
ache
f865e0eb2d Move mixer to usr.sbin 1995-02-22 01:36:12 +00:00
phk
78783a3369 add "fib"
Reviewed by:	phk
Submitted by:	Mark Murray <mark@grondar.za>
Obtained from:
1995-02-21 04:41:03 +00:00
wollman
f173afb688 Not sure why this one was -lcompat since it doesn't reference anything in
it.
1995-02-21 04:35:43 +00:00
wollman
3e5fb07ca4 Use POSIX.2 regular expressions, kill libcompat. 1995-02-21 04:32:55 +00:00
wollman
308357dffb Use tcflush(), eliminate libcompat. 1995-02-21 04:15:15 +00:00
wollman
21020c88f2 more now uses POSIX regular expressions and no longer needs libcompat. 1995-02-21 03:46:48 +00:00
ats
674b6fa0fe Submitted by: Ollivier ROBERT roberto@keltia.frmug.fr.net
There is a typo in the include file specification in the  man page  of
time(1).
1995-02-18 20:44:55 +00:00
jkh
50cf8653d9 Remove bogus reference to snp.4. Somebody kinda screwed up their move! :) 1995-02-18 17:10:40 +00:00
smace
d437a0e4d0 Correct the grammar for the label of the number of users.
It is plural when zero and >1 users are logged in.
1995-02-18 08:24:16 +00:00
ugen
03ab24cfc5 oops..here is the manpage 1995-02-17 18:06:11 +00:00
ugen
582c213f01 Manpage for snoop device itself. 1995-02-17 17:53:52 +00:00
ache
7f1af51e6a colldef added 1995-02-17 17:37:55 +00:00
ache
ffc8a4036e This commit was generated by cvs2svn to compensate for changes in r6527,
which included commits to RCS files with non-trunk default branches.
1995-02-17 17:29:50 +00:00
ache
c6349924aa collate tables compiler
Submitted by: alex@elvisti.kiev.ua
1995-02-17 17:29:50 +00:00
ache
e0c079760d collate tables compiler
Submitted by: alex@elvisti.kiev.ua
1995-02-17 17:29:50 +00:00
ugen
ff25f1ad11 Add manpage to makefile 1995-02-17 16:41:43 +00:00
ugen
0ce66ecd03 Watch fresh-made manpage.. 1995-02-17 16:40:32 +00:00
ugen
489f81b8d4 This is watch - programm to work with /dev/snp,
it still lacks manpage-i will commit it today later.
For now to test try: watch [ttyname] :)
1995-02-17 14:36:03 +00:00
ugen
17d4ad497d Added to makefile watch - snooping programm to work
with /dev/snp
1995-02-17 14:34:21 +00:00
bde
d5338eb1cd Fix checking of directory access for "/foo". The parent directory is
"/", not "".
1995-02-16 11:42:36 +00:00
ache
4de424616e mixer added 1995-02-15 17:39:52 +00:00
dg
4f4b0c1258 >Description:
The "strings" program chokes if you try using "-n".

>How-To-Repeat:

	Try "strings -n SOMENUMBER SOMEFILE".

>Fix:

Here's a "diff -u" patch that corrects the problem.

Submitted by:	Lon Willett <lon%softt.uucp@math.utah.edu> via NetBSD
1995-02-15 02:47:47 +00:00
rgrimes
8fb1d632c2 Remove usage of LINKS and LN_FLAGS=-s, this does not do the correct thing
for symbolic links when $DESTDIR is set.

Add afterinstall: target to handle symbolic link creation.
1995-02-14 21:08:45 +00:00
wpaul
bcfe726211 Changed passwd's Makefile to use the built-in LINKS mechanism to create
the symlinks for yppasswd & friends (we still can't use hard links
because passwd is installed immutable). This would have been simpler
if the LN_FLAGS variable hadn't chosen to wait until now before leaping
out of the /usr/share/mk directory and biting me in the ass. (And thus,
I was enlightened.)
1995-02-14 15:38:13 +00:00
wollman
ff582331c8 Make netstat report the correct state for T/TCP.
Submitted by: Andras Olah <olah@cs.utwente.nl>
1995-02-14 03:09:51 +00:00
ache
20d781f1d9 Merge with eBones stuff
Submitted by: mark@grondar.za
1995-02-11 18:20:06 +00:00
jkh
4e4a2a42a9 Fixes for chpass.
Submitted by: Heikki Suonsivu <hsu@cs.hut.fi>
1995-02-09 11:14:39 +00:00
jkh
231af43b2f Add y.tab.h to CLEANFILES. 1995-02-09 00:24:00 +00:00
jmz
b4f0cb5993 Correct a bug in the P function: according to 7th edition UNIX (tm), the
newline must be part of the pattern space i.e. `echo a|sed -e P' must print
a
a
and not
aa
This is consistent with gnu sed, SunOS, Ultrix (and probably others!)
1995-02-06 00:14:50 +00:00
wpaul
7691231ee1 cleaned up and modified slightly to reflect changes 1995-02-01 23:47:04 +00:00
wpaul
a7c8f42a50 Cleaned up Makefile a little, added man page links from ypchsh.1 ypchfn.1
and ypchpass.1 to yppasswd.1. Also fixed a typo: ypshfn != ypchfn.
1995-02-01 23:46:20 +00:00
wpaul
73ef160522 Changed passwd/yppasswd's Makefile to create all symbolic links instead
of hard links: since passwd is installed immutable, an attempt to make
a hard link to it during a 'make install' would fail. I didn't notice
this conflict because my /usr directory is an NFS filesystem mounted from a
SunOS server, so the special file mode flags had no effecti when I tested
everything on my machine. Live and learn.
1995-02-01 05:55:18 +00:00
paul
2e5935449b Fix calculation of default field heights and a bug in the setting
of form dimensions.
1995-02-01 04:08:19 +00:00
paul
0ca165be7a Clean up the parser, allow fields to be specified inline and
generally make the forms language much less verbose.

Add height option for fields and calculate sensible defaults.
1995-02-01 03:22:17 +00:00
bde
88c35f905c Fix off by one error in calculation of `mday' (months start at 1).
Jan 31 gave Jan 30, often for next year.
1995-01-31 17:54:39 +00:00
jkh
1be8fd4ad3 Add dmenu. 1995-01-31 13:53:44 +00:00
wpaul
3d0ac6fd1e Obtained from: The NYS project
This is the first round of changes to incorporate YP server functionality
into FreeBSD. This particular change allows passwd to change either the
local or NIS password, as well as the NIS GECOS and shell information.

Essentially, I've taken passwd(1) and yppasswd from the yppasswd-0.5
distribution (which is part of the NYS project -- a project to provide
a GNU GPL'ed suite of NIS tools) and rammed them into each other
at high speed. I've tried my best to make this co-exist with the
Kerberos stuff, but since I don't run Kerberos I don't have an easy
way to verify that it all works. If you choose any Kerberos flags
then the YP checks should be bypassed, but that may not be enough.
I'll modify it some more if it turns out I broke something. For now,
support for localand NIS passwords is pretty solid:

- If you simply type 'passwd,' the program checks to see if you exist
  in the local pwd.db database. If not, you get bounced to YP.

- If you try to force local functionality with the -l flag and you
  don't exist locally, you get an error.

The -y flag can be used to force YP functionality. -f and -s let you
change your full name and shell (respectively). -f *and* -s let you
change all of your 'account information.'

ypchfn, ypchsh, yppasswd and ypchpass are all links to passwd.
1995-01-31 08:34:16 +00:00
jkh
d1af417b50 Unify the copyright notice. 1995-01-30 22:21:29 +00:00
asami
213bd87233 Cleanup.
Submitted by:	Wolfram Schneider <wosch@cs.tu-berlin.de>
1995-01-30 17:49:19 +00:00
ache
49e0c4f865 Fix owner/mode for installed data 1995-01-30 15:34:06 +00:00
ache
355dcb0bca Remove creating dirs & symlinks, it is done by mtree now 1995-01-30 15:29:47 +00:00
paul
fde04bb710 Update the parser to handle the color specifications and new attr
options.
1995-01-30 02:43:28 +00:00
phk
b870719315 add file2c 1995-01-29 00:51:38 +00:00
phk
c06793a4a7 This is a small little program used to execute a bad practice a clean way :-)
It will read a file on stdin and write it as decimal integers on stdout,
this is useful for embedding files in c-sources.

There are a few places where this is needed, and this is a better way than
the current practice of hand-editing the sources.

The command:

date | file2c 'const char date[] = {' ',0};'

will produce:

const char date[] = {
83,97,116,32,74,97,110,32,50,56,32,49,54,58,52,55,58,51,51,32,80,83,84,
32,49,57,57,53,10
,0};

The manual page is 2 lines longer than the source :-)
1995-01-29 00:49:57 +00:00
asami
153afc4dd2 Add a -s' flag for silent' processing. Make the script return 0 for
success and 1 for failure.  Describe the options in manpage.
1995-01-28 17:35:56 +00:00
jkh
ca1e014423 Put in a much less bogus Makefile on advice from Bruce. 1995-01-28 06:01:18 +00:00
dg
4425e96b90 Fixed coredump when issuing d$ on a blank line. Fixes bin/191. 1995-01-28 01:58:14 +00:00