Commit Graph

448 Commits

Author SHA1 Message Date
bde
5ab11f181a Fix checking of directory access for "/foo". The parent directory is
"/", not "".
1995-02-16 11:42:36 +00:00
ache
8f61c0d78e mixer added 1995-02-15 17:39:52 +00:00
dg
6a684f71bc >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
ca5902c334 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
eb86e8c1e8 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
d48b4f1df6 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
0355a4308c Merge with eBones stuff
Submitted by: mark@grondar.za
1995-02-11 18:20:06 +00:00
jkh
ef60271dc0 Fixes for chpass.
Submitted by: Heikki Suonsivu <hsu@cs.hut.fi>
1995-02-09 11:14:39 +00:00
jkh
6b720ef9d5 Add y.tab.h to CLEANFILES. 1995-02-09 00:24:00 +00:00
jmz
d73fc79374 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
856e9ec0e9 cleaned up and modified slightly to reflect changes 1995-02-01 23:47:04 +00:00
wpaul
e2d7ebccd1 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
ca503e6391 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
41f11011a1 Fix calculation of default field heights and a bug in the setting
of form dimensions.
1995-02-01 04:08:19 +00:00
paul
0f25422ca8 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
410788f921 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
0c3392596f Add dmenu. 1995-01-31 13:53:44 +00:00
wpaul
005b0f04d8 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
a86f9e0ecf Unify the copyright notice. 1995-01-30 22:21:29 +00:00
asami
27a6b3e94f Cleanup.
Submitted by:	Wolfram Schneider <wosch@cs.tu-berlin.de>
1995-01-30 17:49:19 +00:00
ache
b326f90c97 Fix owner/mode for installed data 1995-01-30 15:34:06 +00:00
ache
d4a8c7af3a Remove creating dirs & symlinks, it is done by mtree now 1995-01-30 15:29:47 +00:00
paul
de932de1a9 Update the parser to handle the color specifications and new attr
options.
1995-01-30 02:43:28 +00:00
phk
8da1f09e8e add file2c 1995-01-29 00:51:38 +00:00
phk
44d9c7e9b3 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
afd6259b60 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
36ea0db5c6 Put in a much less bogus Makefile on advice from Bruce. 1995-01-28 06:01:18 +00:00
dg
7f0d63876d Fixed coredump when issuing d$ on a blank line. Fixes bin/191. 1995-01-28 01:58:14 +00:00
jkh
17c2207d91 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
ache
6dfc1cf81e LIBFORMS added to DPADD 1995-01-25 20:29:32 +00:00
ache
1fc619b8ea LIBS changed to DPADD & LDADD 1995-01-25 20:28:39 +00:00
jkh
7ca0586653 Add which. 1995-01-25 19:19:06 +00:00
jkh
4a942b9666 This commit was generated by cvs2svn to compensate for changes in r5887,
which included commits to RCS files with non-trunk default branches.
1995-01-25 19:18:33 +00:00
jkh
00f6b2130e 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
3b2b35819c 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
7f29893b63 Quash another bug where if no link alias is specified a
duplicate declaration was emitted.
1995-01-25 07:10:53 +00:00
paul
cd6576a65d Correct default calculation of menu field widths. 1995-01-25 06:32:40 +00:00
paul
44a98931df 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
62f02f0120 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
ache
c74d514565 Merge. 1995-01-24 00:41:11 +00:00
ache
91f1983c7d Upgrade. My recent fix applied by author. 1995-01-24 00:37:11 +00:00
ache
747a6d170b 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
jkh
2dab142d47 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
wollman
ba9388f7cc 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
26f0276b31 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
bde
d6e176c25f Update comments about MISSING and GNU versions. 1995-01-21 14:47:33 +00:00
bde
99553d78fd 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
bde
ac917deba6 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
ache
546fa44779 Better protection against too long pathes and 8bit controls in file
names, locate dumps core instead
1995-01-21 05:50:50 +00:00
ache
bf096f839f Not go to interactive mode, if login failed for URLs, just
exit(1). Dedicated to Jordan.
1995-01-21 01:37:22 +00:00
wollman
cc0c7809c4 In the non-PARANOID case, make sure to set `notickets' to 0 sothat login.c
doesn't complain.
1995-01-20 23:07:10 +00:00
wollman
9af3d75b4d Update for new kpasswd interface. 1995-01-20 22:03:36 +00:00
wollman
b1b8413d9a Added mk_cmds. 1995-01-19 22:31:17 +00:00
wollman
ece7af0e56 Port to FreeBSD. (Sorry there's no man page yet.) 1995-01-19 22:27:58 +00:00
wollman
13f4ae2eb9 This commit was generated by cvs2svn to compensate for changes in r5719,
which included commits to RCS files with non-trunk default branches.
1995-01-19 21:30:25 +00:00
wollman
3c7d166730 Other part of SIPB subsystem library, the program to make command tables. 1995-01-19 21:30:25 +00:00
wollman
6feecac712 Kill old Kerberos password-changing support:
1) It was export-controlled.
2) It used some ad-hoc protocol invented by Berkeley in ignorance of the
   standard MIT distribution's way of doing it (which makes it useless
   to most people).

This should be fixed once we have `kadmin'/`kadmind'.
1995-01-19 21:03:48 +00:00
bde
3f2abb0c11 Add option `-x excludelist'. This will be used for removing variously
spelled g*compiled* symbols from the kernel so that ddb doesn't have to
do it.  The symbols are currently removed by dbsym but dbsym will go
away when symbols are loaded by the boot loader.

Document -m option in usage message.

Check for overrunning some arrays.

Fix some misformatting.
1995-01-17 07:20:26 +00:00
bde
63bcd55854 Obtained from: looked at the fix in 1.1.5 and rewrote it
Fix entabbing.
1995-01-17 07:02:31 +00:00
jkh
26a9ef51ab The Makefile contained in usr.bin/tconv contains a bogus
reference to the absolute path /usr/src/lib/libmytinfo.  The enclosed
patch fixes this.

Submitted by:	Remy Card <Remy.Card@masi.ibp.fr>
1995-01-15 06:19:01 +00:00
wollman
dd6e6de529 Add a `-p' option, allowing the super-user to directly set a user's
encrypted password.  Kerberized `login' might use this, if I get around
to implementing the complete Allspice System behavior.
1995-01-14 23:14:25 +00:00
wollman
20054cbaa0 Modify klogin to:
1) Don't spit out an error message if Kerberos is installed but not yet
   set up.

2) Don't attempt to verify the ticket you got back, as workstations
   are not intended to have srvtab files of their own.

Both behaviors can be re-enabled with KLOGIN_PARANOID.
1995-01-14 22:57:41 +00:00
wollman
ba3292be1a Fix include directive bobble. 1995-01-14 22:30:32 +00:00
wollman
479760c2d1 Upgrade to latest released SIPB version I can find. (Unfortunately, the
original releases were not numbered.)
1995-01-14 22:29:34 +00:00
wollman
58bca5b7cb Added compile_et. 1995-01-14 20:58:58 +00:00
wollman
0c9f17934c Slight makefile cleanup. 1995-01-14 20:58:00 +00:00
wollman
6c5a798a0c Fix Sharnoff complain bin/136 (-e flag doesn't work). 1995-01-14 20:36:22 +00:00
dg
028f7bbfb0 Added 'pages in VM cache' statistic. 1995-01-10 05:52:59 +00:00
dg
8441e720c7 Fixed two bugs: some malloced space wasn't freed after it was no longer
needed and the file wasn't closed when the -t option was used.
Originally by thomas@mathematik.uni-Bremen.de, but were incomplete.

Submitted by:	thomas@mathematik.uni-Bremen.de and myself
1995-01-09 05:59:04 +00:00
dg
4969834bb2 Old fix from Robert Crowe <bob@speakez.com> that has been sitting in
my mailbox since early last year. Fixes a problem with running out of
fds (by hitting the limit or whatever) when ar is given a long list of
objects. The fix was to add a missing close().

Submitted by:	Robert Crowe <bob@speakez.com>
1995-01-09 04:50:30 +00:00
jkh
9bea03d7a2 Add Sean Eric Fagan's support for a ~/.nofinger file for user who prefer
their privacy.
Submitted by:	sef
1995-01-04 01:02:43 +00:00
ache
c157d73779 Upgrade 1995-01-03 17:25:13 +00:00
ache
3d3758835a Merge 1995-01-03 17:22:35 +00:00
ache
73e7d767e2 Upgrade 1995-01-03 17:18:21 +00:00
ache
4510e641f3 This commit was generated by cvs2svn to compensate for changes in r5360,
which included commits to RCS files with non-trunk default branches.
1995-01-03 17:18:21 +00:00
ats
1e1f81d37c Correct the usage of the maxmaxcode so that compress -b 12 works again.
Thanks to Dave Rivers for reporting that problem.
1995-01-02 10:04:02 +00:00
ache
6a85ebc00a Reflects $HOME dir handling 1994-12-31 12:32:01 +00:00
ache
fa1a1014f5 Fix for two problems:
Calendar not cd $HOME when running by user
Calendar calls cpp with # lines allowed
1994-12-31 12:15:27 +00:00
jkh
8d6f326374 Add David River's patch fix to use the passed in number of bits (-b <n>)
properly.
Submitted by:	rivers
1994-12-31 04:40:52 +00:00
ache
319b403916 Add check for writeable terminal
Submitted by: mark@grondar.za (and slightly modified)
1994-12-30 16:09:31 +00:00
ache
919e577eb7 Fix bug with printing out short archive entries,
incorrect padding
1994-12-28 14:11:21 +00:00
ache
9c459c8906 Additional longname fix
Submitted by: dufault@hda.com
1994-12-28 13:19:39 +00:00
ache
917d2f1645 Fix for handling long archive names
Submitted by: dufault@hda.com
1994-12-28 00:47:24 +00:00
bde
1bba21e3a1 Document the arch flag. It has always worked in 2.0.
Document aliases for the flags.

The formatting of the section describing the flags is poor.
1994-12-27 16:49:08 +00:00
ats
32fbcd2a75 My prevoius commit missed some things. The out_line didn't need
to be padded to 8 chars. Simply make sure that never more than 8 chars
are printed ( %-.8s ). The former commit otherwise hosed the width
calculation and landed on different positions for the time output.
Also the strlen(xx_out_line) hoses the wide
calculation, so that it sometimes make it much larger than necessary.
Simply use always 8 chars for the out_line calculation now. Looks good
this way.
1994-12-27 00:53:14 +00:00
ats
bface82b87 The out_line doesn't need to be zero terminated, so print it not with %s
but with a %-8.8s instead. this prevents funny output, if the out_line
contains a long hostname that is larger than 8 chars.
1994-12-26 17:29:03 +00:00
ache
9b98551f59 Merging.
v1.9.0 - December 22, 1994.  The program won't exit from the interactive shell
  if it's working from a tty.  For example, it won't exit if you do an mget
  on a pattern that won't match anything.  Added padding around jmp_buf's
  for SunOS.  SunOS needs sigjmp_buf's, but plenty of OS's don't support
  sigjmp_buf's yet.  Fixed the tips to reflect the new archive site.

v1.8.9 - December 20, 1994.  Can now set "passive" user variable, or use
  passive command to toggle PASV/PORT ftp.  Debug mode now prints remote
  responses.  Can now get around buggy FTP servers like boombox.micro.umn.edu,
  that give back invalid port numbers to PASV.

v1.8.8 - December 19, 1994.  Now falls back to port FTP if passive FTP fails.
1994-12-24 01:15:19 +00:00
ache
962de1ff22 Update 1994-12-24 01:01:48 +00:00
ache
125adadea7 This commit was generated by cvs2svn to compensate for changes in r5216,
which included commits to RCS files with non-trunk default branches.
1994-12-24 01:01:48 +00:00
nate
15d87543df Subject: ranlib fix for odd length long final file names (PR #82)
Submitted by:	Peter Dufault <dufault@hda.com>
1994-12-23 22:55:00 +00:00
nate
7f56eb7b93 Updated to recent version of Paul K.'s shlib code. This code has better
warning handling and allows for link-time warnings with a modified
version of gas.

Note: Not all of the newer bits were updated such as some of the non-x86
machine-dependant code is relevant to FreeBSD right now.

Obtained from: NetBSD
1994-12-23 22:31:35 +00:00
wollman
18f4f1ed44 Added much-needed new options -[lL], to suppress printing of either the
call-graph or the flat profile, since often you only want one of them.
1994-12-22 20:52:15 +00:00
ache
0cd0f4861c Use ASCII lock instead of BINARY one. 1994-12-19 01:57:17 +00:00
ache
9c0459dc63 Use proper device names.
Remove fix-cua script, does nothing good.
1994-12-19 01:22:21 +00:00
ache
2c2bd5ed99 Use proper dialout device name 1994-12-19 01:14:58 +00:00
ache
3acc3a13d7 Use proper LOCKDIR name 1994-12-19 01:07:59 +00:00
ache
141b6b09cc Use proper lock dir name 1994-12-19 01:02:11 +00:00
ache
d33dd55752 Skip nulls in putback to don't confuse with EOFs 1994-12-19 00:26:20 +00:00
ache
81a63dc6d5 Make m4 more 8bit clean.
Don't use is*(EOF)
This fix core dump when LANG setted to 8bit wide charset
and ENABLE_STARTUP_LOCALE
1994-12-18 23:58:25 +00:00
jkh
a4f5aec057 Nuke bogus duplicate decls. 1994-12-18 11:59:37 +00:00