home *** CD-ROM | disk | FTP | other *** search
/ Share Gallery 1 / share_gal_1.zip / share_gal_1 / WP / WP027B.ZIP / CYRILLIC / NEWL102.DOC < prev    next >
Text File  |  1990-12-20  |  17KB  |  343 lines

  1. PC-Write Lite Version 1.02 Addendum 
  2.  
  3.  
  4. PC-Write Lite Version 1.02 has added features which support custom alphabets 
  5. in general and Cyrillic (the Russian alphabet) in particular. If you don't 
  6. need Cyrillic or other foreign alphabets, you can safely ignore this addendum. 
  7.  
  8. This addendum first explains how to use the Cyrillic feature. The second part, 
  9. more technical, explains how to create a new alphabet, like Greek, by defining 
  10. the keyboard location, screen appearance, and printing method of each letter. 
  11.  
  12. Using Cyrillic
  13.  
  14. To view Cyrillic letters your computer needs an EGA or VGA display adapter. 
  15. To support Cyrillic, Lite must read the edit control file ED.CYR on the Lite 
  16. Utility Disk (to learn about edit control files, see page 159 of the Lite 
  17. User's Guide). There are two ways to do this. First, if you always want to 
  18. have the Cyrillic feature available, insert the following on a separate line 
  19. in your ED.DEF file: 
  20.    !ED.CYR
  21.  
  22. Or, if you want Cyrillic available only when you edit a file with a filename 
  23. extension of .CYR, insert this line instead (if it isn't there already): 
  24.    !ED.*
  25.  
  26. Lite supports the Russian MS-DOS character set (code page 866), including the 
  27. Ukrainian and Byelorussian letters, also called the Alternate Soviet standard. 
  28.  
  29. Normally, when Lite exits, it restores the standard character set (code page 
  30. 437) by doing a "video reset". To avoid this (to keep the Cyrillic characters 
  31. loaded, say to use full PC-Write) put the line "&Z:9999" in the  ED.CYR file. 
  32.  
  33. Some letters look the same in English and Cyrillic: A, B, C, E, H, M, O, P, X. 
  34. These are not the same letters; they only look the same (Cyrillic ones are 
  35. shorter on screen). If you plan to exchange files with other users or use the 
  36. Russian spelling checker, do not substitute English letters for Cyrillic ones. 
  37.  
  38.  
  39. Typing in Cyrillic
  40.  
  41. To type in Cyrillic, press the Caps Lock key. With an alternate keyboard 
  42. defined, Caps Lock enables the alternate keyboard instead of giving upper 
  43. case. (If you have an extended keyboard, the Alt-/ key may also work.) Press 
  44. it again to switch back. Use the shift key to capitalize English and Cyrillic 
  45. letters. When using the alternate keyboard, the Push or Over on the top line 
  46. is in caps, and the cursor is thicker. 
  47.  
  48. To keep the original meaning of Caps Lock, remove the line "749:697" from the 
  49. ED.CYR file. To use another key (besides Alt-/) to switch between the English 
  50. and Cyrillic keyboards, assign a different key. For example, to make the Ctl-A 
  51. key switch modes, put this line in your  ED.CYR file: 
  52.   A:697
  53.  
  54. Lite supports both the Soviet and Homophonic Cyrillic keyboard layouts. Note 
  55. that the keyboard charts below won't show Cyrillic until you install it. 
  56.  
  57.  
  58. Soviet Standard Cyrillic Keyboard
  59.  
  60. This is the default Lite Cyrillic keyboard. It's the usual layout for Russian 
  61. typists. Note: the upper keyboard row has completely different characters in 
  62. Cyrillic mode. To select it, put the line "!SOVIET.CYR" in your ED.CYR file:
  63.  
  64. ╔════╦═════╦═════╦═════╦═════╦═════╦═════╦═════╦═════╦═════╦═════╦═════╦════╗ 
  65. ║ 1  ║  2  ║  3  ║  4  ║  5  ║  6  ║  7  ║  8  ║  9  ║  0  ║  '  ║  (  ║  = ║ 
  66. ║ #  ║  -  ║  /  ║  "  ║  :  ║  ,  ║  .  ║  _  ║  ?  ║  %  ║  ;  ║  )  ║  ! ║ 
  67. ╚═╦══╩══╦══╩══╦══╩══╦══╩══╦══╩══╦══╩══╦══╩══╦══╩══╦══╩══╦══╩══╦══╩══╦══╩══╦═╝ 
  68.   ║  ë  ║  û  ║  ô  ║  è  ║  à  ║  ì  ║  â  ║  ÿ  ║  Ö  ║  ç  ║  ò  ║  Ü  ║
  69.   ║  ⌐  ║  µ  ║  π  ║  ¬  ║  Ñ  ║  ¡  ║  ú  ║  Φ  ║  Θ  ║  º  ║  σ  ║  Ω  ║
  70.   ╚═╦═══╩═╦═══╩═╦═══╩═╦═══╩═╦═══╩═╦═══╩═╦═══╩═╦═══╩═╦═══╩═╦═══╩═╦═══╩═╦═══╝
  71.     ║  ö  ║  ¢  ║  é  ║  Ç  ║  Å  ║  É  ║  Ä  ║  ï  ║  ä  ║  å  ║  ¥  ║ 
  72.     ║  Σ  ║  δ  ║  ó  ║  á  ║  »  ║  α  ║  «  ║  ½  ║  ñ  ║  ª  ║  φ  ║ 
  73.     ╚══╦══╩══╦══╩══╦══╩══╦══╩══╦══╩══╦══╩══╦══╩══╦══╩══╦══╩══╦══╩══╦══╝   
  74.        ║  ƒ  ║  ù  ║  æ  ║  î  ║  ê  ║  Æ  ║  £  ║  ü  ║  ₧  ║  ≡  ║
  75.        ║  ∩  ║  τ  ║  ß  ║  ¼  ║  ¿  ║  Γ  ║  ∞  ║  í  ║  ε  ║  ±  ║
  76.        ╚═════╩═════╩═════╩═════╩═════╩═════╩═════╩═════╩═════╩═════╝ 
  77.  
  78. Homophonic Standard Cyrillic Layout
  79.  
  80. On this keyboard, Cyrillic and English letters that sound alike are on the 
  81. same key. The upper keyboard row is like the normal English one; the digits 
  82. are lower case. To select it, put the line "!PHONIC.CYR" in your ED.CYR file:
  83.  
  84. ╔════╦═════╦═════╦═════╦═════╦═════╦═════╦═════╦═════╦═════╦═════╦═════╦════╗
  85. ║ !  ║  ;  ║  #  ║  "  ║  %  ║  ,  ║  .  ║  :  ║  (  ║  )  ║  _  ║  '  ║  ? ║
  86. ║ 1  ║  2  ║  3  ║  4  ║  5  ║  6  ║  7  ║  8  ║  9  ║  0  ║  -  ║  =  ║  / ║
  87. ╚═╦══╩══╦══╩══╦══╩══╦══╩══╦══╩══╦══╩══╦══╩══╦══╩══╦══╩══╦══╩══╦══╩══╦══╩══╦═╝ 
  88.   ║  ƒ  ║  ÿ  ║  à  ║  É  ║  Æ  ║  ¢  ║  ô  ║  ê  ║  Ä  ║  Å  ║  ₧  ║  Ö  ║
  89.   ║  ∩  ║  Φ  ║  Ñ  ║  α  ║  Γ  ║  δ  ║  π  ║  ¿  ║  «  ║  »  ║  ε  ║  Θ  ║
  90.   ╚═╦═══╩═╦═══╩═╦═══╩═╦═══╩═╦═══╩═╦═══╩═╦═══╩═╦═══╩═╦═══╩═╦═══╩═╦═══╩═╦═══╝
  91.     ║  Ç  ║  æ  ║  ä  ║  ö  ║  â  ║  ù  ║  ë  ║  è  ║  ï  ║  £  ║  å  ║ 
  92.     ║  á  ║  ß  ║  ñ  ║  Σ  ║  ú  ║  τ  ║  ⌐  ║  ¬  ║  ½  ║  ∞  ║  ª  ║ 
  93.     ╚══╦══╩══╦══╩══╦══╩══╦══╩══╦══╩══╦══╩══╦══╩══╦══╩══╦══╩══╦══╩══╦══╝   
  94.        ║  ç  ║  ò  ║  û  ║  é  ║  ü  ║  ì  ║  î  ║  Ü  ║  ¥  ║  ≡  ║
  95.        ║  º  ║  σ  ║  µ  ║  ó  ║  í  ║  ¡  ║  ¼  ║  Ω  ║  φ  ║  ±  ║
  96.        ╚═════╩═════╩═════╩═════╩═════╩═════╩═════╩═════╩═════╩═════╝ 
  97.  
  98. Sometimes the key shown on the upper right, stamped \|, is moved elsewhere.
  99.  
  100. Using either keyboard, the bottom two screen lines show a chart with Cyrillic 
  101. letters for each key. You can turn these lines on and off. With an extended 
  102. keyboard, the Alt-\ key may do this. If not, you can assign a key to do it. 
  103. For example, to make Ctl-Z turn them on and off, put this line in ED.CYR: 
  104.   Z:694
  105.  
  106. If you're doing much with Cyrillic, you may want to get stick-on keytop 
  107. labels. We recommend those from Hooleon (602-634-7515) for about $22. 
  108.  
  109. The SOVIET.CYR and PHONIC.CYR files have keys for Ukranian ⌠⌡ and ≥≤, and 
  110. Byelorussian ÷≈. To use them, remove the "(" from the start of these lines. 
  111.  
  112. When using Cyrillic, the Hard-Hyphen (used to not break a hyphenated word) is 
  113. changed to the ² character (code 253), since the normal Hard-Hyphen (code 246) 
  114. is a Cyrillic letter. But you still press Ctl-Hyphen to enter a hard-hyphen. 
  115.  
  116.  
  117. The Cyrillic Character Set
  118.  
  119.  128 Ç   136 ê   144 É   152 ÿ   160 á   168 ¿   224 α   232 Φ   240 ≡   
  120.  129 ü   137 ë   145 æ   153 Ö   161 í   169 ⌐   225 ß   233 Θ   241 ±   
  121.  130 é   138 è   146 Æ   154 Ü   162 ó   170 ¬   226 Γ   234 Ω   242 ≥   
  122.  131 â   139 ï   147 ô   155 ¢   163 ú   171 ½   227 π   235 δ   243 ≤   
  123.  132 ä   140 î   148 ö   156 £   164 ñ   172 ¼   228 Σ   236 ∞   244 ⌠   
  124.  133 à   141 ì   149 ò   157 ¥   165 Ñ   173 ¡   229 σ   237 φ   245 ⌡   
  125.  134 å   142 Ä   150 û   158 ₧   166 ª   174 «   230 µ   238 ε   246 ÷  
  126.  135 ç   143 Å   151 ù   159 ƒ   167 º   175 »   231 τ   239 ∩   247 ≈   
  127.  
  128.  
  129. The Accent Key
  130.  
  131. The Lite accent key (labeled  `~) in Cyrillic mode backs up and changes a
  132. letter from Cyrillic to English. Hold it down to continue backing up. For 
  133. example, if you type  USA in Cyrillic mode, you get â¢ö. Press the Accent key 
  134. three times to fix it. But it doesn't change English to Cyrillic. Also, in the 
  135. normal keyboard mode, this key does its normal function, backing up to permit 
  136. typing accented letters. 
  137.  
  138. When you're typing at a Top Line prompt, the accent key fixes the whole entry 
  139. at once. For example, you decide to switch files. You press F1 then F6, then 
  140. type "KIEVCOOP.LET" (in Cyrillic mode) and press Enter. You get the message: 
  141.    File not found;  Esc to retype, or F9 to create "ïÿôîæÖÖçεäôà"
  142. Press Esc, then the Accent key, to change "ïÿôîæÖÖçεäôà" to "KIEVCOOP.LET". 
  143.  
  144. For symbols, only use the accent key once. For example the "5" key in Cyrillic 
  145. mode gives the ":" symbol. The Accent key changes it to a "5". But pressing it 
  146. again gives you "%", and a third time gives you "0". This is normal behavior. 
  147.  
  148.  
  149. Checking Russian Spelling 
  150.  
  151. With the Lite Russian spelling checker (available from Quicksoft for $29) you 
  152. can check the spelling of about 95,000 Russian words. Just use the normal Lite 
  153. spelling check commands. You can even check spelling in documents with mixed 
  154. English and Russian. You can add Russian words to the user list WORDS.USE, but 
  155. you can't add them to the master file WORDS.MAS with the WORDS.EXE program. 
  156.  
  157. To install the Russian spelling checker, copy the following files on the two 
  158. Russian speller diskettes to your work directory: 
  159.    WORDS.CYC      (the spelling checker program)
  160.    WORDS.CYM      (the dictionary mapping file)
  161.    RUSWORDS.BAT   (command file to create the dictionary, WORDS.CYD)
  162.    WORDS.C02      (part two of the  WORDS.CYD dictionary) 
  163.    WORDS.C01      (part one of the  WORDS.CYD dictionary, on a separate disk) 
  164.  
  165. Enter this command to join the two parts of the dictionary to make WORDS.CYD: 
  166.    RUSWORDS
  167.  
  168. You can delete the files WORDS.C01, WORDS.C02, and RUSWORDS.BAT if you like. 
  169.  
  170.  
  171. The Russian Stress Accent
  172.  
  173. Russian teachers often need to show students which syllable gets the phonetic 
  174. stress. To do this, define the Overstrike font to overprint with the ' quote 
  175. mark. Put one of these lines into your PR.DEF file (replacing the #O line): 
  176.    #O=19 +39,8                (for most printers)
  177.    #O=19 +27,40,56,85,39,8,R  (for LaserJets, this also selects a symbol set) 
  178.  
  179. 39 is the code for the ' quote. You can also try 96, the code for the ` quote. 
  180.  
  181. To show stress in ¼«ª¡«, type it ¼<alt-o>«<alt-o>ª¡«.
  182.  
  183.  
  184. Printing Cyrillic
  185.  
  186. If your printer handles Epson graphics mode, or HP LaserJet or DeskJet soft 
  187. fonts, you can print Cyrillic directly. Just add one of these lines to your 
  188. PR.DEF file: 
  189.    !EPSON.CYR     (Epson dot matrix compatibles)
  190.    !HPJET.CYR     (HP LaserJet and DeskJet compatibles)
  191.  
  192. For LaserJet and DeskJet compatibles, F font (10 cpi) and C font (16.66 cpi) 
  193. are available. You must first download the enclosed soft font files to the 
  194. printer. For the LaserJet, use HPLASCYR.BAT to download QUICK3C.SFP and 
  195. QUICK4C.SFP. For the DeskJet, use HPDESCYR.BAT to download QUICK3C.DJP and 
  196. QUICK4C.DJP. 
  197.  
  198.  
  199. Using Cyrillic with Full PC-Write 3.0
  200.  
  201. You can use Lite 1.02 with PC-Write 3.0 to do Cyrillic with proportional 
  202. spacing or use other PC-Write features. Simply do your typing and editing with 
  203. Lite, then reformat and print with full PC-Write. Put the line "&Z:9999" in 
  204. your ED.CYR file. Then Lite won't remove the Cyrillic character set from your 
  205. video adapter when it exits, and then PC-Write will still show Cyrillic on the 
  206. screen. (The next major release of PC-Write will have all these features). 
  207.  
  208. Since PC-Write assumes spaces separate words, it doesn't need to know which 
  209. letters are Cyrillic, so paragraph reformat and microspace justify both work 
  210. fine. You can use the Quicksoft Font Selector with any Cyrillic proportional 
  211. soft fonts, and there's a list of Cyrillic soft font suppliers at the end of 
  212. this Addendum. 
  213.  
  214. Full PC-Write 3.0 doesn't have the Cyrillic keyboard available. Since it 
  215. doesn't know which Cyrillic letters are upper/lower case pairs, the F8 case 
  216. change key won't work on Cyrillic letters and lower case Cyrillic doesn't 
  217. match upper case in searches. Also, the Russian spelling checker is not 
  218. available with full PC-Write. 
  219.  
  220.  
  221. Other changes in PC-Write Lite 1.02
  222.  
  223. To avoid conflicts with Cyrillic, the character displayed on the ruler for the 
  224. cursor is now code 4 (the Alt-V diamond) instead of 232, and the character 
  225. displayed at the end of file in Hide mode is now code 22 (the Alt-Q block) 
  226. instead of 240. 
  227.  
  228.  
  229. Foreign Alphabet Customization
  230.  
  231. Keyboard Remap
  232.  
  233. With this feature, any typewriter key (actually, any key with a code 0 to 127) 
  234. can be mapped to a different value (0 to 255) when alternate keyboard mode is 
  235. active. Remap mode is toggled with operation code 697. In alternate keyboard 
  236. mode, the Accent key works as described above. Example control line: 
  237.    033:= 049  (Key code 33 "!" gives character 49 "1" when remap mode is on) 
  238.  
  239. The key's redefinition can only be a single character, not any sequence. But 
  240. remapped keys can also invoke normal keyboard macros. For example: 
  241.    097:= 128                      (Key code 97 "a" gives char code 128)
  242.    128: 'Anderson-Young Project'  (Char code 128 invokes a text string)
  243.  
  244.  
  245. Letter and Case Information
  246.  
  247. Lite must know which characters are letters, and which are upper/lower case 
  248. pairs. This is used by the F8 and Alt F8 functions that change the case of a 
  249. letter, and the search function, where lower case matches upper. To do this, 
  250. use the control line: 
  251.    65:> 97   (character 65 is the upper case of character 97)
  252.  
  253. In some character sets (not Cyrillic), a character with a code that was a 
  254. letter might now be a non-letter. This is done with the control line: 
  255.    65:<      (character 65 is no longer a letter)
  256.  
  257. A character set may use code 246 (the Hard Hyphen, Byelorussian ÷). To change 
  258. the Hard Hyphen to code 253 (the ²) instead of 246, add: 
  259.    253:-     (character 253 is now hard hyphen)
  260.    31:253    (Ctl-Hyphen key enters code 253)
  261.    $253=45   (print character 253 as a hyphen)
  262.    $246=246  (print character 246 as itself)
  263.  
  264. A character set may also use code 250 (the Hard Space). Then you will need: 
  265.    254:+     (character 254 is now hard space, entered with Ctl-Space)
  266.    $254=32   (print character 254 as a space)
  267.    $250=250  (print character 250 as itself)
  268.  
  269.  
  270. Screen Character Set Changes
  271.  
  272. With this feature and an EGA or VGA display, the screen character displayed 
  273. for any character code (the bitmap) may be changed. Example control line: 
  274.    %145: 0,0,0,60,102,194,192,192,192,194,102,60,0,0   (Cyrillic æ 
  275.  
  276. Each screen character is drawn into a box, 8 dots wide by (normally) 14 dots 
  277. high. The 14 numbers above are byte values for the bitmap, starting at the top 
  278. of the box. For example, the value 192 (bits 128 and 64) has the two leftmost 
  279. dots on (128 is the leftmost dot), which is the mid-horizontal slice of the æ. 
  280.  
  281. It's unfortunately not easy to create an entirely new character set by hand, 
  282. although small changes to individual letters aren't hard to do. Use graph 
  283. paper to make it easier. When editing a control file with bitmaps, use the 
  284. sequence F1 then F3 (save file) then F2 then F6 (read control file) to check 
  285. your work. 
  286.  
  287.  
  288. The &Z:43 command sets 50 line mode on a VGA display (you also need &Y:49). In 
  289. this mode, a character is 8 dots high instead of 14. You need an 8 byte bitmap 
  290. for each character; each line has 8 numbers instead of 14. Also include the 
  291. line %256:8 (to set 8x8 mode) before any %nnn lines. This should work in EGA 
  292. 43 line mode with &Y:42. You can also use %256:16 to use VGA 8x16 bitmaps. 
  293.  
  294. One more note: &Z:43 or any %nnn screen character change normally makes Lite 
  295. do a video reset on exit. To avoid this reset, insert the line &Z:9999. 
  296.  
  297.  
  298. Keyboard Reminder Lines 
  299.  
  300. You can define two keyboard reminder lines at the bottom of the screen, to 
  301. show the keyboard assignments. There are four possible two line sets: one 
  302. shown if the Shf key is held down, one for the Ctl key, one for the Alt key, 
  303. and one if none of these keys is down. Operation 694 toggles these lines on 
  304. and off. Some examples: 
  305.  
  306.  
  307. 744:'1#  2-  3/  4"  5:  6,  7.  8_  9?  0%  -;  =)  \!',13,10; (none, line 1) 
  308.     " q⌐  wµ  eπ  r¬  tÑ  y¡  uú  iΦ  oΘ  pº  [σ  ]Ω   ",13,10  (none, line 2) 
  309.  
  310. 745:"!1  @2  #3  $4  %5  ^6  &7  *8  (9  )0  _'  +(  |=",13,10; (shf,  line 1) 
  311.     " Që  Wû  Eô  Rè  Tà  Yì  Uâ  Iÿ  OÖ  Pç  {ò  }Ü   ",13,10  (shf,  line 2) 
  312.  
  313. 746:"A<word      S<char        D>char       F>word     ",13,10; (ctl,  line 1) 
  314.     "W:pgdn      Z:pgup        E:up         X:down     ",13,10  (ctl,  line 2) 
  315.  
  316. 747:"B:bold      H:higher      L:lower      U:underline",13,10; (alt,  line 1) 
  317.     "E:elite     F:fast        P:pica       Q:quality  ",13,10  (alt,  line 2) 
  318.  
  319.  
  320. Cyrillic Fonts and Support
  321.  
  322. Exceller Software, Cornell Research Park, 223 Langmuir Lab, Ithaca, NY 14850.  
  323. 1-800-426-0444. HP LaserJet Cyrillic fonts: 8, 10, 12, 14, 24pt. 
  324.  
  325. Weaver Graphics, 5165 S. Hwy A1A, Melbourne Beach, FL 32951.  (407) 728-4000. 
  326. HP LaserJet Cyrillic fonts: 6, 7, 8, 9, 10, 11, 12, 14, 16, 18, 24, 30, 36, 48, 60, 72pt 
  327.  
  328. Digi-Fonts, 528 Commons Drive, Golden, CO  80401.  (303) 526-9435. 
  329. Has scaleable 3-720 point fonts for HP LaserJet II and III and DeskJet, in normal, 
  330. bold, and italic. You need the Digi-duit package for your printer, and disk 27. 
  331.  
  332. ISS FonTmax, 3463 State Street #283, Santa Barbara, CA  93105.  (805) 373-0212. 
  333. Has nice HP LaserJet fonts. Call for more information.
  334.  
  335. Image Processing Software, P.O. Box 5016, Madison, WI 53705. (608) 233-5033. 
  336. Makes Turbofonts, a Cyrillic support package.  Includes HP LaserJet fonts. 
  337.  
  338. VN Labs, P.O. Box 9878, Newport Beach, CA 92658-9878.  (714) 474-6968. 
  339. Diplomat Software Series, a Cyrillic support package. Includes HP LaserJet fonts. 
  340.  
  341. Gamma Productions, 710 Wilshire Blvd #609, Santa Monica, CA 90401.  (213) 
  342. 394-8622.  Russian-English dictionary: verifies spelling, meaning of Russian words. 
  343.