You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OK, maybe I'm old-school, but I like printing things.
Also, I've put enough effort into my rsync um page that it's a genuinely useful resource I want to share it with co-workers as a PDF, all of whom use rsync, but not all of whom can be bothered to install um itself.
I'm OK with implementing this and doing a PR, but thought I would open an issue to solicit feedback from people about how they'd like this to work.
I can see exactly where man is getting called (libexec/um-read.rb#L42), and it looks like it would be no sweat to skip man and call groff (troff, roff, whatever) to produce roff source instead, or output for one of the devices supported by groff, like PostScript.
I was thinking of keeping it pretty minimal; just:
add a --roff switch to um read
and a config setting where you can customize the command to run instead of man (e.g., groff -man -Tps)
and leaving it up to the user to redirect that output into a file or pipe it to a2ps, lpr, whatever you gotta do
Thoughts?
The text was updated successfully, but these errors were encountered:
OK, maybe I'm old-school, but I like printing things.
Also, I've put enough effort into my
rsync
um page that it's a genuinely useful resource I want to share it with co-workers as a PDF, all of whom use rsync, but not all of whom can be bothered to install um itself.I'm OK with implementing this and doing a PR, but thought I would open an issue to solicit feedback from people about how they'd like this to work.
I can see exactly where
man
is getting called (libexec/um-read.rb#L42), and it looks like it would be no sweat to skipman
and callgroff
(troff
,roff
, whatever) to produce roff source instead, or output for one of the devices supported by groff, like PostScript.I was thinking of keeping it pretty minimal; just:
--roff
switch toum read
man
(e.g.,groff -man -Tps
)a2ps
,lpr
, whatever you gotta doThoughts?
The text was updated successfully, but these errors were encountered: