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

  1. Path: uunet!island!argv
  2. From: argv@island.uu.net (Dan Heller)
  3. Newsgroups: comp.sources.x
  4. Subject: v04i049: xtroff -- troff previewer for X11, Part04/18
  5. Message-ID: <880@island.uu.net>
  6. Date: 17 Jul 89 06:55:21 GMT
  7. Organization: Island Graphics, Marin County, California
  8. Lines: 2456
  9. Approved: island!argv@sun.com
  10.  
  11. Submitted-by: Mark Moraes <moraes@ai.toronto.edu>
  12. Posting-number: Volume 4, Issue 49
  13. Archive-name: xtroff/part04
  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 4 (of 18)."
  24. # Contents:  xtroff/XtStuff/CheckItem.h xtroff/XtStuff/CheckItemP.h
  25. #   xtroff/XtStuff/Menu.h xtroff/XtStuff/MenuItemP.h
  26. #   xtroff/XtStuff/MenuP.h xtroff/XtStuff/MinibufP.h
  27. #   xtroff/XtStuff/README.Menu xtroff/XtStuff/Window.c
  28. #   xtroff/bitmaps/ditroff.bm xtroff/devpsc/README.char
  29. #   xtroff/devpsc/README.note xtroff/devpsc/S.aux xtroff/devsun/db
  30. #   xtroff/devsun/dr xtroff/devsun/gf xtroff/fixpoint.c
  31. #   xtroff/fontstuff/MakeImFonts xtroff/fontstuff/vft2ch.c
  32. # Wrapped by moraes@neat.ai on Thu Jul 13 20:54:45 1989
  33. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  34. if test -f 'xtroff/XtStuff/CheckItem.h' -a "${1}" != "-c" ; then 
  35.   echo shar: Will not clobber existing file \"'xtroff/XtStuff/CheckItem.h'\"
  36. else
  37. echo shar: Extracting \"'xtroff/XtStuff/CheckItem.h'\" \(2210 characters\)
  38. sed "s/^X//" >'xtroff/XtStuff/CheckItem.h' <<'END_OF_FILE'
  39. X/*
  40. X* $Header: CheckItem.h,v 1.2 88/05/31 21:07:42 moraes Exp $
  41. X*/
  42. X
  43. X/*
  44. X * Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
  45. X * 
  46. X *                         All Rights Reserved
  47. X * 
  48. X * Permission to use, copy, modify, and distribute this software and its 
  49. X * documentation for any purpose and without fee is hereby granted, 
  50. X * provided that the above copyright notice appear in all copies and that
  51. X * both that copyright notice and this permission notice appear in 
  52. X * supporting documentation, and that the name of Digital Equipment
  53. X * Corporation not be used in advertising or publicity pertaining to
  54. X * distribution of the software without specific, written prior permission.  
  55. X * 
  56. X * 
  57. X * DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  58. X * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  59. X * DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  60. X * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  61. X * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  62. X * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  63. X * SOFTWARE.
  64. X */
  65. X/*
  66. X * CheckItem.h - CheckItem button widget
  67. X *
  68. X * Author:      Robert P. Shen
  69. X *              Malcolm Forbes
  70. X *              Digital Equipment Corporation
  71. X *              ESG Systems Engineering
  72. X *
  73. X * Date:        February 1, 1988
  74. X */
  75. X#ifndef _XtCheckItem_h
  76. X#define _XtCheckItem_h
  77. X
  78. X/***********************************************************************
  79. X *
  80. X * CheckItem Widget
  81. X *
  82. X ***********************************************************************/
  83. X
  84. X#define XtNcallback        "callback"
  85. X#define XtNhighlightThickness   "hightlightThickness"
  86. X#define XtNtranslations        "translations"
  87. X
  88. X#ifndef _XtCheckState
  89. X#define _XtCheckState
  90. X#define XtNcheckState "checkState"
  91. X#define XtCCheckState "CheckState"
  92. X#define XtRCheckState "CheckState"
  93. Xtypedef enum {
  94. X    XtitemChecked,
  95. X    XtitemUnchecked
  96. X} XtCheckState;
  97. X#endif  _XtCheckState
  98. X
  99. Xextern WidgetClass     checkitemWidgetClass;
  100. X
  101. Xtypedef struct _CheckItemClassRec   *CheckItemWidgetClass;
  102. Xtypedef struct _CheckItemRec        *CheckItemWidget;
  103. X
  104. X
  105. X#endif _XtCheckItem_h
  106. X/* DON'T ADD STUFF AFTER THIS */
  107. END_OF_FILE
  108. if test 2210 -ne `wc -c <'xtroff/XtStuff/CheckItem.h'`; then
  109.     echo shar: \"'xtroff/XtStuff/CheckItem.h'\" unpacked with wrong size!
  110. fi
  111. # end of 'xtroff/XtStuff/CheckItem.h'
  112. fi
  113. if test -f 'xtroff/XtStuff/CheckItemP.h' -a "${1}" != "-c" ; then 
  114.   echo shar: Will not clobber existing file \"'xtroff/XtStuff/CheckItemP.h'\"
  115. else
  116. echo shar: Extracting \"'xtroff/XtStuff/CheckItemP.h'\" \(3064 characters\)
  117. sed "s/^X//" >'xtroff/XtStuff/CheckItemP.h' <<'END_OF_FILE'
  118. X/*
  119. X* $Header: CheckItemP.h,v 1.2 88/05/31 21:07:43 moraes Exp $
  120. X*/
  121. X
  122. X/*
  123. X * Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
  124. X * 
  125. X *                         All Rights Reserved
  126. X * 
  127. X * Permission to use, copy, modify, and distribute this software and its 
  128. X * documentation for any purpose and without fee is hereby granted, 
  129. X * provided that the above copyright notice appear in all copies and that
  130. X * both that copyright notice and this permission notice appear in 
  131. X * supporting documentation, and that the name of Digital Equipment
  132. X * Corporation not be used in advertising or publicity pertaining to
  133. X * distribution of the software without specific, written prior permission.  
  134. X * 
  135. X * 
  136. X * DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  137. X * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  138. X * DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  139. X * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  140. X * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  141. X * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  142. X * SOFTWARE.
  143. X */
  144. X/* 
  145. X * CheckItemP.h - Private definitions for CheckItem widget
  146. X *
  147. X * Author:      Robert P. Shen
  148. X *              Malcolm Forbes
  149. X *              Digital Equipment Corporation
  150. X *              ESG Systems Engineering
  151. X *
  152. X * Date:        February 1, 1988
  153. X */
  154. X
  155. X
  156. X#ifndef _XtCheckItemPrivate_h
  157. X#define _XtCheckItemPrivate_h
  158. X
  159. X/***********************************************************************
  160. X *
  161. X * CheckItem Widget Private Data
  162. X *
  163. X ***********************************************************************/
  164. X
  165. X/************************************
  166. X *
  167. X *  Class structure
  168. X *
  169. X ***********************************/
  170. X
  171. X
  172. X   /* New fields for the CheckItem widget class record */
  173. Xtypedef struct _CheckItemClass 
  174. X  {
  175. X    int makes_compiler_happy;  /* not used */
  176. X  } CheckItemClassPart;
  177. X
  178. X   /* Full class record declaration */
  179. Xtypedef struct _CheckItemClassRec {
  180. X    CoreClassPart    core_class;
  181. X    LabelClassPart    label_class;
  182. X    CheckItemClassPart     checkitem_class;
  183. X} CheckItemClassRec;
  184. X
  185. Xextern CheckItemClassRec checkitemClassRec;
  186. X
  187. X/***************************************
  188. X *
  189. X *  Instance (widget) structure 
  190. X *
  191. X **************************************/
  192. X
  193. X    /* New fields for the CheckItem widget record */
  194. Xtypedef struct {
  195. X    Pixmap      gray_pixmap;
  196. X    GC          highlight_GC;
  197. X    GC          erase_highlight_GC;
  198. X    GC          inverse_GC;
  199. X    GC          inverse_text_GC;
  200. X    Dimension   highlight_thickness;
  201. X    XtCallbackList callbacks;
  202. X    Boolean     set;
  203. X    Boolean     highlighted;
  204. X    Boolean     display_set;
  205. X    Boolean     display_highlighted;
  206. X    Boolean    check_state;
  207. X} CheckItemPart;
  208. X
  209. X
  210. X/*    XtEventsPtr eventTable;*/
  211. X
  212. X
  213. X   /* Full widget declaration */
  214. Xtypedef struct _CheckItemRec {
  215. X    CorePart         core;
  216. X    SimplePart         simple;
  217. X    LabelPart         label;
  218. X    CheckItemPart    checkitem;
  219. X} CheckItemRec;
  220. X
  221. X#endif _XtCheckItemPrivate_h
  222. X/* DON'T ADD STUFF AFTER THIS #endif */
  223. X
  224. END_OF_FILE
  225. if test 3064 -ne `wc -c <'xtroff/XtStuff/CheckItemP.h'`; then
  226.     echo shar: \"'xtroff/XtStuff/CheckItemP.h'\" unpacked with wrong size!
  227. fi
  228. # end of 'xtroff/XtStuff/CheckItemP.h'
  229. fi
  230. if test -f 'xtroff/XtStuff/Menu.h' -a "${1}" != "-c" ; then 
  231.   echo shar: Will not clobber existing file \"'xtroff/XtStuff/Menu.h'\"
  232. else
  233. echo shar: Extracting \"'xtroff/XtStuff/Menu.h'\" \(2643 characters\)
  234. sed "s/^X//" >'xtroff/XtStuff/Menu.h' <<'END_OF_FILE'
  235. X/*
  236. X* $Header: Menu.h,v 1.2 88/06/01 02:47:17 moraes Exp $
  237. X*/
  238. X
  239. X/*
  240. X * Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
  241. X * 
  242. X *                         All Rights Reserved
  243. X * 
  244. X * Permission to use, copy, modify, and distribute this software and its 
  245. X * documentation for any purpose and without fee is hereby granted, 
  246. X * provided that the above copyright notice appear in all copies and that
  247. X * both that copyright notice and this permission notice appear in 
  248. X * supporting documentation, and that the name of Digital Equipment
  249. X * Corporation not be used in advertising or publicity pertaining to
  250. X * distribution of the software without specific, written prior permission.  
  251. X * 
  252. X * 
  253. X * DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  254. X * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  255. X * DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  256. X * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  257. X * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  258. X * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  259. X * SOFTWARE.
  260. X */
  261. X/* Menu.h
  262. X *   
  263. X * Author:       Robert P. Shen
  264. X *               Malcolm Forbes
  265. X *               Digital Equipment Corporation
  266. X *               ESG Systems Engineering
  267. X *
  268. X * Date:         February 1, 1988
  269. X */
  270. X#ifndef _XtMenu_h
  271. X#define _XtMenu_h
  272. X
  273. X/***********************************************************************
  274. X *
  275. X * Menu Widget (subclass of CompositeClass)
  276. X *
  277. X ***********************************************************************/
  278. X
  279. X/* New fields */
  280. X#define XtNxMargin        "xMargin"
  281. X#define XtNyMargin        "yMargin"
  282. X#define XtNmenuForeground       "menuForeground"
  283. X#define XtNcheckForeground      "checkForeground"
  284. X#define XtNmenuItemsList    "menuItemsList"
  285. X
  286. X    /*--------------------------------------------------------------*
  287. X     *  the following bit masks only apply when setting up        *
  288. X     *  a Menu Items List.  (This should be in a sub-widget ;-)    *
  289. X     *--------------------------------------------------------------*/
  290. X
  291. X#define XtitemUnselectable    0x04    /* 0=selectable, 1=not        */
  292. X#define XtitemCheckable        0x02    /* 0=uncheckable, 1=checkable    */
  293. X#define XtitemIsChecked        0x01    /* 0=unchecked, 1=checked    */
  294. X
  295. X/* Class record constants */
  296. X
  297. Xextern WidgetClass menuWidgetClass;
  298. X
  299. Xtypedef struct _MenuClassRec *MenuWidgetClass;
  300. Xtypedef struct _MenuRec      *MenuWidget;
  301. X
  302. Xtypedef struct MenuItemsRec {
  303. X    String        text;
  304. X    XtCallbackProc    proc;
  305. X    caddr_t        closure;
  306. X    Boolean        flags;
  307. X};
  308. X
  309. Xtypedef struct MenuItemsRec *MenuItems, MenuItemsList;
  310. X
  311. X#endif _XtMenu_h
  312. X/* DON'T ADD STUFF AFTER THIS #endif */
  313. END_OF_FILE
  314. if test 2643 -ne `wc -c <'xtroff/XtStuff/Menu.h'`; then
  315.     echo shar: \"'xtroff/XtStuff/Menu.h'\" unpacked with wrong size!
  316. fi
  317. # end of 'xtroff/XtStuff/Menu.h'
  318. fi
  319. if test -f 'xtroff/XtStuff/MenuItemP.h' -a "${1}" != "-c" ; then 
  320.   echo shar: Will not clobber existing file \"'xtroff/XtStuff/MenuItemP.h'\"
  321. else
  322. echo shar: Extracting \"'xtroff/XtStuff/MenuItemP.h'\" \(3018 characters\)
  323. sed "s/^X//" >'xtroff/XtStuff/MenuItemP.h' <<'END_OF_FILE'
  324. X/*
  325. X* $Header: MenuItemP.h,v 1.2 88/05/31 21:07:50 moraes Exp $
  326. X*/
  327. X
  328. X/*
  329. X * Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
  330. X * 
  331. X *                         All Rights Reserved
  332. X * 
  333. X * Permission to use, copy, modify, and distribute this software and its 
  334. X * documentation for any purpose and without fee is hereby granted, 
  335. X * provided that the above copyright notice appear in all copies and that
  336. X * both that copyright notice and this permission notice appear in 
  337. X * supporting documentation, and that the name of Digital Equipment
  338. X * Corporation not be used in advertising or publicity pertaining to
  339. X * distribution of the software without specific, written prior permission.  
  340. X * 
  341. X * 
  342. X * DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  343. X * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  344. X * DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  345. X * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  346. X * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  347. X * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  348. X * SOFTWARE.
  349. X */
  350. X/* 
  351. X * MenuItemP.h - Private definitions for MenuItem widget
  352. X *
  353. X * Author:      Robert P. Shen
  354. X *              Malcolm Forbes
  355. X *              Digital Equipment Corporation
  356. X *              ESG Systems Engineering
  357. X *
  358. X * Date:        February 1, 1988
  359. X */
  360. X
  361. X#ifndef _XtMenuItemPrivate_h
  362. X#define _XtMenuItemPrivate_h
  363. X
  364. X/***********************************************************************
  365. X *
  366. X * MenuItem Widget Private Data
  367. X *
  368. X ***********************************************************************/
  369. X
  370. X/************************************
  371. X *
  372. X *  Class structure
  373. X *
  374. X ***********************************/
  375. X
  376. X
  377. X   /* New fields for the MenuItem widget class record */
  378. Xtypedef struct _MenuItemClass 
  379. X  {
  380. X    int makes_compiler_happy;  /* not used */
  381. X  } MenuItemClassPart;
  382. X
  383. X   /* Full class record declaration */
  384. Xtypedef struct _MenuItemClassRec {
  385. X    CoreClassPart    core_class;
  386. X    LabelClassPart    label_class;
  387. X    MenuItemClassPart     menuitem_class;
  388. X} MenuItemClassRec;
  389. X
  390. Xextern MenuItemClassRec menuitemClassRec;
  391. X
  392. X/***************************************
  393. X *
  394. X *  Instance (widget) structure 
  395. X *
  396. X **************************************/
  397. X
  398. X    /* New fields for the MenuItem widget record */
  399. Xtypedef struct {
  400. X    Pixmap      gray_pixmap;
  401. X    GC          highlight_GC;
  402. X    GC          erase_highlight_GC;
  403. X    GC          inverse_GC;
  404. X    GC          inverse_text_GC;
  405. X    Dimension   highlight_thickness;
  406. X    XtCallbackList callbacks;
  407. X    Boolean     set;
  408. X    Boolean     highlighted;
  409. X    Boolean     display_set;
  410. X    Boolean     display_highlighted;
  411. X} MenuItemPart;
  412. X
  413. X
  414. X/*    XtEventsPtr eventTable;*/
  415. X
  416. X
  417. X   /* Full widget declaration */
  418. Xtypedef struct _MenuItemRec {
  419. X    CorePart         core;
  420. X    SimplePart         simple;
  421. X    LabelPart         label;
  422. X    MenuItemPart      menuitem;
  423. X} MenuItemRec;
  424. X
  425. X#endif _XtMenuItemPrivate_h
  426. X/* DON'T ADD STUFF AFTER THIS #endif */
  427. X
  428. END_OF_FILE
  429. if test 3018 -ne `wc -c <'xtroff/XtStuff/MenuItemP.h'`; then
  430.     echo shar: \"'xtroff/XtStuff/MenuItemP.h'\" unpacked with wrong size!
  431. fi
  432. # end of 'xtroff/XtStuff/MenuItemP.h'
  433. fi
  434. if test -f 'xtroff/XtStuff/MenuP.h' -a "${1}" != "-c" ; then 
  435.   echo shar: Will not clobber existing file \"'xtroff/XtStuff/MenuP.h'\"
  436. else
  437. echo shar: Extracting \"'xtroff/XtStuff/MenuP.h'\" \(2578 characters\)
  438. sed "s/^X//" >'xtroff/XtStuff/MenuP.h' <<'END_OF_FILE'
  439. X/*
  440. X* $Header: MenuP.h,v 1.2 88/05/31 21:07:52 moraes Exp $
  441. X*/
  442. X
  443. X/*
  444. X * Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
  445. X * 
  446. X *                         All Rights Reserved
  447. X * 
  448. X * Permission to use, copy, modify, and distribute this software and its 
  449. X * documentation for any purpose and without fee is hereby granted, 
  450. X * provided that the above copyright notice appear in all copies and that
  451. X * both that copyright notice and this permission notice appear in 
  452. X * supporting documentation, and that the name of Digital Equipment
  453. X * Corporation not be used in advertising or publicity pertaining to
  454. X * distribution of the software without specific, written prior permission.  
  455. X * 
  456. X * 
  457. X * DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  458. X * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  459. X * DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  460. X * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  461. X * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  462. X * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  463. X * SOFTWARE.
  464. X */
  465. X/* 
  466. X * MenuPrivate.h - Private definitions for Menu widget
  467. X * 
  468. X * Author:       Robert P. Shen
  469. X *               Malcolm Forbes
  470. X *               Digital Equipment Corporation
  471. X *               ESG Systems Engineering
  472. X *
  473. X * Date:         February 1, 1988
  474. X */
  475. X
  476. X#ifndef _MenuP_h
  477. X#define _MenuP_h
  478. X
  479. X#include "Menu.h"
  480. X/***********************************************************************
  481. X *
  482. X * Menu Widget Private Data
  483. X *
  484. X ***********************************************************************/
  485. X
  486. X/* New fields for the Menu widget class record */
  487. Xtypedef struct {
  488. X     int mumble;   /* No new procedures */
  489. X} MenuClassPart;
  490. X
  491. X/* Full class record declaration */
  492. Xtypedef struct _MenuClassRec {
  493. X    CoreClassPart    core_class;
  494. X    CompositeClassPart  composite_class;
  495. X    MenuClassPart    menu_class;
  496. X} MenuClassRec;
  497. X
  498. Xextern MenuClassRec menuClassRec;
  499. X
  500. X/* New fields for the Menu widget record */
  501. Xtypedef struct {
  502. X    Dimension   x_margin, y_margin;
  503. X    XtOrientation orient;
  504. X    MenuItems    items;
  505. X    Pixel       menu_foreground_pixel, check_foreground_pixel;
  506. X} MenuPart;
  507. X
  508. X
  509. X/****************************************************************
  510. X *
  511. X * Full instance record declaration
  512. X *
  513. X ****************************************************************/
  514. X
  515. Xtypedef struct _MenuRec {
  516. X    CorePart        core;
  517. X    CompositePart    composite;
  518. X    MenuPart        menu;
  519. X} MenuRec;
  520. X#endif _MenuP_h
  521. X/* DON'T ADD STUFF AFTER THIS #endif */
  522. X
  523. X
  524. X
  525. X
  526. X
  527. X
  528. X
  529. X
  530. X
  531. X
  532. X
  533. X
  534. X
  535. X
  536. END_OF_FILE
  537. if test 2578 -ne `wc -c <'xtroff/XtStuff/MenuP.h'`; then
  538.     echo shar: \"'xtroff/XtStuff/MenuP.h'\" unpacked with wrong size!
  539. fi
  540. # end of 'xtroff/XtStuff/MenuP.h'
  541. fi
  542. if test -f 'xtroff/XtStuff/MinibufP.h' -a "${1}" != "-c" ; then 
  543.   echo shar: Will not clobber existing file \"'xtroff/XtStuff/MinibufP.h'\"
  544. else
  545. echo shar: Extracting \"'xtroff/XtStuff/MinibufP.h'\" \(2123 characters\)
  546. sed "s/^X//" >'xtroff/XtStuff/MinibufP.h' <<'END_OF_FILE'
  547. X/* 
  548. X * MinibufP.h - Private definitions for Minibuf widget
  549. X * 
  550. X */
  551. X
  552. X#ifndef _XtMinibufP_h
  553. X#define _XtMinibufP_h
  554. X
  555. X/***********************************************************************
  556. X *
  557. X * Minibuf Widget Private Data
  558. X *
  559. X ***********************************************************************/
  560. X
  561. X#include "Minibuf.h"
  562. X
  563. X/* New fields for the Minibuf widget class record */
  564. X
  565. Xtypedef struct {int foo;} MinibufClassPart;
  566. X
  567. X/* Full class record declaration */
  568. Xtypedef struct _MinibufClassRec {
  569. X    CoreClassPart        core_class;
  570. X    MinibufClassPart    minibuf_class;
  571. X} MinibufClassRec;
  572. X
  573. Xextern MinibufClassRec minibufClassRec;
  574. X
  575. X/* New fields for the Minibuf widget record */
  576. Xtypedef struct {
  577. X    /* resources */
  578. X    Pixel        foreground;
  579. X    XFontStruct    *finfo;
  580. X    Cursor        cursor;
  581. X    Widget        typeout;
  582. X
  583. X    /* Callback stuff */
  584. X    XtCallbackList finishedCallback;/* 
  585. X                                     *  Invoked on "newline" event
  586. X                                     *  (usually ^M) or "abort" event
  587. X                                     *  (usually ^G)
  588. X                                     */
  589. X
  590. X    /* private state */
  591. X    GC            normal_gc;
  592. X    GC          invert_gc;
  593. X    int cursorX;            /* Physical position of cursor in window */
  594. X
  595. X    /* Logical info */
  596. X    char *string;            /* Actual buffer */
  597. X    int startPos;            /* First character of string displayed in window */
  598. X    int cursorPos;            /* Position of the cursor in the buffer */
  599. X    int mark;
  600. X    char *killBuffer;
  601. X    int killBufferLen;
  602. X    int killBufferSize;
  603. X    int size;                /* Size of the string buffer */
  604. X    int len;                /* Actual length of the string */
  605. X    int cols;                /* Width of buffer in columns */
  606. X    int promptLen;            /* First promptLen chars of string are 
  607. X                               non-editable prompt */
  608. X    int arg;                /* Universal argument */
  609. X    int typeoutColumns;        /* Number of columns in the typeout window */
  610. X    int inputMode;            /* True, if we are in input mode */
  611. X    int cursorOn;            /* Records the state of the cursor */
  612. X    int completion;            /* Are we doing completion */
  613. X} MinibufPart;
  614. X
  615. X
  616. X/****************************************************************
  617. X *
  618. X * Full instance record declaration
  619. X *
  620. X ****************************************************************/
  621. X
  622. Xtypedef struct _MinibufRec {
  623. X    CorePart    core;
  624. X    MinibufPart    minibuf;
  625. X} MinibufRec;
  626. X
  627. X#endif _XtMinibufP_h
  628. END_OF_FILE
  629. if test 2123 -ne `wc -c <'xtroff/XtStuff/MinibufP.h'`; then
  630.     echo shar: \"'xtroff/XtStuff/MinibufP.h'\" unpacked with wrong size!
  631. fi
  632. # end of 'xtroff/XtStuff/MinibufP.h'
  633. fi
  634. if test -f 'xtroff/XtStuff/README.Menu' -a "${1}" != "-c" ; then 
  635.   echo shar: Will not clobber existing file \"'xtroff/XtStuff/README.Menu'\"
  636. else
  637. echo shar: Extracting \"'xtroff/XtStuff/README.Menu'\" \(1984 characters\)
  638. sed "s/^X//" >'xtroff/XtStuff/README.Menu' <<'END_OF_FILE'
  639. XMenu Widget
  640. X
  641. XTo create a menu widget, the application first builds a table of the menu
  642. Xitems to be used to construct the menu. This table is passed to the Menu
  643. XWidget at the menu creation time. Each menu item in the table conveys four
  644. Xpieces of information and has the following structure:
  645. X
  646. X   {String text; XtCallback proc; caddr_t closure; Boolean flags}
  647. X
  648. X    Where text     : the text string to be displayed for this menu item.
  649. X          proc    : the callback procedure associated with this item.
  650. X          closure    : the closure to be returned by this item's callback
  651. X              procedure.
  652. X          flags    : the flag indicates the sensitivity and check states
  653. X              of this item. For simple applications, just pass NULL
  654. X              here. The format of this field will be explained later.
  655. X
  656. XFor example, the following segment of C program shows how to build a simple
  657. Xmenu of three menu items.
  658. X/****************************************************************************/
  659. X...
  660. X
  661. Xvoid procedure_a (widget, closure, call_data)
  662. X { 
  663. X    ...
  664. X }
  665. X
  666. Xvoid procedure_b (widget, closure, call_data)
  667. X{
  668. X    ...
  669. X}
  670. X
  671. Xstatic MenuItemsList menu_list [] = {
  672. X    {"menu item 1", procedure_a, 1, NULL},
  673. X    {"menu item 2", procedure_a, 2, NULL},
  674. X    {"menu item 3", procedure_b, 1, NULL},
  675. X    {NULL, NULL, NULL, NLL}
  676. X    };
  677. X
  678. X    {XtNmenuItemsList, (XtArgVal) menu_list}
  679. X    };
  680. X
  681. X...
  682. X
  683. Xmenu = XtCreateManagedWidget("my_menu", menuWidgetClass, parent_widget,
  684. X             (ArgList) args, XtNumber(args));
  685. X/****************************************************************************/
  686. X
  687. XThe following new fields are created for the Menu Widget Part and are accessible
  688. Xto the application
  689. XName            Type        Default          Description
  690. X
  691. XXtNorientation        XtOrientation    XtorientVertical  Row/Column layout
  692. XXtNxMargin        Dimension    0          x margin between items
  693. XXtNyMargin        Dimension    0          y margin between items
  694. XXtNmenuForeground    Pixel        Black          color for menu item
  695. XXtNcheckForeground    Pixel        Black          color for check item
  696. X_______________________________________________________________________________
  697. END_OF_FILE
  698. if test 1984 -ne `wc -c <'xtroff/XtStuff/README.Menu'`; then
  699.     echo shar: \"'xtroff/XtStuff/README.Menu'\" unpacked with wrong size!
  700. fi
  701. # end of 'xtroff/XtStuff/README.Menu'
  702. fi
  703. if test -f 'xtroff/XtStuff/Window.c' -a "${1}" != "-c" ; then 
  704.   echo shar: Will not clobber existing file \"'xtroff/XtStuff/Window.c'\"
  705. else
  706. echo shar: Extracting \"'xtroff/XtStuff/Window.c'\" \(3443 characters\)
  707. sed "s/^X//" >'xtroff/XtStuff/Window.c' <<'END_OF_FILE'
  708. X#ifndef lint
  709. Xstatic char rcsid[] = "$Header: Window.c,v 1.2 89/04/21 03:30:12 xwindows Exp $";
  710. X#endif lint
  711. X
  712. X/*
  713. X * Window.c - Window widget
  714. X *
  715. X * Author:      Chris Peterson
  716. X *              M.I.T.  
  717. X *              Bldg. E40 - Project Athena
  718. X *              77 Massachussets Ave.
  719. X *              Cambridge, MA 02139
  720. X * 
  721. X * Date:        Tue Oct 27 1987
  722. X *
  723. X * Based upon the label widget by Charles Haynes.
  724. X */
  725. X
  726. X/* 
  727. X *  This is the window widget, its purpose is to allow windows to be
  728. X *  used with the toolkit.  I has a foreground color, as core does not
  729. X *  and it is best if this resource is owned by the widget.
  730. X *  It will also add a pixmap to the background of your window.
  731. X *
  732. X *                                Chris Peterson - 2/9/88
  733. X */
  734. X
  735. X#include <X11/IntrinsicP.h>
  736. X#include "Window.h"
  737. X#include "WindowP.h"
  738. X#include <X11/StringDefs.h>
  739. X
  740. X/****************************************************************
  741. X *
  742. X * Full class record constant
  743. X *
  744. X ****************************************************************/
  745. X
  746. X/* Private Data */
  747. X
  748. Xstatic XtResource resources[] = {
  749. X    {XtNpixmap, XtCpixmap, XtRString, sizeof(caddr_t),
  750. X       XtOffset(WindowWidget, window.pixmap), XtRString, (caddr_t) NULL},
  751. X    {XtNforeground, XtCForeground, XtRPixel, sizeof(Pixel),
  752. X       XtOffset(WindowWidget, window.foreground), XtRString, "Black"},
  753. X};
  754. X
  755. Xstatic void Realize();
  756. X
  757. XWindowClassRec windowClassRec = {
  758. X  {
  759. X/* core_class fields */    
  760. X    /* superclass         */    (WidgetClass) &widgetClassRec,
  761. X    /* class_name         */    "Window",
  762. X    /* widget_size        */    sizeof(WindowRec),
  763. X    /* class_initialize   */    NULL,
  764. X    /* class_part_init    */    NULL,
  765. X    /* class_inited       */    FALSE,
  766. X    /* initialize         */    NULL,
  767. X    /* initialize_hook    */    NULL,
  768. X    /* realize            */    Realize,
  769. X    /* actions            */    NULL,
  770. X    /* num_actions      */    0,
  771. X    /* resources          */    resources,
  772. X    /* num_resources      */    XtNumber(resources),
  773. X    /* xrm_class          */    NULLQUARK,
  774. X    /* compress_motion      */    TRUE,
  775. X    /* compress_exposure  */    TRUE,
  776. X    /* compress_enterleave*/    TRUE,
  777. X    /* visible_interest   */    FALSE,
  778. X    /* destroy            */    NULL,
  779. X    /* resize             */    NULL,
  780. X    /* expose             */    NULL,
  781. X    /* set_values         */    NULL,
  782. X    /* set_values_hook    */    NULL,
  783. X    /* set_values_almost  */    XtInheritSetValuesAlmost,
  784. X    /* get_values_hook    */    NULL,
  785. X    /* accept_focus       */    NULL,
  786. X    /* version            */    XtVersion,
  787. X    /* callback_private   */    NULL,
  788. X    /* tm_table           */    NULL,
  789. X    /* query_geometry     */    NULL,
  790. X#ifdef XtCAccelerators
  791. X    /* display_accelerator*/    XtInheritDisplayAccelerator,
  792. X    /* extension          */    NULL
  793. X#endif /* XtCAccelerators */
  794. X  }
  795. X};
  796. X
  797. XWidgetClass windowWidgetClass = (WidgetClass)&windowClassRec;
  798. X
  799. X/****************************************************************
  800. X *
  801. X * Private Procedures
  802. X *
  803. X ****************************************************************/
  804. X
  805. Xstatic void Realize(w, valueMask, attributes)
  806. X    register Widget w;
  807. X    Mask *valueMask;
  808. X    XSetWindowAttributes *attributes;
  809. X{
  810. X  WindowWidget lw = (WindowWidget)w;
  811. X  if (lw->window.pixmap != NULL) {
  812. X    *valueMask |= CWBackPixmap;
  813. X    *valueMask &= ~CWBackPixel;
  814. X    attributes->background_pixmap = lw->window.pixmap;
  815. X  }
  816. X
  817. X  XtCreateWindow(w, (Cardinal) InputOutput, (Visual *)CopyFromParent,
  818. X         *valueMask, attributes);
  819. X} /* Realize */
  820. END_OF_FILE
  821. if test 3443 -ne `wc -c <'xtroff/XtStuff/Window.c'`; then
  822.     echo shar: \"'xtroff/XtStuff/Window.c'\" unpacked with wrong size!
  823. fi
  824. # end of 'xtroff/XtStuff/Window.c'
  825. fi
  826. if test -f 'xtroff/bitmaps/ditroff.bm' -a "${1}" != "-c" ; then 
  827.   echo shar: Will not clobber existing file \"'xtroff/bitmaps/ditroff.bm'\"
  828. else
  829. echo shar: Extracting \"'xtroff/bitmaps/ditroff.bm'\" \(3369 characters\)
  830. sed "s/^X//" >'xtroff/bitmaps/ditroff.bm' <<'END_OF_FILE'
  831. X#define ditroff_width 64
  832. X#define ditroff_height 64
  833. Xstatic char ditroff_bits[] = {
  834. X    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 
  835. X    0xff, 0xff, 0x01, 0x00, 0x00, 0x01, 0x00, 0x00, 0xf0, 0x3f, 0x01, 0x00, 
  836. X    0x00, 0x01, 0x88, 0x88, 0x0c, 0xc0, 0x01, 0x00, 0x00, 0x01, 0x10, 0x11, 
  837. X    0x83, 0x03, 0x07, 0x00, 0x00, 0x01, 0x44, 0xc4, 0x80, 0x03, 0x18, 0x00, 
  838. X    0x00, 0x01, 0x20, 0x22, 0x80, 0x03, 0x20, 0x00, 0x00, 0x01, 0x00, 0x18, 
  839. X    0xc0, 0x07, 0xc0, 0x00, 0x00, 0x01, 0x00, 0x04, 0xc0, 0x07, 0x00, 0x01, 
  840. X    0x00, 0x41, 0x44, 0x06, 0xc0, 0x07, 0x00, 0x02, 0x00, 0x21, 0x22, 0x02, 
  841. X    0xe0, 0x0f, 0x00, 0x02, 0x00, 0x89, 0x88, 0x01, 0xe0, 0x0f, 0x00, 0x04, 
  842. X    0x00, 0x11, 0x91, 0x01, 0xf0, 0x1f, 0x00, 0x08, 0x00, 0x01, 0xc0, 0x00, 
  843. X    0x30, 0x1f, 0x00, 0x08, 0x00, 0x01, 0x62, 0x00, 0x30, 0x1f, 0x00, 0x10, 
  844. X    0x00, 0x89, 0x48, 0x00, 0x38, 0x3f, 0x00, 0x10, 0x00, 0x11, 0x31, 0x00, 
  845. X    0x18, 0x3e, 0x00, 0x20, 0x00, 0x41, 0x24, 0x00, 0x1c, 0x7e, 0x00, 0x20, 
  846. X    0x00, 0x21, 0x22, 0x00, 0x0c, 0x7c, 0x00, 0x20, 0x00, 0x01, 0x10, 0x00, 
  847. X    0x0c, 0x7c, 0x00, 0x40, 0x00, 0x01, 0x10, 0x00, 0x0e, 0xfc, 0x00, 0x40, 
  848. X    0x00, 0x41, 0x14, 0x00, 0x06, 0xf8, 0x00, 0x40, 0x00, 0x21, 0x12, 0x00, 
  849. X    0xff, 0xff, 0x01, 0x40, 0x00, 0x89, 0x18, 0x00, 0xff, 0xff, 0x01, 0x40, 
  850. X    0x00, 0x11, 0x11, 0x00, 0x03, 0xf0, 0x01, 0x40, 0x00, 0x41, 0x10, 0x80, 
  851. X    0x03, 0xf0, 0x03, 0x40, 0x00, 0x01, 0x10, 0x80, 0x01, 0xe0, 0x03, 0x40, 
  852. X    0x00, 0x89, 0x18, 0x80, 0x01, 0xe0, 0x03, 0x40, 0x00, 0x11, 0x31, 0xc0, 
  853. X    0x01, 0xe0, 0x07, 0x20, 0x00, 0x41, 0x24, 0xc0, 0x00, 0xc0, 0x07, 0x20, 
  854. X    0x00, 0x21, 0x22, 0xf0, 0x00, 0xc0, 0x0f, 0x20, 0x00, 0x01, 0x40, 0xfe, 
  855. X    0x07, 0xf8, 0xff, 0x10, 0x00, 0x11, 0x51, 0xfe, 0x07, 0xf8, 0xff, 0x10, 
  856. X    0x00, 0x41, 0xc4, 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x21, 0xa2, 0x00, 
  857. X    0x00, 0x00, 0x00, 0x38, 0x00, 0x89, 0x88, 0x01, 0x00, 0x00, 0x00, 0x7c, 
  858. X    0x00, 0x11, 0x11, 0x03, 0x00, 0x00, 0x00, 0xfe, 0x00, 0x01, 0x00, 0x06, 
  859. X    0x00, 0x00, 0x00, 0xfe, 0x00, 0x21, 0x02, 0x06, 0x00, 0x00, 0x00, 0xff, 
  860. X    0x00, 0x89, 0x88, 0x18, 0x00, 0x00, 0xc0, 0xff, 0x00, 0x11, 0x11, 0x31, 
  861. X    0x00, 0x00, 0xe0, 0xff, 0x00, 0x41, 0x44, 0xc0, 0x00, 0x00, 0xf8, 0xff, 
  862. X    0x00, 0x01, 0x00, 0x00, 0x03, 0x00, 0xff, 0xff, 0x00, 0x09, 0x88, 0x88, 
  863. X    0x1c, 0xc0, 0xf1, 0xff, 0x00, 0x11, 0x11, 0x11, 0xf1, 0x3f, 0xe1, 0xff, 
  864. X    0x00, 0x41, 0x44, 0x44, 0x44, 0x04, 0x81, 0xff, 0x00, 0x21, 0x02, 0x22, 
  865. X    0x20, 0x22, 0x01, 0xff, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x01, 0xfe, 
  866. X    0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x01, 0xf8, 0x00, 0xff, 0xff, 0xff, 
  867. X    0xff, 0xff, 0x01, 0xf0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 
  868. X    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x07, 0x02, 0x01, 
  869. X    0x00, 0xc0, 0x60, 0x00, 0x00, 0x09, 0x00, 0x01, 0x00, 0x20, 0x10, 0x00, 
  870. X    0x00, 0x91, 0xc3, 0xa7, 0xe1, 0x20, 0x10, 0x00, 0x00, 0x11, 0x02, 0x61, 
  871. X    0x12, 0xf9, 0x7c, 0x00, 0x00, 0x11, 0x02, 0x21, 0x10, 0x21, 0x10, 0x00, 
  872. X    0x00, 0x11, 0x02, 0x21, 0x10, 0x21, 0x10, 0x00, 0x00, 0x11, 0x02, 0x21, 
  873. X    0x10, 0x21, 0x10, 0x00, 0x00, 0x09, 0x02, 0x21, 0x10, 0x21, 0x10, 0x00, 
  874. X    0x00, 0x07, 0x02, 0x26, 0xe0, 0x20, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 
  875. X    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
  876. X    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
  877. END_OF_FILE
  878. if test 3369 -ne `wc -c <'xtroff/bitmaps/ditroff.bm'`; then
  879.     echo shar: \"'xtroff/bitmaps/ditroff.bm'\" unpacked with wrong size!
  880. fi
  881. # end of 'xtroff/bitmaps/ditroff.bm'
  882. fi
  883. if test -f 'xtroff/devpsc/README.char' -a "${1}" != "-c" ; then 
  884.   echo shar: Will not clobber existing file \"'xtroff/devpsc/README.char'\"
  885. else
  886. echo shar: Extracting \"'xtroff/devpsc/README.char'\" \(2665 characters\)
  887. sed "s/^X//" >'xtroff/devpsc/README.char' <<'END_OF_FILE'
  888. Xlocal/fonts/bdf/75dpi/devpsc/R        89/01/01.  d. a. cahlander
  889. XNeWS collating sequence
  890. X    32-127 ascii characters
  891. X    128-159 installation dependant
  892. X    160-255 PostScript sequence
  893. X    256-319 ISO Latin 1 sequence
  894. X    320-511 installation dependant
  895. X
  896. X32 space
  897. X33 exclam
  898. X34 quotedbl
  899. X35 numbersign
  900. X36 dollar
  901. X37 percent
  902. X38 ampersand
  903. X39 quoteright
  904. X40 parenleft
  905. X41 parenright
  906. X42 asterisk
  907. X43 plus
  908. X44 comma
  909. X45 hyphen
  910. X46 period
  911. X47 slash
  912. X48 zero
  913. X49 one
  914. X50 two
  915. X51 three
  916. X52 four
  917. X53 five
  918. X54 six
  919. X55 seven
  920. X56 eight
  921. X57 nine
  922. X58 colon
  923. X59 semicolon
  924. X60 less
  925. X61 equal
  926. X62 greater
  927. X63 question
  928. X64 at
  929. X65 A
  930. X66 B
  931. X67 C
  932. X68 D
  933. X69 E
  934. X70 F
  935. X71 G
  936. X72 H
  937. X73 I
  938. X74 J
  939. X75 K
  940. X76 L
  941. X77 M
  942. X78 N
  943. X79 O
  944. X80 P
  945. X81 Q
  946. X82 R
  947. X83 S
  948. X84 T
  949. X85 U
  950. X86 V
  951. X87 W
  952. X88 X
  953. X89 Y
  954. X90 Z
  955. X91 bracketleft
  956. X92 backslash
  957. X93 bracketright
  958. X94 asciicircum
  959. X95 underscore
  960. X96 quoteleft
  961. X97 a
  962. X98 b
  963. X99 c
  964. X100 d
  965. X101 e
  966. X102 f
  967. X103 g
  968. X104 h
  969. X105 i
  970. X106 j
  971. X107 k
  972. X108 l
  973. X109 m
  974. X110 n
  975. X111 o
  976. X112 p
  977. X113 q
  978. X114 r
  979. X115 s
  980. X116 t
  981. X117 u
  982. X118 v
  983. X119 w
  984. X120 x
  985. X121 y
  986. X122 z
  987. X123 braceleft
  988. X124 bar
  989. X125 braceright
  990. X126 asciitilde
  991. X129 onequarter
  992. X130 onehalf
  993. X131 threequarters
  994. X161 exclamdown
  995. X162 cent
  996. X163 sterling
  997. X164 fraction
  998. X165 yen
  999. X166 florin
  1000. X167 section
  1001. X168 currency
  1002. X169 quotesingle
  1003. X170 quotedblleft
  1004. X171 guillemotleft
  1005. X172 guilsinglleft
  1006. X173 guilsinglright
  1007. X174 fi
  1008. X175 fl
  1009. X177 endash
  1010. X178 dagger
  1011. X179 daggerdbl
  1012. X180 periodcentered
  1013. X182 paragraph
  1014. X183 bullet
  1015. X184 quotesinglbase
  1016. X185 quotedblbase
  1017. X186 quotedblright
  1018. X187 guillemotright
  1019. X188 ellipsis
  1020. X189 perthousand
  1021. X191 questiondown
  1022. X193 grave
  1023. X194 acute
  1024. X195 circumflex
  1025. X196 tilde
  1026. X197 macron
  1027. X198 breve
  1028. X199 dotaccent
  1029. X200 dieresis
  1030. X202 ring
  1031. X203 cedilla
  1032. X205 hungarumlaut
  1033. X206 ogonek
  1034. X207 caron
  1035. X208 emdash
  1036. X225 AE
  1037. X227 ordfeminine
  1038. X232 Lslash
  1039. X233 Oslash
  1040. X234 OE
  1041. X235 ordmasculine
  1042. X241 ae
  1043. X245 dotlessi
  1044. X248 lslash
  1045. X249 oslash
  1046. X250 oe
  1047. X251 germandbls
  1048. X256 Aacute
  1049. X257 Acircumflex
  1050. X258 Adieresis
  1051. X259 Agrave
  1052. X260 Aring
  1053. X261 Atilde
  1054. X262 Ccedilla
  1055. X263 Eacute
  1056. X264 Ecircumflex
  1057. X265 Edieresis
  1058. X266 Egrave
  1059. X267 Iacute
  1060. X268 Icircumflex
  1061. X269 Idieresis
  1062. X270 Igrave
  1063. X271 Ntilde
  1064. X272 Oacute
  1065. X273 Ocircumflex
  1066. X274 Odieresis
  1067. X275 Ograve
  1068. X276 Otilde
  1069. X277 Scaron
  1070. X278 Uacute
  1071. X279 Ucircumflex
  1072. X280 Udieresis
  1073. X281 Ugrave
  1074. X282 Ydieresis
  1075. X283 Zcaron
  1076. X284 aacute
  1077. X285 acircumflex
  1078. X286 adieresis
  1079. X287 agrave
  1080. X288 aring
  1081. X289 atilde
  1082. X290 ccedilla
  1083. X291 eacute
  1084. X292 ecircumflex
  1085. X293 edieresis
  1086. X294 egrave
  1087. X295 iacute
  1088. X296 icircumflex
  1089. X297 idieresis
  1090. X298 igrave
  1091. X299 ntilde
  1092. X300 oacute
  1093. X301 ocircumflex
  1094. X302 odieresis
  1095. X303 ograve
  1096. X304 otilde
  1097. X305 scaron
  1098. X306 uacute
  1099. X307 ucircumflex
  1100. X308 udieresis
  1101. X309 ugrave
  1102. X310 ydieresis
  1103. X311 zcaron
  1104. X320 Eth
  1105. X321 Thorn
  1106. X322 Yacute
  1107. X323 brokenbar
  1108. X324 copyright
  1109. X325 degree
  1110. X326 divide
  1111. X327 eth
  1112. X328 logicalnot
  1113. X329 minus
  1114. X330 mu
  1115. X331 multiply
  1116. X332 onesuperior
  1117. X333 plusminus
  1118. X334 registered
  1119. X335 thorn
  1120. X336 threesuperior
  1121. X337 trademark
  1122. X338 twosuperior
  1123. X339 yacute
  1124. END_OF_FILE
  1125. if test 2665 -ne `wc -c <'xtroff/devpsc/README.char'`; then
  1126.     echo shar: \"'xtroff/devpsc/README.char'\" unpacked with wrong size!
  1127. fi
  1128. # end of 'xtroff/devpsc/README.char'
  1129. fi
  1130. if test -f 'xtroff/devpsc/README.note' -a "${1}" != "-c" ; then 
  1131.   echo shar: Will not clobber existing file \"'xtroff/devpsc/README.note'\"
  1132. else
  1133. echo shar: Extracting \"'xtroff/devpsc/README.note'\" \(2665 characters\)
  1134. sed "s/^X//" >'xtroff/devpsc/README.note' <<'END_OF_FILE'
  1135. Xlocal/fonts/bdf/75dpi/devpsc/R        89/01/01.  d. a. cahlander
  1136. XNeWS collating sequence
  1137. X    32-127 ascii characters
  1138. X    128-159 installation dependant
  1139. X    160-255 PostScript sequence
  1140. X    256-319 ISO Latin 1 sequence
  1141. X    320-511 installation dependant
  1142. X
  1143. X32 space
  1144. X33 exclam
  1145. X34 quotedbl
  1146. X35 numbersign
  1147. X36 dollar
  1148. X37 percent
  1149. X38 ampersand
  1150. X39 quoteright
  1151. X40 parenleft
  1152. X41 parenright
  1153. X42 asterisk
  1154. X43 plus
  1155. X44 comma
  1156. X45 hyphen
  1157. X46 period
  1158. X47 slash
  1159. X48 zero
  1160. X49 one
  1161. X50 two
  1162. X51 three
  1163. X52 four
  1164. X53 five
  1165. X54 six
  1166. X55 seven
  1167. X56 eight
  1168. X57 nine
  1169. X58 colon
  1170. X59 semicolon
  1171. X60 less
  1172. X61 equal
  1173. X62 greater
  1174. X63 question
  1175. X64 at
  1176. X65 A
  1177. X66 B
  1178. X67 C
  1179. X68 D
  1180. X69 E
  1181. X70 F
  1182. X71 G
  1183. X72 H
  1184. X73 I
  1185. X74 J
  1186. X75 K
  1187. X76 L
  1188. X77 M
  1189. X78 N
  1190. X79 O
  1191. X80 P
  1192. X81 Q
  1193. X82 R
  1194. X83 S
  1195. X84 T
  1196. X85 U
  1197. X86 V
  1198. X87 W
  1199. X88 X
  1200. X89 Y
  1201. X90 Z
  1202. X91 bracketleft
  1203. X92 backslash
  1204. X93 bracketright
  1205. X94 asciicircum
  1206. X95 underscore
  1207. X96 quoteleft
  1208. X97 a
  1209. X98 b
  1210. X99 c
  1211. X100 d
  1212. X101 e
  1213. X102 f
  1214. X103 g
  1215. X104 h
  1216. X105 i
  1217. X106 j
  1218. X107 k
  1219. X108 l
  1220. X109 m
  1221. X110 n
  1222. X111 o
  1223. X112 p
  1224. X113 q
  1225. X114 r
  1226. X115 s
  1227. X116 t
  1228. X117 u
  1229. X118 v
  1230. X119 w
  1231. X120 x
  1232. X121 y
  1233. X122 z
  1234. X123 braceleft
  1235. X124 bar
  1236. X125 braceright
  1237. X126 asciitilde
  1238. X129 onequarter
  1239. X130 onehalf
  1240. X131 threequarters
  1241. X161 exclamdown
  1242. X162 cent
  1243. X163 sterling
  1244. X164 fraction
  1245. X165 yen
  1246. X166 florin
  1247. X167 section
  1248. X168 currency
  1249. X169 quotesingle
  1250. X170 quotedblleft
  1251. X171 guillemotleft
  1252. X172 guilsinglleft
  1253. X173 guilsinglright
  1254. X174 fi
  1255. X175 fl
  1256. X177 endash
  1257. X178 dagger
  1258. X179 daggerdbl
  1259. X180 periodcentered
  1260. X182 paragraph
  1261. X183 bullet
  1262. X184 quotesinglbase
  1263. X185 quotedblbase
  1264. X186 quotedblright
  1265. X187 guillemotright
  1266. X188 ellipsis
  1267. X189 perthousand
  1268. X191 questiondown
  1269. X193 grave
  1270. X194 acute
  1271. X195 circumflex
  1272. X196 tilde
  1273. X197 macron
  1274. X198 breve
  1275. X199 dotaccent
  1276. X200 dieresis
  1277. X202 ring
  1278. X203 cedilla
  1279. X205 hungarumlaut
  1280. X206 ogonek
  1281. X207 caron
  1282. X208 emdash
  1283. X225 AE
  1284. X227 ordfeminine
  1285. X232 Lslash
  1286. X233 Oslash
  1287. X234 OE
  1288. X235 ordmasculine
  1289. X241 ae
  1290. X245 dotlessi
  1291. X248 lslash
  1292. X249 oslash
  1293. X250 oe
  1294. X251 germandbls
  1295. X256 Aacute
  1296. X257 Acircumflex
  1297. X258 Adieresis
  1298. X259 Agrave
  1299. X260 Aring
  1300. X261 Atilde
  1301. X262 Ccedilla
  1302. X263 Eacute
  1303. X264 Ecircumflex
  1304. X265 Edieresis
  1305. X266 Egrave
  1306. X267 Iacute
  1307. X268 Icircumflex
  1308. X269 Idieresis
  1309. X270 Igrave
  1310. X271 Ntilde
  1311. X272 Oacute
  1312. X273 Ocircumflex
  1313. X274 Odieresis
  1314. X275 Ograve
  1315. X276 Otilde
  1316. X277 Scaron
  1317. X278 Uacute
  1318. X279 Ucircumflex
  1319. X280 Udieresis
  1320. X281 Ugrave
  1321. X282 Ydieresis
  1322. X283 Zcaron
  1323. X284 aacute
  1324. X285 acircumflex
  1325. X286 adieresis
  1326. X287 agrave
  1327. X288 aring
  1328. X289 atilde
  1329. X290 ccedilla
  1330. X291 eacute
  1331. X292 ecircumflex
  1332. X293 edieresis
  1333. X294 egrave
  1334. X295 iacute
  1335. X296 icircumflex
  1336. X297 idieresis
  1337. X298 igrave
  1338. X299 ntilde
  1339. X300 oacute
  1340. X301 ocircumflex
  1341. X302 odieresis
  1342. X303 ograve
  1343. X304 otilde
  1344. X305 scaron
  1345. X306 uacute
  1346. X307 ucircumflex
  1347. X308 udieresis
  1348. X309 ugrave
  1349. X310 ydieresis
  1350. X311 zcaron
  1351. X320 Eth
  1352. X321 Thorn
  1353. X322 Yacute
  1354. X323 brokenbar
  1355. X324 copyright
  1356. X325 degree
  1357. X326 divide
  1358. X327 eth
  1359. X328 logicalnot
  1360. X329 minus
  1361. X330 mu
  1362. X331 multiply
  1363. X332 onesuperior
  1364. X333 plusminus
  1365. X334 registered
  1366. X335 thorn
  1367. X336 threesuperior
  1368. X337 trademark
  1369. X338 twosuperior
  1370. X339 yacute
  1371. END_OF_FILE
  1372. if test 2665 -ne `wc -c <'xtroff/devpsc/README.note'`; then
  1373.     echo shar: \"'xtroff/devpsc/README.note'\" unpacked with wrong size!
  1374. fi
  1375. # end of 'xtroff/devpsc/README.note'
  1376. fi
  1377. if test -f 'xtroff/devpsc/S.aux' -a "${1}" != "-c" ; then 
  1378.   echo shar: Will not clobber existing file \"'xtroff/devpsc/S.aux'\"
  1379. else
  1380. echo shar: Extracting \"'xtroff/devpsc/S.aux'\" \(1977 characters\)
  1381. sed "s/^X//" >'xtroff/devpsc/S.aux' <<'END_OF_FILE'
  1382. X33 333 0
  1383. X34 713 0
  1384. X35 500 0
  1385. X36 549 0
  1386. X37 833 0
  1387. X38 778 0
  1388. X39 439 0
  1389. X40 333 0
  1390. X41 333 0
  1391. X42 500 0
  1392. X43 549 0
  1393. X44 250 0
  1394. X45 549 0
  1395. X46 250 0
  1396. X47 278 0
  1397. X48 500 0
  1398. X49 500 0
  1399. X50 500 0
  1400. X51 500 0
  1401. X52 500 0
  1402. X53 500 0
  1403. X54 500 0
  1404. X55 500 0
  1405. X56 500 0
  1406. X57 500 0
  1407. X58 278 0
  1408. X59 278 0
  1409. X60 549 0
  1410. X61 549 0
  1411. X62 549 0
  1412. X63 444 0
  1413. X64 549 0
  1414. X65 722 0
  1415. X66 667 0
  1416. X67 722 0
  1417. X68 612 0
  1418. X69 611 0
  1419. X70 763 0
  1420. X71 603 0
  1421. X72 722 0
  1422. X73 333 0
  1423. X74 631 0
  1424. X75 722 0
  1425. X76 686 0
  1426. X77 889 0
  1427. X78 722 0
  1428. X79 722 0
  1429. X80 768 0
  1430. X81 741 0
  1431. X82 556 0
  1432. X83 592 0
  1433. X84 611 0
  1434. X85 690 0
  1435. X86 439 0
  1436. X87 768 0
  1437. X88 645 0
  1438. X89 795 0
  1439. X90 611 0
  1440. X91 333 0
  1441. X92 863 0
  1442. X93 333 0
  1443. X94 658 0
  1444. X95 500 0
  1445. X96 500 0
  1446. X97 631 0
  1447. X98 549 0
  1448. X99 549 0
  1449. X100 494 0
  1450. X101 439 0
  1451. X102 521 0
  1452. X103 411 0
  1453. X104 603 0
  1454. X105 329 0
  1455. X106 603 0
  1456. X107 549 0
  1457. X108 549 0
  1458. X109 576 0
  1459. X110 521 0
  1460. X111 549 0
  1461. X112 549 0
  1462. X113 521 0
  1463. X114 549 0
  1464. X115 603 0
  1465. X116 439 0
  1466. X117 576 0
  1467. X118 713 0
  1468. X119 686 0
  1469. X120 493 0
  1470. X121 686 0
  1471. X122 494 0
  1472. X123 480 0
  1473. X124 200 0
  1474. X125 480 0
  1475. X126 549 0
  1476. X161 620 0
  1477. X162 247 0
  1478. X163 549 0
  1479. X164 167 0
  1480. X165 713 0
  1481. X166 500 0
  1482. X167 753 0
  1483. X168 753 0
  1484. X169 753 0
  1485. X170 753 0
  1486. X171 1042 0
  1487. X172 987 0
  1488. X173 603 0
  1489. X174 987 0
  1490. X175 603 0
  1491. X176 400 0
  1492. X177 549 0
  1493. X178 411 0
  1494. X179 549 0
  1495. X180 549 0
  1496. X181 713 0
  1497. X182 494 0
  1498. X183 460 0
  1499. X184 549 0
  1500. X185 549 0
  1501. X186 549 0
  1502. X187 549 0
  1503. X188 1000 0
  1504. X189 603 0
  1505. X190 1000 0
  1506. X191 658 0
  1507. X192 823 0
  1508. X193 686 0
  1509. X194 795 0
  1510. X195 987 0
  1511. X196 768 0
  1512. X197 768 0
  1513. X198 823 0
  1514. X199 768 0
  1515. X200 768 0
  1516. X201 713 0
  1517. X202 713 0
  1518. X203 713 0
  1519. X204 713 0
  1520. X205 713 0
  1521. X206 713 0
  1522. X207 713 0
  1523. X208 768 0
  1524. X209 713 0
  1525. X210 790 0
  1526. X211 790 0
  1527. X212 890 0
  1528. X213 823 0
  1529. X214 549 0
  1530. X215 250 0
  1531. X216 713 0
  1532. X217 603 0
  1533. X218 603 0
  1534. X219 1042 0
  1535. X220 987 0
  1536. X221 603 0
  1537. X222 987 0
  1538. X223 603 0
  1539. X224 494 0
  1540. X225 329 0
  1541. X226 790 0
  1542. X227 790 0
  1543. X228 786 0
  1544. X229 713 0
  1545. X230 384 0
  1546. X231 384 0
  1547. X232 384 0
  1548. X233 384 0
  1549. X234 384 0
  1550. X235 384 0
  1551. X236 494 0
  1552. X237 494 0
  1553. X238 494 0
  1554. X239 494 0
  1555. X240 790 0
  1556. X241 329 0
  1557. X242 274 0
  1558. X243 686 0
  1559. X244 686 0
  1560. X245 686 0
  1561. X246 384 0
  1562. X247 384 0
  1563. X248 384 0
  1564. X249 384 0
  1565. X250 384 0
  1566. X251 384 0
  1567. X252 494 0
  1568. X253 494 0
  1569. X254 494 0
  1570. X133 722 1
  1571. X132 722 1
  1572. X134 790 1
  1573. X135 200 1
  1574. X137 500 1
  1575. X148 384 1
  1576. X136 384 1
  1577. X146 384 1
  1578. X141 494 1
  1579. X144 494 1
  1580. X142 494 1
  1581. X147 384 1
  1582. X145 384 1
  1583. X139 494 1
  1584. X143 494 1
  1585. X140 494 1
  1586. END_OF_FILE
  1587. if test 1977 -ne `wc -c <'xtroff/devpsc/S.aux'`; then
  1588.     echo shar: \"'xtroff/devpsc/S.aux'\" unpacked with wrong size!
  1589. fi
  1590. # end of 'xtroff/devpsc/S.aux'
  1591. fi
  1592. if test -f 'xtroff/devsun/db' -a "${1}" != "-c" ; then 
  1593.   echo shar: Will not clobber existing file \"'xtroff/devsun/db'\"
  1594. else
  1595. echo shar: Extracting \"'xtroff/devsun/db'\" \(2001 characters\)
  1596. sed "s/^X//" >'xtroff/devsun/db' <<'END_OF_FILE'
  1597. X# Font /usr/lib/vfont/delegate.b.12, max width 17, max height 25
  1598. Xname db
  1599. Xspacewidth 51
  1600. X# char    width    u/d    octal
  1601. Xcharset
  1602. X\|      51     0    015
  1603. X\^       0     0    015
  1604. Xda      51     0    01
  1605. X*a      51     0    02
  1606. X*b      51     1    03
  1607. Xan      51     0    04
  1608. Xno      51     0    05
  1609. Xmo      51     0    06
  1610. X*p      51     0    07
  1611. X*l      51     0    010
  1612. X*g      51     2    011
  1613. X*d      51     2    012
  1614. Xua      51     0    013
  1615. X+-      51     2    014
  1616. Xif      51     0    016
  1617. Xpd      51     0    017
  1618. Xsb      51     0    020
  1619. Xsp      51     0    021
  1620. Xca      51     0    022
  1621. Xcu      51     0    023
  1622. Xfa      51     0    024
  1623. Xte      51     0    025
  1624. XOX      51     0    026
  1625. X<>      51     0    027
  1626. X<-      51     0    030
  1627. X->      51     0    031
  1628. X!=      51     0    032
  1629. Xap      51     0    033
  1630. X<=      51     0    034
  1631. X>=      51     0    035
  1632. X==      51     0    036
  1633. Xor      51     0    037
  1634. X!      51     0    041
  1635. X"      51     0    042
  1636. X#      51     0    043
  1637. X$      51     0    044
  1638. X%      51     0    045
  1639. X&      51     0    046
  1640. X'      51     0    047
  1641. X(      51     0    050
  1642. X)      51     0    051
  1643. X*      51     0    052
  1644. X+      51     0    053
  1645. X,      51     1    054
  1646. X-      51     0    055
  1647. Xhy    "
  1648. X\-    "
  1649. X.      51     0    056
  1650. X/      51     0    057
  1651. X0      51     0    060
  1652. X1      51     0    061
  1653. X2      51     0    062
  1654. X3      51     0    063
  1655. X4      51     0    064
  1656. X5      51     0    065
  1657. X6      51     0    066
  1658. X7      51     0    067
  1659. X8      51     0    070
  1660. X9      51     0    071
  1661. X:      51     0    072
  1662. X;      51     1    073
  1663. X<      51     0    074
  1664. X=      51     0    075
  1665. X>      51     0    076
  1666. X?      51     0    077
  1667. X@      51     0    0100
  1668. XA      51     0    0101
  1669. XB      51     0    0102
  1670. XC      51     0    0103
  1671. XD      51     0    0104
  1672. XE      51     0    0105
  1673. XF      51     0    0106
  1674. XG      51     0    0107
  1675. XH      51     0    0110
  1676. XI      51     0    0111
  1677. XJ      51     0    0112
  1678. XK      51     0    0113
  1679. XL      51     0    0114
  1680. XM      51     0    0115
  1681. XN      51     0    0116
  1682. XO      51     0    0117
  1683. XP      51     0    0120
  1684. XQ      51     1    0121
  1685. XR      51     0    0122
  1686. XS      51     0    0123
  1687. XT      51     0    0124
  1688. XU      51     0    0125
  1689. XV      51     0    0126
  1690. XW      51     0    0127
  1691. XX      51     0    0130
  1692. XY      51     0    0131
  1693. XZ      51     0    0132
  1694. X[      51     0    0133
  1695. X\      51     0    0134
  1696. X]      51     0    0135
  1697. X^      51     0    0136
  1698. X_      51     0    0137
  1699. X\_    "
  1700. X`      51     0    0140
  1701. Xa      51     0    0141
  1702. Xb      51     0    0142
  1703. Xc      51     0    0143
  1704. Xd      51     0    0144
  1705. Xe      51     0    0145
  1706. Xf      51     0    0146
  1707. Xg      51     1    0147
  1708. Xh      51     0    0150
  1709. Xi      51     0    0151
  1710. Xj      51     1    0152
  1711. Xk      51     0    0153
  1712. Xl      51     0    0154
  1713. Xm      51     0    0155
  1714. Xn      51     0    0156
  1715. Xo      51     0    0157
  1716. Xp      51     1    0160
  1717. Xq      51     1    0161
  1718. Xr      51     0    0162
  1719. Xs      51     0    0163
  1720. Xt      51     0    0164
  1721. Xu      51     0    0165
  1722. Xv      51     0    0166
  1723. Xw      51     0    0167
  1724. Xx      51     0    0170
  1725. Xy      51     1    0171
  1726. Xz      51     0    0172
  1727. X{      51     0    0173
  1728. X|      51     0    0174
  1729. X}      51     0    0175
  1730. X~      51     0    0176
  1731. X??      51     1    0177
  1732. END_OF_FILE
  1733. if test 2001 -ne `wc -c <'xtroff/devsun/db'`; then
  1734.     echo shar: \"'xtroff/devsun/db'\" unpacked with wrong size!
  1735. fi
  1736. # end of 'xtroff/devsun/db'
  1737. fi
  1738. if test -f 'xtroff/devsun/dr' -a "${1}" != "-c" ; then 
  1739.   echo shar: Will not clobber existing file \"'xtroff/devsun/dr'\"
  1740. else
  1741. echo shar: Extracting \"'xtroff/devsun/dr'\" \(2001 characters\)
  1742. sed "s/^X//" >'xtroff/devsun/dr' <<'END_OF_FILE'
  1743. X# Font /usr/lib/vfont/delegate.r.12, max width 17, max height 25
  1744. Xname dr
  1745. Xspacewidth 51
  1746. X# char    width    u/d    octal
  1747. Xcharset
  1748. X\|      51     0    015
  1749. X\^       0     0    015
  1750. Xda      51     3    01
  1751. X*a      51     3    02
  1752. X*b      51     3    03
  1753. Xan      51     3    04
  1754. Xno      51     3    05
  1755. Xmo      51     3    06
  1756. X*p      51     3    07
  1757. X*l      51     3    010
  1758. X*g      51     3    011
  1759. X*d      51     3    012
  1760. Xua      51     3    013
  1761. X+-      51     3    014
  1762. Xif      51     3    016
  1763. Xpd      51     3    017
  1764. Xsb      51     3    020
  1765. Xsp      51     3    021
  1766. Xca      51     3    022
  1767. Xcu      51     3    023
  1768. Xfa      51     3    024
  1769. Xte      51     3    025
  1770. XOX      51     3    026
  1771. X<>      51     3    027
  1772. X<-      51     3    030
  1773. X->      51     3    031
  1774. X!=      51     3    032
  1775. Xap      51     3    033
  1776. X<=      51     3    034
  1777. X>=      51     3    035
  1778. X==      51     3    036
  1779. Xor      51     3    037
  1780. X!      51     3    041
  1781. X"      51     3    042
  1782. X#      51     3    043
  1783. X$      51     3    044
  1784. X%      51     3    045
  1785. X&      51     3    046
  1786. X'      51     3    047
  1787. X(      51     3    050
  1788. X)      51     3    051
  1789. X*      51     3    052
  1790. X+      51     3    053
  1791. X,      51     3    054
  1792. X-      51     3    055
  1793. Xhy    "
  1794. X\-    "
  1795. X.      51     3    056
  1796. X/      51     3    057
  1797. X0      51     3    060
  1798. X1      51     3    061
  1799. X2      51     3    062
  1800. X3      51     3    063
  1801. X4      51     3    064
  1802. X5      51     3    065
  1803. X6      51     3    066
  1804. X7      51     3    067
  1805. X8      51     3    070
  1806. X9      51     3    071
  1807. X:      51     3    072
  1808. X;      51     3    073
  1809. X<      51     3    074
  1810. X=      51     3    075
  1811. X>      51     3    076
  1812. X?      51     3    077
  1813. X@      51     3    0100
  1814. XA      51     3    0101
  1815. XB      51     3    0102
  1816. XC      51     3    0103
  1817. XD      51     3    0104
  1818. XE      51     3    0105
  1819. XF      51     3    0106
  1820. XG      51     3    0107
  1821. XH      51     3    0110
  1822. XI      51     3    0111
  1823. XJ      51     3    0112
  1824. XK      51     3    0113
  1825. XL      51     3    0114
  1826. XM      51     3    0115
  1827. XN      51     3    0116
  1828. XO      51     3    0117
  1829. XP      51     3    0120
  1830. XQ      51     3    0121
  1831. XR      51     3    0122
  1832. XS      51     3    0123
  1833. XT      51     3    0124
  1834. XU      51     3    0125
  1835. XV      51     3    0126
  1836. XW      51     3    0127
  1837. XX      51     3    0130
  1838. XY      51     3    0131
  1839. XZ      51     3    0132
  1840. X[      51     3    0133
  1841. X\      51     3    0134
  1842. X]      51     3    0135
  1843. X^      51     3    0136
  1844. X_      51     3    0137
  1845. X\_    "
  1846. X`      51     3    0140
  1847. Xa      51     3    0141
  1848. Xb      51     3    0142
  1849. Xc      51     3    0143
  1850. Xd      51     3    0144
  1851. Xe      51     3    0145
  1852. Xf      51     3    0146
  1853. Xg      51     3    0147
  1854. Xh      51     3    0150
  1855. Xi      51     3    0151
  1856. Xj      51     3    0152
  1857. Xk      51     3    0153
  1858. Xl      51     3    0154
  1859. Xm      51     3    0155
  1860. Xn      51     3    0156
  1861. Xo      51     3    0157
  1862. Xp      51     3    0160
  1863. Xq      51     3    0161
  1864. Xr      51     3    0162
  1865. Xs      51     3    0163
  1866. Xt      51     3    0164
  1867. Xu      51     3    0165
  1868. Xv      51     3    0166
  1869. Xw      51     3    0167
  1870. Xx      51     3    0170
  1871. Xy      51     3    0171
  1872. Xz      51     3    0172
  1873. X{      51     3    0173
  1874. X|      51     3    0174
  1875. X}      51     3    0175
  1876. X~      51     3    0176
  1877. X??      51     3    0177
  1878. END_OF_FILE
  1879. if test 2001 -ne `wc -c <'xtroff/devsun/dr'`; then
  1880.     echo shar: \"'xtroff/devsun/dr'\" unpacked with wrong size!
  1881. fi
  1882. # end of 'xtroff/devsun/dr'
  1883. fi
  1884. if test -f 'xtroff/devsun/gf' -a "${1}" != "-c" ; then 
  1885.   echo shar: Will not clobber existing file \"'xtroff/devsun/gf'\"
  1886. else
  1887. echo shar: Extracting \"'xtroff/devsun/gf'\" \(2004 characters\)
  1888. sed "s/^X//" >'xtroff/devsun/gf' <<'END_OF_FILE'
  1889. X# Font /usr/lib/vfont/graphics.14, max width 35, max height 16
  1890. Xname gf
  1891. Xspacewidth 41
  1892. X# char    width    u/d    octal
  1893. Xcharset
  1894. X\|      41     0    040
  1895. X\^       0     0    040
  1896. Xda      41     3    01
  1897. X*a      41     0    02
  1898. X*b      41     3    03
  1899. Xan      41     0    04
  1900. Xno      41     3    05
  1901. Xmo      41     3    06
  1902. X*p      41     1    07
  1903. X*l      41     3    010
  1904. X*g      41     2    011
  1905. X*d      41     2    012
  1906. Xua      41     2    013
  1907. X+-      41     2    014
  1908. XO+      41     2    015
  1909. Xif      41     0    016
  1910. Xpd      41     2    017
  1911. Xsb      41     1    020
  1912. Xsp      41     1    021
  1913. Xca      41     3    022
  1914. Xcu      41     3    023
  1915. Xfa      41     2    024
  1916. Xte      41     3    025
  1917. XOX      41     3    026
  1918. X<>      41     0    027
  1919. X<-      41     0    030
  1920. X->      41     0    031
  1921. X!=      41     3    032
  1922. Xap      41     0    033
  1923. X<=      41     1    034
  1924. X>=      41     1    035
  1925. X==      41     2    036
  1926. Xor      41     0    037
  1927. X!      41     2    041
  1928. X"      41     2    042
  1929. X#      41     0    043
  1930. X$      41     2    044
  1931. X%      41     2    045
  1932. X&      41     3    046
  1933. X'      41     2    047
  1934. X(      41     2    050
  1935. X)      41     2    051
  1936. X*      41     2    052
  1937. X+      41     0    053
  1938. X,      41     0    054
  1939. X-      41     0    055
  1940. X\-    "
  1941. X.      41     0    056
  1942. X/      41     3    057
  1943. X0      41     2    060
  1944. X1      41     2    061
  1945. X2      41     2    062
  1946. X3      41     2    063
  1947. X4      41     2    064
  1948. X5      41     2    065
  1949. X6      41     2    066
  1950. X7      41     2    067
  1951. X8      41     2    070
  1952. X9      41     2    071
  1953. X:      41     0    072
  1954. X;      41     0    073
  1955. X<      41     0    074
  1956. X=      41     0    075
  1957. X>      41     0    076
  1958. X?      41     2    077
  1959. X@      41     0    0100
  1960. XA      41     2    0101
  1961. XB      41     2    0102
  1962. XC      41     2    0103
  1963. XD      41     2    0104
  1964. XE      41     2    0105
  1965. XF      41     2    0106
  1966. XG      41     2    0107
  1967. XH      41     2    0110
  1968. XI      41     2    0111
  1969. XJ      41     2    0112
  1970. XK      41     2    0113
  1971. XL      41     2    0114
  1972. XM      41     2    0115
  1973. XN      41     2    0116
  1974. XO      41     2    0117
  1975. XP      41     2    0120
  1976. XQ      41     2    0121
  1977. XR      41     2    0122
  1978. XS      41     2    0123
  1979. XT      41     2    0124
  1980. XU      41     2    0125
  1981. XV      41     2    0126
  1982. XW      41     2    0127
  1983. XX      41     2    0130
  1984. XY      41     2    0131
  1985. XZ      41     2    0132
  1986. X[      41     2    0133
  1987. X\      41     3    0134
  1988. X]      41     2    0135
  1989. X^      41     3    0136
  1990. X_      41     0    0137
  1991. X`      41     2    0140
  1992. Xa      41     0    0141
  1993. Xb      41     2    0142
  1994. Xc      41     0    0143
  1995. Xd      41     2    0144
  1996. Xe      41     0    0145
  1997. Xf      41     2    0146
  1998. Xg      41     0    0147
  1999. Xh      41     2    0150
  2000. Xi      41     2    0151
  2001. Xj      41     2    0152
  2002. Xk      41     2    0153
  2003. Xl      41     2    0154
  2004. Xm      41     0    0155
  2005. Xn      41     0    0156
  2006. Xo      41     0    0157
  2007. Xp      41     0    0160
  2008. Xq      41     0    0161
  2009. Xr      41     0    0162
  2010. Xs      41     0    0163
  2011. Xt      41     2    0164
  2012. Xu      41     0    0165
  2013. Xv      41     0    0166
  2014. Xw      41     0    0167
  2015. Xx      41     0    0170
  2016. Xy      41     0    0171
  2017. Xz      41     0    0172
  2018. X{      41     2    0173
  2019. X|      41     2    0174
  2020. X}      41     2    0175
  2021. X~      41     2    0176
  2022. X??      41     2    0177
  2023. END_OF_FILE
  2024. if test 2004 -ne `wc -c <'xtroff/devsun/gf'`; then
  2025.     echo shar: \"'xtroff/devsun/gf'\" unpacked with wrong size!
  2026. fi
  2027. # end of 'xtroff/devsun/gf'
  2028. fi
  2029. if test -f 'xtroff/fixpoint.c' -a "${1}" != "-c" ; then 
  2030.   echo shar: Will not clobber existing file \"'xtroff/fixpoint.c'\"
  2031. else
  2032. echo shar: Extracting \"'xtroff/fixpoint.c'\" \(3191 characters\)
  2033. sed "s/^X//" >'xtroff/fixpoint.c' <<'END_OF_FILE'
  2034. X/*
  2035. X *    SunTroff -  A program to display the output of Device Independent
  2036. X *        Troff as a window on a Sun Workstation.
  2037. X *
  2038. X *    Authors - The original version of this program was written by
  2039. X *            Richard L. Hyde (Purdue)
  2040. X *            David Slattengren (Berkeley)
  2041. X *        It was nearly all rewritten, cleaned up and a more elegant
  2042. X *        user interface installed by
  2043. X *            Malcolm Slaney (Schlumberger Palo Alto Research)
  2044. X *
  2045. X *    Legalese -  This command was developed as an independent project
  2046. X *        to satisfy a need of the author.  This program may contain
  2047. X *        bugs and the user is cautioned to independently verify that
  2048. X *        the program is suitable for the user's intended purpose.
  2049. X *        The program is made available on an ``as is'' basis with
  2050. X *        all faults and without any implied or expressed warranties
  2051. X *        or support from either the author, Malcolm Slaney, or
  2052. X *        Schlumberger Palo Alto Research Laboratory.
  2053. X *
  2054. X *        I am putting this program in the public domain.  You are
  2055. X *        free to use it as you wish.  In return I ask two things.
  2056. X *        First, that you do not remove the names of the authors
  2057. X *        from this work.  Secondly, if you make changes or
  2058. X *        improvements to this program that you pass these back to
  2059. X *        the author so that everybody can benefit from the
  2060. X *        improvements.
  2061. X *
  2062. X *                    Malcolm Slaney  (December 1986)
  2063. X *                    Schlumberger Palo Alto Research
  2064. X *                    3340 Hillview Avenue
  2065. X *                    Palo Alto, CA 94304
  2066. X *                    (415) 496-4669
  2067. X *                    spar!malcolm@decwrl.dec.com
  2068. X *                    malcolm@ecn.purdue.edu
  2069. X *                    malcolm@spar.slb.com (Someday)
  2070. X */
  2071. X
  2072. X/*
  2073. X *
  2074. X *    "long" fixed-point arithmetic package library
  2075. X *
  2076. X *    This DEPENDS on a sign-filled arithmetic right-shift
  2077. X */
  2078. X
  2079. X#include "fixpoint.h"
  2080. X
  2081. X
  2082. X#define F_INTEGER    (((1<<F_INTSHFT)-1)<<F_INTSHFT)
  2083. X#define F_FRACTION    ((1<<F_INTSHFT)-1)
  2084. X#define F_FRACT        ((1<<F_QSHFT)-1)
  2085. X#define    F_SIGN_BIT    (1 << ((F_INTSHFT * 2) - 1))
  2086. X
  2087. X
  2088. X/*----------------------------------------------------------------------------*
  2089. X | Routine:    fmult (fixed x, fixed y)
  2090. X |
  2091. X | Results:    returns fixed-point product of x and y (fixed-point numbers)
  2092. X |
  2093. X | Bugs:    Requires arithmetic right-shift
  2094. X *----------------------------------------------------------------------------*/
  2095. X
  2096. Xfixed fmult(x, y)
  2097. Xregister fixed x;
  2098. Xregister fixed y;
  2099. X{
  2100. X    return
  2101. X    ((x >> F_QSHFT) * (y >> F_QSHFT))            /* int * int */
  2102. X    + (((x >> F_QSHFT) * (y & F_FRACT)) >> F_QSHFT)    /* int * fract */ 
  2103. X    + (((y >> F_QSHFT) * (x & F_FRACT)) >> F_QSHFT);    /* fract * int */
  2104. X}
  2105. X
  2106. X
  2107. X/*----------------------------------------------------------------------------*
  2108. X | Routine:    fdiv (fixed x, fixed y)
  2109. X |
  2110. X | Results:    returns the fixed-point quotient of x / y (fixed-point numbers)
  2111. X |
  2112. X | Bugs:    returns largest possible numbers on divide by zero.
  2113. X |        Requires arithmetic right-shift
  2114. X *----------------------------------------------------------------------------*/
  2115. X
  2116. Xfixed fdiv(x, y)
  2117. Xregister fixed x;
  2118. Xregister fixed y;
  2119. X{
  2120. X    register int i = F_INTSHFT;
  2121. X    register fixed temp;
  2122. X
  2123. X    if (y == 0)
  2124. X    return (x < 0 ? (fixed) F_SIGN_BIT : (fixed)~F_SIGN_BIT);
  2125. X
  2126. X    while (((temp = x << 1) & F_SIGN_BIT) == (x & F_SIGN_BIT)) {
  2127. X    x = temp;
  2128. X    i--;
  2129. X    }
  2130. X    while (!(y & 1)) {
  2131. X    y >>= 1;
  2132. X    i--;
  2133. X    }
  2134. X    if(i<0)
  2135. X    return ((x / y) >> -i);
  2136. X    return ((x / y) << i);
  2137. X}
  2138. END_OF_FILE
  2139. if test 3191 -ne `wc -c <'xtroff/fixpoint.c'`; then
  2140.     echo shar: \"'xtroff/fixpoint.c'\" unpacked with wrong size!
  2141. fi
  2142. # end of 'xtroff/fixpoint.c'
  2143. fi
  2144. if test -f 'xtroff/fontstuff/MakeImFonts' -a "${1}" != "-c" ; then 
  2145.   echo shar: Will not clobber existing file \"'xtroff/fontstuff/MakeImFonts'\"
  2146. else
  2147. echo shar: Extracting \"'xtroff/fontstuff/MakeImFonts'\" \(3513 characters\)
  2148. sed "s/^X//" >'xtroff/fontstuff/MakeImFonts' <<'END_OF_FILE'
  2149. X#!/bin/sh
  2150. X#
  2151. X#    This file can be used to make all the reduced fonts needed
  2152. X#    by SunTroff.  The RSTFONTS variable points to the location of
  2153. X#    the RST fonts provided by Imagen.  Finally the SUNTROFF_FONTS
  2154. X#    variable points to the final location of the reduced fonts.
  2155. X#    The DEVICE variable is the name of the device used for Imagen
  2156. X#    typesetting.  The actual location of the reduced imagen fonts
  2157. X#    will be $SUNTROFF_FONTS/$DEVICE.
  2158. X#
  2159. XRSTFONTS=${1-/usr/local/lib/imagen/fonts/rst}
  2160. XSUNTROFF_FONTS=${2-/usr/local/lib/suntroff/devimp}
  2161. XDEVICE=imp
  2162. X
  2163. X#
  2164. X#    Reduce fonts by 120/300
  2165. X#
  2166. X#    Because of scalech this number must be a TWO digit percentage!!
  2167. X#
  2168. XPERCENT=${3-40}
  2169. Xdpi=120
  2170. X
  2171. XXWIN=${4}
  2172. Xif test x$XWIN != x ; then
  2173. X    if test $XWIN != suntroff ; then
  2174. X        XWIN=x
  2175. X        FC=${5-bdftosnf}
  2176. X        extension='.snf'
  2177. X    else
  2178. X        XWIN=
  2179. X        FC=
  2180. X        extension=
  2181. X    fi
  2182. Xfi
  2183. XDEVICE=${6-sun}
  2184. X
  2185. X#    If you don't have the current directory in your path (.) then
  2186. X#    you will need to change the BIN_DIR variable to point to the
  2187. X#    location of this directory.  Many thanks to Len at Sentry for
  2188. X#    pointing this potential problem out.
  2189. X#
  2190. XBIN_DIR=.
  2191. X
  2192. XTEMP=/tmp/font
  2193. XTEMP2=/tmp/font2
  2194. X
  2195. Xif [ ! -d $SUNTROFF_FONTS ]
  2196. Xthen
  2197. X    mkdir $SUNTROFF_FONTS
  2198. Xelse
  2199. X    echo Font Directory already in place.
  2200. Xfi
  2201. X
  2202. X#
  2203. X#    Now create those fonts that we can make by renaming.....
  2204. X#
  2205. X
  2206. Xfor i in `cd $RSTFONTS;echo [a-zA-Z]/[0-9] [a-zA-Z]/[0-9][0-9] \
  2207. X              [a-zA-Z][a-zA-Z]/[0-9] [a-zA-Z][a-zA-Z]/[0-9][0-9]`
  2208. Xdo
  2209. X    if [ -r $RSTFONTS/$i ]
  2210. X    then
  2211. X        Size=`echo $i | sed "s/.*\///"`
  2212. X        Font=`echo $i | sed "s/\/.*//"`
  2213. X        NewSize=`expr $Size \* 100 / $PERCENT`
  2214. X        if test x$XWIN != x ; then
  2215. X            fname=`echo $Font | tr A-Z a-z`
  2216. X            fontname=$DEVICE.$fname.$NewSize.$dpi
  2217. X            fname=$fname$NewSize.snf
  2218. X        else
  2219. X            fname=$Font.$NewSize
  2220. X        fi
  2221. X        if [ ! -r $SUNTROFF_FONTS/$fname ]
  2222. X        then
  2223. X            echo Converting $RSTFONTS/$i to \
  2224. X                $SUNTROFF_FONTS/$fname
  2225. X            $BIN_DIR/rst2ch $RSTFONTS/$i > $TEMP
  2226. X            if [ x$XWIN = x ] ; then 
  2227. X                $BIN_DIR/ch2vft $TEMP > \
  2228. X                    $SUNTROFF_FONTS/$fname
  2229. X            else
  2230. X                $BIN_DIR/ch2vft $TEMP > $TEMP2
  2231. X                $BIN_DIR/vf2bdf $TEMP2 $NewSize | \
  2232. X                sed 's?^FONT .*$?FONT '$fontname'?' | \
  2233. X                $FC > $SUNTROFF_FONTS/$fname
  2234. X            fi
  2235. X
  2236. X        fi
  2237. X    fi
  2238. Xdone
  2239. X
  2240. X#
  2241. X#    Now create the fonts that we need to make by bit reduction.
  2242. X#    First check to see if we have a font "close enough".  Close
  2243. X#    enough is defined here to be within one point size.
  2244. X#
  2245. Xfor i in `cd $RSTFONTS;echo [a-zA-Z]/[0-9] [a-zA-Z]/[0-9][0-9] \
  2246. X              [a-zA-Z][a-zA-Z]/[0-9] [a-zA-Z][a-zA-Z]/[0-9][0-9]`
  2247. Xdo
  2248. X    if [ -r $RSTFONTS/$i ]
  2249. X    then
  2250. X        Size=`echo $i | sed "s/.*\///"`
  2251. X        Font=`echo $i | sed "s/\/.*//"`
  2252. X
  2253. X        if [ x$XWIN = x ]
  2254. X        then
  2255. X            f1=$SUNTROFF_FONTS/$Font.`expr $Size - 1`
  2256. X            f2=$SUNTROFF_FONTS/$Font.`expr $Size`
  2257. X            f3=$SUNTROFF_FONTS/$Font.`expr $Size + 1`
  2258. X            fname=$Font.$Size
  2259. X        else
  2260. X            Font=`echo $Font | tr A-Z a-z`
  2261. X            f1=$SUNTROFF_FONTS/$Font`expr $Size - 1`$extension
  2262. X            f2=$SUNTROFF_FONTS/$Font`expr $Size`$extension
  2263. X            f3=$SUNTROFF_FONTS/$Font`expr $Size + 1`$extension
  2264. X            fontname=$DEVICE.$Font.$Size.$dpi
  2265. X            fname=$Font$Size$extension
  2266. X        fi
  2267. X
  2268. X        if [ -r $f1 -o -r $f2 -o -r $f3 ]
  2269. X        then
  2270. X            true
  2271. X        else
  2272. X            echo scaling and converting $RSTFONTS/$i to \
  2273. X                $SUNTROFF_FONTS/$fname
  2274. X            $BIN_DIR/rst2ch $RSTFONTS/$i > $TEMP
  2275. X            $BIN_DIR/scalech -s$PERCENT  $TEMP > $TEMP2
  2276. X            if test x$XWIN = x ; then
  2277. X                $BIN_DIR/ch2vft $TEMP2 > $SUNTROFF_FONTS/$i
  2278. X            else
  2279. X                $BIN_DIR/ch2vft $TEMP2 > $TEMP
  2280. X                $BIN_DIR/vf2bdf $TEMP $Size |
  2281. X                sed 's?^FONT .*$?FONT '$fontname'?' | \
  2282. X                $FC > $SUNTROFF_FONTS/$fname
  2283. X            fi
  2284. X        fi
  2285. X    fi
  2286. Xdone
  2287. Xif [ x$XWIN != x ]; then
  2288. X    mkfontdir $SUNTROFF_FONTS
  2289. Xfi
  2290. END_OF_FILE
  2291. if test 3513 -ne `wc -c <'xtroff/fontstuff/MakeImFonts'`; then
  2292.     echo shar: \"'xtroff/fontstuff/MakeImFonts'\" unpacked with wrong size!
  2293. fi
  2294. # end of 'xtroff/fontstuff/MakeImFonts'
  2295. fi
  2296. if test -f 'xtroff/fontstuff/vft2ch.c' -a "${1}" != "-c" ; then 
  2297.   echo shar: Will not clobber existing file \"'xtroff/fontstuff/vft2ch.c'\"
  2298. else
  2299. echo shar: Extracting \"'xtroff/fontstuff/vft2ch.c'\" \(3342 characters\)
  2300. sed "s/^X//" >'xtroff/fontstuff/vft2ch.c' <<'END_OF_FILE'
  2301. X/* Font translation for vfont-style fonts to character format.
  2302. X *
  2303. X *    Use:  vft2ch fontfile  [ character_list ]
  2304. X *
  2305. X *        Reads "fontfile" from current directory (or if not found,
  2306. X *    from VFONTDIR defined below) and converts it to a character font format
  2307. X *    editable by real people, and convertable BACK to vfont format by the
  2308. X *    ch2rst program.  Output goes to stdout.
  2309. X */
  2310. X
  2311. X#include <stdio.h>
  2312. X#include <ctype.h>
  2313. X#include <vfont.h>
  2314. X
  2315. X
  2316. X#define    DIRSIZ    256
  2317. X#define    MAGICNO    0436
  2318. X
  2319. X#ifndef    VFONTDIR
  2320. X#define VFONTDIR        "/usr/lib/vfont"
  2321. X#endif    VFONTDIR
  2322. X
  2323. X
  2324. Xstruct header FontHeader;
  2325. Xstruct dispatch disptable[DIRSIZ];
  2326. X
  2327. Xchar    IName[100];
  2328. Xlong    fbase;
  2329. X
  2330. Xunsigned char    defascii[DIRSIZ];
  2331. Xunsigned char    *charswanted = defascii;
  2332. Xchar    charbits[20000];
  2333. Xint    height, width, bwidth;
  2334. X
  2335. X
  2336. Xmain(argc,argv)
  2337. Xint argc;
  2338. Xchar **argv;
  2339. X{
  2340. X    int FID,i,j;
  2341. X
  2342. X    if (argc < 2)
  2343. X        error("usage: %s filename", argv[0]);
  2344. X
  2345. X    for (i=0; i<DIRSIZ; i++)
  2346. X        defascii[i] = i;
  2347. X    if (argc >= 3)
  2348. X        charswanted = (unsigned char *) argv[2];
  2349. X
  2350. X    sprintf(IName,"%s/%s", VFONTDIR, argv[1]);
  2351. X    if ((FID = open(argv[1],0)) < 0)
  2352. X        if ((FID = open(IName,0)) < 0)
  2353. X            error("Can't find %s", argv[1]);
  2354. X
  2355. X    if (read(FID,&FontHeader,sizeof FontHeader) != sizeof FontHeader)
  2356. X        error("bad header in Font file.");
  2357. X    if (FontHeader.magic != MAGICNO)
  2358. X        error("magic number %o wrong", FontHeader.magic);
  2359. X    if (read(FID,&disptable[0],sizeof disptable) != sizeof disptable)
  2360. X        error("bad dispatch table in Font file");
  2361. X    fbase = sizeof FontHeader + sizeof disptable;
  2362. X
  2363. X    while (*argv[1] != '.' || *(argv[1]+1) < '0' || *(argv[1]+1) > '9')
  2364. X        (argv[1])++;
  2365. X    printf("fontheader\nsize 46\nmag 1000\ndesiz %d\n", atoi(*argv));
  2366. X    printf("rot 0\ncadv 0\nladv 1\nid 0\nres 200\n");
  2367. X
  2368. X    for (i=0; i<DIRSIZ; i++) {
  2369. X        j = charswanted[i];
  2370. X        if (i>0 && j==0)
  2371. X            break;
  2372. X        if (disptable[j].nbytes != 0) {
  2373. X            register int k, l;
  2374. X            register int left = disptable[j].left;
  2375. X            register int right = disptable[j].right;
  2376. X            register int up = disptable[j].up;
  2377. X            register int down = disptable[j].down;
  2378. X
  2379. X
  2380. X            printf(":%d, width = %d.01\n", j, disptable[j].width);
  2381. X
  2382. X            lseek(FID, fbase+disptable[j].addr, 0);
  2383. X            read(FID, charbits, disptable[j].nbytes);
  2384. X            height = up + down;
  2385. X            width = left + right;
  2386. X            bwidth = (width+7)/8;
  2387. X            for (k = up; k < 0; k++) {
  2388. X                for (l = left; l < 0; l++)
  2389. X                pbit(l, k, l==left && k==up);
  2390. X                for (l = 0; l <= left; l++)
  2391. X                pbit(l, k, l==left && k==up);
  2392. X                while (l < width)
  2393. X                pbit(l++, k, 0);
  2394. X                printf("\n");
  2395. X            }
  2396. X            for (k = 0; k <= up; k++) {
  2397. X                for (l = left; l < 0; l++)
  2398. X                pbit(l, k, l==left && k==up);
  2399. X                for (l = 0; l <= left; l++)
  2400. X                pbit(l, k, l==left && k==up);
  2401. X                while (l < width)
  2402. X                pbit(l++, k, 0);
  2403. X                printf("\n");
  2404. X            }
  2405. X            while (k < height) {
  2406. X                for (l = left; l < 0; l++)
  2407. X                pbit(l, k, 0);
  2408. X                for (l = 0; l <= left; l++)
  2409. X                pbit(l, k, 0);
  2410. X                while (l < width)
  2411. X                pbit(l++, k, 0);
  2412. X                printf("\n");
  2413. X                k++;
  2414. X            }
  2415. X            printf("\n");
  2416. X        }
  2417. X    }
  2418. X}
  2419. X
  2420. X
  2421. X/*VARARGS1*/
  2422. Xerror(string, a1, a2, a3, a4)
  2423. Xchar *string;
  2424. X{ 
  2425. X    fprintf(stderr, "vft2ch: ");
  2426. X    fprintf(stderr, string, a1, a2, a3, a4);
  2427. X    fprintf(stderr, "\n");
  2428. X    exit(8);
  2429. X}
  2430. X
  2431. X
  2432. Xpbit(col, row, flag)
  2433. Xint col, row, flag;
  2434. X{
  2435. X    if (col<0 || row<0 || row>=height || col>=width) {
  2436. X        printf(flag?"x":".");
  2437. X        return;
  2438. X    }
  2439. X    if ((charbits[row*bwidth + (col>>3)] & 0xff) & (0x80 >> (col&7)))
  2440. X        printf(flag?"X":"@");
  2441. X    else
  2442. X        printf(flag?"x":".");
  2443. X}
  2444. END_OF_FILE
  2445. if test 3342 -ne `wc -c <'xtroff/fontstuff/vft2ch.c'`; then
  2446.     echo shar: \"'xtroff/fontstuff/vft2ch.c'\" unpacked with wrong size!
  2447. fi
  2448. # end of 'xtroff/fontstuff/vft2ch.c'
  2449. fi
  2450. echo shar: End of archive 4 \(of 18\).
  2451. cp /dev/null ark4isdone
  2452. MISSING=""
  2453. for I in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 ; do
  2454.     if test ! -f ark${I}isdone ; then
  2455.     MISSING="${MISSING} ${I}"
  2456.     fi
  2457. done
  2458. if test "${MISSING}" = "" ; then
  2459.     echo You have unpacked all 18 archives.
  2460.     rm -f ark[1-9]isdone ark[1-9][0-9]isdone
  2461. else
  2462.     echo You still need to unpack the following archives:
  2463.     echo "        " ${MISSING}
  2464. fi
  2465. ##  End of shell archive.
  2466. exit 0
  2467.