tmux doesn't pass stuff to the terminal it can't understand since it
can't tell what it will do.

making a script and running xtfix first before starting tmux is the
easiest way to do it


On Fri, Sep 17, 2010 at 11:01:19AM +0100, David Chanters wrote:
> hi all,
> 
> i use tmux (from CVS head if it matters) as my login shell -- this all
> works really well.
> 
> i also use xterm as my primary terminal emulator in X11.  Before
> switching to tmux as my login shell, i just ran plain xterm -- and in
> my .bashrc i had a call to a program called "xtfix".  You can find it
> here:
> 
> http://www.steike.com/code/xterm-colors/
> 
> as you can see, it uses xterm control sequences to set a random
> background color of the terminal.
> 
> if i run this inside tmux, the script does nothing but clear the
> screen.  i am assuming then tmux is unable to process the control
> codes.  Does tmux not send them through to xterm then?  Conversely,
> running this script inside GNU screen does work.
> 
> What's the best way around this? i am loathe to have to do something like 
> this:
> 
> xterm +ls -T tmux -e 'xtfix && tmux'
> 
> Which just seems wrong to me.
> 
> Many thanks!
> 
> David
> 
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to