Hi Radek,

The attached patch is an attempt at addressing #192395
(http://bugs.debian.org/192395). It does the following:

- Comment TIMEMAX and use it where appropriate
- Use the full width of standard terminal by default (80 cols, instead
of 79 previously), and extends the "line" appropriately.
- Bump SYSMAX from 24 to 256, which (I hope) should be plenty enough
to handle very long and unusual kernel strings
- add a "-w" commandline option to uprecords that switches between
truncated (old style) output and not truncated output

I'm currently on vacation so I hacked that very quickly, and haven't
tested it much, feel free to do so. While hacking this I've spotted a
couple areas that could probably be improved in the code, I'll check
that later on.

Comments?

HTH

T-Bone

--
Thibaut VARENE
http://www.parisc-linux.org/~varenet/

Attachment: uptimed_wide_sysinfo.patch
Description: Binary data

Reply via email to