Re: Send a reset?

2010-12-23 Thread Dan Tulovsky
I mean the terminal inside tmux. And yes, what I am looking for is the tmux equivalent of screen's C-a Z. thanks dan On Tue, Dec 21, 2010 at 3:56 PM, Nicholas Marriott wrote: > Do you mean the terminal inside or outside tmux? > > If you mean outside: detach tmux, run reset(1)/stty sane and reat

Re: Send a reset?

2010-12-23 Thread Micah Cowan
On 12/23/2010 10:49 AM, Dan Tulovsky wrote: > On Tue, Dec 21, 2010 at 3:56 PM, Nicholas Marriott >> There is no reason we couldn't have a command (or an argument to >> refresh-client) to output rs0 etc but frankly reset(1) generally does a >> better job of it. It can't do a better job of it _insi

Re: Send a reset?

2010-12-23 Thread Nicholas Marriott
On Thu, Dec 23, 2010 at 10:58:04AM -0800, Micah Cowan wrote: > On 12/23/2010 10:49 AM, Dan Tulovsky wrote: > > > On Tue, Dec 21, 2010 at 3:56 PM, Nicholas Marriott > >> There is no reason we couldn't have a command (or an argument to > >> refresh-client) to output rs0 etc but frankly reset(1) gene

Re: Send a reset?

2010-12-23 Thread Nicholas Marriott
Maybe a -R argument to send-keys? Still doesn't really fit... It can do the same as RIS easily. I don't know if tcsetattr() on the master side of the pty works but if it does that'd be cool too. On Thu, Dec 23, 2010 at 07:11:46PM +, Nicholas Marriott wrote: > On Thu, Dec 23, 2010 at 10:58:04

Re: Send a reset?

2010-12-23 Thread Micah Cowan
On 12/23/2010 11:11 AM, Nicholas Marriott wrote: > You mean a command to make like the output came from the application > inside tmux? Yes, exactly! :) -- Micah J. Cowan http://micah.cowan.name/ -- Learn how Oracle Real

join-pane

2010-12-23 Thread Allan Wind
If I create two windows 0 and 1, and then from window 1 try to join-pane -t0 I get an error "Can't join to own window". Is this expected behavior? It works fine if I am in window 0 and do join-pane -t1. /Allan -- Allan Wind Life Integrity, LLC ---

Re: join-pane

2010-12-23 Thread Nicholas Marriott
join-pane takes a pane target so it tries the target as a pane index first, so in the -t0 case you are asking it to join with pane 0 in the current window which is not possible. The -t1 case works because there is no pane 1 so it moves on to try windows. You need to qualify the target to make it

Re: Send a reset?

2010-12-23 Thread Nicholas Marriott
On Thu, Dec 23, 2010 at 11:21:31AM -0800, Micah Cowan wrote: > On 12/23/2010 11:11 AM, Nicholas Marriott wrote: > > You mean a command to make like the output came from the application > > inside tmux? > > Yes, exactly! :) It wouldn't be hard to add, but apart from the reset thing do you have any

Re: tmux-users Digest, Vol 20, Issue 15

2010-12-23 Thread George Nachman
On Thu, Dec 23, 2010 at 11:17 AM, wrote: > Send tmux-users mailing list submissions to >tmux-users@lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, visit >https://lists.sourceforge.net/lists/listinfo/tmux-users > or, via email, send a message with subje

Re: Send a reset?

2010-12-23 Thread Nicholas Marriott
How are you getting the terminal into a state that needs a reset? If tmux's internal state is bad it is probably a bug. On Thu, Dec 23, 2010 at 01:49:42PM -0500, Dan Tulovsky wrote: > I mean the terminal inside tmux. And yes, what I am looking for is > the tmux equivalent of screen's C-a Z. >

Re: Send a reset?

2010-12-23 Thread Dan Tulovsky
I can reproduce this every time. We use Cyclades serial console appliances (http://www.avocent.com/). If I connect to one, and then do a reboot of the Linux server I am controlling, the terminal gets into the weird state I described above. It happens with plain Terminal on the Mac, as well as iT

Re: Send a reset?

2010-12-23 Thread Nicholas Marriott
Probably it ballses up the scroll region. Can you try this and then see if send-keys -R fixes it: Index: cmd-send-keys.c === RCS file: /cvs/src/usr.bin/tmux/cmd-send-keys.c,v retrieving revision 1.8 diff -u -p -r1.8 cmd-send-keys.c

Re: join-pane

2010-12-23 Thread Allan Wind
On 2010-12-23T20:07:16, Nicholas Marriott wrote: > join-pane takes a pane target so it tries the target as a pane index > first, so in the -t0 case you are asking it to join with pane 0 in the > current window which is not possible. > > The -t1 case works because there is no pane 1 so it moves on