Path: utzoo!mnetor!tmsoft!dptcdc!jarvis.csri.toronto.edu!rutgers!sun-barr!cs.utexas.edu!uunet!portal!cup.portal.com!Ordania-DM From: Ordania-DM@cup.portal.com (Charles K Hughes) Newsgroups: comp.sys.atari.8bit Subject: Re: Textpro 3.2r Message-ID: <21098@cup.portal.com> Date: 7 Aug 89 07:32:03 GMT References: <20909@cup.portal.com> Organization: The Portal System (TM) Lines: 192 Yet another of my fixes....here is TXTPRO32.FX2: ---------- TXTPRO32.FX2 Feel free to distribute this fix via modem, newsletter, etc but please don't alter it. If this is distributed via newsletter, I sure would appreciate a copy. This is the second fix file for Textpro 3.2r in as many weeks. It is updated, and contains only a BASIC program this time. After I finish modifying 3.2r I will try to create the same mods for 2.5 and 1.2, so if you are using one of those, you'll just have to wait. This fix is for all the nuts out there (myself included) who have managed to restore the function keys to their XL/XE computers. The 4 function keys appeared briefly on the 1200xl computer and then disappeared from future machines. They act as the arrow keys but control does not have to be held down. They have shift/control uses and these were kept if at all possible. The code to support these function keys did not disappear and still exists| in working order in the new roms. That's the good news...now the bad, Textpro (any version) does not recognize these function keys. This is not good, I restored my function keys because I wanted to be able to use them as arrow keys without holding down the control key at the same time. This fix will make the function keys work with Textpro3.2R but NOT with any other version of Textpro. For SDX users: This fix patches the slash ('/') commands so that they now work correctly under SDX. The lockup problem is under investigation, soon as I find it, I'll post the fix. The SDX patch will not hurt Spartados 3.2r users, so you can go ahead and use this fix normally. Corrections: This fix patches the Select-Control-Z and Select-Control-X functions. X turned the screen off, and Z turned it back on. I felt this was a waste so now both Z and X toggle the screen display. Perhaps later the Z can be used for something else. Function keys: I added some additional patches to utilize the function keys more. Keyboard Commands: At the end of this file is an updated version of the keyboard commands for Textpro 3.2R. HELP key: This fix does one other thing. Since the HELP key is not used by Textpro, the fix altered its function so that it is the same as pressing control-M. You may need to hold the help key down for a moment before Textpro responds. Since the authors of Textpro do not want it distributed in modified form, you should load this fix everytime you load up Textpro to prevent a modified copy from being distributed accidentally. To load the fix from within Textpro, just hold down the select key and press control-W. The command line will show 'Binary Load>D:' and you just need to type in TXTPRO32.FX2 and hit return. That's all there is to it. If you prefer not to load the fix in everytime you use Textpro, you can append the fix to the Textpro file and it will be there everytime you use that version. Again, please don't distribute your "new" version. I will post future fixes as I finish them but if anyone sees the authors (Ronnie Riche, Mike Collins) in the meantime, please tell them to contact me. Charles Hughes Usenet: Charles_Hughes@cup.portal.com Phone: (408) 732-7749 Mail: 555 E. Washington #301 Sunnyvale, Ca 94086 -----cut here--------- BASIC fix. Type in this short program, or use Textpro to edit it out of this file and then ENTER and RUN it. -----cut here--------- 100 Rem TXTPRO.BAS 110 Rem THIS FILE CREATES A PATCH FOR 120 Rem TEXTPRO3.2R. 130 Data 255,255,129,87,131,87,76 140 Data 0,6,0,6,27,6,189,68,3,133 150 Data 212,189,69,3,133,213,160,1 160 Data 200,240,10,177,212,201,47 170 Data 208,247,169,155,145,212 180 Data 76,86,228,179,80,180,80 190 Data 28,29,195,80,196,80,30,31 200 Data 243,80,244,80,8,5,3,81,4 210 Data 81,17,26,51,81,52,81,154 220 Data 204,67,81,68,81,142,236 230 Data 193,80,193,80,13,250,63 240 Data 251,63,135,99,136,99,148 250 Data 99,169,0,205,47,2,208,2 260 Data 169,34,141,47,2,96,-1 270 Open #1,8,0,"D1:TXTPRO32.FX2" 280 Read X:If X=-1 Then 300 290 Put #1,X:Goto 280 300 Close #1 310 End -----cut here--------- TextPro 3.2 Command Summary (with patches) KEYBOARD COMMANDS Normal Key Plus Select ---------------------------------------------------------------------- HELP Menu ! F1 Character Left ! F2 Character Right ! F3 Character Up ! F4 Character Down ! Shift F1 Home Cursor Toggle Directory Sort On/Off ! Shift F2 End of Text Buffer ! Shift F3 Beginning of Line Copy File ! Shift F4 End of Line Toggle Screen Display On/Off ! Ctrl F1 Toggle Screen Display On/Off ! Ctrl F3 Key Click On/Off Ctrl A Upper/Lowercase Swap Move cursor left one space Ctrl B Background Color Reverses sequence Ctrl C Change Found String Select Change String Ctrl D Delete Append to Buffer Ctrl E End of Text Buffer Ctrl F Find String Select Find String Ctrl G Global Search and Replace Ctrl H Home Cursor Toggle Directory Sort On/Off Ctrl I Insert/Replace Toggle Ctrl J Restore Default Parameters Exit to basic* Ctrl K Kill Buffer Ctrl L Load File Load Config File Ctrl M Menu Ctrl N Fast Repeat On/Off (XL/XE) Key Click On/Off Ctrl O Show False Spaces On/Off Show Return Character On/Off Ctrl P Print to Device Ctrl Q Beginning of Line Copy File Ctrl R Restore Deleted Text Ctrl S Save File Save Config File Ctrl T Text Brightness Reverses sequence Ctrl U Used/Unused Memory Delete to Top of File Ctrl V Load Macro File Delete to End of File Ctrl W Print Position of Cursor Binary Load Ctrl X Exit to DOS ! Toggle Screen Display On/Off Ctrl Y Word Wrap On/Off Ctrl Z End of Line ! Toggle Screen Display On/Off Ctrl ? Word Count Ctrl [ Sentence Left Ctrl ] Sentence Right Ctrl + Character Left Ctrl * Character Right Ctrl - Character Up Ctrl = Character Down Shift > Insert 255 Spaces Shift < Delete Unused Spaces Shift + Word Left Shift * Word Right Shift - Paragraph Up Shift = Paragraph Down Ctrl ; Toggle verify On/Off Shift TAB Widen Screen Ctrl TAB Narrow Screen TAB Insert 5 spaces OPTION Executes Macro SELECT RESET Causes Cold Start (BASIC enabled)* OPTION RESET Causes Cold Start (BASIC disabled) On command line: SELECT L Prints last filename loaded to command line. SELECT l Prints last filename loaded plus device to command line. /A Append to file. /C Save to cursor, or continue load from file. /Z Save text to cursor by appending to file. ! Ctrl F2 Prints last filename loaded to command line. ! Ctrl F4 Prints last filename loaded plus device to command line. * Commands tagged with an asterisk should not be used with SDX. ! Function key support and screen on/off toggle was added by TXTPRO32.FX2. .