9802fea615
Oops, these functions return a const char *, so make the local variable
...
const as well.
2010-12-11 16:13:15 +00:00
7ce77ffc9c
Make the prompt history global for all clients which is much more useful than per-client history.
2010-12-11 16:05:57 +00:00
6be32c89c5
Rephrase a confusing sentence.
2010-12-10 21:01:38 +00:00
1f18523565
In the built-in layouts, distribute the panes more evenly. Set the
...
default value of main-pane-width to 80, rather than 81. By Micah Cowan.
2010-12-08 19:57:03 +00:00
e26a351865
Add an option to alert (monitor) for silence (lack of activity) in a
...
window. From Thomas Adam.
2010-12-06 22:51:02 +00:00
ebd0eb4fb4
If VISUAL or EDITOR contains "vi", configure mode-keys and status-keys
...
to vi.
Based on a diff from martynas@, previously requested by a couple of
other people.
2010-11-29 19:45:58 +00:00
ef9b2eb566
There is somewhere that WINDOW_HIDDEN is getting set when it shouldn't
...
be and I can't find it, but the flag itself is a useless optimisation
that only applies to automatic-resize windows, so just dispose of it
entirely.
Fixes problems reported by Nicholas Riley.
2010-11-22 21:13:13 +00:00
9a1b4f9ed3
Show more window and pane flags in list-* output, and put layout on the
...
same line.
2010-11-15 06:52:11 +00:00
7e542d119b
Update man page for update-environment.
2010-11-14 09:04:22 +00:00
503edae26f
Don't allow last and active window to become the same - a very bad move
...
when the active window is closed and freed. Reported by sthen@.
2010-11-14 08:58:25 +00:00
e4e728664b
Add XAUTHORITY to update-environment, requested by Andreas Kloeckner.
2010-11-11 21:06:09 +00:00
17b56562c4
Flag to flush all key bindings from Rob Paisley.
2010-11-11 20:54:06 +00:00
c7fccfa299
Declaration in header should be extern.
2010-11-11 20:51:30 +00:00
023137a891
Typo, from Rob Paisley.
2010-11-01 20:59:45 +00:00
34d05ea7cd
We now send argv to the server after parsing it in the client to get the
...
command, so the client should not modify it. Instead, take a copy. Fixes
parsing command lists, reported by mcbride@.
2010-10-29 20:11:57 +00:00
5de84eca3d
Add a last-pane command (bound to ; by default). Requested ages ago by
...
somebody whose name I have forgotten.
2010-10-23 13:04:34 +00:00
a3efd2ab5a
When removing a pane, don't change the active pane unless the active
...
pane is actually the one being removed.
2010-10-23 12:51:51 +00:00
139754b9fe
Mark repeating keys with "(repeat)" in the key list.
2010-10-20 18:20:36 +00:00
248fb14f08
Merge the before and after attach client code into one in client.c
...
(instead of two in tmux.c and client.c).
2010-10-18 20:00:02 +00:00
31954339d1
Make stdio blocking again before calling shell command with -c.
2010-10-16 08:42:35 +00:00
f56b4ec2ff
Trying to set FD_CLOEXEC on every fd is a lost cause, just use
...
closefrom() before exec.
2010-10-16 08:31:55 +00:00
6c42f1a89e
Fall back on normal session choice method if $TMUX exists but is invalid
...
rather than rejecting.
2010-10-16 07:57:42 +00:00
65ff5b00bd
Use an explicit event rather than event_once for the main event so it
...
can be removed when the client becomes ready.
2010-10-14 17:38:39 +00:00
f6cd0342f6
Treat the meta bit in the xterm extended modifier key set as the same as
...
escape (tmux's meta). From Emanuele Giaquinta.
2010-10-14 00:37:51 +00:00
1580afdfdf
Put "or" on new line from command with .Ic.
2010-10-14 00:30:03 +00:00
7aef2994e4
Set cause when failing due to linking a window to itself, from Martin
...
Pieuchot.
2010-10-09 12:58:00 +00:00
08bcd6978c
Skip NULL entries in the sessions list when choosing the next session,
...
from Simon Olofsson.
2010-10-05 17:15:21 +00:00
4789a4ee1f
Nuke a leftover RB tree declaration spotted by blambert.
2010-09-28 07:15:45 +00:00
9a7cde0c9b
Two new options:
...
- server option "exit-unattached" makes the server exit when no clients
are attached, even if sessions are present;
- session option "destroy-unattached" destroys a session once no clients
are attached to it.
These are useful for preventing tmux remaining in the background where
it is undesirable and when using tmux as a login shell to keep a limit
on new sessions.
2010-09-26 20:43:30 +00:00
66152010a7
Modify the permissions on the socket when adding or removing +x to show
...
attached sessions, rather than replacing them.
2010-09-26 18:51:48 +00:00
2772557d15
detach-on-destroy is a session option, not server.
2010-09-25 20:35:52 +00:00
ea4487c6da
Ugh. Pass the right type into tty_term_has. Teaches me to make last
...
minute changes :-/.
2010-09-11 16:20:58 +00:00
cb564bb427
Use UTF-8 line drawing characters on UTF-8 terminals. Fixes some stupid
...
terminals (I'm looking at you, putty) which disable the vt100 ACS mode
switching sequences in UTF-8 mode.
Also on terminals without ACS at all, use ASCII equivalents where
obvious.
2010-09-11 16:19:22 +00:00
3696cce4ae
Ignore terminal overrides settings without a value.
2010-09-11 15:43:11 +00:00
c1c5f43a01
When resizing the copy mode screen, don't allow it to end up with the
...
viewable position beyond the size of the history.
2010-09-11 15:39:55 +00:00
a22a6deda5
Add -n and -p flags to switch-client to move to the next and previous
...
session (yes, it doesn't match window/pane, but so what, nor does
switch-client).
Based on a diff long ago from "edsouza".
2010-09-08 22:02:28 +00:00
bbf743769b
Do not crash if the screen size is too small for the indicator in copy mode.
2010-09-08 20:36:42 +00:00
de68c2a7da
Simplify xterm modifier detection by treating as a bitmask + 1. Spotted
...
by and diff from Emanuele Giaquinta.
2010-09-01 21:11:14 +00:00
5309252053
Reset running jobs when the status line is enabled or disabled as well,
...
some people have it bound to a key.
2010-09-01 21:06:51 +00:00
8e8e0f1d53
Add missing prototype.
2010-08-31 22:46:59 +00:00
f69ce39a6c
When destroying a pane, reset any mode (which reenables pane
...
bufferevent) before freeing the bufferevent.
2010-08-25 19:19:43 +00:00
fc9f08235b
Can't call event_del() without event_set() first - so call event_set()
...
when setting up the client.
2010-08-23 17:36:32 +00:00
5f5104e782
MSG_EXIT can now have a return code in the message, so check for that
...
size as well. Stops the client fatal()ing on exit.
2010-08-22 16:09:49 +00:00
e3be9b1951
Do not call event_del() for signals after fork(), just use sigaction()
...
directly instead - calling libevent functions after fork() w/o
event_reinit() is a bad idea, even if in this case it was harmless.
2010-08-19 18:29:01 +00:00
c2822ca119
Do not need to dup() the tty fd sent from the client because it is
...
already dup()d again later. Fixes a leak seen by espie@.
2010-08-19 17:20:26 +00:00
828f12b748
Do not allow duplicate session names to be created, reported by Dominik
...
Honnef, patch from Thomas Adam.
2010-08-11 07:45:06 +00:00
ae70071494
Handle failure to change mode, to avoid dying when switching into copy
...
mode when already in a different mode. Reported by "Florian".
2010-08-11 07:41:05 +00:00
3999886901
Usage string fixes from Ben Boeckel.
2010-08-11 07:38:00 +00:00
cc474b4ede
Treat trying to link or move to the same window as an error to avoid
...
removing it accidentally.
2010-08-11 07:36:23 +00:00
8363e31953
Change the way backoff works. Instead of stopping reading from the pty
...
when the client tty backs up too much, just stop updating the tty and
only update the internal screen. Then when the tty recovers, force a
redraw.
This prevents a dodgy client from causing other clients to go into
backoff while still allowing tmux to be responsive (locally) when seeing
lots of output.
2010-08-11 07:34:43 +00:00