aboutsummaryrefslogtreecommitdiff
path: root/slave.c (unfollow)
Commit message (Expand)AuthorLines
2025-07-30slave: remove more environment variables set by other terminalsDaniel Eklöf-2/+48
2024-08-09slave: prefix user notifications with 'foot'Daniel Eklöf-1/+3
2024-08-03xmalloc: remove delim param from xstrjoin() and add separate xstrjoin3()Craig Barnes-2/+2
2024-08-02Remove a number of unused includesDaniel Eklöf-1/+0
2024-06-07meson: auto-detect execvpe on FreeBSDJan Beich-3/+3
2024-02-05util: add streq() function and use in place of strcmp(...) == 0Craig Barnes-1/+2
2024-01-16slave: fix typoArtturin-1/+1
2024-01-11slave: don't skip setting environment variables when using a custom environmentDaniel Eklöf-11/+92
2024-01-05slave: ignore return value of chdir()Daniel Eklöf-1/+1
2024-01-03slave: chdir to / after spawning the client applicationDaniel Eklöf-0/+8
2023-05-18slave: unset TERM_PROGRAM{,_VERSION}Daniel Eklöf-3/+3
2023-03-20slave: set $TERM_PROGRAM and $TERM_PROGRAM_VERSION environment variablesCraig Barnes-0/+3
2022-12-06slave: unsetenv() env vars that have been set to the empty stringDaniel Eklöf-2/+9
2022-10-02slave: spawn: set PWD environment variableDaniel Eklöf-0/+1
2022-06-13config: add a new ‘environment’ sectionDaniel Eklöf-2/+8
2022-04-12slave: roll our own ‘execvpe()’ on FreeBSDDaniel Eklöf-1/+58
2022-04-12client/slave: explictly add ‘extern char **environ’Daniel Eklöf-0/+2
2022-04-12client: add -E,--client-environmentDaniel Eklöf-6/+7
2022-02-12Explicitly initialize sigaction::sa_mask members with sigemptyset(3)Craig Barnes-1/+2
2021-12-18slave: re-use ‘struct sigaction’ variable when resetting SIGHUP+SIGPIPEDaniel Eklöf-2/+4
2021-12-18slave: restore SIGPIPEDaniel Eklöf-1/+2
2021-08-30slave: log _which_ CWD we failed to change toDaniel Eklöf-1/+1
2021-08-18slave: set TERMINFO instead of TERMINFO_DIRSDaniel Eklöf-9/+1
2021-08-17terminfo: install to $datadir/foot/terminfo by default, append to TERMINFO_DIRSDaniel Eklöf-0/+12
2021-06-20tokenize: strdup() each individual argvDaniel Eklöf-3/+1
2021-06-02slave/spawn: restore SIGHUP handler after fork(), before exec()Daniel Eklöf-2/+4
2021-05-20notifications: use \e[22m to disable boldDaniel Eklöf-3/+3
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-258/+38
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