Commit Graph

23554 Commits

Author SHA1 Message Date
Andrey A. Chernov
0e7e6efe8f Fix saving/restoring tty modes, allow initscr be called twice,
from ncurses 4.1
1997-08-25 07:41:15 +00:00
Philippe Charnier
05c5fed8f5 Use err(3). 1997-08-25 06:49:45 +00:00
Philippe Charnier
8c85cce77a Sync usage string according to man page. Silent -Wall. 1997-08-25 06:44:59 +00:00
Philippe Charnier
752d887a62 Use err(3). Add usage(). 1997-08-25 06:43:22 +00:00
Philippe Charnier
90389da95b Typo in usage(). Err -> errx when testing allocations. 1997-08-25 06:42:19 +00:00
Philippe Charnier
495aecea76 Use err(3). Add some %d to %ld changes. 1997-08-25 06:40:05 +00:00
Philippe Charnier
d9be0ac773 Use err(3). Add usage() and prototypes. 1997-08-25 06:37:37 +00:00
Philippe Charnier
3e7ae69f2a Use err(3). Nm vgrind -> Nm in man page. 1997-08-25 06:36:04 +00:00
Joerg Wunsch
f778764443 Make the MD* header files C++-aware. Also, string arguments are supposed
to be of type `const char *'.

PR:		3291
Submitted by:	dima@tejblum.dnttm.rssi.ru (Dmitrij Tejblum)
1997-08-25 05:24:31 +00:00
Warner Losh
daca865092 Change from using sys/param.h and MAXPATHLEN to using limits.h and PATH_MAX
to avoid the NOFILE problem.  Back out NOFILE kludge.  Fix unexploitable
buffer overflow in tipout.c.
Reviewed by:	millert@openbsd.org (tipout.c)
Submitted by:	millert@openbsd.org (rest of idea)
1997-08-25 05:02:11 +00:00
Brian Somers
f525ead3dd Lose a couple of extraneous backslashes. 1997-08-25 01:52:11 +00:00
Garrett Wollman
7022ea0a0c Configurably don't reply to broadcast or multicast echos. There are still
potential problems with other automatic-reply ICMPs, but some of them may
depend on broadcast/multicast to operate.  (This code can simply be
moved to the `reflect' label to generalize it.)
1997-08-25 01:25:31 +00:00
Brian Somers
9f81e05855 Add examples of "!bg", "add 0 0 HISADDR" in ppp.conf
and how to do ppp over tcp/ip.
1997-08-25 01:07:08 +00:00
Brian Somers
944f709824 Make the code format more in line with style(9).
Update loadalias to use the new libalias api.
Update to version 1.1.
1997-08-25 00:29:32 +00:00
Steve Price
30761f8783 Forgot to cvs add this new file. 1997-08-24 21:28:38 +00:00
Steve Price
fba1c154b2 Try to avoid mounting filesystems multiple times. Also while
I'm here do some -Wall cleaning.

PR:		kern/1839
Reviewed and corrected by:	joerg
1997-08-24 21:02:51 +00:00
Steve Passe
8ee0110a44 A clean fix for the spl "deadlock before smp_active" problem.
Added a new variable, 'bsp_apic_ready', which is set as soon as the bootstrap
CPU has initialized its local APIC.  Conditionalize the GENSPLR functions
to call ss_lock ONLY after bsp_apic_ready is TRUE;  This should prevent
any problems with races between the time the 1st AP becomes ready and the
time smp_active is set.
1997-08-24 20:33:32 +00:00
Andrey A. Chernov
32a7305976 Bump minor number due to issetugid() 1997-08-24 19:19:08 +00:00
Andrey A. Chernov
cefcce61a0 Add winnstr family and fake resizeterm from ncurses 4.1 for compatibility
with recent applications.
Bump minor number.
1997-08-24 19:09:45 +00:00
Joerg Wunsch
1818482d81 Cosmetic: distinguish in diag message between rebuilding and updating
the database.

PR:		3397
Submitted by:	taob@risc.org (Brian Tao)
1997-08-24 18:23:21 +00:00
Joerg Wunsch
71c971334b Fix description of -t option.
PR:		3382
Submitted by:	furuta@sra.co.jp (Atsushi Furuta)
1997-08-24 18:21:34 +00:00
Joerg Wunsch
6caa839def Mention the various reasons for messages of the form:
xxxxx filesystem is not available

Inspired by:  PR 3311, and a following discussion with Mikhail
1997-08-24 17:51:12 +00:00
Steve Passe
e49f6a7c8d Fix a deadlock caused by one of the spl functions being called before
ss_lock() can run.

Noticed by:	dave adkins <adkin003@gold.tc.umn.edu>
1997-08-24 17:26:37 +00:00
KATO Takenori
5651ff29eb Code cleanup. Removed !FreeBSD code arround sysctl stuff. Renamed
doclusterread/doclusterwrite into ext2_doclusterread and
ext2_doclusterwrite, which are unique names.  Moved #include of
<sys/sysctl.h> to the top of the file.

Pointed out by:		Bruce Evans <bde@zeta.org.au>
1997-08-24 11:23:17 +00:00
KATO Takenori
9f23ef9d3c Synchronize with sys/i386/i386/microtime.s revision up to 1.29. 1997-08-24 11:09:36 +00:00
Joerg Wunsch
ca4da38dc6 Make it explicit that arguments to -c are in hex, while other numbers are
in usual "C" notation.

Also fixed the examples section.

PR:		3313
1997-08-24 08:50:25 +00:00
Masafumi Max NAKANE
7f65d26404 Bring in the latest (08/22/1997) version from the Internic. 1997-08-24 08:17:02 +00:00
Stefan Eßer
02d18b728b Go back to previous definition of FE_CACHE_SET, since the problem
caused by read-multiple on the 53c810a should have been fixed by
adjusting the alignment of the global header in rev 1.104 of ncr.c.
1997-08-24 06:24:51 +00:00
Steve Price
951122de0a Always include the section name in the .Xr macro and cleanup
.Nm macro usage.

PR:		docs/3940
Submitted by:	Kazuo Horikawa <k-horik@yk.rim.or.jp>
1997-08-24 02:27:08 +00:00
Steve Price
573414e0c1 Correct error message when the superuser tries to change
the group of immutable files.

PR:		bin/3445
Submitted by:	Pius Fischer <pius@ienet.com>
1997-08-24 02:10:29 +00:00
Steve Price
b74ad5265d Correct confusing error message when called as 'stty -sane'.
PR:		bin/3573
1997-08-24 00:26:12 +00:00
Steve Passe
886e789627 The last of the encapsolation of cpl/spl/ipending things into a critical
region protected by the simplelock 'cpl_lock'.

Notes:

 - this code is currently controlled on a section by section basis with
   defines in machine/param.h.  All sections are currently enabled.

 - this code is not as clean as I would like, but that can wait till later.

 - the "giant lock" still surrounds most instances of this "cpl region".
   I still have to do the code that arbitrates setting cpl between the
   top and bottom halves of the kernel.

 - the possibility of deadlock exists, I am committing the code at this
   point so as to exercise it and detect any such cases B4 the "giant lock"
   is removed.
1997-08-24 00:05:37 +00:00
Steve Price
a89989b26f Get rid of integer overflow warning.
PR:		misc/3575
Submitted by:	Bruce Evans <bde@zeta.org.au>
1997-08-23 23:51:12 +00:00
Steve Price
1e915c361e Remove extraneous init parameter.
PR:		kern/3595
Submitted by:	Chiharu Shibata <chi@rd.njk.co.jp>
1997-08-23 23:38:12 +00:00
Steve Price
18de8a52e4 Remove extra definition of vwprintw.
PR:		bin/3623
Submitted by:	Stephen J. Roznowski <sjr1@flash.net>
1997-08-23 23:23:07 +00:00
Brian Somers
81816fc583 Phone the number after the ``|'' whether the dial
OR login script fails.

Catch a small typo in the man page.
1997-08-23 23:14:24 +00:00
Stefan Eßer
230847098b Some cleanup and a fix for an assumed chip bug:
- Do not malloc SCRIPTS memory for those parts of the microcode that
  are to be loaded into the on-chip SRAM of the 53c825a or 875 ...
- Modify ncr_chip_lookup to make adding new entries easier.
- Disable use of on-chip SRAM for the 53c825 rev 0x10 to 0x12, since
  there seems to be a problem with rev 0x11, while 0x13 is known to
  work. (Tested by Chuck Robey <chuckr@glue.umd.edu>).

This code will be merged into 2.2-stable after a few more days of
testing in -current.
1997-08-23 22:01:49 +00:00
Steve Price
bd673ff4e7 .Ar -l -> .Fl l
PR:		docs/3682
Submitted by:	Kazuo Horikawa <k-horik@yk.rim.or.jp>
1997-08-23 21:59:41 +00:00
Stefan Eßer
e6344dbdaa Minor corrections to the code added in rev. 1.100 and 1.101:
- fix features of 53c860
- correctly adjust data structure to cache line boundary (32 bytes)

Submitted by:	Gerard Roudier <groudier@club-internet.fr>
1997-08-23 21:53:47 +00:00
Steve Price
81eaff0252 Remove the reference to the nonexistant dump(5) manpage.
PR:		docs/3704
1997-08-23 21:52:47 +00:00
Steve Price
aeaa52dbdc Cleanup inconsistencies in the manpage.
PR:		docs/3709
Submitted by:	Takahiro Yugawa <yugawa@orleans.rim.or.jp>
1997-08-23 21:42:46 +00:00
Steve Price
da0a2ddec5 Reference the correct version of BSD at the bottom of the
manpage.

PR:		docs/3735
1997-08-23 21:32:50 +00:00
Steve Price
5b9062772d Protect against target containing a '%' which might be misinterpreted
by err(3).

PR:		bin/3864
1997-08-23 21:25:24 +00:00
Steve Price
fae3ea2ced Increase the retry timeouts.
PR:		kern/3447
Submitted by:	dawes@rf900.physics.usyd.edu.au
1997-08-23 21:05:32 +00:00
Steve Price
fa07a1fae9 .Nm key -> .Nm
PR:		docs/3877
Submitted by:	Kazuo Horikawa <k-horik@yk.rim.or.jp>
1997-08-23 16:58:52 +00:00
Steve Price
eb1ca88d07 Turn off hyphenation in this manpage so that .Xr macros, don't get
split between lines.

PR:		bin/4080
1997-08-23 16:22:30 +00:00
Steve Price
0c30eecaa0 Teach ctags(1) how to handle intermediate whitespace in macros
and function definitions.

PR:		misc/4128
Submitted by:	Shigio Yamaguchi <shigio@wafu.netgate.net>
1997-08-23 16:13:45 +00:00
Steve Price
cf90bd0cbb Balance single quotes.
PR:		docs/4161
Submitted by:	Kazuo Horikawa <k-horik@yk.rim.or.jp>
1997-08-23 15:55:58 +00:00
Joerg Wunsch
36d0e2a3e2 common_source: staticize private version of warn() so to not conflict
with libc's version.

lpd: use getopt(3), err(3), add usage(), allow specification of a port #
on the command line as the documentation suggested for more than 10 years.

PR:		docs/3290
1997-08-23 15:53:00 +00:00
Joerg Wunsch
6fe3822809 Open the file r/o if looking only. Make the error message more useful.
PR:		bin/3283
Submitted by:	Martin Kammerhofer <dada@freepass.tu-graz.ac.at>
1997-08-23 15:51:14 +00:00