mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-16 05:34:00 -04:00
parent
88b2808dcd
commit
6e8da20ee2
2 changed files with 46 additions and 0 deletions
|
|
@ -402,6 +402,29 @@ The following environment variables are set in the child process:
|
||||||
set according to either the *--term* command-line option or the
|
set according to either the *--term* command-line option or the
|
||||||
*term* config option in *foot.ini*(5).
|
*term* config option in *foot.ini*(5).
|
||||||
|
|
||||||
|
*TERMINFO*
|
||||||
|
Path to foot's terminfo definitions. These are typically installed
|
||||||
|
in a non-standard location (though distributions may override
|
||||||
|
this), to allow them to co-exist with the foot terminfo
|
||||||
|
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.
|
||||||
|
|
||||||
|
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*),
|
||||||
|
and add:
|
||||||
|
|
||||||
|
*SetEnv TERMINFO=*_<path>_
|
||||||
|
|
||||||
|
Where path is the location of the terminfo definitions on the
|
||||||
|
*server*, typically /usr/share/foot/terminfo.
|
||||||
|
|
||||||
*COLORTERM*
|
*COLORTERM*
|
||||||
This variable is set to *truecolor*, to indicate to client
|
This variable is set to *truecolor*, to indicate to client
|
||||||
applications that 24-bit RGB colors are supported.
|
applications that 24-bit RGB colors are supported.
|
||||||
|
|
|
||||||
|
|
@ -146,6 +146,29 @@ The following environment variables are set in the child process:
|
||||||
set according to either the *--term* command-line option or the
|
set according to either the *--term* command-line option or the
|
||||||
*term* config option in *foot.ini*(5).
|
*term* config option in *foot.ini*(5).
|
||||||
|
|
||||||
|
*TERMINFO*
|
||||||
|
Path to foot's terminfo definitions. These are typically installed
|
||||||
|
in a non-standard location (though distributions may override
|
||||||
|
this), to allow them to co-exist with the foot terminfo
|
||||||
|
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.
|
||||||
|
|
||||||
|
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*),
|
||||||
|
and add:
|
||||||
|
|
||||||
|
*SetEnv TERMINFO=*_<path>_
|
||||||
|
|
||||||
|
Where path is the location of the terminfo definitions on the
|
||||||
|
*server*, typically /usr/share/foot/terminfo.
|
||||||
|
|
||||||
*COLORTERM*
|
*COLORTERM*
|
||||||
This variable is set to *truecolor*, to indicate to client
|
This variable is set to *truecolor*, to indicate to client
|
||||||
applications that 24-bit RGB colors are supported.
|
applications that 24-bit RGB colors are supported.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue