Nicholas Marriott
15c70e562c
Include NCURSES_VERSION_PATCH in the log.
2023-04-25 16:48:49 +01:00
Nicholas Marriott
3a6d82b7c8
Some style nits.
2022-04-06 16:39:46 +01:00
Nicholas Marriott
d6306b634e
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.
2022-04-06 14:28:50 +01:00
Thomas Adam
2fb6089e81
Merge branch 'obsd-master' into master
2022-03-08 14:01:11 +00:00
nicm
98cd8e4cad
Add formats for client and server UID and user (for multiuser setups).
2022-03-08 11:28:40 +00:00
Nicholas Marriott
4208641de7
Remove queue.h, from Simon Holesch.
2021-03-28 10:16:17 +01:00
Thomas Adam
ce5de76592
Merge branch 'obsd-master' into master
2021-02-17 09:58:12 +00:00
nicm
2b58c226db
Add a couple of helper functions, and flush imsgs on exit.
2021-02-11 09:39:29 +00:00
Nicholas Marriott
a3011be0d2
Look for libevent2 differently from libevent for platforms with both.
2021-01-17 17:21:51 +00:00
Thomas Adam
20e89605c9
Merge branch 'obsd-master'
2020-10-26 20:01:18 +00:00
nicm
31ed29e551
SIGQUIT handler needs to be cleared before fork like the others,
...
reported by Simon Andersson.
2020-10-26 19:00:37 +00:00
Thomas Adam
8d7e127b17
Merge branch 'obsd-master'
2020-08-04 12:01:18 +01:00
nicm
82c65e3f37
Also ignore SIGQUIT so it can't be used to kill the client when locked.
2020-08-04 08:50:01 +00:00
Nicholas Marriott
ce6b3a539d
utf8proc_unicode_version is too new.
2020-05-28 08:41:56 +01:00
Nicholas Marriott
a48cc458a6
Maybe this is better.
2020-05-22 17:27:07 +01:00
Nicholas Marriott
b3e5a99c8f
And tweak again.
2020-05-22 17:22:03 +01:00
Nicholas Marriott
6ae26a6b54
Fix utf8proc version logging.
2020-05-22 17:20:35 +01:00
Nicholas Marriott
87a59efc94
Log ncurses and utf8proc versions.
2020-05-22 17:14:35 +01:00
nicm
dceb6a15d0
Add a -D flag to ask tmux not to daemonize, useful both for running a
...
debugger (lldb does not have follow-fork-mode) and for running with a
managed supervisor init system. GitHub issue 2190.
2020-05-16 16:07:55 +00:00
Nicholas Marriott
d01e7aac89
Add a -D flag to ask tmux not to daemonize, useful both for running a debugger
...
(lldb does not have follow-fork-mode) and for running with a managed supervisor
init system. GitHub issue 2190.
2020-05-10 16:52:46 +01:00
Thomas Adam
ee3d3db364
Merge branch 'obsd-master'
2020-01-28 11:17:08 +00:00
nicm
f165221dc4
Reduce a difference with portable tmux by adding the -V flag and
...
#{version} format; on OpenBSD these just report the OpenBSD version.
2020-01-28 10:44:30 +00:00
Thomas Adam
acbbc93501
Merge branch 'obsd-master'
2017-07-14 22:01:10 +01:00
nicm
932f6cfbfc
Because ignore SIGCHLD early, letting signal_del restore it doesn't work
...
correctly, so set it explicitly back to default (and the others for good
measure).
2017-07-14 18:49:07 +00:00
Thomas Adam
1265e212e4
Merge branch 'obsd-master'
2017-07-14 10:01:11 +01:00
nicm
2678fe53f5
Fix redraw defer code in the presence of multiple clients - the timer
...
may be needed for all of them, so don't delete it on the first; and
don't skip setting the redraw flag if the timer is already running.
Reported by Pol Van Aubel in GitHub issue 1003.
2017-07-14 08:04:23 +00:00
Thomas Adam
5122f3477f
Merge branch 'obsd-master'
2017-07-12 14:01:13 +01:00
Thomas Adam
1076a2e26c
Merge branch 'obsd-master'
...
Conflicts:
cmd-pipe-pane.c
proc.c
tmux.c
window.c
2017-07-12 13:43:08 +01:00
nicm
fba6140a4a
Do not need to set up USR2 twice.
2017-07-12 12:35:31 +00:00
nicm
0453ad0146
Move signal code into proc.c.
2017-07-12 09:24:17 +00:00
nicm
d0d42dc4cb
proc_send_s now seems unnecessary.
2017-07-12 09:07:52 +00:00
Thomas Adam
4aa02c3743
Merge branch 'obsd-master'
2017-06-07 18:01:13 +01:00
nicm
356fab7bcb
Return 1 if name matches not 0, also fix some spaces.
2017-06-07 15:27:46 +00:00
Thomas Adam
e62e17d046
Merge branch 'obsd-master'
...
Conflicts:
tmux.1
window.c
2017-06-05 11:59:38 +01:00
nicm
adf5628087
Support SIGUSR2 to stop and start logging for an existing server. Also
...
we currently only have two log levels so just use -v and -vv rather than
-v and -vvvv, and clarify the man page entry for -v.
2017-06-04 08:25:57 +00:00
Nicholas Marriott
b98b4e23a3
Put version in log in portable tmux.
2017-01-18 17:35:41 +00:00
Nicholas Marriott
f6c49cecc1
One extra empty line not in OpenBSD, and tweak a #define style.
2016-10-17 19:25:45 +01:00
Nicholas Marriott
cfef0c6658
getprogname() and setproctitle() on Linux.
2016-05-27 18:04:25 +01:00
Thomas Adam
dc42c35f1f
Merge branch 'obsd-master'
2016-01-19 18:01:15 +00:00
nicm
995af0e2b7
I no longer use my SourceForge address so replace it.
2016-01-19 15:59:12 +00:00
Thomas Adam
8ae9329aa8
Merge branch 'obsd-master'
2015-12-05 14:01:09 +00:00
claudio
0417f1f2be
EAGAIN handling for imsg_read. OK henning@ benno@
2015-12-05 13:18:24 +00:00
Thomas Adam
a1bc339340
log_open() isn't conditional on proctitle
2015-11-25 16:51:17 +00:00
Thomas Adam
260de2cb5e
Remove logfile()
2015-11-25 16:48:47 +00:00
Thomas Adam
890d8da2e3
Merge branch 'obsd-master'
...
Conflicts:
log.c
proc.c
tmux.c
2015-11-25 16:37:30 +00:00
nicm
4e3015a892
Log some system and libevent information at startup.
2015-11-24 21:32:36 +00:00
nicm
9cccb8c115
Make the log stuff a bit tidier with some helper functions.
2015-11-24 21:19:46 +00:00
Nicholas Marriott
7b085136a7
-sys/queue.h in proc.c, and nuke the unnecessary C++ header guards stuff and
...
sys/cdefs.h in vis.h (it causes problems on some platforms). Reported by
someone on GitHub, issue 212.
2015-11-24 18:48:07 +00:00
Thomas Adam
7fe8edc396
Merge branch 'obsd-master'
2015-11-18 16:01:23 +00:00
nicm
577c0e3e5a
Use __unused rather than rolling our own.
2015-11-18 14:27:44 +00:00