> the first feature that i would like to turn off is how tmux
> resizes my putty window to strict 80 columns, probably based on
> COLUMNS. but COLUMNS is lying, i set my windows size in putty to
> 100x25 and the shell doesn't pick it up at login time... it's not
> a big deal really because many programs (like mc) do pick up the
> "real" geometry and adapt...
tmux does not do this, it just issues the terminal initialisation strings to
from whatever terminal you have set it $TERM, in your cases they must include
sequences
which make the terminal resize.
However, you will be glad to hear that in -current, tmux no longer issues these
commands (they are not necessary and interfere with alternate screens), but if
you prefer not to upgrade, putty has an option to disable this: in the options,
under Terminal -> Features, check the "Disable remote-controlled terminal
resizing" box.
> for tmux to dethrone screen, basically i need these to work the
> very same way (maaany years of pavlov reflexes in these), taken
> from screen (my prefix is x):
>
> C-x space: next screen
> C-x backspace: previous screen
> C-x i: info (i have status turned off but sometimes need
> to peek at where i am, screen(1) outputs:
> (23,14)/(99,26)+1024 +flow app mouse bce G0[B0BB] 2(ksh)
> perhaps a "window-info" equivalent in tmux?
Should be easy enough, I'll add it to the todo list.
> C-x ": windowlist -b (a very brief, barebone list of all
> the windows with their titles)
> C-x C-x: last active window
> copy mode
What is copy mode missing?
> visual bell with configurable text
I don't know what this means?
> so i proceeded to try to convert this into tmux syntax:
> ----------------------------------
> set-option -g prefix C-x
> set-option -g status off
>
> unbind-key C-b
> bind-key C-x send-prefix
> bind-key C-x last
> bind-key ' ' next # not working, i must hit C-x C-space
Works for me in xterm, I'll have to try it putty later.
> # bind-key previous # i have no idea how to bind backspace
> bind-key " list-windows # this is not working, still does split-window
This is not correct and should give an error - are you sure you restarted the
tmux server or reloaded your configuration with source-file?
Try:
bind '"' list-windows
Although are you sure you don't want choose-window instead?
> ----------------------------------
>
> (space looks kind of confusing in C-x ? as well...)
>
> so i am not doing very well at the moment..
> some other random issues:
>
> - most of the set-option commands do not state what is their
> default behaviour in the man page.. (like bell-action, etc)
>
> - the error/warning messages in the status line disappear so fast,
> i have no chance of reading them (status is turned off
> otherwise)
You can change the length of time they appear with the display-time option.
> - socket_path (also in $TMUX) contains double slash
> (/tmp//tmux-1000/default, debug level 0)
This is not really a problem except cosmetically, I'm not too worried about it.
> - no matter what i do, i can't make vim colorful.. TERM=screen
> just like with screen, but screen defines a TERMCAP as well.
> even if i do export TERM=rxvt, still everything is b&w..
What does "echo $TERM" show before you attach tmux?
> how are the other screen guys doing? lots of pain? ;]
>
> -f
> --
> does the name "pavlov" ring a bell?