home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1994 March / Source_Code_CD-ROM_Walnut_Creek_March_1994.iso / compsrcs / misc / volume39 / fed / part02 < prev    next >
Encoding:
Text File  |  1993-09-07  |  38.8 KB  |  1,356 lines

  1. Newsgroups: comp.sources.misc
  2. From: masrich@ubvmsb.cc.buffalo.edu (Richard Wicks)
  3. Subject: v39i076:  fed - Font Editor for use with VT320 and VT220 terminals, v2.0, Part02/02
  4. Message-ID: <1993Sep7.134939.5285@sparky.sterling.com>
  5. X-Md4-Signature: 3e4843daf0681fd503bb79230213e377
  6. Sender: kent@sparky.sterling.com (Kent Landfield)
  7. Organization: University at Buffalo
  8. Date: Tue, 7 Sep 1993 13:49:39 GMT
  9. Approved: kent@sparky.sterling.com
  10.  
  11. Submitted-by: masrich@ubvmsb.cc.buffalo.edu (Richard Wicks)
  12. Posting-number: Volume 39, Issue 76
  13. Archive-name: fed/part02
  14. Environment: vt320/220, VMS, UNIX
  15.  
  16. #! /bin/sh
  17. # This is a shell archive.  Remove anything before this line, then feed it
  18. # into a shell via "sh file" or similar.  To overwrite existing files,
  19. # type "sh file -c".
  20. # Contents:  basic_200.fnt basic_300.fnt fed2.h for_programmers.txt
  21. #   kid_200.fnt kid_300.fnt large_200.fnt makefile.UNIX makefile.VAX
  22. #   newchar_300.fnt readme.first shift.h simplesse_300.fnt
  23. #   uplow_200.fnt uplow_300.fnt
  24. # Wrapped by kent@sparky on Tue Sep  7 08:40:03 1993
  25. PATH=/bin:/usr/bin:/usr/ucb:/usr/local/bin:/usr/lbin ; export PATH
  26. echo If this archive is complete, you will see the following message:
  27. echo '          "shar: End of archive 2 (of 2)."'
  28. if test -f 'basic_200.fnt' -a "${1}" != "-c" ; then 
  29.   echo shar: Will not clobber existing file \"'basic_200.fnt'\"
  30. else
  31.   echo shar: Extracting \"'basic_200.fnt'\" \(1407 characters\)
  32.   sed "s/^X//" >'basic_200.fnt' <<'END_OF_FILE'
  33. XP1;0;1;4;1;1;{.A
  34. X;???}/???A
  35. X;??M??M/
  36. X;?g}gg}g/??B??B
  37. X;GSS}SS_/?@@B@@
  38. X;CIcOGcA/A@??@A@
  39. X;kQQQk?_/@AAAA@A
  40. X;??GEA/
  41. X;?wCA/??@A
  42. X;????ACw/????A@
  43. X;OSwOwSO/?@???@
  44. X;OOO{OOO/???@
  45. X;/??CB@
  46. X;OOOOOOO/
  47. X;/???BB
  48. X;???_OGC/CA@
  49. X;wCAAACw/?@AAA@
  50. X;?GC}/?AABAA
  51. X;CaaQQQK/BAAAAAA
  52. X;AAAQYUa/@AAAAA@
  53. X;_ogc}__/????B
  54. X;]QIIIIq/@AAAAA@
  55. X;wcQQQQ_/@AAAAA@
  56. X;AAAaQIE/??B
  57. X;kQQQQQk/@AAAAA@
  58. X;KQQQQI{/?AAAA@
  59. X;???KK/???BB
  60. X;???KK/??CB@
  61. X;O?g?C?A/????@?A
  62. X;ggggggg/
  63. X;A?C?g?O/A?@
  64. X;CAAqIIC/???A
  65. X;{AQiiQ{/@AAAAAA
  66. X;ogcacgo/B?????B
  67. X;A}QQQQk/ABAAAA@
  68. X;wCAAAAC/?@AAAA@
  69. X;A}AAACw/ABAAA@
  70. X;}QQQQAA/BAAAAAA
  71. X;}QQQQAA/B
  72. X;wCAAaac/?@AAAA@
  73. X;}OOOOO}/B?????B
  74. X;?AA}AA/?AABAA
  75. X;????A}A/@AAAA@
  76. X;}OggCCA/B???@@A
  77. X;}/BAAAAAA
  78. X;}CGOGC}/B?????B
  79. X;}CGO_?}/B????@B
  80. X;{AAAAA{/@AAAAA@
  81. X;}QQQQQK/B
  82. X;{AAAaA{/@AAAA@A
  83. X;}QQQqQK/B????@A
  84. X;KQQQQQc/@AAAAA@
  85. X;AAA}AAA/???B
  86. X;}?????}/@AAAAA@
  87. X;EW_?_WE/??@A@
  88. X;}??o??}/@A@?@A@
  89. X;ACgOgCA/A@???@A
  90. X;ACGoGCA/???B
  91. X;AAaQIEA/ABAAAAA
  92. X;??}AAA/??BAAA
  93. X;ACGO_/?????@A
  94. X;?AAA}/?AAAB
  95. X;OGCACGO/
  96. X;/AAAAAAA
  97. X;???AEG/
  98. X;?gggggo/@AAAABB
  99. X;}OGGGGo/B@AAAA@
  100. X;oGGGGGO/@AAAAAA
  101. X;oGGGGO}/@AAAA@B
  102. X;ogggggo/@AAAAA
  103. X;OO{QQAC/??B
  104. X;OggggOG/DIIIIIC
  105. X;}OGGGGo/B?????B
  106. X;??Gy/?AABAA
  107. X;????Gy/CGGGGF
  108. X;}__OG/B???@?A
  109. X;??A}/??ABA
  110. X;wGO_OGo/B??@??B
  111. X;wOGGGGo/B?????B
  112. X;oGGGGGo/@AAAAA@
  113. X;wwGGGGo/N@@@@@
  114. X;oGGGGww/?@@@@@N
  115. X;GoOGGGO/?B
  116. X;Oggggg/AAAAAA@
  117. X;?GG}GGG/???@AA@
  118. X;w????w/@AAAA@A
  119. X;W_???_W/??@A@
  120. X;w??_??w/@A@?@A@
  121. X;GO__OG/A@??@A
  122. X;w???_w/CHHHGF
  123. X;GGGgWWG/ABBAAAA
  124. X;?OOSiAA/???@AAA
  125. X;???}/???B
  126. X;?AAiSOO/?AAA@
  127. X;/
  128. X\).A
  129. END_OF_FILE
  130.   if test 1407 -ne `wc -c <'basic_200.fnt'`; then
  131.     echo shar: \"'basic_200.fnt'\" unpacked with wrong size!
  132.   fi
  133.   # end of 'basic_200.fnt'
  134. fi
  135. if test -f 'basic_300.fnt' -a "${1}" != "-c" ; then 
  136.   echo shar: Will not clobber existing file \"'basic_300.fnt'\"
  137. else
  138.   echo shar: Extracting \"'basic_300.fnt'\" \(2576 characters\)
  139.   sed "s/^X//" >'basic_300.fnt' <<'END_OF_FILE'
  140. XP1;0;1;15;1;2;12;0;{.A
  141. X;???????www/???????JJJ
  142. X;????KKK???KKK/
  143. X;??__ooo__ooo__/??CCNNNCCNNNCC
  144. X;??__oOOwwOOO/????DDDNNDDFAA
  145. X;??OwgwO?_oWG/????GKEB@CMIMC
  146. X;????OwgggWO?__/??EFNHGGKFBMLH
  147. X;?????GGKCC/
  148. X;?????_owGCC/?????BFNGOO
  149. X;?????CCGwo_/?????OOGNFB
  150. X;???___?oo?___/???AAA@FF@AAA
  151. X;???????ooo/???@@@@FFF@@@@
  152. X;/????__oo[[KK
  153. X;/????@@@@@@@@@
  154. X;/??????KKKK
  155. X;???????_ow[KC/??OW[MFB@
  156. X;???_ooGGGGoo_/???BFFGGGGFFB
  157. X;?????OOwww/????GGGNNNGGG
  158. X;???OWGGGGGwoo/???GGKKMIJHHGG
  159. X;??OOWGGGGGwoo/??CCKGHHHHNEE
  160. X;????_oOGGwww/??ABBAAAANNNAA
  161. X;???wwwGggggGG/???DDHHGGGLFFA
  162. X;???_ooWGGGGG/???BFFMHHHHNEE
  163. X;???GGGGGgwwW/????GKMFB@
  164. X;???oowGGGGwoo/???EFNHHHHNFE
  165. X;???oowGGGGwoo_/?????HHHHHKFFB
  166. X;??????oooo/??????KKKK
  167. X;??????oooo/??__oo[[KK
  168. X;?????__oOWGG/???@@BAECKGG
  169. X;???_________/???AAAAAAAAA
  170. X;???GGWOo__/???GGKCEAB@@
  171. X;???OOWGGGGwwo/??????IIJ@@
  172. X;??ow{KCssS[{wo/??BFFKGHJIIJB@
  173. X;????_owWWwo_/??KNNBAAAABNNK
  174. X;??wwwGGGGGGwwo/??NNNHHHHHHNME
  175. X;??_ooWGGGGGWOO/??BFFKGGGGGKCC
  176. X;??wwwGGGGGWoo_/??NNNGGGGGKFFB
  177. X;??wwwGGGGGGG/??NNNHHHHHGG
  178. X;??wwwGGGGGGG/??NNN@@@@@
  179. X;??_ooWGGGGGWOO/??BFFKGGGHHNFF
  180. X;??www??????www/??NNN@@@@@@NNN
  181. X;????GGGwwwGGG/????GGGNNNGGG
  182. X;??????GGwwwG/?CCKGGGGNNF
  183. X;???www??__oWWG/???NNN@@BAEKKG
  184. X;???www/???NNNGGGGGGG
  185. X;??wwwWo??oWwww/??NNN?@FF@?NNN
  186. X;??wwwoo_???www/??NNN?@@BEENNN
  187. X;??_ooWGGGGWoo_/??BFFKGGGGKFFB
  188. X;??wwwGGGGGGwwo/??NNN@@@@@@@
  189. X;??_ooWGGGGWoo_/??BFFKGGIMKN^r_
  190. X;??wwwGGGGGwwoO/??NNN@@@@BFMKG
  191. X;??oowGGGGGGWOO/??CCLHHHHHHNEE
  192. X;???GGGGwwwGGGG/???????NNN
  193. X;??www??????www/??FFNGGGGGGNFF
  194. X;??www??????www/???@BFMKKMFB@
  195. X;??www??__??www/??@FNKEBBEKNF@
  196. X;??GWWo_??_oWWG/??GKKEB@@BEKKG
  197. X;???Www_???_wwW/?????@@NNN@@
  198. X;???GGGGGGgwwW/???KKMIJHHGGG
  199. X;??????{{{CCC/??????^^^OOO
  200. X;??CK[wo_/??????@BFM[WO
  201. X;?????CCC{{{/?????OOO^^^
  202. X;????OW[KCK[WO/
  203. X;/??OOOOOOOOOOOO
  204. X;???AAECC/
  205. X;?????______/???CMMIIIIFNNG
  206. X;??www?_____/??NNNDGGGGLFFA
  207. X;?????_______/??AFFLGGGGGLDD
  208. X;????_____?www/?AFFLGGGGDNNN
  209. X;?????_______/??AFFNIIIIIJJB
  210. X;???__owwggggg/???GGNNNGGG
  211. X;?????_________/??AFFlggggs~^N
  212. X;??www?______/??NNN@?????NNN
  213. X;?????__ggg/????GGGNNNGGG
  214. X;?????__ggg/??____o~^N
  215. X;???www????___/???NNNAAFDLGGG
  216. X;?????GGwww/????GGGNNNGGG
  217. X;??__?___?____/??NNN??NN??NNN
  218. X;??__?_______/??NNN??????NNN
  219. X;?????______/??AFFLGGGGLFFA
  220. X;??___?_____/??~~~HGGGGLFFA
  221. X;?????_________/??AFFLGGGGC~~~
  222. X;??____?______/??GGNNNHG??@@@
  223. X;????________/??@HJIIIIIMCC
  224. X;????___www____/???????FNNGGGG
  225. X;??___??????___/??FFNKGGGGCNNN
  226. X;??___??????___/???@BFMKKMFB@
  227. X;??___??__??___/??@FNKEBBEKNF@
  228. X;???___????___/???GLLFAAFLLG
  229. X;??___??????___/???`bf}{WMFB@
  230. X;???__________/???KKKIIIHHHG
  231. X;???????owGKCC/????@@@EMGWOO
  232. X;???????{{{/???????^^^
  233. X;???CCKGwo/???OOWGME@@@
  234. X;??ow{KK[woo{[K/
  235. X\).A
  236. END_OF_FILE
  237.   if test 2576 -ne `wc -c <'basic_300.fnt'`; then
  238.     echo shar: \"'basic_300.fnt'\" unpacked with wrong size!
  239.   fi
  240.   # end of 'basic_300.fnt'
  241. fi
  242. if test -f 'fed2.h' -a "${1}" != "-c" ; then 
  243.   echo shar: Will not clobber existing file \"'fed2.h'\"
  244. else
  245.   echo shar: Extracting \"'fed2.h'\" \(1151 characters\)
  246.   sed "s/^X//" >'fed2.h' <<'END_OF_FILE'
  247. X#include <curses.h>
  248. X#include <math.h>
  249. X#include <string.h>
  250. X#include <errno.h>
  251. X
  252. X#ifndef VAX
  253. X# define NEWLINE '\n'
  254. X#else
  255. X# define NEWLINE SMG$K_TRM_CR
  256. X#endif
  257. X
  258. X#define NAME "Fed"
  259. X#define VERSION "2.0"
  260. X#define N_CHAR 94        /* max number of characters in a character set    */
  261. X#define N_COL  30        /* max number of columns needed for a character   */
  262. X#define EXTENSION ".fnt" /* default extension name                         */
  263. X#define JOURNAL   ".fjl" /* default extension for jounal file              */
  264. X
  265. X#define VT320_HEIGHT 12  /* height (in pixels) of a VT320 character        */
  266. X#define VT320_WIDTH  15  /* width (in pixels) of a VT320 character         */
  267. X#define VT220_HEIGHT 10  /* height (in pixels) of a VT220 character        */
  268. X#define VT220_WIDTH   8  /* width (in pixels) of a VT220 character         */
  269. X
  270. Xchar get_char ();
  271. Xvoid read_char_viewer ();
  272. Xvoid read_220_char ();
  273. Xvoid read_320_char ();
  274. Xchar *position ();
  275. Xvoid draw ();
  276. Xvoid preview ();
  277. Xchar load_character_set ();
  278. Xvoid save_characters ();
  279. Xint set_viewer ();
  280. Xvoid setup_display ();
  281. Xchar get_char_to_edit();
  282. Xvoid preview_char_set ();
  283. Xchar edit_char ();
  284. Xvoid add_extension ();
  285. END_OF_FILE
  286.   if test 1151 -ne `wc -c <'fed2.h'`; then
  287.     echo shar: \"'fed2.h'\" unpacked with wrong size!
  288.   fi
  289.   # end of 'fed2.h'
  290. fi
  291. if test -f 'for_programmers.txt' -a "${1}" != "-c" ; then 
  292.   echo shar: Will not clobber existing file \"'for_programmers.txt'\"
  293. else
  294.   echo shar: Extracting \"'for_programmers.txt'\" \(3508 characters\)
  295.   sed "s/^X//" >'for_programmers.txt' <<'END_OF_FILE'
  296. XIf you want to use FED to make some programs there are a few things you should
  297. Xknow before you get started.  Most important is knowing how to select this font
  298. Xas the active font.  From this point on, any character preceded with a '^' will
  299. Xbe read as control (character).  Eg: ^N is to be read as control N.  In addition
  300. X<ESC> is the be read as ascii character 27.
  301. X
  302. XSelecting a soft character set as the active character set:
  303. X
  304. X    Unlike other character sets like the supplemental graphic character set,
  305. Xhow a soft character set is selected is determined by the user.  Every sixel-bit
  306. Xsoft character set is preceded with this very first line:
  307. X
  308. XFor 220:    <ESC>;Pfn;Pcn;Pe;Pcmw;Pw;Pt;{Dscs
  309. XFor 320:    <ESC>;Pfn;Pcn;Pe;Pcmw;Pw;Pt;Pcmh;Pcss;{Dscs
  310. X
  311. X    Now I'll just skip to the point.  Every parameter up there is relatively
  312. Xunimportant EXCEPT Dscs.  This defines how your character set is selected.
  313. XDscs can be made up of to 3 characters, but you will generally see it as only
  314. X2 characters (the minimum number is just 1 character).  As far as I can tell,
  315. Xthere is absolutely no advantage of choosing one Dscs sequence over another.
  316. XI use ".A" since that was the first one I ever saw and it stuck with me 
  317. X(I saw it used in a boulderdash for 220's, a very good game).  To select your
  318. Xsoft character set you only need to send this to the screen
  319. X
  320. X    <ESC>)Dscs^N
  321. X
  322. XWith my Dscs sequence of ".A" I would send <ESC>).A^N to the screen to select
  323. Xmy character set.  To unselect the character set, send this:
  324. X
  325. X    <ESC>(B^O
  326. X
  327. XThis will put you into regular text mode.
  328. X
  329. X  ------- IMPORTANT TO THOSE ALTERING PRE-EXISTING CHARACTER SETS!!!! -------
  330. X
  331. X    If you have a character set that was made by another program (or god
  332. Xforbid, programmed by hand) and want to use FED2.0 with it to alter it, you
  333. Xwill have to pay attention to the Dscs sequence.  Fed will change it to ".A"
  334. Xno matter what it is, and when you try to use the font with whatever program
  335. Xyou used with it before, you'll find that it selects the standard character
  336. Xset and not the one you have altered.  This is a BUG!  To fix this, just replace
  337. Xthe Dscs sequence with the original one in the font file.  Or if you know C,
  338. Xchange the appropriate macros is ESCAPE.H.
  339. X
  340. X    ANOTHER THING:  If you do change ESCAPE.H please PLEASE do not
  341. Xdistribute the altered version across that net!  It would really suck to have
  342. Xa zillion font's that are incompatible with each other.  This is my only
  343. Xcondition that you must meet to use this program.
  344. X
  345. X    Final word:  The files that fed produces in addition to programming the
  346. Xsoft character set, also selects the soft character set at the very end of
  347. Xthe file.  If you are altering a pre-existing font, you may want to delete the
  348. Xescape sequence that selects it.  If you have a different Dscs sequence the
  349. Xescape sequence at the bottom of the altered font file will be meaningless
  350. X(unless you put in the appropriate Dscs sequence), and you can ignore it.
  351. X
  352. X
  353. X  ----- Additional trivial information that you may be interested in: -----
  354. X
  355. XThe other parameters (P---) that I skipped are maximized so that you have the
  356. Xgreatest control over the font that you edit.  Changing these to other numbers
  357. Xwill just limit you in what you can create.  Read a programming guide if you
  358. Xwant more info.  If you are editing a pre-existing font, you may have to read
  359. Xthe programmers guide (sorry, I figure anybody stupid enough to constrain
  360. Xthemselves should have to do more work to make up for their stupidity...
  361. XMaybe I'm stupid to say that.... I dunno....)
  362. X
  363. Xenjoy!
  364. END_OF_FILE
  365.   if test 3508 -ne `wc -c <'for_programmers.txt'`; then
  366.     echo shar: \"'for_programmers.txt'\" unpacked with wrong size!
  367.   fi
  368.   # end of 'for_programmers.txt'
  369. fi
  370. if test -f 'kid_200.fnt' -a "${1}" != "-c" ; then 
  371.   echo shar: Will not clobber existing file \"'kid_200.fnt'\"
  372. else
  373.   echo shar: Extracting \"'kid_200.fnt'\" \(1483 characters\)
  374.   sed "s/^X//" >'kid_200.fnt' <<'END_OF_FILE'
  375. XP1;0;1;4;1;1;{.A
  376. X;???}/???D
  377. X;??F??F/
  378. X;?G{GG{G/?B@@B@
  379. X;?KYQ~qc/??ECNCF
  380. X;?DD`XF@/??E@ADF
  381. X;?[cg}__/???E@
  382. X;??CA@/
  383. X;??wE@/??BK
  384. X;???@Ew/????KB
  385. X;?OUwwSQ/?A@?@A
  386. X;?OOO{OO/????@
  387. X;/??CB
  388. X;?OOOOOO/
  389. X;/???B
  390. X;???_WE@/??E@
  391. X;?{A@@@}/?@ACCA@
  392. X;???yF/???F
  393. X;?@@@@a[/??EECFCC
  394. X;?E@PPRk/?ACCCCB
  395. X;?^OOO{R/????F
  396. X;?MHHHHp/?BCCCCB
  397. X;?}PHHHq/?BCCCCB
  398. X;?@@@`XF/????F
  399. X;??eXPlA/??BCCCB
  400. X;?MPPxE@/???F
  401. X;???W/???B
  402. X;???W/??CB
  403. X;??OkB/???@E
  404. X;?gggggg/
  405. X;???BkO/???E@
  406. X;?E@`PHE/???D
  407. X;?}pLDl}/?FCDDDC
  408. X;?{A@@@}/?@ECCEFC
  409. X;?B}QPPm/CE@ACCB
  410. X;wCA@@@A/?@ACCCC
  411. X;GC}@@Ew/?CBACE@
  412. X;?IuTTDA/?BCCCCCC
  413. X;APPq^Pp/ACCB
  414. X;Cd^CEB~/CBACCABC
  415. X;EDpMGwN/?F???BEC
  416. X;?oO_?~/?@ECABC
  417. X;???}@B{/??GDEKFC
  418. X;B@FwoGE/?CA@?@AC
  419. X;OGE|B/?EIJECGC
  420. X;B{CJCA~/F?????BC
  421. X;CA~CB@~/?F???BCC
  422. X;?{A@NH}C/?@ECCE@
  423. X;CB~Sb`^/?F
  424. X;ADF@@a[/?CIECFCC
  425. X;CA~Sa`]/?F???FCC
  426. X;?_EhPhE/CE@ACCBC
  427. X;Ad`AqM@@/?BCCB
  428. X;ADxE??{A/??FCCCB
  429. X;ADFw?oM@/???@E@
  430. X;^ooKoa[/?F@?F@
  431. X;?BAkoKB/?CB??BCC
  432. X;ADxE??{A/??FCKKFC
  433. X;ADxE/??B@LLEC
  434. X;?wF@@/?NGG
  435. X;?AKo/????BK
  436. X;????@@~/???GGM@
  437. X;??KB@EG/
  438. X;/?CCCCCC
  439. X;???B/
  440. X;??_OOO_/CBACCCBC
  441. X;?]}OOO_/CB?CCCBC
  442. X;??_OOOo/CB@ACCCC
  443. X;??_OO~^/CBCCCBEC
  444. X;???_OO_/CCABEDCC
  445. X;??]`b[/CA@NLACC
  446. X;??_OOO_/CA@IKCNC
  447. X;?MxVO_/CAF???FC
  448. X;?????s/CCAA@@AC
  449. X;????_s/CCILCNCC
  450. X;?MxfOOo/CAF?@BCC
  451. X;????}pM/CCAA@BCC
  452. X;o_OoOOo/B??B??BC
  453. X;??ooOO_/CBCB??BC
  454. X;??_ooO__/CA@ACDB
  455. X;??_OOO_/CNABCEDC
  456. X;??_OOO_/CA@AANLC
  457. X;?Ogw__/CA@??FCC
  458. X;???_OO_/CABCCADC
  459. X;??GGwMG/CCAA@BEC
  460. X;??o???o/CA@ECABC
  461. X;??o??Oo_/CABCCB
  462. X;o??_??o/BCCBCCBC
  463. X;?_Oo?_O/B?CB@ACC
  464. X;???o??o/CA@JKANC
  465. X;?o/B?@AHLEC
  466. X;??oKA@/???FG
  467. X;???wF/???N
  468. X;????@mO/???GE@
  469. X;A@@AACCA/
  470. X\).A
  471. END_OF_FILE
  472.   if test 1483 -ne `wc -c <'kid_200.fnt'`; then
  473.     echo shar: \"'kid_200.fnt'\" unpacked with wrong size!
  474.   fi
  475.   # end of 'kid_200.fnt'
  476. fi
  477. if test -f 'kid_300.fnt' -a "${1}" != "-c" ; then 
  478.   echo shar: Will not clobber existing file \"'kid_300.fnt'\"
  479. else
  480.   echo shar: Extracting \"'kid_300.fnt'\" \(2580 characters\)
  481.   sed "s/^X//" >'kid_300.fnt' <<'END_OF_FILE'
  482. XP1;0;1;15;1;2;12;0;{.A
  483. X;??????{{/??????JJ
  484. X;?????FJ??FJ/
  485. X;??OowWOOOowWO/?AEFBAAAEFBA
  486. X;??W[scc}}ccKG/???CKGG^^GHHNE
  487. X;?KIIIEAaqYMEA/???GKEB@CMIIMC
  488. X;?owGGWOo{K/???@@@LNB@@@@
  489. X;??????JF/
  490. X;????owKEA/????FNWO
  491. X;??????AEKwo/???????OWNF
  492. X;?__ckwoowkc__/??CEB@?@BEC
  493. X;??_____ww_____/???????BB
  494. X;/??????k[
  495. X;??____________/
  496. X;/??????KK
  497. X;???????_oWKEA/???GKEB@
  498. X;?owKCEAAAAAE{w/?@BEKGGGGGKEB@
  499. X;?????Cs}M/?????MN@
  500. X;?CAAAAAAAAC{w/???KKKKGGKNJGGG
  501. X;?GKEAAaaaae{W/??CKGGGGGGGLFA
  502. X;?W}e______w}e_/????????MN@
  503. X;?[[UQQQQQQQqa/?AECKGGGGGGKFB
  504. X;?w{eaqQQQQUsc/?BFCKGGGGGGKFB
  505. X;??AAAAAAAaqYME/???????KNB
  506. X;????K]qaaQYMD@/???AFLGGGHNE
  507. X;???W{eaaaaq]KAA/???????KNB
  508. X;??????oo/??????EE
  509. X;??????oo/??????UM
  510. X;????_oWKEA/?????@BEKG
  511. X;??OOOOOOOOOOO/??@@@@@@@@@@@
  512. X;?????AEKWo_/?????GKEB@
  513. X;??KMAAAAaaq]K/?????IJ@@
  514. X;?o{KaqYIIIY}{W/?FNKHJIIIIJHH
  515. X;?_oWKCEAAAE{{G/?@BEKKGGGGKFNGG
  516. X;?CEa{}aaaaau[G/??KNFCGGGGGLFA
  517. X;??_oWKCEAAAAMK/??@BEKKGGGGGGGG
  518. X;?OW{{EAAECKWo_/??GNFCKGGGKMB@
  519. X;?CCW{kiiiEC/??EFLGGGGGGGGGG
  520. X;CIIImeacc{}aaaA/?ACCGGGMF@?AB@
  521. X;GMI}}GGGKCEA}{/GKFBCCGGGGCFB
  522. X;KIIEa}[OOOo{]A/???MN@????FFKGG
  523. X;???___???{}A}{/???@BEKGGKFBFLG
  524. X;?????w{EAAEKwo/????Opjik{WKNJG
  525. X;?CEAM{o__OOGKC/???GKFB?@BECKGG
  526. X;?_oOK}yEE/??K[S^FCKGWOOGG
  527. X;GKEq}]GCUYKCq}M/?GMN@??????ENHG
  528. X;GKEq}]GCEAAq}K/?GMN@?????ENHGG
  529. X;?owKCEAI]UQU{wG/?@BEKGGGGGKEB@
  530. X;GKEq}MgcEAAa}[/?GMN@??@@@@@
  531. X;?KIIMEAAAAC{w/?G[SSKKGGKNJGGG
  532. X;GKEq}MGCEAAa}[/?GMN@??@@FNHGGG
  533. X;????KMQQaq}K/GGLDAADLGGHNE
  534. X;CIIEAACCc{[EAAA/?BFDHGGMF@
  535. X;CIIEq}K?????o{K/???ENHGGGGGMF@
  536. X;CIMAM{o???_w[EA/??????BNKEB@
  537. X;?E}w_?_oWw_?C{w/???BNMB@?@NMBB
  538. X;?CEACKWo_OWKEA/??GKEB@?@BEKGGG
  539. X;CIIEq}K?????o{K/???ENHgwwgw]NHG
  540. X;CIIEq}K/???ENLcqyiy]KGG
  541. X;??o}MAAA/?]^POO
  542. X;??CKWo_/??????@BEKWO
  543. X;?????????AAa}]/???????OOO[^B
  544. X;???OWKEAAEKWO/
  545. X;/??GGGGGGGGGGGG
  546. X;??????FJ/
  547. X;?????_______/GKEBFLGGGGLFFKG
  548. X;?W{e}k_____/GKEBFKGGGGLFA
  549. X;?????________/GKEBBFDGGGGGHHG
  550. X;?????____{}a}[/GKEBNLGGGKFFLGG
  551. X;???????_____/GGGGGEFDKMIJHGG
  552. X;????w{EAE{w/GGCCA^~ar\CKGGG
  553. X;?????_______/GKCABFTwwgk^^GG
  554. X;??[}qymc___/GGKENF????@FMGG
  555. X;?????????gg/GGGGCCCAAFFCKGG
  556. X;????????_gg/GGGCSyyhh^^GGGG
  557. X;??[}qyMc_____/GGKENF@BAAELHGG
  558. X;???????w{Ea}[/GGGCCCCABFFLGGG
  559. X;??___?___?___/GNF?NN@?FF??FNG
  560. X;????________/GKEBHMF@??ENHGG
  561. X;?????_______/GGCEBFDGHHINFA@
  562. X;?????_______/GG]~d^EKGGKNJGG
  563. X;?????_______/GKEB@BECC[}nzgG
  564. X;??_oOoo/GKCFB@@@@DNJGGG
  565. X;????????____/GKCAEMJHHKCNJGG
  566. X;??????OOo{[OOO/GGGGCCCABFECKGG
  567. X;????__?????__/GGCFBFKGGCEBFKG
  568. X;????__????___/GGCFBNGGGCEB@@@
  569. X;???__??????__/GGKFFKGNFKGNFKG
  570. X;?????____??___/GKEB@HGCFBBCCGG
  571. X;?????___????__/GKEB@FV{wgk]^HG
  572. X;????__/GKEB@FNGs}i{GGG
  573. X;???__OWKEAA/????@N]OOO
  574. X;??????o}M/?????]^@
  575. X;???????AAM[o__/?????OOO[MB@
  576. X;?CCAAACCGGGCC/
  577. X\).A
  578. END_OF_FILE
  579.   if test 2580 -ne `wc -c <'kid_300.fnt'`; then
  580.     echo shar: \"'kid_300.fnt'\" unpacked with wrong size!
  581.   fi
  582.   # end of 'kid_300.fnt'
  583. fi
  584. if test -f 'large_200.fnt' -a "${1}" != "-c" ; then 
  585.   echo shar: Will not clobber existing file \"'large_200.fnt'\"
  586. else
  587.   echo shar: Extracting \"'large_200.fnt'\" \(1442 characters\)
  588.   sed "s/^X//" >'large_200.fnt' <<'END_OF_FILE'
  589. XP1;0;1;4;1;1;{.A
  590. X;????~/????D
  591. X;?CA@CA@/
  592. X;?c}cc}c/??@??@
  593. X;GSS}SS_/?AAFAA@
  594. X;CIcOGe/?B??@A@
  595. X;?Wccg}_/?????B
  596. X;?GKFB/
  597. X;???{A@/???BCG
  598. X;??@A{/??GCB
  599. X;g_o{o_g/A?@F@?A
  600. X;??__w__/????B
  601. X;/??GME
  602. X;?______/
  603. X;/???EE
  604. X;???_wMB/?GMB
  605. X;?{AaYE{/?BEDCCB
  606. X;???C}/??CCFCC
  607. X;?cQQQQM/?FCCCCE
  608. X;?CQQQQ}/?ECCCCF
  609. X;?]OOOO}/?????CF
  610. X;?}QQQQs/?ACCCCF
  611. X;?}QQQQc/?BCCCCF
  612. X;?EAAqIE/??CB
  613. X;?kQQQQm/?BCCCCB
  614. X;?KQQQQ{/?ACCCCF
  615. X;???WW/???EE
  616. X;???WW/??GME
  617. X;??oGCA/???@AC
  618. X;?OOOOOO/?@@@@@@
  619. X;??ACGo/??CA@
  620. X;?A@pHHE/???D
  621. X;?{AyIA{/?BCDDD@
  622. X;?o[QQ[o/?FC???F
  623. X;?}QQQQk/?FACCCF
  624. X;?{AAACG/?BCCCCE
  625. X;?}AAACw/?FCCCCB
  626. X;?}QQQQC/?FCCCCC
  627. X;?}QQQQC/?F
  628. X;?{AAQQs/?BCCCCF
  629. X;?}QOOO}/?F????F
  630. X;??AA}AA/??CCFCC
  631. X;?EAA}AA/?ACCB
  632. X;?}QOgCA/?F???BC
  633. X;?}A/?FCCCCC
  634. X;?}AKGE}/?FC???F
  635. X;?}AKoA}/?FC??BF
  636. X;?{AAAA{/?BCCCCB
  637. X;?}QQQQK/?FC
  638. X;?{AAACw/?@ACDEF
  639. X;?}QQQqK/?F???CF
  640. X;?KQQQQc/?ACCCCB
  641. X;?EAA}AA/???CFC
  642. X;?}???}/?BCCCFC
  643. X;?}A???}/?@ACCA@
  644. X;?}A???}/?FCA@AF
  645. X;?EIooGE/?E@??@E
  646. X;AEIoGCA/???F
  647. X;?EAaQIE/?EDCCCC
  648. X;???~@@@/???NGGG
  649. X;BMw_/???BMG
  650. X;?@@@~/?GGGN
  651. X;?CA@AC/
  652. X;/?GGGGGG
  653. X;???BFKG/
  654. X;?_OGGOw/?@ACCAF
  655. X;?}OGGO_/?FACCA@
  656. X;?_OGGGo/?@ACCCA
  657. X;?_OGGO}/?@ACCAF
  658. X;?_Ogggo/?@ACCCC
  659. X;?O{QQAC/??F
  660. X;?_OGGOw/?HIIIIF
  661. X;?}OGGGo/?F???CF
  662. X;???y/???F
  663. X;?????y/?CGGGF
  664. X;?}_OG/?F?@AC
  665. X;???A}/????F
  666. X;?GwGwGw/??F??CF
  667. X;?GoOGGo/??F??CF
  668. X;?_OGGO_/?@ACCA@
  669. X;?wOGGO_/?NACCA@
  670. X;?_OGGOw/?@ACCAN
  671. X;?wOGGGO/?F
  672. X;?Ogggg/?ACCCCB
  673. X;?GG}GG/???F
  674. X;?wG???w/?BCCCAF
  675. X;?Wg??_W/??@EE@
  676. X;?wG???w/?FCEBCF
  677. X;?GO_?OG/?CA?@AC
  678. X;?W_???w/?GGDA@
  679. X;?WGGGgW/?CEDCCE
  680. X;?OgE@@/???FGG
  681. X;???~/???N
  682. X;??@@EgO/??GGF
  683. X;CA@EGCA/
  684. X\).A
  685. END_OF_FILE
  686.   if test 1442 -ne `wc -c <'large_200.fnt'`; then
  687.     echo shar: \"'large_200.fnt'\" unpacked with wrong size!
  688.   fi
  689.   # end of 'large_200.fnt'
  690. fi
  691. if test -f 'makefile.UNIX' -a "${1}" != "-c" ; then 
  692.   echo shar: Will not clobber existing file \"'makefile.UNIX'\"
  693. else
  694.   echo shar: Extracting \"'makefile.UNIX'\" \(301 characters\)
  695.   sed "s/^X//" >'makefile.UNIX' <<'END_OF_FILE'
  696. X# NOTE: please read README.FIRST before using FED, ESPECIALLY if you are
  697. X#       planning to use it on a VT220 terminal!
  698. X#
  699. X# This is a UNIX makefile.  It will only work on the SUN/OS system.
  700. X#
  701. X#
  702. Xcc = cc
  703. X
  704. Xfed2:        fed2.c shift.c fed2.h shift.h escape.h
  705. X        $(cc) -o fed2 fed2.c shift.c -lcurses -ltermcap
  706. X
  707. END_OF_FILE
  708.   if test 301 -ne `wc -c <'makefile.UNIX'`; then
  709.     echo shar: \"'makefile.UNIX'\" unpacked with wrong size!
  710.   fi
  711.   # end of 'makefile.UNIX'
  712. fi
  713. if test -f 'makefile.VAX' -a "${1}" != "-c" ; then 
  714.   echo shar: Will not clobber existing file \"'makefile.VAX'\"
  715. else
  716.   echo shar: Extracting \"'makefile.VAX'\" \(1261 characters\)
  717.   sed "s/^X//" >'makefile.VAX' <<'END_OF_FILE'
  718. X# NOTE: please read README.FIRST before using FED, ESPECIALLY if you are
  719. X#       planning to use it on a VT220 terminal!
  720. X#
  721. X# This is a VAX makefile.  It will only work on the VAX/VMS system.
  722. X# if you do not have make installed on your local vax system, you can
  723. X# compile fed with the following commands (issued in order)
  724. X#
  725. X# cc fed2
  726. X# cc shift
  727. X# link fed2,shift,o/opt
  728. X#
  729. X# you need to setup fed2.0 as a symbol for it to work properly.
  730. X#
  731. Xcc = cc
  732. Xlink = link
  733. X
  734. Xall : fed2.exe
  735. X
  736. Xfed2.exe:           fed2.obj shift.obj o.opt
  737. X                    write sys$output "linking..."
  738. X                    $(link) fed2.obj,shift.obj,o/opt
  739. X                    write sys$output "cleaning up..."
  740. X                    delete *.obj;*
  741. X                    purge *.exe
  742. X                    write sys$output "Fed Version 2.0 compiled sucessfully..."
  743. X                    fed2 == "$"+f$environment("DEFAULT")+"fed2.exe"
  744. X                    write sys$output "and defined as fed2"
  745. X                    purge/noconfirm
  746. X
  747. Xfed2.obj:           fed2.c escape.h fed2.h
  748. X                    write sys$output "compiling fed.c"
  749. X                    $(cc) fed2.c/obj
  750. X
  751. Xshift.obj:          shift.c escape.h shift.h
  752. X                    write sys$output "compiling shift.c"
  753. X                    $(cc) shift.c/obj
  754. END_OF_FILE
  755.   if test 1261 -ne `wc -c <'makefile.VAX'`; then
  756.     echo shar: \"'makefile.VAX'\" unpacked with wrong size!
  757.   fi
  758.   # end of 'makefile.VAX'
  759. fi
  760. if test -f 'newchar_300.fnt' -a "${1}" != "-c" ; then 
  761.   echo shar: Will not clobber existing file \"'newchar_300.fnt'\"
  762. else
  763.   echo shar: Extracting \"'newchar_300.fnt'\" \(2603 characters\)
  764.   sed "s/^X//" >'newchar_300.fnt' <<'END_OF_FILE'
  765. XP1;0;1;15;1;2;12;0;{.A
  766. X;??????}}}/??????JJJ
  767. X;??GKMEA?GKMEA/
  768. X;??GG{{{GG{{{GG/??@@BBB@@BBB@@
  769. X;??Owgg{{{gggG/???CCCNNNCCFFB
  770. X;??G[S[G_ow[KC/???GKMFB@CMIMC
  771. X;??owGGGWo{{/???@@@@@@FF@@@
  772. X;??OOWYMMEE/
  773. X;?????ow{CAA/?????BFNGOO
  774. X;?????AAC{wo/?????OOGNFB
  775. X;??OOO__ww__OOO/?@DDDBBMMABDDD@
  776. X;???????oo/???@@@@FF@@@@
  777. X;/??__os[[KK
  778. X;/??@@@@@@@@@@@@
  779. X;/?????KKKKK
  780. X;???????_ow[MEA/??OW[MFB@
  781. X;??ow{KCcs{[{wo/??BFNMNJHGKNFB
  782. X;?????GG{{{/???KKGGNNNGGKK
  783. X;??GKccccccc{{W/??NNNGGGGGGKKK
  784. X;??GKccccccc{{W/??KKGGGGGGGNNF
  785. X;??{{{_____{{{_/??????????NNN
  786. X;??{{{cccccckkK/??DLLGGGGGGNNF
  787. X;??w{{cccccckkG/??FNNGGGGGGNNF
  788. X;??KKCCCCcs{[KC/????GKMFB@
  789. X;??W{{cccccc{{W/??FNNGGGGGGNNF
  790. X;??W{{cccccc{{w/??CKKGGGGGGNNF
  791. X;?????ooooo/?????KKKKK
  792. X;?????ooooo/??__os[[KK
  793. X;???__oOWGKCC/???@@BAECKGG
  794. X;??____________/??AAAAAAAAAAAA
  795. X;???CCKGWOo__/???GGKCEAB@@
  796. X;??CEEAaqqQYMMC/??????JJJ
  797. X;?ow{KcsSscK{wo/?BFNKHJIJJIJB@
  798. X;???_ow{kk{wo_/??NNNG????GNNN
  799. X;??{{{gccccc{WW/??NNNCGGGGGNNF
  800. X;??w{{CCCCCK[WO/??FNNGGGGGGKKC
  801. X;??{{{CCCCK[wo_/??NNNGGGGGKNFB
  802. X;??{{{cccccckGG/??NNNGGGGGGGGG
  803. X;??{{{cccccckGG/??NNN
  804. X;??w{{CCCcckkg_/??FNNGGGHHGNNF
  805. X;??{{{c____c{{{/??NNNG????GNNN
  806. X;???KKCC{{{CCKK/???KKGGNNNGGKK
  807. X;???CCCC{{{CCKK/??CKGGGNNF
  808. X;??{{{?_ow[KC/??NNNB@@BFMKG
  809. X;??{{{C/??NNNGGGGGKKK
  810. X;??{{{GWooWG{{{/??NNNG????GNNN
  811. X;??{{{[wo_?C{{{/??NNNG?@BFMNNN
  812. X;??ow{KCCCCK{wo/??BFNKGGGGKNFB
  813. X;??{{{cccccc{[W/??NNNG
  814. X;??ow{KCCCCK{wo/??BFNKGJNMK^~r
  815. X;??{{{cccccc{[W/??NNNG???HNNM
  816. X;??W{{cccccccKG/??CKKGGGGGGNNF
  817. X;???KKCC{{{CCKK/??????GNNNG
  818. X;??{{{C?????{{{/??BFNKGGGGGNNNG
  819. X;??{{{C????C{{{/???@BFMKKMFB@
  820. X;??{{{C????C{{{/??NNNCEBBECNNN
  821. X;??CK[wo__ow[KC/??GKMFB@@BFMKG
  822. X;??CK[wo_ow[KC/?????GNNNG
  823. X;??GKKCCccs[[KC/??GKMMJHHGGGKK
  824. X;?????{}}AAAAA/?????N^^OOOOO
  825. X;??AEM[wo_/???????@BFM[WO
  826. X;???AAAAA}}{/???OOOOO^^N
  827. X;???OW[MEEM[WO/
  828. X;/??OOOOOOOOOOOO
  829. X;?????EEMMYWOO/
  830. X;???_ooOOOo_ooo/??BFNKGGGKCNNN
  831. X;??{{{_oOOOoo_/??NNNCKGGGKNFB
  832. X;???_ooOOOOoo_/??BFNKGGGGGLLD
  833. X;???_ooOOOo_{{{/??BFNKGGGKCNNN
  834. X;???_ooOOOOOoo_/??BFNLHHHHHLLD
  835. X;??__w{{cccKKG/????NNN
  836. X;???_ooOOOo_ooo/??bfnkgggkc~~^
  837. X;??{{{_oOOOoo_/??NNNG????GNNN
  838. X;?????OsssO/?????GNNNG
  839. X;????????OsssO/??Ooo___o~^N
  840. X;??{{{C?__oOO/??NNNH@BAECKGG
  841. X;????CC{{{/???GGGNNNGGG
  842. X;??oooOOooOOoo_/??NNNG?@@?GNNN
  843. X;??ooo_oOOOoo_/??NNN?????GNNN
  844. X;???_ooOOOOoo_/??BFNKGGGGKNFB
  845. X;??ooo_oOOOoo_/??~~~cKGGGKNFB
  846. X;???_ooOOo_oooO/??BFNKGGKC~~~_
  847. X;??ooo_oOOOoo_/??NNNG?????@@@
  848. X;??_ooOOOOOOOO/??CLLHHHHHHNME
  849. X;??OOOO{{{OOOO/?????GNNNG
  850. X;??oooO????ooo/??FNNKGGKMFNNG
  851. X;??oooO????Oooo/???@BFMKKMFB@
  852. X;??oooO????Oooo/??NNNGKEEMGNNF
  853. X;??OOo__??__oOO/??GGKCFBBFCKGG
  854. X;??ooo??????ooo/??_`bf}[[MFB@
  855. X;??ooOOOOOOoooO/??GGKKMIJHHGKK
  856. X;??__o{[MAAA/????@NN]OOO
  857. X;??????}}}/??????^^^
  858. X;??AAAM[{o__/??OOO]NN@
  859. X;?GKMEAEM[WOW[KC/
  860. X\).A
  861. END_OF_FILE
  862.   if test 2603 -ne `wc -c <'newchar_300.fnt'`; then
  863.     echo shar: \"'newchar_300.fnt'\" unpacked with wrong size!
  864.   fi
  865.   # end of 'newchar_300.fnt'
  866. fi
  867. if test -f 'readme.first' -a "${1}" != "-c" ; then 
  868.   echo shar: Will not clobber existing file \"'readme.first'\"
  869. else
  870.   echo shar: Extracting \"'readme.first'\" \(6073 characters\)
  871.   sed "s/^X//" >'readme.first' <<'END_OF_FILE'
  872. XFed 2.0 by Richard Wicks @ the University at Buffalo, NY.
  873. X
  874. XFiles you should have (skip this if you want):
  875. X
  876. XPrograms:
  877. X  Fed2.0 :    fed2.c           Convert: Convert.c
  878. X              shift.c                   (o.opt)
  879. X              escape.h
  880. X              fed2.h
  881. X              shift.h
  882. X              (o.opt)
  883. X
  884. X Info files:  README_FIRST.txt
  885. X              for_programmers.txt
  886. X
  887. X Example files:  *.fnt  (there are plenty)
  888. X
  889. XConvert.c is a conversion program to convert font files to 220 terminals
  890. X          to 320 terminals and vice-versa.  Read the header for more info.
  891. X          On vax it must be setup as a symbol to work properly.
  892. X
  893. X          Now on to the more important parts:
  894. X
  895. X- ---------- Please read everything (or most of it) below this line ----------
  896. X
  897. XWHAT is FED?
  898. X
  899. X   Many people do not know that their VT220 or VT320 terminal will allow you
  900. X   to program the font.  This is useful if you dislike the default font or
  901. X   would like to write game or productivity programs that take full advantage
  902. X   of the terminal's capabilities.  Unfortunately it is very tedious and
  903. X   difficult to program a font by hand, that is why I wrote this FED.
  904. X
  905. X   This program will create a font and write it to a file.  In order to view
  906. X   the file, you need only to type it to the screen.  You must be in VT320 or
  907. X   VT220 mode or the escape sequence cannot be interpreted.  Likewise, you must
  908. X   be in one of these modes in order to use FED.
  909. X
  910. X   enjoy.
  911. X
  912. XTechnical info:
  913. X
  914. XFED is a font editor designed for use with Digital VT320 and 220 terminals.
  915. XThe program has been tested on VMS 5.2-2 as well as Unix System 7 with the
  916. Xcc complier (under VMS) and cc and gcc (under UNIX).  There are several example
  917. Xfiles included in the VMS_SHARE package (or tar file).  To view them use
  918. X"type filename.ext" on VMS or "cat filename.ext" on Unix.  NOTE: you must be
  919. Xon a 320 or 220 in 320 mode or 220 mode (respectively) to view the fonts.
  920. X320 fonts cannot be viewed on 220's.
  921. X
  922. XThis latest version is 2.0 and is significantly improved over the original
  923. Xprogram.  VT220 terminals are now supported and several features have been
  924. Xadded.  FED 2.0 (unlike FED 1.0) will compile under unix with gcc or cc and
  925. Xthe code is much more logical (although it is still a mess).  The program is
  926. Xself explanatory since there is ample on-line help.  I have made several fonts
  927. Xfor both games and productivity and I believe I have added every feature that
  928. Xa programmer and/or user would find useful.
  929. X
  930. XAnother vast improvement: This version of fed can (in most cases) read fonts
  931. X                          that have been created by other programs and/or
  932. X                          users.  However, this comes with limitations.  Read
  933. X                          the file FOR_PROGRAMMERS.TXT for more information
  934. X                          on how sixels bit fonts work before working on
  935. X                          pre-existing fonts!  If you don't do this, it is quite
  936. X                          possible you will make your pre-existing font
  937. X                          unreachable by the program that uses it.
  938. X
  939. XAfter you have compiled FED, used fed -h to get a list of switches.  These
  940. Xare pretty much self explanatory too.  UNIX USERS: you probably don't know
  941. Xwhat a journal file is:  a journal file is just a record of all the keys you
  942. Xpressed.  If you are disconnected from your session while using FED, used
  943. Xfed -r (filename) to have the computer re-trace all your steps.  This is a bit
  944. Xslow sometimes, but it is quite worth it, besides, it's neat to watch!
  945. X
  946. XNOTE TO 220 USERS:  According to the DEC VT220 Programmer Pocket Guide the 
  947. X                    largest font you can make is 7 columns x 10 rows.
  948. X                    This is NOT true.  The largest you can make is 10 x 10
  949. X                    HOWEVER (please take notice of this) you can only control
  950. X                    7 INDIVIDUAL pixels in each row.  If pixel 8 is turned on
  951. X                    pixel 9 and 10 are also turned on, likewise, if pixel 8 is
  952. X                    off pixel 9 and 10 are also off.  I haven't a clue as to why
  953. X                    digital did this, but they did.
  954. X
  955. XNOTE: journal files created with FED 1.0 are NOT compatible with FED 2.0 since
  956. X      I have changed some of the keys.  Also note that if you used the -f
  957. X      switch with FED 1.0 on a file, FED 2.0 will not be able to read it.  To
  958. X      work your way around this bug, do this:
  959. X
  960. X        load up the font with the old version of Fed WITHOUT the -f switch and
  961. X        save the font.  The font will now be readable by FED 2.0
  962. X
  963. XOther miscellaneous info:
  964. X
  965. X      I have defined my own file types.  The default extension for a font file
  966. X      if .fnt and the extension name of the journal file is .fjl (font journal)
  967. X      Another nice thing I have changed, I made a routine to write out the
  968. X      smallest file needed, the fed2.0 files are not at all compatible with 
  969. X      fed1.0!  If you plan to keep on using Fed1.0, be aware that files created
  970. X      with fed2.0 can be read by fed1.0 if you you use the -f switch in fed2.0.
  971. X
  972. X      FED was created on a Digital VMS system.  In your face SUN users!
  973. X      If you like this program and use it please let me know.  You may reach
  974. X      me at my email address of MASRICH@ubvms.cc.buffalo.edu.
  975. X
  976. X      I will update FED 2.0 to work with 420 terminals if there is any
  977. X      significant interest shown and/or make it completely compatible with
  978. X      all existing fonts for 220's and 320's.
  979. X
  980. X      Please feel free to change the code to suit your needs.  This program
  981. X      is hereby declared public domain, and you can use it as you will.  All
  982. X      I ask is that this file remain intact with the program.
  983. X
  984. X      Also, please distribute this program.  If you make changes to FED please
  985. X      send me the code, I would like to be able to look at it.  Thank you.
  986. X
  987. X- -----------------------------------------------------------------------------
  988. X
  989. XDisclaimer: FED comes with no warranty and cannot be guaranteed to work on any
  990. X            other terminal other than a Digital terminal.  Actually, it cannot
  991. X            be guaranteed to work at all!
  992. END_OF_FILE
  993.   if test 6073 -ne `wc -c <'readme.first'`; then
  994.     echo shar: \"'readme.first'\" unpacked with wrong size!
  995.   fi
  996.   # end of 'readme.first'
  997. fi
  998. if test -f 'shift.h' -a "${1}" != "-c" ; then 
  999.   echo shar: Will not clobber existing file \"'shift.h'\"
  1000. else
  1001.   echo shar: Extracting \"'shift.h'\" \(173 characters\)
  1002.   sed "s/^X//" >'shift.h' <<'END_OF_FILE'
  1003. Xvoid shift_left ();
  1004. Xvoid shift_right ();
  1005. Xvoid shift_up ();
  1006. Xvoid shift_down ();
  1007. Xvoid erase_char ();
  1008. Xvoid toggle_bits ();
  1009. Xvoid import_char ();
  1010. Xvoid flip_y ();
  1011. Xvoid flip_x ();
  1012. END_OF_FILE
  1013.   if test 173 -ne `wc -c <'shift.h'`; then
  1014.     echo shar: \"'shift.h'\" unpacked with wrong size!
  1015.   fi
  1016.   # end of 'shift.h'
  1017. fi
  1018. if test -f 'simplesse_300.fnt' -a "${1}" != "-c" ; then 
  1019.   echo shar: Will not clobber existing file \"'simplesse_300.fnt'\"
  1020. else
  1021.   echo shar: Extracting \"'simplesse_300.fnt'\" \(2568 characters\)
  1022.   sed "s/^X//" >'simplesse_300.fnt' <<'END_OF_FILE'
  1023. XP1;0;1;15;1;2;12;0;{.A
  1024. X;?????{{{/?????DDD
  1025. X;???[[[???[[[/
  1026. X;?OO{{{OOO{{{OO/?@@FFF@@@FFF@@
  1027. X;OOwgg{{{gggg/??AAAFFFAAAB@@
  1028. X;GG[S[ggoOWGKCC/CEAB@@?AAFDFAA
  1029. X;WW{cccc{WW/BBFCCCCDDFAFDD
  1030. X;????OOKKCC/
  1031. X;?oowGKCC/?@@BAECC
  1032. X;???????CCKGwoo/???????CCEAB@@
  1033. X;_ggwoo__oowgg_/?AAB@@??@@BAA
  1034. X;_____www______/?????BBB
  1035. X;/????GKEEAA
  1036. X;______________/
  1037. X;/??????EEEE
  1038. X;????????__oOWG/GGKCEAB@@
  1039. X;owwKCCCCCCKwwo/@BBECCCCCCEBB@
  1040. X;?OOWG{{{/?CCCCFFFCCCC
  1041. X;GGKCCcccccc{WW/EFFDDDCCCCCCCC
  1042. X;CCCCCccss{kkCC/AAECCCCCCCCFBB
  1043. X;?__oOWGK{{/@@@@@@@@FF@@@@
  1044. X;{{{csSSSSSSscc/AAECCCCCCCCFBB
  1045. X;oowGkccccccc/BBFDCCCCCCCFBB
  1046. X;CCCCCCCccsS[KK/???EEF@@
  1047. X;WW{cccccccc{WW/BBFCCCCCCCCFBB
  1048. X;WW{ccccccsS[ww/??CCCCCCCEAB@@
  1049. X;??????WWWW/??????EEEE
  1050. X;??????WWWW/????GKEEAA
  1051. X;___oOOWGGKCCC/???@@@BAAECCC
  1052. X;OOOOOOOOOOOOOO/@@@@@@@@@@@@@@
  1053. X;CCCKGGWOOo___/CCCEAAB@@@
  1054. X;GGKCCccsSSS[GG/?????DDD
  1055. X;ww{CccsSSsc{ww/BBFCCCDDDDCDDD
  1056. X;__oOWGKKGWOo__/FFF@@@@@@@@FFF
  1057. X;CC{{{cccccc{WW/CCFFFCCCCCCFBB
  1058. X;oowGKCCCCCCKGG/@@BAECCCCCCEAA
  1059. X;CC{{{CCCCKGwoo/CCFFFCCCCEAB@@
  1060. X;{{{cccccccCCCC/FFFCCCCCCCCCCC
  1061. X;{{{cccccccCCCC/FFF
  1062. X;oowGKCCCCCCKGG/@@BAECCCDDDFBB
  1063. X;{{{________{{{/FFF????????FFF
  1064. X;?CCCC{{{CCCC/?CCCCFFFCCCC
  1065. X;???????CC{{{CC/AAECCCCCCFBB
  1066. X;{{{_oOOWGGGKCC/FFF?@@@BAAAECC
  1067. X;{{{/FFFCCCCCCCCCCC
  1068. X;{{{GWOooOWG{{{/FFF????????FFF
  1069. X;{{{KWOo_???{{{/FFF????@@BAFFF
  1070. X;ww{CCCCCCCC{ww/BBFCCCCCCCCFBB
  1071. X;{{{cccccccc{WW/FFF
  1072. X;ww{CCCCCCCC{ww/BBFCCCCDDFAFDD
  1073. X;{{{cccccccc{WW/FFF????@@BAECC
  1074. X;WW{cccccccckGG/AAECCCCCCCCFBB
  1075. X;CCCCC{{{CCCCCC/?????FFF
  1076. X;{{{????????{{{/BBFCCCCCCCCFBB
  1077. X;CK[wo_??_ow[KC/????@BFFB@
  1078. X;{{{???__???{{{/BFFEEB@@BAEFFB
  1079. X;CCKGWOooOWGKCC/CCEAB@@@@BAECC
  1080. X;CCKGWOooOWGKCC/??????FF
  1081. X;CCCCCccsS[KKCC/CEEFDDCCCCCCCC
  1082. X;????{{{CCCCC/????FFFCCCCC
  1083. X;CCKGWOo__/????????@@BAEC
  1084. X;??CCCCC{{{/??CCCCCFFF
  1085. X;__oOWGKKGWOo__/
  1086. X;/CCCCCCCCCCCCCC
  1087. X;??????CKK[OO/
  1088. X;??OOOOOOOOOo__/AAFDDDDDDDFFFF
  1089. X;{{{_oOOOOOOo__/FFFAECCCCCCFBB
  1090. X;__oOOOOOOOOo__/BBFCCCCCCCCCCC
  1091. X;__oOOOOOOo_{{{/BBFCCCCCCEAFFF
  1092. X;__oOOOOOOOOo__/BBFDDDDDDDDD@@
  1093. X;____ww{cccCKGG/????FFF
  1094. X;__oOOOOOOo_oOO/II^TTTTTTTS[GG
  1095. X;{{{_OOOOOOOo__/FFF????????FFF
  1096. X;???OOsss/?CCCCFFFCCCC
  1097. X;???????OOsss/GGWOOOOOO^NN
  1098. X;{{{??__oOO/FFF@@BAAAECCCC
  1099. X;????C{{{/???CCFFFCC
  1100. X;oooO__?__oOoo_/FFF??BBB???FFF
  1101. X;ooo_oOOOOOOo__/FFF????????FFF
  1102. X;__oOOOOOOOOo__/BBFCCCCCCCCFBB
  1103. X;ooooOOOOOOOo__/^^^BAAAAAAAB@@
  1104. X;__oOOOOOOOoooo/@@BAAAAAAAB^^^
  1105. X;OOo__oOOOOOo__/??FFF
  1106. X;__oOOOOOOOOO/CCDDDDDDDDDFAA
  1107. X;??OOOO{{{OOOOO/??????BFFCCEAA
  1108. X;ooo??????ooo/BBFCCCCCCFBFCC
  1109. X;ooo????????ooo/??@@BAEEAB@@
  1110. X;ooo????????ooo/BBFEAB@BAACFBB
  1111. X;OOo__???__oOO/CCEAB@@@BAECC
  1112. X;ooo??????ooo/HHZQQQQRP^NN
  1113. X;OOOOOOOOooooOO/CCEEEFDDDCCCCC
  1114. X;??___gg{SSCCCC/?????AAFDDCCCC
  1115. X;?????{{{/?????FFF
  1116. X;??CCCCSS{gg___/??CCCCDDFAA
  1117. X;CEEB@BAECKGKCC/
  1118. X\).A
  1119. END_OF_FILE
  1120.   if test 2568 -ne `wc -c <'simplesse_300.fnt'`; then
  1121.     echo shar: \"'simplesse_300.fnt'\" unpacked with wrong size!
  1122.   fi
  1123.   # end of 'simplesse_300.fnt'
  1124. fi
  1125. if test -f 'uplow_200.fnt' -a "${1}" != "-c" ; then 
  1126.   echo shar: Will not clobber existing file \"'uplow_200.fnt'\"
  1127. else
  1128.   echo shar: Extracting \"'uplow_200.fnt'\" \(1406 characters\)
  1129.   sed "s/^X//" >'uplow_200.fnt' <<'END_OF_FILE'
  1130. XP1;0;1;4;1;1;{.A
  1131. X;???}/???A
  1132. X;??M??M/
  1133. X;?g}gg}g/??B??B
  1134. X;GSS}SS_/?@@B@@
  1135. X;CIcOGcA/A@??@A@
  1136. X;kQQQk?_/@AAAA@A
  1137. X;??GEA/
  1138. X;?wCA/??@A
  1139. X;????ACw/????A@
  1140. X;OSwOwSO/?@???@
  1141. X;OOO{OOO/???@
  1142. X;/??CB@
  1143. X;OOOOOOO/
  1144. X;/???BB
  1145. X;???_OGC/CA@
  1146. X;wCAAACw/?@AAA@
  1147. X;?GC}/?AABAA
  1148. X;CaaQQQK/BAAAAAA
  1149. X;AAAQYUa/@AAAAA@
  1150. X;_ogc}__/????B
  1151. X;]QIIIIq/@AAAAA@
  1152. X;wcQQQQ_/@AAAAA@
  1153. X;AAAaQIE/??B
  1154. X;kQQQQQk/@AAAAA@
  1155. X;KQQQQI{/?AAAA@
  1156. X;???KK/???BB
  1157. X;???KK/??CB@
  1158. X;O?g?C?A/????@?A
  1159. X;ggggggg/
  1160. X;A?C?g?O/A?@
  1161. X;CAAqIIC/???A
  1162. X;{AQiiQ{/@AAAAAA
  1163. X;?gggggo/@AAAABB
  1164. X;}OGGGGo/B@AAAA@
  1165. X;oGGGGGO/@AAAAAA
  1166. X;oGGGGO}/@AAAA@B
  1167. X;ogggggo/@AAAAA
  1168. X;OO{QQAC/??B
  1169. X;OggggOG/DIIIIIC
  1170. X;}OGGGGo/B?????B
  1171. X;??Gy/?AABAA
  1172. X;????Gy/CGGGGF
  1173. X;}__OG/B???@?A
  1174. X;??A}/??ABA
  1175. X;wGO_OGo/B??@??B
  1176. X;wOGGGGo/B?????B
  1177. X;oGGGGGo/@AAAAA@
  1178. X;wwGGGGo/N@@@@@
  1179. X;oGGGGww/?@@@@@N
  1180. X;GoOGGGO/?B
  1181. X;Oggggg/AAAAAA@
  1182. X;?GG}GGG/???@AA@
  1183. X;w????w/@AAAA@A
  1184. X;W_???_W/??@A@
  1185. X;w??_??w/@A@?@A@
  1186. X;GO__OG/A@??@A
  1187. X;w???_w/CHHHGF
  1188. X;GGGgWWG/ABBAAAA
  1189. X;??}AAA/??BAAA
  1190. X;ACGO_/?????@A
  1191. X;?AAA}/?AAAB
  1192. X;OGCACGO/
  1193. X;/AAAAAAA
  1194. X;???AEG/
  1195. X;ogcacgo/B?????B
  1196. X;A}QQQQk/ABAAAA@
  1197. X;wCAAAAC/?@AAAA@
  1198. X;A}AAACw/ABAAA@
  1199. X;}QQQQAA/BAAAAAA
  1200. X;}QQQQAA/B
  1201. X;wCAAaac/?@AAAA@
  1202. X;}OOOOO}/B?????B
  1203. X;?AA}AA/?AABAA
  1204. X;????A}A/@AAAA@
  1205. X;}OggCCA/B???@@A
  1206. X;}/BAAAAAA
  1207. X;}CGOGC}/B?????B
  1208. X;}CGO_?}/B????@B
  1209. X;{AAAAA{/@AAAAA@
  1210. X;}QQQQQK/B
  1211. X;{AAAaA{/@AAAA@A
  1212. X;}QQQqQK/B????@A
  1213. X;KQQQQQc/@AAAAA@
  1214. X;AAA}AAA/???B
  1215. X;}?????}/@AAAAA@
  1216. X;EW_?_WE/??@A@
  1217. X;}??o??}/@A@?@A@
  1218. X;ACgOgCA/A@???@A
  1219. X;ACGoGCA/???B
  1220. X;AAaQIEA/ABAAAAA
  1221. X;?OOSiAA/???@AAA
  1222. X;???}/???B
  1223. X;?AAiSOO/?AAA@
  1224. X;
  1225. X\).A
  1226. END_OF_FILE
  1227.   if test 1406 -ne `wc -c <'uplow_200.fnt'`; then
  1228.     echo shar: \"'uplow_200.fnt'\" unpacked with wrong size!
  1229.   fi
  1230.   # end of 'uplow_200.fnt'
  1231. fi
  1232. if test -f 'uplow_300.fnt' -a "${1}" != "-c" ; then 
  1233.   echo shar: Will not clobber existing file \"'uplow_300.fnt'\"
  1234. else
  1235.   echo shar: Extracting \"'uplow_300.fnt'\" \(2576 characters\)
  1236.   sed "s/^X//" >'uplow_300.fnt' <<'END_OF_FILE'
  1237. XP1;0;1;15;1;2;12;0;{.A
  1238. X;???????www/???????JJJ
  1239. X;????KKK???KKK/
  1240. X;??__ooo__ooo__/??CCNNNCCNNNCC
  1241. X;??__oOOwwOOO/????DDDNNDDFAA
  1242. X;??OwgwO?_oWG/????GKEB@CMIMC
  1243. X;????OwgggWO?__/??EFNHGGKFBMLH
  1244. X;?????GGKCC/
  1245. X;?????_owGCC/?????BFNGOO
  1246. X;?????CCGwo_/?????OOGNFB
  1247. X;???___?oo?___/???AAA@FF@AAA
  1248. X;???????ooo/???@@@@FFF@@@@
  1249. X;/????__oo[[KK
  1250. X;/????@@@@@@@@@
  1251. X;/??????KKKK
  1252. X;???????_ow[KC/??OW[MFB@
  1253. X;???_ooGGGGoo_/???BFFGGGGFFB
  1254. X;?????OOwww/????GGGNNNGGG
  1255. X;???OWGGGGGwoo/???GGKKMIJHHGG
  1256. X;??OOWGGGGGwoo/??CCKGHHHHNEE
  1257. X;????_oOGGwww/??ABBAAAANNNAA
  1258. X;???wwwGggggGG/???DDHHGGGLFFA
  1259. X;???_ooWGGGGG/???BFFMHHHHNEE
  1260. X;???GGGGGgwwW/????GKMFB@
  1261. X;???oowGGGGwoo/???EFNHHHHNFE
  1262. X;???oowGGGGwoo_/?????HHHHHKFFB
  1263. X;??????oooo/??????KKKK
  1264. X;??????oooo/??__oo[[KK
  1265. X;?????__oOWGG/???@@BAECKGG
  1266. X;???_________/???AAAAAAAAA
  1267. X;???GGWOo__/???GGKCEAB@@
  1268. X;???OOWGGGGwwo/??????IIJ@@
  1269. X;??ow{KCssS[{wo/??BFFKGHJIIJB@
  1270. X;?????______/???CMMIIIIFNNG
  1271. X;??www?_____/??NNNDGGGGLFFA
  1272. X;?????_______/??AFFLGGGGGLDD
  1273. X;????_____?www/?AFFLGGGGDNNN
  1274. X;?????_______/??AFFNIIIIIJJB
  1275. X;???__owwggggg/???GGNNNGGG
  1276. X;?????_________/??AFFlggggs~^N
  1277. X;??www?______/??NNN@?????NNN
  1278. X;?????__ggg/????GGGNNNGGG
  1279. X;?????__ggg/??____o~^N
  1280. X;???www????___/???NNNAAFDLGGG
  1281. X;?????GGwww/????GGGNNNGGG
  1282. X;??__?___?____/??NNN??NN??NNN
  1283. X;??__?_______/??NNN??????NNN
  1284. X;?????______/??AFFLGGGGLFFA
  1285. X;??___?_____/??~~~HGGGGLFFA
  1286. X;?????_________/??AFFLGGGGC~~~
  1287. X;??____?______/??GGNNNHG??@@@
  1288. X;????________/??@HJIIIIIMCC
  1289. X;????___www____/???????FNNGGGG
  1290. X;??___??????___/??FFNKGGGGCNNN
  1291. X;??___??????___/???@BFMKKMFB@
  1292. X;??___??__??___/??@FNKEBBEKNF@
  1293. X;???___????___/???GLLFAAFLLG
  1294. X;??___??????___/???`bf}{WMFB@
  1295. X;???__________/???KKKIIIHHHG
  1296. X;??????{{{CCC/??????^^^OOO
  1297. X;??CK[wo_/??????@BFM[WO
  1298. X;?????CCC{{{/?????OOO^^^
  1299. X;????OW[KCK[WO/
  1300. X;/??OOOOOOOOOOOO
  1301. X;???AAECC/
  1302. X;????_owWWwo_/??KNNBAAAABNNK
  1303. X;??wwwGGGGGGwwo/??NNNHHHHHHNME
  1304. X;??_ooWGGGGGWOO/??BFFKGGGGGKCC
  1305. X;??wwwGGGGGWoo_/??NNNGGGGGKFFB
  1306. X;??wwwGGGGGGG/??NNNHHHHHGG
  1307. X;??wwwGGGGGGG/??NNN@@@@@
  1308. X;??_ooWGGGGGWOO/??BFFKGGGHHNFF
  1309. X;??www??????www/??NNN@@@@@@NNN
  1310. X;????GGGwwwGGG/????GGGNNNGGG
  1311. X;??????GGwwwG/?CCKGGGGNNF
  1312. X;???www??__oWWG/???NNN@@BAEKKG
  1313. X;???www/???NNNGGGGGGG
  1314. X;??wwwWo??oWwww/??NNN?@FF@?NNN
  1315. X;??wwwoo_???www/??NNN?@@BEENNN
  1316. X;??_ooWGGGGWoo_/??BFFKGGGGKFFB
  1317. X;??wwwGGGGGGwwo/??NNN@@@@@@@
  1318. X;??_ooWGGGGWoo_/??BFFKGGIMKN^r_
  1319. X;??wwwGGGGGwwoO/??NNN@@@@BFMKG
  1320. X;??oowGGGGGGWOO/??CCLHHHHHHNEE
  1321. X;???GGGGwwwGGGG/???????NNN
  1322. X;??www??????www/??FFNGGGGGGNFF
  1323. X;??www??????www/???@BFMKKMFB@
  1324. X;??www??__??www/??@FNKEBBEKNF@
  1325. X;??GWWo_??_oWWG/??GKKEB@@BEKKG
  1326. X;???Www_???_wwW/?????@@NNN@@
  1327. X;???GGGGGGgwwW/???KKMIJHHGGG
  1328. X;???????owGKCC/????@@@EMGWOO
  1329. X;???????{{{/???????^^^
  1330. X;???CCKGwo/???OOWGME@@@
  1331. X;??ow{KK[woo{[K/
  1332. X\).A
  1333. END_OF_FILE
  1334.   if test 2576 -ne `wc -c <'uplow_300.fnt'`; then
  1335.     echo shar: \"'uplow_300.fnt'\" unpacked with wrong size!
  1336.   fi
  1337.   # end of 'uplow_300.fnt'
  1338. fi
  1339. echo shar: End of archive 2 \(of 2\).
  1340. cp /dev/null ark2isdone
  1341. MISSING=""
  1342. for I in 1 2 ; do
  1343.     if test ! -f ark${I}isdone ; then
  1344.     MISSING="${MISSING} ${I}"
  1345.     fi
  1346. done
  1347. if test "${MISSING}" = "" ; then
  1348.     echo You have unpacked both archives.
  1349.     rm -f ark[1-9]isdone
  1350. else
  1351.     echo You still must unpack the following archives:
  1352.     echo "        " ${MISSING}
  1353. fi
  1354. exit 0
  1355. exit 0 # Just in case...
  1356.