| Commit message (Collapse) | Author | Age |
... | |
| | |
|
| |
| |
| |
| | |
$SHELL. Originally from martynas@, tweaked by me.
|
| |
| |
| |
| | |
for a bit. Based on a diff from martynas@.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
to be used as a login shell inside tmux, so add a default-shell session option.
This sets the shell invoked as a login shell when the default-command option is
empty.
The default option value is whichever of $SHELL, getpwuid(getuid())'s pw_shell
or /bin/sh is valid first.
Based on a diff from martynas@, changed by me to be a session option rather
than a window option.
|
| |
| |
| |
| |
| | |
the password, like pretty much everything else. From martynas@ with minor
tweaks by me.
|
| | |
|
| |
| |
| |
| |
| | |
display-panes-time), which displays a visual indication of the number of each
pane.
|
| |
| |
| |
| |
| | |
SSH_AUTH_SOCK SSH_AGENT_PID SSH_CONNECTION) so they are updated in the session
environment on new/attach.
|
| |
| |
| |
| | |
useful at the moment and causes confusion.
|
| |
| |
| |
| | |
for an index for a new window.
|
| |
| |
| |
| | |
for socket path and log files, and strip it when working out the shell.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
client-server protocol more resilient and make the protocol versioning work
properly. In future, the only things requiring a protocol version bump will be
changes in the message structs, and (when both client and server have this
change) mixing different versions should nicely report an error message.
As a side effect this also makes the code tidier, fixes a problem with the way
errors reported during server startup were handled, and supports fd passing
(which will be used in future).
Looked over by eric@, thanks.
Please note that mixing a client with this change with an older server or vice
versa may cause tmux to crash or hang - tmux should be completely exited before
upgrading.
|
| |
| |
| |
| | |
be sent, so set that flag too when argc == 0.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
within tmux.
There is a global environment, copied from the external environment when the
server is started and each sesssion has an (initially empty) session
environment which overrides it.
New commands set-environment and show-environment manipulate or display the
environments.
A new session option, update-environment, is a space-separated list of
variables which are updated from the external environment into the session
environment every time a new session is created - the default is DISPLAY.
|
| |
| |
| |
| | |
Adam, thanks.
|
| |
| |
| |
| |
| |
| |
| |
| | |
background by setting or clearing the reverse attribute.
This makes a few applications which don't use the reverse attribute themselves
a little happier, and allows the status, message and mode options to have
default attributes and fg/bg options that work as expected when set as reverse.
|
| |
| |
| |
| | |
appear.
|
| |
| |
| |
| |
| |
| |
| |
| | |
to be overridden. The 88col/256col checks are now moved into the default
setting and out of the code.
Also remove a couple of old workarounds for xterm and rxvt which are no longer
necessary (tmux can emulate them if missing).
|
| |
| |
| |
| | |
modes.
|
| |
| |
| |
| | |
when struct hdr disappears.
|
| |
| |
| |
| | |
to prevent the date being cut off.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is the first of two changes to make the protocol more resilient and less
sensitive to other changes in the code, particularly with commands. The client
now packs argv into a buffer and sends it to the server for parsing, rather
than doing it itself and sending the parsed command data.
As a side-effect this also removes a lot of now-unused command marshalling
code.
Mixing a server without this change and a client with or vice versa will cause
tmux to hang or crash, please ensure that tmux is entirely killed before
upgrading.
|
| |
| |
| |
| | |
variable. Only one flag now but more to come later.
|
| |
| |
| |
| | |
locked. From Tom Doherty.
|
| |
| |
| |
| | |
positioned at the left, centre, or right.
|
| |
| |
| |
| |
| | |
attributes with which the current window is shown in the status line. From
Johan Friis, thanks.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
these are enabled (and the monitor-activity, bell-actio and monitor-content
options are configurated appropriately), when activity, a bell, or content is
detected, a message is shown.
Also tidy up the bell/activity/content code in server.c slightly and fix a
couple of errors.
|
| |
| |
| |
| |
| | |
enable the utf8 and status-utf8 optons. While here, note in the man page that
the server is started with the first session and exits when none remain.
|
| |
| |
| |
| |
| |
| |
| | |
windows.
This is "screen" by default and must be either that or something closely
related. This does makes it easier to customise it if necessary.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
and some people may use shells which do not support it. Instead, make an empty
default-command option mean a login shell, and fork it with a - in argv[0]
which is the method used by login(1).
Also fix the automatic-rename code to handle this correctly and to strip a
leading - if present.
|
| |
| |
| |
| |
| | |
clear. No functional change, getting this out of the way to make later options
changes easier.
|
| |
| |
| |
| | |
an error.
|
| |
| |
| |
| |
| | |
logging wasn't yet enabled, was unnecessary, and contradicted the man page
which says using -S will cause -L to be ignored.
|
| |
| |
| |
| | |
wrong. Pointed out by Hannah Schroeter, thanks.
|
| |
| |
| |
| | |
trying to decide about UTF-8, and use strcasestr. Reported by Geert Hendrickx.
|
| | |
|
| |
| |
| |
| | |
wiping over the title is rude and annoying. Agreed by several.
|
| |
| |
| |
| |
| | |
characters in status-left and status-right (if on, they are treated as UTF-8;
otherwise passed through).
|
| | |
|
| |
| |
| |
| | |
ok nicm@
|
| |
| |
| |
| | |
OK nicm@
|
|
|
|
|
|
|
| |
terminal to be switched between several different windows and programs
displayed on one terminal be detached from one terminal and moved to another.
ok deraadt pirofti
|
|
|
|
|
| |
xfree is not particularly helpful, remove it. From Thomas Adam.
|
|
|
|
|
|
|
|
|
| |
Add a skeleton mode to tmux (called "control mode") that let's tmux
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.
|
| |
|
|
|
|
|
| |
Simplify logging and just fprintf(stderr, ...) for early errors.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Drop the ability to have a list of keys in the prefix in favour of two
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 :-).
|
|
|
|
|
|
| |
Try to resolve relative paths for loadb and saveb (first using client
working directory if any then default-path or session wd).
|
|
|
|
|
| |
Ignore LC_ALL and LC_CTYPE if they are empty as well as unset.
|
|
|
|
|
| |
Reject $SHELL if it is not a full path.
|