home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d7xx / d768 / uedit.lha / Uedit / Europe-ReadMe < prev    next >
Text File  |  1992-11-22  |  4KB  |  100 lines

  1.  
  2. Dear European user,
  3.  
  4. There are two ways to map your keyboard to type umlaut characters (like ö)
  5. and other special characters in Uedit.  
  6.  
  7. 1) The best way is to remap your keyboard using the keyboard-mapping array
  8. (of two rows of 64 printable characters each) in the Config! file.  This is
  9. 100% efficient, in that it lets you type them normally without there being a
  10. command executed when you press the key.
  11.  
  12. Below the keyboard mapping arrays in Config! are 2 more 64 char arrays.  They
  13. apply when you press the ALT or SHIFT-ALT keys.  These arrays are included
  14. specifically for foreign users so that you can type foreign letters.
  15.  
  16. 2) Another way is to use the typeChar() function in a command.  (You must use
  17. the typeChar() function to enable you to type the umlaut characters you need
  18. into the keyboard-mapping arrays in Config! discussed above.)
  19.  
  20.  
  21. Here are command examples which will help you to map the keyboard keys:
  22.  
  23. Note that if you use an integer argument with typeChar(), it costs 6 bytes
  24. per key.  But if you use a literal argument "x", it only costs 4 bytes per
  25. key.  (If you use the keyboard-mapping arrays in the Config! defaults, there
  26. is zero overhead.)
  27.  
  28. This command will enable you to type special characters into the keyboard-
  29. mapping arrays that are in the Config! file defaults.  Compile this command
  30. with f6.  Put the cursor on the letter you wish too overwrite and press ESC:
  31.  
  32. <normal-esc: upFlag(curFile,overstrike)     .. turn ON overstrike mode
  33.              putMsg("Input ASCII value (0-255) of letter to type")
  34.              if (inputNum(n54)) typeChar(n54)
  35.              downFlag(curFile,overstrike)    .. turn off overstrike mode
  36.              putMsg(" ")>
  37.  
  38. ((Note that if you aren't using Illegal Character Mapping, you cannot insert
  39. ASCII values 0-3.  If you are using Illegal Character Mapping, the mapped
  40. characters will be inserted in place of the illegal ones and will be restored
  41. to the illegal ones when you save or print the file.))
  42.  
  43. -----------------------------------------------------------------------------
  44. HERE IS A COPY OF THE KEYBOARD MAPPING ARRAYS, YOU MUST CUSTOMIZE THESE IN
  45. THE CONFIG! FILE:
  46.  
  47. Printable key table:  DON'T TOUCH, unless you know what you are doing!
  48. This is a translation table which converts raw keystrokes into printable
  49. characters.  (See Rom Kernal Manual, Volume 1, page 3-81.)  There must be
  50. 64 in each row.  Use OVERSTRIKE typing mode when modifying this, to avoid
  51. trouble:
  52.  
  53. Unused -->     U             U    EUROPE--> EE   U          U
  54. <`1234567890-=\ 0qwertyuiop[] 123asdfghjkl;'  456 zxcvbnm,./ .789>
  55. <~!@#$%^&*()_+| 0QWERTYUIOP{} 123ASDFGHJKL:"  456 ZXCVBNM<>? .789> .."
  56.  
  57. These are input using the ALT key.  Put FOREIGN LETTERS in this array.
  58. <`1234567890-=\ 0qwertyuiop[] 123asdfghjkl;'  456 zxcvbnm,./ .789>
  59.  
  60. -----------------------------------------------------------------------------
  61.  
  62. This command shows all printable characters in the font and their ASCII values:
  63.  
  64. <normal-esc:
  65.             equateNum(n53,0)
  66.             moveCursor(curFile,eFile)
  67.             do (n54,32,255) {
  68.                 insertChar(curFile,n54)
  69.                 insertChar(curFile," ")
  70.                 toWord(curFile,n54)
  71.                 incNum(n53)
  72.                 if (eqNum(n53,10)) {
  73.                     insertChar(curFile,eLine)
  74.                     equateNum(n53,0)
  75.                     updateDisplay
  76.                 }
  77.                 else insertRgn(curFile,atCursor,"  ",all)
  78.                 .. updateDisplay
  79.             }>
  80.  
  81.  
  82. These are examples of using typeChar() to insert special characters:
  83.  
  84.         Cost is 6 bytes:            Cost is 4 bytes:
  85. Ü 220    <shftAlt-u: typeChar(220)>  <shftAlt-u: typeChar("Ü")>
  86. ä 228    <shftAlt-a: typeChar(228)>
  87. ë 235    <shftAlt-e: typeChar(235)>
  88. ï 239    <shftAlt-i: typeChar(239)>
  89. ö 246    <shftAlt-o: typeChar(246)>
  90.  
  91.  
  92. But, again, the more efficient method is to remap the keyboard-arrays in the
  93. Config! defaults.
  94.  
  95. Enjoy!
  96.  
  97.  
  98. Rick Stiles
  99.  
  100.