Commit Graph

7333 Commits

Author SHA1 Message Date
fair c223370599 Document that tr(1) was written for US-ASCII and may not work as
expected on other character sets which do not share ASCII's properties
(e.g. a symmetric set of capital and lower case characters), per PR 18738

Change all double quotes to nroff macros.
Change "System V" references to the .At macro.
2004-03-24 06:35:53 +00:00
fair c680acdbd9 Document that the flags in the configuration file are parsed
in a case-insensitive manner, per PR 22985
2004-03-24 02:25:15 +00:00
fair 11b2aeb6e2 Fix comment per PR 24437; make(1) tries "makefile" first, and then
"Makefile", not the other way around as previously documented.
2004-03-24 00:59:40 +00:00
snj a726afffcb New sentence, new line. 2004-03-21 18:48:20 +00:00
simonb 221634063e Fix option handling so that you can show information about more than
one thing at a time.
Patch from Chris Demetriou a very long time ago.
2004-03-21 10:02:12 +00:00
heas 209ebbab46 - deal with a dead tty in ttyflush() by cleaning-up and exiting instead of
returning a failure code and processing that all the way up the stack.
- deal with a dead peer similarly and do it without setjmp/longjmp() (at
  christos' request).

These fix bin/20304 and my own observations when the remote abruptly closes
the connection.
2004-03-20 23:26:05 +00:00
heas d5561e39ff remove duplicate description of DEFAULT keyword (introduced by me). 2004-03-20 23:10:01 +00:00
christos 4d4a846694 PR/24862: Peter Postma: From Andrey Matveev via OpenBSD:
1. use socklen_t instead of int
2. compare socket error return value to == -1 instead of <= 0
2004-03-20 17:07:33 +00:00
wiz f05120b375 Add Xref to mscdlabel, bump date. 2004-03-18 21:13:19 +00:00
christos 3506cd1fa5 - KNF
- detect and print more errors
- use strtol() instead of atoi()
- use getprogname()
2004-03-17 17:54:25 +00:00
christos eee22dae1e PR/24796: Colin Percival: CPU-eating loop in lock(1); apply FreeBSD fix. 2004-03-17 17:01:31 +00:00
wiz 2dbbff262f Document -c more accurately. Patch from Aymeric Vincent in response
to PR 24676.
2004-03-17 10:13:10 +00:00
mason 9cc30e773d missed part of identifier on my first pass 2004-03-15 09:13:32 +00:00
mason 387f55ac2e Include year of My Lai massacre, correct spacing in name, and provide slightly
more detail regarding perpetrators.
2004-03-15 09:06:27 +00:00
heas 2a3d05aa4e Do not step over the edge of the buffer (check for '\0'). This just happens
to not lose on i386 because another buffer appears immediately following.
Regress tests all passed.
2004-03-14 21:12:14 +00:00
heas c68b80b9a5 remove double initialisation of SINGL_FLD & SEP_FLAG 2004-03-14 21:09:30 +00:00
jdolecek c370e5310e switch awk to nawk; gawk sources will be removed after some grace period
change blessed by core@
2004-03-13 22:28:47 +00:00
grant 5e5453e284 folllow wiz' lead, add date of pkgsrc/Interix support. 2004-03-12 13:11:27 +00:00
wiz 935372e7be Add xen port and 1.6.2 release date. 2004-03-12 01:23:12 +00:00
uebayasi 9d002ba501 getfl() and cu_take() write a file locally. Open a file with O_RDWR. 2004-03-11 03:47:13 +00:00
uebayasi 7f507fd263 Use O_WRONLY / O_RDWR instead of bare integers. 2004-03-11 03:33:19 +00:00
wiz 610cd4021b Drop trailing whitespace. 2004-03-09 19:04:09 +00:00
hubertf 849866f9c1 Allow custom text printed before (left of) the progress bar from progress(1):
miyu# cat openoffice-linux-1.1.0.tgz | progress -z -p 'Bytes written: ' dd of=/dev/null bs=1m
	Bytes written:    193 MB   13.83 MB/s 0+195211 records in
and:
	miyu# progress -f openoffice-linux-1.1.0.tgz -z -p 'Bytes written: ' dd of=/dev/null bs=1m
	Bytes written:  28% |******                | 57919 KB   14.12 MB/s    00:09 ETA

OK'd by lukem.
2004-03-09 17:04:24 +00:00
dsl c395262f1f Suppress duplicate lines when hexdumping data 2004-03-07 17:20:53 +00:00
mrg 6506e19a17 minor cleanup. 2004-03-06 09:41:36 +00:00
enami 222e389ef2 Print useful line number on error while executing .for directive. 2004-03-06 03:57:07 +00:00
dsl 273835431b Allow menu boxes to be forced down the screen if the message text is long. 2004-02-29 23:13:23 +00:00
junyoung 85b95abd1e pidhash and pgrphash should have been removed from here as well when the
new pid allocator was committed 3/2003.
2004-02-28 05:14:55 +00:00
enami a612fb0b9d Replace rest of exit status `1' with EXIT_FAILURE. 2004-02-28 02:42:45 +00:00
enami 698c01aba0 Fix usage:
- ktrace(1) takes -s.
- ktruss(1) takes -l.
- -C/-c and commands are exclusive.
- make output fits 80 column.
2004-02-28 02:22:31 +00:00
enami 8a1309b72f - Make ktruss(1) works as expected when -c or -C is specified.
- Include pid or file descriptor in error message when
  ktrace(2)/fktrace(2) failed.
- Remove unnecessary cast.
2004-02-28 01:43:07 +00:00
enami 4d34b523bc Fix whitespace usage. 2004-02-28 01:37:56 +00:00
enami 3f98504ee8 Fix whitespace usage and remove unnecessary semi-colon. 2004-02-27 23:06:02 +00:00
enami 6a6547d143 We can't access array[sizeof(array) / sizeof(array[0])]. 2004-02-27 22:48:56 +00:00
enami 35c4c5bed3 Calculate the width again if we start newline at tab character, since
start column changes.
2004-02-27 22:44:38 +00:00
enami 1f8c4c1f20 Rototill for less confusing output, especially when multiple processes
are traced and blocking operation is involved (previously, some system
call isn't displayed or displayed as if it is issued by other process).
2004-02-26 22:00:57 +00:00
wiz f05e6f1a3a occured -> occurred. From Peter Postma. 2004-02-24 15:12:51 +00:00
jdolecek b142758840 sort iconv -l output 2004-02-21 09:16:25 +00:00
sjg a3cc11808b Fix :M so that modifiers in nested variables don't terminate parsing
early.  Add a unit-test to verify it works and keeps working.
Re-jig the unit-tests so that all are sub makefiles.
2004-02-20 09:03:26 +00:00
atatat caea20e952 Add PTRTOUINT64() and UINT64TOPTR() macros to sys/sysctl.h for use by
kern.proc, kern.proc2, kern.lwp, and kern.buf.

Define more MIB for kern.buf so that specific buffers can be selected
(only all/all is supported right now), and use a 32/64 bit agnostic
structure for communcating buffer information to userland.

Convert systat to the new kern.buf method.

Clean up the vm.buf* handling a little.  There's no actual need to
record the dynamically assigned OIDs, since sysctl_data can tell us
what we're looking at.

Oh, and fix a typo in a comment.
2004-02-19 03:56:30 +00:00
jdolecek de243242be insertcol() may insert up to two items to clist, so allocate memory accordingly
this fixes sort regression test 28A and 28B
2004-02-18 20:44:36 +00:00
he 2f8028b1b0 Fix mismatched type error in fropen() usage by converting return
type of zread() from ssize_t to int.
2004-02-18 18:29:07 +00:00
wiz 15d66087e7 Mention compress(1) support, and add bzip2(1) and compress(1) to SEE ALSO.
Bump date.
2004-02-18 09:16:27 +00:00
mrg 91d1fa9407 support decompressing "compress"ed files. from rtr@ with a few minor edits
from me.  code in zuncompress liberally borrowed from usr.bin/compress.
2004-02-18 08:19:48 +00:00
wiz 9ea670a934 Some fixes and formatting changes from jmc@openbsd. 2004-02-17 20:41:49 +00:00
jdolecek c8e0ab671d fix parsing of some +POS -POS variants, as pointed out by sort regression
tests
2004-02-17 20:17:38 +00:00
jdolecek bf96399c09 initialize malloc()ated memory 2004-02-17 19:09:36 +00:00
jdolecek 3b6344c769 ftpos pointer was not updated when fldtab was reallocated; drop completely
in favour of an index counter
fixes bin/24449 by Jun-ichiro itojun
2004-02-17 18:59:13 +00:00
jdolecek d8c927fdbf fldtab[] needs to have one extra element - this marks end of array
adresses part of PR bin/24449 by Jun-ichiro itojun
2004-02-17 13:52:56 +00:00
itojun aa7ee5b5c7 use safer realloc idiom
memset new region got by realloc
2004-02-17 02:38:47 +00:00