home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / x / volume4 / xtroff / part11 < prev    next >
Encoding:
Internet Message Format  |  1989-07-17  |  49.3 KB

  1. Path: uunet!island!argv
  2. From: argv@island.uu.net (Dan Heller)
  3. Newsgroups: comp.sources.x
  4. Subject: v04i056: xtroff -- troff previewer for X11, Part11/18
  5. Message-ID: <890@island.uu.net>
  6. Date: 18 Jul 89 07:26:51 GMT
  7. Organization: Island Graphics, Marin County, California
  8. Lines: 1547
  9. Approved: island!argv@sun.com
  10.  
  11. Submitted-by: Mark Moraes <moraes@ai.toronto.edu>
  12. Posting-number: Volume 4, Issue 56
  13. Archive-name: xtroff/part11
  14.  
  15.  
  16.  
  17. #! /bin/sh
  18. # This is a shell archive.  Remove anything before this line, then unpack
  19. # it by saving it into a file and typing "sh file".  To overwrite existing
  20. # files, type "sh file -c".  You can also feed this as standard input via
  21. # unshar, or by typing "sh <file", e.g..  If this archive is complete, you
  22. # will see the following message at the end:
  23. #        "End of archive 11 (of 18)."
  24. # Contents:  xtroff/Makefile xtroff/NeWS/news.awk xtroff/README
  25. # Wrapped by moraes@neat.ai on Thu Jul 13 20:55:16 1989
  26. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  27. if test -f 'xtroff/Makefile' -a "${1}" != "-c" ; then 
  28.   echo shar: Will not clobber existing file \"'xtroff/Makefile'\"
  29. else
  30. echo shar: Extracting \"'xtroff/Makefile'\" \(16795 characters\)
  31. sed "s/^X//" >'xtroff/Makefile' <<'END_OF_FILE'
  32. X# Makefile generated by imake - do not edit!
  33. X# $XConsortium: imake.c,v 1.37 88/10/08 20:08:30 jim Exp $
  34. X#
  35. X# The cpp used on this machine replaces all newlines and multiple tabs and
  36. X# spaces in a macro expansion with a single space.  Imake tries to compensate
  37. X# for this, but is not always successful.
  38. X#
  39. X
  40. X###########################################################################
  41. X# X Window System Makefile generated from template file Imake.tmpl
  42. X# $XConsortium: Imake.tmpl,v 1.91 88/10/23 22:37:10 jim Exp $
  43. X#
  44. X# Do not change the body of the imake template file.  Server-specific
  45. X# parameters may be set in the appropriate .macros file; site-specific
  46. X# parameters (but shared by all servers) may be set in site.def.  If you
  47. X# make any changes, you'll need to rebuild the makefiles using
  48. X# "make World" (at best) or "make Makefile; make Makefiles" (at least) in
  49. X# the top level directory.
  50. X#
  51. X# If your C preprocessor doesn't define any unique symbols, you'll need
  52. X# to set BOOTSTRAPCFLAGS when rebuilding imake (usually when doing
  53. X# "make Makefile", "make Makefiles", or "make World").
  54. X#
  55. X# If you absolutely can't get imake to work, you'll need to set the
  56. X# variables at the top of each Makefile as well as the dependencies at the
  57. X# bottom (makedepend will do this automatically).
  58. X#
  59. X
  60. X###########################################################################
  61. X# platform-specific configuration parameters - edit Sun.macros to change
  62. X
  63. X# platform:  $XConsortium: Sun.macros,v 1.52 88/10/23 11:00:55 jim Exp $
  64. X# operating system:  SunOS 4.0
  65. X
  66. XBOOTSTRAPCFLAGS =
  67. X             AS = as
  68. X             CC = cc
  69. X            CPP = /lib/cpp
  70. X             LD = ld
  71. X           LINT = lint
  72. X        INSTALL = install
  73. X           TAGS = ctags
  74. X             RM = rm -f
  75. X             MV = mv
  76. X             LN = ln -s
  77. X         RANLIB = ranlib
  78. XRANLIBINSTFLAGS = -t
  79. X             AR = ar clq
  80. X             LS = ls
  81. X       LINTOPTS = -axz
  82. X    LINTLIBFLAG = -C
  83. X           MAKE = make
  84. XSTD_CPP_DEFINES =
  85. X    STD_DEFINES =
  86. X
  87. X###########################################################################
  88. X# site-specific configuration parameters - edit site.def to change
  89. X
  90. X# site:  $XConsortium: site.def,v 1.16 88/10/12 10:30:24 jim Exp $
  91. X
  92. X XWSRC = $(CONTRIBSRC)/widgets/Xhp/Xw
  93. X
  94. X XWLIB = $(USRLIBDIR)/libXw.a
  95. X
  96. X###########################################################################
  97. X# definitions common to all Makefiles - do not edit
  98. X
  99. X          SHELL = /bin/sh
  100. X
  101. X        DESTDIR =
  102. X      USRLIBDIR = /local/lib/X11
  103. X         BINDIR = /local/bin/X11
  104. X         INCDIR = $(LIBDIR)/include
  105. X        INCROOT = $(DESTDIR)/usr/include
  106. X         ADMDIR = /var/scr/Xerrors
  107. X         LIBDIR = /local/share/X11
  108. X     LINTLIBDIR = $(LIBDIR)/lint
  109. X        FONTDIR = $(LIBDIR)/fonts
  110. X       XINITDIR = $(LIBDIR)/xinit
  111. X         XDMDIR = $(LIBDIR)/xdm
  112. X         UWMDIR = $(LIBDIR)/uwm
  113. X         AWMDIR = $(LIBDIR)/awm
  114. X         TWMDIR = $(LIBDIR)/twm
  115. X        MANPATH = /local/man
  116. X  MANSOURCEPATH = $(MANPATH)/man
  117. X         MANDIR = $(MANSOURCEPATH)x
  118. X      LIBMANDIR = $(MANSOURCEPATH)3
  119. X    XAPPLOADDIR = $(LIBDIR)/app-defaults
  120. X
  121. X   INSTBINFLAGS = -m 0755
  122. X   INSTUIDFLAGS = -m 4755
  123. X   INSTLIBFLAGS = -m 0664
  124. X   INSTINCFLAGS = -m 0444
  125. X   INSTMANFLAGS = -m 0444
  126. X   INSTAPPFLAGS = -m 0444
  127. X  INSTKMEMFLAGS = -g kmem -m 2755
  128. X        FCFLAGS = -t
  129. X    CDEBUGFLAGS = -O
  130. X
  131. X        PATHSEP = /
  132. X         DEPEND = $(DEPENDSRC)/makedepend
  133. X          IMAKE = $(IMAKESRC)/imake.`mach`
  134. X            RGB = $(RGBSRC)/rgb
  135. X             FC = $(BDFTOSNFSRC)/bdftosnf
  136. X      MKFONTDIR = $(MKFONTDIRSRC)/mkfontdir
  137. X      MKDIRHIER = $(SCRIPTSSRC)/mkdirhier.sh
  138. X
  139. X         CFLAGS = $(CDEBUGFLAGS) $(INCLUDES) $(STD_DEFINES) $(DEFINES)
  140. X      LINTFLAGS = $(LINTOPTS) $(INCLUDES) $(STD_DEFINES) $(DEFINES) -DLINT
  141. X        LDFLAGS = $(CDEBUGFLAGS) $(SYS_LIBRARIES) $(SYSAUX_LIBRARIES)
  142. X            TOP = /ai/src/X.V11R3
  143. X      CLIENTSRC = $(TOP)/clients
  144. X        DEMOSRC = $(TOP)/demos
  145. X         LIBSRC = $(TOP)/lib
  146. X        FONTSRC = $(TOP)/fonts
  147. X     INCLUDESRC = $(TOP)/X11
  148. X      SERVERSRC = $(TOP)/server
  149. X        UTILSRC = $(TOP)/util
  150. X     SCRIPTSSRC = $(UTILSRC)/scripts
  151. X     EXAMPLESRC = $(TOP)/examples
  152. X     CONTRIBSRC = $(TOP)/contrib
  153. X         DOCSRC = $(TOP)/doc
  154. X         RGBSRC = $(TOP)/rgb
  155. X      DEPENDSRC = $(UTILSRC)/makedepend
  156. X       IMAKESRC = $(UTILSRC)/imake
  157. X       IRULESRC = $(UTILSRC)/imake.includes
  158. X        XLIBSRC = $(LIBSRC)/X
  159. X         XMUSRC = $(LIBSRC)/Xmu
  160. X     TOOLKITSRC = $(LIBSRC)/Xt
  161. X     AWIDGETSRC = $(LIBSRC)/Xaw
  162. X     OLDXLIBSRC = $(LIBSRC)/oldX
  163. X    BDFTOSNFSRC = $(FONTSRC)/bdftosnf
  164. X   MKFONTDIRSRC = $(FONTSRC)/mkfontdir
  165. X   EXTENSIONSRC = $(TOP)/extensions
  166. X
  167. X   EXTENSIONLIB = $(USRLIBDIR)/lib/libXext.a
  168. X
  169. X           XLIB = -L$(USRLIBDIR) -lX11
  170. X
  171. X         XMULIB = $(USRLIBDIR)/libXmu.a
  172. X        OLDXLIB = $(USRLIBDIR)/liboldX.a
  173. X       XTOOLLIB = $(USRLIBDIR)/libXt.a
  174. X         XAWLIB = $(USRLIBDIR)/libXaw.a
  175. X       INCLUDES = -I$(INCDIR) -I$(INCROOT)
  176. X
  177. X       LINTXLIB = $(XLIBSRC)/llib-lX11.ln
  178. X        LINTXMU = $(XMUSRC)/llib-lXmu.ln
  179. X      LINTXTOOL = $(TOOLKITSRC)/llib-lXt.ln
  180. X        LINTXAW = $(AWIDGETSRC)/llib-lXaw.ln
  181. X      MACROFILE = Sun.macros
  182. X   ICONFIGFILES = $(IRULESRC)/Imake.tmpl \
  183. X            $(IRULESRC)/$(MACROFILE) $(IRULESRC)/site.def
  184. X  IMAKE_DEFINES =
  185. X      IMAKE_CMD = $(NEWTOP)$(IMAKE) -TImake.tmpl -I$(NEWTOP)$(IRULESRC) \
  186. X            -s Makefile $(IMAKE_DEFINES)
  187. X         RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a \
  188. X            .emacs_* tags TAGS make.log MakeOut
  189. X
  190. X###########################################################################
  191. X# rules:  $XConsortium: Imake.rules,v 1.71 88/10/23 22:46:34 jim Exp $
  192. X
  193. X###########################################################################
  194. X# start of Imakefile
  195. X
  196. X#
  197. X#    Xtroff ImakeFile
  198. X#
  199. X#    make [all]    compiles the programs in this directory, and the
  200. X#            relevant subdirectories - fontstuff are font
  201. X#            manipulation programs, xfonts has the stuff for
  202. X#            by piping the 75dpi bdf through awk scripts
  203. X#            to remap it to PostScript collation sequences,
  204. X#            and generating compressed snf.
  205. X#    make install    makes and installs the programs
  206. X#    make vfonts    makes and installs scaled and converted vfonts
  207. X#            for the devsun device. Not strictly necessary, but
  208. X#            useful for large fonts. xpic can use them too.
  209. X#    make imfonts    Scales and converts Imagen RST fonts if you have them
  210. X#            for the Imagen device. Good if you have them.
  211. X#    make devsun    Installs the devsun width info and runs makedev
  212. X#            Do this if you install the vfonts
  213. X#    make devpsc    Installs the devpsc width info and runs makedev
  214. X#            If you already have a devpsc device, from
  215. X#            Transcript(tm), or some other ditroff to
  216. X#            PostScript(tm) translation package,
  217. X#            then you probably don't need this.
  218. X#
  219. X#    Xtroff doesn't need (more important, doesn't use properly) the
  220. X#    devsun fonts, which are still here for the Suntools version.
  221. X#    You may want to do a 'make vfonts devsun' if you use xpic, which
  222. X#    can use those fonts too. (They are nice and large, for making slides)
  223. X#
  224. X#    The following two defines might need to be changed.  The VFONTS
  225. X#    definition points towards the directory containing the Sun modified
  226. X#    Berkeley versatec font catalog.  These bits of these fonts are used
  227. X#    as the default screen font.  See the file fontstuff/MakeSunFonts for
  228. X#    more details.
  229. X#
  230. X#    The RSTFONTS definition points to the RST (Imagen) font
  231. X#    files.  If you don't have an Imagen printer then you won't need to
  232. X#    worry about these bits.  If you do have an Imagen printer then you
  233. X#    may want to see the file fontstuff/MakeImagenFonts for a way of getting
  234. X#    more accurate bits on the screen.  If you don't want to worry about
  235. X#    the fonts (and I don't blame you) then xtroff will use the
  236. X#    X fonts described above for.
  237. X#
  238. X#    The SUNTROFF_FONTS points to the directory where the fonts
  239. X#    sit. It has subdirectories of the form 'dev'$DEVICE for each
  240. X#    typesetter's fonts - devsun is the default for the scaled
  241. X#    versatec fonts, devimp is for imagen, etc.
  242. X
  243. X         VFONTS = /usr/lib/vfont
  244. X       RSTFONTS = /usr/uturing/ron/rst
  245. X SUNTROFF_FONTS = $(FONTDIR)/xtroff
  246. X      RSTDEVICE = imp    #imagen
  247. X      SUNDEVICE = sun    #versatec - other printers like lw.
  248. X       WIDTHDIR = /local/share/troff
  249. X        MAKEDEV = /local/src/v8troff/troff/makedev
  250. X
  251. X#    Percent MUST be two digits
  252. X#    For the imagen, percent is 120 / 300, i.e 40.
  253. X     RSTPERCENT = 40
  254. X
  255. X#    For versatec fonts, which we use for laserwriters etc.,
  256. X#    percent should be 120/200. i.e. 66. We use 50 for a better
  257. X#    error margin.
  258. X     SUNPERCENT = 50
  259. X
  260. X#    For lots of debugging info, especially FONTDEBUG.
  261. X#          DEBUG = -DFONTDEBUG -DWINDOWDEBUG -DTYPEDEBUG -DDEBUG
  262. X          DEBUG =
  263. X#    CDEBUGFLAGS = -g
  264. X
  265. X#     defining -DNOADJUST excludes some experimental code which tries to
  266. X#    adjust character positions to make the X font match the troff
  267. X#    font more closely. It may look better if you don't define it -
  268. X#    ligatures, especially 'fi' come out wrong at present if it is
  269. X#    undefined.
  270. X#     -DFASTARCS does not use an ellipse drawing algorithm that approximates
  271. X#     ellipses as polygons. Define it if your server draws arcs fast.
  272. X#    (Leave it undefined on Suns, uVaxen, anything using the R3 sample
  273. X#    server miarc.c code)
  274. X#    -DBEZERKELYISM allows the parser to understand the ditroff
  275. X#    sequences emitted by Berkeley ditroff. (May work, I don't have
  276. X#    Berkeley ditroff to test it)
  277. X#     We have Menu/Menu.o, checkitem/CheckItem.o and menuitem/MenuItem.o
  278. X#     installed as XtStuff - In fact, we keep all three (Menu. checkitem,
  279. X#    menuitem) in one directory to make matters simpler.
  280. X#    Window is adapted from the R2 version Chris Peterson's xman program.
  281. X        DEFINES = -DFONTDIR=\"${WIDTHDIR}\" -DBITDIR=\"${SUNTROFF_FONTS}\" \
  282. X          $(DEBUG) -DNOADJUST
  283. X
  284. X       INCLUDES = -I./bitmaps -I./XtStuff -I$(TOP)
  285. X        MATHLIB = -lm
  286. X
  287. X             FC = bdftosnf
  288. X        XTSTUFF = XtStuff/libXtStuff.a
  289. XLOCAL_LIBRARIES = $(XTSTUFF) $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB)
  290. X  SYSAUX_LIBRARIES = $(MATHLIB)
  291. X           OBJS = xwindows.o suntroff.o parse.o font.o draw.o \
  292. X          fixpoint.o curves.o arc.o
  293. X           SRCS = xwindows.c suntroff.c parse.c font.c draw.c \
  294. X          fixpoint.c curves.c arc.c
  295. X       PROGRAMS = xtroff
  296. X      PREVIEWER = xtroff
  297. X
  298. X.SUFFIXES: .manX .man
  299. X
  300. X.manX.man:
  301. X    rm -f $*.man
  302. X    sed -e 's?WIDTHDIR?$(WIDTHDIR)?g'\
  303. X        -e 's?FONTDIR?$(SUNTROFF_FONTS)?g' $*.manX > $*.man
  304. X
  305. X# Comment out fontstuff and xfonts if you are compiling this on a crunch
  306. X# machine which has no displays or X terminals attached.
  307. X
  308. XSUBDIRS = XtStuff fontstuff xfonts
  309. X
  310. Xall::
  311. X    @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
  312. X    for i in $(SUBDIRS) ;\
  313. X    do \
  314. X    (cd $$i ; echo "making all in $$i"; \
  315. X    $(MAKE) 'CDEBUGFLAGS=$(CDEBUGFLAGS)' $(MFLAGS)); \
  316. X    done
  317. X
  318. Xdepend::
  319. X    @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
  320. X    for i in $(SUBDIRS) ;\
  321. X    do \
  322. X    (cd $$i ; echo "depending in $$i"; \
  323. X    $(MAKE) $(MFLAGS) depend ); \
  324. X    done
  325. X
  326. X PROGRAM = xtroff
  327. X
  328. Xall:: xtroff
  329. X
  330. Xxtroff: $(OBJS) $(LOCAL_LIBRARIES)
  331. X    $(RM) $@
  332. X    $(CC) -o $@ $(OBJS) $(LOCAL_LIBRARIES) $(LDFLAGS) $(SYSLAST_LIBRARIES)
  333. X
  334. Xrelink::
  335. X    $(RM) $(PROGRAM)
  336. X    $(MAKE) $(MFLAGS) $(PROGRAM)
  337. X
  338. Xinstall:: xtroff
  339. X    $(INSTALL) -c $(INSTALLFLAGS) xtroff $(BINDIR)
  340. X
  341. Xinstall.man:: xtroff.man
  342. X    $(INSTALL) -c $(INSTMANFLAGS) xtroff.man $(MANDIR)/xtroff.x
  343. X
  344. Xdepend:: $(DEPEND)
  345. X
  346. Xdepend::
  347. X    $(DEPEND) -s "# DO NOT DELETE" -- $(CFLAGS) -- $(SRCS)
  348. X
  349. X$(DEPEND):
  350. X    @echo "making $@"; \
  351. X    cd $(DEPENDSRC); $(MAKE)
  352. X
  353. Xclean::
  354. X    $(RM) $(PROGRAM)
  355. X
  356. XXtStuff/libXtStuff.a::
  357. X    @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
  358. X    for i in XtStuff ;\
  359. X    do \
  360. X    (cd $$i ; echo "making XtStuff/libXtStuff.a in $$i"; \
  361. X    $(MAKE) 'CDEBUGFLAGS=$(CDEBUGFLAGS)' $(MFLAGS)); \
  362. X    done
  363. X
  364. Xvfonts::
  365. X        -mkdir $(SUNTROFF_FONTS)
  366. X        cd fontstuff; make $(MFLAGS) CDEBUGFLAGS="$(CDEBUGFLAGS)" \
  367. X            VFONTS=$(VFONTS) \
  368. X            RSTFONTS=$(RSTFONTS) PREVIEWER=$(PREVIEWER) \
  369. X            FC=$(FC) SUNPERCENT=$(SUNPERCENT) \
  370. X            RSTPERCENT=$(RSTPERCENT) \
  371. X            SUNTROFF_FONTS=$(SUNTROFF_FONTS) \
  372. X            RSTDEVICE=dev$(RSTDEVICE) SUNDEVICE=dev$(SUNDEVICE) \
  373. X            sunfonts
  374. X
  375. Ximfonts::
  376. X        -mkdir $(SUNTROFF_FONTS)
  377. X        cd fontstuff; make $(MFLAGS) CDEBUGFLAGS="$(CDEBUGFLAGS)" \
  378. X            VFONTS=$(VFONTS) \
  379. X            RSTFONTS=$(RSTFONTS) PREVIEWER=$(PREVIEWER) \
  380. X            FC=$(FC) SUNPERCENT=$(SUNPERCENT) \
  381. X            RSTPERCENT=$(RSTPERCENT) \
  382. X            SUNTROFF_FONTS=$(SUNTROFF_FONTS) \
  383. X            RSTDEVICE=dev$(RSTDEVICE) SUNDEVICE=dev$(SUNDEVICE) \
  384. X            rstfonts
  385. X
  386. Xdevsun::
  387. X        cp -r devsun ${WIDTHDIR}; \
  388. X        cd ${WIDTHDIR}/devsun;  \
  389. X        ${MAKEDEV} DESC;    \
  390. X        rm -f [a-zA-Z] [a-zA-Z][a-zA-Z]
  391. X
  392. XMakefiles::
  393. X    $(RM) devpsc/Makefile.bak
  394. X    -@if [ -f devpsc/Makefile ]; then \
  395. X    echo "$(MV) devpsc/Makefile devpsc/Makefile.bak"; \
  396. X    $(MV) devpsc/Makefile devpsc/Makefile.bak; \
  397. X    else exit 0; fi
  398. X    cd devpsc; ../$(IMAKE) -TImake.tmpl -I../$(IRULESRC) \
  399. X        -s Makefile $(IMAKE_DEFINES) -DTOPDIR=../$(TOP); \
  400. X        $(MAKE) $(MFLAGS) Makefiles
  401. X
  402. Xdevpsc::
  403. X        cd devpsc; make $(MFLAGS) MAKEDEV=$(MAKEDEV) \
  404. X            WIDTHDIR=$(WIDTHDIR) install
  405. X
  406. Xclean::
  407. X        rm -f xtroff.man
  408. X        cd devpsc; make clean
  409. X
  410. Xtar:
  411. X        make clean
  412. X        -rm /tmp/xtroff.tar.Z
  413. X        cd ..; tar cvfX - xtroff/ExcludeFiles ./xtroff \
  414. X            | compress > /tmp/xtroff.tar.Z
  415. X
  416. Xlint:
  417. X    cd XtStuff; make llib-lXtStuff.ln
  418. X    lint -abz $(SRCS) $(SYS_LIBRARIES) $(SYSAUX_LIBRARIES) \
  419. X        XtStuff/llib-lXtStuff.ln -lXaw -lXt -lX11 -lm $(LINTFLAGS)
  420. X
  421. X###########################################################################
  422. X# Imake.tmpl common rules for all Makefiles - do not edit
  423. X
  424. Xemptyrule::
  425. X
  426. Xclean::
  427. X    $(RM_CMD) \#*
  428. X
  429. XMakefile:: $(IMAKE)
  430. X
  431. XMakefile:: Imakefile \
  432. X    $(IRULESRC)/Imake.tmpl \
  433. X    $(IRULESRC)/Imake.rules \
  434. X    $(IRULESRC)/site.def \
  435. X    $(IRULESRC)/$(MACROFILE)
  436. X    -@if [ -f Makefile ]; then \
  437. X    echo "$(RM) Makefile.bak; $(MV) Makefile Makefile.bak"; \
  438. X    $(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \
  439. X    else exit 0; fi
  440. X    $(IMAKE_CMD) -DTOPDIR=$(TOP)
  441. X
  442. X$(IMAKE):
  443. X    @echo "making $@"; \
  444. X    cd $(IMAKESRC); $(MAKE) BOOTSTRAPCFLAGS=$(BOOTSTRAPCFLAGS)
  445. X
  446. Xtags::
  447. X    $(TAGS) -w *.[ch]
  448. X    $(TAGS) -xw *.[ch] > TAGS
  449. X
  450. X$(XLIB)::;
  451. X-L$(USRLIBDIR)::;
  452. X-L$(LIBSRC)/Xpic::;
  453. X
  454. X###########################################################################
  455. X# rules for building in SUBDIRS - do not edit
  456. X
  457. Xinstall::
  458. X    @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
  459. X    for i in $(SUBDIRS) ;\
  460. X    do \
  461. X    (cd $$i ; echo "installing in $$i"; \
  462. X    $(MAKE) $(MFLAGS) \
  463. X    DESTDIR='$(DESTDIR)' install ); \
  464. X    done
  465. X
  466. Xinstall.man::
  467. X    @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
  468. X    for i in $(SUBDIRS) ;\
  469. X    do \
  470. X    (cd $$i ; echo "installing man pages in $$i"; \
  471. X    $(MAKE) $(MFLAGS) \
  472. X    DESTDIR='$(DESTDIR)' install.man ); \
  473. X    done
  474. X
  475. Xclean::
  476. X    @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
  477. X    for i in $(SUBDIRS) ;\
  478. X    do \
  479. X    (cd $$i ; echo "cleaning in $$i"; \
  480. X    $(MAKE) $(MFLAGS) RM_CMD='$(RM_CMD)' clean ); \
  481. X    done
  482. X
  483. Xtags::
  484. X    @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
  485. X    for i in $(SUBDIRS) ;\
  486. X    do \
  487. X    (cd $$i ; echo "tagging in $$i"; \
  488. X    $(MAKE) $(MFLAGS) TAGS='$(TAGS)' tags ); \
  489. X    done
  490. X
  491. XMakefiles:: $(IMAKE)
  492. X
  493. XMakefiles::
  494. X    @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
  495. X    for i in $(SUBDIRS) ;\
  496. X    do \
  497. X    echo "Making Makefiles in $$i..."; \
  498. X    case "$$i" in \
  499. X    ./?*/?*/?*/?*) newtop=../../../../ sub=subsubsubsub;; \
  500. X    ./?*/?*/?*) newtop=../../../ sub=subsubsub;; \
  501. X    ./?*/?*) newtop=../../ sub=subsub;; \
  502. X    ./?*) newtop=../ sub=sub;; \
  503. X    */?*/?*/?*) newtop=../../../../ sub=subsubsubsub;; \
  504. X    */?*/?*) newtop=../../../ sub=subsubsub;; \
  505. X    */?*) newtop=../../ sub=subsub;; \
  506. X    *) newtop=../ sub=sub;; \
  507. X    esac; \
  508. X    $(MAKE) $${sub}dirMakefiles NEWTOP=$$newtop \
  509. X    MAKEFILE_SUBDIR=$$i;\
  510. X    done
  511. X
  512. XsubdirMakefiles:
  513. X    $(RM) $(MAKEFILE_SUBDIR)/Makefile.bak
  514. X    -@if [ -f $(MAKEFILE_SUBDIR)/Makefile ]; then \
  515. X    echo "$(MV) $(MAKEFILE_SUBDIR)/Makefile $(MAKEFILE_SUBDIR)/Makefile.bak"; \
  516. X    $(MV) $(MAKEFILE_SUBDIR)/Makefile $(MAKEFILE_SUBDIR)/Makefile.bak; \
  517. X    else exit 0; fi
  518. X    cd $(MAKEFILE_SUBDIR); $(IMAKE_CMD) -DTOPDIR=../$(TOP); \
  519. X    $(MAKE) $(MFLAGS) Makefiles
  520. X
  521. XsubsubdirMakefiles:
  522. X    $(RM) $(MAKEFILE_SUBDIR)/Makefile.bak
  523. X    -@if [ -f $(MAKEFILE_SUBDIR)/Makefile ]; then \
  524. X    echo "$(MV) $(MAKEFILE_SUBDIR)/Makefile $(MAKEFILE_SUBDIR)/Makefile.bak"; \
  525. X    $(MV) $(MAKEFILE_SUBDIR)/Makefile $(MAKEFILE_SUBDIR)/Makefile.bak; \
  526. X    else exit 0; fi
  527. X    cd $(MAKEFILE_SUBDIR); $(IMAKE_CMD) -DTOPDIR=../../$(TOP); \
  528. X    $(MAKE) $(MFLAGS) Makefiles
  529. X
  530. XsubsubsubdirMakefiles:
  531. X    $(RM) $(MAKEFILE_SUBDIR)/Makefile.bak
  532. X    -@if [ -f $(MAKEFILE_SUBDIR)/Makefile ]; then \
  533. X    echo "$(MV) $(MAKEFILE_SUBDIR)/Makefile $(MAKEFILE_SUBDIR)/Makefile.bak"; \
  534. X    $(MV) $(MAKEFILE_SUBDIR)/Makefile $(MAKEFILE_SUBDIR)/Makefile.bak; \
  535. X    else exit 0; fi
  536. X    cd $(MAKEFILE_SUBDIR); $(IMAKE_CMD) -DTOPDIR=../../../$(TOP); \
  537. X    $(MAKE) $(MFLAGS) Makefiles
  538. X
  539. XsubsubsubsubdirMakefiles:
  540. X    $(RM) $(MAKEFILE_SUBDIR)/Makefile.bak
  541. X    -@if [ -f $(MAKEFILE_SUBDIR)/Makefile ]; then \
  542. X    echo "$(MV) $(MAKEFILE_SUBDIR)/Makefile $(MAKEFILE_SUBDIR)/Makefile.bak"; \
  543. X    $(MV) $(MAKEFILE_SUBDIR)/Makefile $(MAKEFILE_SUBDIR)/Makefile.bak; \
  544. X    else exit 0; fi
  545. X    cd $(MAKEFILE_SUBDIR); $(IMAKE_CMD) -DTOPDIR=../../../../$(TOP); \
  546. X    $(MAKE) $(MFLAGS) Makefiles
  547. X
  548. X###########################################################################
  549. X# dependencies generated by makedepend
  550. X
  551. END_OF_FILE
  552. if test 16795 -ne `wc -c <'xtroff/Makefile'`; then
  553.     echo shar: \"'xtroff/Makefile'\" unpacked with wrong size!
  554. fi
  555. # end of 'xtroff/Makefile'
  556. fi
  557. if test -f 'xtroff/NeWS/news.awk' -a "${1}" != "-c" ; then 
  558.   echo shar: Will not clobber existing file \"'xtroff/NeWS/news.awk'\"
  559. else
  560. echo shar: Extracting \"'xtroff/NeWS/news.awk'\" \(14490 characters\)
  561. sed "s/^X//" >'xtroff/NeWS/news.awk' <<'END_OF_FILE'
  562. X# Translate from NeWS format BDF file to X11 format BDF file.
  563. X# D. A. Cahlander 88/12/31.  dac@cray.com
  564. X
  565. XBEGIN {
  566. X
  567. X#  Define FONT family name
  568. X
  569. X    family["Times-Bold"] = "B"
  570. X    family["Times-BoldItalic"] = "BI"
  571. X    family["Courier"] = "C"
  572. X    family["Courier-Bold"] = "CB"
  573. X    family["Courier-BoldOblique"] = "CN"
  574. X    family["Courier-Oblique"] = "CO"
  575. X    family["Helvetica"] = "H"
  576. X    family["Helvetica-Bold"] = "HB"
  577. X    family["Helvetica-BoldOblique"] = "HN"
  578. X    family["Helvetica-Oblique"] = "HO"
  579. X    family["Times-Italic"] = "I"
  580. X    family["Times-Roman"] = "R"
  581. X    family["Symbol"] = "S"
  582. X
  583. X#    family["Boston"] = "Boston"
  584. X#    family["Cyrillic"] = "Cyrillic"
  585. X#    family["Cursor"] = "Cursor"
  586. X#    family["GFont"] = "GFont"
  587. X#    family["Helvetica-Medium"] = "Hevetica-Medium"
  588. X#    family["Icon"] = "Icon"
  589. X#    family["Kanji"] = "Kanji"
  590. X#    family["Screen"] = "Screen"
  591. X#    family["Symbol-Medium"] = "Symbol-Medium"
  592. X
  593. X# Define SWIDTH the same as X11 timR10.bdf
  594. X
  595. X    swidth["space"] = 250
  596. X    swidth["exclam"] = 333
  597. X    swidth["quotedbl"] = 408
  598. X    swidth["numbersign"] = 500
  599. X    swidth["dollar"] = 500
  600. X    swidth["percent"] = 833
  601. X    swidth["ampersand"] = 778
  602. X    swidth["quoteright"] = 333
  603. X    swidth["parenleft"] = 333
  604. X    swidth["parenright"] = 333
  605. X    swidth["asterisk"] = 500
  606. X    swidth["plus"] = 564
  607. X    swidth["comma"] = 250
  608. X    swidth["minus"] = 564
  609. X    swidth["period"] = 250
  610. X    swidth["slash"] = 278
  611. X    swidth["zero"] = 500
  612. X    swidth["one"] = 500
  613. X    swidth["two"] = 500
  614. X    swidth["three"] = 500
  615. X    swidth["four"] = 500
  616. X    swidth["five"] = 500
  617. X    swidth["six"] = 500
  618. X    swidth["seven"] = 500
  619. X    swidth["eight"] = 500
  620. X    swidth["nine"] = 500
  621. X    swidth["colon"] = 278
  622. X    swidth["semicolon"] = 278
  623. X    swidth["less"] = 564
  624. X    swidth["equal"] = 564
  625. X    swidth["greater"] = 564
  626. X    swidth["question"] = 444
  627. X    swidth["at"] = 921
  628. X    swidth["A"] = 722
  629. X    swidth["B"] = 667
  630. X    swidth["C"] = 667
  631. X    swidth["D"] = 722
  632. X    swidth["E"] = 611
  633. X    swidth["F"] = 556
  634. X    swidth["G"] = 722
  635. X    swidth["H"] = 722
  636. X    swidth["I"] = 333
  637. X    swidth["J"] = 389
  638. X    swidth["K"] = 722
  639. X    swidth["L"] = 611
  640. X    swidth["M"] = 889
  641. X    swidth["N"] = 722
  642. X    swidth["O"] = 722
  643. X    swidth["P"] = 556
  644. X    swidth["Q"] = 722
  645. X    swidth["R"] = 667
  646. X    swidth["S"] = 556
  647. X    swidth["T"] = 611
  648. X    swidth["U"] = 722
  649. X    swidth["V"] = 722
  650. X    swidth["W"] = 944
  651. X    swidth["X"] = 722
  652. X    swidth["Y"] = 722
  653. X    swidth["Z"] = 611
  654. X    swidth["bracketleft"] = 333
  655. X    swidth["backslash"] = 278
  656. X    swidth["bracketright"] = 333
  657. X    swidth["asciicircum"] = 469
  658. X    swidth["underscore"] = 500
  659. X    swidth["quoteleft"] = 333
  660. X    swidth["a"] = 444
  661. X    swidth["b"] = 500
  662. X    swidth["c"] = 444
  663. X    swidth["d"] = 500
  664. X    swidth["e"] = 444
  665. X    swidth["f"] = 333
  666. X    swidth["g"] = 500
  667. X    swidth["h"] = 500
  668. X    swidth["i"] = 278
  669. X    swidth["j"] = 278
  670. X    swidth["k"] = 500
  671. X    swidth["l"] = 278
  672. X    swidth["m"] = 778
  673. X    swidth["n"] = 500
  674. X    swidth["o"] = 500
  675. X    swidth["p"] = 500
  676. X    swidth["q"] = 500
  677. X    swidth["r"] = 333
  678. X    swidth["s"] = 389
  679. X    swidth["t"] = 278
  680. X    swidth["u"] = 500
  681. X    swidth["v"] = 500
  682. X    swidth["w"] = 722
  683. X    swidth["x"] = 500
  684. X    swidth["y"] = 500
  685. X    swidth["z"] = 444
  686. X    swidth["braceleft"] = 480
  687. X    swidth["bar"] = 200
  688. X    swidth["braceright"] = 480
  689. X    swidth["asciitilde"] = 541
  690. X    swidth["exclamdown"] = 333
  691. X    swidth["cent"] = 500
  692. X    swidth["sterling"] = 500
  693. X    swidth["currency"] = 500
  694. X    swidth["yen"] = 500
  695. X    swidth["brokenbar"] = 200
  696. X    swidth["section"] = 500
  697. X    swidth["dieresis"] = 333
  698. X    swidth["copyright"] = 760
  699. X    swidth["ordfeminine"] = 276
  700. X    swidth["guillemotleft"] = 500
  701. X    swidth["logicalnot"] = 564
  702. X    swidth["hyphen"] = 333
  703. X    swidth["registered"] = 760
  704. X    swidth["macron"] = 333
  705. X    swidth["degree"] = 400
  706. X    swidth["plusminus"] = 564
  707. X    swidth["twosuperior"] = 300
  708. X    swidth["threesuperior"] = 300
  709. X    swidth["acute"] = 333
  710. X    swidth["mu"] = 500
  711. X    swidth["paragraph"] = 453
  712. X    swidth["periodcentered"] = 250
  713. X    swidth["cedilla"] = 333
  714. X    swidth["onesuperior"] = 300
  715. X    swidth["ordmasculine"] = 310
  716. X    swidth["guillemotright"] = 500
  717. X    swidth["onequarter"] = 750
  718. X    swidth["onehalf"] = 750
  719. X    swidth["threequarters"] = 750
  720. X    swidth["questiondown"] = 444
  721. X    swidth["Agrave"] = 722
  722. X    swidth["Aacute"] = 722
  723. X    swidth["Acircumflex"] = 722
  724. X    swidth["Atilde"] = 722
  725. X    swidth["Adieresis"] = 722
  726. X    swidth["Aring"] = 722
  727. X    swidth["AE"] = 889
  728. X    swidth["Ccedilla"] = 667
  729. X    swidth["Egrave"] = 611
  730. X    swidth["Eacute"] = 611
  731. X    swidth["Ecircumflex"] = 611
  732. X    swidth["Edieresis"] = 611
  733. X    swidth["Igrave"] = 333
  734. X    swidth["Iacute"] = 333
  735. X    swidth["Icircumflex"] = 333
  736. X    swidth["Idieresis"] = 333
  737. X    swidth["Eth"] = 722
  738. X    swidth["Ntilde"] = 722
  739. X    swidth["Ograve"] = 722
  740. X    swidth["Oacute"] = 722
  741. X    swidth["Ocircumflex"] = 722
  742. X    swidth["Otilde"] = 722
  743. X    swidth["Odieresis"] = 722
  744. X    swidth["multiply"] = 564
  745. X    swidth["Oslash"] = 722
  746. X    swidth["Ugrave"] = 722
  747. X    swidth["Uacute"] = 722
  748. X    swidth["Ucircumflex"] = 722
  749. X    swidth["Udieresis"] = 722
  750. X    swidth["Yacute"] = 722
  751. X    swidth["Thorn"] = 556
  752. X    swidth["germandbls"] = 500
  753. X    swidth["agrave"] = 444
  754. X    swidth["aacute"] = 444
  755. X    swidth["acircumflex"] = 444
  756. X    swidth["atilde"] = 444
  757. X    swidth["adieresis"] = 444
  758. X    swidth["aring"] = 444
  759. X    swidth["ae"] = 667
  760. X    swidth["ccedilla"] = 444
  761. X    swidth["egrave"] = 444
  762. X    swidth["eacute"] = 444
  763. X    swidth["ecircumflex"] = 444
  764. X    swidth["edieresis"] = 444
  765. X    swidth["igrave"] = 278
  766. X    swidth["iacute"] = 278
  767. X    swidth["icircumflex"] = 278
  768. X    swidth["idieresis"] = 278
  769. X    swidth["eth"] = 500
  770. X    swidth["ntilde"] = 500
  771. X    swidth["ograve"] = 500
  772. X    swidth["oacute"] = 500
  773. X    swidth["ocircumflex"] = 500
  774. X    swidth["otilde"] = 500
  775. X    swidth["odieresis"] = 500
  776. X    swidth["divide"] = 564
  777. X    swidth["oslash"] = 500
  778. X    swidth["ugrave"] = 500
  779. X    swidth["uacute"] = 500
  780. X    swidth["ucircumflex"] = 500
  781. X    swidth["udieresis"] = 500
  782. X    swidth["yacute"] = 500
  783. X    swidth["thorn"] = 500
  784. X    swidth["ydieresis"] = 500
  785. X    swidth["Zcaron"] = 611
  786. X    swidth["zcaron"] = 444
  787. X    swidth["Scaron"] = 556
  788. X    swidth["scaron"] = 389
  789. X    swidth["oe"] = 722
  790. X    swidth["lslash"] = 278
  791. X    swidth["dotlessi"] = 278
  792. X    swidth["Ydieresis"] = 722
  793. X    swidth["OE"] = 889
  794. X    swidth["Lslash"] = 611
  795. X    swidth["emdash"] = 1000
  796. X    swidth["caron"] = 333
  797. X    swidth["ogonek"] = 333
  798. X    swidth["hungarumlaut"] = 333
  799. X    swidth["ring"] = 333
  800. X    swidth["dotaccent"] = 333
  801. X    swidth["breve"] = 333
  802. X    swidth["tilde"] = 333
  803. X    swidth["circumflex"] = 333
  804. X    swidth["grave"] = 333
  805. X    swidth["perthousand"] = 1000
  806. X    swidth["ellipsis"] = 1000
  807. X    swidth["quotedblright"] = 444
  808. X    swidth["quotedblbase"] = 444
  809. X    swidth["quotesinglbase"] = 333
  810. X    swidth["bullet"] = 350
  811. X    swidth["daggerdbl"] = 500
  812. X    swidth["dagger"] = 500
  813. X    swidth["endash"] = 500
  814. X    swidth["fl"] = 556
  815. X    swidth["fi"] = 556
  816. X    swidth["guilsinglright"] = 333
  817. X    swidth["guilsinglleft"] = 333
  818. X    swidth["quotedblleft"] = 444
  819. X    swidth["quotesingle"] = 180
  820. X    swidth["florin"] = 500
  821. X    swidth["fraction"] = 167
  822. X    swidth["trademark"] = 980
  823. X
  824. X# define location of "special" character set
  825. X
  826. X    special[32] = "space"
  827. X    special[33] = "exclam"
  828. X    special[34] = "universal"
  829. X    special[35] = "numbersign"
  830. X    special[36] = "existential"
  831. X    special[37] = "percent"
  832. X    special[38] = "ampersand"
  833. X    special[39] = "suchthat"
  834. X    special[40] = "parenleft"
  835. X    special[41] = "parenright"
  836. X    special[42] = "asteriskmath"
  837. X    special[43] = "plus"
  838. X    special[44] = "comma"
  839. X    special[45] = "minus"
  840. X    special[46] = "period"
  841. X    special[47] = "slash"
  842. X    special[48] = "zero"
  843. X    special[49] = "one"
  844. X    special[50] = "two"
  845. X    special[51] = "three"
  846. X    special[52] = "four"
  847. X    special[53] = "five"
  848. X    special[54] = "six"
  849. X    special[55] = "seven"
  850. X    special[56] = "eight"
  851. X    special[57] = "nine"
  852. X    special[58] = "colon"
  853. X    special[59] = "semicolon"
  854. X    special[60] = "less"
  855. X    special[61] = "equal"
  856. X    special[62] = "greater"
  857. X    special[63] = "question"
  858. X    special[64] = "congruent"
  859. X    special[65] = "Alpha"
  860. X    special[66] = "Beta"
  861. X    special[67] = "Chi"
  862. X    special[68] = "Delta"
  863. X    special[69] = "Epsilon"
  864. X    special[70] = "Phi"
  865. X    special[71] = "Gamma"
  866. X    special[72] = "Eta"
  867. X    special[73] = "Iota"
  868. X    special[74] = "theta1"
  869. X    special[75] = "Kappa"
  870. X    special[76] = "Lambda"
  871. X    special[77] = "Mu"
  872. X    special[78] = "Nu"
  873. X    special[79] = "Omicron"
  874. X    special[80] = "Pi"
  875. X    special[81] = "Theta"
  876. X    special[82] = "Rho"
  877. X    special[83] = "Sigma"
  878. X    special[84] = "Tau"
  879. X    special[85] = "Upsilon"
  880. X    special[86] = "sigma1"
  881. X    special[87] = "Omega"
  882. X    special[88] = "Xi"
  883. X    special[89] = "Psi"
  884. X    special[90] = "Zeta"
  885. X    special[91] = "bracketleft"
  886. X    special[92] = "therefore"
  887. X    special[93] = "bracketright"
  888. X    special[94] = "perpendicular"
  889. X    special[95] = "underscore"
  890. X    special[96] = "radicalex"
  891. X    special[97] = "alpha"
  892. X    special[98] = "beta"
  893. X    special[99] = "chi"
  894. X    special[100] = "delta"
  895. X    special[101] = "epsilon"
  896. X    special[102] = "phi"
  897. X    special[103] = "gamma"
  898. X    special[104] = "eta"
  899. X    special[105] = "iota"
  900. X    special[106] = "phi1"
  901. X    special[107] = "kappa"
  902. X    special[108] = "lambda"
  903. X    special[109] = "mu"
  904. X    special[110] = "nu"
  905. X    special[111] = "omicron"
  906. X    special[112] = "pi"
  907. X    special[113] = "theta"
  908. X    special[114] = "rho"
  909. X    special[115] = "sigma"
  910. X    special[116] = "tau"
  911. X    special[117] = "upsilon"
  912. X    special[118] = "omega1"
  913. X    special[119] = "omega"
  914. X    special[120] = "xi"
  915. X    special[121] = "psi"
  916. X    special[122] = "zeta"
  917. X    special[123] = "braceleft"
  918. X    special[124] = "bar"
  919. X    special[125] = "braceright"
  920. X    special[126] = "similar"
  921. X    special[161] = "Upsilon1"
  922. X    special[162] = "minute"
  923. X    special[163] = "lessequal"
  924. X    special[164] = "fraction"
  925. X    special[165] = "infinity"
  926. X    special[166] = "florin"
  927. X    special[167] = "club"
  928. X    special[168] = "diamond"
  929. X    special[169] = "heart"
  930. X    special[170] = "spade"
  931. X    special[171] = "arrowboth"
  932. X    special[172] = "arrowleft"
  933. X    special[173] = "arrowup"
  934. X    special[174] = "arrowright"
  935. X    special[175] = "arrowdown"
  936. X    special[176] = "degree"
  937. X    special[177] = "plusminus"
  938. X    special[178] = "second"
  939. X    special[179] = "greaterequal"
  940. X    special[180] = "multiply"
  941. X    special[181] = "proportional"
  942. X    special[182] = "partialdiff"
  943. X    special[183] = "bullet"
  944. X    special[184] = "divide"
  945. X    special[185] = "notequal"
  946. X    special[186] = "equivalence"
  947. X    special[187] = "approxequal"
  948. X    special[188] = "ellipsis"
  949. X    special[189] = "arrowvertex"
  950. X    special[190] = "arrowhorizex"
  951. X    special[191] = "carriagereturn"
  952. X    special[192] = "aleph"
  953. X    special[193] = "Ifraktur"
  954. X    special[194] = "Rfraktur"
  955. X    special[195] = "weierstrass"
  956. X    special[196] = "circlemultiply"
  957. X    special[197] = "circleplus"
  958. X    special[198] = "emptyset"
  959. X    special[199] = "intersection"
  960. X    special[200] = "union"
  961. X    special[201] = "propersuperset"
  962. X    special[202] = "reflexsuperset"
  963. X    special[203] = "notsubset"
  964. X    special[204] = "propersubset"
  965. X    special[205] = "reflexsubset"
  966. X    special[206] = "element"
  967. X    special[207] = "notelement"
  968. X    special[208] = "angle"
  969. X    special[209] = "gradient"
  970. X    special[210] = "registerserif"
  971. X    special[211] = "copyrightserif"
  972. X    special[212] = "trademarkserif"
  973. X    special[213] = "product"
  974. X    special[214] = "radical"
  975. X    special[215] = "dotmath"
  976. X    special[216] = "logicalnot"
  977. X    special[217] = "logicaland"
  978. X    special[218] = "logicalor"
  979. X    special[219] = "arrowdblboth"
  980. X    special[220] = "arrowdblleft"
  981. X    special[221] = "arrowdblup"
  982. X    special[222] = "arrowdblright"
  983. X    special[223] = "arrowdbldown"
  984. X    special[224] = "lozenge"
  985. X    special[225] = "angleleft"
  986. X    special[226] = "registersans"
  987. X    special[227] = "copyrightsans"
  988. X    special[228] = "trademarksans"
  989. X    special[229] = "summation"
  990. X    special[230] = "parenlefttp"
  991. X    special[231] = "parenleftex"
  992. X    special[232] = "parenleftbt"
  993. X    special[233] = "bracketlefttp"
  994. X    special[234] = "bracketleftex"
  995. X    special[235] = "bracketleftbt"
  996. X    special[236] = "bracelefttp"
  997. X    special[237] = "braceleftmid"
  998. X    special[238] = "braceleftbt"
  999. X    special[239] = "braceex"
  1000. X    special[240] = "apple"
  1001. X    special[241] = "angleright"
  1002. X    special[242] = "integral"
  1003. X    special[243] = "integraltp"
  1004. X    special[244] = "integralex"
  1005. X    special[245] = "integralbt"
  1006. X    special[246] = "parenrighttp"
  1007. X    special[247] = "parenrightex"
  1008. X    special[248] = "parenrightbt"
  1009. X    special[249] = "bracketrighttp"
  1010. X    special[250] = "bracketrightex"
  1011. X    special[251] = "bracketrightbt"
  1012. X    special[252] = "bracerighttp"
  1013. X    special[253] = "bracerightmid"
  1014. X    special[254] = "bracerightbt"
  1015. X    special[133] = "box"
  1016. X    special[132] = "square"
  1017. X    special[134] = "circle"
  1018. X    special[135] = "boxrule"
  1019. X    special[137] = "rule"
  1020. X    special[148] = "rightceiling"
  1021. X    special[136] = "boldvertical"
  1022. X    special[146] = "rightfloor"
  1023. X    special[141] = "righttopcurly"
  1024. X    special[144] = "rightmidcurly"
  1025. X    special[142] = "rightbotcurly"
  1026. X    special[147] = "leftceiling"
  1027. X    special[145] = "leftfloor"
  1028. X    special[139] = "lefttopcurly"
  1029. X    special[143] = "leftmidcurly"
  1030. X    special[140] = "leftbotcurly"
  1031. X}
  1032. X
  1033. X#  Header from fonts/bdf/75dpi/timR24.bdf
  1034. X#
  1035. X#    STARTFONT 2.1
  1036. X#    FONT -Adobe-Times-Medium-R-Normal--10-100-75-75-P-54-ISO8859-1
  1037. X#    SIZE 10 75 75
  1038. X#    FONTBOUNDINGBOX 11 11 -1 -3
  1039. X#    STARTPROPERTIES 23
  1040. X#    COMMENT Begin LogicalFontDescription
  1041. X#    FONTNAME_REGISTRY ""
  1042. X#    FAMILY_NAME "Times"
  1043. X#    FOUNDRY "Adobe"
  1044. X#    WEIGHT_NAME "Medium"
  1045. X#    SETWIDTH_NAME "Normal"
  1046. X#    SLANT "R"
  1047. X#    ADD_STYLE_NAME ""
  1048. X#    PIXEL_SIZE 10
  1049. X#    POINT_SIZE 100
  1050. X#    RESOLUTION_X 75
  1051. X#    RESOLUTION_Y 75
  1052. X#    SPACING "P"
  1053. X#    AVERAGE_WIDTH 54
  1054. X#    CHARSET_REGISTRY "ISO8859"
  1055. X#    CHARSET_ENCODING "1"
  1056. X#    DEVICE_FONT_NAME "Times-Roman"
  1057. X#    COMMENT END LogicalFontDescription
  1058. X#    CHARSET_COLLECTIONS "ASCII ISOLATIN1 ADOBESTANDARD"
  1059. X#    FULL_NAME "Times Roman"
  1060. X#    COPYRIGHT "Copyright (c) 1984, 1987 Adobe Systems, Inc., Portions Copyright 1988 Digital Equipment Corp."
  1061. X#    COMMENT ***** end of inserted font properties
  1062. X#    FONT_ASCENT 8
  1063. X#    FONT_DESCENT 3
  1064. X#    CAP_HEIGHT 7
  1065. X#    X_HEIGHT 5
  1066. X#    ENDPROPERTIES 
  1067. X#    CHARS 228
  1068. X#    STARTCHAR space
  1069. X#    ENCODING 32
  1070. X#    SWIDTH 250 0
  1071. X#    DWIDTH 2 0
  1072. X#    BBX 1 1 0 0
  1073. X#    BITMAP
  1074. X#    00
  1075. X#    ENDCHAR
  1076. X
  1077. X#  Change the version number and fill in what is needed for bdftosnf
  1078. X
  1079. X/^StartFont / {
  1080. X    print "STARTFONT 2.1"
  1081. X    next
  1082. X}
  1083. X
  1084. X/^Comment / { $1 = "COMMENT" }
  1085. X
  1086. X/^Font / {
  1087. X    fontname = $2
  1088. X    next
  1089. X}
  1090. X
  1091. X/^Size / {
  1092. X    if (length(family[fontname]))
  1093. X        print "FONT devpsc." family[fontname] "." $2 "." 75
  1094. X    else
  1095. X        print "FONT " fontname "." $2 "." 75
  1096. X    $1 = "SIZE"
  1097. X}
  1098. X
  1099. X/^FontBoundingBox / {
  1100. X    $1 = "FONTBOUNDINGBOX"
  1101. X    print
  1102. X    print "STARTPROPERTIES 5"
  1103. X    print "DEVICE_FONT_NAME \"" fontname "\""
  1104. X    print "RESOLUTION_X 75"
  1105. X    print "RESOLUTION_Y 75"
  1106. X    if ($3 > $5) {
  1107. X        print "FONT_ASCENT", $3
  1108. X        print "FONT_DESCENT", -$5
  1109. X    } else {
  1110. X        print "FONT_ASCENT", $5
  1111. X        print "FONT_DESCENT", -$3
  1112. X    }
  1113. X    print "ENDPROPERTIES"
  1114. X    next
  1115. X}
  1116. X
  1117. X/^Chars / { $1 = "CHARS" }
  1118. X
  1119. X/^StartChar / {
  1120. X    $1 = "STARTCHAR"
  1121. X    ch = $2
  1122. X    if (fontname == "Symbol")
  1123. X        next
  1124. X}
  1125. X
  1126. X/^Encoding / {
  1127. X    $1 = "ENCODING"
  1128. X
  1129. X#  Change encoded name for the Symbol set since dumpfont
  1130. X#  gives the wrong name.
  1131. X
  1132. X    if (fontname == "Symbol") {
  1133. X        if (length(special[$2]))
  1134. X            ch = special[$2]
  1135. X        else
  1136. X            ch = "<unknown>"
  1137. X        print "STARTCHAR", ch
  1138. X        print
  1139. X        next
  1140. X    }
  1141. X
  1142. X#  Change to unencoded for "<unknown>" characters.
  1143. X#  These characters could even be removed from the character set.
  1144. X
  1145. X    if ((ch == "<unknown>") && length(family[fontname]))
  1146. X        $2 = -1
  1147. X}
  1148. X
  1149. X#  SWIDTH is not provided.  It is not needed for xtroff, but
  1150. X#  should be supplied for completeness.  Here it is supplied
  1151. X#  from a canned table.
  1152. X
  1153. X/^DWidth / {
  1154. X    if (length(swidth[ch]) != 0)
  1155. X        print "SWIDTH", swidth[ch], "0"
  1156. X    else
  1157. X        print "SWIDTH 250 0"
  1158. X    $1 = "DWIDTH"
  1159. X}
  1160. X
  1161. X/^Bitmap/ { $1 = "BITMAP" }
  1162. X
  1163. X/^EndChar/ { $1 = "ENDCHAR" }
  1164. X
  1165. X/^EndFont/ { $1 = "ENDFONT" }
  1166. X
  1167. X# other
  1168. X
  1169. X{ print }
  1170. END_OF_FILE
  1171. if test 14490 -ne `wc -c <'xtroff/NeWS/news.awk'`; then
  1172.     echo shar: \"'xtroff/NeWS/news.awk'\" unpacked with wrong size!
  1173. fi
  1174. # end of 'xtroff/NeWS/news.awk'
  1175. fi
  1176. if test -f 'xtroff/README' -a "${1}" != "-c" ; then 
  1177.   echo shar: Will not clobber existing file \"'xtroff/README'\"
  1178. else
  1179. echo shar: Extracting \"'xtroff/README'\" \(15047 characters\)
  1180. sed "s/^X//" >'xtroff/README' <<'END_OF_FILE'
  1181. XThis directory contains a Device Independent Troff previewer for a
  1182. XSun workstation.  It is based on a previewer originally written by
  1183. XDavid Slattengren (Berkeley) and Rich Hyde (Purdue) and was nearly
  1184. Xall rewritten by Malcolm Slaney (Schlumberger Palo Alto Research).
  1185. X(An X Windows interface for X Version 11 also exists - see README.X11)
  1186. X
  1187. XFirst the appropiate legal mumblings......
  1188. X
  1189. XThis command was developed as an independent project to satisfy a need
  1190. Xof the author.  This program may contain bugs and the user is cautioned
  1191. Xto independently verify that the program is suitable for the user's 
  1192. Xintended purpose. The program is made available on an ``as is'' basis 
  1193. Xwith all faults and without any implied or expressed warranties or support
  1194. Xfrom either the author, Malcolm Slaney, or the Schlumberger Palo Alto
  1195. XResearch Laboratory.
  1196. X
  1197. XI am putting this program in the Unix domain.  You are free to use
  1198. Xit as you wish.  In return I ask two things.  First, that you do not
  1199. Xremove the names of the authors from this work.  Secondly, if you 
  1200. Xmake changes or improvements to this program that you pass these
  1201. Xchanges back to the author so that everybody can benefit from the
  1202. Ximprovements.
  1203. X
  1204. X
  1205. X                    Malcolm Slaney  (December 1986)
  1206. X                    Schlumberger Palo Alto Research
  1207. X                    3340 Hillview Avenue
  1208. X                    Palo Alto, CA 94304
  1209. X                    (415) 496-4669
  1210. X                    spar!malcolm@decwrl.dec.com
  1211. X                    malcolm@ecn.purdue.edu
  1212. X                    malcolm@spar.slb.com (Someday)
  1213. X
  1214. X
  1215. X
  1216. XHOW IT WORKS
  1217. X
  1218. XDitroff (Device Independent Troff) outputs a file containing commands
  1219. Xfor a pseudo typesetter.  SunTroff reads this file and displays an
  1220. Xapproximation to the typeset output as a window on a Sun workstation.
  1221. XThe current code makes extensive use of Sun View and will runs under
  1222. Xeither Sun Unix 3.0 or 3.2.  It has not been tested with other versions
  1223. Xof Sun software.  (Note that ditroff is NOT the same as /usr/bin/troff
  1224. Xin SunOS. Ditroff is supplied with the Documenters WorkBench by AT&T,
  1225. Xor with the research editions of Unix from Bell labs (eg) Eighth
  1226. XEdition. To tell if your typesetter if ditroff, try running the
  1227. Xsuntroff.man through it - if you get something resembling
  1228. Xsuntroff.tr (i.e ASCII commands) then it's ditroff - if you get a
  1229. Xbinary file, or the dreaded 'Typesetter busy', then you've got the
  1230. Xvenerable old troff that produces stuff for a CAT typesetter).
  1231. X
  1232. XDitroff reads files containing typesetter information from a directory
  1233. X(at SPAR it is in /usr/spar/font/ditroff).  This information is also
  1234. Xused by SunTroff (and most of the filters that convert ditroff output
  1235. Xinto bits for a typesetter.)  Within the ditroff directory there
  1236. Xare sub directories for each of the typesetters supported by ditroff.
  1237. XThese directories are named /usr/spar/font/ditroff/devXXX where XXX is
  1238. Xreplaced with the typesetter name.
  1239. X(At CSRI, University of Toronto, the troff directory is called
  1240. X /local/share/troff, and ditroff is called /local/bin/troff)
  1241. X
  1242. XIn addition their is another directory (called /usr/spar/font/suntroff
  1243. Xat SPAR) with the actual fonts used by Suntroff.  This directory 
  1244. Xparallel's the ditroff directory with seperate directories for
  1245. Xeach typesetter.  These directories contain the reduced fonts used
  1246. Xto approximate each typesetter.  Suntroff (as it is used at SPAR)
  1247. Xuses fonts that have 120 dots per inch.
  1248. X(At CSRI, this directory is /local/lib/suntroff)
  1249. X
  1250. XThere is software provided (originally written at Berkeley) that will
  1251. Xconvert Berkeley versatec format or Imagen RST format fonts to a
  1252. Xreadable format, reduce them by any desired fraction and then convert
  1253. Xthem back to Versatec format for use by Suntroff.  SunTroff can only
  1254. Xread font information in Berkeley Versatec format (this is also the
  1255. Xdefault for the rest of the Sun software.)
  1256. X
  1257. XThe hardest problem with SunTroff (possibly unsolved) is the fonts.
  1258. XThe only fonts that are available to Sun users are the versatec fonts
  1259. Xfound in /usr/lib/vfont.  Other typesetters (like Imagen) sometimes
  1260. Xprovide fonts but not in a common format.  Finally there are typesetters
  1261. X(like Adobe and Apple) where there it is not possible to get the font
  1262. Xbits.
  1263. X
  1264. XSunTroff will try to use the fonts available for each typesetter.  Here
  1265. Xat SPAR this means that our 300 dpi Imagen printer has some of the
  1266. Xfonts it needs.  All other devices default to the Versatec fonts. SunTroff
  1267. Xis pretty smart about picking the right size if exactly the right size
  1268. Xisn't available.  If the correct font name isn't present (like a
  1269. XRoman Helvetica, HR) then it defaults to the Roman font.
  1270. X
  1271. XIn addition to the normal typesetters it is also necessary to define
  1272. Xa new typesetter called sun that represents the default typesetter.
  1273. XIn the ditroff font directory this can be a link to the Versatec information
  1274. X(link devvp to devsun) but in the SunTroff directory it contains the 
  1275. Xactual bits for the default fonts.  Here is what these two directories
  1276. Xcontain at SPAR.
  1277. X
  1278. X/usr/spar/font/ditroff:
  1279. Xtotal 25
  1280. X   1 drwxrwxr-x  9 malcolm       512 Oct 29 12:17 .
  1281. X   1 drwxrwxr-x  6 root          512 Sep 14 13:21 ..
  1282. X   1 lrwxrwxrwx  1 malcolm        12 Oct 22 15:58 devi24 -> devimagen300
  1283. X   1 lrwxrwxrwx  1 malcolm        12 Oct 22 15:58 devimagen -> devimagen300
  1284. X   1 lrwxrwxrwx  1 malcolm        12 Oct 22 15:58 devimagen24 -> devimagen300
  1285. X   1 drwxrwxr-x  3 malcolm      1024 Sep 29 11:51 devimagen300
  1286. X   1 lrwxrwxrwx  1 malcolm        12 Oct 22 15:58 devip -> devimagen300
  1287. X   1 lrwxrwxrwx  1 malcolm         6 Oct 22 15:58 devlw1 -> devpsc
  1288. X   1 lrwxrwxrwx  1 malcolm         6 Oct 22 15:58 devlw2 -> devpsc
  1289. X   1 lrwxrwxrwx  1 malcolm         6 Oct 22 15:58 devlw3 -> devpsc
  1290. X   1 lrwxrwxrwx  1 malcolm         6 Oct 22 15:58 devlw4 -> devpsc
  1291. X   2 drwxrwxr-x  2 malcolm      1536 Jul  7 20:12 devpsc
  1292. X   1 lrwxrwxrwx  1 malcolm         5 Oct 29 12:17 devsun -> devva
  1293. X   1 drwxrwxr-x  2 malcolm       512 Jun 30 10:44 devter
  1294. X   1 lrwxrwxrwx  1 malcolm         6 Oct 22 15:58 devterm -> devter
  1295. X   1 lrwxrwxrwx  1 malcolm         6 Oct 22 15:58 devterminal -> devter
  1296. X   2 drwxrwxr-x  2 malcolm      2048 Jun 30 10:45 devva
  1297. X   1 lrwxrwxrwx  1 malcolm         5 Oct 22 15:58 devvarian -> devva
  1298. X   1 lrwxrwxrwx  1 malcolm         5 Oct 22 15:58 devversatec -> devva
  1299. X   1 lrwxrwxrwx  1 malcolm         5 Oct 22 15:58 devvp -> devva
  1300. X
  1301. X/usr/spar/font/suntroff:
  1302. Xtotal 6
  1303. X   1 drwxr-xr-x  4 malcolm       512 Sep 14 13:53 .
  1304. X   1 drwxrwxr-x  6 root          512 Sep 14 13:21 ..
  1305. X   3 drwxr-xr-x  2 malcolm      3072 Sep 26 17:06 devimagen
  1306. X   1 drwxr-xr-x  2 malcolm      1024 Sep 15 09:38 devsun
  1307. X
  1308. XNote that in the /usr/spar/font/ditroff directory there are really
  1309. Xonly five different devices supported (300 dpi Imagen, 300 dpi
  1310. XPostscript, dumb terminals and the 200 dpi Versatec type 
  1311. Xdevices).  Each directory contains the DESC and font files needed
  1312. Xfor ditroff.
  1313. X
  1314. XThe /usr/spar/font/suntroff directory only contains two directories,
  1315. Xone for the imagen fonts and the other for the default sun fonts.  The
  1316. Xprograms in the fontstuff subdirectory are used to make these fonts.
  1317. XIf anybody figures out a way to get the Apple fonts I would dearly
  1318. Xlove to hear from them.
  1319. X
  1320. XINSTALLATION
  1321. XInstallation of SunTroff is relatively easy.  The following represents
  1322. Xa short do list (I hope I haven't forgotten anything).  Except for
  1323. Xcreating the BITDIR (see 2 below) directory and installing the binary
  1324. Ximage of suntroff there is no need for special permissions.
  1325. X
  1326. X1)    Edit the Makefile.  Change the definitions of VFONTS and RSTFONTS
  1327. X    to point to the location of your Versatec Font Files (as provided
  1328. X    by Sun) and the RST (Imagen) fonts.  If you don't have an Imagen
  1329. X    printer (or you don't want to mess with the Imagen fonts) then
  1330. X    don't worry about the RSTFONTS.  These two definitions are needed
  1331. X    by the programs that attempt to automatically make the font files
  1332. X    needed for the screen. Change SUNTROFF_FONTS to the directory 
  1333. X    where you want the scaled sunfonts to go (they'll be put in devXXX
  1334. X    subdirectories, and set DEVICE to whatever XXX is to be. (eg) sun
  1335. X    for devsun, or imp for devimp.) Change MAKEDEV to point to 
  1336. X    either makedev (for AT&T ditroff people) or devconfig (for Berkeley
  1337. X    ditroff people). Change WIDTHDIR to point to wherever ditroff
  1338. X    looks for its font width tables. To find that out, type
  1339. X    something like
  1340. X        ditroff -t -Tfoo suntroff.man > /dev/null
  1341. X    You should get an error message like
  1342. X
  1343. X    ditroff: can't open tables for /usr/local/lib/troff//devfoo/DESC.out
  1344. X
  1345. X    Whatever is before the devfoo is WIDTHDIR.
  1346. X    (At CSRI, we call ditroff troff, and just bury the Sun
  1347. X    supplied /usr/bin/troff)
  1348. X
  1349. X    People using Berkeley ditroff should add -DBEZERKELYISM to the
  1350. X    DEFINES line in the Makefile.
  1351. X
  1352. X2)    Make sure that the dev.h file is correct.  There are two versions.
  1353. X    The one supplied is identical to AT&T's version and should work
  1354. X    for most people.  If your version of DESC.out files are compiled
  1355. X    with another version of dev.h then you should replace this copy
  1356. X    of the dev.h file with your own.  It doesn't really matter which
  1357. X    version you use as long as you are consistent.
  1358. X    
  1359. X3)    Type make.  This will make the suntroff binary.
  1360. X
  1361. X4)    Type 'make fonts' which will make the font conversion programs, and
  1362. X    then scale and make the fonts, and install them in 
  1363. X    $(SUNTROFF_FONTS)/dev$(DEVICE)
  1364. X
  1365. X5)    Type 'make width'. This will install the devsun directory in
  1366. X    WIDTHDIR.  It runs either makedev (for you AT&T ditroff people) or
  1367. X    devconfig (for you Berkeley ditroff people).  
  1368. X
  1369. X    The devsun directory (and more specifically the DESC.out file that
  1370. X    devconfig/makedev create) is necessary so that SunTroff knows how
  1371. X    to find the special characters (like ligatures) in the font files.
  1372. X
  1373. X    In the directory devsun I have supplied the DESC and font
  1374. X    description files we use for the Versatec (default) fonts.  If
  1375. X    your site doesn't already support the Versatec fonts then these
  1376. X    description files might be a good place to start.  Be sure to
  1377. X    put them in with the rest of your fonts and run either makedev
  1378. X    (AT&T) or devconfig (Berkeley).  You need to have a devsun
  1379. X    directory......it can either be a link to the devversatec
  1380. X    (or whatever you call it) or a copy of the devsun directory
  1381. X    supplied here.
  1382. X
  1383. X6)    To test.  Type the command "suntroff suntroff.tr" while
  1384. X    running in suntools.  Things should be pretty obvious from the
  1385. X    right mouse button menu, the middle mouse button and the
  1386. X    status panel.  (The files suntroff.tr and xtroff.tr are both
  1387. X    ditroff output files for test purposes. They are the suntroff
  1388. X    and xtroff manuals respectively). Then you can create a ditroff
  1389. X    output file with the -t flag to ditroff. 
  1390. X
  1391. XOne final note (or things not to get bitten by)
  1392. XNote there are two different versions of the dev.h file that describes
  1393. Xthe DESC.out files.  The AT&T version is probably the most widespread
  1394. Xand is what is distributed in this directory.  Berkeley made a couple
  1395. Xof small changes in the size of some of the string arrays and changed
  1396. Xa couple of the spare slots into graphics specifications.  It doesn't
  1397. Xmatter which one you use as long as it is the same as the one used
  1398. Xto make your DESC.out files.  (If you're not sure then the one supplied
  1399. Xis probably correct for you.)
  1400. X
  1401. XIf you don't have the proper $(WIDTHDIR)/devsun/DESC.out file installed then
  1402. XSunTroff will not be able to find the special characters like ligatures
  1403. X(fi, ffi, etc).
  1404. X
  1405. XThe files found in this directory are listed below.  Note the source files
  1406. Xare organized the way they are because there is somebody at SPAR who is 
  1407. Xinterested in using the SunTroff user interface (in sunwindows.c) as part
  1408. Xof a TeX previewer.  The file sunwindows.c contains all the SunView code,
  1409. Xand suntroff.c and *.c contain all the ditroff dependent stuff.
  1410. X
  1411. X    README            This file.
  1412. X
  1413. X    dev.h            Contains structure describing the
  1414. X                binary file with typesetter information.
  1415. X
  1416. X    devsun/         A directory containing the DESC and
  1417. X                font description files needed for DiTroff.
  1418. X                Be sure to install this information in
  1419. X                your ditroff font directory.  SunTroff needs
  1420. X                this information so it can figure out the
  1421. X                mapping of the special characters. 
  1422. X                If you already have Ditroff working on
  1423. X                the versatec then just use that directory.
  1424. X
  1425. X    suntroff        The binary executable.  Install in
  1426. X                your favorite source directory.
  1427. X
  1428. X    suntroff.h        Various system defines.  You will
  1429. X                definitely have to change the location
  1430. X                of your font directories (FONTDIR and
  1431. X                BITDIR).  The rest of the stuff is
  1432. X                probably OK.  Also note the LPR command
  1433. X                that is used.  It could be different
  1434. X                at different sites.
  1435. X
  1436. X    suntroff.man        The manual page
  1437. X    suntroff.tr        The ditroff output of the manual page
  1438. X
  1439. X    suntroff.c        Miscellaneous functions that don't
  1440. X                really fit anywhere else.  The functions
  1441. X                in sunwindows.c mostly call the functions
  1442. X                in this file.
  1443. X
  1444. X    curves.c        The fancy drawing commands.  There were
  1445. X                not written at SPAR.
  1446. X
  1447. X    draw.c        The simple drawing commands.  Most of
  1448. X                the word is done by SunView.
  1449. X
  1450. X    fixpoint.c    Fixed point arithmetic used by the 
  1451. X                routines in curves.c
  1452. X
  1453. X    font.c        All the routines needed to deal with
  1454. X                the fonts.  This includes font loading
  1455. X                and caching.
  1456. X
  1457. X    parse.c        Parse the troff input file.  No real
  1458. X                work is done by this file.  It depends
  1459. X                on the other files to draw the
  1460. X                characters.
  1461. X
  1462. X    sunwindows.c        This file contains all the SunView interface.
  1463. X                This includes the page movement, the
  1464. X                panel and the menu.  It provides a large
  1465. X                bit map for the troff drawing functions
  1466. X                to scribble on then displays the desired
  1467. X                part of the page for the user.
  1468. X
  1469. X
  1470. XIn the fontstuff directory:
  1471. X
  1472. X    MakeSunFonts        Program to make the reduced fonts
  1473. X                needed by SunTroff.  By default it
  1474. X                reads the fonts in /usr/lib/vfont
  1475. X                reduces them and puts them in
  1476. X                the proper directory.
  1477. X
  1478. X    MakeImagenFonts        Program to make the reduced fonts
  1479. X                needed by SunTroff to emulate the
  1480. X                300 DPI Imagen printers.
  1481. X
  1482. X    ch2rst
  1483. X    ch2rst.c        Convert a font in character format
  1484. X                back into RST (Imagen) format
  1485. X    ch2cft
  1486. X    ch2vft.c        Convert a font in character format
  1487. X                back into Versatec format
  1488. X
  1489. X    rst.h            Describes the RST (Imagen) format.
  1490. X
  1491. X    rst2ch
  1492. X    rst2ch.c        Convert an RST format font into 
  1493. X                a readable (character) format.
  1494. X
  1495. X    scalech
  1496. X    scalech.c        Scale a readable font (as created
  1497. X                by rst2ch and vft2ch) by a fraction
  1498. X                less than 1.
  1499. X
  1500. X    vf2bdf
  1501. X    vf2bdf.c        Convert a Vfont (Versatec format)
  1502. X                font into the BDF format used by
  1503. X                X11. (Originally from Ken Yap, at Rochester,
  1504. X                a couple of fixes by Dana Chee at bellcore
  1505. X                - moraes)
  1506. X
  1507. X    vft2ch
  1508. X    vft2ch.c        Convert a Vfont (Versatec format)
  1509. X                font into character format.
  1510. X
  1511. XIn the bitmaps directory:
  1512. X
  1513. X    ditroff.icon        An icon for the SunTroff program.
  1514. X
  1515. X    ditroff.bitmap        An icon for the X11 program.
  1516. X
  1517. X    hand.x11.mask
  1518. X    hand.x11.bitmap        The hand cursor for the X11 program. 
  1519. X                (All conversions from Sun format to X11
  1520. X                format were made using Jef Poskanzer's
  1521. X                pbm programs - moraes)
  1522. X
  1523. XPlease contact me if you have any questions, comments, bugs and (most
  1524. Ximportantly) any improvements.
  1525. X
  1526. X                    Malcolm Slaney
  1527. X                    Schlumberger Palo Alto Research
  1528. X                    3340 Hillview Avenue
  1529. X                    Palo Alto, CA 94304
  1530. X                    (415) 496-4669
  1531. X                    {decwrl,pur-ee}!malcolm
  1532. X                    spar!malcolm@decwrl.dec.com
  1533. X                    malcolm@malcolm.purdue.edu
  1534. X
  1535. END_OF_FILE
  1536. if test 15047 -ne `wc -c <'xtroff/README'`; then
  1537.     echo shar: \"'xtroff/README'\" unpacked with wrong size!
  1538. fi
  1539. # end of 'xtroff/README'
  1540. fi
  1541. echo shar: End of archive 11 \(of 18\).
  1542. cp /dev/null ark11isdone
  1543. MISSING=""
  1544. for I in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 ; do
  1545.     if test ! -f ark${I}isdone ; then
  1546.     MISSING="${MISSING} ${I}"
  1547.     fi
  1548. done
  1549. if test "${MISSING}" = "" ; then
  1550.     echo You have unpacked all 18 archives.
  1551.     rm -f ark[1-9]isdone ark[1-9][0-9]isdone
  1552. else
  1553.     echo You still need to unpack the following archives:
  1554.     echo "        " ${MISSING}
  1555. fi
  1556. ##  End of shell archive.
  1557. exit 0
  1558.