Bug#602674: wrong terminal size in tmux new-window

2010-11-06 Thread Alexander Bochmann
Please disregard this bugreport, as I couldn't reproduce it on another Debian squeeze system: There is no output on the set | grep LINES part (same on an OpenBSD system with tmux). Moreover, I noticed that the variable stays at 40 regardless of the actual terminal size on this machine, so I

Bug#602674: wrong terminal size in tmux new-window

2010-11-06 Thread Alexander Bochmann
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 s