Commit Graph

949 Commits

Author SHA1 Message Date
mpp
7b57b8465d Fix a couple of typos.
Submitted by:	Philippe Charnier <charnier@limrr.fr>
1996-03-11 03:31:51 +00:00
mpp
d84578ce3e Change an incorrect reference to the "-n" flag to "-#".
Submitted by:	Masanobu Saitoh <msaitoh@spa.is.uec.ac.jp>
Obtained from: NetBSD-bugs mailing list
1996-03-11 03:09:00 +00:00
hsu
6845ef4584 From Lite2: rename fs to vfs. 1996-03-11 03:06:45 +00:00
ache
602a9dfadd Print 8bit chars from the net if current locale allows them 1996-03-10 23:33:48 +00:00
joerg
a12cf8aa0e Make talk automagically find out the interface IP address where the
remote peer will be connected through.  This avoids the ``Checking for
invitation on caller's machine'' problem for multi-homed hosts.

Thanks to: Garrett, for his `find_interface' example
1996-03-09 19:23:01 +00:00
markm
1eb18fd3ec Better integrate kerberos into su so that if an incorrect Kerberos
password is entered, the user is not prompted for a password a second
time.

This closes pr-bin/1006.
1996-03-09 14:57:43 +00:00
phk
5e8c0593bf Phkmalloc strikes again.
Found by:	asami
1996-03-07 08:59:53 +00:00
pst
b1ffbc592b Here's a patch that fixes the problem with modem syncronization
problems with tip.  There are some hardwired timeouts that ignores the
delay that you can set in the modem configuration file.  The hard-wire
delay is to short if the modem has to switch major modes and reset
(ie going from fax to data mode with a reset).

Now my modem transistions from HylaFax control to tip control and ppp mode
without any problems.

Submitted by:	Douglas Ambrisko <ambrisko@tcs.com>
1996-03-05 19:11:49 +00:00
dg
2a29cb99a4 Use '-fstype ufs' rather than '-fstype local' on the find command to avoid
special non-filesystems like procfs from being included.
1996-03-05 13:07:04 +00:00
asami
4a4eedf18c Make xargs take into account the bytes occupied by the environment.
Original by: peter
1996-03-05 07:43:40 +00:00
wpaul
bfc69caaf8 Fix small bug in get_yp_master(): this function is used to look for
a master server and initialize the suser_override flag, but in a non-NIS
environment is should be smart enough to just leave the flag cleared
and return (unless forced with a command-line argument like -y).
Otherwise, it will return an NIS-related error even if NIS isn't
turned on.

Pointed out by: ache
1996-03-04 15:34:43 +00:00
ache
ffc84438c1 Eliminate multiply uucplock.c copies 1996-03-04 10:46:29 +00:00
wosch
ba6dcbd08e `~a'', `~i'' etc. cause vi to core dump
if the (file)buffer is empty (line=1, colum=0, len=0)

Submitted by:	batie@agora.rdrop.com (Alan Batie)
1996-03-03 15:47:43 +00:00
jkh
7e37c839a0 Print number of second-level cache hits as per-directory, not per-process
(since they're per-directory now).
Learned from: Kirk McKusick's OS internals course.. :-)
1996-03-03 09:06:59 +00:00
dg
be0c3a28c5 Make the -w option actually useful to people. Instead of it creating a
messy 130 column collage, output the system totals -or- info for a
specific interface if -I is given. Also wait for <interval> before
outputting the first sample so that it represents meaningful data (as
opposed to the total since the system was booted - most busy systems
wrap around many times during their operation, so these numbers are
only misleading).
1996-02-29 07:44:37 +00:00
wosch
fc85423c34 first check the count and then get
the next line of characters and not cause it to first get
the characters even if the count (cnt) has become 0.

Submitted by:	R Bezuidenhout <rbezuide@mikom.csir.co.za>
1996-02-26 22:46:36 +00:00
guido
89b4ca893f Add a counter for the number of times the listen queue was overflowed to
the tcpstat structure. (netstat -s)
Reviewed by:	wollman
Obtained from: Steves, TCP/IP Ill. vol.3, page 189
1996-02-26 21:47:13 +00:00
bde
536f40a1eb Use ${ECHO} instead of echo' so that make -s' is fairly quiet. 1996-02-25 20:25:05 +00:00
joerg
9dbe7cd8d3 Now that we install the `flex' alias for our lex, we should also
install the `libfl' alias for libl.  Some third-party software will
expect it this way.

Submitted by:	Holm tiffe (holm@geophysik.tu-freiberg.de)
1996-02-24 16:31:31 +00:00
wpaul
fe4185f027 Merge in changes to support the new rpc.yppasswdd(8) and fix a few bugs.
In passwd(1):

- Gut most of yp_passwd.c and leave only a few things that aren't common
  to pw_yp.c.

- Add support for -d and -h flags to select domains and NIS server hosts
  to use when updating NIS passwords. This allows passwd(1) to be used
  for changing NIS passwords from machines that aren't configured as
  NIS clients. (This is mostly to allow passwd(1) to work on NIS master
  servers that aren't configured as clients -- an NIS server need not
  necessarily be configured as a client itself.)

  NOTE: Realize that having the ability to specify a domain and hostname
  lets you use passwd(1) (and chpass(1) too) to submit update requests
  to yppasswd daemons running on remote servers in remote domains which
  you may not even be bound to. For example, my machine at home is not
  an NIS client of the servers on the network that I manage, yet I can
  easily change my password at work using my FreeBSD box at home by doing:
  'passwd -d work.net.domain -h any.nis.server.on.my.net wpaul'. (Yes,
  I do use securenets at work; temporarily modified my securenets file
  to give my home system access.) Some people may not be too thrilled
  with this idea. Those who don't like this feature can recompile passwd(1)
  and chpass(1) with -DPARANOID to restrict the use of these flags to
  the superuser.

  (Oh, I should be adding proper securenets support to ypserv(8) and
  rpc.yppasswdd(8) over the weekend.)

- Merge in changes to allow root on the NIS master server to bypass
  authentication and change any user's NIS password. (The super-user
  on the NIS master already has privileges to do this, but doing it
  through passwd(1) is much easier than updating the maps by hand.)
  Note that passwd(1) communicates with rpc.yppasswdd(8) via a UNIX
  domain socket instead of via standard RPC/IP in this case.

- Update man page.

In chpass(1):

- Fix pw_yp.c to work properly in environments where NIS client
  services aren't available.

- Use realloc() instead of malloc() in copy_yp_pass() and copy_local_pass().

- Fix silly bug in copy_yp_pass(); some of the members of the passwd
  structure weren't being filled in correctly. (This went unnoticed
  for a while since the old yppasswdd didn't allow changes to the
  fields that were being botched.)

- chpass(1) now also allows the superuser on the NIS master server to
  make unrestricted changes to any user's NIS password information.

- Use UNIX domain comm channel to rpc.yppasswdd(8) when run by the
  superuser on the NIS master. This allows several new things:

   o superuser can update an entire master.passwd.{byname,byuid} entry
   o superuser can update records in arbitrary domains using -d flag to
     select a domain (before you could only change the default domain)
   o superuser can _add_ records to the NIS master.passwd maps, provided
     rpc.yppasswdd(8) has been started with the -a flag (to do this,
     the superuser must force NIS operation by specifying the -y flag
     to chpass(1) along with -a, i.e. 'chpass -y -a 'foo:::::::::')

- Back out the 'chpass -a <new password entry> breaks with NIS' fix
  from the last revision and fix it properly this time. The previous
  revision fixed the immediate problem but broke NIS operation in
  some cases.

- In edit.c, be a little more reasonable about deciding when to
  prevent the shell field from being changed.

  Submitted by Charles Owens <owensc@enc.edu>, who said:

  "I made a minor (one-line) modification to chpass, with regards
   to whether or not it allows the changing of shells.  In the 2.0.5 code,
   field changing follows the settings specified in the "list" structure
   defined in table.c .  For the shell, though, this is ignored.  A quick
   look in edit.c showed me why, but I don't understand why it was written as
   such.  The logic was

        if shell is standard shell, allow changing

   I changed it to

        if shell changing is allowed (per table.c) and it is a standard shell
             OR if uid=0, then allow changing."

   Makes sense to me.

- Update man page.
1996-02-23 16:08:59 +00:00
joerg
c5181fe0d9 . cast the error and status registers properly to (unsigned short),
to avoid misinterpreting the 0x8000 bit as a negative sign,

. use the <machine/wtio.h> register def's to print them.
1996-02-22 00:33:35 +00:00
wosch
54cbaa1475 Submitted by: bruce
replace shell loop with make(1) builtin loop
1996-02-18 19:29:45 +00:00
wosch
579d5f3c48 more verbose output during install foreign calendar files 1996-02-18 01:42:44 +00:00
wollman
26f02b4e28 For some reason, the changes to make route.c compile didn't make it over.
Fixed.

Pointed-out-by: joerg
1996-02-16 15:42:14 +00:00
mpp
654abf9871 Fix typo in xref in NOTES section. 1996-02-14 22:26:04 +00:00
wollman
379b9b388f XNS sort-of-support is no more. 1996-02-13 17:30:37 +00:00
joerg
af493c22f2 Include both, the regular and the `secure' telnet, when building
a release.
1996-02-13 09:24:43 +00:00
mpp
0796408d4a Another round of man page cleanups.
Down to only about 100 items left to cleanup! :-)
1996-02-12 04:57:03 +00:00
mpp
de68a50b6d Add a little info to this man page at the start so it doesn't
appear that ALL the passwd command does is change a users Kerberos
password, since that is incorrect.

Actually, this man page needs a good overhaul to better reflect systems
that don't have Kerberos installed.
1996-02-12 02:32:40 +00:00
mpp
69247d533f Fixed some minor formatting problems to silence manck some more.
Corrected some bogus cross references to man pages that we don't/won't
have and either deleted them, or found a more appropriate man page
that we do have.  Various other minor changes to silence manck.

Manck is currently down to about 200 lines of errors, down from
the 500 - 600+ when I started all this.
1996-02-12 01:20:38 +00:00
mpp
3ad82b58d6 Minor cleanup of the rpc man pages to silence manck. 1996-02-12 00:02:42 +00:00
mpp
3aeb7f1d49 Correct a bunch of man page cross references and generally
try and silence "manck".

ncurses, rpc, and some of the gnu stuff are still a big mess, however.
1996-02-11 22:38:05 +00:00
mpp
c70e06b03c Added a small man page for locate.updatedb(8). 1996-02-11 18:54:39 +00:00
mpp
5bf762a41f Added some info describing the script that updates the database,
and the fact that it is usually run by /etc/weekly.
Closes docs/127.
1996-02-11 18:34:22 +00:00
markm
532cda9998 #include <kerberosIV/des.h> -> #include <des.h> 1996-02-11 09:18:18 +00:00
wosch
82b3c0ebdc always warn if no processes matched 1996-02-11 00:12:15 +00:00
wosch
763baf4d95 Submitted by: Slaven Rezic (Tomic) <eserte@cs.tu-berlin.de>
croatian calendar
1996-02-09 14:35:02 +00:00
pst
dd9709123a Kludge-fix for a specific instance of bin/517.
The real fix requires changes to getpwent(3) and friends and getgrent(3)
and friends.

Submitted by:	Tim Wilkinson
1996-02-08 06:17:50 +00:00
wollman
f719d2ace3 Recognize ld.so.hints file. Don't ask. 1996-02-07 21:02:20 +00:00
wosch
3a72155781 making <page>.1 from <page>.man 1996-02-06 23:48:03 +00:00
wosch
890f379739 replace 'install' with ${INSTALL} 1996-02-06 23:36:16 +00:00
wollman
61d8d8e40b Remove support for OSI networking in user-land (#ifdef OSI aor CCITT)
in preparation for its removal from the kernel source tree.  NB: because
a function was deleted, libc is now at version 3.0 (was 2.2 previously).
1996-02-06 20:36:15 +00:00
ache
cb030b238b Don't make directory here, it is mtree task 1996-02-05 17:35:17 +00:00
wosch
7473bef6df Support killing of suid programs.
Now ``killall xterm'' works :-)

Don't fail for processes with meta chars (c+++)
1996-02-03 22:52:27 +00:00
markm
b79e54892f Rename des_set_key -> des_set_key_krb. (libdes conflict) 1996-02-03 11:51:19 +00:00
markm
89c4fd7018 Rename des_set_key -> des_set_key. (libdes conflict) 1996-02-03 11:49:29 +00:00
wosch
e20f3b0b19 Submitted by: pst
add forgotten file calendar.h. Sorry.
1996-02-03 10:58:11 +00:00
mpp
3c9b360579 Fix some incorrect locations in the FILES sections of some man pages. 1996-02-02 18:22:04 +00:00
wosch
44dd497d49 _de_DE_ISO8859_1_* -> _de_DE_ISO_8859_1_*
+ Muttertag
+ first german newspaper(s) in WWW
+ Konrad Zuse
1996-02-02 06:05:20 +00:00
wosch
ced7d52dbc easter and easter depending day 1996-02-02 06:04:06 +00:00
wosch
f351e4d35e - handle events that move around from year to year, i.e.,
``the last Monday in April'
- handle easter

new options
	-f calendarfile
	-A days
	-B days

Calendar HOME directory ~/.calendar
don't sent mail if ~/.calendar/nomail exist
1996-02-02 06:02:41 +00:00
wosch
bcba98f11c filenames corrected 1996-02-02 05:14:04 +00:00
mpp
6e83fbce86 Correct some manual page cross reference errors. E.g. su is a section
one man page, not section eight.  This is the first round of such changes
and only fixes man pages in manual section one.
1996-02-02 00:26:12 +00:00
mpp
f3a0046930 Fix some spelling errors in the calendar files. 1996-01-31 13:40:40 +00:00
wosch
8e69a08160 de_DE.ISO8859-1 -> de_DE.ISO_8859-1 1996-01-30 23:36:43 +00:00
peter
868b4a08b4 de_DE.ISO8859-1 -> de_DE.ISO_8859-1 after repository operation on
Andrey's request.
1996-01-30 18:24:32 +00:00
mpp
511d4f82b2 Fix a bunch of spelling errors in a bunch of man pages. 1996-01-30 13:52:50 +00:00
wosch
fa485dc0b6 german calenda 1996-01-29 00:34:18 +00:00
wosch
f9c3c02826 include preprocessor commands like
#ifndef _calendar_christian_
#define _calendar_christian_
[...]
#endif
1996-01-29 00:33:02 +00:00
wosch
84a0cf5f95 install new calendars/de_DE.ISO8859-1/calendar.* files 1996-01-29 00:31:29 +00:00
wosch
e1e9689170 Section SEE ALSO complete 1996-01-29 00:05:36 +00:00
wosch
dffe560d81 Section FILES and SEE ALSO complete 1996-01-29 00:02:39 +00:00
wosch
1f24c85f7b Read from standard input if file name "-" is given. 1996-01-28 23:43:37 +00:00
ache
7c3532d583 Localize it. 1996-01-24 22:50:24 +00:00
wosch
e7f0ee9940 install manpage 1996-01-23 23:41:50 +00:00
mpp
7e3b21a299 Merged changes to resolve conflicts with file 3.19 import. 1996-01-23 12:40:36 +00:00
mpp
bed6c740ce This commit was generated by cvs2svn to compensate for changes in r13584,
which included commits to RCS files with non-trunk default branches.
1996-01-23 12:29:07 +00:00
mpp
c335a06568 Upgrade to file version 3.19. 1996-01-23 12:29:07 +00:00
wosch
9c7262c385 Add manpage links for ex.1 view.1 nex.1 nview.1 nvi.1 1996-01-23 00:26:01 +00:00
mpp
73d51748db Change ar's internal error routine to call err() instead of errx()
so that when ar has a problem (like trying to update a read-only
archive), you get a message like:

ar: xyzzy.a: Permission denined

instead of:

ar: xyzzy.a

Which doesn't really give the user any indication that the operation
really did fail.

This closes PR# 170.
1996-01-22 15:33:20 +00:00
wosch
a447e85f39 Bugfix: allow digits in signal names (usr1, usr2) 1996-01-22 08:06:13 +00:00
adam
e2b014db72 Document the CRLF bug 1996-01-22 03:48:47 +00:00
adam
da0ede4916 'more | cat' was producing spurious output from an unused buffer 1996-01-22 01:30:03 +00:00
mpp
95fd971cf1 Fix a variety of minor typos and cross references in a bunch of
man pages.

Masanobu Saitoh <msaitoh@spa.is.uec.ac.jp>
Giles Lean <giles@nemeton.com.au>
<soda@sra.co.jp>
1996-01-20 07:29:11 +00:00
jkh
495cba1af3 Guard against argument starvation.
Noted by:	aagero@aage.aage.priv.no
1996-01-16 02:09:23 +00:00
peter
297db4d6f7 tidy up the domain name trimming code, and move it to a single place
rather than having the same bit of code duplicated in three places,
each with their own static copy of the host's local name.
1996-01-15 02:18:35 +00:00
peter
fb91726210 A couple of changes of mine that I've been using for a while:
route.c: look up the netname as-is first before the shifted name. this
         makes a big speed difference, as the lookups are generally local
	 DNS.  The shifted names can be very wrong (there is still guessing
	 and fudging involved) and usually go remote, taking a long time
	 to fail.  If you have the RFC reccomended netnames in your reverse
	 lookups, this is even faster still.
main.c:  dont do a sethostent(1) - this is causing the resolver to use a
	 VC (tcp) connection to the resolver, which has more overheads and
	 is slower than the default UDP case.  This once made sense when
	 everything was based on text host tables.
1996-01-14 23:42:19 +00:00
peter
e0dc992026 Merge in Lite-2 changes. 1996-01-14 23:33:13 +00:00
joerg
dace338d09 Forgot to update the man page for the `retension' command. 1996-01-13 09:46:26 +00:00
joerg
f431f4ad25 Rename the retens' command into retension', to follow existing de-facto
standards.
1996-01-12 15:36:28 +00:00
ache
c8975f103d Localize it. 1996-01-10 21:42:14 +00:00
graichen
c5c2c48f68 fixed some printf format mismatches and some lines exceeding 80 col's
(thanks to bruce)
1996-01-09 21:41:01 +00:00
joerg
63a6a9070f Add `retens', the user frontend for MTRETENS. 1996-01-08 12:29:26 +00:00
peter
a09220052f Install yacc with a link as byacc (and the man page). Some gnu autoconf
scripts that check for features/fixes in bison also check for byacc and
dont find it unless there is a 'byacc' in the path.
1996-01-08 09:20:16 +00:00
peter
7bb490a777 Add some links to lex (flex, flex++ etc) that some of the gnu autoconf
scripts check for.  (when looking explicitly for flex..)
Also, do some man links for the commands under their alternate names.
Install the c++ FlexLexer.h file as per the "XXX TODO" comment.
1996-01-08 09:17:39 +00:00
phk
bdd1ce3cab Make all the tables "const" so that they don't clutter our data-segment. 1996-01-07 22:30:13 +00:00
peter
cd223e7db6 Merge bind-4.9.3-rel stuff ont main line... 1996-01-07 06:21:58 +00:00
joerg
1d38ca4949 Move the YP initialization earlier, so it's done before the evaluation
of -p/-s/-a related cruft.

Closes PR # misc/933 "chpass -s <shell>" does not work
1996-01-06 15:03:02 +00:00
graichen
fa1beef3d1 Obtained from: NetBSD
replaced our quota with the NetBSD one, then added all changes we made
to our - this is done to support the displaying of quota's over nfs
using the rpc.rquotad
1996-01-05 08:37:29 +00:00
ats
2d12b11ef8 Add sasc to the clean/cleandir target. The machine dependent targets
doesn't get cleaned up otherwise.
1995-12-31 21:32:17 +00:00
phk
c3cebb2932 Make the counters unsigned longs so that tapes don't contain negative
number of bytes.
1995-12-31 09:00:24 +00:00
peter
c3f352d4ad This commit was generated by cvs2svn to compensate for changes in r13122,
which included commits to RCS files with non-trunk default branches.
1995-12-30 19:02:48 +00:00
peter
ab124e78b0 recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
bde
39cdb05128 Implemented non-statistical kernel profiling. This is based on
looking at a high resolution clock for each of the following events:
function call, function return, interrupt entry, interrupt exit,
and interesting branches.  The differences between the times of
these events are added at appropriate places in a ordinary histogram
(as if very fast statistical profiling sampled the pc at those
places) so that ordinary gprof can be used to analyze the times.

gmon.h:
Histogram counters need to be 4 bytes for microsecond resolutions.
They will need to be larger for the 586 clock.
The comments were vax-centric and wrong even on vaxes.  Does anyone
disagree?

gprof4.c:
The standard gprof should support counters of all integral sizes
and the size of the counter should be in the gmon header.  This
hack will do until then.  (Use gprof4 -u to examine the results
of non-statistical profiling.)

config/*:
Non-statistical profiling is configured with `config -pp'.
`config -p' still gives ordinary profiling.

kgmon/*:
Non-statistical profiling is enabled with `kgmon -B'.  `kgmon -b'
still enables ordinary profiling (and distables non-statistical
profiling) if non-statistical profiling is configured.
1995-12-29 15:46:59 +00:00
bde
586cc683d8 Implemented non-statistical kernel profiling. This is based on
looking at a high resolution clock for each of the following events:
function call, function return, interrupt entry, interrupt exit,
and interesting branches.  The differences between the times of
these events are added at appropriate places in a ordinary histogram
(as if very fast statistical profiling sampled the pc at those
places) so that ordinary gprof can be used to analyze the times.

gmon.h:
Histogram counters need to be 4 bytes for microsecond resolutions.
They will need to be larger for the 586 clock.
The comments were vax-centric and wrong even on vaxes.  Does anyone
disagree?

gprof4.c:
The standard gprof should support counters of all integral sizes
and the size of the counter should be in the gmon header.  This
hack will do until then.  (Use gprof4 -u to examine the results
of non-statistical profiling.)

config/*:
Non-statistical profiling is configured with `config -pp'.
`config -p' still gives ordinary profiling.

kgmon/*:
Non-statistical profiling is enabled with `kgmon -B'.  `kgmon -b'
still enables ordinary profiling (and distables non-statistical
profiling) if non-statistical profiling is configured.
1995-12-29 15:30:05 +00:00
joerg
33a7b7910e >Number: 917
>Category:       bin
>Synopsis:       -s option in jot is broken
1995-12-29 12:18:46 +00:00
ache
a1a68e9a51 Use more complicated printable test to remove unnecessary 8bit chars 1995-12-28 16:31:23 +00:00
ache
9905307e99 Localize it 1995-12-28 13:43:40 +00:00
joerg
10ec2134d5 Kill the (hopefully) last occurance of gets(3) in the base source tree. 1995-12-27 23:23:43 +00:00
ache
6ef4e82f0f Change .8s port name restriction to .15s, modern tcp port
have longer names, check /etc/services.
kerberos_master triggers this bug: it is undistiguishable from
simple kerberos for .8s
1995-12-23 18:19:01 +00:00