Send a reset?

2010-12-21 Thread Dan Tulovsky
Is there a way to send a Reset in tmux? Sometimes (for example, when using serial consoles) the terminal gets screwed up and the only way to fix it is to reset it. This is cmd+R in Terminal on the Mac. I think it's just C-a r in screen. thanks dan

Re: Send a reset?

2010-12-21 Thread Micah Cowan
(12/21/2010 11:27 AM), Dan Tulovsky wrote: Is there a way to send a Reset in tmux? Sometimes (for example, when using serial consoles) the terminal gets screwed up and the only way to fix it is to reset it. This is cmd+R in Terminal on the Mac. I think it's just C-a r in screen. Default

Re: feature request: ALT-TAB style last-pane command

2010-12-21 Thread Peter John Hartman
Hi, I do something vaguely similar; you could riff off of it and if others have a better suggestion, pipe up. bind BSpace run-shell tmux-swap tmux-swap: #!/bin/sh tmuxcmd=tmux -Lmain cur=$($tmuxcmd list-panes | grep (active) | cut -d':' -f1) if [[ $cur -eq 0 ]]; then $tmuxcmd select-pane -t

Re: Send a reset?

2010-12-21 Thread Dan Tulovsky
Hmm.. so I mapped it back to the default, but it doesn't actually work. As far as I can tell, nothing happens. The currently broken terminal (after a reboot via serial console of the remote server) is not scrolling. All output is on the very last line and stays there. C-b ? shows r:

Re: Send a reset?

2010-12-21 Thread Micah Cowan
(12/21/2010 12:26 PM), Dan Tulovsky wrote: Hmm.. so I mapped it back to the default, but it doesn't actually work. As far as I can tell, nothing happens. The currently broken terminal (after a reboot via serial console of the remote server) is not scrolling. All output is on the very last

Re: Send a reset?

2010-12-21 Thread Nicholas Marriott
Do you mean the terminal inside or outside tmux? If you mean outside: detach tmux, run reset(1)/stty sane and reattach. 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. On Tue, Dec 21,

Re: How do I resize a window to fit the size of the terminal?

2010-12-21 Thread Nicholas Marriott
tmux doesn't do this at the moment, it's a big one on the todo list... windows can't be bigger than the smallest client attached to them (or displaying them if aggressive-resize is on). On Mon, Dec 20, 2010 at 04:39:25PM -0500, Dan Tulovsky wrote: Hi. How can I resize a tmux window to fit

Re: Integration with a terminal emulator

2010-12-21 Thread Nicholas Marriott
On Sun, Dec 19, 2010 at 01:27:46PM -0600, George Nachman wrote: Awesome! Thanks for the update. Is there enough there that I could start testing? I didn't get as much done on vacation as I hoped, but split panes are very close to finished. Not really yet, hopefully will get more done

Re: Integration with a terminal emulator

2010-12-21 Thread Patrick Shanahan
* George Nachman gnach...@llamas.org [12-21-10 18:24]: Sounds good. I had a though the other day that it would be nice to support nested tmux sessions in this mode. I believe tmux doesn't normally support this, but I think it would be great to always run tmux locally to protect against the