Age | Commit message (Collapse) | Author |
|
|
|
|
|
TMPDIR. From Ben Boeckel.
|
|
few and unnecessary.
|
|
to use it, extended from a diff from George Nachman.
|
|
commands and allow a command to block execution of subsequent
commands. This allows run-shell and if-shell to be synchronous which has
been much requested.
Each client has a default command queue and commands are consumed one at
a time from it. A command may suspend execution from the queue by
returning CMD_RETURN_WAIT and then resume it by calling cmd_continue() -
for example run-shell does this from the callback that is fired after
the job is freed.
When the command queue becomes empty, command clients are automatically
exited (unless attaching). A callback is also fired - this is used for
nested commands in, for example, if-shell which can block execution of
the client's cmdq until a new cmdq becomes empty.
Also merge all the old error/info/print functions together and lose the
old curclient/cmdclient distinction - a cmdq is bound to one client (or
none if in the configuration file), this is a command client if
c->session is NULL otherwise an attached client.
|
|
source-file). Fix by Thomas Adam, reported by Sam Livingstone-Gray
|
|
socket file path because the latter may not exist yet and in that case
realpath is allowed to fail. From Romain Francoise.
|
|
|
|
commands be sent and output received on stdout. This can be used to
integrate with other terminal emulators and should allow some other
things to be made simpler later. More to come so doesn't do much yet and
deliberately not documented.
|
|
|
|
|
|
separate options, prefix and prefix2. This simplifies the code and gets
rid the data options type which was only used for this one option.
Also add a -2 flag to send-prefix to send the secondary prefix key,
fixing a cause of minor irritation.
People who want three prefix keys are out of luck :-).
|
|
working directory if any then default-path or session wd).
|
|
|
|
|
|
char architectures and properly parse $TMUX by stopping the socket path
at the first comma.
|
|
|
|
|
|
flag on the stdio file descriptors before closing them (fixes things
like "tmux ls && cat").
|
|
and supports larger terminals than the older way.
If the new mouse-utf8 option is on, UTF-8 mouse input is enabled for all
UTF-8 terminals. The option defaults to on if LANG etc are set in the
same manner as the utf8 option.
With help and based on code from hsim at gmx.li.
|
|
values) together into one set of tables in options-table.c. Also clean
up and simplify cmd-set-options.c and move a common print function into
option-table.c.
|
|
much more convenient and also simplifies lot of code. This renders
copy-buffer useless and makes buffer-limit now a server option.
By Tiago Cunha.
|
|
or height of the smaller panes in the main-horizontal and main-vertical
layouts to be set. Mostly from David Goodlad.
|
|
default value of main-pane-width to 80, rather than 81. By Micah Cowan.
|
|
window. From Thomas Adam.
|
|
to vi.
Based on a diff from martynas@, previously requested by a couple of
other people.
|
|
|
|
(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.
|