The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
* [TUHS] mancvt
@ 2013-03-12 23:00 Steve Simon
  2013-03-12 23:27 ` Diomidis Spinellis
  2013-03-12 23:43 ` Random832
  0 siblings, 2 replies; 3+ messages in thread
From: Steve Simon @ 2013-03-12 23:00 UTC (permalink / raw)


I was trying to generate PDFs of some PWB
manual pages but they use V6 macros.

I have found tmac.an6 which generates somthing
readable but stamps each page with:

	THIS MANUAL ENTRY NEEDS TO BE CONVERTED - SEE mancvt(1) and man(7)

Anyone know of mancvt, I cannot find it.

-Steve



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [TUHS] mancvt
  2013-03-12 23:00 [TUHS] mancvt Steve Simon
@ 2013-03-12 23:27 ` Diomidis Spinellis
  2013-03-12 23:43 ` Random832
  1 sibling, 0 replies; 3+ messages in thread
From: Diomidis Spinellis @ 2013-03-12 23:27 UTC (permalink / raw)


On 13/03/2013 01:00, Steve Simon wrote:
> I was trying to generate PDFs of some PWB
> manual pages but they use V6 macros.
>
> I have found tmac.an6 which generates somthing
> readable but stamps each page with:
>
> 	THIS MANUAL ENTRY NEEDS TO BE CONVERTED - SEE mancvt(1) and man(7)
>
> Anyone know of mancvt, I cannot find it.

SysIII/usr/src/cmd/text/shells.d/mancvt.sh

#	MANCVT(@(#)mancvt.sh	1.3)
while [ $1 ]
do
ed - $1 <<\!
g/^\.th/s//.TH/
g/^\.sh/s//.SH/
g/^\.bd/s//.B/
g/^\.it/s//.I/
g/^\.dt/s//.DT/
g/\\\*r/s//\\*R/
g/^\.lp/s/.*$/==>DOES NOT CONVERT EASILY - SEE .RS\/.RE\/.TP in MAN.7/
g/^\.s[123]/s/.*$/==>DOES NOT CONVERT EASILY - SEE .PD\/.P in MAN.7/
w temp.n
q
!
mv temp.n $1.n
shift
done


http://minnie.tuhs.org/cgi-bin/utree.pl?file=SysIII/usr/src/cmd/text/shells.d/mancvt.sh






^ permalink raw reply	[flat|nested] 3+ messages in thread

* [TUHS] mancvt
  2013-03-12 23:00 [TUHS] mancvt Steve Simon
  2013-03-12 23:27 ` Diomidis Spinellis
@ 2013-03-12 23:43 ` Random832
  1 sibling, 0 replies; 3+ messages in thread
From: Random832 @ 2013-03-12 23:43 UTC (permalink / raw)


On 03/12/2013 07:00 PM, Steve Simon wrote:
> I was trying to generate PDFs of some PWB
> manual pages but they use V6 macros.
>
> I have found tmac.an6 which generates somthing
> readable but stamps each page with:
>
> 	THIS MANUAL ENTRY NEEDS TO BE CONVERTED - SEE mancvt(1) and man(7)
>
> Anyone know of mancvt, I cannot find it.

Any reason not to just find and remove the code in tmac.an6 that does 
that? Anyway, there's a System III version in the archive: 
http://minnie.tuhs.org/cgi-bin/utree.pl?file=SysIII/usr/bin/mancvt



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-03-12 23:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-12 23:00 [TUHS] mancvt Steve Simon
2013-03-12 23:27 ` Diomidis Spinellis
2013-03-12 23:43 ` Random832

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).