RE: Is there some way to send an escape code to the terminal from inside tmux?

2011-03-14 Thread Sean Estabrooks
Hi Nicholas, > > Hi > > Thanks for your work on this. Was a nice diversion and the tmux source code is quite a pleasure to read. > > Although, h. I'm really not wild about custom tmux escape sequences, > although they have obvious advantages. I'll have to think about it. We > need a better

Re: Is there some way to send an escape code to the terminal from?inside tmux?

2011-03-14 Thread Ben Boeckel
Nicholas Marriott wrote: > Does rxvt support these sequences? I don't think screen does. Probably > best only to check for xterm. I have code in my zsh configuration to set the cursor color based on whether it's in viins or vicmd mode. Of the terminals I'm like to encounter on machines I use day-

Re: Is there some way to send an escape code to the terminal from inside tmux?

2011-03-14 Thread Nicholas Marriott
Hi Thanks for your work on this. Although, h. I'm really not wild about custom tmux escape sequences, although they have obvious advantages. I'll have to think about it. We need a better way to express this kind of stuff since real terminfo flags are so patchy. I think that putting it into t

Re: Is there some way to send an escape code to the terminal from inside tmux?

2011-03-14 Thread Kevin Goodsell
On Sun, Mar 13, 2011 at 6:46 PM, Nicholas Marriott wrote: >> >> The current patch has been tested with xterm and a custom version >> of Putty.  As mentioned in the patch header, the reset sequence >> only works on xterm when you set a default cursor colour, (by >> command line "xterm -cr blue" for

Re: Session remains 80x24 in xterm after using it from (linux) virtual console

2011-03-14 Thread Kenyon Ralph
On 2011-03-14T14:36:59+0100, Ezequiel Garzón wrote: > Hello! After detaching a tmux session from a linux virtual console, > all subsequent attachments from xterm render it as an 80x24 terminal. > Is there any way to force the redraw of the whole screen? > > This is pretty odd behavior considering

Session remains 80x24 in xterm after using it from (linux) virtual console

2011-03-14 Thread Ezequiel Garzón
Hello! After detaching a tmux session from a linux virtual console, all subsequent attachments from xterm render it as an 80x24 terminal. Is there any way to force the redraw of the whole screen? This is pretty odd behavior considering that if terminals of different size are used for the same sess

RE: Is there some way to send an escape code to the terminal from inside tmux?

2011-03-14 Thread Sean Estabrooks
Hi Nicholas, > Does rxvt support these sequences? I don't think screen does. Probably > best only to check for xterm. Good catch.  I really should have thought a bit more before just copy-n-pasting from tty_set_title.  Have changed the code to only operate for an xterm by default now.  Also fixe