-+-+-+-+-+-+-+-+ START OF PART 6 -+-+-+-+-+-+-+-+ XX;????C`607B`607B`607B/???CCFFFCC XX;oooO__?__oOoo_/FFF??BBB???FFF XX;ooo_oOOOOOOo__/FFF????????FFF XX;__oOOOOOOOOo__/BBFCCCCCCCCFBB XX;ooooOOOOOOOo__/`605E`605E`605EBAAAAAAAB@@ XX;__oOOOOOOOoooo/@@BAAAAAAAB`605E`605E`605E XX;OOo__oOOOOOo__/??FFF XX;__oOOOOOOOOO/CCDDDDDDDDDFAA XX;??OOOO`607B`607B`607BOOOOO/??????BFFCCEAA XX;ooo??????ooo/BBFCCCCCCFBFCC XX;ooo????????ooo/??@@BAEEAB@@ XX;ooo????????ooo/BBFEAB@BAACFBB XX;OOo__???__oOO/CCEAB@@@BAECC XX;ooo??????ooo/HHZQQQQRP`605ENN XX;OOOOOOOOooooOO/CCEEEFDDDCCCCC XX;??___gg`607BSSCCCC/?????AAFDDCCCC XX;?????`607B`607B`607B/?????FFF XX;??CCCCSS`607Bgg___/??CCCCDDFAA XX;CEEB@BAECKGKCC/ XX`601B\`601B).A`600E X$ CALL UNPACK SIMPLESSE_300.FNT;1 22298081 X$ create 'f' XX`601BP1;0;1;4;1;1;`607B.A XX;???`607D/???A XX;??M??M/ XX;?g`607Dgg`607Dg/??B??B XX;GSS`607DSS_/?@@B@@ XX;CIcOGcA/A@??@A@ XX;kQQQk?_/@AAAA@A XX;??GEA/ XX;?wCA/??@A XX;????ACw/????A@ XX;OSwOwSO/?@???@ XX;OOO`607BOOO/???@ XX;/??CB@ XX;OOOOOOO/ XX;/???BB XX;???_OGC/CA@ XX;wCAAACw/?@AAA@ XX;?GC`607D/?AABAA XX;CaaQQQK/BAAAAAA XX;AAAQYUa/@AAAAA@ XX;_ogc`607D__/????B XX;`605DQIIIIq/@AAAAA@ XX;wcQQQQ_/@AAAAA@ XX;AAAaQIE/??B XX;kQQQQQk/@AAAAA@ XX;KQQQQI`607B/?AAAA@ XX;???KK/???BB XX;???KK/??CB@ XX;O?g?C?A/????@?A XX;ggggggg/ XX;A?C?g?O/A?@ XX;CAAqIIC/???A XX;`607BAQiiQ`607B/@AAAAAA XX;?gggggo/@AAAABB XX;`607DOGGGGo/B@AAAA@ XX;oGGGGGO/@AAAAAA XX;oGGGGO`607D/@AAAA@B XX;ogggggo/@AAAAA XX;OO`607BQQAC/??B XX;OggggOG/DIIIIIC XX;`607DOGGGGo/B?????B XX;??Gy/?AABAA XX;????Gy/CGGGGF XX;`607D__OG/B???@?A XX;??A`607D/??ABA XX;wGO_OGo/B??@??B XX;wOGGGGo/B?????B XX;oGGGGGo/@AAAAA@ XX;wwGGGGo/N@@@@@ XX;oGGGGww/?@@@@@N XX;GoOGGGO/?B XX;Oggggg/AAAAAA@ XX;?GG`607DGGG/???@AA@ XX;w????w/@AAAA@A XX;W_???_W/??@A@ XX;w??_??w/@A@?@A@ XX;GO__OG/A@??@A XX;w???_w/CHHHGF XX;GGGgWWG/ABBAAAA XX;??`607DAAA/??BAAA XX;ACGO_/?????@A XX;?AAA`607D/?AAAB XX;OGCACGO/ XX;/AAAAAAA XX;???AEG/ XX;ogcacgo/B?????B XX;A`607DQQQQk/ABAAAA@ XX;wCAAAAC/?@AAAA@ XX;A`607DAAACw/ABAAA@ XX;`607DQQQQAA/BAAAAAA XX;`607DQQQQAA/B XX;wCAAaac/?@AAAA@ XX;`607DOOOOO`607D/B?????B XX;?AA`607DAA/?AABAA XX;????A`607DA/@AAAA@ XX;`607DOggCCA/B???@@A XX;`607D/BAAAAAA XX;`607DCGOGC`607D/B?????B XX;`607DCGO_?`607D/B????@B XX;`607BAAAAA`607B/@AAAAA@ XX;`607DQQQQQK/B XX;`607BAAAaA`607B/@AAAA@A XX;`607DQQQqQK/B????@A XX;KQQQQQc/@AAAAA@ XX;AAA`607DAAA/???B XX;`607D?????`607D/@AAAAA@ XX;EW_?_WE/??@A@ XX;`607D??o??`607D/@A@?@A@ XX;ACgOgCA/A@???@A XX;ACGoGCA/???B XX;AAaQIEA/ABAAAAA XX;?OOSiAA/???@AAA XX;???`607D/???B XX;?AAiSOO/?AAA@ XX; XX`601B\`601B).A`600E X$ CALL UNPACK UPLOW_200.FNT;3 939603869 X$ create 'f' XX`601BP1;0;1;15;1;2;12;0;`607B.A XX;???????www/???????JJJ XX;????KKK???KKK/ XX;??__ooo__ooo__/??CCNNNCCNNNCC XX;??__oOOwwOOO/????DDDNNDDFAA XX;??OwgwO?_oWG/????GKEB@CMIMC XX;????OwgggWO?__/??EFNHGGKFBMLH XX;?????GGKCC/ XX;?????_owGCC/?????BFNGOO XX;?????CCGwo_/?????OOGNFB XX;???___?oo?___/???AAA@FF@AAA XX;???????ooo/???@@@@FFF@@@@ XX;/????__oo`605B`605BKK XX;/????@@@@@@@@@ XX;/??????KKKK XX;???????_ow`605BKC/??OW`605BMFB@ XX;???_ooGGGGoo_/???BFFGGGGFFB XX;?????OOwww/????GGGNNNGGG XX;???OWGGGGGwoo/???GGKKMIJHHGG XX;??OOWGGGGGwoo/??CCKGHHHHNEE XX;????_oOGGwww/??ABBAAAANNNAA XX;???wwwGggggGG/???DDHHGGGLFFA XX;???_ooWGGGGG/???BFFMHHHHNEE XX;???GGGGGgwwW/????GKMFB@ XX;???oowGGGGwoo/???EFNHHHHNFE XX;???oowGGGGwoo_/?????HHHHHKFFB XX;??????oooo/??????KKKK XX;??????oooo/??__oo`605B`605BKK XX;?????__oOWGG/???@@BAECKGG XX;???_________/???AAAAAAAAA XX;???GGWOo__/???GGKCEAB@@ XX;???OOWGGGGwwo/??????IIJ@@ XX;??ow`607BKCssS`605B`607Bwo/??BFFKGHJIIJB@ XX;?????______/???CMMIIIIFNNG XX;??www?_____/??NNNDGGGGLFFA XX;?????_______/??AFFLGGGGGLDD XX;????_____?www/?AFFLGGGGDNNN XX;?????_______/??AFFNIIIIIJJB XX;???__owwggggg/???GGNNNGGG XX;?????_________/??AFFlggggs`607E`605EN XX;??www?______/??NNN@?????NNN XX;?????__ggg/????GGGNNNGGG XX;?????__ggg/??____o`607E`605EN XX;???www????___/???NNNAAFDLGGG XX;?????GGwww/????GGGNNNGGG XX;??__?___?____/??NNN??NN??NNN XX;??__?_______/??NNN??????NNN XX;?????______/??AFFLGGGGLFFA XX;??___?_____/??`607E`607E`607EHGGGGLFFA XX;?????_________/??AFFLGGGGC`607E`607E`607E XX;??____?______/??GGNNNHG??@@@ XX;????________/??@HJIIIIIMCC XX;????___www____/???????FNNGGGG XX;??___??????___/??FFNKGGGGCNNN XX;??___??????___/???@BFMKKMFB@ XX;??___??__??___/??@FNKEBBEKNF@ XX;???___????___/???GLLFAAFLLG XX;??___??????___/???`6060bf`607D`607BWMFB@ XX;???__________/???KKKIIIHHHG XX;??????`607B`607B`607BCCC/??????`605E`605E`605EOOO XX;??CK`605Bwo_/??????@BFM`605BWO XX;?????CCC`607B`607B`607B/?????OOO`605E`605E`605E XX;????OW`605BKCK`605BWO/ XX;/??OOOOOOOOOOOO XX;???AAECC/ XX;????_owWWwo_/??KNNBAAAABNNK XX;??wwwGGGGGGwwo/??NNNHHHHHHNME XX;??_ooWGGGGGWOO/??BFFKGGGGGKCC XX;??wwwGGGGGWoo_/??NNNGGGGGKFFB XX;??wwwGGGGGGG/??NNNHHHHHGG XX;??wwwGGGGGGG/??NNN@@@@@ XX;??_ooWGGGGGWOO/??BFFKGGGHHNFF XX;??www??????www/??NNN@@@@@@NNN XX;????GGGwwwGGG/????GGGNNNGGG XX;??????GGwwwG/?CCKGGGGNNF XX;???www??__oWWG/???NNN@@BAEKKG XX;???www/???NNNGGGGGGG XX;??wwwWo??oWwww/??NNN?@FF@?NNN XX;??wwwoo_???www/??NNN?@@BEENNN XX;??_ooWGGGGWoo_/??BFFKGGGGKFFB XX;??wwwGGGGGGwwo/??NNN@@@@@@@ XX;??_ooWGGGGWoo_/??BFFKGGIMKN`605Er_ XX;??wwwGGGGGwwoO/??NNN@@@@BFMKG XX;??oowGGGGGGWOO/??CCLHHHHHHNEE XX;???GGGGwwwGGGG/???????NNN XX;??www??????www/??FFNGGGGGGNFF XX;??www??????www/???@BFMKKMFB@ XX;??www??__??www/??@FNKEBBEKNF@ XX;??GWWo_??_oWWG/??GKKEB@@BEKKG XX;???Www_???_wwW/?????@@NNN@@ XX;???GGGGGGgwwW/???KKMIJHHGGG XX;???????owGKCC/????@@@EMGWOO XX;???????`607B`607B`607B/???????`605E`605E`605E XX;???CCKGwo/???OOWGME@@@ XX;??ow`607BKK`605Bwoo`607B`605BK/ XX`601B\`601B).A`600E X$ CALL UNPACK UPLOW_300.FNT;1 1680736431 X$ v=f$verify(v) X$ EXIT $ CALL UNPACK FONTS.2;1 1567250457 $ create 'f' XIf you want to use FED to make some programs there are a few things you shou Vld Xknow before you get started. Most important is knowing how to select this f Vont Xas the active font. From this point on, any character preceded with a '`5E' V will Xbe read as control (character). Eg: `5EN is to be read as control N. In ad Vdition X is the be read as ascii character 27. X XSelecting a soft character set as the active character set: X X`09Unlike other character sets like the supplemental graphic character set, Xhow a soft character set is selected is determined by the user. Every sixel V-bit Xsoft character set is preceded with this very first line: X XFor 220:`09;Pfn;Pcn;Pe;Pcmw;Pw;Pt;`7BDscs XFor 320:`09;Pfn;Pcn;Pe;Pcmw;Pw;Pt;Pcmh;Pcss;`7BDscs X X`09Now I'll just skip to the point. Every parameter up there is relatively Xunimportant EXCEPT Dscs. This defines how your character set is selected. XDscs can be made up of to 3 characters, but you will generally see it as onl Vy X2 characters (the minimum number is just 1 character). As far as I can tell V, Xthere is absolutely no advantage of choosing one Dscs sequence over another. XI use ".A" since that was the first one I ever saw and it stuck with me`20 X(I saw it used in a boulderdash for 220's, a very good game). To select you Vr Xsoft character set you only need to send this to the screen X X`09)Dscs`5EN X XWith my Dscs sequence of ".A" I would send ).A`5EN to the screen to sel Vect Xmy character set. To unselect the character set, send this: X X`09(B`5EO X XThis will put you into regular text mode. X X ------- IMPORTANT TO THOSE ALTERING PRE-EXISTING CHARACTER SETS!!!! ------ V- X X`09If you have a character set that was made by another program (or god Xforbid, programmed by hand) and want to use FED2.0 with it to alter it, you Xwill have to pay attention to the Dscs sequence. Fed will change it to ".A" Xno matter what it is, and when you try to use the font with whatever program Xyou used with it before, you'll find that it selects the standard character Xset and not the one you have altered. This is a BUG! To fix this, just rep Vlace Xthe Dscs sequence with the original one in the font file. Or if you know C, Xchange the appropriate macros is ESCAPE.H. X X`09ANOTHER THING: If you do change ESCAPE.H please PLEASE do not Xdistribute the altered version across that net! It would really suck to hav Ve Xa zillion font's that are incompatible with each other. This is my only Xcondition that you must meet to use this program. X X`09Final word: The files that fed produces in addition to programming the Xsoft character set, also selects the soft character set at the very end of Xthe file. If you are altering a pre-existing font, you may want to delete t Vhe Xescape sequence that selects it. If you have a different Dscs sequence the Xescape sequence at the bottom of the altered font file will be meaningless X(unless you put in the appropriate Dscs sequence), and you can ignore it. X X X ----- Additional trivial information that you may be interested in: ----- X XThe other parameters (P---) that I skipped are maximized so that you have th Ve Xgreatest control over the font that you edit. Changing these to other numbe Vrs Xwill just limit you in what you can create. Read a programming guide if you Xwant more info. If you are editing a pre-existing font, you may have to rea Vd Xthe programmers guide (sorry, I figure anybody stupid enough to constrain Xthemselves should have to do more work to make up for their stupidity... XMaybe I'm stupid to say that.... I dunno....) X Xenjoy! $ CALL UNPACK FOR_PROGRAMMERS.TXT;1 1933016674 $ create 'f' X# NOTE: please read README.FIRST before using FED, ESPECIALLY if you are X# planning to use it on a VT220 terminal! X# X# This is a UNIX makefile. It will only work on the SUN/OS system. X# X# Xcc = cc X Xfed2:`09`09fed2.c shift.c fed2.h shift.h escape.h X`09`09$(cc) -o fed2 fed2.c shift.c -lcurses -ltermcap X`20 $ CALL UNPACK MAKEFILE.UNIX;1 2002108855 $ create 'f' X# NOTE: please read README.FIRST before using FED, ESPECIALLY if you are X# planning to use it on a VT220 terminal! X# X# This is a VAX makefile. It will only work on the VAX/VMS system. X# if you do not have make installed on your local vax system, you can X# compile fed with the following commands (issued in order) X# X# cc fed2 X# cc shift X# link fed2,shift,o/opt X# X# you need to setup fed2.0 as a symbol for it to work properly. X# Xcc = cc Xlink = link X Xall : fed2.exe X Xfed2.exe: fed2.obj shift.obj o.opt X write sys$output "linking..." X $(link) fed2.obj,shift.obj,o/opt X write sys$output "cleaning up..." X delete *.obj;* X purge *.exe X write sys$output "Fed Version 2.0 compiled sucessfully.. V." X fed2 == "$"+f$environment("DEFAULT")+"fed2.exe" X write sys$output "and defined as fed2" X purge/noconfirm X Xfed2.obj: fed2.c escape.h fed2.h X write sys$output "compiling fed.c" X $(cc) fed2.c/obj X Xshift.obj: shift.c escape.h shift.h X write sys$output "compiling shift.c" X $(cc) shift.c/obj $ CALL UNPACK MAKEFILE.VAX;1 4590937 $ create 'f' Xsys$library:vaxcrtl/share Xgrant_id_uss/share $ CALL UNPACK O.OPT;1 1242445028 $ create 'f' XFed 2.0 by Richard Wicks @ the University at Buffalo, NY. X XFiles you should have (skip this if you want): X XPrograms: X Fed2.0 : fed2.c Convert: Convert.c X shift.c (o.opt) X escape.h X fed2.h X shift.h X (o.opt) X X Info files: README_FIRST.txt X for_programmers.txt X X Example files: *.fnt (there are plenty) X XConvert.c is a conversion program to convert font files to 220 terminals X to 320 terminals and vice-versa. Read the header for more info. X On vax it must be setup as a symbol to work properly. X X Now on to the more important parts: X X---------- Please read everything (or most of it) below this line ---------- X XWHAT is FED? X X Many people do not know that their VT220 or VT320 terminal will allow you X to program the font. This is useful if you dislike the default font or X would like to write game or productivity programs that take full advantag Ve X of the terminal's capabilities. Unfortunately it is very tedious and X difficult to program a font by hand, that is why I wrote this FED. X X This program will create a font and write it to a file. In order to view X the file, you need only to type it to the screen. You must be in VT320 o Vr X VT220 mode or the escape sequence cannot be interpreted. Likewise, you m Vust X be in one of these modes in order to use FED. X X enjoy. X XTechnical info: X XFED is a font editor designed for use with Digital VT320 and 220 terminals. XThe program has been tested on VMS 5.2-2 as well as Unix System 7 with the Xcc complier (under VMS) and cc and gcc (under UNIX). There are several exam Vple Xfiles included in the VMS_SHARE package (or tar file). To view them use X"type filename.ext" on VMS or "cat filename.ext" on Unix. NOTE: you must be Xon a 320 or 220 in 320 mode or 220 mode (respectively) to view the fonts. X320 fonts cannot be viewed on 220's. X XThis latest version is 2.0 and is significantly improved over the original Xprogram. VT220 terminals are now supported and several features have been Xadded. FED 2.0 (unlike FED 1.0) will compile under unix with gcc or cc and Xthe code is much more logical (although it is still a mess). The program is Xself explanatory since there is ample on-line help. I have made several fon Vts Xfor both games and productivity and I believe I have added every feature tha Vt Xa programmer and/or user would find useful. X XAnother vast improvement: This version of fed can (in most cases) read fonts X that have been created by other programs and/or X users. However, this comes with limitations. Rea Vd X the file FOR_PROGRAMMERS.TXT for more information X on how sixels bit fonts work before working on X pre-existing fonts! If you don't do this, it is q Vuite X possible you will make your pre-existing font +-+-+-+-+-+-+-+- END OF PART 6 +-+-+-+-+-+-+-+-