Re: Integration with a terminal emulator

2010-12-21 Thread Patrick Shanahan
* George Nachman [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 > terminal emula

Re: Integration with a terminal emulator

2010-12-21 Thread George Nachman
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 terminal emulator crashing, but also allow people to ssh to a

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 don

Re: bug in the 'source' command?

2010-12-21 Thread Nicholas Marriott
On Tue, Dec 14, 2010 at 04:47:25PM -0500, Mark T. Kennedy wrote: > 1) remove your .tmux.conf file (to simplify things) > 2) create a file with just the word "new" in it called cmds > 3) start tmux with the command: > > tmux start-server \; source cmds > > 4) do 'tmux attach' (question: why

Re: bug in the 'source' command?

2010-12-21 Thread Nicholas Marriott
Hi Did you already tell me what tmux version you are using? If so, I've forgotten. On Tue, Dec 14, 2010 at 04:47:25PM -0500, Mark T. Kennedy wrote: > 1) remove your .tmux.conf file (to simplify things) > 2) create a file with just the word "new" in it called cmds > 3) start tmux with the command:

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: 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, 2010

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 las

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: refresh-c

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

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 +R in Terminal on the Mac. I think it's just C-a r in screen. Default

Re: Send a reset?

2010-12-21 Thread Dan Tulovsky
Well I'll be.. having this: bind r source-file ~/.tmux.conf sorta breaks that. :) thanks much dan On Tue, Dec 21, 2010 at 3:00 PM, Micah Cowan wrote: > (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)

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 +R in Terminal on the Mac. I think it's just C-a r in screen. thanks dan -