| Commit message (Collapse) | Author | Age |
| ... | |
| | |
| |
| |
| |
| |
| |
| | |
scroll key to C-b instead of C-u and use C-u/C-d for half page scrolling with
vi keys. In emacs mode, half page scrolling is bound to M-Up and M-Down.
Suggested by merdely (about a year ago :-)).
|
| | |
| |
| |
| |
| | |
than by the entire screen, to make it easier to pull things out from under the
line indicator. Suggested by claudio.
|
| | |
| |
| |
| | |
useful at the moment and causes confusion.
|
| | |
| |
| |
| | |
for an index for a new window.
|
| | |
| |
| |
| |
| |
| |
| |
| | |
real screen width. To indicate the cursor is at the end of the line rather than
the cell before, put a '$' in the last cell.
Also clear the selection when the terminal is resized to avoid tmux getting
confused.
|
| | |
| |
| |
| | |
session detached, let the caller do it. Allows "tmux new -d \; attach" to work.
|
| | |
| |
| |
| |
| | |
terminal, copy the termios(4) special characters and use them for new windows
created in the new session. Suggested by Theo.
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| | |
currently off-screen due to resize, but somewhere along the way this got
lost. Restore this behaviour to scroll mode by fixing screen_write_copy to read
up to the saved line length rather than the current screen width. Copy mode
remains unaltered for now.
|
| | |
| |
| |
| |
| | |
can, for example on serial terminals), reset it to 80x25, same as for resize
messages. Problem reported by kettenis@.
|
| | |
| |
| |
| |
| |
| |
| | |
clients, so make it const.
Also fix an actual modification which caused a hang when a session was
connected to multiple terminals at least one of which was missing ich/ich1.
|
| | |
| |
| |
| | |
for socket path and log files, and strip it when working out the shell.
|
| | |
| |
| |
| |
| |
| | |
the parent, otherwise TIOCGWINSZ will fail when the window is resized (that
could actually be moved into the server but this is more future-proof and
avoids breaking the protocol).
|
| | |
| |
| |
| |
| |
| | |
ends up as fd 0 (likely if the server is started with "tmux start").
Also add some extra debugging messages to server.c.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
have the server use that rather than reopening the tty. If the fd isn't given,
use the old behaviour (so no need for a version change).
This allows tmux to be used as the shell, so also change so that when working
out the command to execute if default-command is empty (the default), tmux will
try not execute itself.
|
| | | |
|
| | |
| |
| |
| | |
tty struct.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
| |
| |
| |
| | |
cmd-set-environment/option/window-option and remove the generic options
parsing.
|
| | |
| |
| |
| | |
be sent, so set that flag too when argc == 0.
|
| | |
| |
| |
| |
| |
| | |
region before poll(2). This reduces (but does not eliminate) the chance of the
attributes not being normal if tmux is disconnected without warning (ssh ~.,
reboot from inside, etc).
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| | |
first section, and another couple of tweaks. Based on a diff from Theo.
|
| | |
| |
| |
| | |
terminated by a \n.
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | | |
|
| | |
| |
| |
| |
| | |
wrapped at the screen edge from those terminated by a newline. Then use this
when copying to combine wrapped lines together into one.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- a two-dimensional array of cells;
- a two-dimensional array of utf8 data;
- an array of line lengths.
Now it is a single array of a new struct grid_line each of which represents a
line and containts the length and an array of cells and an array of utf8 data.
This will make it easier to add additional per-line members, such as flags.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
cause the client to hang. Instead, send the error message, then mark the client
as bad and start a normal shutdown so the server exits once the error is
written.
This also allows some code duplicating daemon(3) to be trimmed and logging to
begin earlier.
Prompted by Theo noticing the behaviour on error wasn't documented.
|
| | | |
|
| | |
| |
| |
| |
| |
| | |
colours and attributes. Found thanks to a report from Taylor Venable.
While here also nuke a couple of extra blank lines.
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
| |
| |
| | |
string value, useful for terminal-overrides.
|
| | |
| |
| |
| |
| |
| | |
subsections; lots of tweaks to come on the text
from nicm and myself
|
| | | |
|
| | |
| |
| |
| | |
appear.
|
| | | |
|
| | |
| |
| |
| | |
understandable.
|
| | |
| |
| |
| | |
they were actually found in the source terminal description. Reported by jmc.
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
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).
|