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
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
\
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
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
- 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
>
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
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
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
--
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
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
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
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
) 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
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
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
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
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
-
;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
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
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 ("
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
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
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
---
; 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
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
Hi,
On 11 June 2013 20:36, Thomas Adam wrote:
> The branch, master has been updated
>via d6debc21c777dc0e993fd7928bbba51075685491 (commit)
> from ddb52a2b157c1970081a2fb30f1413d57ec35b1e (commit)
>
> - Log ---
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
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
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:
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
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
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
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
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
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
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
--
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
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,
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
---
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
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
.
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
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
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
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
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
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
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
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
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
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
> 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
-
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
-
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
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
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
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
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.
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
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
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
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
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.
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
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
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
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?
>
&
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
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
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.)
-
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
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.
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
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.
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.
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.
\
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
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
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
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(+),
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
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
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.)
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-
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
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
---
** [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
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
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.)
--
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
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
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
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
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
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
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
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
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
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
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.
401 - 500 of 690 matches
Mail list logo