On 09/09/2026 13:14, Anton Shepelev via Gnupg-users wrote:
Werner Koch to Anton Shepelev:
may I request to please add pagination to all output
from --edit-key interactive sessions?
I can understand your request but it is not likley that
this will be implemnted soon. But who knows. Feature
request is
https://dev.gnupg.org/T8445
(in case you can access our server)
Thank you, Werner. Yes, I can access the gnupg bug tracker
server. There, you remark that
Of course this needs to be an option because for sure
there are scripts using canned command sequences (which
they actually should not do).
I those commands are executed by invoking gpg with
`--command-fd', then that option or `--batch' could be used
to suppress pagination, assuming an interactive session by
default.
Another condition for dealing with this portably is to check
isatty(stdout_fd) .
If stdout is a tty and there is a way to read back pager
responses, pager logic can be used by default (subject to
options like --batch).
Another solution is to reformat and rephrase the help screen
to fit in 24 lines (25 lines minus 1 used for the next prompt).
This may involve creative use of columns and word choices.
Enjoy
Jakob
--
Jakob Bohm, CIO, Partner, WiseMo A/S. https://www.wisemo.com
Transformervej 29, 2860 Søborg, Denmark. Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded
_______________________________________________
Gnupg-users mailing list
[email protected]
https://lists.gnupg.org/mailman/listinfo/gnupg-users