Re: Launching commands in a window

2010-12-15 Thread Nicholas Marriott
On Wed, Dec 15, 2010 at 03:19:45PM -0500, Lars Kellogg-Stedman wrote: > > Someone suggested treating the rest of the command line as one argument > > if -- is encountered, I'd be happy with that. > > Why require "--"? Looking at the man page: > > new-window [-adk] [-n window-name] [-t target-w

Re: Layouts with "non-main" size specified

2010-12-15 Thread David Goodlad
Hi Nicholas On Sun, Dec 12, 2010 at 2:24 AM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > This looks fine, but thinking about it now I wonder if it might not be > better to finally modify resize-pane so you can specify an absolute > size. > > Then you could achieve the same effect by

Re: Launching commands in a window

2010-12-15 Thread Lars Kellogg-Stedman
> Someone suggested treating the rest of the command line as one argument > if -- is encountered, I'd be happy with that. Why require "--"? Looking at the man page: new-window [-adk] [-n window-name] [-t target-window] [shell-command] ...why is it necessary to terminate the arguments with "--

Re: Launching commands in a window

2010-12-15 Thread Nicholas Marriott
On Wed, Dec 15, 2010 at 02:44:56PM -0500, Lars Kellogg-Stedman wrote: > > What shell are you using? > > Bash. > > > In ksh, if I type: > > > >        tmux neww 'emacs /usr/s > > That's questionable behavior, because how would it handle filenames > containing spaces? You have to intervene and ed

Re: Launching commands in a window

2010-12-15 Thread Lars Kellogg-Stedman
> What shell are you using? Bash. > In ksh, if I type: > >        tmux neww 'emacs /usr/s That's questionable behavior, because how would it handle filenames containing spaces? > An alternative would be to write a little shell function to translate: > > tmux_neww() { >        tmux neww "$*" > }

Re: Launching commands in a window

2010-12-15 Thread Nicholas Marriott
Hi What shell are you using? In ksh, if I type: tmux neww 'emacs /usr/s It completes it just fine. An alternative would be to write a little shell function to translate: tmux_neww() { tmux neww "$*" } On Wed, Dec 15, 2010 at 11:57:36AM -0500, Lars Kellogg-Stedman wrote: > Af

Re: Is it possible to map the apple keys in tmux?

2010-12-15 Thread Robin Lee Powell
On Wed, Dec 15, 2010 at 03:48:18AM -0800, kevin beckford wrote: > I'm using iterm, in os x and tmux. That's going to be up to iterm; you'll need to tell it to cause the apple key to send a keycode of some kind into the terminal. Otherwise, nothing in the terminal can see it at all. -Robin --

Launching commands in a window

2010-12-15 Thread Lars Kellogg-Stedman
After many (many) years using screen, I've recently started working with tmux. While for the most part I really like the design, I've run into a problem with the way the new-window command works. As I understand it, the way to run a command in a new window is this: tmux new-window 'command arg

Is it possible to map the apple keys in tmux?

2010-12-15 Thread kevin beckford
I'm using iterm, in os x and tmux. I'd like to somehow get one keychord to move up in the scrollback by a page ie: C-b C-B or something like that. I turned off the scrollbars, all is well except for this one thing. Is there any way to combine copy-mode AND half page up? -