aboutsummaryrefslogtreecommitdiff
path: root/slave.c (follow)
Commit message (Collapse)AuthorAgeLines
* slave: configure pts to be the controlling terminal of the forked processDaniel Eklöf2020-05-13-0/+7
|
* slave: set $SHELL when command line is a shell listed in /etc/shellsDaniel Eklöf2020-03-02-0/+51
|
* slave: check return value of chdir()Daniel Eklöf2020-02-20-1/+6
|
* slave: prefix argv[0] with a '-' when spawning a login-shellDaniel Eklöf2020-02-20-5/+26
|
* term: term_init: add 'cwd' argumentDaniel Eklöf2019-12-21-1/+3
| | | | | | | | | | 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.
* term: term_spawn_new(): new function, spawns a new foot/footclient processDaniel Eklöf2019-12-21-0/+1
| | | | Bind ctrl+shift+return to it
* slave: restore signals before calling exec()Daniel Eklöf2019-11-03-1/+13
|
* slave: remove unneeded defineDaniel Eklöf2019-11-03-1/+0
|
* slave: turn on FD_CLOEXEC after slave has been spawnedDaniel Eklöf2019-11-03-0/+9
| | | | | This ensures that our ptmx FD isn't carried over to other terminals spawned later.
* slave: set TERM environment variable in slave processDaniel Eklöf2019-11-01-1/+4
|
* slave: log child's errno, not parentsDaniel Eklöf2019-10-30-2/+2
|
* slave: fix debug logging (no 'term' variable)Daniel Eklöf2019-10-30-2/+2
|
* term: move client startup to a new function, slave_spawn()Daniel Eklöf2019-10-30-2/+70
|
* 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-8/+1
|
* slave: break out command line tokenizerDaniel Eklöf2019-07-17-79/+1
|
* slave: report exec() failure back to main processDaniel Eklöf2019-07-17-1/+2
|
* slave: exec shell from confDaniel Eklöf2019-07-17-2/+87
|
* logging: disable debug logging by defaultDaniel Eklöf2019-07-03-1/+1
|
* slave: remove initial debug codeDaniel Eklöf2019-06-29-16/+0
|
* wip: vt parsing: initial csi/osc dispatchingDaniel Eklöf2019-06-15-0/+5
|
* Initial handling of multi byte charactersDaniel Eklöf2019-06-13-1/+1
| | | | Use mblen() to calculate the byte count for each character.
* Render cursorDaniel Eklöf2019-06-13-0/+3
|
* Use frame callback to rate-limit surface updatesDaniel Eklöf2019-06-13-0/+3
|
* initial grid implementationDaniel Eklöf2019-06-13-1/+2
| | | | | This allows us to render *something*, even though it's inefficient, stupid and far far away from the real thing.
* Set up pseudo terminal and fork slaveDaniel Eklöf2019-06-13-0/+67