Commit Graph

6790 Commits

Author SHA1 Message Date
darrenr d0ad455673 add appropriate hack to display ktr_buf as the lwpid if -L is supplied on
the command line.
2003-06-28 17:15:07 +00:00
wiz 8da6fdd09d Restrict ".Sm off" to the parts where it is wanted. 2003-06-27 22:25:08 +00:00
dsl e2724ab4be Add support for reading messages from a text file - msg_file() and msg_string().
Use subwin() in msg_prompt_win() now libcurses is fixed.
Some KNF changes I seem to have forgotten to commit on their own :-(
2003-06-27 22:11:59 +00:00
dsl e28e42e092 Improve diagnostic message 2003-06-27 22:06:14 +00:00
wiz 4e996c3a33 End sentence with a dot. From jmc@openbsd. 2003-06-27 21:57:43 +00:00
bjh21 4f65cbad31 Cleanup:
Correct synopsis to show that -l and -b are mutually exclusive.
Put [k|m] in the right typefaces.
Use .Ql for 'k' and 'm' in text.
Refer to the option-argument of -l as <line_length> consistently.
2003-06-27 17:19:54 +00:00
tshiozak f0108a1301 correct how to show size_t. %d -> %lu and cast to unsigned long.
reported by Rob Quinn.
2003-06-27 15:42:12 +00:00
wiz d1084fd16c Quote question mark. 2003-06-27 09:42:24 +00:00
wiz 621498f8a8 Remove superfluous "". 2003-06-27 09:40:17 +00:00
wiz ba22178ad0 Quote question mark. Change width argument in a table to line up 2003-06-27 09:38:58 +00:00
wiz 9e48dea8c5 Pa Ar -> Ar. 2003-06-27 09:15:55 +00:00
wiz 2acfaaf7f5 Quote bang. 2003-06-27 09:06:23 +00:00
wiz 1316e82e58 Undo last two, I will handle this differently. 2003-06-27 08:50:50 +00:00
tshiozak ff5c3e6895 Citrus iconv support(4)
add iconv external I/F (iconv.h - iconv_open()/iconv()/iconv_close()) and
iconv(1) utility.
TODO:
  - bump libc minor.
  - add iconv data files.
  - create manpages: iconv_open(3)/iconv(3)/iconv_close(3)/iconv(1)/
    mkesdb(1)/mkcsmapper(1).
2003-06-27 05:21:49 +00:00
bjh21 4fca23a8b3 Simplify the handling of ifd by initialising it to the default
(STDIN_FILENO), and only overriding that if the user specifies a different
input file.
2003-06-26 23:19:15 +00:00
bjh21 946564c3f6 Remove support for treating "-" as an option rather than an operand. The
practical consequence of this is that "-" is treated the same as a file name,
and can't have options specified after it.  This is consistent with other
utilities and with POSIX.
2003-06-26 23:06:52 +00:00
bjh21 c3c8be9c37 WARNS=3 seems to work here, so use it. 2003-06-26 23:00:07 +00:00
bjh21 5b24c0821c Delint. This largely involves using size_t and off_t appropriately rather
that throwing around unsigned long long.  There are a few LINTED comments
where I'm sure overflow can never occur, and with these lint gives this
a clean bill of health.
2003-06-26 22:49:53 +00:00
wiz 664b3c96d5 Misc mdoc fixes (mostly quoting). 2003-06-26 18:21:45 +00:00
wiz aa313073c8 Add Ns where needed. 2003-06-26 18:14:41 +00:00
wiz 1a75c7b75b Replace Ql by Sq and Dq where appropriate. 2003-06-26 18:14:21 +00:00
wiz e1360c896f No mdoc macros in a man-type man page.
XXX: should be converted to mdoc.
2003-06-26 18:02:38 +00:00
wiz cf60347dc3 No mdoc macros in a man-type man page. 2003-06-26 17:58:50 +00:00
wiz 63a56a56a0 Switch two macros so that both work as intended. 2003-06-26 17:53:33 +00:00
wiz 80cc7b7a7b Quote punctuation so macro works on it (another one). 2003-06-26 17:48:37 +00:00
wiz e6ebf10cb2 Quote punctuation so macro works on it. 2003-06-26 17:47:59 +00:00
wiz fb538fbb96 Change macro usage so it works correctly with 1.19. 2003-06-26 17:46:36 +00:00
wiz 8ea3e956e8 Add another Ns to avoid a space. 2003-06-26 17:14:13 +00:00
wiz 8128a46b63 Add Ns to avoid a space. 2003-06-26 17:13:44 +00:00
wiz 7533801933 End sentence with a dot. 2003-06-26 17:00:55 +00:00
wiz 323aeda0d6 Fix quoting. 2003-06-26 16:48:20 +00:00
tshiozak e376aa8308 Citrus iconv support(3)
add host tools : mkcsmapper and mkesdb
  mkcsmapper - coded character set mapping table compiler
  mkesdb - encoding scheme database compiler
2003-06-26 06:30:07 +00:00
christos 88fd58993a In no-main mode [rpcgen -C -m], don't declare _rpcfoo variables static.
Let the main program declare them extern if it wants, otherwise we get
link failures for variables not defined.
2003-06-25 19:31:08 +00:00
dsl 630ca1a3e3 Revert previous. 'None' means that the "Utility Syntax Guidlines" apply. 2003-06-25 12:56:59 +00:00
dsl 0ac8c637fd Remove getopt() loop, IEEE 1003.1 doesn't say that printf(1) should conform
to the "Utility Syntax Guidlines".
Fixes PR 21970.
2003-06-25 09:54:15 +00:00
bjh21 0de24d10b1 Light KNF and comment tidying. 2003-06-24 18:45:08 +00:00
mjl 91085f010d Add sys/sockio.h to needed includes for SIOCGIFASYNCMAP. 2003-06-24 11:27:50 +00:00
bjh21 c8e096241e Use pathconf() to get the value of {NAME_MAX} for the current directory,
rather than relying on the #defined one (which is wrong on NetBSD).
Dynamically allocate the filename buffer to fit.
2003-06-24 00:09:26 +00:00
aymeric 9bdcb47acd add missing #ifdef __RCSID
(these files are compiled as host tools)
from Nicolas Ollinger, fixes PR#21892
2003-06-23 20:02:53 +00:00
agc a8d6388e6f Add NetBSD RCS Ids. 2003-06-23 13:05:47 +00:00
agc c0db2196e7 Add NetBSD RCS Ids. 2003-06-23 12:15:00 +00:00
christos fc24d74cc3 PR/21645: Mishka: Localized comments don't work with indent. 2003-06-19 15:45:22 +00:00
christos 1f975a33c3 fix fallout from previous ansification (thanks to Juergen Hannken-Illjes) 2003-06-19 11:16:13 +00:00
jrf 285b019fd8 This addresses PR21693. Under certain conditions, su -m will fail because
the pointer to /etc/shells is pointing to the second entry. This change
resets the pointer before looping through the file again. FreeBSD does
this as well. Commit approved by christos and thanks to Geoff Adams for
catching and reporting it.
2003-06-18 21:02:03 +00:00
christos 2658386875 Ansify. 2003-06-18 20:51:00 +00:00
dsl 18439070c7 Do not let the cursor sit on menu lines that do nothing.
(Maybe page up/down should behave similarly - but that one is harder)
2003-06-16 20:57:43 +00:00
lukem 9f376c42d4 Don't coredump when printing '%n' in the prompt if there's no username yet.
Fix from Maxim Konovalov <maxim at freebsd dot org>.
2003-06-15 13:49:46 +00:00
joff 2c4a7474a0 use TCP_NODELAY 2003-06-14 22:43:31 +00:00
drochner 96b62d8a69 no need to #include <sys/dkstat.h> 2003-06-11 17:26:31 +00:00
tron e290120150 Remove old, unused and unsafe shell scripts as suggested by Jeremy C. Reed
on "current-users".
2003-06-11 16:22:10 +00:00