ru
aa4e867828
Document the -d option.
2006-12-24 14:23:35 +00:00
ru
e806adde15
Fix markup.
2006-12-24 13:58:17 +00:00
yar
ed3e8ace9a
Add missing things: a prototype and a const qualifier.
...
Found by: WARNS=4
2006-12-23 22:39:38 +00:00
ru
46c72e9240
Nits.
2006-12-23 19:15:39 +00:00
yar
2114dc5cdf
Dynamically resize the Disk column. It was too narrow for modern
...
disk device names such as da0s1b. So we also get rid of the nasty
constant 5 scattered over the code.
Implementing this change is a good chance to improve other bits
around it: init saved lengths early, always check return value from
kvm_getswapinfo().
2006-12-23 18:54:49 +00:00
yar
f3b0f3c65d
Clear to EOL after the end of meter so that its reading can decrease.
2006-12-23 18:03:10 +00:00
yar
9729f09883
Make it possible for meter to reach 100% mark when swap is totally full.
2006-12-23 17:46:32 +00:00
ru
05d1f24e02
Improve markup.
2006-12-23 17:14:01 +00:00
yar
f5202f68c1
Improve style:
...
- Don't define vars inside loops.
- Avoid useless casts.
- Use C idioms.
- Do alike things in a consistent way.
2006-12-23 17:02:09 +00:00
yar
aa4002fd1a
Reposition the "(swap not configured)" sign WRT the new layout.
2006-12-23 16:48:29 +00:00
yar
d6cce3632f
Eliminate a couple of screen coordinate variables
...
that were useless and just obfuscated the code.
2006-12-23 16:39:09 +00:00
yar
ca20d95084
Add some vertical whitespace for easier reading.
2006-12-23 16:31:06 +00:00
yar
f396e814f6
Fix the swap display further:
...
1) Resize the Used column to avoid screen overflow if BLOCKSIZE is long.
2) Track the current swap configuration so that its changes don't break
the display.
Suggested by: bde (1)
2006-12-23 15:40:41 +00:00
yar
c5ff9fb420
Fix the Total line shown if there are >1 swap devices.
2006-12-23 14:30:50 +00:00
yar
9da26b3a81
Start fixing the "swap" display by saving one horizontal position.
...
Now the display won't overflow the 80-char row if BLOCKSIZE=1024.
The new spacing is also consistent with the "pigs" display.
2006-12-23 14:25:17 +00:00
cperciva
3b2e9eb59b
Fic typo in previous commit.
...
MFC after: 3 days
2006-12-23 08:16:54 +00:00
cperciva
b13aff146b
Add two checks for inappropriate options: -U only makes sense in "x"
...
mode, and --strip-components only makes sense in "x" and "t" modes.
MFC after: 3 days
2006-12-23 07:06:37 +00:00
cperciva
a5fb73ad66
Correct the names of some options.
...
MFC after: 3 days
2006-12-23 07:01:59 +00:00
imp
c8daf471f4
Avoid 'bogus' uninitialized warning by initializing rather than
...
playing cute games. It is much simpler, clearer and easier to follow
and understand. Besides, gcc4 likes it better.
2006-12-22 05:54:19 +00:00
rodrigc
6e71b264de
The second argument (type) to socket(2) is an enum, not a bitmask, so parse
...
it as an enum.
If an SCTP SOCK_SEQPACKET socket was opened, kdump would display this
wrong output:
socket(PF_INET,SOCK_STREAM|SOCK_RDM|SOCK_SEQPACKET,0x84)
instead of this correct output:
socket(PF_INET,SOCK_SEQPACKET,0x84)
MFC after: 2 weeks
2006-12-22 05:07:21 +00:00
ru
54c3ccca4d
Prevent a line from being broken on a line boundary.
2006-12-21 22:59:07 +00:00
ru
8a99132532
Improve markup.
2006-12-21 22:44:41 +00:00
ru
d9ff34ca5a
Improve markup and do some minor wordsmithing.
2006-12-21 10:59:48 +00:00
ru
38f526ca48
Markup cosmetics.
2006-12-20 16:57:13 +00:00
ru
c3c62c2185
Document some details better, making it easier to translate.
2006-12-20 15:34:01 +00:00
ru
32424673a8
Be more accurate in the description of the -I option:
...
signaling to a process doesn't necessarily kill it.
2006-12-20 11:57:22 +00:00
cperciva
33a96f5f52
Remove -F option from getopts string -- this option has never done
...
anything apart from invoking usage(), and apparently slipped in by
accident.
Approved by: kientzle
MFC after: 3 days
2006-12-20 06:56:25 +00:00
ru
73c3b50972
The -r option can also cause the files to be extended (not
...
necessarily truncated).
2006-12-19 11:20:34 +00:00
ru
b95ba6dd8d
Refine markup and add the EXIT STATUS section where appropriate.
2006-12-19 10:34:14 +00:00
ru
b85b4a72c4
Improve markup.
2006-12-18 15:36:31 +00:00
dougb
64d068233d
Fix the problem with the nsupdate(8) man page reported
...
in the PR by removing spurious .HP tags, thereby actually
allowing the commands to show up in the man page output,
and making the style consistent with the nslookup(1) man
page. [1]
While I'm here, fix the markup on the first command reference
in nslookup(1).
PR: docs/98009 [1]
Submitted by: Dmitry Kazarov <kazarov@ttk.ru>
2006-12-15 18:02:20 +00:00
ru
75044764a1
Fix the fix in rev. 1.15 so that we jump to the next column
...
instead of always skipping it.
MFC after: 3 days
2006-12-15 17:47:25 +00:00
ru
aeac2bd31e
Fix markup.
2006-12-15 14:14:17 +00:00
ru
a1b968ead2
Fix one minor inaccuracy.
2006-12-15 13:40:53 +00:00
ru
e9575f7c7b
Improve markup and grammar.
2006-12-15 13:37:49 +00:00
ru
8ec27d6b35
Mention what underlining is meant here.
2006-12-15 11:23:59 +00:00
ru
c18cdc85ca
Fix markup.
2006-12-14 19:02:48 +00:00
ru
0f6441774b
Polish markup and wording.
2006-12-14 00:02:44 +00:00
ru
f91f9bc30c
Fix markup nits, add the EXIT STATUS section.
2006-12-13 20:15:49 +00:00
ru
154b86b1ef
Fix the description of the -Btime primary.
...
Noticed by: Vadim Goncharov <vadimnuclight tpu.ru>
2006-12-13 17:02:50 +00:00
ru
f57c769005
Refine the previous revision.
2006-12-13 12:09:41 +00:00
ru
26376028e8
"which -s" will return 0 only if all executables were found, not "any".
2006-12-13 12:07:49 +00:00
ru
f4831848ed
It's `apply echo *'' that is similar to
ls -1'', not
`apply echo a*''.
...
Submitted by: sat
2006-12-13 08:13:14 +00:00
csjp
1315da38ef
Teach login(1) about the make.conf NO_AUDIT variable. This allows us to
...
conditionally build in audit support.
Submitted by: bz
MFC after: 1 week
2006-12-13 06:13:32 +00:00
ru
164381741c
Add missing markup bits.
2006-12-11 11:34:44 +00:00
delphij
ae1fcdf22f
Use explicit braces to avoid ambiguous else.
2006-12-09 15:23:20 +00:00
mpp
f458d34cdf
Do not exit without printing the id information if the uid of the
...
user executing the command cannot be looked up in the password file.
2006-12-09 12:58:14 +00:00
grog
8cd193c682
Change formatting to be more compliant with style(9). Doubtless
...
others will find more things to change.
2006-12-09 02:44:09 +00:00
grog
0c3cf23447
Change copyright notice to the FreeBSD 2 clause notice.
...
Approved by: John Wehle <john\@feith.com>
2006-12-09 02:33:26 +00:00
grog
85bdfaff80
Add copyright notice.
2006-12-09 02:31:24 +00:00