From 3900345c80a9b585dfaa7a147ffbf36ad76a05f6 Mon Sep 17 00:00:00 2001 From: Christoph Lohmann <20h@r-36.net> Date: Sun, 20 Dec 2020 15:36:16 +0100 Subject: [PATCH] Add file with hints about PATH_MAX circumvention. --- PATH-MAX-LIMIT.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 PATH-MAX-LIMIT.md diff --git a/PATH-MAX-LIMIT.md b/PATH-MAX-LIMIT.md new file mode 100644 index 0000000..8321f04 --- /dev/null +++ b/PATH-MAX-LIMIT.md @@ -0,0 +1,18 @@ +# PATH_MAX limit. + +In case you rush into the problem, that you have more slides than +PATH_MAX, which is more than four thousand slides, there is a solution +with catpoint(1): + +1. Make a temporary file with the content of your presentation. +2. Create some application to update the temporary file content. +2. Either press reload or use SIGHUP to reload the file and slide. + +Using this solution you lose some commands in catpoint(1) but will be +able to scale to infinity. + +Another solution would be to use some different kernel or userspace, +allowing more arguments to a command. + +Have fun! +