Package: procps
Version: 1:3.2.7-3
Severity: wishlist
File: /usr/bin/watch

Hi,

I'm using watch a lot so thanks for maintaining it. I'm missing a
small feature though. watch will only display the first screen full of
output from the command it runs. Currently I would need the last
screen full of output though. 'cmd \| tail' doesn't work well as lines
are sometimes too long and wrap into the next. So the number of lines
shown by watch differs.

For displaying the last page maybe -l, --last, --tail would be good.

Another feature that might be usefull would be to have multiple
commands with an option how many lines they may take:

watch [[--lines <num>] [--tail] --cmd <command>]*

where --cmd is optional if only one command is given and --lines would
limit the output of the command to at most <num> lines.

Example:

watch --cmd sensors --lines 10 --tail --cmd tail /var/log/messages --tail --cmd 
tail /var/log/syslog

This would display the cpu temperature, the 10 last lines of messages
(counting line wraps) and as much as fits of the end of syslog.

MfG
        Goswin

-- System Information:
Debian Release: lenny/sid
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.22.2-mrvn
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)

Versions of packages procps depends on:
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libncurses5                 5.5-5        Shared libraries for terminal hand
ii  lsb-base                    3.1-23.1     Linux Standard Base 3.1 init scrip

Versions of packages procps recommends:
ii  psmisc                        22.3-1     Utilities that use the proc filesy

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to