On Sun, Oct 11, 2009 at 04:04:28AM -0600, Nicholas Marriott wrote:
> CVSROOT:      /cvs
> Module name:  src
> Changes by:   n...@cvs.openbsd.org    2009/10/11 04:04:27
> 
> Modified files:
>       usr.bin/tmux   : Makefile cmd.c server.c tmux.1 tmux.h window.c 
> Added files:
>       usr.bin/tmux   : cmd-pipe-pane.c 
> 
> Log message:
> Add a pipe-pane command to allow a pane to be piped to a shell command, for
> example:
> 
> pipe-pane 'cat >~/out'
> 
> No arguments stops outputing and closes the pipe; the -o flag toggles a pipe
> and on and off (useful for key bindings).
> 
> Suggested by es...@.

Actual useful example would be stuff like
pipe-pane 'perl /usr/ports/infrastructure/build/portslogger /usr/ports/log'

thanks :-)

Reply via email to