open terminal failed: missing or unsuitable terminal: xterm-256color

2012-11-05 Thread David Abdurachmanov
Hi, I was using tmux 1.6 and now moved to 1.7, but I still having the issue. After about a day, I cannot anymore re-attach to my session, I only get: open terminal failed: missing or unsuitable terminal: xterm-256color I have to kill tmux and start from zero. Any ideas what could be causin

Re: open terminal failed: missing or unsuitable terminal: xterm-256color

2012-11-05 Thread Thomas Adam
Hi, On Mon, Nov 05, 2012 at 09:48:29AM +0100, David Abdurachmanov wrote: > Hi, > > I was using tmux 1.6 and now moved to 1.7, but I still having the issue. > After about a day, I cannot anymore re-attach to my session, I only get: > > open terminal failed: missing or unsuitable terminal: xt

Re: script to maximize/restore panes

2012-11-05 Thread Kazuhiko Sakaguchi
Thanks to get interested in my work! 1. I improved the script and add a usage. Please see https://gist.github.com/3901976 . 2. In maximization, pane-maximize does: - make a new window that has a dummy pane. - swap a dummy pane for a target pane. - register a pair of panes on tmux's $pmtable. This

Re: Tmux: echos to the status bar

2012-11-05 Thread ian m
Thank you for your response. I am not using: set -g status-right "text" that works as expected. I have tried: set -g status-right '#( echo "text" )'this is what causes the issues. A simple case like this can easily be fixed by using the first method, but I am using something like this to get dy

Re: script to maximize/restore panes

2012-11-05 Thread Javier Tiá
On Fri, Nov 2, 2012 at 11:15 PM, Kazuhiko Sakaguchi wrote: > Hi all. > > I wrote a script to maximize and restore panes in tmux. It's similar > to the tmux-zoom. > > https://gist.github.com/3901976 > Why not create a repository of it on GitHub? Thanks, -- Javier -

Re: Tmux: echos to the status bar

2012-11-05 Thread Adrian Luff
Could be UTF-8 characters being sent from your script without UTF-8 being turned on. Try adding the following to you .tmux.conf: > # Treat top-bit-set-option characters in the status-left and status-right > strings as UTF-8 > set-option -g status-utf8 on The only other thing that comes to mind i

Re: Tmux: echos to the status bar

2012-11-05 Thread ian m
I attempted the enabling UTF8, and I thought it actually solved the issue of not displaying the glitched characters, but simply because replaces all my echoed characters as underscores. Once I set TERM to a unicode enabled terminal, everything displayed correctly again, and the glitches came rig

Re: Tmux: echos to the status bar

2012-11-05 Thread Adrian Luff
So in the "standard glitch" picture, what's the actual issue? What should status-right show? I'm guessing the 4 extra zeros in the time aren't desired but…? The changes you observed with UTF-8 suggest that perhaps whatever you're using to insert the signal and battery glyphs (your script?) isn'

Re: Tmux: echos to the status bar

2012-11-05 Thread ian m
Yes you are correct. the 2nd colon and the 4 0s are all glitched text. When tmux was started it happened 5:00, so thats what the glitched text was. sorry it is rather unclear. the time is simply "%l:%M in my .tmux.conf The utf8 underscores were a result of my terminal not supporting utf8, and f

Re: script to maximize/restore panes

2012-11-05 Thread Kazuhiko Sakaguchi
2012/11/3 Kazuhiko Sakaguchi : > Hi all. > > I wrote a script to maximize and restore panes in tmux. It's similar > to the tmux-zoom. > > https://gist.github.com/3901976 > > Idea of tmux-zoom is awesome, but it has some problems. > - If title of the zoomed pane is changed, tmux-zoom can't restore