<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/slave.c, branch 1.2.3</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.2.3</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.2.3'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2020-03-02T17:46:35Z</updated>
<entry>
<title>slave: set $SHELL when command line is a shell listed in /etc/shells</title>
<updated>2020-03-02T17:46:35Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-02T17:46:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=6912bbd310d1c8cdc4f019dd5887cc9fdf679806'/>
<id>urn:sha1:6912bbd310d1c8cdc4f019dd5887cc9fdf679806</id>
<content type='text'>
</content>
</entry>
<entry>
<title>slave: check return value of chdir()</title>
<updated>2020-02-20T17:46:35Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-02-20T17:46:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=f1b1ac39f6ac5fc9b7ca59ff559bc588c852c89f'/>
<id>urn:sha1:f1b1ac39f6ac5fc9b7ca59ff559bc588c852c89f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>slave: prefix argv[0] with a '-' when spawning a login-shell</title>
<updated>2020-02-20T17:36:09Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-02-20T17:36:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b5efe984bbfec151b70d3450f4f18243313de497'/>
<id>urn:sha1:b5efe984bbfec151b70d3450f4f18243313de497</id>
<content type='text'>
</content>
</entry>
<entry>
<title>term: term_init: add 'cwd' argument</title>
<updated>2019-12-21T18:57:28Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-12-21T18:57:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=39146fac5cb7db4d0b68ba685722ca4713ddf722'/>
<id>urn:sha1:39146fac5cb7db4d0b68ba685722ca4713ddf722</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>term: term_spawn_new(): new function, spawns a new foot/footclient process</title>
<updated>2019-12-21T14:27:17Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-12-21T14:27:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=57de9feaa508fdd83c0d08c499232187c5f4b6c1'/>
<id>urn:sha1:57de9feaa508fdd83c0d08c499232187c5f4b6c1</id>
<content type='text'>
Bind ctrl+shift+return to it
</content>
</entry>
<entry>
<title>slave: restore signals before calling exec()</title>
<updated>2019-11-03T12:24:15Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-03T12:24:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=61dfa1365ea65b3b133153c583a7a7d3764eaadd'/>
<id>urn:sha1:61dfa1365ea65b3b133153c583a7a7d3764eaadd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>slave: remove unneeded define</title>
<updated>2019-11-03T12:02:16Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-03T12:02:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=d3e4ba6c94eb83e82b45a737d59b9951ff936517'/>
<id>urn:sha1:d3e4ba6c94eb83e82b45a737d59b9951ff936517</id>
<content type='text'>
</content>
</entry>
<entry>
<title>slave: turn on FD_CLOEXEC after slave has been spawned</title>
<updated>2019-11-03T00:14:02Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-03T00:14:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=8cf981ca12a295b605b2578cd4b347a08a80dee6'/>
<id>urn:sha1:8cf981ca12a295b605b2578cd4b347a08a80dee6</id>
<content type='text'>
This ensures that our ptmx FD isn't carried over to other terminals
spawned later.
</content>
</entry>
<entry>
<title>slave: set TERM environment variable in slave process</title>
<updated>2019-11-01T20:01:15Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-01T20:01:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=69d62d3cd2918bee089fc879e381820349497483'/>
<id>urn:sha1:69d62d3cd2918bee089fc879e381820349497483</id>
<content type='text'>
</content>
</entry>
<entry>
<title>slave: log child's errno, not parents</title>
<updated>2019-10-30T19:21:19Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-10-30T19:21:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=54039c1fb44b691abe94fc412696bdc5e14d0a93'/>
<id>urn:sha1:54039c1fb44b691abe94fc412696bdc5e14d0a93</id>
<content type='text'>
</content>
</entry>
<entry>
<title>slave: fix debug logging (no 'term' variable)</title>
<updated>2019-10-30T19:20:56Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-10-30T19:20:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=98ccd01c1b9f273c26466afcfba6f50c57e74cbb'/>
<id>urn:sha1:98ccd01c1b9f273c26466afcfba6f50c57e74cbb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>term: move client startup to a new function, slave_spawn()</title>
<updated>2019-10-30T17:05:03Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-10-30T17:05:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=18921f7f45db38a9393992e4dd26a8046117a8a6'/>
<id>urn:sha1:18921f7f45db38a9393992e4dd26a8046117a8a6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>slave: rename slave_spawn() -&gt; slave_exec()</title>
<updated>2019-10-30T16:30:58Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-10-28T17:53:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=ce5f5e4d51d693933cb7193ccce2c19d4feac79c'/>
<id>urn:sha1:ce5f5e4d51d693933cb7193ccce2c19d4feac79c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>main: allow user to override shell on the command line</title>
<updated>2019-07-17T07:55:36Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-07-17T07:55:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c11cc2be5736ccd509d2f452ee83e1217a699835'/>
<id>urn:sha1:c11cc2be5736ccd509d2f452ee83e1217a699835</id>
<content type='text'>
</content>
</entry>
<entry>
<title>slave: break out command line tokenizer</title>
<updated>2019-07-17T07:46:45Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-07-17T07:46:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=2046dc0fbdbd77bb05542d7bc7d43edb0f057422'/>
<id>urn:sha1:2046dc0fbdbd77bb05542d7bc7d43edb0f057422</id>
<content type='text'>
</content>
</entry>
<entry>
<title>slave: report exec() failure back to main process</title>
<updated>2019-07-17T07:39:12Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-07-17T07:39:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=aa87be43ba0deb9977a7c159367214afbe7a50b4'/>
<id>urn:sha1:aa87be43ba0deb9977a7c159367214afbe7a50b4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>slave: exec shell from conf</title>
<updated>2019-07-17T07:30:39Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-07-17T07:30:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=153894eb73a26b912d5dc0581f93b3527244cf12'/>
<id>urn:sha1:153894eb73a26b912d5dc0581f93b3527244cf12</id>
<content type='text'>
</content>
</entry>
<entry>
<title>logging: disable debug logging by default</title>
<updated>2019-07-03T18:21:03Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-07-03T18:21:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=1373d18dbc7b04141347a20a58867c1c79cf6daf'/>
<id>urn:sha1:1373d18dbc7b04141347a20a58867c1c79cf6daf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>slave: remove initial debug code</title>
<updated>2019-06-29T18:49:35Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-06-29T18:49:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=34fb86724fecb8be5d0e2c8ec344928d9d219279'/>
<id>urn:sha1:34fb86724fecb8be5d0e2c8ec344928d9d219279</id>
<content type='text'>
</content>
</entry>
<entry>
<title>wip: vt parsing: initial csi/osc dispatching</title>
<updated>2019-06-15T20:22:44Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-06-15T20:22:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=2a4c08b94104a31a0944f4b0df6729029c1b55ba'/>
<id>urn:sha1:2a4c08b94104a31a0944f4b0df6729029c1b55ba</id>
<content type='text'>
</content>
</entry>
</feed>
