home *** CD-ROM | disk | FTP | other *** search
/ ftp.whtech.com / ftp.whtech.com.tar / ftp.whtech.com / articles / archives / limanews.exe / TIKEYS.TXT < prev    next >
Text File  |  2006-10-19  |  11KB  |  313 lines

  1. ORIGINALLY PUBLISHED IN LIMA
  2. NEWSLETTER SEPTEMBER 1988.  THIS
  3. SOFTWARE IS AVAILABLE FROM THE LIMA UG
  4.  
  5.  
  6.       TI-KEYS A "HOT KEYS" PROGRAM WITH
  7. SIGNIFICANT 
  8.     ^^^^^^^^^^^^^^^HIDDEN POTENTIAL  
  9.     ^^^^^^^^^^^A review by Charles Good 
  10.      
  11.     A "hot-keys" program, once loaded,
  12. allows you to execute commands with
  13. just a single keypress.  For example,
  14. you might press CTRL/R and have RUN
  15. "DSK1. appear on the screen waiting for
  16. you to type the rest of the file name
  17. and then <ENTER>.  Such one keypress
  18. (hot key) text strings are called
  19. macros.  For the TI there are three
  20. hot key programs that I know about.
  21. EZ-KEYS is a commercial offering from
  22. Asgard Software.  I havn't had much
  23. opprtunity to use EZ-Keys, but it has
  24. received excellent reviews in
  25. Micropendium (January 1988) and in the
  26. newsletters.  Apparently EZ KEYS is
  27. much more than just a "hot keys"
  28. program and can best be described as
  29. an XBASIC programming environment.  I
  30. have had the opportunity to play with
  31. the commercial program SOFT-KEYS from
  32. Quality 99 software.  SOFT-KEYS only
  33. allows you to configure the number
  34. keys as hot keys via CTRL/n.  Because
  35. of the limited number of configurable
  36. keys I consider SOFT-KEYS to be
  37. inferior to both EZ-KEYS and the third
  38. "hot keys" program TI-KEYS. 
  39.      
  40.     TI-KEYS is fairware and can be
  41. found in most user group libraries.
  42. The requested fee of $10 is less than
  43. the cost of EZ-KEYS and about the same
  44. as SOFT-KEYS.  Unfortunately I havn't
  45. been able to pay the TI-KEYS author
  46. Wes Johnston.  He has moved from the
  47. address listed in the docs (404 Furman
  48. Lane, Ladson NC) and my check was
  49. returned by the post office with the
  50. notation "Forwarding time expired".
  51. Wes, if you read this, write me in
  52. care of the Lima UG and let me know
  53. your current address. 
  54.      
  55.     When booted from a ramdisk and
  56. used in conjunction with FUNNELWEB,
  57. TI-KEYS adds some really useful
  58. capabilities to the 99/4A. 
  59.      
  60.     You boot TI-KEYS as LOAD or as a
  61. CALL LOAD from XBASIC.  A set of
  62. predefined macros is loaded which is
  63. accessed by pressing CTRL and another
  64. key.  These predefined macros are
  65. show below, and are accessable from
  66. XBASIC command mode or within an XBASIC
  67. program.
  68. .NF 
  69.      A - ACCEPT       S - SAVE "DSK
  70.      B - BEEP         T - TAB(
  71.      C - CALL         U - U
  72.      D - DELETE "DSK  V - VCHAR(
  73.      E - END          W - CALL INIT
  74.      F - FOR          X - CALL LOAD("DSK
  75.      G - GOSUB        Y - CALL LOAD(-
  76.      H - HCHAR(       Z - CALL LINK("
  77.      I - IF           1 - RUN
  78.      J - JOYST(       2 - \
  79.      K - KEY(         3 -  |
  80.      L - LINPUT       4 -  |
  81.      M - MERGE "DSK   5 -   \NO PREDEFINED
  82.      N - NEXT         6 -   /   VALUE
  83.      O - OPEN         7 -  |
  84.      P - PRINT        8 -  |
  85.      Q - Q            9 -  |
  86.      R - RUN "DSK     0 - /
  87. .FI 
  88.      
  89.     You can redefine any of these keys
  90. from XBASIC command mode.  Letter keys
  91. can be redefined as a macro of up to 16
  92. characters long and number keys up to
  93. 31 characters.  You can also save a
  94. disk file of your redefined keys and
  95. later load this key redefinition file
  96. into TI-KEYS after TI-KEYS has booted. 
  97.      
  98.      AUTOMATIC BOOTING OF YOUR OWN
  99. CUSTOM MACROS:  
  100.     So far so good.  But what if you
  101. don't like the above standard set of
  102. macros that is immediately available
  103. when TI-KEYS is loaded? Wouldn't it be
  104. nice if you make TI-KEYS automatically
  105. set up your own custom CTRL/- macros
  106. each time TI-KEYS is loaded, without
  107. having to first load TI-KEYS and then
  108. load the file that contains your
  109. customized macros? EZ-KEYS has this
  110. ability.  The TI-KEYS doc makes no
  111. mention of this possibility, but I
  112. have discovered how to do this with
  113. TI-KEYS using a sector editor. 
  114.      
  115.     Use a sector editor that shows the
  116. byte number in hex, such as FUNNELWEB's
  117. Disk Patch or DISK UTILITIES.  The
  118. first three sectors of the TI-KEYS LOAD
  119. program (sometimes called KEYLOAD, and
  120. not to be confused with the D/F80
  121. version of TI-KEYS) contain the ASCII
  122. text that is displayed with each CTRL/-
  123. keypress.  The text for CTRL/A starts
  124. at byte >D8 of the first sector, the
  125. text for CTRL/B at byte >E8, etc.
  126. Examine each of these first three
  127. sectors in ASCII and type over any text
  128. already there with whatever text you
  129. want displayed when you press CTRL/-.
  130. Remember, the first 26 macros (letters
  131. A-Z) can have 16 characters and the
  132. last 10 (digits 1-9,0) can have up to
  133. 31 characters.  Next move the cursor to
  134. the period immediately in front of the
  135. ASCII text you just altered (in the
  136. first sector byte >D7 for A, byte >E7
  137. for B, etc) and switch the display to
  138. Hex (press CTRL/H).  Change this two
  139. digit hex number to the number of
  140. characters in your rewritten text.  For
  141. example, you might want to change the
  142. CTRL/A macro from the original "ACCEPT"
  143. (6 characters long) to "ACCEPT AT(" (10
  144. characters long).  After changing
  145. ACCEPT to ACCEPT AT( in the first
  146. sector, move the cursor to byte D7,
  147. switch to hex display (CTRL/H) and
  148. change the "06" to "0A".  When you have
  149. finished editing a sector, be sure to
  150. write this new data to the disk with
  151. CTRL/W.  Then move on to the other two
  152. sectors.   
  153.      
  154.     The second sector of LOAD (or
  155. KEYLOAD) is shown below.  It contains
  156. text for the macros displayed by CTRL/D
  157. thru CTRL/S.  You can see that there is
  158. plenty of blank space for you to expand
  159. or alter these macros.  The vertical
  160. row of dots is where the hex number is
  161. changed. 
  162. .NF;NA 
  163.              File Editor          EDIT
  164. ========================================
  165.                  ^.  D E  L E  T E    "
  166.  D S  K           .  E N  D
  167.                  ^.  F O  R
  168.                  ^.  G O  S U  B
  169.                  ^.  H C  H A  R (
  170.                  ^.  I F
  171.                  ^.  J O  Y S  T (
  172.                  ^.  K E  Y (
  173.                  ^.  L I  N P  U T
  174.                  ^.  M E  R G  E    " D
  175.  S K              .  N E  X T
  176.                  ^.  O P  E N
  177.                  ^.  P R  I N  T
  178.                  ^.  Q
  179.                  ^.  R U  N    " D  S K
  180.                  ^.  S A  V E    "  D S
  181. .FI;AD 
  182.      
  183.     I have TI-KEYS on my ramdisk as
  184. file LOAD.  It boots automatically
  185. every time I select XBASIC and provides
  186. me with the following list of custom
  187. macros.  Some of these, such as CTRL/4-
  188. CALL CAT("DSK1.") are only useful to
  189. users of GK-EXTENDED BASIC or the SUPER
  190. EXTENDED BASIC (v130) module.  Most of
  191. the changes from the original
  192. predefined macros listed above are
  193. usable with any version of XBASIC and
  194. are, I believe, real improvements. 
  195.     .NF 
  196.      A - ACCEPT AT(      S - SAVE "DSK
  197.      B - BEEP            T - TAB(
  198.      C - CALL            U - CALL DM
  199.      D - DELETE "DSK     V - CALL VCHAR(
  200.      E - END             W - CALL INIT
  201.      F - FOR             X - CALL LOAD("DSK
  202.      G - GOSUB           Y - CALL LOAD(-
  203.      H - CALL HCHAR(     Z - CALL LINK("
  204.      I - IF              1 - RUN
  205.      J - CALL JOYST(     2 - OPEN #1:"PIO" :: PRINT #1:
  206.      K - CALL KEY(       3 - OPEN #1:
  207.      L - LIST            4 - CALL CAT("DSK1.")
  208.      M - MERGE "DSK      5 - LIST "PIO":28:
  209.      N - NEXT            6 - LIST "PIO"
  210.      O - OPEN            7 - OLD DSK1.
  211.      P - PRINT           8 - RUN "DSK1.LOAD"
  212.      Q - RUN "DSK4.LOAD" 9 - PRINT #1:
  213.      R - RUN "DSK1.      0 -
  214.     .FI 
  215.      
  216.  
  217.  COMBINING TI-KEYS WITH FUNNELWEB:   
  218.     I mentioned earlier that special
  219. possibilities are available if you use
  220. TI-KEYS and FUNNELWEB together from a
  221. ramdisk.  Here is what you can do all
  222. automatically just by selecting
  223. extended basic from the powerup menu.
  224. When you boot TI-KEYS as LOAD from the
  225. ramdisk, you can have TI-KEYS
  226. automatically boot FUNNELWEB.  Many of
  227. the TI-KEYS macros are not overwritten
  228. by the loading of FWB and are
  229. available for use from the FWB XBASIC
  230. user list.  This means that any XBASIC
  231. program you boot from the FWB XBASIC
  232. user list can make use of TI-KEYS
  233. macros from within the program.  Also,
  234. from the FWB XBASIC user list you can
  235. enter XBASIC command mode by pressing
  236. 3 (XB RETURN) and have the macros
  237. available. Neat!  
  238.  
  239.     This works with FWB v4.0, v4.1,
  240. and v4.11.  I havn't tried it with
  241. earlier versions.  When FWB
  242. automatically loads after after
  243. TI-KEYS the macros for CTRL/A through
  244. CTRL/P are overwritten and no longer
  245. available.  The remaining macros for
  246. CTRL/Q through CTRL/Z and CTRL/1
  247. through CTRL/0 remain available.  That
  248. is why I have my most used customized
  249. macros within these ranges.  Here is
  250. how to do this.  OLD the TI-KEYS LOAD
  251. program and list it.  There are only 2
  252. lines of XBASIC code embeded in some
  253. assembly code.  With many hybrid
  254. assembly/XBASIC programs you can't
  255. alter the XBASIC code and resave the
  256. program because doing so messes up the
  257. assembly code.  TI-KEYS will tolerate
  258. slight modifications of its XBASIC
  259. code.  Change line 20 from CALL
  260. LINK("MACRO):: CALL
  261. LOAD(-31952,255,231,255,231) to RUN
  262. "DSK1.LOADFW" and save this altered
  263. TI-KEYS to your DSK1 configured
  264. ramdisk as file name LOAD.  Now put
  265. FWB's LOAD program on your ramdisk as
  266. file name LOADFW.  Just select
  267. extended basic, and everything boots
  268. automatically! 
  269.      
  270.     You can't successfully use FWB
  271. in automatic combination directly upon
  272. selection of XBASIC from the powerup
  273. menu with either of the other two "hot
  274. keys" programs.  If you boot EZ-KEYS
  275. or SOFT KEYS and then load FWB, the
  276. "hot keys" program won't work. 
  277.      
  278.     There is some software that won't
  279. load from the TI-KEYS/FWB combination.
  280. Some (but not all) XBASIC programs
  281. that contain a CALL INIT will lock up
  282. the computer if TI-KEYS is already in
  283. memory (with or without FWB).  These
  284. cannot be loaded from the FWB XBASIC
  285. user list.  An example is the CALL
  286. LOAD version of WORD COUNT that was
  287. published in Micropendium.  To load
  288. such programs you first have to turn
  289. off TI-KEYS from XBASIC command mode
  290. by pressing CTRL/=.  Fortunately,
  291. there are only a few programs that are
  292. incompatible with TI-KEYS.  With the
  293. TI-KEYS/FWB combination, you can use
  294. the XBASIC user list to boot any
  295. assembly D/F80 (EA#3) or PROGRAM
  296. (EA#5) files, any XBASIC program that
  297. doesn't use CALL INIT, and some XBASIC
  298. programs that do have a CALL INIT. 
  299.      
  300.     TI-KEYS only affects the FWB
  301. XBASC user list.  All other parts of
  302. FWB, including the other user lists,
  303. work normally with the TI-KEYS/FWB
  304. combination just as if TI-KEYS was
  305. never present. 
  306.      
  307.     User groups (not individuals) can
  308. obtain a copy of TI-KEYS from the Lima
  309. User Group by sending a disk and paid
  310. return mailer to Box 647, Venedocia OH
  311. 45894. 
  312.     .PL 1
  313.