aboutsummaryrefslogtreecommitdiff
path: root/slave.c (unfollow)
Commit message (Expand)AuthorLines
2021-02-21errno: don’t use ‘_errno’ as a variable name; _ are reserved for use as identifiersDaniel Eklöf-11/+11
2021-02-21spawn/slave: restore signal mask after forkDaniel Eklöf-7/+2
2021-02-10Mark slave_exec() as "noreturn" and convert xassert(false) to BUG(...)Craig Barnes-2/+3
2021-01-23slave: skip e310487dae99 if not supportedJan Beich-0/+2
2021-01-21slave: skip e310487dae99 if not supportedJan Beich-0/+2
2021-01-16debug: rename assert() to xassert(), to avoid clashing with <assert.h>Craig Barnes-2/+2
2021-01-16Print stack trace on assert() failure or when calling fatal_error()Craig Barnes-1/+1
2020-10-10selection: use appropriate check for PRIMARY pasteSergey Nazaryev-20/+22
2020-08-23log: include 'fmt' in __VA_ARGS__Daniel Eklöf-2/+3
2020-08-23slave: set $COLORTERM environment variable to "truecolor"Craig Barnes-0/+1
2020-08-08Convert most dynamic allocations to use functions from xmalloc.hCraig Barnes-4/+5
2020-08-02Replace non-portable "\e" escape in string literals with "\033"Craig Barnes-4/+4
2020-08-01Revert "slave: use an event FD to communicate errors after fork before exec"Daniel Eklöf-17/+20
2020-08-01slave: use an event FD to communicate errors after fork before execDaniel Eklöf-20/+17
2020-08-01slave: emit user-notifications before dup:ing stdin/stdout/stderrDaniel Eklöf-40/+43
2020-07-31slave: user-notifications: skip the O_NONBLOCK dance when there aren't any notificationsDaniel Eklöf-1/+1
2020-07-31slave: restore pts file status flags after emitting user-notificationsDaniel Eklöf-3/+5
2020-07-31slave: user-notifications: don't block in write(3)Daniel Eklöf-0/+18
2020-07-31slave: user-notifications: emit errors first, then warnings and last deprecationsDaniel Eklöf-2/+21
2020-07-30user-notification: 'productify' the user-warning systemDaniel Eklöf-38/+48
2020-07-29slave: don't ignore write(3) errorsDaniel Eklöf-3/+14
2020-07-29term: add capability to print warnings *inside* the terminalDaniel Eklöf-3/+31
2020-05-26slave: set IUTF8Daniel Eklöf-0/+14
2020-05-21slave: restore signal maskDaniel Eklöf-1/+4
2020-05-13slave: configure pts to be the controlling terminal of the forked processDaniel Eklöf-0/+7
2020-03-02slave: set $SHELL when command line is a shell listed in /etc/shellsDaniel Eklöf-0/+51
2020-02-20slave: check return value of chdir()Daniel Eklöf-1/+6
2020-02-20slave: prefix argv[0] with a '-' when spawning a login-shellDaniel Eklöf-5/+26
2019-12-21term: term_init: add 'cwd' argumentDaniel Eklöf-1/+3
2019-12-21term: term_spawn_new(): new function, spawns a new foot/footclient processDaniel Eklöf-0/+1
2019-11-03slave: restore signals before calling exec()Daniel Eklöf-1/+13
2019-11-03slave: remove unneeded defineDaniel Eklöf-1/+0
2019-11-03slave: turn on FD_CLOEXEC after slave has been spawnedDaniel Eklöf-0/+9
2019-11-01slave: set TERM environment variable in slave processDaniel Eklöf-1/+4
2019-10-30slave: log child's errno, not parentsDaniel Eklöf-2/+2
2019-10-30slave: fix debug logging (no 'term' variable)Daniel Eklöf-2/+2
2019-10-30term: move client startup to a new function, slave_spawn()Daniel Eklöf-2/+70
2019-10-30slave: rename slave_spawn() -> slave_exec()Daniel Eklöf-1/+1
2019-07-17main: allow user to override shell on the command lineDaniel Eklöf-8/+1
2019-07-17slave: break out command line tokenizerDaniel Eklöf-79/+1
2019-07-17slave: report exec() failure back to main processDaniel Eklöf-1/+2
2019-07-17slave: exec shell from confDaniel Eklöf-2/+87
2019-07-03logging: disable debug logging by defaultDaniel Eklöf-1/+1
2019-06-29slave: remove initial debug codeDaniel Eklöf-16/+0
2019-06-15wip: vt parsing: initial csi/osc dispatchingDaniel Eklöf-0/+5
2019-06-13Initial handling of multi byte charactersDaniel Eklöf-1/+1
2019-06-13Render cursorDaniel Eklöf-0/+3
2019-06-13Use frame callback to rate-limit surface updatesDaniel Eklöf-0/+3
2019-06-13initial grid implementationDaniel Eklöf-1/+2
2019-06-13Set up pseudo terminal and fork slaveDaniel Eklöf-0/+67