From 183ca5d931335df5f81eaa7bba3d619521769e25 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Fri, 13 Oct 2023 17:11:31 -0700 Subject: README: don't forget execute perms. --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3