will_colbert
About
- Username
- will_colbert
- Joined
- Visits
- 1
- Last Active
- Roles
- member
- Points
- 31
- Badges
- 0
- Posts
- 2
Reactions
-
Apple drops PostScript support in Preview for macOS Ventura
This affects viewing man pages with Preview. Before you could output a man page as Postscript and pipe it into Preview. For example: "man -t ls | open -fa Preview", which is dramatically nicer than viewing them in Terminal.Dropping of Postscript support in Preview seems to have broken this.
----
You can just add the pstopdf command to the pipeline to convert the ps to a pdf file that is then given to Preview.
man -t ls | pstopdf -o ~/tmp.pdf | open -fa Preview ~/tmp.pdf
and define it in your .zshrc or .bashrc:pman() {man -t ${@} | pstopdf -o ~/tmp.pdf | open -fa Preview ~/tmp.pdf}