| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
Leftover unused variable :-/.
|
|
|
|
|
|
| |
There isn't much point in doing lstat before connect so instead just do connect
and handle ENOENT from it which is a little tidier.
|
|
|
|
|
| |
Reorder slightly to tidy code.
|
|
|
|
|
|
|
|
|
| |
Add a flag for jobs that shouldn't be freed after they've died and use it for
status jobs, then only kill those jobs when status-left, status-right or
set-titles-string is changed.
Fixes problems with changing options from inside #().
|
|
|
|
|
| |
Missing setenv/showenv aliases.
|
|
|
|
|
| |
Missing ;. From eric@ ages ago.
|
|
|
|
|
|
|
|
|
|
|
| |
If any client currently displaying a window pane has more than 1 KB of output
buffered, don't accept any further data from the process running in the pane.
This makes tmux much more responsive when flooded with output, although other
buffers can still have an impact when running remotely.
Prompted by a query from Ranganathan Sankaralingam.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Add a minor optimisatin: if the character being printed is space, don't worry
about setting the background colour or attributes (except reverse).
|
|
|
|
|
| |
Twaek this slightly to avoid confusing use of flags variable.
|
|
|
|
|
|
|
|
|
|
| |
Setting SGR0 when setting the fg and bg has problems if only one of the two is
meant to be default, so rewrite the code to move this outside, move setting
colours before attributes and generally clean up.
Tested by sthen@, fixes problems he was seeing with mutt and should fix some
existing problems with (rarely) lost attributes.
|
|
|
|
|
| |
Move the poll registration functions into the server-*.c files.
|
|
|
|
|
| |
tabs are better; ok nicm
|
|
|
|
|
|
| |
Clear signal flags /before/ taking action and continue afterwards to reduce
chance of dropping signals. Pointed out by deraadt@.
|
|
|
|
|
| |
Call fstat() after fopen() rather than stat() before.
|
|
|
|
|
|
| |
Reset the umask right after fopen to avoid leaving it changed on error, noticed
by deraadt@.
|
|
|
|
|
| |
Use strlcpy instead of strncpy, pointed out by deraadt.
|
|
|
|
|
|
|
| |
Don't do anything in the client callback if the client has already died to
avoid a use-after-free (the callback is used twice, once for the client itself
and once for the tty). Fixes crashes seen by Han Boetes.
|
|
|
|
|
| |
Nuke accidentally-committed debugging statement.
|
|
|
|
|
|
|
|
| |
Not all terminals swap CSI and SS3 on ctrl, so remove that.
Also mark the rxvt special-cases as such until terminfo is updated to have
kLFT5, kRIT5 etc.
|
|
|
|
|
|
|
| |
Rewrite xterm-keys code (both input and output) so that works (doesn't always
output the same modifiers, accepts all the possible input keys) and is more
understandable.
|
|
|
|
|
|
|
| |
Support the (mostly new) function key+modifier caps (kIC-kIC7). Most of these
will be caught (soon) by the xterm keys code in xterm itself but some other
descriptions such as rxvt define them as well.
|
|
|
|
|
| |
On second thoughts, drop the rxvt output entirely.
|
|
|
|
|
|
| |
Set the output code for ctrl+cursor keys correctly, and disable (comment)
rxvt-style output.
|
|
|
|
|
|
|
|
| |
As we always put the cursor keys into application mode, assume keys sent
with CSI have ctrl.
Also add a couple of comments.
|
|
|
|
|
| |
Tidy up table.
|
|
|
|
|
| |
Drop INPUTKEY_CTRL and just handle it as part of the table.
|
|
|
|
|
| |
Add or fix some comments.
|
|
|
|
|
| |
Tidy up table.
|
|
|
|
|
| |
Rename keypad keys to something more useful.
|
|
|
|
|
|
| |
Remove the xterm-keys code which is broken (a replacement is coming but some
more cleanup is needed first).
|
|
|
|
|
| |
Don't try to continue processing a client if the session has been destroyed.
|
|
|
|
|
| |
Remove -d from tmux.1 as well.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove the -d flag to tmux and just use op/AX to detect default colours.
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.
|
|
|
|
|
| |
+time.h.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
[ is a punctuation character and should be escaped with Ql. Although the
current groff version we have seems to handle it fine, other versions are not
so tolerant.
|
|
|
|
|
| |
Bring a comment into line with reality.
|
| |
|
|
|
|
|
| |
-a option to kill all except current pane. From Tiago Cunha, thanks!
|
|
|
|
|
|
|
| |
Support the bright fg/bg colour SGR 90-97 and 100-107.
Reported by Tim Allen.
|
| |
|