hi there,

old habits die hard, but i wouldn't mind drowning screen(1)..

so i am biting the bullet and trying to convert my spartan
.screenrc to .tmux.conf, this mail being the result of that
process, hopefully seen as constructive criticism...


a cosmetic start, i personally think that '.tmuxrc' might be
a better name as it runs commands as opposed to simple
configuration..  also, in openbsd i came to associate most .conf
files with a man page as well...  (i have typed man tmux.conf now
for the 15th time, sigh)


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...


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?
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
visual bell with configurable text

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
# bind-key     previous      # i have no idea how to bind backspace
  bind-key   " list-windows  # this is not working, still does split-window
----------------------------------

(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)

- socket_path (also in $TMUX) contains double slash
  (/tmp//tmux-1000/default, debug level 0)

- 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..

how are the other screen guys doing?  lots of pain? ;]

-f
-- 
does the name "pavlov" ring a bell?

Reply via email to