> You can do it the same way as rename-window but I've forgotten the name of
> the command, maybe command-prompt. Check "tmux lsk" to see how it is bound.
>
> You will need a separate key to turn it off though.
>

Thanks. For the benefit of anyone else, I came up with the following:

bind l command-prompt -p "Logfile:" -I
"/home/chris/logs/tmux-#W.%Y%m%d.%H%M.log" "pipe-pane 'cat >>%%'"

bind L pipe-pane \; display-message "Logging Off"

I did try to use "display-message" after turning logging on, but it didn't
show the prompt when I tried to do that?

Thanks,
Chris
------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to