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
(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
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
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:
(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
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,
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
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
* 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