History log of /openbsd/usr.bin/tmux/client.c (Results 1 – 25 of 162)
Revision Date Author Comments
# 611df774 15-May-2024 nicm <nicm@openbsd.org>

Use default-shell for command prompt #() and popups as well


# eb36563f 10-Jul-2023 nicm <nicm@openbsd.org>

It should no longer be necessary to ignore SIGCHLD because it is now
blocked around daemon(), and doing so causes trouble with newer libevent
(it cannot restore the original handler). Reported by Aza

It should no longer be necessary to ignore SIGCHLD because it is now
blocked around daemon(), and doing so causes trouble with newer libevent
(it cannot restore the original handler). Reported by Azat Khuzhin in
GitHub issue 3626.

show more ...


# bc5de943 10-Jul-2023 nicm <nicm@openbsd.org>

Loop around waitpid in client, from Azat Khuzhin.


# 83e2ab13 06-Jan-2023 nicm <nicm@openbsd.org>

If a pane is killed, cancel reading from the file. GitHub issue 3422.


# 8ab000fc 30-May-2022 nicm <nicm@openbsd.org>

Add an ACL list for users connecting to the tmux socket. Users may be
forbidden from attaching, forced to attach read-only, or allowed to
attach read-write. A new command, server-access, configures t

Add an ACL list for users connecting to the tmux socket. Users may be
forbidden from attaching, forced to attach read-only, or allowed to
attach read-write. A new command, server-access, configures the list.
tmux gets the user using getpeereid(3) of the client socket. Users must
still configure file system permissions manually. From Dallas Lyons and
others.

show more ...


# 22a1d4f1 28-Feb-2022 nicm <nicm@openbsd.org>

Exit on SIGHUP before attach also, GitHub issue 3084.


# d8b32369 27-Aug-2021 nicm <nicm@openbsd.org>

Replace %% in command lists (by copying them) for template arguments ,
this means they can be used with {} as well. Also make argument
processing from an existing vector preserve commands. GitHub iss

Replace %% in command lists (by copying them) for template arguments ,
this means they can be used with {} as well. Also make argument
processing from an existing vector preserve commands. GitHub issue 2858.

show more ...


# c05282f8 17-Feb-2021 nicm <nicm@openbsd.org>

Move the call to setupterm() into the client and have it pass the
results to the server over imsg, means the server does not need to enter
ncurses or read terminfo db. Old clients will not work with

Move the call to setupterm() into the client and have it pass the
results to the server over imsg, means the server does not need to enter
ncurses or read terminfo db. Old clients will not work with a new
server.

show more ...


# 6e7200d4 12-Feb-2021 nicm <nicm@openbsd.org>

Do not care about the server socket closing if exiting anyway.


# ab26eabf 11-Feb-2021 nicm <nicm@openbsd.org>

Add a couple of helper functions, and flush imsgs on exit.


# 0c0c2584 11-Feb-2021 nicm <nicm@openbsd.org>

Move file handling protocol stuff all into file.c so it can be reused
more easily.


# 962d9dda 17-Jan-2021 nicm <nicm@openbsd.org>

Add -N flag to never start server even if command would normally do so,
GitHub issue 2523.


# b18d2679 30-Oct-2020 nicm <nicm@openbsd.org>

With csh, a tmux client gets SIGTERM before SIGCONT when killed with
"kill %%", so when the client tells the server it got SIGCONT, don't use
bits that may already have been freed when it got SIGTERM

With csh, a tmux client gets SIGTERM before SIGCONT when killed with
"kill %%", so when the client tells the server it got SIGCONT, don't use
bits that may already have been freed when it got SIGTERM. Also don't
print anything on exit if we get SIGTERM while suspended. Reported by
Theo.

show more ...


# d337e2ef 22-Sep-2020 nicm <nicm@openbsd.org>

Fix warnings on some platforms with %llx and add a new message to handle
64-bit client flags.


# b3e4eeb8 18-Jun-2020 nicm <nicm@openbsd.org>

Add a flag to make a client wait for an empty line before exiting in
control mode to avoid stray commands ending up in the shell.


# e09158d2 10-Jun-2020 nicm <nicm@openbsd.org>

Instead of a buffer size limit on each pane, set a limit of 300 seconds
of data for each client in control mode.


# a34cf9c8 01-Jun-2020 nicm <nicm@openbsd.org>

Instead of sending all data to control mode clients as fast as possible,
add a limit of how much data will be sent to the client and try to use
it for panes with some degree of fairness. GitHub issue

Instead of sending all data to control mode clients as fast as possible,
add a limit of how much data will be sent to the client and try to use
it for panes with some degree of fairness. GitHub issue 2217, with
George Nachman.

show more ...


# 54e3eca9 26-May-2020 nicm <nicm@openbsd.org>

Pass the stdout file descriptor from the client as well as stdin and use
them for control clients directly instead of passing everything via the
client.


# 96a20458 08-May-2020 nicm <nicm@openbsd.org>

imsg.h needs uio.h, pointed out by deraadt


# adf814f9 27-Apr-2020 nicm <nicm@openbsd.org>

Do not close the stdout file descriptor in control mode as it will be
needed for printing the exit messages. Fixes a bug when detaching with
iTerm2.


# 5a160f88 20-Apr-2020 nicm <nicm@openbsd.org>

Tidy up the terminal detection and feature code and add named sets of
terminal features, each of which are defined in one place and map to a
builtin set of terminfo(5) capabilities. Features can be s

Tidy up the terminal detection and feature code and add named sets of
terminal features, each of which are defined in one place and map to a
builtin set of terminfo(5) capabilities. Features can be specified based
on TERM with a new terminal-features option or with the -T flag when
running tmux. tmux will also detect a few common terminals from the DA
and DSR responses.

This is intended to make it easier to configure tmux's use of
terminfo(5) even in the presence of outdated ncurses(3) or terminfo(5)
databases or for features which do not yet have a terminfo(5) entry.
Instead of having to grok terminfo(5) capability names and what they
should be set to in the terminal-overrides option, the user can
hopefully just give tmux a feature name and let it do the right thing.

The terminal-overrides option remains both for backwards compatibility
and to allow tweaks of individual capabilities.

tmux already did much of this already, this makes it tidier and simpler
to configure.

show more ...


# 90d7ba38 13-Apr-2020 nicm <nicm@openbsd.org>

Make struct cmd local to cmd.c and move it out of tmux.h.


# ba27d7a5 09-Apr-2020 nicm <nicm@openbsd.org>

Some unnecessary assignments and unused variables.


# b9704b83 30-Mar-2020 nicm <nicm@openbsd.org>

Add to rather than replace flags with -c.


# b6d7e0c7 12-Mar-2020 nicm <nicm@openbsd.org>

When the server socket is given by the user with -S, create it with
umask 177 instead of 117 because it may not be in a safe directory like
the default directory in /tmp. The user can chmod it more o

When the server socket is given by the user with -S, create it with
umask 177 instead of 117 because it may not be in a safe directory like
the default directory in /tmp. The user can chmod it more open after it
is created if they want.

show more ...


1234567