Commit Graph

382 Commits

Author SHA1 Message Date
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
Paul Richards
017d5de87b Improve the forms language quite a bit. Most things now
default to sensible values so you don't have to spell out
every little detail for every field. Also, auto-detect
the field type from the syntax.
1995-01-25 03:27:34 +00:00
Andrey A. Chernov
d3c39340bc Merge. 1995-01-24 00:41:11 +00:00
Andrey A. Chernov
86cc4d31d3 This commit was generated by cvs2svn to compensate for changes in r5825,
which included commits to RCS files with non-trunk default branches.
1995-01-24 00:37:11 +00:00
Andrey A. Chernov
b3e8cc7812 Upgrade. My recent fix applied by author. 1995-01-24 00:37:11 +00:00
Jordan K. Hubbard
9f574f9a90 Bring in a number of changes from NetBSD's make, fixing quite a few
problems in the process:

1. Quoting should work properly now.  In particular, Chet's reported bash
   make problem has gone away.
2. A lot of memory that just wasn't being free'd after use is now freed.
   This should cause make to take up a LOT less memory when dealing with
   archive targets.
3. Give proper credit to Adam de Boor in a number of files.
Obtained from: NetBSD (and Adam de Boor)
1995-01-23 21:03:17 +00:00
Garrett Wollman
51e7d42c56 Don't print protocol-cloned routes by default (enabled by -a flag).
Print non-zero expiration timers.
Use err(3) for error reporting.
1995-01-23 20:19:16 +00:00
Paul Richards
8e6feb0e55 A forms interface builder. Basically, it reads a forms spec file and
spits out a frm.tab.h file with all the definitions needed by the
libforms interface.
1995-01-23 14:43:38 +00:00
Bruce Evans
dd3d164f9e Update comments about MISSING and GNU versions. 1995-01-21 14:47:33 +00:00
Bruce Evans
46d8d93500 Don't default to -g in ${CFLAGS}. Developers can still use `make g=-g ...'
for debugging.  The default ${CFLAGS} still clobbers the system default
of -O2 to -O.
1995-01-21 14:41:45 +00:00
Bruce Evans
742c88a03a Use exactly the same checks in excluded() as in inlist(): ignore stabs and
stringless symbols in excluded(); check for too-small (nonzero) string table
offsets in inlist().
1995-01-21 10:24:18 +00:00
Andrey A. Chernov
2fdd39d28d Better protection against too long pathes and 8bit controls in file
names, locate dumps core instead
1995-01-21 05:50:50 +00:00