Tweaks to w3m.sh to improve TXT version of docs

Make headers and description terms more apparent, by adding
some more regexps into the `sed` that the HTML is piped through
before being sent to `w3m`.
This commit is contained in:
Bill Kendrick 2024-10-14 17:08:31 -07:00
parent 3032afb85f
commit a62db7f9c2
1060 changed files with 10160 additions and 9743 deletions

View file

@ -12,9 +12,9 @@
Tux Paint understands a number of environment variables, either directly, or
indirectly by the libraries that it utilizes.
Storage-related environment variables
### Storage-related environment variables ###
HOME
HOME
Specifies the user's "home directory", which is used to locate numerous
other files or directories. In some cases, it is utilized as part of a
@ -30,8 +30,8 @@ HOME
+ The location of a user's private collection of data files — stamps,
brushes, etc. — (versus those available system wide)
XDG_CONFIG_HOME
XDG_CONFIG_HOME
On Linux and other platforms where the X Desktop Group standards are used,
the location of the user's configuration files. Specifically, where to find
@ -42,8 +42,8 @@ XDG_CONFIG_HOME
exports drawings and GIFs to "$HOME".
XDG_DATA_HOME
XDG_DATA_HOME
On Linux and other platforms where the X Desktop Group standards are used,
the location of the user's data directories. Specifically, where to find
@ -53,18 +53,18 @@ XDG_DATA_HOME
anywhere.
TEMP
TEMP
Specifies the location where temporary files may be created. Only used by
Tux Paint on Microsoft Windows OSes. Uses "userdata" if not set.
Language-related environment variables
### Language-related environment variables ###
LANG
LANGUAGE
LC_ALL
LC_MESSAGES
LANG
LANGUAGE
LC_ALL
LC_MESSAGES
Specify the language Tux Paint should utilize in its user interface.
Overridden by the "--lang" and "--locale" command-line options or their
@ -73,24 +73,24 @@ LC_MESSAGES
and finally "LANG".
Display-related environment variables
### Display-related environment variables ###
The following are a few of the environment variables supported by Simple
DirectMedia Layer (libSDL) — which Tux Paint utilizes for displaying graphics,
playing sounds, and receiving mouse, keyboard, and joystick input — and which
may be useful to users of Tux Paint.
SDL_VIDEO_ALLOW_SCREENSAVER
SDL_VIDEO_ALLOW_SCREENSAVER
Specifies whether Tux Paint should allow a screensaver to run. Can be set
to '1' (true) by Tux Paint itself by issuing the command-line option
"--allowscreensaver" or its configuration file counterpart.
SDL_VIDEO_WINDOW_POS
SDL_VIDEO_WINDOW_POS
Requests where to position Tux Paint's window, and can be used to specify
what display to place a fullscreen Tux Paint in a multi-monitor
@ -99,5 +99,5 @@ SDL_VIDEO_WINDOW_POS
(e.g. 200,100), or "center" (meaning "center").