mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-07 04:34:03 -05:00
parent
341193a627
commit
fd78fa98b4
2 changed files with 24 additions and 10 deletions
|
|
@ -409,15 +409,22 @@ The following environment variables are set in the child process:
|
||||||
definitions in ncurses. Note that applications will search the
|
definitions in ncurses. Note that applications will search the
|
||||||
default location(s) if *TERM* does not exist in *TERMINFO*.
|
default location(s) if *TERM* does not exist in *TERMINFO*.
|
||||||
|
|
||||||
Note that applications like sudo and ssh will remove this
|
Note that applications like *sudo*, *doas* and *ssh* may remove
|
||||||
environment variable.
|
this environment variable.
|
||||||
|
|
||||||
For sudo, you can create a file under _/etc/sudoers.d_ (name does
|
For *sudo*, you can create a file under _/etc/sudoers.d_ (name
|
||||||
not matter) with the following content:
|
does not matter) with the following content:
|
||||||
|
|
||||||
*Defaults env_keep += "TERMINFO"*
|
*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:
|
and add:
|
||||||
|
|
||||||
*SetEnv TERMINFO=*_<path>_
|
*SetEnv TERMINFO=*_<path>_
|
||||||
|
|
|
||||||
|
|
@ -153,15 +153,22 @@ The following environment variables are set in the child process:
|
||||||
definitions in ncurses. Note that applications will search the
|
definitions in ncurses. Note that applications will search the
|
||||||
default location(s) if *TERM* does not exist in *TERMINFO*.
|
default location(s) if *TERM* does not exist in *TERMINFO*.
|
||||||
|
|
||||||
Note that applications like sudo and ssh will remove this
|
Note that applications like *sudo*, *doas* and *ssh* may remove
|
||||||
environment variable.
|
this environment variable.
|
||||||
|
|
||||||
For sudo, you can create a file under _/etc/sudoers.d_ (name does
|
For *sudo*, you can create a file under _/etc/sudoers.d_ (name
|
||||||
not matter) with the following content:
|
does not matter) with the following content:
|
||||||
|
|
||||||
*Defaults env_keep += "TERMINFO"*
|
*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:
|
and add:
|
||||||
|
|
||||||
*SetEnv TERMINFO=*_<path>_
|
*SetEnv TERMINFO=*_<path>_
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue