Path: sdcc12!network.ucsd.edu!usc!howland.reston.ans.net!bogus.sura.net!darwin.sura.net!news.udel.edu!bach.udel.edu!tigger From: tigger@bach.udel.edu (David P Faust) Newsgroups: comp.sys.mac.comm Subject: Re: Patches for Zterm 0.9 scripting bugs Message-ID: Date: 1 Mar 93 14:17:53 GMT References: Sender: usenet@news.udel.edu Organization: University of Delaware Lines: 110 Nntp-Posting-Host: bach.udel.edu In article streater@unixhub.SLAC.Stanford.EDU (Tim Streater) writes: >About a year ago, the author of Zterm posted a few patches to Zterm 0.9 >which have to do with scripting. Unfortunately, I no longer have the >original post, only my own notes as to what I did. In the hope that this >may be of use to a few folks currently posting about scripting problems >with Zterm 0.9, I offer them here. My notes for #2 are so cryptic I no >longer know what it was for :-) > >As usual, make a copy of Zterm *before* doing this. You will need ResEdit >to make the actual changes. If anyone can dig up the original post, please >do so. > >Tim Here is the original post. I have removed the authors email address from the end of the post because it is no longer current. Unfortunately (sp?), I don't have his new address handy. Hope this helps. Dave ZTerm v0.9 notes - April 1992 This note includes answers to some common questions, info on some problem areas and a few patches you can make using ResEdit. First, the current upgrade policy is that once you register, there is no upgrade fee if you download a new version. Several people have asked me this. Also, on the registration form there is a new option called ZTERM-UPD (License and next update). This means you are registered to use the copy of ZTerm you have and I will send you a disk with the next update whenever it is released. The version number on the top of the registration form tells me what version you currently have. - Canceling a script You can cancel a script by pressing Command-period (the same sequence that you use to cancel printing). - Use "^[" to send an escape To send an escape in a script, use this command: send "^[" - Error -120 when trying to download. I forgot to check for this error. If you get it, you need to set the Receive Folder, in the Settings menu. - Queue Dial from the Dial Directory When you start a queue dial using the button or command-Q in the Dial Directory, the directory window does not go away once you get a connection. This will be fixed. - Slow screen clear If you are using System 7 and are using the window colors with 8 bit (or more) video, the screen clears will be slow (up to a few seconds). I am working on this; to alleviate the problem, set the window color to black and white (in the Color control panel). - Capture to existing file in a script When you start a text capture in a script (open capture) to an existing file, it writes at the beginning of the file instead of positioning to the end of the file. This makes the file pretty much worthless! --Potential problems - Zmodem upload with hw handshake I have heard a couple of reports of getting lots of errors during a ZModem upload when using hardware handshaking. I have not been able to find any problem or even do much testing on this. ===== Some patches using ResEdit ====== - send "^M" in a script If you try to send a return by itself in a script, ZTerm will usually send a space then the return. This patch (with ResEdit) will keep it from sending the space in this case: Open ZTerm and open CODE 2. At offset 52B4 should be 671E 4A6E FFEE. Change the 671E to 601E. - Line prompt fix (text pacing) If you have the text pacing set to wait for a line prompt character, it doesnt work right. It usually will wait about 5 seconds even if it receives the prompt character. Here is a patch with ResEdit: Open ZTerm and open CODE 2. At offset 5082 should be 3B40 CAC0. Change CAC0 to CABE. - Where's the cursor When moving the cursor in a full screen editor by holding down one of the arrow keys, the cursor may not be visible. There is a delay after a keypress before it turns on the cursor. If the next key comes during that delay, you won't see the cursor. Here is a ResEdit patch: Open ZTerm and open CODE 3. At offset 2190 change 5880 to 4E71. -- Dave Alverson -- Dave Alverson, Mason OH -- David Faust | tigger@fiesta.cns.udel.edu | Student Consultant 222 Ray St. B | tigger@chopin.udel.edu | Microcomputing Resource Newark, DE | tigger@freezer.cns.udel.edu | Center 19717 | dfaust@aol.com | University of Delaware .