Short: Updates `term' v4.7 to v4.7c Author: Olaf `Olsen' Barthel Type: comm/term Architecture: m68k-amigaos `term' v4.7c update =================== This patch addresses a number of problems in `term' v4.7, plus a few bugs that did not really get fixed in the v4.7a and v4.7b updates, namely: - Another last minute change that bit me. I made the dialer text box lines a little smaller and took out some few lines that appeared to be useless. Well, they weren't that useless after all. The changes cut off the message box text. They now look like they did before. - In the PhoneLog format call log files, host name and number were swapped [Maik Schreiber]. - The job queue processing was broken for one type of job. Actually, there was just one job around of this type. Startup scripts wouldn't execute but crash the machine [Markus Dages]. - The pen allocation code could run forever due to a typo I made. When is = != ==? - The "Time to connect" settings only entered into the cost calculation, but never had any effect on the time displayed on the screen. - The "Print screen" and "Print clipboard" code was broken. `term' could believe that during printing an error had occured before even the first character was printed [Michael Jaccoud]. - For some features `term' would allow you append data to existing files, such as when opening a capture file. With the "protective mode" enabled you would be asked to confirm that you want to replace an existing file before you would eventually get to confirm that you really want to append data to it. I changed this, so you will see only one requester now [Edith Goldstein]. - Added the last few V34 bps rates to the default list. The bps rate selector also no longer rounds off baud rates to default values [Russ LeBar]. - If the serial device driver doesn't open and returns error #3 `term' now pretends it was error #2. The MFC duart.device does this. - The order in which you pick items from the quick dial menu now once again affects the order in which they end up in the dial list. - The fast! macro display was using one single operating system call that was unavailable under Kickstart 2.04, crashing Intuition almost instantly. Fixed [David Dares]. - Changed the way uploads from the upload queue take place. The upload list is no longer locked until the transfer is finished. - The ARexx "DIAL" command was entirely broken. It now finally does what it was spec'ed to [Daniel Wicke]. - When adding new files to the upload list with the "Add files..." button the upload process would get a hold of resources it would not return. When doing a file transfer both `term' and the upload process would eventually lock up. - With the editor window open, the phonebook list display will no longer have the selected entry jump around when using the cursor keys to move it. - When capturing incoming text in a file and freezing the text buffer contents data will no longer end up in the buffer, regardless of the text buffer operating mode used [Luca Longone]. - The "Connect limit" was mistaken as being the number of seconds before executing the "Limit macro". This has been fixed, it is now used as the number of minutes before the macro needs to be executed [Andree Mädl]. - The phonebook entry editor is now split in two: the first page shows the former left half of the window and the second page shows the former right half of the window. - Removed the checksumming code from the generic 68k version. - The phone rate import procedure now properly copies the default settings item [Niels Knoop]. - The phone settings editor window no longer fails to show the second page [Niels Knoop]. - When doing a file transfer, files no longer get sorted by size before they are uploaded. I plan to make this configurable some day [Lars Wache]. - Even when in "unlimited redial mode", the dialer window now shows the number of dial retries [Niels Knoop]. - Holding down any [Shift] key when selecting the "Phonebook..." menu item will now properly open the editor window [Michael Merkel]. - Finally found out why the "Misc settings"/"User interface"/"Alert mode" could flip back to "Bell & Screen to front". A version check would always turn out to be true when in fact it shouldn't. Whew [Shaun Falkenberg]! - Fixed the ARexx "SENDFILE" command, and probably others as well. A new command table entry had caused the the command argument tables to shift out of sync. I changed the data structures to avoid this now and in the future [Jari Karjalainen]. - Fixed the ARexx "HANGUP" command, which could cause the Rexx script to hang. As it turned out, I forgot to reply the Rexx message after going through the hangup procedure [Bob Maple]. - Added an extra second to wait after sending the modem init command in the dialer. As it turns out, some modems do not accept any input at all for a tick after receiving and processing the "ATZ" command. When they return with "OK", they are still deaf and dumb and won't accept the following dialing command. The ideal solution would be to put a small delay in front of the dial command itself, but not everyone can do this. - Added the "NO ANSWER" modem result code. The dialer treats this just like "BUSY". - User interface support library rewritten to use frames from system image class (frameiclass) to support different image styles. - In the packet window, lines of input are now terminated with a \R, which makes the end of line character(s) configurable through the end of line translation settings in the terminal configuration [Craig Glaser]. - Fixed yet another crash due to use of a Kickstart 3.x only routine under Kickstart 2.04 (in the fast macro rendering code). - Made the main window simple refresh (unless an external emulation is in effect). - Made the text buffer window and screen simple refresh. - Marked text now also gets updated when windows need refreshing. - Rewrote the status line update code to properly refresh damaged parts. - Printing and storing the terminal display contents as a picture now also work with the simple refresh windows. - Updated the text buffer display code to repair its display after scrolling. - Rewrote the complicated and icky bits of the status display code. I should have done this years ago [Matthias Scheler]. What's in the archive? ====================== The following files should be included in this archive: gtlayout.library Updated user interface support library v40.9 (generic 68k version) term-020-47c.pch Patch to update `term' v4.7 (020+ version) term-020-47c.pch.sig PGP signature for term-020-47c.pch term-any-47c.pch Patch to update `term' v4.7 (generic 68k version) term-any-47c.pch.sig PGP signature for term-any-47c.pch Patch-4.7c.notes The file you are currently reading spatch Tool to apply the patch Update-term4.7 Installer script to apply the patch How to apply this patch? ======================== Just use the supplied installer script, it will do all the messy work for you which involves deciding with program type you are using (either the 020+ version or the generic 68k version), making a backup copy of the old program and last but not least applying the patch. NOTE: Make sure that you use the most recent Installer V43.3 or you might have problems applying the patch. If the patch cannot be applied ============================== If the patch still does not get applied, you can still apply it manually. Open a shell window, then enter the following (assuming that you have the spatch program in the shell search path and the patch file in the right place): spatch -oterm-47c -pterm-any-47c.pch term (For the generic 68k version) or spatch -oterm-47c -pterm-020-47c.pch term (For the 020+ version) This will create the file "term-47c". Rename your old `term' file, then rename "term-47c" to "term". That's all, folks. Note that each patch file can be applied only to the corresponding program version. You cannot update the generic 68k version with the 020+ patch file and the other way round. If the patch fails at first, try the other patch file. If this still does not work, make sure you have the original `term' v4.7 as found on Aminet. Let me stress this: these patch files must be applied to the original v4.7 files as found on Aminet. They cannot be applied to recompiled versions or to files which already have the v4.7a or v4.7b patch applied. Famous last words ================= This patch file was created using the "scompare" SAS Binary File Compare Program V6.50 which is copyright © 1992-1993 SAS Institute, Inc. The "spatch" SAS Binary File Patcher V6.50 is copyright © 1992 SAS Institute, Inc. If you do not trust this patch file, you can request a patch file directly from me either on disk (do not forget to include money to cover the postage) or via eMail. My mail address is: Olaf Barthel Brabeckstrasse 35 D-30559 Hannover Federal Republic of Germany My eMail address is: olsen@sourcery.han.de