| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Infrastructure and commands to manage the environment for processes started
within tmux.
There is a global environment, copied from the external environment when the
server is started and each session 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.
|
|
|
|
|
|
| |
Options to set the colours and attributes for status-left/-right. From Thomas
Adam, thanks.
|
|
|
|
|
|
|
|
|
|
| |
If colours are not supported by the terminal, try to emulate a coloured
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.
|
|
|
|
|
|
| |
Check for "UTF8" as well as "UTF-8" in LANG etc as it seems this may also
appear.
|
|
|
|
|
|
|
|
|
|
| |
Add a terminal-overrides session option allowing individual terminfo(5) entries
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).
|
|
|
|
|
|
| |
Add a mode-mouse option to prevent tmux taking over the mouse in choice or
copy modes.
|
|
|
|
|
|
| |
Rename struct hdrtype to msgtype which is a better name and can be used even
when struct hdr disappears.
|
|
|
|
|
|
| |
Taking account of the "s, 22 not 24 is the maximum length of #T in
status-right to prevent the date being cut off.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make all messages sent between the client and server fixed size.
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.
|
|
|
|
|
|
| |
Pass a set of flags into client_init rather than just a start_server
variable. Only one flag now but more to come later.
|
|
|
|
|
|
|
|
| |
__progname is not const, pointed out by deraadt.
And, as a consequence change its declaration for operating systems which
don't provide __progname as well.
|
|
|
|
|
|
| |
Display the number of failed password attempts (if any) when the server is
locked. From Tom Doherty.
|
|
|
|
|
|
| |
Add a status-justify option to allow the window list in the status line to be
positioned at the left, centre, or right.
|
|
|
|
|
|
|
| |
New options, window-status-current-{fg,bg,attr}, to set the fg, bg and
attributes with which the current window is shown in the status line. From
Johan Friis, thanks.
|
|
|
|
|
|
|
|
|
|
| |
If these are enabled (and the monitor-activity, bell-action 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.
|
| |
|
| |
|
|
|
|
|
|
| |
clear. No functional change, getting this out of the way to make later options
changes easier.
|
|
|
|
|
|
| |
that do not support it. Instead, set an empty default-command to invoke $SHELL
with - prefixed to argv[0], and make this the default setting.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
characters in status-left and status-right (if on, they are treated as UTF-8;
otherwise passed through).
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
that anyone who configures it probably wants UTF-8. Not certain if this is a perfect idea but let's see if it causes any problems.
|
|
|
|
|
|
|
|
|
| |
highlight the status line if it matches.
- To make this possible, the function cmd_find_window_search from
cmd-find-window.c had to be moved to window.c and renamed window_pane_search.
- While there use three new functions in server.c to check for bell, activity,
and content, to avoid too much nesting.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
script which must be run before building.
Still two makefiles but they are a hell of a lot simpler.
HAVE_* also will make it easier to move to $buildsystem if necessary later.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
issues - particularly, don't mix with manual pane resizing and be careful when
viewing from multiple clients; generally cycling the layout a few times will
fix most problems. Getting this in for testing while I think about how to deal
with manual mode.
Split window as normal and cycle the layouts with C-b space. Some of the
layouts will work better when swap-pane comes along.
|
|
|
|
|
|
|
|
|
|
| |
tmux-1000. The default socket is thus /tmp/tmux-UID/default. To start a
separate server, the new -L command line option should be used: this creates a
socket in the same directory with a different name ("-L main" will create
socket called "main"). -S should only be used to place the socket outside
/tmp. This makes sockets a little more secure and a bit more convenient to use
multiple servers.
|
|
|
|
| |
windows created in that session (like "remain-by-default" used to do). Not perfectly happy about this, but until I can think of a good way to introduce it generically (maybe a set of options in the session) this will do. Fixes SF request 2527847.
|