Package: tweak Version: 3.01-4 Severity: normal
As 'root' in an xterm: # Show current size. % echo $COLUMNS $LINES 99 34 # view hard drive % tweak -l /dev/hda Do "^X w" 24 -- width changes to 24 lines. Do "^X w" 25 -- tweak displays a page of misalligned data, and aborts: { stuff deleted } 0-b7f94000 rw-p 0001b000 03:03 53809 /lib/ld-2.7.so bfc17000-bfc2c000 rw-p bffeb000 00:00 0 [stack] ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso] Aborted % echo $? 134 'tweak' doesn't immediately bail given a width of '99', it just trims it to fit with the prompt: "Width reduced to 29 to fit on the screen". It does bail (same error), if I then hit 'PageDown'. Possible fixes: 1) fetch terminal width before displaying "Enter screen width in bytes (now ##):", but don't accept bad numbers. 2) This could be made "mistake proof" by replacing the "Enter ...width" prompt with a pair of keystrokes that increase/decrease the width, (within the screen limits). Hope this helps... -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.24-rc7-686 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C) Shell: /bin/sh linked to /bin/dash Versions of packages tweak depends on: ii libc6 2.7-6 GNU C Library: Shared libraries ii libncurses5 5.6+20080119-1 Shared libraries for terminal hand tweak recommends no packages. -- debconf-show failed -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]