Commit Graph

493 Commits

Author SHA1 Message Date
Bruce Evans
73d1243fe5 Include <stdlib.h> so that malloc() is declared. 1995-04-02 19:01:07 +00:00
Andrey A. Chernov
d8e3948cc1 Finally restore my original MAIL fix after all junk patches. 1995-04-02 00:16:09 +00:00
Bill Paul
8ae049436c 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
Andreas Schulz
0479c3b471 Delete a second getenv("MAILPATH") that happens immediately after a first
try. Doesn't make sense.
1995-04-01 15:50:04 +00:00
Jordan K. Hubbard
c35cf316d8 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
Jordan K. Hubbard
0f976d1e04 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
Jordan K. Hubbard
6c7de23fdb Back out the previous commit. 1995-03-31 11:48:35 +00:00
Jordan K. Hubbard
18cc36fb15 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
Jordan K. Hubbard
85fad26631 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
Jordan K. Hubbard
db2a3eb2aa Add gencat to Makefile
Obtained from: NetBSD
1995-03-30 12:49:25 +00:00
Jordan K. Hubbard
4633c1ace8 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
Andrey A. Chernov
cddeed288c Fix default mailpath 1995-03-30 01:13:41 +00:00
David Greenman
90fef96dd0 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
Andrey A. Chernov
b02b5aada3 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
Andrey A. Chernov
9a8677a158 Fix erase determination code: don't look at
system defaults which is always the same
1995-03-27 03:42:21 +00:00
Bill Paul
12aeae6c45 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 Wunsch
b2b31a1c92 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
David Greenman
ff93e578a0 Removed object lookup/hit count and changed the order of things a little. 1995-03-25 08:44:48 +00:00
David Greenman
1d93250fd2 Removed cnt.v_nzfod...we don't support it in the kernel. 1995-03-25 06:39:47 +00:00
David Greenman
42d825e109 Removed printing of cnt.v_nzfod: we don't implement this in the kernel. 1995-03-25 06:11:43 +00:00
Justin T. Gibbs
61530543c9 Add recognition of HP Printer Job Language (PJL) commands. 1995-03-24 01:17:29 +00:00
Andrey A. Chernov
9dc5391c1c Bug fixed: even root was unable to edit restricted fields 1995-03-21 15:30:59 +00:00
Andrey A. Chernov
eaf9238016 Fix wrong separator output
Submitted by: julian
Obtained from: newsgroup?
1995-03-21 00:26:32 +00:00
Nate Williams
e6fc505e8f 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 Williams
c36c788214 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
Poul-Henning Kamp
475e2a7de8 Fix the Name-cache counters. I didn't realign the negative hits. 1995-03-18 08:55:15 +00:00
Garrett Wollman
0b11bfa164 Fix bonehead formatting error. 1995-03-16 21:43:03 +00:00
Garrett Wollman
be02aec01b Print out the new flags. 1995-03-16 20:29:11 +00:00
Garrett Wollman
f1b2407b0b Print out flags as text rather than a number. 1995-03-16 18:37:47 +00:00
Bill Paul
d93cc1a933 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
Poul-Henning Kamp
dc0b7482de Report the negative hits in the Namei section. 1995-03-12 01:58:18 +00:00
Poul-Henning Kamp
c3f4fea40c Don't use curses until initialized. 1995-03-12 01:47:08 +00:00
Andrey A. Chernov
3ee80812fd Fix syscmd() output out of sync
Submitted by: smp@clem.systemsix.com
1995-03-11 16:57:54 +00:00
David Greenman
8950c0148b Changes to support printing stats for the 'cached pages'.
Submitted by:	John Dyson
1995-03-10 20:07:21 +00:00
Andrey A. Chernov
0572cd894a Merge. 1995-03-09 17:40:56 +00:00
Andrey A. Chernov
0e0d6a8042 Upgrade. 1995-03-09 17:28:46 +00:00
Andrey A. Chernov
4ef279038c 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 Williams
2899d0086a Removed redundant function to64() which also exists in local_passwd.c 1995-03-08 18:05:50 +00:00
Nate Williams
5ec07232b9 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 Richards
133d8eae53 Disable fib 1995-03-01 08:32:42 +00:00
Andrey A. Chernov
f1df5d8bdd Better collate table for koi8-r
Submitted by: alex@elvisti.kiev.ua
1995-02-28 23:38:20 +00:00
Guido van Rooij
dcb8def0e7 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
David Greenman
c585f97c65 Changed "mapped pages in use" to "mbuf clusters in use". 1995-02-23 19:08:11 +00:00
Rodney W. Grimes
2828ae663a Fix spelling error (scipt -> script).
Submitted by:	<jhawk@MIT.EDU>
Obtained from:	NetBSD-bugs mailling list
1995-02-23 17:46:35 +00:00
Paul Traina
c11cc9c931 Remove watch(8) 1995-02-23 00:27:08 +00:00
Paul Traina
16ae87aed1 Rewrite manual page to use mandoc correctly and fix english grammar. 1995-02-22 23:47:51 +00:00
Andrey A. Chernov
ae9304b170 Move mixer to usr.sbin 1995-02-22 01:36:12 +00:00
Poul-Henning Kamp
b27dffd2ac add "fib"
Reviewed by:	phk
Submitted by:	Mark Murray <mark@grondar.za>
Obtained from:
1995-02-21 04:41:03 +00:00
Garrett Wollman
e151093c6f Not sure why this one was -lcompat since it doesn't reference anything in
it.
1995-02-21 04:35:43 +00:00
Garrett Wollman
94ea865c39 Use POSIX.2 regular expressions, kill libcompat. 1995-02-21 04:32:55 +00:00
Garrett Wollman
59bfb274d1 Use tcflush(), eliminate libcompat. 1995-02-21 04:15:15 +00:00
Garrett Wollman
9908b9abfc more now uses POSIX regular expressions and no longer needs libcompat. 1995-02-21 03:46:48 +00:00
Andreas Schulz
c0577faf0c 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
Jordan K. Hubbard
b96f37e2b0 Remove bogus reference to snp.4. Somebody kinda screwed up their move! :) 1995-02-18 17:10:40 +00:00
Scott Mace
1b0c06d938 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 J.S. Antsilevich
9d0ee8a480 oops..here is the manpage 1995-02-17 18:06:11 +00:00
Ugen J.S. Antsilevich
3377c114e1 Manpage for snoop device itself. 1995-02-17 17:53:52 +00:00
Andrey A. Chernov
5e6cdc1eae colldef added 1995-02-17 17:37:55 +00:00
Andrey A. Chernov
a1c128ae2a collate tables compiler
Submitted by: alex@elvisti.kiev.ua
1995-02-17 17:29:50 +00:00
Ugen J.S. Antsilevich
e2f16ea3ee Add manpage to makefile 1995-02-17 16:41:43 +00:00
Ugen J.S. Antsilevich
15c592c7f2 Watch fresh-made manpage.. 1995-02-17 16:40:32 +00:00
Ugen J.S. Antsilevich
7f4c79484b 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 J.S. Antsilevich
5d6cb6cac4 Added to makefile watch - snooping programm to work
with /dev/snp
1995-02-17 14:34:21 +00:00
Bruce Evans
829b9f6e93 Fix checking of directory access for "/foo". The parent directory is
"/", not "".
1995-02-16 11:42:36 +00:00
Andrey A. Chernov
6d5f4f30a7 mixer added 1995-02-15 17:39:52 +00:00
David Greenman
a8c6dbca84 >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
Rodney W. Grimes
36d9739b48 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
Bill Paul
01ed185959 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
Garrett Wollman
9a94a59774 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
Andrey A. Chernov
279c49616d Merge with eBones stuff
Submitted by: mark@grondar.za
1995-02-11 18:20:06 +00:00
Jordan K. Hubbard
e17312113c Fixes for chpass.
Submitted by: Heikki Suonsivu <hsu@cs.hut.fi>
1995-02-09 11:14:39 +00:00
Jordan K. Hubbard
819ab54771 Add y.tab.h to CLEANFILES. 1995-02-09 00:24:00 +00:00
Jean-Marc Zucconi
30ad8d9349 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
Bill Paul
9e9a89bb1f cleaned up and modified slightly to reflect changes 1995-02-01 23:47:04 +00:00
Bill Paul
87a8966828 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
Bill Paul
7506dfc15e 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 Richards
671a48a577 Fix calculation of default field heights and a bug in the setting
of form dimensions.
1995-02-01 04:08:19 +00:00
Paul Richards
463e33c94b 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
Bruce Evans
68abb9f9db 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
Jordan K. Hubbard
ce0d1cd5db Add dmenu. 1995-01-31 13:53:44 +00:00
Bill Paul
9e32e2330f 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
Jordan K. Hubbard
120ca2ec49 Unify the copyright notice. 1995-01-30 22:21:29 +00:00
Satoshi Asami
106a8c2a7b Cleanup.
Submitted by:	Wolfram Schneider <wosch@cs.tu-berlin.de>
1995-01-30 17:49:19 +00:00
Andrey A. Chernov
2c80666172 Fix owner/mode for installed data 1995-01-30 15:34:06 +00:00
Andrey A. Chernov
90892cea75 Remove creating dirs & symlinks, it is done by mtree now 1995-01-30 15:29:47 +00:00
Paul Richards
481114cd82 Update the parser to handle the color specifications and new attr
options.
1995-01-30 02:43:28 +00:00
Poul-Henning Kamp
1408eb8439 add file2c 1995-01-29 00:51:38 +00:00
Poul-Henning Kamp
b71255826d 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
Satoshi Asami
35bff0b976 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
Jordan K. Hubbard
9b568f1654 Put in a much less bogus Makefile on advice from Bruce. 1995-01-28 06:01:18 +00:00
David Greenman
3bd0d9a279 Fixed coredump when issuing d$ on a blank line. Fixes bin/191. 1995-01-28 01:58:14 +00:00
Jordan K. Hubbard
9d6b125366 Use the better perl script version of which submitted by Wolfram.
Submitted by:	Wolfram Schneider <wosch@cs.tu-berlin.de>
1995-01-26 21:49:54 +00:00
Andrey A. Chernov
256b89f8bf LIBFORMS added to DPADD 1995-01-25 20:29:32 +00:00
Andrey A. Chernov
7dc8f3a96e LIBS changed to DPADD & LDADD 1995-01-25 20:28:39 +00:00
Jordan K. Hubbard
f417f4a9bb Add which. 1995-01-25 19:19:06 +00:00
Jordan K. Hubbard
ab8791e05b Bring in Joerg's which command. It's small, it's simple, it will stop
people (like me! :) from whining!
Submitted by:	joerg
1995-01-25 19:18:33 +00:00
Paul Richards
4a112dd3f8 More parser fixes. Store attributes properly for each field and
don't emit a second declaration unless it's different to the default.
1995-01-25 07:56:10 +00:00
Paul Richards
0795a3fd8e Quash another bug where if no link alias is specified a
duplicate declaration was emitted.
1995-01-25 07:10:53 +00:00
Paul Richards
eef7796c26 Correct default calculation of menu field widths. 1995-01-25 06:32:40 +00:00
Paul Richards
d13fe009f3 Fix a serious bug where changes to a field changed all fields
in the forms that used the same field declaration.
1995-01-25 06:04:02 +00:00