First of all, this issue was noticed on the OpenBSD package of plan9port, I don't know if this remains an issue in the current plan9port version, or if the issue is related to OpenBSD as a system.
When you reach the end of a document, or viewing a simple image with page(1), if you try to go the next (non existant) page, the program terminates (that's not something that happen on a real plan9 install).
I kind of fixed the problem with these changes on view.c:
First of all, this issue was noticed on the OpenBSD package of plan9port, I don't know if this remains an issue in the current plan9port version, or if the issue is related to OpenBSD as a system.
When you reach the end of a document, or viewing a simple image with page(1), if you try to go the next (non existant) page, the program terminates (that's not something that happen on a real plan9 install).
I kind of fixed the problem with these changes on
view.c
: