| Commit message (Collapse) | Author | Age |
... | |
| |
| |
| |
| | |
(instead of two in tmux.c and client.c).
|
| | |
|
| |
| |
| |
| | |
closefrom() before exec.
|
| |
| |
| |
| | |
can be removed when the client becomes ready.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- 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.
|
| |
| |
| |
| |
| | |
directly instead - calling libevent functions after fork() w/o
event_reinit() is a bad idea, even if in this case it was harmless.
|
| |
| |
| |
| |
| |
| | |
with strange devices and (b) since there appears to be a bull in the
poll code in libevent as well...
requested by nicm who is away
|
| |
| |
| |
| |
| |
| |
| |
| | |
devices.
An upcoming fix for some problems with the client stdout/stderr handling
relies on it working, so make tmux force libevent to use poll(2) via
EVENT_NOKQUEUE, until we have fixed kqueue.
|
| |
| |
| |
| |
| |
| |
| | |
MSG_PRINT are unused.
New clients should be compatible with old tmux servers but vice versa may print
an error.
|
| |
| |
| |
| |
| |
| |
| |
| | |
commands can directly make use of them. This means that load-buffer and
save-buffer can have "-" as the file to read from stdin or write to stdout.
This is a protocol version bump so the tmux server will need to be restarted
after upgrade (or an older client used).
|
| |
| |
| |
| |
| | |
option to default to empty and make that mean that the stored session CWD is
used.
|
| |
| |
| |
| |
| | |
it is attached to is destroyed. If on (the default), it is detached; if off, it
is switched to the most recently active session.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
after the command is executing is bogus because it may still be needed if the
same command is going to be executed again (for example if you "bind-key a
bind-key b ..."). Making a copy is hard, so instead add a reference count to
the cmd_list.
While here, also print bind-key -n and the rest of the flags properly.
Fixes problem reported by mcbride@.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
and reset SIGCHLD after fork to fix problems with some shells. From
Romain Francois.
|
| |
| |
| |
| | |
background by default.
|
| | |
|
| |
| |
| |
| | |
Micah Cowan.
|
| |
| |
| |
| | |
tmux. From clemens fischer.
|
| |
| |
| |
| | |
that if $TMUX is set it is nested. From Micah Cowan.
|
| | |
|
| |
| |
| |
| |
| | |
collecting all the errors, then start with the active window in more mode
displaying them.
|
| |
| |
| |
| | |
a diff from Micah Cowan.
|
| |
| |
| |
| | |
command. From Paul Hoffman, thanks.
|
| |
| |
| |
| | |
active pane.
|
| |
| |
| |
| | |
are alone or part of a function key or meta sequence.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
window. Set and displayed with "set -s" and "show -s".
Currently the only option is "quiet" (like command-line -q, allowing it to be
set from .tmux.conf), but others will come along.
|
| |
| |
| |
| |
| | |
time now I've configured emacs to make them displayed in really annoying
colours...
|
| |
| |
| |
| | |
the rest to reduce lint output.
|
| |
| |
| |
| |
| |
| |
| |
| | |
allow the format of each window in the status line window list to be controlled
using similar # sequences as status-left/right.
This diff also moves part of the way towards UTF-8 support in window names but
it isn't quite there yet.
|
| |
| |
| |
| |
| | |
option could be removed, but it affects vi, so we have to keep the option, and
a conservative default is better.
|
| |
| |
| |
| |
| |
| |
| |
| | |
exists. A new message-limit session option sets the maximum number of entries
and a command, show-messages, shows the log (bound to ~ by default).
This (and prompt history) might be better as a single global log but until
there are global options it is easier for them to be per client.
|
| |
| |
| |
| |
| |
| |
| |
| | |
output some from rxvt but in other ways did the same as xterm or other
terminals, but this is a bit inconsistent.
xterm's method is fairly sensible and we already support it (xterm-keys), so
enable it by default instead.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This moves the client-side loops are pretty much fully over to event-based only
(tmux.c and client.c) but server-side (server.c and friends) treats libevent as
a sort of clever poll, waking up after every event to run various things.
Moving the server stuff over to bufferevents and timers and so on will come
later.
|
| |
| |
| |
| | |
der Molen.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Irritatingly, although op can be used to tell if a terminal supports default
colours, it can't be used to set them because in some terminfo descriptions it
resets attributes as a side-effect (acts as sgr0) and in others it doesn't, so
it is not possible to determine reliably what the terminal state will be
afterwards. So if AX is missing and op is present, tmux just sends sgr0.
Anyone using -d for a terminal who finds they actually needed it can replace it
using terminal-overrides, but please let me know as it is probably an omission
from terminfo.
|
| | |
|
| |
| |
| |
| | |
client.c, and move the functions in client-fn.c into other files.
|
| |
| |
| |
| |
| |
| | |
current pane.
Suggested by sthen@ and also by someone else ages ago who I have forgotten.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
the lock-server option (it is on by default). When this is off, each session
locks when it has been idle for the lock-after-time setting. When on, the
entire server locks when ALL sessions have been idle for their individual
lock-after-time settings.
This replaces one global-only option (lock-after-time) with another
(lock-server), but the default behaviour is usually preferable so there don't
seem to be many alternatives.
Diff/idea largely from Thomas Adam, tweaked by me.
|
| |
| |
| |
| |
| | |
that is part of the window is also sent to all other panes in the same
window. Suggested by several, most recently Tomasz Pajor.
|
| |
| |
| |
| |
| |
| |
| | |
shell. Suggested by halex@.
This includes another protocol version increase (the last for now) so again
restart the tmux server before upgrading.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
command specified by a new option "lock-command" (by default "lock -np") in
each client.
This means each terminal has to be unlocked individually but simplifies the
code and allows the system password to be used to unlock.
Note that the set-password command is gone, so it will need to be removed from
configuration files, and the -U command line flag has been removed.
This is the third protocol version change so again it is best to stop the tmux
server before upgrading.
|
| |
| |
| |
| |
| |
| |
| | |
set -g prefix ^a,^b
Any key in the list acts as the prefix. The send-prefix command always sends
the first key in the list.
|
| |
| |
| |
| |
| | |
for status-left/right) if set-titles is on. Also only update the title when the
status line is being redrawn.
|