home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sources.misc
- From: bkw@uecok.ECOK.EDU (Bill Walker)
- Subject: v26i101: wroff - text formatter for HP LaserJet with PDS 25-font cartridge, Part05/05
- Message-ID: <1991Dec10.063701.9880@sparky.imd.sterling.com>
- X-Md4-Signature: a174dd840a524580e783e5c08cde8ec6
- Date: Tue, 10 Dec 1991 06:37:01 GMT
- Approved: kent@sparky.imd.sterling.com
-
- Submitted-by: bkw@uecok.ECOK.EDU (Bill Walker)
- Posting-number: Volume 26, Issue 101
- Archive-name: wroff/part05
- Environment: SCO, HPUX, MS-DOS, CPM-68K
-
- #! /bin/sh
- # into a shell via "sh file" or similar. To overwrite existing files,
- # type "sh file -c".
- # The tool that generated this appeared in the comp.sources.unix newsgroup;
- # send mail to comp-sources-unix@uunet.uu.net if you want that tool.
- # Contents: MANIFEST Fonts/fix.c MACROS/greek MACROS/test
- # TestData/README TestData/booltest.w TestData/macros
- # TestData/macros.b doc/macs.w manual.bat sampler.bat
- # source/copyright source/maketest.c test.bat tutor.bat
- # Wrapped by kent@sparky on Tue Dec 10 00:26:40 1991
- PATH=/bin:/usr/bin:/usr/ucb ; export PATH
- echo If this archive is complete, you will see the following message:
- echo ' "shar: End of archive 5 (of 5)."'
- if test -f 'MANIFEST' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'MANIFEST'\"
- else
- echo shar: Extracting \"'MANIFEST'\" \(71 characters\)
- sed "s/^X//" >'MANIFEST' <<'END_OF_FILE'
- XFonts/
- XMACROS/
- XMANIFEST
- XMakefile
- XREADME
- XTestData/
- Xbin/
- Xdoc/
- Xsource/
- END_OF_FILE
- if test 71 -ne `wc -c <'MANIFEST'`; then
- echo shar: \"'MANIFEST'\" unpacked with wrong size!
- fi
- # end of 'MANIFEST'
- fi
- if test -f 'Fonts/fix.c' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'Fonts/fix.c'\"
- else
- echo shar: Extracting \"'Fonts/fix.c'\" \(100 characters\)
- sed "s/^X//" >'Fonts/fix.c' <<'END_OF_FILE'
- X#include <stdio.h>
- X
- Xmain() {
- X int x,i;
- X
- X
- X x = 25;
- X for (i = 0; i < 95; i++)
- X printf("%d\n",x);
- X}
- X
- END_OF_FILE
- if test 100 -ne `wc -c <'Fonts/fix.c'`; then
- echo shar: \"'Fonts/fix.c'\" unpacked with wrong size!
- fi
- # end of 'Fonts/fix.c'
- fi
- if test -f 'MACROS/greek' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'MACROS/greek'\"
- else
- echo shar: Extracting \"'MACROS/greek'\" \(33 characters\)
- sed "s/^X//" >'MACROS/greek' <<'END_OF_FILE'
- X.fm TMN8A
- X.de GREEK
- X\fM$1\fP
- X.en
- END_OF_FILE
- if test 33 -ne `wc -c <'MACROS/greek'`; then
- echo shar: \"'MACROS/greek'\" unpacked with wrong size!
- fi
- # end of 'MACROS/greek'
- fi
- if test -f 'MACROS/test' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'MACROS/test'\"
- else
- echo shar: Extracting \"'MACROS/test'\" \(174 characters\)
- sed "s/^X//" >'MACROS/test' <<'END_OF_FILE'
- X.ti +5
- XThis should be a \{GREEK A}, followed by a \{GREEK e} A.
- X.sp 3
- XWe are now concerned with n \{GREEK e} \{GREEK W}, where
- X\{GREEK W} is a set of cardinality \{GREEK N}.
- END_OF_FILE
- if test 174 -ne `wc -c <'MACROS/test'`; then
- echo shar: \"'MACROS/test'\" unpacked with wrong size!
- fi
- # end of 'MACROS/test'
- fi
- if test -f 'TestData/README' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'TestData/README'\"
- else
- echo shar: Extracting \"'TestData/README'\" \(55 characters\)
- sed "s/^X//" >'TestData/README' <<'END_OF_FILE'
- XThis directory contains some demonstrations of wroff.
- X
- END_OF_FILE
- if test 55 -ne `wc -c <'TestData/README'`; then
- echo shar: \"'TestData/README'\" unpacked with wrong size!
- fi
- # end of 'TestData/README'
- fi
- if test -f 'TestData/booltest.w' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'TestData/booltest.w'\"
- else
- echo shar: Extracting \"'TestData/booltest.w'\" \(104 characters\)
- sed "s/^X//" >'TestData/booltest.w' <<'END_OF_FILE'
- X.de ON
- Xp is 1
- X.en
- X.de TW
- Xp is not 1
- X.en
- X \[ p = 0 ]
- X \[ p = p + 1 ]
- X.if ( p == 1 ) ON
- X.if ( p != 1 ) TW
- END_OF_FILE
- if test 104 -ne `wc -c <'TestData/booltest.w'`; then
- echo shar: \"'TestData/booltest.w'\" unpacked with wrong size!
- fi
- # end of 'TestData/booltest.w'
- fi
- if test -f 'TestData/macros' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'TestData/macros'\"
- else
- echo shar: Extracting \"'TestData/macros'\" \(116 characters\)
- sed "s/^X//" >'TestData/macros' <<'END_OF_FILE'
- X.de PP
- X.sp
- X.ti +5
- X.en
- X.de OP
- X.sp
- X.ti -5
- X.en
- X.de CO
- X.nf 5
- X.in +5
- X.ls
- X\fT
- X.sp 2
- X.en
- X.de NO
- X.in -5
- X\fP
- X.sp 2
- X.fi
- X.en
- END_OF_FILE
- if test 116 -ne `wc -c <'TestData/macros'`; then
- echo shar: \"'TestData/macros'\" unpacked with wrong size!
- fi
- # end of 'TestData/macros'
- fi
- if test -f 'TestData/macros.b' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'TestData/macros.b'\"
- else
- echo shar: Extracting \"'TestData/macros.b'\" \(126 characters\)
- sed "s/^X//" >'TestData/macros.b' <<'END_OF_FILE'
- X.de PP
- X.sp
- X.ti +5
- X.en
- X.de OP
- X.in
- X.vl 5
- X.sp
- X.li $1
- X.en
- X.de CO
- X.nf 5
- X.in +5
- X.ls
- X\fT
- X.sp 2
- X.en
- X.de NO
- X.in -5
- X\fP
- X.sp 2
- X.fi
- X.en
- END_OF_FILE
- if test 126 -ne `wc -c <'TestData/macros.b'`; then
- echo shar: \"'TestData/macros.b'\" unpacked with wrong size!
- fi
- # end of 'TestData/macros.b'
- fi
- if test -f 'doc/macs.w' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'doc/macs.w'\"
- else
- echo shar: Extracting \"'doc/macs.w'\" \(207 characters\)
- sed "s/^X//" >'doc/macs.w' <<'END_OF_FILE'
- X.de NAME
- X.ti -5
- X\fBName: $1\fP
- X.sp 2
- X.en
- X.de SYNOPSIS
- X.nf
- X.ti -5
- X\fBSYNOPSIS:\fP
- X.sp 2
- X.en
- X.de FUNCTION
- X.sp 2
- X.ti -5
- X\fBFUNCTION\fP
- X.fi
- X.en
- X.de BUGS
- X.sp 3
- X.ti -5
- X\fBBUGS\fP
- X.sp 2
- X.en
- X.de PP
- X.sp
- X.ti +5
- X.en
- END_OF_FILE
- if test 207 -ne `wc -c <'doc/macs.w'`; then
- echo shar: \"'doc/macs.w'\" unpacked with wrong size!
- fi
- # end of 'doc/macs.w'
- fi
- if test -f 'manual.bat' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'manual.bat'\"
- else
- echo shar: Extracting \"'manual.bat'\" \(184 characters\)
- sed "s/^X//" >'manual.bat' <<'END_OF_FILE'
- X@echo off
- Xrem This will print a copy of the manual on your printer.
- Xrem Again, if your printer is not connected to LPT1, this should be changed.
- X
- XWROFF DOC/MACS.W DOC/WROFF_1.W > LPT1
- END_OF_FILE
- if test 184 -ne `wc -c <'manual.bat'`; then
- echo shar: \"'manual.bat'\" unpacked with wrong size!
- fi
- # end of 'manual.bat'
- fi
- if test -f 'sampler.bat' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'sampler.bat'\"
- else
- echo shar: Extracting \"'sampler.bat'\" \(120 characters\)
- sed "s/^X//" >'sampler.bat' <<'END_OF_FILE'
- X@echo off
- Xrem This will print a convenient "sampler" to demonstrate the available fonts
- X
- XWROFF TESTDATA/SAMPLER > LPT1
- X
- END_OF_FILE
- if test 120 -ne `wc -c <'sampler.bat'`; then
- echo shar: \"'sampler.bat'\" unpacked with wrong size!
- fi
- # end of 'sampler.bat'
- fi
- if test -f 'source/copyright' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'source/copyright'\"
- else
- echo shar: Extracting \"'source/copyright'\" \(168 characters\)
- sed "s/^X//" >'source/copyright' <<'END_OF_FILE'
- X/* Wroff is copyrighted software. All rights reserved by
- X Bill Walker. PO Box 2107, Ada, Oklahoma 74820
- X Dept. of Computer Science, East Central University
- X*/
- END_OF_FILE
- if test 168 -ne `wc -c <'source/copyright'`; then
- echo shar: \"'source/copyright'\" unpacked with wrong size!
- fi
- # end of 'source/copyright'
- fi
- if test -f 'source/maketest.c' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'source/maketest.c'\"
- else
- echo shar: Extracting \"'source/maketest.c'\" \(157 characters\)
- sed "s/^X//" >'source/maketest.c' <<'END_OF_FILE'
- Xmain() {
- X char c;
- X int i;
- X
- X
- X for (c = 32; c <= 126; c++) {
- X putchar('|');
- X for (i = 1; i <= 30; i++)
- X putchar(c);
- X putchar('|');
- X putchar('\n');
- X }
- X
- X}
- END_OF_FILE
- if test 157 -ne `wc -c <'source/maketest.c'`; then
- echo shar: \"'source/maketest.c'\" unpacked with wrong size!
- fi
- # end of 'source/maketest.c'
- fi
- if test -f 'test.bat' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'test.bat'\"
- else
- echo shar: Extracting \"'test.bat'\" \(114 characters\)
- sed "s/^X//" >'test.bat' <<'END_OF_FILE'
- X@echo off
- Xrem This assumes your printer is connected to LPT1.
- Xrem Change if necessary.
- X
- XWROFF DOC\WELCOME > LPT1
- X
- END_OF_FILE
- if test 114 -ne `wc -c <'test.bat'`; then
- echo shar: \"'test.bat'\" unpacked with wrong size!
- fi
- # end of 'test.bat'
- fi
- if test -f 'tutor.bat' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'tutor.bat'\"
- else
- echo shar: Extracting \"'tutor.bat'\" \(104 characters\)
- sed "s/^X//" >'tutor.bat' <<'END_OF_FILE'
- X@echo off
- Xrem This will print a copy of the tutorial for wroff.
- X
- XWROFF DOC\MACS.W DOC\WROFF_TU.W > LPT1
- END_OF_FILE
- if test 104 -ne `wc -c <'tutor.bat'`; then
- echo shar: \"'tutor.bat'\" unpacked with wrong size!
- fi
- # end of 'tutor.bat'
- fi
- echo shar: End of archive 5 \(of 5\).
- cp /dev/null ark5isdone
- MISSING=""
- for I in 1 2 3 4 5 ; do
- if test ! -f ark${I}isdone ; then
- MISSING="${MISSING} ${I}"
- fi
- done
- if test "${MISSING}" = "" ; then
- echo You have unpacked all 5 archives.
- rm -f ark[1-9]isdone
- else
- echo You still must unpack the following archives:
- echo " " ${MISSING}
- fi
- exit 0
- exit 0 # Just in case...
- --
- Kent Landfield INTERNET: kent@sparky.IMD.Sterling.COM
- Sterling Software, IMD UUCP: uunet!sparky!kent
- Phone: (402) 291-8300 FAX: (402) 291-4362
- Please send comp.sources.misc-related mail to kent@uunet.uu.net.
-