[PATCH V3 3/3] Add man page entry for hooks

2013-04-14 Thread Thomas Adam
This defines a generic HOOKS section, describing a little bit about hooks as well as the two hooks-specific commands to manipulate/show them. --- tmux.1 | 79 ++ 1 file changed, 79 insertions(+) diff --git a/tmux.1 b/tmux.1 index 98b

[PATCH V3 0/3] Hook support

2013-04-14 Thread Thomas Adam
g the same way they used to without hooks defined. Due to the changes I've had to make to support hooks, this has lead to changes in how commands run, and whilst I've made every effort not to bugger it up, I have a wonderful history of doing just that -- so please, test away. :) Any quest

[PATCH V3 1/3] Define hooks infrasructure

2013-04-14 Thread Thomas Adam
\ input-keys.c \ input.c \ job.c \ diff --git a/cmd-set-hook.c b/cmd-set-hook.c new file mode 100644 index 000..ae29b99 --- /dev/null +++ b/cmd-set-hook.c @@ -0,0 +1,98 @@ +/* $Id$ */ + +/* + * Copyright (c) 2012 Thomas Adam + * + * Permission to use, copy, modify, and

Re: tmux, mutt, home and end keys

2013-04-15 Thread Thomas Adam
cat -v and pressing Home/End inside and outside of tmux produce? -- Thomas Adam -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs f

Re: tmux and locales

2013-04-19 Thread Thomas Nemeth
- Mail original - > De: "Nicholas Marriott" > À: "Thomas Nemeth" > Cc: tmux-us...@lists.sf.net > Envoyé: Vendredi 12 Avril 2013 15:18:32 > Objet: Re: tmux and locales > > We have a font to draw the large letters and it only has 0-9 A, P and >

[PATCH 1/1] choose-tree: Fix current selection when using '-u'

2013-04-21 Thread Thomas Adam
When choose-tree learnt the '-u; option to render the tree fully expanded, it didn't then reset the current selection in the expanded tree to be that of the current session and window. This introduces a new function window_choose_set_current() which sets the intended position of the selection when

Re: FAO Thomas -> code more carefully!

2013-04-21 Thread Thomas Adam
vised a solution to do it. It might also mean reducing a number of internal commands in tmux over time. As for these "previous efforts" you allude to, can you please show me where in the past I have done something very bad for this project? > The choose-mode had a rewrite earlier this year

Re: Make tmux.conf relative to sysconfdir

2013-04-23 Thread Thomas Adam
ve people when they ask this is, "when it feels right" -- and that's not wholly quantifiable, but might translate to "in six months". Usually, whenever we reach a natural break, and the code which is in Git has had enough testing. Kindly, -- Thomas Adam --

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

2013-04-24 Thread Thomas Adam
Hi Ben, Thanks. Please remember though that tmux.1 is now copied from tmux.1.in. That's the file you ought to be patching. Kindly, Thomas Adam On 24 Apr 2013 07:10, "Ben Boeckel" wrote: > > On Sat, Apr 06, 2013 at 00:04:11 -0400, Ben Boeckel wrote: > > Minor nits I

Re: Successive builds from repository. What to clean

2013-04-24 Thread Thomas Adam
e clean" first, and if you've done any development work in that repository since, to run "git clean -dfx" -- but yes, those steps there are sufficient. Why do you ask? -- Thomas Adam -- Try New Relic Now

Re: Successive builds from repository. What to clean

2013-04-24 Thread Thomas Adam
ttern_allow. > See the Autoconf documentation. On my Debian VM, installing the "pkg-config" package defines AC_SEARCH_LIBS. Do you have that installed? If not, try that. -- Thomas Adam -- Try New Relic

Re: [PATCH 1/1] Allow conditional formats to expand formats

2013-04-25 Thread Thomas Adam
d} #{pane_id"? Then I guess more work is needed then. :) Drop this, and I'll come up with something else. -- Thomas Adam -- Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only

Re: using tmux as collaborative tool

2013-04-25 Thread Thomas Adam
) but which is not all that great if you want to have > different users typing on independent screens.. > > So - is this feature available or no? Read about grouped sessions. -- Thomas Adam -- Try New Relic Now

Re: [PATCH 1/1] Allow conditional formats to expand formats

2013-04-28 Thread Thomas Adam
g the lines of the patch attached might be an idea. It's certainly the path of least resistance (i.e., not much code changed) but that doesn't mean I particularly like it. ;P -- Thomas Adam diff --git a/format.c b/format.c index 7de819a..178f201 100644 --- a/format.c +++ b/format.c @@ -1

Re: Saving log so far to disk

2013-04-30 Thread Thomas Adam
On 30 April 2013 23:44, James Jong wrote: > Is there any way to have tmux save the scroll back (everything that has been > printed so far on a pane) to a file? See commands such as: pipe-pane and capture-pane, depending on your needs. More likely capture-pane. -- Thoma

Re: Tmux in Windows Cygwin

2013-04-30 Thread Thomas Adam
it take to implement the work-around for Windows? Getting FDs over a Unix domain socket. That's what'll take. -- Thomas Adam -- Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibi

Re: License file

2013-05-07 Thread Thomas Adam
ection? It seems incomplete with respect to most other authors, as well as annoying to maintain when the license clearly states who the copyright author(s) are, and where in the file(s) such information is found. -- Thomas Adam -

Re: tmux-1.8 error

2013-05-10 Thread Thomas Adam
;t find where you put your install libevent, from the looks of things. Is this being done locally (i.e. the library isn't installed system-wide)? In which case, you might want to set LIBEVENT_CFLAGS and LIBEVENT_LIBS prior to running ./configure But either way, tmux

Re: tmux not respecting disabled control flow

2013-05-14 Thread Thomas Adam
rver setting that sets the default state of the flowcontrol in the > terminals tmux provides, wouldn't be a completely ridiculous thing to > ask for. But I know about nothing of tmux's internals to quickly whip > up a patch for that. I'm not so sure this is a good idea. You'd e

Re: Multiple clients connecting to same session but each viewing different window?

2013-05-23 Thread Thomas Adam
nt change to a different window, the other client > connected to the same session is also affected. tmux attach -t existing_session -- Thomas Adam -- "Deep in my heart I wish I was wrong. But deep in my heart I know I am not." -- Morrissey ("

Re: Multiple clients connecting to same session but each viewing different window?

2013-05-23 Thread Thomas Adam
Oops, tmux new -a session Thomas On 23 May 2013 21:28, "Long Vu" wrote: > On Thu, May 23, 2013 at 4:19 PM, Thomas Adam wrote: > > On Thu, May 23, 2013 at 03:09:54PM -0400, Long Vu wrote: > >> Hi, > >> > >> I am using tmux 1.6 from the rpmforge re

Re: tmux session getting killed after auto logout

2013-05-27 Thread Thomas Adam
t; Problem is when I start a tmux session and logout, it will kill the tmux > session also after the bash timeout. > > Has anyone seen this before and how to get around it ? Set remain-on-exit for all windows yo

Re: tmux session getting killed after auto logout

2013-05-27 Thread Thomas Adam
op making global-wide policies on something as stupid as setting TMOUT read-only? If he/she is worried about people leaving open sessions to machine, they've got _FAR_ worse problems than that to deal with. -- Thomas Adam ---

Re: sessions should be nested with care, unset $TMUX to force

2013-06-04 Thread Thomas Adam
; i am not starting tmux inside another tmux. Then the shell that an instance of tmux has started from is propagating that value down to each shell. So you must be starting tmux from _somewhere_ -- or you've set TMUX somewh

Re: Copy to system clipboard

2013-06-12 Thread Thomas Adam
the system > clipboard. Is this possible? For some systems (such as OSX) you have no choice but to emulate this---and indeed, with some terminals, you have no choice but to do this manually. tmux supports native clipboard support for XTerm, and there's an OSC extension

Focus Notification option: d6debc21c777dc0e993fd7928bbba51075685491

2013-06-20 Thread Thomas Adam
Hi, On 11 June 2013 20:36, Thomas Adam wrote: > The branch, master has been updated >via d6debc21c777dc0e993fd7928bbba51075685491 (commit) > from ddb52a2b157c1970081a2fb30f1413d57ec35b1e (commit) > > - Log ---

Re: Bug: renumber-windows and window-killing in grouped sessions

2013-06-22 Thread Thomas Adam
in > the first client/session) ("C-b x") > > After killing a few, the server should die, killing both clients and > displaying [Lost server] in both terminals. Does the attached help any? I'm afraid I've not a lot of time to look in to this, and I've not t

Re: Bug: renumber-windows and window-killing in grouped sessions

2013-06-29 Thread Thomas Adam
On Sat, Jun 29, 2013 at 07:08:17AM -0700, Daniel Ralston wrote: > On Sat, Jun 22, 2013 at 11:21 AM, Thomas Adam wrote: > > > On Fri, Jun 21, 2013 at 08:10:17PM -0700, Daniel Ralston wrote: > > > Hi all, > > > > > > Bug Summary: > > > When ren

[PATCH 1/1] FAQ: Mention copying tmux selection to clipboard

2013-06-30 Thread Thomas Adam
This adds an entry on how best to handle copying a selection in tmux to the sustem's clipboard. --- FAQ | 40 1 file changed, 40 insertions(+) diff --git a/FAQ b/FAQ index 41b917c..79d982b 100644 --- a/FAQ +++ b/FAQ @@ -396,5 +396,45 @@ configuration file:

[PATCH 1/1] Renumber windows for group-sessions correctly

2013-07-01 Thread Thomas Adam
When the session option renumber-window is used, ensure we iterate over all sessions in that group when the winlinks are reordered, otherwise the winlink lists are out of sync with one another. --- server-fn.c | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/serv

Re: Bug: renumber-windows and window-killing in grouped sessions

2013-07-01 Thread Thomas Adam
On Mon, Jul 01, 2013 at 10:18:10AM -0700, Daniel Ralston wrote: > Looks like this patch works flawlessly. Thanks! :) OK, submitted this. Thanks. -- Thomas Adam -- "Deep in my heart I wish I was wrong. But deep in my heart I know I am not." -- Morrissey ("Girl Least Likely

Re: A couple of annoyances with scrolling

2013-07-02 Thread Thomas Adam
ay mouse selection works with copy-mode now is generally OK. I think adding something like a no-copy or scroll-only option just confuses the point. This has already come up in the past, ISTR, if you care to search the mailing list to see what was discussed. -- Thomas Adam -- "Deep in my he

[PATCH 1/1] Give better feedback when setting options

2013-07-04 Thread Thomas Adam
When the 'set' command is used without any switches, the lookup happens within whichever table is found for the option being set. Usually this isn't a problem, since missing -t flags assume a valid context. However, when a 'set' command is read from a config file, especially at startup, then the

[PATCH 1/1] new-session: Allow start-directory via -c

2013-07-04 Thread Thomas Adam
From: Thomas As with the neww command, this adds a -c option to specify the starting directory of the session. This means default-path '-' is honored correctly without the need to first cd to the directory and start the tmux session from there. I personally don't care either way

Re: Is it possible to replace key sequence with single key press?

2013-07-07 Thread Thomas Adam
g this? tmux doesn't re-read it's configuration file once the tmux server process has loaded, so you either have to: * Kill tmux and re-load it; * Use the source-file command; * Use :bind ... from within tmux (command-prompt) -- Thomas Adam

Re: 24bit color support for tmux?

2013-07-08 Thread Thomas Adam
lls are appalling and I > know little about > inner workings of terminal emulators. > > Are there any plans for tmux to support 24bit colors? Nope---not until terminal emulators start doing so by default. -- Thomas Adam --

Re: 'curses not found'

2013-07-10 Thread Thomas Adam
in the > debian repos? In Debian, that's called 'libncurses5-dev'. -- Thomas Adam -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring

Re: patch for tmux on cygwin

2013-07-15 Thread Thomas Adam
On 15 July 2013 22:07, Saad Malik wrote: > Mark, I don't know--maybe Raynor or Nicholas can chime in. > > Try running tmux with 'strace tmux'. strace -f -o /somewhere/tmux.out tmux and send through the log file,

Re: enhancement: sync the status bar updating with the system clock

2013-07-17 Thread Thomas Adam
is not going to do what you think it does. The status-line updates when it's told to, that's its job. If you want a clock, go use a clock. Is putting a pane in tmux in clock-mode also not sufficient? -- Thomas Adam ---

Re: Share .tmux.conf between different versions

2013-07-19 Thread Thomas Adam
e them from the older ones? In vim this can be > realised as follows. > > if v:version >= 703 No. tmux's configuration is line-based. -- Thomas Adam -- See everything from the browser to the database

Re: Share .tmux.conf between different versions

2013-07-19 Thread Thomas Adam
tmux 1.8 is quite old also, and I would consider upgrading. Seriously. -- Thomas Adam -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics

Re: Tmux and utmp

2013-07-27 Thread Thomas Adam
. tmux doesn't support the utmp database. -- Thomas Adam -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and di

Re: pane border color issue on 1.8

2013-07-27 Thread Thomas Adam
what could be the problem here? There's no problem; tmux has this functionality hard-wired in to it so that it splits the border colour in half to help indicate which pane is active, if the number of panes would make such a thing

Re: Reverse-Engineering Layout Format

2013-07-27 Thread Thomas Adam
e result would be to warp any pane to one > of the directions. You need to look in layout-custom.c -- Thomas Adam -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with appl

Re: BUG: Crash when killing a session's last window's program from a grouped session

2013-07-27 Thread Thomas Adam
On 27 July 2013 12:20, Romain Francoise wrote: > Which tmux version are you using? Can you reproduce the bug with the > latest code from Git? I can, and a patch will be arriving shortly. -- Thomas Adam

Re: BUG: Crash when killing a session's last window's program from a grouped session

2013-07-27 Thread Thomas Adam
stroying a session, and for a grouped instance, we were then trying to access elements from a shared struct which had long since been destroyed. Can you try the attached patch? Again, I don't make use of grouped sessions, so I'm looking to ensure I've not regressed anyth

Re: patch allowing pipe-pane to write directly to a file

2013-07-27 Thread Thomas Adam
ions somewhere. What's your real use-case here? I mean, it's obvious you're logging activity across sessions, but for what? -- Thomas Adam -- "Deep in my heart I wish I was wrong. But deep in my heart I know I am not." -- Morrissey ("Girl Least Likely To" -- of

Re: patch allowing pipe-pane to write directly to a file

2013-07-27 Thread Thomas Adam
you can really show that using cat, or something else makes things "bad". > The functionality requires libevent2, so it won't work if you've got > libevent1, though it should still compile. Yuck. -- Thomas Adam -- "Deep in my heart I wish I was wrong. But deep

Re: patch adding -c flag to new-session

2013-07-30 Thread Thomas Adam
On 30 July 2013 07:39, J Raynor wrote: > The TODO list for tmux has this entry: > > * add -c for new-session like new-window > > > I've attached a patch that implements that. https://sourceforge.net/p/tmux/mailman/message/31

Re: Explicitely specifying tmux's dependencies

2013-07-30 Thread Thomas Adam
ill need to test it, and I'm unsure if there should be a corresponding --with-ncurses check. If someone wants that, they can add it. I haven't even tested this, so please do test it, Pedro. -- Thomas Adam diff --git a/configure.ac b/configure.ac index 590b9db..b4fc79b 100644 --- a/confi

Re: Explicitely specifying tmux's dependencies

2013-07-30 Thread Thomas Adam
ou want though. -- Thomas Adam diff --git a/configure.ac b/configure.ac index 590b9db..c51abb3 100644 --- a/configure.ac +++ b/configure.ac @@ -110,28 +110,41 @@ AC_MSG_RESULT($found_glibc) # Look for clock_gettime. Must come before event_init. AC_SEARCH_LIBS(clock_gettime, rt) -# Loo

Re: default-path doesn't work on OSX

2013-08-04 Thread Thomas Adam
> I'm using tmux 1.8 installed with home brew. Can you kill tmux completely, and then run: tmux -v And follow the instructions you've given above? Then send me the server log in the current working directory. -- Thomas Adam -

Re: default-path doesn't work on OSX

2013-08-04 Thread Thomas Adam
on, but not the other. Don't thread-hijack, that really irritates me. Your problem's already been reported once. I might get round to looking at it, but I don't have a windows environment, so don't hold your breath either. -- Thomas Adam -

Re: default-path doesn't work on OSX

2013-08-05 Thread Thomas Adam
default-path '~' -- Thomas Adam -- Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL d

Re: Patch with Lua support (+more)

2013-08-08 Thread Thomas Adam
e proposed hook support I've outlined, and is significantly less work than the amount of Lua-specific code you've needed to write. With hook support you need to be very very careful not to add code bloat, which is why I'm still leaning towards just using sh(1) as the basis

Re: Patch with Lua support (+more)

2013-08-08 Thread Thomas Adam
rom the Lua > patch, also helps if I run nested tmux sessions - it tells me which > tmux instance I'm about to send a command to. This is what #{client_prefix} is useful for. Then you can colour whatever you like. -- Thomas Adam -- "Deep in my heart I wish I was wrong. But deep

Re: tmux freezing, xubuntu 13.04 with tmux build from source

2013-08-09 Thread Thomas Adam
e a large amount of text being sent to tmux? Perhaps over SSH? tmux allows for rate-limiting. See the following options: c0-change-trigger c0-change-interval I suggest you try tweaking those values. If that's not what you meant, please be m

Re: [tmux:tickets] #53 choose-tree doesn't render properly given a large number of sessions & windows

2013-08-09 Thread Thomas Adam
ing most of the > terminal vertical real-estate unused), or, in the most extreme case, > doesn't render the tree at all. Up/down navigation with `j/k` keys works > and eventually leads to re-rendering of the tree if it was previously not > displayed.

Re: [PATCH 1/1] Allow conditional formats to expand formats

2013-08-09 Thread Thomas Adam
Produces: {?session_attached, Because when we try and expand #{} we get nothing, and the expansion breaks from any further processing. I'm sure it's not a big problem though. As for the automatic-rename stuff, that's fine. -- Thomas Adam On 3 August 2013 21:28, Nicholas Marriott wr

[PATCH] choose-tree: Reset top when toggling items

2013-08-10 Thread Thomas Adam
From: Thomas When choose-tree is told to expand/collapse items (especially when first rendering collapsed to just show sessions), ensure that in addition to setting the selected item, that the item itself appears on the bottom of the screen, rather than off screen. This was causing rendering

Re: What version?

2013-08-10 Thread Thomas Adam
rsion number. I > know I'm running a new version as the man file is dated 10 August. Up to and beyond a certain tmux version (and definitely one from Git, like you're running) you can do: tmux -V Or older: tmux server-info | sed -ne '1p' Does that help? -- Thomas Adam

Re: iTerm2 support for set-clipboard

2013-08-11 Thread Thomas Adam
Hi, Isn't this the reason why the reattach-to-user-namespace project came about? That is, the problem is no where near as straightforward as you're suggesting? Thomas On 11 Aug 2013 19:26, "John Whitley" wrote: > > I note that the set-clipboard window option is curren

Re: [PATCH] Support showenv output as shell code

2013-08-12 Thread Thomas Adam
ironment variables which have been unset; reflected in the output from show-environment). So really what you're saying is you then want some of these environment variables to be available outside of tmux, no? I am not sure whether this change you propose is good enough, or really necessary.

[PATCH] Renumber windows: Lookup lastw via window not index

2013-08-13 Thread Thomas Adam
When calling 'movew -r' on a session to reorder the winlinks, ensure when adding back in the information for the lastw stack that we look up the winlink based on the window and not its index. Using the index doesn't make sense here because when comparing it to the old set, it will never match sinc

Re: tmux freezing, xubuntu 13.04 with tmux build from source

2013-08-15 Thread Thomas Adam
On 13 August 2013 05:17, Sam Roberts wrote: > On Fri, Aug 9, 2013 at 2:42 AM, Thomas Adam wrote: >> On Thu, Aug 08, 2013 at 05:00:20PM -0700, Sam Roberts wrote: >>> It freezes for 4-15 seconds, no interaction, can go to other terminal >>> tabs, top doesn't sho

Re: tmux freezing, xubuntu 13.04 with tmux build from source

2013-08-15 Thread Thomas Adam
Hi, You disabled rate limiting? That's not what I would do. Quite the opposite in fact. Stop making assumptions and just alter the values, will you? Everything you have said suggests this is the problem. Thomas On 15 Aug 2013 20:03, "Sam Roberts" wrote: > > On Thu, Au

Re: tmux freezing, xubuntu 13.04 with tmux build from source

2013-08-16 Thread Thomas Adam
On Thu, Aug 15, 2013 at 05:44:58PM -0700, Sam Roberts wrote: > On Thu, Aug 15, 2013 at 1:24 PM, Thomas Adam wrote: > > You disabled rate limiting? That's not what I would do. Quite the opposite > > in fact. Stop making assumptions and just alter the values, will you? > &

Re: patch allowing pipe-pane to write directly to a file

2013-08-17 Thread Thomas Adam
se() won't expand the tilde. You'd have to get around > it by doing ~/file-"#P". That doesn't sound right to me, and from what little testing I've done here I can't reproduce tha

Re: tmux, zsh, powerline - tmux statusline binking

2013-08-17 Thread Thomas Adam
ndeed changes, when i start xterm it shows - for a moment > then hides for several seconds...then starts this again forever. Please ask the authors of tmux-powerline. This sounds like a configuration issue which wasn't written by an

Re: patch allowing pipe-pane to write directly to a file

2013-08-17 Thread Thomas Adam
ut it? The data is already available, so shunting it to a file shouldn't be difficult. -- Thomas Adam -- "Deep in my heart I wish I was wrong. But deep in my heart I know I am not." -- Morrissey ("Girl Least Likely To" -- off of Viva Hate.) -

Re: Can one map PREFIX to ?

2013-08-19 Thread Thomas Adam
On 19 August 2013 11:19, Asis Hallab wrote: > Dear TMUXers, > > I would like to map the PREFIX to . > Is that possible? No, it isn't. Alt modifies the next key, but doesn't generate anything by i

Compiling tmux error

2013-08-19 Thread Thomas Borneman
control.c:63: warning: assignment makes pointer from integer without a cast make: *** [control.o] Error 1 What is the correct fix to get around this? Thanks in advance. --- Thomas W. Borneman Email: bo...@sgi.com

Re: Problem when entering a directory named with spaces

2013-08-20 Thread Thomas Adam
re. You'd have to check your environment for that; tmux isn't doing this automatically. -- Thomas Adam -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is you

RE: Compiling tmux error

2013-08-24 Thread Thomas Borneman
Thanks Nicholas, I'll upgrade my libevent. --- Thomas W. Borneman Email: bo...@sgi.com > -Original Message- > From: Nicholas Marriott [mailto:nicholas.marri...@gmail.com] > Sent: Monday, August 19, 2013 1:17 PM > To: Thomas Borneman > Cc: tmux-us...@lists.

Re: tmux breaks my terminal

2013-08-24 Thread Thomas Adam
ned to the end of the previous line instead of > to the left of the screen. > > Any and all suggestions are welcome. What is TERM set to inside/outside of tmux? Do you have any terminal-override settings in your .tmux.conf? -- Thomas Adam -- "Deep in my heart I wish I was wrong.

[PATCH V4 0/3] Hook Support

2013-08-24 Thread Thomas Adam
rt this, so I am not sure it's worth it. I am unclear on how hook support as I'm proposing it should work with command-mode. For those of you playing a long at home, you can also get these patches here: https://github.com/ThomasAdam/tmux/tree/ta/hooks Any questions, do please ask.

[PATCH V4 1/3] Define hooks infrasructure

2013-08-24 Thread Thomas Adam
\ input-keys.c \ input.c \ job.c \ diff --git a/cmd-set-hook.c b/cmd-set-hook.c new file mode 100644 index 000..ae29b99 --- /dev/null +++ b/cmd-set-hook.c @@ -0,0 +1,98 @@ +/* $Id$ */ + +/* + * Copyright (c) 2012 Thomas Adam + * + * Permission to use, copy, modify, and

[PATCH V4 3/3] Add man page entry for hooks

2013-08-24 Thread Thomas Adam
This defines a generic HOOKS section, describing a little bit about hooks as well as the two hooks-specific commands to manipulate/show them. --- tmux.1 | 79 ++ 1 file changed, 79 insertions(+) diff --git a/tmux.1 b/tmux.1 index c93

[PATCH 1/1] mouse-resize-pane: Only resize on border select

2013-08-24 Thread Thomas Adam
The current behaviour of mouse-resize-pane is such that if the mouse button is held down and a selection takes place within a pane, that if the mouse pointer then hits a border edge, that pane-resize would initiate. This seems counter-intuitive; instead, check for a resize condition if the border

[PATCH 1/1] FAQ: Mention why session-attach has 'dots'

2013-08-26 Thread Thomas Adam
Add a brief note to the FAQ about how tmux handles window sizes and renders the smaller one with dots. This has come up on IRC three times in the past week, so I feel as though it's time to document it, Feel free to reword, etc. --- FAQ | 19 ++- 1 file changed, 18 insertions(+),

Re: [PATCH 1/1] FAQ: Mention why session-attach has 'dots'

2013-08-31 Thread Thomas Adam
Hi, On 31 August 2013 09:26, Nicholas Marriott wrote: > I'd not bother mentioning aggressive-resize TBH. > > How about this instead? Looks fine. > Note it looks like we've been using tabs for indentation in the rest of > the file not spaces. Hmm. I thought I did

Re: tmux on Cygwin

2013-09-03 Thread Thomas Adam
problems for a while. Note that even when I release 1.9, which will contain support on Cygwin, I won't be providing Windows binaries of tmux. That's somebody else's problem. -- Thomas Adam -- Learn the la

Re: individual buffer sizes for panes

2013-09-09 Thread Thomas Adam
lloc()d when needed. However, this would not only mess with wrapping of lines in panes, but it would make it slow. -- Thomas Adam -- "Deep in my heart I wish I was wrong. But deep in my heart I know I am not." -- Morrissey ("Girl Least Likely To" -- off of Viva Hate.)

Re: individual buffer sizes for panes

2013-09-09 Thread Thomas Adam
On Mon, Sep 09, 2013 at 10:37:47AM -0700, Edward Peschko wrote: > Thomas, > > So, when you set a history limit, it is applied to all panes that you > create from then on, and all older panes stay with their old limits? Correct. Only new panes are affected by a change in history-

Re: binding multi-letter

2013-09-10 Thread Thomas Adam
Hi, On 10 September 2013 10:46, Sinbad wrote: > hi, how can i bind a multi letter key to do something > for example i want to bind 'ga' to do some stuff, > here 'g' should be leader letter just like in vim. > how do i do that. Not possibl

Re: tmux chat

2013-09-10 Thread Thomas Adam
dows.As > windows are changed so do the particular tmux-pane should move to the > next window. :) :) This is not possible. -- Thomas Adam -- How ServiceNow helps IT people transform IT departments: 1. Consolidate le

[tmux:tickets] #61 device attributes report

2013-09-13 Thread Thomas Wolff
--- ** [tickets:#61] device attributes report** **Status:** open **Created:** Thu Sep 05, 2013 01:16 PM UTC by Thomas Wolff **Last Updated:** Thu Sep 05, 2013 01:16 PM UTC **Owner:** nobody On requesting a secondary device attributes report (ESC [ > c), tmux responds with the seque

Re: 24bit color support for tmux?

2013-09-21 Thread Thomas Adam
nsure the appropriate bit sets are honoured, and to translate colours to degrade to 256 if the terminal doesn't support it (colour.c) --- but note that I'm conscious of the fact that you might be duplicating your effort here. But since I cannot recall who the person is who has some hack-jo

Re: How to copy the whole buffer?

2013-09-23 Thread Thomas Adam
xclip, etc., but if the content is in a file, what difference would it make? -- Thomas Adam -- "Deep in my heart I wish I was wrong. But deep in my heart I know I am not." -- Morrissey ("Girl Least Likely To" -- off of Viva Hate.) --

Re: Bug in split window and mouse mode

2013-09-25 Thread Thomas Adam
Read the list archives. I've sent a patch to fix this. Thomas On 26 Sep 2013 01:58, "Jack O'Connor" wrote: > 1) Create a split window > 2) Start dragging the mouse to highlight text > 3) Drag the selection across the split boundary > 4) BUG: The selection clears

Re: Bug in split window and mouse mode

2013-09-25 Thread Thomas Adam
ttps://sourceforge.net/mailarchive/message.php?msg_id=31325022 It ought to fix what you're describing. -- Thomas Adam -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application perfor

Re: [PATCH] Don't treat TMUX_TMPDIR as a potential file

2013-09-30 Thread Thomas Adam
Hi, On 30 September 2013 13:33, Nicholas Marriott wrote: > Sure looks good can you apply this thanks Done. -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. E

Re: [PATCH] layout-resize-pane-mouse: Consider visible panes only

2013-09-30 Thread Thomas Adam
Hi, On 30 September 2013 13:33, Nicholas Marriott wrote: > Looks good can you apply this too? Done. -- Thomas Adam -- October Webinars: Code for Performance Free Intel webinars can help you accelerate applicat

[PATCH 1/1] Add subdir-objects to shut automake up

2013-10-03 Thread Thomas Adam
automake 1.14 onwards has started emitting lots of warnings about this option: automake: warning: possible forward-incompatibility. automake: At least a source file is in a subdirectory, but the 'subdir-objects' automake: automake option hasn't been enabled. For now, the corresponding output auto

Re: hiding a pane

2013-10-09 Thread Thomas Adam
On Wed, Oct 09, 2013 at 01:09:54PM -0400, Dusty Mabe wrote: > Hi, > > Is it possible to hide / unhide a pane of a certain window? This would No, this is not possible. -- Thomas Adam -- "Deep in my heart I wish I was wrong. But deep in my heart I know I am not." -- Mor

Re: hiding a pane

2013-10-09 Thread Thomas Adam
panes operate (if you try and do something with panes when its maximised, it will unzoom it first). But hidden panes just seem weird. Use more windows if the separation matters. -- Thomas Adam -- "Deep in my heart I wish I was wrong. But deep in my heart I know I am not." -- Morrissey

Re: "error: ‘AT_FDCWD’ undeclared (first use in this function)" on Mac OS X

2013-10-10 Thread Thomas Adam
Hi, Did you "make clean" first, and rerun autogen.sh and run ./configure etc? -- Thomas Adam On 10 October 2013 08:18, harvey zh wrote: > Hi > > The latest git version cann't be compiled on Mac OS X. > $ brew install --HEAD tmux > > failed. > > When

Re: 'make' from a fresh git clone.

2013-10-11 Thread Thomas Adam
What system is this on? Thomas Adam On 11 Oct 2013 19:24, "Sharon Kimble" wrote: > When 'make'ing tmux from a fresh git clone tonight, i got this error > report - > [boudiccas:Fri Oct 11 19:18:36 @~/git/tmux]$ [2702]>; make > depbase=`echo form

Re: 'make' from a fresh git clone.

2013-10-11 Thread Thomas Adam
Fixed. Thanks, Thomas On 11 October 2013 19:23, Sharon Kimble wrote: > When 'make'ing tmux from a fresh git clone tonight, i got this error > report - > [boudiccas:Fri Oct 11 19:18:36 @~/git/tmux]$ [2702]>; make > depbase=`echo format.o | sed 's|[^/]*$|.deps

Re: tmux overlay/menu system?

2013-10-13 Thread Thomas Adam
Hi, To do what? Why? I don't understand what you're trying to generalise, or why. Thomas Adam On 13 Oct 2013 21:00, "Marcel Partap" wrote: > > .. > As tmux is based on curses, how difficult would it be to implement > something like this? use cases are f.

<    1   2   3   4   5   6   7   >