Package: multitail
Version: 5.2.2-2
Severity: normal

The documentation states that width of one column can be omitted, as
one would expect, to assign whatever width is available to that
column.  Documented examples suggest that syntax like the following
would work:

$ multitail -sw 100, -R 15 -l ls -R 45 -l ls

but this results in:

     --*- multitail 5.2.2 (C) 2003-2007 by folk...@vanheusden.com -*--
    A problem occured at line 279 in function argv_set_window_widths (from file 
cmdline.c):
    You have to give the width for each window or set it to 0 (=auto width).
    Binary build at Dec 10 2009 22:50:55

The error states that a zero is needed.  Fair enough, but that fails as well:

  $ multitail -sw 100,0 -R 15 -l ls -R 45 -l ls

     --*- multitail 5.2.2 (C) 2003-2007 by folk...@vanheusden.com -*--
    A problem occured at line 907 in function get_value_arg (from file utils.c):
    Value for -sw must be > 0.
    Binary build at Dec 10 2009 22:50:55

So to continue the experiment, I try complying with the constraint above:

  $ multitail -sw 100,1 -R 15 -l ls -R 45 -l ls

     --*- multitail 5.2.2 (C) 2003-2007 by folk...@vanheusden.com -*--
    A problem occured at line 272 in function argv_set_window_widths (from file 
cmdline.c):
    The width of a column must be 4 or greater (or '0' for automatic size).
    Binary build at Dec 10 2009 22:50:55

The constraint is moving, like a carrot to a donkey.  When I try 4:

  $ multitail -sw 100,4 -R 15 -l ls -R 45 -l ls

it renders, but with the wrong geometry.  The right column is much
wider than 4, consuming over 1/4th of the width available on the
screen.

This occurs in both gnome-terminal and xterm, with and without gnu screen.

-- System Information:
Debian Release: 6.0.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages multitail depends on:
ii  libc6                     2.11.3-3       Embedded GNU C Library: Shared lib
ii  libncurses5               5.7+20100313-5 shared libraries for terminal hand

multitail recommends no packages.

multitail suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to