home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 2 / crawlyvol2.bin / utility / misc / ckbd_13 / doc / english.txt < prev    next >
Text File  |  1994-04-07  |  19KB  |  367 lines

  1.  
  2. CKBD Deluxe v1.3, 4/1994
  3. Composed Characters Keyboard Driver plus flexible mouse speeder
  4.  
  5.  
  6. The ultimate extension for the keyboard driver in TOS computers by
  7. Pascal Fellerich.
  8.  
  9. This program is Freeware.
  10.  
  11.  
  12.  
  13.  
  14. Foreword
  15. The problem is well known: you want to type a German text on an American 
  16. keyboard. At the first occurrence of an umlaut you will see that there are 
  17. some characters missing!
  18. ·    Solution one: Simply install a german keyboard mapping table. Of course 
  19. this works, but then 'QWERTY' turns into 'QWERTZ', and this is quite 
  20. discomforting if not annoying.
  21. ·    Solution two: Assign the special characters you need to the numeric 
  22. keypad. But then you have to get used to it and moreover it slows down 
  23. typing because you have to move your right hand from the keyboard to the 
  24. numeric keypad for every special character.
  25. ·    Solution three: CKBD Deluxe! This utility program gives you easy access 
  26. to any special character available in the system character set on any 
  27. keyboard! Moreover CKBD Deluxe is configurable so that even completely 
  28. different character sets like the ISO set can be used.
  29.  
  30. As you are using a graphical user interface you also use a mouse. But 
  31. unfortunately the standard mouse driver in TOS is not very comfortable. It 
  32. only has a linear response and you have to move the mouse a lot over your 
  33. desk. That's why most people use a mouse accelerator. However these mouse 
  34. speeders are in general not very flexible - either they're too fast or too 
  35. slow, they cause jerky pointer movements, distort the mouse movement 
  36. angles, are only made for one type of mice and with a high resolution 
  37. mouse they go out of control. CKBD Deluxe also takes care of this special 
  38. problem: It offers a really flexible mouse speeder which offers you the 
  39. following features:
  40. ·    Smooth mouse acceleration using a polynomial of the third degree, 
  41. internal resolution is 0.004 pixel!
  42. ·    No angle distortion ·    Mouse button swap feature
  43. ·    User definable constant angle offset
  44. ·    Screen resolution independence, automatic adaptation!
  45. ·    Mouse resolution independence (!!!!)
  46. ·    Comfortable speedup curve editor
  47.  
  48.  
  49. Status
  50. CKBD Deluxe is freeware. This means that this software: ·    may be used 
  51. without paying a fee
  52. ·    may be distributed via BBS systems and 'PD' libraries ·    may not be sold
  53. ·    may not be modified. This implies that only the self extracting archive 
  54. CKBD_12.TOS may be distributed. This is simply to make sure that everyone 
  55. gets the complete software package. This software is copyrighted by P. 
  56. Fellerich as it is not public domain.
  57. CKBD Deluxe may be distributed together with commercial software only with 
  58. permission from the author. Currently this applies only to the word 
  59. processor PAPYRUS by R.O.M. Software (Germany). If you are interested in 
  60. distributing CKBD with your software aswell don't hesitate to ask me. 
  61. Write to: Pascal Fellerich
  62. 45, rue des Genêts
  63. L-3482 Dudelange
  64. Luxembourg
  65.  
  66. Bug reports, suggestions and new CKB tables are welcome as well!
  67.  
  68.  
  69. Installation
  70. This software consist of three parts::
  71. ·    The TSR-program (Terminate and Stay Resident) called CKBD.PRG
  72. ·    The CPX-module COMPOSE.CPX used to configure the keyboard driver ·    The 
  73. CPX-module MOUSE.CPX used to configure the mouse driver .
  74. The TSR program CKBD.PRG must be copied into your auto-folder on your boot 
  75. partition. If you have to use another keyboard driver e.g. for a PC 
  76. keyboard on the Atari, make sure that CKBD.PRG is executed after the other 
  77. keyboard driver. The CPX module can only be used together with Atari's 
  78. extensible control panel XCONTROL1. If you have XCONTROL installed simply 
  79. copy the files COMPOSE.CPX and MOUSE.CPX into the CPX folder. After that, 
  80. reboot your computer to activate the resident driver and the CPX 
  81. modules.That's it!
  82.  
  83. Before you go on reading this manual please note: · The option 'Language' 
  84. in both CPX allows you to reconfigure the CPX to another language.
  85. · If you have configured the mouse speeder to death hold down the 
  86. Alternate key. This will bypass the mouse speeder and gives you back 
  87. control over the mouse.
  88.  
  89.  
  90. User manual for the Compose CPX
  91. The resident driver CKBD.PRG is now part of the TOS and can be 
  92. reconfigured by means of the two CPX. As there is one CPX module for the 
  93. keyboard functions and one for the mouse functions I start with the new 
  94. keyboard features and the associated CPX.
  95. The basic idea behind CKBD is to compose special characters by 
  96. 'overtyping' two or more standard characters available on your keyboard. 
  97. For example an \"a is made up of the main character2 'a' and the overlay 
  98. character3 '"'. CKBD Deluxe offers in total five different options to 
  99. access special characters: ·    Compose
  100. ·    Deadkey
  101. ·    Extkey
  102. ·    ALT-<nnn>
  103. ·    'classical' Keyboard remapping
  104.  
  105.  
  106. Compose.
  107. This method is called 'Composed Characters' and is based upon the concept 
  108. of DEC4. On theses DEC terminals you hit the key labelled 'Compose 
  109. Character', then you type the two characters you want to put together. So, 
  110. Compose, [a], [e]  gives  [æ]. On the Atari  it's nearly the same: hit 
  111. ALTERNATE5 as if it were a normal key, then type [a], [e] and watch the 
  112. [æ] appearing. If you hold the Alternate key depressed too long it doesn't 
  113. work. This is to make sure that it doesn't interfere with the normal 
  114. Alternate key functions.
  115. If a compose sequence has been started successfully you hear a key click, 
  116. even if you have turned it off. If a compose sequence is recognised as 
  117. invalid after the second character you will hear the system bell even if 
  118. it was turned off .
  119. If you have started a compose sequence and you don't want to continue you 
  120. can escape from the compose mode by hitting either ESC, BackSpace or any 
  121. other key with no ASCII code (Function keys, cursor keys...) The order in 
  122. which the two characters are typed doesn't matter unless you change this 
  123. behaviour in the CPX module.
  124.  
  125. CPX: The option 'Compose' switches this function on or off. By clicking on 
  126. the button 'Setup' you get to a second dialogue page which offers you some 
  127. more options: Compose mode:
  128. Chooses between DEC VT200 (default) and MultiChar mode. When in DEC mode a 
  129. compose sequence is terminated after two characters. When in MultiChar 
  130. mode a compose sequence is only aborted if the first invalid combination 
  131. is encountered. This allows you to put more than two characters together, 
  132. for example: Compose(MultiChar), [o], ['] gives [ó], then typing [`] 
  133. finally gives [ô]. Before you go for this sequence be informed that this 
  134. sequence is not defined in the standard tables. To use this feature you 
  135. have to create your own tables.
  136.  
  137. Compose order:
  138. Chooses between Order indifferent and order sensitive. The default is 
  139. order indifferent so that you don't have to care about the order you're 
  140. keying in the letters. This feature is only useful if you are using a 
  141. table which assigns a different depending which order you use.
  142.  
  143.  
  144. Deadkey.
  145. When typing longer texts you may notice that Compose Character works 
  146. perfectly without interfering with any other action but unfortunately 
  147. hitting the Alternate key every so often can be a pain if you type a lot 
  148. of  composed characters. That's why there is the Deadkey-option. With this 
  149. option enabled some keys with overlay characters like ['], [`], [^] and 
  150. ["] are defined as dead keys. If you hit one of these, nothing happens. 
  151. Only if you type the second character you get a result: if the sequence 
  152. makes sense as for example ["] and [o] you get an [ö]. If not, both 
  153. characters are output. If you hit the dead key twice or type a space you 
  154. get the 'dead' character once, independent from the used table. Simply try 
  155. it out and see what you get. If you are writing texts in a foreign 
  156. language, Deadkey will be your preferred option. If you are a programmer 
  157. the Deadkey option may interfere too often because it composes characters 
  158. by itself every time it has the possibility - unlike the Compose option 
  159. which must be initiated manually.
  160.  
  161. CPX: The button 'Deadkey' switches the option on or off. By clicking the 
  162. button  labelled 'Setup' you get to the second dialogue page where you 
  163. find a line showing the dead keys currently in use. You can modify this 
  164. line to match your needs - but be careful: every ASCII code is OK, so it's 
  165. up to you to configure your system to death.
  166.  
  167.  
  168.  
  169. ExtKey
  170. The well-known (?) feature known from the program ExtKey by Alex Esser. 
  171. Again the same idea: a special character is made up of a main character 
  172. and an overlay character. With Extkey, you first type the main character, 
  173. then the overlay character with the Control-key depressed. Then the main 
  174. character disappears and is replaced by the newly composed character. 
  175. Example: you type [o], then <Control>-["] and you get [ö].  Extkey 
  176. requires that you stick to the order main char, overlay char. It is not 
  177. possible to generate a [û] by typing [^], <Control>-[u]. This is to make 
  178. sure that the shortcut ^U6  is not locked out.
  179. Unfortunately a lot of user applications have problems with Extkey, 
  180. sometimes because the shift state returned by GEM/AES is not correct!
  181.  
  182.  
  183. ALT-<nnn>: DOS-Matic...
  184. The preferred method for MS-DOS fanatics. Simply hold down the Alternate 
  185. key and type the decimal ASCII code on the numeric keypad. This option has 
  186. only been implemented to make CKBD Deluxe more complete; in TOS 2.06/3.06 
  187. it's included anyway. So don't shout at me if  it seems to work even when 
  188. turned off - in that case it's TOS which takes over and does it.
  189.  
  190.  
  191. Keyboard remapping
  192. Despite its simplicity and inconvenients keyboard remapping is  still 
  193. useful. The keyboard manager CPX module allows you to load either '*.KBD' 
  194. or '*.CKB' files. The KDB-files are standard keyboard mapping tables with 
  195. a total length of exactly 384 bytes, made up of mapping tables for 
  196. unshift, shift and capslock key assignments. The CKB-files are more 
  197. sophisticated files which contain a header, the three standard mapping 
  198. tables, a compose table and some configuration data. Right now these 
  199. tables must be created using an assembler because there is no editor yet. 
  200. Source codes to show you how to do it have been included.
  201. If a new table has been loaded you must specify to what it should apply. 
  202. Why that? Easy example: imagine you got a CKB file which defines new 
  203. compose sequences and you want to use it. Unfortunately it has been set up 
  204. for a Swiss keyboard. In that case youload the file and enable it only for 
  205. 'Compose'.  Usually if you want to use a CKB file totally you enable it 
  206. for both keyboard and compose.
  207.  
  208.  
  209. The rest of the Compose-CPX...
  210. The CPX should be quite understandable now; but anyway here are some 
  211. hints:
  212. ·    The blue info line in the CPX displays the identification string of the 
  213. currently installed driver, in this case CKBD Deluxe v1.2. A click on this 
  214. info line brings up an alert box telling you the CPX version number and 
  215. some more information.
  216. ·    The pop-up menu titled 'Language' is used to determine the menu language 
  217. in the CPX. This has no influence on the keyboard layout! The CPX title 
  218. and the icon colour is fixed and can only be changed with Atari's 'Config. 
  219. CPX'. To make your set-up permanent don't forget to save your settings. ·    'Save' stores your set-up only in the CPX module, not in the resident 
  220. driver. If you want to have different settings than the standard set-up 
  221. you have to boot Xcontrol as an accessory. As an alternative you may 
  222. create a CKB file called 'AUTOLOAD.CKB' which allows you to do some basic 
  223. set-up operations.  But without the matching tool this is only for 
  224. professionals.
  225.  
  226.  
  227. User manual for the Mouse CPX
  228. There is an abundant choice of mouse speeders, maybe because it's quite 
  229. straightforward to write a little mouse speeder. But until now there is no 
  230. really flexible and easy to use mouse speeder for the Atari7. That has 
  231. come to an end, CKBD Deluxe offers you the most complete mouse speeder the 
  232. world has ever seen.
  233. When you invoke the CPX module you are in the main dialogue, exactly as in 
  234. COMPOSE.CPX. The upper pop up menu Mouse speeder is used to switch the 
  235. mouse speeder on or off. The box beneath has another pop up menu Mse 
  236. buttons which swaps the mouse buttons. Left handed people can then use the 
  237. mouse in the same fashion right handed people do. By the way, the button 
  238. swap feature works even if the mouse speeder is turned off.
  239. The entry Rotation: 0° determines by how many degrees the X/Y reference is 
  240. turned, as indicated in the small picture on the left side of the 
  241. dialogue. If you hold the mouse twisted a little bit counter clockwise, 
  242. this means that the X/Y reference is turned by a negative angle. I get the 
  243. best results if I use a negative angle offset of -6..-7 degrees.
  244. The entry Resolution: 100 dpi is to tell CKBD Deluxe the mouse resolution. 
  245. The standard Atari mouse has about 100 dpi (my TT mouse has 116 dpi), 
  246. other mice may have much higher resolutions. In order to avoid that a new 
  247. mouse with a higher resolution is uncontrollable you have to enter the 
  248. correct resolution and then the speedup is exactly the Sam as with the old 
  249. mouse. However, a mouse with a high resolution has the big advantage that 
  250. it offers a better fine control! If you want to determine the resolution 
  251. of your mouse, proceed as follows:
  252. ·    Disable the mouse speeder.
  253. ·    Move the pointer to the left screen border.
  254. ·    Guide the mouse horizontally along a ruler until the pointer reaches the 
  255. right border. Write down the distance by which you moved the mouse.
  256. ·    Multiply the horizontal resolution of your screen (TT Mid or ST High: 
  257. 640 pixel) by 2.54 and divide this number by the distance recorded at the 
  258. previous step. The result is the mouse resolution in dpi.
  259. The button polynomial editor brings you to another dialogue which displays 
  260. the polynomial coefficients and the resulting speedup curve defined by the 
  261. polynomial "y=ax"+bx²+cx". You can enter the coefficients directly and 
  262. accept them by clicking into the graphical edit field. The resulting curve 
  263. is then displayed and the mouse is already using the new speedup curve. 
  264. But you can also move the four little boxes around (standard drag & drop 
  265. technique). The CPX then calculates the new polynomial and displays it. As 
  266. such move operations often produce weird results the new acceleration 
  267. curve is not installed until you click in the edit field, close the window 
  268. or quit the dialogue with 'OK'. Should it happen that the mouse has become 
  269. uncontrollable hold down the alternate key. This bypasses the mouse 
  270. speeder!
  271. And finally this dialogue offers you five different speedup presets under 
  272. the pop up menu labelled Presets.
  273. Back to the main menu: There are more set-up options! By clicking on the 
  274. mouse picture you get to the second main dialogue page dedicated to the 
  275. screen. There you find the entry Pixel W/H = 256:256 which determines the 
  276. pixel width to height ratio for the current resolution. In ST-High, 
  277. ST-Low, TT-Mid and other sensible screen resolutions the pixel ratio is 
  278. 1:1, which is the same as 256:256. But in ST-Mid for example this ratio is 
  279. 2:1 which corresponds with 256:128!
  280. Next to it is the entry Resolution: 72_ dpi. As a small screen is depicted 
  281. left to it, it should be clear that the screen resolution is meant. Here 
  282. the correct value should be entered, too. In ST-Low and TT-Low, the 
  283. resolution is around 35 dpi, for other modes it is around 70 dpi. If you 
  284. enter the correct values CKBD Deluxe compensates not only for different 
  285. mice but also for different resolutions!
  286. To avoid that you have to update these fields every time you change 
  287. resolutions there is an option to set these values automatically. Enable 
  288. it by clicking on the button auto detect. When you switch it on the values 
  289. are updated as well, not only at the next reboot. The CPX gets these 
  290. values from the VDI, so if it displays obviously incorrect values, don't 
  291. blame me!
  292. As a final highlight you find the pop up language which gives you the 
  293. choice between several languages. The other controls in the CPX are 
  294. standard and don't need further explanations.
  295.  
  296.  
  297. Hints
  298. Before you throw away this manual please read the following hints:
  299. ·    Utilities having the same functions should be discarded or at least be 
  300. switched off if order to avoid undesired side effects, as for example 
  301. overloading the ikbdsys interrupt. This includes all sorts of mouse 
  302. speeders including Atari's MACCEL.
  303. ·    It is recommended to have a look in the standard compose tables. This 
  304. will help you a lot when it comes to composing characters.
  305. ·    Unfortunately there are still a lot of programs which do not accept 
  306. composed characters or even show weird effects upon receiving such 
  307. characters. In that case the user application is to blame, not CKBD 
  308. Deluxe!
  309. ·    The extensible control panel runs only under TOS 1.4 or higher.
  310. ·    CKBD.PRG itself runs on every TOS version. As the interface between the 
  311. CPX modules and the driver is fully documented it should be easy to write 
  312. a special set-up accessory...
  313. ·    If  you find this software useful, don't hesitate to signal this to me!
  314.  
  315.  
  316.  
  317.  
  318.  
  319. It's not a bug, it's a feature!!
  320. Unfortunately there's no program without any shortcomings. For example the 
  321. auto detect function in the Mouse CPX doesn't give correct results under 
  322. older TOS versions. This is because the VDI gives incorrect pixel size and 
  323. aspect ratio values. Take for example the three ST resolutions. TT-TOS - 
  324. and thus hopefully every TOS version higher than 2.06 - gives correct 
  325. results. Correct refers of course to the pixel ratio data, the screen 
  326. resolution cannot be 100 % correct because the operating system doesn't 
  327. know the exact size of the monitor.
  328.  
  329. Also, some programs have problems with the composed characters... try!
  330.  
  331.  
  332.  
  333. Version history:
  334.  
  335. Compose-CPX:
  336. v1.00:    (26.3.94) the great rewrite, improved user interface
  337. v0.8:    Bugfree version
  338. v0.7:    File selector gives wrong paths
  339. v0.1:    Test version
  340.  
  341. Mouse-CPX:
  342. v1.00:    (26.3.94) new CPX, first release
  343.  
  344. TSR:
  345. v1.2:    official new version with mouse speeder
  346. v1.1:    test version, never release. Should have become something different
  347. v1.0:    bug free version from 1992
  348. v0.9:    occasional crashes under TOS 1.0 .. 1.4 when hitting the ALT key. 
  349. Cause: a badly written dispatcher in these TOS versions. Under KAOS: no 
  350. problems.
  351. v0.8:    bad pointers...
  352. v0.7:    first official release
  353.  
  354.  
  355. NOTES:
  356. 1    If you don't have this control panel you can get it from your Atari 
  357. dealer. It runs as ACC and PRG.
  358. 2    usually normal  letters from a..z 3    usually accents and other 
  359. 'decoration' letters
  360. 4    Digital Equipment Corporation, the company making VAX computers
  361. 5    On the VT200 terminals by DEC there's a special key to the left side of 
  362. the space bar labelled 'Compose Character', exactly where the Atari 
  363. keyboard has the Alternate key.
  364. 6    ^U = close the top window in GEM applications.
  365. 7    Neither Mac nor PC have a similar thing...
  366.  
  367.