`man -P page` hangs with gs error

6 views
Skip to first unread message

Ethan Azariah

unread,
Aug 3, 2026, 6:19:27 AM (10 days ago) Aug 3
to plan9port-dev
gs hangs reading the postscript code generated by man -P.

command & output log:
% man -P page
reading through postscript...
Ghostscript Error:
Error: /undefined in putdeviceprops
Operand stack:
--nostringval-- HWResolution --nostringval-- PageSize --nostringval-- Margins --nostringval-- --nostringval--
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- %loop_continue --nostringval-- --nostringval-- false 1 %stopped_push .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval--
Dictionary stack:
--dict:753/1123(ro)(G)-- --dict:0/20(G)-- --dict:90/200(L)--
Current allocation mode is local
Current file position is 29

terminal is 9term. shell is rc -l. p9p bin dir is at the head of path.

man -P awk or ls has the same result. (i think the message is identical, though i have dementia symptoms and can't be sure every byte is the same.) curiously, on quickly switching to page after `pkill gs`, the first page appeared correct as far as could be seen in the instant before page exited.
Reply all
Reply to author
Forward
0 new messages