<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/client.c, branch 1.3.0</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.3.0</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.3.0'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2020-05-08T16:43:03Z</updated>
<entry>
<title>main/client: be POSIXLY_CORRECT when parsing command line</title>
<updated>2020-05-08T16:43:03Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-05-08T16:43:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=5b70f94827b365b44b0d28a8e3768fa9eb4268ca'/>
<id>urn:sha1:5b70f94827b365b44b0d28a8e3768fa9eb4268ca</id>
<content type='text'>
This means command line parsing stops when it encounters the first
nonoption argument.

The result is that one no longer need to use '--' to ensure arguments
are passed to the shell/command, instead of parsed by foot.

That is, instead of

  foot -- sh -c true

one can now do

  foot sh -c true

Arguments to foot *must* go before the command:

  foot --fullscreen sh -c true
</content>
</entry>
<entry>
<title>conf: add 'title' conf option and --title command line option</title>
<updated>2020-04-01T17:59:47Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-04-01T17:59:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=ec7a7684876c06764a583a1cefe2a93f6706e3ca'/>
<id>urn:sha1:ec7a7684876c06764a583a1cefe2a93f6706e3ca</id>
<content type='text'>
</content>
</entry>
<entry>
<title>conf: add app-id config option and --app-id command line option</title>
<updated>2020-04-01T16:40:51Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-04-01T16:40:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=4d52a870b493c17172766db3d0a76cd8f0c3204c'/>
<id>urn:sha1:4d52a870b493c17172766db3d0a76cd8f0c3204c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>client: add --maximized and --fullscreen</title>
<updated>2020-03-27T20:14:49Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-27T20:14:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=758fd9fd58b25ab285868db7f36afdf9378df733'/>
<id>urn:sha1:758fd9fd58b25ab285868db7f36afdf9378df733</id>
<content type='text'>
We now create a copy of the config for each client, and updates it
with the values passed from the client.

Since we're not actually cloning it (and e.g. strdup() all strings
etc) we can't call conf_destroy() to free it, but need to free just
the strings we've replaced.
</content>
</entry>
<entry>
<title>client: log path we actually tried to connect to (and failed)</title>
<updated>2020-03-10T17:06:10Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-10T17:02:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9049488acc36db90719357ee5327435baf617f4b'/>
<id>urn:sha1:9049488acc36db90719357ee5327435baf617f4b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>client: update --server-socket usage to mention XDG_SESSION_ID</title>
<updated>2020-03-10T17:06:10Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-10T17:02:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=1c42fadcf7f77903093cb4818bf0e28ebceb64b1'/>
<id>urn:sha1:1c42fadcf7f77903093cb4818bf0e28ebceb64b1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>server/client: add XDG_SESSION_ID to the default socket path</title>
<updated>2020-03-09T17:47:10Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-09T17:47:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=25792a7e8cd6bd1aa1486f08e8af6770d170da09'/>
<id>urn:sha1:25792a7e8cd6bd1aa1486f08e8af6770d170da09</id>
<content type='text'>
This allows multiple foot servers to run in multiple sessions.
</content>
</entry>
<entry>
<title>client: make sure 'cwd' is in scope of all goto's</title>
<updated>2020-02-20T19:21:34Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-02-20T19:21:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=54fbfb6405f582fc6138f5c28a92e751e33ba687'/>
<id>urn:sha1:54fbfb6405f582fc6138f5c28a92e751e33ba687</id>
<content type='text'>
</content>
</entry>
<entry>
<title>client: allocate current working directory buffer dynamically</title>
<updated>2020-02-20T17:45:42Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-02-20T17:45:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e751227dc6076d1c26ff86f89b49e1961cf48bce'/>
<id>urn:sha1:e751227dc6076d1c26ff86f89b49e1961cf48bce</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>client: add --login-shell command line option</title>
<updated>2020-02-20T17:34:51Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-02-20T17:34:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=8dee9bf942d3c7c01820e8aace8c768a8fea1ae9'/>
<id>urn:sha1:8dee9bf942d3c7c01820e8aace8c768a8fea1ae9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>main: add --print-pid=FILE|FD</title>
<updated>2020-02-05T18:54:16Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-02-05T18:54:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=82b8853f17b943901776eddcb857089384a61dda'/>
<id>urn:sha1:82b8853f17b943901776eddcb857089384a61dda</id>
<content type='text'>
When specified, our PID is written to the specified file (or FD),
after we've successfully started up.
</content>
</entry>
<entry>
<title>client/server: client sends its CWD to server</title>
<updated>2019-12-21T18:56:37Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-12-21T18:56:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=277735db65799aada06a5013fe747a48dfa6040b'/>
<id>urn:sha1:277735db65799aada06a5013fe747a48dfa6040b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>log: caller can control syslog level</title>
<updated>2019-12-17T18:07:28Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-12-17T18:07:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=a0fcec3a3d147f8d347af8f5fb2004b4a310b358'/>
<id>urn:sha1:a0fcec3a3d147f8d347af8f5fb2004b4a310b358</id>
<content type='text'>
</content>
</entry>
<entry>
<title>client: strncpy() size limit must be less than destination size</title>
<updated>2019-12-14T12:14:24Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-12-14T12:14:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c186f3dc0ef90e35c73ac409150c1ec923aa4dcd'/>
<id>urn:sha1:c186f3dc0ef90e35c73ac409150c1ec923aa4dcd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>client: add missing break after handling -t,--term</title>
<updated>2019-12-14T12:07:33Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-12-14T12:07:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b2f72d470ae6a7e115aa7d4551dc2249799f0a0e'/>
<id>urn:sha1:b2f72d470ae6a7e115aa7d4551dc2249799f0a0e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>client: add 's:' to the list of recognized short options</title>
<updated>2019-12-14T12:07:19Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-12-14T12:07:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=4102f9d4781d17af374a47b0dc3b86ce8f266127'/>
<id>urn:sha1:4102f9d4781d17af374a47b0dc3b86ce8f266127</id>
<content type='text'>
</content>
</entry>
<entry>
<title>client: initialize/deinitialize the logging system</title>
<updated>2019-12-14T12:01:21Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-12-14T12:01:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c0a9cf7767e928b2c35a16b9bfd0866a3d2e3de7'/>
<id>urn:sha1:c0a9cf7767e928b2c35a16b9bfd0866a3d2e3de7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>client: add -s,--server-socket command line option</title>
<updated>2019-12-14T12:00:48Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-12-14T12:00:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c5875bf97cb3652fa712da425effccd049a26f27'/>
<id>urn:sha1:c5875bf97cb3652fa712da425effccd049a26f27</id>
<content type='text'>
This allows the user to override the default
path (XDG_RUNTIME_DIR/foot.sock) we try to connect to.
</content>
</entry>
<entry>
<title>server/client: harden reading of initialization data, and make async</title>
<updated>2019-11-05T09:08:30Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-05T09:08:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9abc5ca971b12c53f4d424d2bb3345f5a2b2007f'/>
<id>urn:sha1:9abc5ca971b12c53f4d424d2bb3345f5a2b2007f</id>
<content type='text'>
* Client terminal initialization data is now received
  asynchronously. To facilitate this, a couple of minor changes to the
  protocol was made:
    - The client now starts with sending a 4-byte unsigned integer
      with the *total* size of the initialization data (*not*
      including the size field itself.
    - Strings (TERM variable + argv) are now sent NULL-terminated

* The server allocates a single buffer, and fills it
  asynchronously. When full (as indicated by the initial 'total size'
  integer), we parse it (taking care not to read outside boundaries
  etc, and verifies the lengths (of the TERM variable and argv array)
  indicated by the client matches the actual lengths of the strings
  received.

* The server now ignores 'unexpected' data received from the client,
  after the terminal has been instantiated.
</content>
</entry>
</feed>
