From 0712a6dbff8499c52038c2ba989e4580a3ec8fdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sun, 3 Nov 2019 13:46:47 +0100 Subject: [PATCH] man: foot.1: document -s,--server --- doc/foot.1.scd | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/doc/foot.1.scd b/doc/foot.1.scd index b68483ff..e9b80dfc 100644 --- a/doc/foot.1.scd +++ b/doc/foot.1.scd @@ -33,6 +33,28 @@ execute (instead of the shell). *-t*,*--term*=_TERM_ Value to set the environment variable _TERM_ to. Default: _foot_. +*-s*,*--server* + Run as a server. In this mode, a single foot instance hosts + multiple terminal (windows). Use *footclient(1)* to launch new + terminals. + + This saves some memory since for example fonts and glyph caches + can be shared between the terminals. + + It also saves upstart time since the config has already been + loaded and parsed, and most importantly, fonts have already been + loaded (and their glyph caches are likely to already have been + populated). + + Each terminal will have its own rendering threads, but all Wayland + communication, as well as input/output to the shell, is + multiplexed in the main thread. Thus, this mode might result in + slightly worse performance when multiple terminals are under heavy + load. + + Also be aware that should one terminal crash, it will take all the + others with it. + *-v*,*--version* Show the version number and quit