[tmux:feature-requests] #111 Add `session-base-index` configuration for use in `choose-session` dialog

2012-12-21 Thread Ben
--- ** [feature-requests:#111] Add `session-base-index` configuration for use in `choose-session` dialog** **Status:** open **Created:** Wed Dec 19, 2012 06:43 PM UTC by Ben **Last Updated:** Wed Dec 19, 2012 06:43 PM UTC **Owner:** nobody It would be useful to configure `choose-session` to

[PATCH] Usage string fixes

2010-07-31 Thread Ben Boeckel
Hi, Attached are two patches to fix the usage information for the join-pane and paste-buffer usage strings. There's also a patch to remove a trailing space in the CHANGES file if it's important. --Ben Index: cmd-join-pane.c =

Environment with new windows

2010-11-11 Thread Ben Boeckel
ng '%' as an ID identifier in target commands would be possible. Commands to query for the current pane with focus and get back its address and ID would also make sense. This problem arises in screen.vim[1] which cannot reliably track a tmux pane to interact with a specific one. --B

Re: Window updates stop until moved

2010-11-13 Thread Ben Boeckel
nfreeze the window by moving > it either to another position in the session or to a different session. I've seen this with the aggressive-resize option on and only one client attached. --Ben -- Centralized D

Re: Environment with new windows

2010-11-17 Thread Ben Boeckel
On Wed, Nov 17, 2010 at 07:40:37PM +, Nicholas Marriott wrote: > No? I tried it and I had other issues (tmux stopped working but it wasn't reliably reproducible) on HEAD. I'll try applying it to Fedora's packages and using those. I'll also see if I can get verbose o

Re: segfault

2010-11-22 Thread Ben Boeckel
PERTERB_ variables make malloc stricter. Not sure if OpenBSD's malloc does anything like that by default, but those can cause crashes on bad pointer manipulation. --Ben -- Increase Visibility of Your 3D Game App &

Re: bind-key question

2010-11-23 Thread Ben Boeckel
s. > in case I want > to map other keys to functions. I'm already thinking about key combos to > switch panes... I've found that C-s works well if you have C-a as your prefix. --Ben -- Increase Visi

Re: Hostname/Command for Window Name

2011-01-13 Thread Ben Boeckel
in tmux) but it doesn't get things that run under interpreters that well (offlineimap is 'python', for instance). Don't have any machines to ssh into at the moment however to verify the auto-hosting right now. I also have the following function in my zshrc:

Re: Hostname/Command for Window Name

2011-01-13 Thread Ben Boeckel
) which is why I have sub-vim shells not set it to blank. Because of this, it should be possible to just output the escape sequence in the default shell's configuration file if an SSH session is detected to set the user@host and it would stick. Just need to use #T and #W in the status format string

Re: Is there some way to send an escape code to the terminal from?inside tmux?

2011-03-14 Thread Ben Boeckel
on machines I use day-to-day, only tmux doesn't support cursor color changes. Logic to set the commands below. --Ben _zle_ins="" _zle_cmd="" () { local _zle_ins_color local _zle_cmd_color _zle_ins_color="white" _zle_cmd_color="magen

Re: 256 color support in status line?

2011-03-22 Thread Ben Boeckel
ferences to using those colors inside panes and windows. Use "colour236". --Ben -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your custo

Re: Environment with new windows

2011-03-26 Thread Ben Boeckel
On Sat, Dec 11, 2010 at 03:08:30PM +, Nicholas Marriott wrote: > On Wed, Nov 17, 2010 at 03:41:03PM -0500, Ben Boeckel wrote: > > On Wed, Nov 17, 2010 at 07:40:37PM +, Nicholas Marriott wrote: > > > No? > > > > I tried it and I had other issues (tmux

Re: Environment with new windows

2011-03-26 Thread Ben Boeckel
On Sat, Mar 26, 2011 at 06:39:12PM -0400, Ben Boeckel wrote: > 0001-Add-support-for-pane-ID.patch > > The original patch rebased onto master > (568c723cf33426c1f7fe9419966cf111792f71fb). > > 0002-Only-store-the-session-back-if-non-NULL.patch > > Fixes the cr

Re: Environment with new windows

2011-03-28 Thread Ben Boeckel
Add a -I flag to new-window and split-window commands (similar to > > > -P) to print the ID of the new window. Feedback? 0001 through 0003 are the same as before and 0004 is the 0008 from last time. --Ben From 1ca8b937415788318a45dcf4671cd83b67f3c54d Mon Sep 17 00:00:00 2001 Fro

Re: Environment with new windows

2011-03-28 Thread Ben Boeckel
ike -P though, think I would prefer to change -t to -c and > use -t but I don't know if people use it already. Perhaps it is unlikely. -t and -c sound better to me as well. --Ben pgpY9oTQGsmWe.pgp Description: PGP signature -

Re: Italics in tmux

2011-04-14 Thread Ben Boeckel
Nicholas Marriott wrote: > Thanks, applied. I made some minor tweaks and changed ~/.screen.conf to > ~/.tmux.conf ;-). So it seems as though this patch has screwed up less somehow. Now I get no reverse video on the status line or search results. Can anyone else confirm?

Re: Italics in tmux

2011-04-15 Thread Ben Boeckel
t;standout". > So, could you also attach output of > > $ infocmp $TERM | grep sitm > > ran on urxvt outside of tmux (or just replacing $TERM for what your > urxvt normally uses)? If your urxvt really does not support italics, you > should either get nothi

Re: Italics in tmux

2011-04-15 Thread Ben Boeckel
Also, could you let us know if this is the case? If so, it might be a > good idea to mention it in the faq. Thanks, this works :) . The FAQ sounds like a good place for it. --Ben -- Benefiting from Server Virtualizat

Re: selection gets cleared when cursors blinks

2011-04-19 Thread Ben Boeckel
untered this issue (I started using tmux around 1.3, but tmux 1.1 on CentOS was also lacking this behavior; urxvt 9.05 if Koji[1] is to be believed). What versions of urxvt are you running? Are you using the daemon/client version or the standalone instance (I have e

Re: Display behaviour, clearing, etc.

2011-05-19 Thread Ben Boeckel
there. Here's my tmux.conf, then; > if it's really important that I try this with an empty one, let me > know and I'll set up a different machine. It's a copy of a "make it > act like screen" example I found, with minor mods. You can also pa

Re: Newbie: Search history

2011-06-11 Thread Ben Boeckel
-backward > bindkey '^[[6~' history-beginning-search-forward Hi, You might want to look into zkbd to help handle the sequences for different keys that differ between shells. My zsh setup is here[1]. For how I use zkbd, look in zsh/config/00-zkbd.zsh in that directory. Happy to help. --Ben

PAM support in tmux?

2011-07-21 Thread Ben Boeckel
Hi, With systemd-logind, there will be the option to kill all user processes on logout. I was wondering whether a patch to start a PAM session for each tmux server would be accepted. It would be a compile-time option and if wanted, options could also be added. Thanks. --Ben [1]http

Re: PAM support in tmux?

2011-07-21 Thread Ben Boeckel
out the Rawhide box when I get a chance). I'll ask the systemd devs if the patch does what is needed. --Ben diff --git a/trunk/configure.ac b/trunk/configure.ac index ba00a79..fce018b 100644 --- a/trunk/configure.ac +++ b/trunk/configure.ac @@ -56,6 +56,13 @@ AC_ARG_ENABLE( ) AM_CONDITIONA

Added pane-base-index option

2011-08-10 Thread Ben Barbour
Hello, I was wishing I had the pane-base-index option this morning, and after learning that it wasn't there (although it was on the TODO list) I just added it myself. It's a very tiny change. At first I thought I'd just use my version, but I think it's about time I start contributing to the open-s

Implement pane_index format string

2011-10-19 Thread Ben Boeckel
issues yet, but I'll use it for a week or so to make sure. --Ben From 7c76a713a897c03482fa18c52d140a8835a3a30e Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Wed, 19 Oct 2011 17:39:16 -0400 Subject: [PATCH 1/4] Implement the pane_index format string --- trunk/format.c |4 1 fi

Re: Implement pane_index format string

2011-10-20 Thread Ben Boeckel
On Thu, Oct 20, 2011 at 07:59:42 +0100, Nicholas Marriott wrote: > Seems fine, but instead of returning (u_int)-1 can we change it to work > like window_index. Seems reasonable. Patch attached (applies on top of previous patches). --Ben From 75cdc56b9bbe2b5b25fd9374d73006325b04a345 Mon Sep

Implement word motion edit actions

2011-10-20 Thread Ben Boeckel
ed it here with success. I don't do much at tmux's command prompt, but I tried to stress test it. --Ben From 2f978366a1e71ee6236647d77b46b2745c9aeaad Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Thu, 20 Oct 2011 01:42:19 -0400 Subject: [PATCH 1/8] Add word-separator option to clients

Re: Implement word motion edit actions

2011-10-20 Thread Ben Boeckel
On Thu, Oct 20, 2011 at 12:17:48 -0400, Ben Boeckel wrote: > @@ -64,7 +75,7 @@ cmd_show_options_exec(struct cmd *self, struct cmd_ctx *ctx) > oo = &global_options; > table = server_options_table; > } else if (args_has(self->args, 'w'

Re: Implement pane_index format string

2011-10-20 Thread Ben Boeckel
And add back the line format string that I deleted. Didn't realize that it wasn't just a hack for pane_index. --Ben From d18fd48cdf53b6affcb3b67a5a89861f0590046f Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Thu, 20 Oct 2011 14:30:23 -0400 Subject: [PATCH 6/6] Add line back to

Re: Implement word motion edit actions

2011-10-20 Thread Ben Boeckel
On Thu, Oct 20, 2011 at 12:17:48 -0400, Ben Boeckel wrote: > In order to do this, I added options for clients (currently just > word-separators) and the associated commands and documentation for them. > This is done in the first patch. Fixing some whitespace in the man page. -

Implement client format strings

2011-10-20 Thread Ben Boeckel
Hi, I've also updated list-clients to use format strings and added formatters for client information as well. The first patch adds the formatting code, the second updates list-clients to leverage it. --Ben From 1bf0c319db1bb0a4c8f910097907ac945f44e7a0 Mon Sep 17 00:00:00 2001 From: Ben Bo

Re: Implement client format strings

2011-10-20 Thread Ben Boeckel
On Thu, Oct 20, 2011 at 14:41:59 -0400, Ben Boeckel wrote: > I've also updated list-clients to use format strings and added > formatters for client information as well. I should really remember to look at strings and man pages *before* sending patches. *sigh*.

Change colours in ins versus cmd edit mode

2011-10-20 Thread Ben Boeckel
Hi, More patches :) . These add options for different message-{bg,fg,attr} colours when in command mode versus insert mode. They just have '-cmd' appended to the message name and the defaults are the inverse of the standard colours. Also updates vim syntax for them.

Re: Implement pane_index format string

2011-10-24 Thread Ben Boeckel
ts > for the pane index format string? I can do that as well if needed. --Ben pgpI4Jm2m4B9Q.pgp Description: PGP signature -- The demand for IT networking professionals continues to grow, and the demand for specialize

Re: Implement word motion edit actions

2011-10-24 Thread Ben Boeckel
options. Can't it use the existing session option? It's currently a window option which is why I made it a client option. Moving word-separators to being a session option altogether should nicely solve the issue, however. --Ben pgppPm1OVpOVv.pgp

Re: Change colours in ins versus cmd edit mode

2011-10-24 Thread Ben Boeckel
han plain white either, so some styling is hard to see). --Ben pgpDgxjZnmxrN.pgp Description: PGP signature -- The demand for IT networking professionals continues to grow, and the demand for specialized netw

Re: Change colours in ins versus cmd edit mode

2011-11-04 Thread Ben Boeckel
tes around the "command" in "command mode". Ah, whoops. New patches attached (they replace the previous ones). --Ben From 312a3ed02b61facec7290a44f6978949f1eefd3e Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Thu, 20 Oct 2011 17:23:39 -0400 Subject: [PATCH 1/2] Options fo

Re: Implement pane_index format string

2011-11-04 Thread Ben Boeckel
On Thu, Oct 27, 2011 at 23:48:05 +0100, Nicholas Marriott wrote: > Can you resend the diff apart from the window index change and I'll > apply it? Sorry, a little confused here; probably shouldn't do hacking this late. What is needed exactly? --Ben pgpqiuU2M6ksR.pgp Descriptio

Re: Implement client format strings

2011-11-04 Thread Ben Boeckel
On Sun, Oct 23, 2011 at 02:14:20 +0100, Nicholas Marriott wrote: > You're missing a : after F in the getopt args so this doesn't work ;-). Gah. I thought I had that... Too many feature patches to test. > I fixed that and applied this now, thanks. Thanks. --Ben pgpyVezXjFsxq

Re: Implement word motion edit actions

2011-11-11 Thread Ben Boeckel
On Mon, Oct 24, 2011 at 13:11:06 -0400, Ben Boeckel wrote: > On Sun, Oct 23, 2011 at 02:19:50 +0100, Nicholas Marriott wrote: > > I know we want an excuse to add client options but I'm not convinced > > this should be it - none of the mode options or key bindings or whatnot &g

Re: Implement pane_index format string

2011-11-11 Thread Ben Boeckel
On Sat, Nov 05, 2011 at 09:03:03 +, Nicholas Marriott wrote: > - window_pane_index change is a > separate thing I guess. Attached. --Ben From a1da8eef7dec2fd729927d33ebc6c3bfde54031a Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Thu, 20 Oc

Re: Implement pane_index format string

2011-11-11 Thread Ben Boeckel
On Sat, Nov 05, 2011 at 09:03:03 +, Nicholas Marriott wrote: > - -F pane_index, need the latest version. Attached. They apply on top of the window_pane_index fix. --Ben From eda10065bbcc951ce4df8cc86979b0ae0262d0b6 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Fri, 11 Nov 2011 17:10

Jump/search memory

2011-11-19 Thread Ben Boeckel
er (since adding jump_to and jump_to_back makes it four copies of really similar code) into one. I'll work on adding the movements to the status line as well (though these might be overkill). --Ben P.S. It seems that the svn mirror (on github) is behind. It has the following as the latest diff:

Re: Implement word motion edit actions

2011-11-25 Thread Ben Boeckel
ow doing to differentiate the two could be done there. --Ben -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudu

Re: Jump/search memory

2011-12-01 Thread Ben Boeckel
p to without using the status line (or to wait for it silently like vi, but that may be unwanted). Word jumping and number modified 'h' and 'l' should suffice I'd think. Patches attached. I also added bindings for 'x' and 'X' in vi normal mode for the s

Feature branches

2011-12-01 Thread Ben Boeckel
tches as slightly different sometimes and rebasing to resolve what's been merged is easiest). There are also quite a few merge conflicts among the branches because quite a few poke at edit mode bindings. --Ben [1]http://git.benboeckel.net/patches/tmux.git/ [2]There's some weird bugs with w

Re: Feature branches

2012-01-12 Thread Ben Boeckel
On Fri, Dec 02, 2011 at 00:24:00 -0500, Ben Boeckel wrote: > dev/add-WORD-motions-to-status > Adds 'B', 'E', and 'W' motions to edit mode. Not sure of emacs > equivalents. Works here. It uses the emacs 'E' behavior. I have ano

Re: Feature branches

2012-01-12 Thread Ben Boeckel
On Thu, Jan 12, 2012 at 21:15:30 -0500, Ben Boeckel wrote: > On Fri, Dec 02, 2011 at 00:24:00 -0500, Ben Boeckel wrote: > > dev/add-WORD-motions-to-status > > Adds 'B', 'E', and 'W' motions to edit mode. Not sure of emacs > >

Re: Try the iTerm2/tmux integration

2012-01-23 Thread Ben Boeckel
;&', or '#' maybe? > Window panes had no race-free identifier. I defined pane IDs as a > monotonically increasing integer assigned at creation time, and > referenced with a % sign. For instance "break-pane -t %1". This is in trunk already. Is this duplicating t

Re: Patch: add window ID and session ID. Make window pane ID and window ID referencable in targets. Improve list-windows.

2012-01-30 Thread Ben Boeckel
aps panes into a window for notifications of things and such. This window could then be moved out of the way and around sessions as needed without locking a position in some session down as the target. - --Ben -BEGIN PGP SIGNATURE- Version: GnuPG v1

Permission error when getting cwd

2012-02-05 Thread Ben Boeckel
If you have a process running in a window and create a new window with it focused, a NULL dereference can occur if the process is not owned by the user (e.g., a root shell). Patch attached. --Ben >From c9d364132951dcba3a46af008d00edbb0ac6355d Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date:

Minor touchups

2012-02-05 Thread Ben Boeckel
Two (separate) patches. The first updates vim syntax for new options in trunk. The second re-alphabetizes the session option table data again. --Ben >From de4721ca01405d526f7a8a90f8784cc66f3189ea Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Mon, 6 Feb 2012 00:05:03 -0500 Subject: [PATCH

Re: Permission error when getting cwd

2012-02-06 Thread Ben Boeckel
ess I didn't swap the compare around. --Ben -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plu

Re: Patch - add -F to display-message command

2012-02-06 Thread Ben Boeckel
format_window_pane call. - --Ben -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBCgAGBQJPMI+BAAoJEKaxavVX4C1XwLgQAJs7hmU1nGJYxGqUeaN4LJvC 0n1fCNQ8f0m33KnGLpT8nvCcYeGXSL4Y5mr8NxawCYmL+ZiUWe8kz5C0bG1MiyY2 QVjAmNlh49YeFx0dfGDBo5rqdLTs6S7ioKQI+cxNrCmIs

Fix up memory leaks in display-message- F

2012-03-03 Thread Ben Boeckel
information. --Ben diff --git a/cmd-display-message.c b/cmd-display-message.c index 1b87e77..f8b69d0 100644 --- a/cmd-display-message.c +++ b/cmd-display-message.c @@ -49,8 +49,7 @@ cmd_display_message_exec(struct cmd *self, struct cmd_ctx *ctx) const char *template; char

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

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

2012-03-03 Thread Ben Boeckel
xpand(ft, template)); Missing a format_free(ft) call. - --Ben -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCgAGBQJPUvpVAAoJEKaxavVX4C1XurMP/2Nw8r6qTYGrF+leVZOi5TAV TzspSjBRaD1HbOOgWOXD5XUeUr1vmRULUrXasDElmq+h60r5RSn7DqI8uMTgVI9P oM+ujF6UtkuO9wYz1YCQ1RheGlnvUVfej/Ir

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

2012-03-04 Thread Ben Boeckel
the length modifiers. Then it can replace > most of status_replace1. I haven't done this yet because I haven't > really decided what to do with jobs. Alright. Should status_replace get a deprecated attribute to help draw attention to where it is used? Attached is a patch which just

Re: Merging panes

2012-03-15 Thread Ben Boeckel
t-in layouts much simpler. Also, is there documentation on how to create a string like above without making one and then printing it out? - --Ben -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCgAGBQJPYqcrAAoJEKaxavVX4C1X3yY

Re: Add XAUTHORITY to default for update-environment

2012-03-15 Thread Ben Boeckel
retty much all cases (except after attaching to a session over ssh which either clears DISPLAY or makes it point remotely, but that's not easily solvable). - --Ben [1]From discussion on LWN, it'd be nice if Qt/GTK took care of network transparency because then they could have things

Re: script to zoom in and out on a pane

2012-03-29 Thread Ben Boeckel
rib/ directory which gets scripts like this (though I imagine POSIX shell or perl would be preferred due to being pretty much everywhere versus ruby or python). - --Ben -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCgAGBQJPdRICAAoJEKaxavVX4C1XA64QAKZ2W9xRIh+EBB

Re: auto source ~/.tmux.conf

2012-05-04 Thread Ben Boeckel
ough, other potential names: - ~/.tmuxrc (which matches more dotfiles from looking at my ~) - ~/.config/tmux/config (XDG directories) I'll keep my paintbrush dry for now. - --Ben -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCgAGBQJPpH9QAAoJEKaxavVX4C1X6DsP/j

Re: Clickable URLs and other patterns

2012-05-07 Thread Ben Boeckel
erl Maybe this would be of interest: === BEGIN === #!/bin/sh [ -z "$TMUX" ] && exit 1 tempfile="$( mktemp )" tmux capture-pane tmux save-buffer "$tempfile" tmux delete-buffer tmux new-window -n urlview "urlview $tempfile; rm $tempfile"

Re: [PATCH v2 1/4] Add cmd-renumber-windows definition

2012-05-07 Thread Ben Boeckel
g with move-window altogether. There's no curclient outside of tmux itself. Should -s be taken into account as a session when -r is around? - --Ben -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCgAGBQJPqGUFAAoJEKaxavVX4C1X9poP/2Np6fhh43AwK3dfahsmusNn nQCSgXuV80mcgRlWn

Re: [PATCH v2 1/4] Add cmd-renumber-windows definition

2012-05-08 Thread Ben Boeckel
ot;[-dkr] " CMD_SRCDST_WINDOW_USAGE, > 0, > NULL, - "[-dkr] " CMD_SRCDST_WINDOW_USAGE, + "[-dk] [-r target-session] " CMD_SRCDST_WINDOW_USAGE, Maybe? --Ben pgpyYiJ6S2Wxv.pgp Description: PGP signature --

Re: [PATCH v2 1/4] Add cmd-renumber-windows definition

2012-05-12 Thread Ben Boeckel
e other flags are ignored (silently). The -r flag might be more interesting if it happens after moving the windows so the windows get renamed in the source and destination sessions. This would also likely need a separate renumber-session command or something. --Ben pgpROLgq6

Re: [PATCH 0/6] Convert choose-* cmds to use formats

2012-05-18 Thread Ben Boeckel
I can get that patch in after if the patches aren't worth modifying before they get committed). > These patches are a precursor to a larger set of patches for choose-tree, > but I wanted to get these out the way first, as they're useful. Sounds fun :) . Can't wait. - --Ben

Re: [PATCH 4/6] Teach {choose,list}-sessions to use formats

2012-05-18 Thread Ben Boeckel
" [-F format] [template]", Missing F: in the getopt string. - --Ben -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCgAGBQJPsuhdAAoJEKaxavVX4C1X4vUQAMxvj3gXaPt92zooD4KRbppr kf0QxfrGEA0nBz58JT1UsxISG4LbmXsg0UNpfVi+lpApQMFeIBZBQXis79Z4PboT iJHZ457YJge2M/224WtWI1oT4FXFn

Re: [PATCH 0/6] Convert choose-* cmds to use formats

2012-05-19 Thread Ben Boeckel
t; > Well, I don't care as much but I'll keep them in order as much as I can? > But I don't want these patches ballooning more than necessary. It's really up to NicM whether the patch would be worth it. - --Ben -BEGIN PGP SIGNATURE- Vers

Movement when block selecting is weird

2012-05-23 Thread Ben Boeckel
t line It appears as if it should work based on cursor placement when moving around after using '$', but it's likely that something just isn't quite hooked up right. There is other weird behavior when block selecting to the left and then using '$', but it is

Re: PATCH: cmd-paste-buffer - synchronize-panes fix

2012-05-26 Thread Ben Boeckel
ably more useful in general (set-option, set-environment, etc.), so that might be the Right Thing here. - --Ben -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCgAGBQJPwPf1AAoJEKaxavVX4C1X5fEQAIlD+ZwPsyjx+1rO5FvEpMbH KstChez2aRbUQqoxP39oSL1HcdhEge3NiX4Mh

Re: [PATCH 1/2] Add the choose-tree command

2012-06-30 Thread Ben Boeckel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Wed, Jun 27, 2012 at 14:20:13 GMT, Thomas Adam wrote: > + "[-S] [-W] [-s format] [-w format ] [-b session template] " \ Extra space after -w argument. I don't see any other issues. - --Ben -BEGIN PGP SIGNATURE--

multiple modifier keys in bindings

2012-09-10 Thread Ben Williams
Hi, Is it possible to use multiple modifier keys in tmux bindings? i.e. rather than just M-right for alt+right, something like MS-right for alt+shift+right. I've read the man pages and it doesn't seem like it's possible, but, I may be missing som

Re: Make tmux honor XDG_CONFIG_HOME if it is set.

2012-10-27 Thread Ben Boeckel
Linux specific, and hence I really don't see the > benefit to this at all. Well, not really *Linux*, but more in the realm of Desktop Environments these days. I'm pretty sure KDE, GNOME, LXDE, and XFCE all use and/or support the XDG environment variables. Another possible solution

Re: Make tmux honor XDG_CONFIG_HOME if it is set.

2012-10-27 Thread Ben Boeckel
E_DIR/tmux instead of /tmp/tmux-$UID, but that's a separate patch). > alias tmux="tmux -f ~/.config/tmux/config" This doesn't work for non-interactive shells (such as those run from dmenu and such). --Ben --

Re: Amalgamation of list-* and choose-* commands?

2012-10-27 Thread Ben Boeckel
but I'm not sure it's worth it unless it makes > the code significantly simpler. If the output is a pipe, list-* behavior should be done as well I would think. --Ben -- WINDOWS 8 is here. Millions of peopl

Re: [PATCH 3/6] Don't exit copy-mode when scrolling with mouse-copy-mode set to "within"

2012-10-27 Thread Ben Boeckel
t;oy == 0) > + if (data->oy == 0 && > + options_get_number(&wp->window->options, > "mouse-copy-mode") == 1) Isn't '2' within? > goto reset_mode; > } > return; --

Re: tmux with multiple monitors

2012-10-31 Thread Ben Boeckel
r than some ruby code that was on github (it should be linked in the archives). --Ben -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynam

Re: script to maximize/restore panes

2012-11-07 Thread Ben Boeckel
not using them with newer tmux versions is bound to break at some point. --Ben -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDyn

Re: script to maximize/restore panes

2012-11-07 Thread Ben Boeckel
quot; | head -n 1 | grep .) ; then > > > Ugh. :) What is this trying to do? (I know what it's doing, it's a > rhetorical question). At this point, the "if" condition is wholly > incorrect. I suggest this: It seems to be trying to count matches

Re: [PATCH 0/1] Hook support: proof-of-concept

2012-11-07 Thread Ben Boeckel
ave. That ability would be worth losing before/after hook calls, IMO. Maybe having both would be nice (-w )? Not sure how that would work if 'during' hooks have a different API than 'before' or 'after' hooks. Would a non-zero exit status from a 'before' (

Re: Tmux hangs after a while

2012-12-09 Thread Ben Boeckel
On Sat, Dec 08, 2012 at 18:29:24 GMT, Guang-Nan Cheng wrote: > set-option -g set-titles-string "@#(hostname | sed 's/..*//')" Why not use #h or hostname -s? --Ben -- LogMeIn Rescue: Anywhere,

Re: [PROPOSED FEATURE & PATCH] Add the ability to automatic renaming to show the cwd.

2012-12-10 Thread Ben Boeckel
t; to change to a project's directory, clear the directory stack, and to use the tmux_title function to set the title on the pane. By default windows in the status bar look like: 1.0-:-irssi and after using cdb it is: 3.0-:uzbl-zsh > So I decided to add this feature to tmux my

Re: [PROPOSED FEATURE & PATCH] Add the ability to automatic renaming to show the cwd.

2012-12-11 Thread Ben Boeckel
On Tue, Dec 11, 2012 at 04:09:17 GMT, Patricio Palladino wrote: > Nice setup. But I find difficult to remember to alwas use a diffent > command to "cd". I don't use it as a standard 'cd' option. I have zsh tab-completion for it too, so it's not that much o

Re: [PATCH] Include command alias in lscm output

2013-02-07 Thread Ben Boeckel
ias ? (*entryp)->alias : > "", (*entryp)->usage); (better wrapped of course). I believe with the patch as-is, it would output: kill-server ((null)) ... --Ben -- Free

Re: End of word in copy mode; don't include following character.

2013-02-12 Thread Ben Boeckel
have it on my TODO list to make the word motion movements not do one-past if EDITOR contains 'vi' or the keybindings are vi-like. Haven't gotten around to any tmux hacking lately though :( . --Ben -- Fr

Re: End of word in copy mode; don't include following character.

2013-02-13 Thread Ben Boeckel
defaults keybindings based on EDITOR, so just the keymap should be fine. > I'd stop at the keybindings configuration: vi-like or emacs-like Probably. I think a function which detected whether vi or emacs should be used is probably in order (ISTR there b

if-shell background changes

2013-02-26 Thread Ben Boeckel
f:121: can't establish current session This happens with or without the '-b' flag. A subsequent sourcing of .tmux.conf is error-free. Is there a way to get if-shell to work without error messages on startup again? Or is there a better way of doing this? Thanks, --Ben --

Re: if-shell background changes

2013-02-27 Thread Ben Boeckel
ing mangled something) and with run-shell updated as well. Thanks, --Ben diff --git a/cmd-if-shell.c b/cmd-if-shell.c index b921f41..4d3e340 100644 --- a/cmd-if-shell.c +++ b/cmd-if-shell.c @@ -59,19 +59,21 @@ cmd_if_shell_exec(struct cmd *self, struct cmd_q *cmdq)

Add TMUX_TMPDIR environment variable

2013-03-19 Thread Ben Boeckel
epted, a more general way which I can use to put sockets there is acceptable for me. Thanks, --Ben >From 56057f3d7b33f78512d1ec68f37e1d7cb0c32f87 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Tue, 19 Mar 2013 15:05:01 -0400 Subject: [PATCH] Support TMUX_TMPDIR --- tmux.1 | 10 ++-

Re: Add TMUX_TMPDIR environment variable

2013-03-25 Thread Ben Boeckel
hout having to set TMUX_SOCKET every time I want a new server (it's effectively no improvement over -S at that point). --Ben -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Down

[PATCH 1/3] Add wait-for command to tmux.vim

2013-04-05 Thread Ben Boeckel
--- examples/tmux.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/tmux.vim b/examples/tmux.vim index 076115c..e85f8ff 100644 --- a/examples/tmux.vim +++ b/examples/tmux.vim @@ -56,7 +56,7 @@ syn keyword tmuxCmds \ list-buffers loadb load-buffer pasteb paste

[PATCH 2/3] Document -o flag to set-window-option in manpage

2013-04-05 Thread Ben Boeckel
--- tmux.1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tmux.1 b/tmux.1 index 05dfac6..ea4fdad 100644 --- a/tmux.1 +++ b/tmux.1 @@ -2652,7 +2652,7 @@ The default is .Ql \ -_@ . .El .It Xo Ic set-window-option -.Op Fl agqu +.Op Fl agoqu .Op Fl t Ar target-window .Ar op

[PATCH 3/3] Minor whitespace nits

2013-04-05 Thread Ben Boeckel
--- compat/getopt.c | 2 +- layout-set.c| 2 +- tmux.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/compat/getopt.c b/compat/getopt.c index 38c317c..2a60b14 100644 --- a/compat/getopt.c +++ b/compat/getopt.c @@ -107,7 +107,7 @@ BSDgetopt(int nargc, char *cons

[PATCH 0/3] Minor nits in 1.8

2013-04-05 Thread Ben Boeckel
Minor nits I encountered when going over the history for zsh completion script. Ben Boeckel (3): Add wait-for command to tmux.vim Document -o flag to set-window-option in manpage Minor whitespace nits compat/getopt.c | 2 +- examples/tmux.vim | 2 +- layout-set.c | 2 +- tmux.1

Re: Changes to tmux-code.git on SF -- "master" branch rewound.

2013-04-06 Thread Ben Boeckel
em (not the actual values, but any checks would do ("mouse-mode" && "mouse-action") instead). I can see some liking mouse mode in some contexts and not in others, but still want the ability to turn off the mouse wholesale.[1] --Ben [1]But don't take my

Re: Pinentry prompt showing up on seemingly-random terminals

2013-04-08 Thread Ben Boeckel
m/xd3gQpSq In my zshrc I have: GPG_TTY=$( tty ) export GPG_TTY This ensures that any pinentry-curses launched from a terminal gets the right ptty[1]. --Ben [1]I think anyways; I don't really use pinentry much; mutt usually asks me.

Re: [PATCH 0/3] Minor nits in 1.8

2013-04-23 Thread Ben Boeckel
On Sat, Apr 06, 2013 at 00:04:11 -0400, Ben Boeckel wrote: > Minor nits I encountered when going over the history for zsh completion > script. Found another when looking through the docs. --Ben >From 717183b45d71cec7bf12148d4db1db4fec9b7b13 Mon Sep 17 00:00:00 2001 From: Ben Boeckel

Re: [PATCH 0/3] Minor nits in 1.8

2013-04-24 Thread Ben Boeckel
ow unneeded anyways, so I'm now back on master. --Ben -- Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powe

[PATCH 5/6] Move to the indentation of a line on scrolling

2013-06-11 Thread Ben Boeckel
When scrolling by page or half-page, vim moves to the first non-whitespace character of a line. Emulate the behavior in copy mode. --- window-copy.c | 4 1 file changed, 4 insertions(+) diff --git a/window-copy.c b/window-copy.c index ee6a2e8..17808b8 100644 --- a/window-copy.c +++ b/window-

  1   2   >