Package: tmux
Version: 1.3-1
Severity: normal

Programs run via tmux new-window get a wrong terminal size. 
My test case looks like this (from within a tmux session):

> tmux neww "stty --all | grep rows; set | grep LINES ; sh"
speed 38400 baud; rows 39; columns 120; line = 0;
LINES='40'

(LINES should be 39.)

In some programs (mutt, for example), this leads to rendering 
problems as they use the wrong terminal size.

When I look at LINES again from within the shell that is started 
in the above command, it will still be 40 when using dash, but 
it's reset to 39 when the shell is bash or tcsh (both of those 
seem to set LINES and COLUMNS explicitly in their respective rc 
files).


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32.23-grsec (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages tmux depends on:
ii  libc6                  2.11.2-6+squeeze1 Embedded GNU C Library: Shared lib
ii  libevent-1.4-2         1.4.13-stable-1   An asynchronous event notification
ii  libncurses5            5.7+20100313-4    shared libraries for terminal hand

tmux recommends no packages.

tmux 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