Re: Add line-insert commands

2012-03-03 Thread Nicholas Marriott
Applied, thanks! On Sat, Mar 03, 2012 at 11:40:21PM -0500, Ben Boeckel wrote: > Hi, > > Attached is a patch which adds 'A' and 'I' bindings when editing the > status line. Not sure of any emacs equivalents. > > --Ben > diff --git a/mode-key.c b/mode-key.c > index f1df0a4..b82e9b9 100644 > ---

Re: Fix up memory leaks in display-message- F

2012-03-03 Thread Nicholas Marriott
Hi I want to be reducing the use of status_replace so I don't want to add it back to display-message. It is a good idea to use format_* inside status_replace, but first it needs to be changed to support the length modifiers. Then it can replace most of status_replace1. I haven't done this yet bec

Re: Patch - Add -h argument to send-keys to safe transmission of keystrokes over all transports

2012-03-03 Thread Nicholas Marriott
Hi These need to be two octets so you can send special keys too. But how about just allowing hex values to be used anywhere? Something like this: Index: key-string.c === RCS file: /cvs/src/usr.bin/tmux/key-string.c,v retrieving revi

Re: Patch - add -F argument to new-window

2012-03-03 Thread Nicholas Marriott
Hi Your mailer seems to have converted to HTML and screwed up the patch, can you either send it inline as text only or as an attachment? Also I guess the same -F flag should be added to split-window? On Sat, Mar 03, 2012 at 07:01:51PM -0800, George Nachman wrote: >Thanks for committing the

Re: Patch - add -F argument to new-window

2012-03-03 Thread Ben Boeckel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Sun, Mar 04, 2012 at 03:01:51 GMT, George Nachman wrote: > Thanks for committing the previous patch. Here is a patch that adds a -F > format arg to new-window that can be used in conjunction with -P. Note that > it doesn't support any of the windo

Add line-insert commands

2012-03-03 Thread Ben Boeckel
Hi, Attached is a patch which adds 'A' and 'I' bindings when editing the status line. Not sure of any emacs equivalents. --Ben diff --git a/mode-key.c b/mode-key.c index f1df0a4..b82e9b9 100644 --- a/mode-key.c +++ b/mode-key.c @@ -35,8 +35,9 @@ * * vi command mode is handled by having a mode

Fix up memory leaks in display-message- F

2012-03-03 Thread Ben Boeckel
Hi, Attached is a patch which cleans up memory in display-message when using a format. It also puts the message back through status_replace for the strftime expansion (reduce duplication of code and such). In addition, status_replace has its own format_tree which expands session and client inform

Patch - Add -h argument to send-keys to safe transmission of keystrokes over all transports

2012-03-03 Thread George Nachman
This patch adds a -h argument to send-keys. It is intended for control mode to avoid any running into problems with transmitting certain bytes over a transport with inband signaling (e.g., telnet) or for sending special keys that the terminal driver might affect (like newlines). Example usage to se

Re: Patch - add -F argument to new-window

2012-03-03 Thread George Nachman
Thanks for committing the previous patch. Here is a patch that adds a -F format arg to new-window that can be used in conjunction with -P. Note that it doesn't support any of the window pane format strings because it doesn't seem to make sense in this context. Index: cmd-new-window.c =

Re: Tmux 1.5 segfault with aggressive-resize enabled

2012-03-03 Thread Nicholas Marriott
Hmm - sorry for the delay. This doesn't happen for me. Can you try latest tmux SVN and see if your steps are the same? Thanks! On Mon, Jan 30, 2012 at 11:17:47AM -0600, Ryan Maus wrote: >How to replicate: >You will need 4 terminal windows, lettered A, B, C, and D, as well as the >agg

Re: Mouse resizing and multiple panes

2012-03-03 Thread Nicholas Marriott
In latest tmux, C-b q will display the pane size. No you can't have panes that are invisible, you have to break them off and rejoin them. On Thu, Feb 09, 2012 at 01:22:56PM +1300, Gino Lisignoli wrote: > Just moved over from screen and I'm enjoying the experience but I have a > couple of quest

Re: tmux clear pane/window

2012-03-03 Thread Nicholas Marriott
send-keys -R will clear a pane, but note that the application inside has no idea this has happened so it may not behave properly unless you also tell it to redraw. On Thu, Mar 01, 2012 at 10:52:32AM -0800, Landon Kuhn wrote: > I'd like to have a key binding to clear the current pane, and another

Re: Compile problem on Solaris 9

2012-03-03 Thread Nicholas Marriott
Hmm. Solaris 9 was working a while ago so it should still work without too much trouble, but I have no access to any Solaris boxes anymore so I can't test. Try adding #include to the other includes at the top of tmux.h? On Thu, Mar 01, 2012 at 12:40:26AM +0200, Robert Nusser wrote: > Hi, > > T