View Single Post
  #5   (View Single Post)  
Old 25th June 2009
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

Quote:
What do you mean by "resize"?

If I start a tmux session on my home computer, in a Konsole window at 1024x768, then connect to it from my work computer, in a Konsole window at 1280x1024, I get a 1024x768 "window" inside the tmux session, with ......... around the outside. ie, the tmux "window" stays the same size as when it started.
I have a xterm, any size.
# tmux new centerim
[xterm resized]
[dettach tmux (^pd)]

I resize my xterm to any size
# tmux attach
[xterm resized again]

I have this with any program, including tcsh.

Quote:
Screen has the exact same behaviour, unless the command is issued in a full-screen (maximised) terminal/putty/whatever session. I've never found out why it did that and how it could be prevented.. Moreover, if I compare two identical PuTTy sessions (only the hostnames differ in the config files), to almost identical FreeBSD 7.2-STABLE installations running the exact same versions of screen, only one session resizes. The other stays the same. Argh!
I never had this problem with screen, I used screen since FreeBSD 5 orso -- Never even looked at screen configuration either.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote