Commit Graph

6810 Commits

Author SHA1 Message Date
dsl
aaba6e7d29 No need to resizeterm() if size not changed.
On 'fg' just restore old screen contents.
2003-07-05 08:05:51 +00:00
dsl
5ae48961f9 Redraw addresses after screen refresh 2003-07-05 06:48:52 +00:00
agc
2698214c76 Use the proper type for the return value from getopt(3). Allows this
program to be compiled on machines with unsigned chars.
2003-07-04 12:33:08 +00:00
wiz
44b0609fe6 Bump date for last. 2003-07-04 12:13:29 +00:00
wiz
21a565e27c Remove trailing whitespace. 2003-07-04 08:15:00 +00:00
wiz
a681ded17a Use Aq or Ao/Ac instead of \*[Lt]/\*[Gt]. 2003-07-04 08:13:59 +00:00
wiz
ab7901a8b6 Grammar and mdoc improvements. Sort sections. Only mention iconv(3)
in SEE ALSO, since iconv_open(3) and iconv_close(3) are the same.
2003-07-04 07:58:10 +00:00
wiz
ee762782f9 Sort sections, fix typo, add some articles,
and lots of other cleanup.
2003-07-04 07:28:14 +00:00
tshiozak
6a491b80a2 add manpage for iconv(1). 2003-07-04 06:59:52 +00:00
tshiozak
fab9a2fdc1 add locale(1) utility.
Originally written by Alexey Zelkin <phantom@FreeBSD.org>.
So, obtained from FreeBSD with gratitude.  (suggested by wiz.)
2003-07-04 05:41:49 +00:00
itojun
076786421e another fix against unreadable indentation 2003-07-04 04:26:47 +00:00
itojun
2b3103a077 fix unreadable indentation 2003-07-04 04:20:05 +00:00
simonb
c595e9c78e No need to cast the third argument of ioctl() to "char *". 2003-07-02 12:47:00 +00:00
wiz
e07b8295fc Cm So . Sc -> Sq Cm \&. (and similar for :). 2003-07-01 10:26:27 +00:00
wiz
72c59e3ee3 Quote question mark, to get it marked up. Whitespace nit. 2003-06-30 19:17:01 +00:00
wiz
b93a29cdaa Fixes to make these man page look nice with groff-1.19. 2003-06-30 19:12:31 +00:00
wiz
5a9293abc1 Adapt to new naming conventions for tmac files. 2003-06-30 19:08:37 +00:00
bjh21
548e2c20bb Clean up the mechanism used for opening output files. Rather than freopening
stdout onto each file in turn, then writing through fileno(stdout), use
open() and close() like any sensible program.  This saves a lot of system
calls, removes a dependency on the particular behaviour of BSD freopen(),
and allows us to detect and report errors from close().
2003-06-29 22:57:23 +00:00
fvdl
4fdb86c883 Back out previous. 2003-06-29 22:35:35 +00:00
martin
40ee31ef5e Since a caddr_t is (mis-)used as the lwp-id, cast it to intptr_t and use
apropriate format string.
2003-06-29 18:05:06 +00:00
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