Commit Graph

6636 Commits

Author SHA1 Message Date
garbled 0c0dadc4d9 Apply patch from PR 24832 to allow line lengths longer than 80 chars in
sushi forms.  By Peter Postma.
2004-03-24 19:14:07 +00:00
garbled 732560ccbd Add patches from Peter Postma in PR 24755 to cleanup output in sushi:
* hide the cursor everywhere except in forms (looks nicer)
        * fix repaint with lists (from TODO)
        * fix the form page (removes XXX)
        * force a pos_form_cursor() after every keypress in the forms
          to ensure that the selected field got the focus.
        * tweak the status message a bit.
2004-03-24 19:10:58 +00:00
wiz 4db64d9590 Bump date for previous, and use Em for
emphasis instead of Sy for symbolic for marking up a warning.
2004-03-24 11:26:16 +00:00
fair 91a52bbfc3 Document that TCP wrappers do not work on UDP services, per PR 18960 2004-03-24 04:31:34 +00:00
jdc 4c3bfcd943 Change the "exact match" parameter of set_field_type() to TRUE, to match
the change to match_enum() in libform (src/lib/libform/type_enum.c:r1.8).
From Brett Lymn.
Fixes PR bin/24604.
2004-03-22 19:03:19 +00:00
wiz eca6d46226 Check pkgdb_open for correct return value.
From Peter Postma in PR 24863.
2004-03-22 11:42:51 +00:00
dsl a78ca7231d When searching for the superblock, don't pick an ffsv1 superblock from the
location where we expect to find an ffsv2 superblock.
It could be the first alternate for a ffsv1 filesystem with 64k blocks.
Fixes part of PR kern/24809
2004-03-21 22:07:22 +00:00
dsl 43d718b987 When searching for the superblock, don't pick an ffsv1 superblock from the
location where we expect to find an ffsv2 superblock.
It could be the first alternate for a ffsv1 filesystem with 64k blocks.
Fixes part of PR kern/24809
2004-03-21 21:18:40 +00:00
martin 3259bd6456 Bail out with a proper error message when mandatory configuration entries
are missing. While there improve error messages slightly.
Inspired by PR kern/24807.
2004-03-21 16:31:22 +00:00
dsl 42e3b20f75 Fix PR kern/24809 properly... 2004-03-21 12:37:48 +00:00
mrg 057c3b737e in -r mode, if given "-s sensor_list", only list the given sensors instead
of always listing them all
2004-03-21 10:52:26 +00:00
wiz 08abac00be New sentence, new line; use Ev for environment variable;
use "its" where correct; use standard section headers; add missing .Os.
2004-03-20 18:54:33 +00:00
dsl 9d06a8cddd When searching for the superblock, check that the fs_sblockloc field
matches the location we read it from to ensure we don't have one of the
alternate superblocks.
Fixes part of PR kern/24809
2004-03-20 14:09:44 +00:00
jdolecek ac4f86b471 log also the time when the job finishes (with CMD FINISH tag), and change
the tag for job start log to ``CMD START''

adresses PR bin/22201 by John Hawkinson
2004-03-20 10:42:00 +00:00
jdolecek 098027866f when encoding the command for printing in logs, use strvisx() instead
of homegrown code, and skip leading white space
2004-03-20 10:38:34 +00:00
jdolecek 580f716bfc document -x - adresses PR bin/22201 by John Hawkinson
reference rc.d framework instead of rc/rc.local
sprinkle couple more .Pa's
2004-03-20 10:04:13 +00:00
jdolecek 251e6a062a convert to mandoc, bump date 2004-03-20 09:18:03 +00:00
jmc 6fe4ead562 Convert to usage of UUDECODE_FILES and standardize on filename extension 2004-03-19 08:07:22 +00:00
keihan 21e07a3de8 s/netbsd.org/NetBSD.org/g 2004-03-16 14:31:15 +00:00
lukem 709e718d29 fix a typo in a comment, and expand the description of x86_boot_params. 2004-03-14 23:05:47 +00:00
wiz 46d960757a Add example to keymap description. Use more macros. Bump date. 2004-03-13 23:43:45 +00:00
dsl 7b024ef69c Add a -o keymap=zyz option that will set the boot keymap.
If a character in the map is typed, it gets replaced by the one following.
2004-03-13 22:51:50 +00:00
garbled c5fb5d0d44 Apply patch from Peter Postma to fix the handling of nfsd_flags in rc.conf. 2004-03-10 19:03:16 +00:00
garbled 8a2d792237 Apply revised patch from bin/24647 by Peter Postma:
Adds a confirmation check before processing the data you have entered, or
sushi has entered for you on a form.
2004-03-09 20:26:24 +00:00
garbled 0f7c881113 Apply patch from Peter Postma on tech-userlevel:
I've made a patch for sushi(8) for setting environment variables at startup.
This might be useful when a user needs a different terminal type.
The patch also fixes the searchpaths when the config file does not
contain any.
2004-03-09 20:16:16 +00:00
garbled 0e2f4ba6c4 Apply patches from bin/24642 by Peter Postma to fix the "no help is
available" message from sushi's help system.
2004-03-09 19:22:22 +00:00
garbled 1c06ce13b0 Apply patch from PR bin/24559 to fix incomplete lines in some forms.
From Peter Postma
2004-03-09 19:10:20 +00:00
itojun 3e6b951d2a use "volatile sig_atomic_t" for gothup; Havard Eidnes 2004-03-06 20:29:25 +00:00
itojun 451af9862c make SIGHUP handler very small, and call init() from the main poll() loop.
should fix PR bin/24682.
2004-03-06 14:41:59 +00:00
itojun 26e2172ca7 MAX_IFS is no longer needed. Maxim Konovalov 2004-02-28 19:27:49 +00:00
enami 0790d0f46f Set DO[WM]_STAR if we mean `*' so that @yearly/@monthly/@weekly are
interpreted as documented/expected rather than "0 0 1 1 0-7" /
"0 0 1 * 0-7" / "0 0 1-31 * 0" respectively.  Fixes PR#24547.
2004-02-27 23:22:09 +00:00
dbj c4278791eb for -x -I output, use just MB instead of MB/s in header 2004-02-25 03:39:14 +00:00
wiz d5d52b4515 Fix some typos. 2004-02-24 15:12:18 +00:00
jdc d853cbbaf4 Make pstat -f work on sparc by adjusting the offset of the buffer passed
to sysctl in getfiles().

XXX: Possibly the correct fix is to make sysctl() not return an array which
contains structs with different alignment constraints.
2004-02-22 12:30:11 +00:00
lukem 804acb39e4 be more explicit in describing how the default local IP address is determined 2004-02-22 11:34:16 +00:00
wiz e3fc4b66c3 Spell the plural of suffix "suffixes", not "suffices".
Inspired by PR 24400 by Todd Vierling.
2004-02-13 17:56:17 +00:00
wiz d20841bb64 Uppercase CPU, plural is CPUs. 2004-02-13 11:36:08 +00:00
wiz f582138c1b Uppercase CPU. 2004-02-13 10:11:56 +00:00
itojun 5d2c970d68 fflush(stdout) on -A. KAME-PR-584 2004-02-10 14:44:32 +00:00
wiz d77d1962dd s/transmitts/transmits/
From Gavin Atkinson (FreeBSD bug 62346) via jmc@openbsd
2004-02-09 15:43:05 +00:00
jdolecek c98a00090a minor constification 2004-02-07 12:31:15 +00:00
grant 47af3cdb37 no .Ek before .Bk. 2004-02-07 09:41:36 +00:00
jmmv fb74f324b6 Use the correct size when clearing an array. 2004-02-05 16:11:31 +00:00
jmmv 046f9ce786 Print a new line after an information message. 2004-02-05 16:07:51 +00:00
wiz d03fd459c0 New sentence, new line. 2004-02-04 14:25:13 +00:00
jdolecek 93ce8444b4 note DMA is only used in ECP mode, and only with enabled interrupts
also move the DMA section after the mode section
2004-02-03 21:50:27 +00:00
jdolecek 80b6d6890a make 'dma' yes|no as rest of the flags 2004-02-03 21:46:39 +00:00
jdolecek e2ea95d4b0 support the new intr, prime and autolf flags, and update manpage
accordingly
2004-02-03 21:32:02 +00:00
jdolecek 223035c365 add RCS Id 2004-02-03 20:04:56 +00:00
jdolecek bf888d66c5 adapt to changed lpt_mode_t elements, too 2004-02-03 20:04:10 +00:00
jdolecek 4330b5a40e adapt to ioctl interface changes, and g/c the verbose action messages 2004-02-03 20:00:22 +00:00
soren 12e7c81811 As pointed out by Dave Huang, revert back to using 273.15 rather than 273.16
when converting between kelvin and celsius.
2004-02-02 10:36:19 +00:00
soren cf458c9f73 C = K + 273.16. 2004-02-02 07:55:14 +00:00
ross 4875c0a7d0 Handle new-style error return from mknod/pack_dev.c 2004-01-30 19:09:03 +00:00
reed 027c7dd739 Make sure that the Fake mode would give a Verbose message about
the package to be deleted.  (Previously, the Fake mode only mentioned
deinstalling other dependent packages but didn't say anything
Verbose about the package itself.)
2004-01-29 17:41:49 +00:00
reed ab83e1a00d Improve explanations of the -R and -r options. This is partially
based on ideas from Greg A. Woods posted to netbsd-bugs list on
23/Jan/2004.
2004-01-29 01:56:17 +00:00
jdolecek dac0c48d86 copyright police 2004-01-28 17:54:03 +00:00
jdolecek e38936f913 simplify print_lpt_info() 2004-01-28 09:21:55 +00:00
lukem 041ddd7062 Fix dependency for .version.
Noted by Geoff Wing in [bin/24244]
2004-01-27 02:17:46 +00:00
seb fb913be01a Add missing flags from the synopsis.
Fix pasto in -S flag description.

Approved by wiz@.
2004-01-26 09:28:10 +00:00
atatat 3e0cc7e92c Print device names and mount points, if at all possible, instead of
just printing device numbers.
2004-01-25 21:49:04 +00:00
cube 6894b27b47 Allow quoting using single or double quotes inside inetd.conf. Closes
PR 24192 by Tyler Retzlaff.
2004-01-25 10:00:17 +00:00
itojun c0819ecd5d do not disclose endian/alignment by probe packet. from dreaadt@openbsd
via kame
2004-01-25 03:26:30 +00:00
wiz 27ccd5bd0f Remove trailing whitespace. 2004-01-23 20:55:19 +00:00
fair 60093a49f7 Commit patch from PR 22539 to document adding ".SYS" to filenames.
New sentence, new line. Change date. Expand "MOP" as Maintenance
Operations Protocol for permuted index.
2004-01-23 20:46:38 +00:00
wiz e07bd1cab3 Use more macros; |fmt. 2004-01-23 19:56:07 +00:00
wiz e6e47632f7 Drop trailing whitespace. 2004-01-23 19:51:26 +00:00
wrstuden 00675c7efd Re-add support for wiconfig wiX -A #, which chooses between OpenSys and
Shared Key authentication.

From discussions with dyoung regarding how to get my Prism-based Netgear
card working with my Airport base station. Latter now works with
wiconfig wi0 -A 2. :-)
2004-01-23 02:32:52 +00:00
bjh21 f782033436 Add RCSID comments. 2004-01-21 00:33:37 +00:00
matt da824b22a2 Forgot to remove #include <stdbool.h> 2004-01-20 22:24:28 +00:00
matt d6276d7620 Remove "bool" support for now since some platforms are still not able to
cope with it.
2004-01-20 22:11:02 +00:00
jdolecek 7b931f4e42 make standard userland Makefile and enable WARNS=3 2004-01-19 23:34:15 +00:00
jdolecek 8808fb2847 g/c some mdoc.template remains, add info to HISTORY and sprinkle
some .Pa
2004-01-19 23:32:42 +00:00
jdolecek 9062e24a41 some KNF, use err(), make some stuff static and get buildable
with WARNS=3
2004-01-19 23:31:18 +00:00
jdolecek e23cd1a78a Import Gary Thorpe's netbsd-ppbus 1.3. This is NetBSD port
of FreeBSD Parallel Port Bus framework. Work in progress.
2004-01-19 23:22:23 +00:00
itojun a69a0241a1 bump date 2004-01-16 02:28:42 +00:00
agc 478a76b17a At package creation time, record the targets of symbolic links which
are installed as part of the package.

Enable the verification of the integrity of any symbolic links
in the package in "pkg_admin check".

Add a check to pkg_delete to verify the integrity of the symbolic link
before deletion, and to act in the same way as an MD5 failure if the
symbolic link has been modified since package creation time.

Bump version number.

Addresses PR 23048 from Klaus Klein.
2004-01-15 09:33:38 +00:00
jlam 0c45ef07f3 Don't warn and abort if a package with the same ${PKGBASE} already exists
if we're installed a depoted package.
2004-01-14 23:32:36 +00:00
yamt 45717cbc50 init_file: copy status_info from static storage so that
statd doesn't always use the same "status" number.
2004-01-14 10:29:46 +00:00
yamt 65c4e197a1 reset_host: reset actual host infos rather than reset copies of them. 2004-01-14 10:28:17 +00:00
agc f8d5e607b8 Add -S argument to useradd, usermod and userdel, which allows the use of
a trailing '$' character in user names.

Requested in PR 23922 by Takahiro Kambe.

Also, fix a bug in the previous fix to usermod.
2004-01-14 09:35:33 +00:00
itojun bde9df6596 bump version string 2004-01-14 09:21:41 +00:00
agc e75d2f492c Fixes from Todd Miller in PR 24070.
Revert fgetln/asprintf changes from rev 1.26 - fgetln(3) does not return
a NUL-terminated string, so using strchr(3) is inappropriate. As the entry
from the password file is a known size, there's no need to use fgetln(3),
just use fgets(3) for consistency. This also means that an inappropriate
cast to int from asprintf(3) is unneeded, which was apparently causing
problems on OpenBSD's sparc64 port - just be consistent and use snprintf(3).
2004-01-14 08:25:30 +00:00
grant 83867bd596 no need to include errno.h. 2004-01-14 01:50:06 +00:00
grant 99871d087e use ${MACHINE_ARCH} instead of what uname() puts into utsname.machine.
the former represents the CPU architecture, which is what is recorded
in binary packages.

also allow the OS name to be overridden, as pkgsrc doesn't always use
the value of utsname.sysname.

bump version to 20030113.
2004-01-13 08:30:34 +00:00
lukem 8c09d1d81a support MKSHARE=no 2004-01-12 01:18:12 +00:00
hannken 067a3b897d Update the file system snapshot driver:
- Document the kernel thread.
- Rename some functions and variables.
- Return EROFS where appropriate.
- Use shifts instead of 64-bit divide.
- Use a simple_lock to make it MP-safe.
- Add M_CANFAIL to malloc to avoid panic on large cluster size.
- Allow sparse file for backing store and use VOP_BALLOC() to allocate
  space. Default size of backing store is the size of the file system.
2004-01-11 19:05:26 +00:00
christos 9103779d38 Add more info that recent amd's want. XXX: this is not cross-build friendly. 2004-01-11 18:37:35 +00:00
christos 8baf088e39 PR/17103: FUKAUMI Naoki: Make this print the correct OS version and other
info. This breaks each time someone imports a new amd.
2004-01-11 18:37:01 +00:00
itojun 71ee6e8bea typo (struct member name - has to be rtm_addrs). from fujitsu 2004-01-08 06:56:25 +00:00
itojun c257ec3afe backout previous change (removal of pidfile(3) call). requested by core. 2004-01-08 02:48:43 +00:00
wiz 0d0f4c1fdd Fix MAX macro; from Jeff Ito in PR 24008. 2004-01-06 23:02:55 +00:00
wiz b00ba831b1 Fix typo; new sentence, new line;
drop trailing spaces; add comma in enumeration.
2004-01-06 16:22:06 +00:00
hubertf 26d5e2165c Rework a bit to describe the pkg wildcards in their own
section, etc.
2004-01-06 16:15:06 +00:00
hubertf 81887c8837 update for -D being default now for pkg_info 2004-01-06 15:51:44 +00:00
hubertf df32174c19 pkg_info(1) now also shows post-install message by default, if present 2004-01-06 15:48:47 +00:00
wiz b6728a9600 Remove unused max macro. From Jeff Ito in PR 23995. 2004-01-06 13:30:56 +00:00
wiz 727fd51b35 Remove unused (unsafe!) MAX macro. From Jeff Ito in PR 23995. 2004-01-06 13:29:55 +00:00
wiz a2eb139ce9 getopt still looks for -c (killed long ago)
remove unneeded break; after usage();
From Jeff Ito in PR 23994.
2004-01-06 13:28:20 +00:00
jmmv b635f565e7 Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
2004-01-05 23:23:32 +00:00