Stefan Farfeleder
70c3c978b9
Fix a few cases that relied on 'implicit int' (constraint violation in C99).
2004-07-11 17:37:33 +00:00
Tim J. Robbins
cd2890d712
Fix document year.
...
Noticed by: simon
2004-07-11 15:04:16 +00:00
Tim J. Robbins
5c9fc89962
Add fairly standard ENVIRONMENT and DIAGNOSTICS sections.
2004-07-11 14:47:32 +00:00
Tim J. Robbins
0742d4ed1a
Respect locale settings from the environment.
2004-07-11 14:44:23 +00:00
Tim J. Robbins
40ccfb3137
Add POSIX-style support for multibyte characters to od(1): the 'c'
...
conversion interprets input bytes as multibyte sequences and displays
printable characters in the area corresponding to their first byte.
The remaining bytes are shown as "**".
2004-07-11 01:11:12 +00:00
Tim J. Robbins
ee38feb205
Add a reference to od(1).
2004-07-10 13:11:00 +00:00
Alfred Perlstein
fde3a7d1e9
Decode the "wence" arg to lseek and linux_lseek.
2004-07-10 09:23:53 +00:00
Tim J. Robbins
9c8fd487a5
Initialize cs_invert to "false" in new csets.
2004-07-10 06:28:18 +00:00
Tim J. Robbins
9409835314
Report input errors instead of ignoring them.
2004-07-09 05:15:46 +00:00
Tim J. Robbins
e263a4b46e
Update for multibyte character support: remove BUGS and change the
...
description of the -c option to refer to "values" instead of "byte values".
2004-07-09 02:33:46 +00:00
Tim J. Robbins
ca99cfdd14
Add support for multibyte characters. The challenge here was to use
...
data structures that scale better with large character sets, instead of
arrays indexed by character value:
- Sets of characters to delete/squeeze are stored in a new "cset" structure,
which is implemented as a splay tree of extents. This structure has the
ability to store character classes (ala wctype(3)), but this is not
currently fully utilized.
- Mappings between characters are stored in a new "cmap" structure, which
is also a splay tree.
- The parser no longer builds arrays containing all the characters in a
particular class; instead, next() determines them on-the-fly using
nextwctype(3).
2004-07-09 02:08:07 +00:00
Giorgos Keramidas
26b2243ae7
Build upon the nice work of Alfred and add sorting capabilities to
...
the -m "io" mode of top.
Approved by: alfred
2004-07-08 16:45:55 +00:00
Maksim Yevmenkin
23d1e148af
Make bluetooth compile on all platforms
...
Reviewed by: imp, ru
2004-07-07 22:48:30 +00:00
Giorgos Keramidas
dca30d0f35
Correct a minor syntax mistake.
...
PR: docs/67458
Submitted by: Michel Lavondes <fox@vader.aacc.cc.md.us>
MFC after: 3 days
2004-07-07 21:27:44 +00:00
Ruslan Ermilov
2410103c1d
mdoc(7) fixes.
2004-07-07 19:57:16 +00:00
Ruslan Ermilov
b2a75fdfdf
Fixed bad example.
...
Added reference to the getopts(1) shell builtin.
2004-07-07 17:39:16 +00:00
Ruslan Ermilov
51f98e585b
Fix the NAME section making whatis(1) happy in particular.
2004-07-05 17:12:53 +00:00
Dag-Erling Smørgrav
e38035a512
Additional preemptive unsigned -> signed casts.
2004-07-05 14:55:58 +00:00
Dag-Erling Smørgrav
f92a11552e
ki_pctcpu is unsigned, so we cast to long before subtracting.
2004-07-05 14:52:06 +00:00
Dag-Erling Smørgrav
4946a00b0b
Unhealthy amount of manual code cleanup. Some long lines still remain.
2004-07-05 14:45:57 +00:00
Tim J. Robbins
8160bf78a3
Add support for multibyte characters.
2004-07-05 13:20:03 +00:00
Dag-Erling Smørgrav
ea9e70bf68
Apply consistent indentation. Long lines will be fixed in a separate
...
commit.
2004-07-05 13:12:16 +00:00
Dag-Erling Smørgrav
f6a10fea63
Protoize.
2004-07-05 13:03:35 +00:00
Dag-Erling Smørgrav
cd23263cdd
Sort out the #include mess. In particular, do not #include "os.h", since
...
all it does is provide broken prototypes for standard library functions.
2004-07-05 12:58:47 +00:00
Dag-Erling Smørgrav
1ce57ca079
Mechanical whitespace cleanup.
2004-07-05 12:51:35 +00:00
Dag-Erling Smørgrav
d62a717dae
My previous commit fixed uid filtering, but broke io mode. Unravel the
...
process filtering logic to prevent this from happening again.
2004-07-05 12:48:17 +00:00
Dag-Erling Smørgrav
a578eed9af
Fix selecting processes by uid, which was broken in the previous commit.
2004-07-05 12:22:50 +00:00
Dag-Erling Smørgrav
c8488e24e7
Truncate long file names in stat_display(), as was originally intended.
...
MFC after: 1 week
2004-07-05 11:21:50 +00:00
Ruslan Ermilov
284fcee0c0
Fixed cross-references in SEE ALSO.
...
Emininated double space and hard sentence breaks.
2004-07-04 21:15:37 +00:00
Ruslan Ermilov
1c85060a13
Sort SEE ALSO references (in dictionary order, ignoring case).
2004-07-04 20:55:50 +00:00
Tim Kientzle
0ddb95d12c
Pass the pointy hat, please:
...
All of --help should go to stdout, not some to stdout and some to stderr.
2004-07-04 18:13:01 +00:00
Stefan Farfeleder
5908d366fb
Consistently use __inline instead of __inline__ as the former is an empty macro
...
in <sys/cdefs.h> for compilers without support for inline.
2004-07-04 16:11:03 +00:00
Tim J. Robbins
2e94ae7e0e
Fix a markup nit and a misplaced full stop in previous.
...
Noticed by: ru
2004-07-03 07:07:11 +00:00
Tim J. Robbins
4f45d81178
Document missing multibyte character support in utilities specified
...
by POSIX.
2004-07-03 01:28:21 +00:00
Tim J. Robbins
5854077600
Re-add half of UCB copyright notice that went missing in 1.20.
2004-07-03 01:08:03 +00:00
Ruslan Ermilov
557b7fa148
Deal with double whitespace.
2004-07-03 00:24:45 +00:00
Tim J. Robbins
3fead394ea
Add support for multibyte characters.
2004-07-02 23:43:05 +00:00
Tim J. Robbins
2ac2784f0c
Document the -i option as being a non-standard extension.
2004-07-02 22:56:14 +00:00
Tim J. Robbins
e9fbd31a8c
Add support for multibyte characters.
2004-07-02 22:48:29 +00:00
Ruslan Ermilov
8d26eeb865
Nit.
2004-07-02 22:25:40 +00:00
Ruslan Ermilov
759dce33f8
Fix after rev. 1.24 changes: bump document date, and remove -c
...
from SYNOPSIS.
2004-07-02 22:24:53 +00:00
Ruslan Ermilov
6a3e8b0adc
Mechanically kill hard sentence breaks.
2004-07-02 22:22:35 +00:00
Ruslan Ermilov
839693c44f
Deal with unsafe tab characters.
2004-07-02 19:55:26 +00:00
Ruslan Ermilov
11c798a4de
mdoc(7): Fixed list types.
2004-07-02 19:37:24 +00:00
Ruslan Ermilov
d37ea99837
Removed trailing whitespace.
2004-07-02 19:07:33 +00:00
Ruslan Ermilov
4b6c8c6498
Fixed spelling of the document date.
2004-07-02 18:00:03 +00:00
Oliver Eikemeier
406e58e038
manlint
...
Obtained from: ru
2004-07-02 12:34:13 +00:00
Oliver Eikemeier
f695b5ceca
New variable `.MAKEFILE_LIST', useful for tracing, debugging and dependency tracking.
...
Use
make -V .MAKEFILE_LIST | tr \ \\n | awk '$0==".." {l--; next} {l++; printf "%*s%s\n", l, " ", $0}'
to print a tree of all included makefiles.
Approved by: joerg
MFC after: 1 week
2004-07-02 12:30:28 +00:00
Alfred Perlstein
7fe9a86a5a
Tell what percentage of the total IO a process is doing.
...
TODO: Show system totals.
2004-07-01 15:49:28 +00:00
Alfred Perlstein
db6bb7fc01
New feature, provide a display that shows the amount of IO processes
...
are doing. Toggle this mode by hitting "m" or passing the command line
option "-m io" to top(1). This allows one to identify disk bandwidth
hogs much easier.
2004-07-01 09:12:38 +00:00