From owner-freebsd-ports Sat Jul 20 21:29:22 1996 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA10990 for ports-outgoing; Sat, 20 Jul 1996 21:29:22 -0700 (PDT) Received: from seagull.rtd.com (root@seagull.rtd.com [198.102.68.2]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id VAA10985 for ; Sat, 20 Jul 1996 21:29:20 -0700 (PDT) Received: (from dgy@localhost) by seagull.rtd.com (8.7.5/8.7.3) id VAA17363 for freebsd-ports@freefall.cdrom.com; Sat, 20 Jul 1996 21:29:18 -0700 (MST) From: Don Yuniskis Message-Id: <199607210429.VAA17363@seagull.rtd.com> Subject: vcg patch To: freebsd-ports@freefall.FreeBSD.org (FreeBSD ports) Date: Sat, 20 Jul 1996 21:29:18 -0700 (MST) X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-ports@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Greetings! The following diff applies against the (2.1R) port of vcg. It moves the man pages to section 1 (I have an aversion to anything in section L), fixes a few typos and tweeks the demo script to allow the demo to be run (i.e. *tested*) prior to installing the tools. --don ---------8<-----------------8<------------------8<--------------- diff -r --context work/vcg.1.30/man/pbm2hp.man work.new/vcg.1.30/man/pbm2hp.man *** work/vcg.1.30/man/pbm2hp.man Wed Feb 8 04:33:26 1995 --- work.new/vcg.1.30/man/pbm2hp.man Sat Jul 20 20:49:46 1996 *************** *** 1,6 **** .Id SCCS-info %W% %E% .Id $Id: pbm2hp.man,v 1.3 1995/01/05 19:52:26 sander Exp $ ! .TH PBM2HP 1l 1995/01/05 "Release 1.3" .SH NAME pbm2hp \- printer driver of PBM-P4-file for HP Laserjet printers .SH SYNOPSIS --- 1,6 ---- .Id SCCS-info %W% %E% .Id $Id: pbm2hp.man,v 1.3 1995/01/05 19:52:26 sander Exp $ ! .TH PBM2HP 1 1995/01/05 "Release 1.3" .SH NAME pbm2hp \- printer driver of PBM-P4-file for HP Laserjet printers .SH SYNOPSIS *************** *** 25,31 **** .I pbm2hp should be much faster on large files. .SH SEE ALSO ! vcg(l) pbmtolj(l) pbmrot90(l) pbmshift(l) .SH BUGS Currently, no bugs are known. .SH ACKNOWLEDGEMENT --- 25,31 ---- .I pbm2hp should be much faster on large files. .SH SEE ALSO ! vcg(1) pbmtolj(1) pbmrot90(1) pbmshift(1) .SH BUGS Currently, no bugs are known. .SH ACKNOWLEDGEMENT diff -r --context work/vcg.1.30/man/pbmrot90.man work.new/vcg.1.30/man/pbmrot90.man *** work/vcg.1.30/man/pbmrot90.man Wed Feb 8 04:33:25 1995 --- work.new/vcg.1.30/man/pbmrot90.man Sat Jul 20 20:50:14 1996 *************** *** 1,6 **** .Id SCCS-info %W% %E% .Id $Id: pbmrot90.man,v 1.4 1995/01/05 19:52:26 sander Exp $ ! .TH PBMROT90 1l 1995/01/05 "Release 1.3" .SH NAME pbmrot90 \- rotates a PBM-P4-file by 90 degree .SH SYNOPSIS --- 1,6 ---- .Id SCCS-info %W% %E% .Id $Id: pbmrot90.man,v 1.4 1995/01/05 19:52:26 sander Exp $ ! .TH PBMROT90 1 1995/01/05 "Release 1.3" .SH NAME pbmrot90 \- rotates a PBM-P4-file by 90 degree .SH SYNOPSIS *************** *** 26,32 **** .I pbmrot90 should be much faster on large files. .SH SEE ALSO ! vcg(l) pnmrotate(l) pnmflip(l) pbmshift(l) pbm2hp(l) .SH BUGS Currently, no bugs are known. .SH ACKNOWLEDGEMENT --- 26,32 ---- .I pbmrot90 should be much faster on large files. .SH SEE ALSO ! vcg(1) pnmrotate(1) pnmflip(1) pbmshift(1) pbm2hp(1) .SH BUGS Currently, no bugs are known. .SH ACKNOWLEDGEMENT diff -r --context work/vcg.1.30/man/pbmshift.man work.new/vcg.1.30/man/pbmshift.man *** work/vcg.1.30/man/pbmshift.man Wed Feb 8 04:33:26 1995 --- work.new/vcg.1.30/man/pbmshift.man Sat Jul 20 20:50:31 1996 *************** *** 1,6 **** .Id SCCS-info %W% %E% .Id $Id: pbmshift.man,v 1.4 1995/01/05 19:52:26 sander Exp $ ! .TH PBMSHIFT 1l 1995/01/05 "Release 1.3" .SH NAME pbmshift \- shift a PBM-P4-file to the right lower corner .SH SYNOPSIS --- 1,6 ---- .Id SCCS-info %W% %E% .Id $Id: pbmshift.man,v 1.4 1995/01/05 19:52:26 sander Exp $ ! .TH PBMSHIFT 1 1995/01/05 "Release 1.3" .SH NAME pbmshift \- shift a PBM-P4-file to the right lower corner .SH SYNOPSIS *************** *** 33,39 **** .I pbmshift should be much faster on large files. .SH SEE ALSO ! vcg(l) pnmmargin(l) pbmrot90(l) pbm2hp(l) .SH BUGS Currently, no bugs are known. .SH ACKNOWLEDGEMENT --- 33,39 ---- .I pbmshift should be much faster on large files. .SH SEE ALSO ! vcg(1) pnmmargin(1) pbmrot90(1) pbm2hp(1) .SH BUGS Currently, no bugs are known. .SH ACKNOWLEDGEMENT diff -r --context work/vcg.1.30/man/vcg.man work.new/vcg.1.30/man/vcg.man *** work/vcg.1.30/man/vcg.man Wed Feb 8 04:33:27 1995 --- work.new/vcg.1.30/man/vcg.man Sat Jul 20 20:54:17 1996 *************** *** 1,6 **** .Id SCCS-info %W% %E% .Id $Id: vcg.man,v 1.17 1995/02/03 11:09:46 sander Exp $ ! .TH "VCG | XVCG" 1l 1995/01/05 "Release 1.3" .SH NAME VCG tool \- visualization of compiler graphs --- 1,6 ---- .Id SCCS-info %W% %E% .Id $Id: vcg.man,v 1.17 1995/02/03 11:09:46 sander Exp $ ! .TH "VCG | XVCG" 1 1995/01/05 "Release 1.3" .SH NAME VCG tool \- visualization of compiler graphs *************** *** 700,724 **** Set the remote X11 server to .I host:dpy. This is analogous to ! .I xterm(1l). .TP .B \-geometry Specify the hint of size and location of the X11 window. This is analogous to ! .I xterm(1l). .TP .B \-bw Set the border width of the X11 window to .I pixels. This is analogous to ! .I xterm(1l). .TP .B \-font Set the font used for messages and menu items in the X11 window. This is analogous to ! .I xterm(1l). .TP .B \-grabinputfocus Switch setting of InputFocus on or off (depending on the default). --- 700,724 ---- Set the remote X11 server to .I host:dpy. This is analogous to ! .I xterm(1). .TP .B \-geometry Specify the hint of size and location of the X11 window. This is analogous to ! .I xterm(1). .TP .B \-bw Set the border width of the X11 window to .I pixels. This is analogous to ! .I xterm(1). .TP .B \-font Set the font used for messages and menu items in the X11 window. This is analogous to ! .I xterm(1). .TP .B \-grabinputfocus Switch setting of InputFocus on or off (depending on the default). *************** *** 1295,1303 **** during the development of the tool. .SH SEE ALSO ! Sunview(1) X11(1l) edge(l) .br ! vcgdemomaker(l) pbmshift(l) pbmrot90(l) pbm2hp(l) .br .I VCG \- Visualization of Compiler Graphs, Design Report and User Documentation, --- 1295,1303 ---- during the development of the tool. .SH SEE ALSO ! Sunview(1) X(1) edge(l) .br ! vcgdemomaker(1) pbmshift(1) pbmrot90(1) pbm2hp(1) .br .I VCG \- Visualization of Compiler Graphs, Design Report and User Documentation, diff -r --context work/vcg.1.30/man/vcgdemomaker.man work.new/vcg.1.30/man/vcgdemomaker.man *** work/vcg.1.30/man/vcgdemomaker.man Wed Feb 8 04:33:26 1995 --- work.new/vcg.1.30/man/vcgdemomaker.man Sat Jul 20 20:52:28 1996 *************** *** 1,6 **** .Id SCCS-info %W% %E% .Id $Id: vcgdemomaker.man,v 1.3 1995/01/05 19:52:26 sander Exp $ ! .TH VCGDEMOMAKER 1l 1995/01/05 "Release 1.3" .SH NAME vcgdemomaker \- produces demo specifications for .I vcg --- 1,6 ---- .Id SCCS-info %W% %E% .Id $Id: vcgdemomaker.man,v 1.3 1995/01/05 19:52:26 sander Exp $ ! .TH VCGDEMOMAKER 1 1995/01/05 "Release 1.3" .SH NAME vcgdemomaker \- produces demo specifications for .I vcg *************** *** 97,103 **** .I size nodes. .SH SEE ALSO ! vcg(l) .SH BUGS Currently, no bugs are known. .SH AUTHOR --- 97,103 ---- .I size nodes. .SH SEE ALSO ! vcg(1) .SH BUGS Currently, no bugs are known. .SH AUTHOR diff -r --context work/vcg.1.30/preconf/X11ccFreeBSD/conf work.new/vcg.1.30/preconf/X11ccFreeBSD/conf *** work/vcg.1.30/preconf/X11ccFreeBSD/conf Sat Jul 20 20:59:46 1996 --- work.new/vcg.1.30/preconf/X11ccFreeBSD/conf Sat Jul 20 18:18:02 1996 *************** *** 26,33 **** LNNAME|/bin/ln MAKEDEPENDNAME|makedepend MAKENAME|make ! MANEXTNAME|l ! MANPATHNAME|/usr/X11R6/man/manl MVNAME|/bin/mv RMNAME|/bin/rm SEDNAME|/usr/bin/sed --- 26,33 ---- LNNAME|/bin/ln MAKEDEPENDNAME|makedepend MAKENAME|make ! MANEXTNAME|1 ! MANPATHNAME|/usr/X11R6/man/man1 MVNAME|/bin/mv RMNAME|/bin/rm SEDNAME|/usr/bin/sed diff -r --context work/vcg.1.30/preconf/X11ccFreeBSD/demo.csh work.new/vcg.1.30/preconf/X11ccFreeBSD/demo.csh *** work/vcg.1.30/preconf/X11ccFreeBSD/demo.csh Sat Jul 20 20:59:47 1996 --- work.new/vcg.1.30/preconf/X11ccFreeBSD/demo.csh Sat Jul 20 18:19:33 1996 *************** *** 672,678 **** OUTP "Example: Unary tree of depth 100" OUTP "--------------------------------" ! vcgdemomaker demo001.vcg -unarytree 100 OUTP "This graph is very simple. All edges have class 2." OUTP "You can try to hide the edges, expose them or to" --- 672,678 ---- OUTP "Example: Unary tree of depth 100" OUTP "--------------------------------" ! ./vcgdemomaker demo001.vcg -unarytree 100 OUTP "This graph is very simple. All edges have class 2." OUTP "You can try to hide the edges, expose them or to" *************** *** 701,707 **** OUTP "Example: Binary tree of depth 5" OUTP "-------------------------------" ! vcgdemomaker demo002.vcg -binarytree 5 CAT demo002.vcg | SED -e "s/xmax/shrink: 2 &/" > demo003.vcg OUTP "This graph is very simple. All edges have class 2." --- 701,707 ---- OUTP "Example: Binary tree of depth 5" OUTP "-------------------------------" ! ./vcgdemomaker demo002.vcg -binarytree 5 CAT demo002.vcg | SED -e "s/xmax/shrink: 2 &/" > demo003.vcg OUTP "This graph is very simple. All edges have class 2." *************** *** 1066,1072 **** OUTP "---------------------------------" OUTP "Wait half a minute ..." ! vcgdemomaker demo005.vcg -ternarytree 7 CAT demo005.vcg | SED -e "s/xmax/shrink: 2 &/" > demo006.vcg OUTP "Now a first torture test. This graph is a ternary tree" --- 1066,1072 ---- OUTP "---------------------------------" OUTP "Wait half a minute ..." ! ./vcgdemomaker demo005.vcg -ternarytree 7 CAT demo005.vcg | SED -e "s/xmax/shrink: 2 &/" > demo006.vcg OUTP "Now a first torture test. This graph is a ternary tree" *************** *** 1100,1106 **** OUTP "Example: Two level cross graph" OUTP "------------------------------" ! vcgdemomaker demo007.vcg -twolevelcross 1000 OUTP "This is a torture test for bary centering." OUTP "This graph is specified in an ugly format with a lot" --- 1100,1106 ---- OUTP "Example: Two level cross graph" OUTP "------------------------------" ! ./vcgdemomaker demo007.vcg -twolevelcross 1000 OUTP "This is a torture test for bary centering." OUTP "This graph is specified in an ugly format with a lot" *************** *** 1130,1136 **** OUTP "Example: Nearedge test" OUTP "----------------------" ! vcgdemomaker demo008.vcg -leveltree 4 CAT demo008.vcg | SED -e "s/xmax/shrink: 4 &/" > demo009.vcg OUTP "This is a torture test for near edge layout." --- 1130,1136 ---- OUTP "Example: Nearedge test" OUTP "----------------------" ! ./vcgdemomaker demo008.vcg -leveltree 4 CAT demo008.vcg | SED -e "s/xmax/shrink: 4 &/" > demo009.vcg OUTP "This is a torture test for near edge layout." *************** *** 1161,1167 **** OUTP "Example: Complete graphs" OUTP "------------------------" ! vcgdemomaker demo010.vcg -allconnect 5 OUTP "The complete graph has edges between all nodes." OUTP "If we have n nodes, then we have about n*n/2 edges." --- 1161,1167 ---- OUTP "Example: Complete graphs" OUTP "------------------------" ! ./vcgdemomaker demo010.vcg -allconnect 5 OUTP "The complete graph has edges between all nodes." OUTP "If we have n nodes, then we have about n*n/2 edges." *************** *** 1192,1198 **** OUTP "Example: Complete graphs" OUTP "------------------------" ! vcgdemomaker demo011.vcg -allconnect 10 CAT demo011.vcg | SED -e "s/xmax/shrink: 10 stretch: 7 &/" > demo012.vcg OUTP "An complete graph of 10 nodes needs a few seconds." --- 1192,1198 ---- OUTP "Example: Complete graphs" OUTP "------------------------" ! ./vcgdemomaker demo011.vcg -allconnect 10 CAT demo011.vcg | SED -e "s/xmax/shrink: 10 stretch: 7 &/" > demo012.vcg OUTP "An complete graph of 10 nodes needs a few seconds." *************** *** 1220,1226 **** OUTP "Example: Complete graphs" OUTP "------------------------" ! vcgdemomaker demo013.vcg -allconnect 20 CAT demo013.vcg | SED -e "s/xmax/shrink: 100 stretch: 32 &/" > demo014.vcg OUTP "An complete graph of 20 nodes needs about 25 seconds" --- 1220,1226 ---- OUTP "Example: Complete graphs" OUTP "------------------------" ! ./vcgdemomaker demo013.vcg -allconnect 20 CAT demo013.vcg | SED -e "s/xmax/shrink: 100 stretch: 32 &/" > demo014.vcg OUTP "An complete graph of 20 nodes needs about 25 seconds" *************** *** 1249,1255 **** OUTP "Example: Complete graphs" OUTP "------------------------" ! vcgdemomaker demo015.vcg -allconnect 30 CAT demo015.vcg | SED -e "s/xmax/shrink: 10 stretch: 2 &/" > demo016.vcg OUTP "An complete graph of 30 nodes needs about 110 seconds" --- 1249,1255 ---- OUTP "Example: Complete graphs" OUTP "------------------------" ! ./vcgdemomaker demo015.vcg -allconnect 30 CAT demo015.vcg | SED -e "s/xmax/shrink: 10 stretch: 2 &/" > demo016.vcg OUTP "An complete graph of 30 nodes needs about 110 seconds" *************** *** 1393,1399 **** set f = $< if ("$f" == "QUIT") goto finishup ! animation3 OUTP "Ready ! Press Carriage Return key to continue ..." set f = $< --- 1393,1399 ---- set f = $< if ("$f" == "QUIT") goto finishup ! ./animation3 OUTP "Ready ! Press Carriage Return key to continue ..." set f = $< *************** *** 1404,1410 **** OUTP "----------------------------------------------------" OUTP "We show another small animation that demonstrate the " OUTP "communication between the VCG tool and a controller " ! OUTP "program called animation1." OUTP "The controller program sends signals to the VCG tool." OUTP "The VCG tool indicates the completion of vizualization" OUTP "by sending a signal back to the controlling program." --- 1404,1410 ---- OUTP "----------------------------------------------------" OUTP "We show another small animation that demonstrate the " OUTP "communication between the VCG tool and a controller " ! OUTP "program called animation2." OUTP "The controller program sends signals to the VCG tool." OUTP "The VCG tool indicates the completion of vizualization" OUTP "by sending a signal back to the controlling program." *************** *** 1417,1423 **** set f = $< if ("$f" == "QUIT") goto finishup ! animation2 OUTP "Ready ! Press Carriage Return key to finish the demonstration." --- 1417,1423 ---- set f = $< if ("$f" == "QUIT") goto finishup ! ./animation2 OUTP "Ready ! Press Carriage Return key to finish the demonstration." diff -r --context work/vcg.1.30/preconf/X11ccFreeBSD/tMakefile work.new/vcg.1.30/preconf/X11ccFreeBSD/tMakefile *** work/vcg.1.30/preconf/X11ccFreeBSD/tMakefile Sat Jul 20 20:59:47 1996 --- work.new/vcg.1.30/preconf/X11ccFreeBSD/tMakefile Sat Jul 20 18:22:52 1996 *************** *** 43,52 **** # where the manual pages go # MANDIR = /usr/local/man/manl/ # MANDIR = /RW/esprit/users/sander/PUBLIC/MAN/ ! MANDIR = /usr/X11R6/man/manl # what the manual extension is ! MANEXT = l # how the VCG tool should be called # For the Sunview version I use the name vcg. --- 43,52 ---- # where the manual pages go # MANDIR = /usr/local/man/manl/ # MANDIR = /RW/esprit/users/sander/PUBLIC/MAN/ ! MANDIR = /usr/X11R6/man/man1 # what the manual extension is ! MANEXT = 1 # how the VCG tool should be called # For the Sunview version I use the name vcg.