aboutsummaryrefslogtreecommitdiff
path: root/slave.h (follow)
Commit message (Collapse)AuthorAgeLines
* user-notification: 'productify' the user-warning systemDaniel Eklöf2020-07-30-2/+2
| | | | | | | | * Rename user_warning to user_notification * Add warning and error types (in addition to the existing deprecated) * Simplify logic when emitting a user notification after forking; we don't need to copy the notification data since we're in a new process and have total control over that memory.
* term: add capability to print warnings *inside* the terminalDaniel Eklöf2020-07-29-1/+4
| | | | | This is intended to be used to print e.g. deprecation warnings inside the terminal, *before* the shell is started.
* slave: prefix argv[0] with a '-' when spawning a login-shellDaniel Eklöf2020-02-20-1/+1
|
* term: term_init: add 'cwd' argumentDaniel Eklöf2019-12-21-1/+2
| | | | | | | | | | This is used when spawning the slave, to set its current working directory just before we exec() the client. In a regular foot instance, we set the cwd from getcwd(). In a foot server instance, each connecting client sends its cwd to the server, and we use that.
* slave: set TERM environment variable in slave processDaniel Eklöf2019-11-01-1/+1
|
* term: move client startup to a new function, slave_spawn()Daniel Eklöf2019-10-30-1/+4
|
* slave: rename slave_spawn() -> slave_exec()Daniel Eklöf2019-10-30-1/+1
|
* main: allow user to override shell on the command lineDaniel Eklöf2019-07-17-1/+1
|
* slave: report exec() failure back to main processDaniel Eklöf2019-07-17-1/+1
|
* slave: exec shell from confDaniel Eklöf2019-07-17-1/+1
|
* Set up pseudo terminal and fork slaveDaniel Eklöf2019-06-13-0/+4