aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/foot.1.scd17
-rw-r--r--doc/footclient.1.scd17
2 files changed, 24 insertions, 10 deletions
diff --git a/doc/foot.1.scd b/doc/foot.1.scd
index cbebd087..26fee4a1 100644
--- a/doc/foot.1.scd
+++ b/doc/foot.1.scd
@@ -409,15 +409,22 @@ The following environment variables are set in the child process:
definitions in ncurses. Note that applications will search the
default location(s) if *TERM* does not exist in *TERMINFO*.
- Note that applications like sudo and ssh will remove this
- environment variable.
+ Note that applications like *sudo*, *doas* and *ssh* may remove
+ this environment variable.
- For sudo, you can create a file under _/etc/sudoers.d_ (name does
- not matter) with the following content:
+ For *sudo*, you can create a file under _/etc/sudoers.d_ (name
+ does not matter) with the following content:
*Defaults env_keep += "TERMINFO"*
- For ssh, you can edit _/etc/ssh/sshd_config_ (on the *server*),
+ For *doas*, edit _/etc/doas.conf_ and add:
+
+ *permit setenv { TERMINFO } :wheel*
+
+ Or, if you are not in the *wheel* group, replace *:wheel* with
+ your username.
+
+ For *ssh*, you can edit _/etc/ssh/sshd_config_ (on the *server*),
and add:
*SetEnv TERMINFO=*_<path>_
diff --git a/doc/footclient.1.scd b/doc/footclient.1.scd
index 155683da..6d5839f0 100644
--- a/doc/footclient.1.scd
+++ b/doc/footclient.1.scd
@@ -153,15 +153,22 @@ The following environment variables are set in the child process:
definitions in ncurses. Note that applications will search the
default location(s) if *TERM* does not exist in *TERMINFO*.
- Note that applications like sudo and ssh will remove this
- environment variable.
+ Note that applications like *sudo*, *doas* and *ssh* may remove
+ this environment variable.
- For sudo, you can create a file under _/etc/sudoers.d_ (name does
- not matter) with the following content:
+ For *sudo*, you can create a file under _/etc/sudoers.d_ (name
+ does not matter) with the following content:
*Defaults env_keep += "TERMINFO"*
- For ssh, you can edit _/etc/ssh/sshd_config_ (on the *server*),
+ For *doas*, edit _/etc/doas.conf_ and add:
+
+ *permit setenv { TERMINFO } :wheel*
+
+ Or, if you are not in the *wheel* group, replace *:wheel* with
+ your username.
+
+ For *ssh*, you can edit _/etc/ssh/sshd_config_ (on the *server*),
and add:
*SetEnv TERMINFO=*_<path>_