aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2023-10-13 17:11:31 -0700
committerKaz Kylheku <kaz@kylheku.com>2023-10-13 17:11:31 -0700
commit183ca5d931335df5f81eaa7bba3d619521769e25 (patch)
treec6f913a01606304c6513b23fe49608c5fd7430a4
parenta3395297085b47e4e0b9052a74ffb483a4521399 (diff)
downloadmnpgr-183ca5d931335df5f81eaa7bba3d619521769e25.tar.gz
mnpgr-183ca5d931335df5f81eaa7bba3d619521769e25.tar.bz2
mnpgr-183ca5d931335df5f81eaa7bba3d619521769e25.zip
README: don't forget execute perms.
-rw-r--r--README.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/README.md b/README.md
index 80784bb..e0916d9 100644
--- a/README.md
+++ b/README.md
@@ -16,12 +16,14 @@ The [TXR](/cgit/txr) language is required.
You can use the `mnpgr.tl` program interpreted, or compile it to `mnpgr.tlo`.
-Using it interpreted. Put it somewhere, for instance your personal `~/bin`
+To use it interpreted, put it somewhere, for instance your personal `~/bin`
directory. Then:
::txt
export MANPAGER=~/bin/mnpgr.tl
+Make sure it has execute permissions.
+
Compiling is recommended if you read large man pages on a very slow machine.
To compile `mnpgr.tl` to `mnpgr.tlo` use:
@@ -34,6 +36,9 @@ Then put the `mnpgr.tlo` into `~/bin` and:
::txt
export MANPAGER=~/bin/mnpgr.tlo
+If `mnpgr.tl` has execute permissions, the compiler will propagate that,
+otherwise you have to remember to `chmod +x mnpgr.tlo`.
+
## Why not use `vim +MANPAGER` or other approaches?
This doesn't handle the backspace overstrikes output by `man`; it can