From cmg Fri Aug 30 13:02:31 1991 Return-Path: Received: by watsun.cc.columbia.edu (5.59/FCB) id AA13446; Fri, 30 Aug 91 13:02:31 EDT Date: Fri, 30 Aug 91 13:02:30 EDT From: Christine M Gianone To: Info-Kermit Subject: Info-Kermit Digest V14 #4 Reply-To: Info-Kermit@watsun.cc.columbia.edu Queries-To: Info-Kermit-Request@WATSUN.CC.COLUMBIA.EDU Errors-To: Info-Kermit-Request@watsun.cc.columbia.edu Message-Id: Info-Kermit Digest Fri, 30 Aug 1991 Volume 14 : Number 4 Today's Topics: MS-DOS Kermit 3.11 Beta Testing Continues Kermit News #5 The Old Curiosity Shop MS-DOS Kermit vs Twincom 9600/V42.bis Modem Initialization in MS-DOS Kermit The Wonders of Kermit 0.98(63) and One Little Grouse Digest submissions may be sent to Info-Kermit@WATSUN.CC.COLUMBIA.EDU or KERMIT@CUVMA.BITNET. Requests for addition to or deletion from the Info-Kermit subscriber list should be sent to LISTSERV@CUVMA.BITNET or LISTSERV@CUVMA.CC.COLUMBIA.EDU. These messages must be of the form: SUBSCRIBE I-KERMIT (To start a subscription) UNSUBSCRIBE I-KERMIT (To cancel a subscription) REGISTER I-KERMIT (To correct your name) Kermit files may be obtained over networks and by mail order. On the Internetwork, use FTP to log in to host WATSUN.CC.COLUMBIA.EDU, a SUN-4/280 running UNIX (SUNOS 4.1), IP host number 128.59.39.2. Login as user anonymous (note, lower case), any password, and GET or MGET (MULTIPLE GET) the desired files. The Kermit files are in directories kermit/a, kermit/b, kermit/c, kermit/d, and kermit/e. Test versions are in kermit/test. All files in these directories should be transferred in text (ASCII) mode. Binaries are in kermit/bin (use ftp in binary mode). You can also get Kermit files over the BITNET/EARN network; to get started send a message with text HELP to KERMSRV, the Kermit file server, at host CUVMA. For detailed instructions, read the file kermit/a/aanetw.hlp (AANETW.HLP on KERMSRV). To order by mail, request a complete list of Kermit versions and an order form from Kermit Distribution, Columbia University Center for Computing Activities, 612 West 115th Street, New York, NY 10025 USA. ---------------------------------------------------------------------- Date: Fri, 30 Aug 1991 12:00 EDT >From: Christine M Gianone Subject: MS-DOS Kermit 3.11 Beta Testing Continues Keywords: MS-DOS Kermit 3.11, TCP/IP Reports on the beta release of MS-DOS Kermit 3.11 continue to pour in to Professor Joe R. Doupnik (JRD) of Utah State University. In order to take full advantage of these reports and produce a solid official version, the testing period will continue for a few more days. The final release is expected by the end of next week. The new files will remain in kermit/test/ms* on watsun.cc.columbia.edu, and in T:MS*.* on KERMSRV at CUVMA on BITNET/EARN until then. Convert the MSTIBM.BOO file into MSTIBM.EXE with any of the MSBPCT.* programs available in kermit/a or kermit/bin, or from KERMSRV. On the Internet only, the binary MSTIBM.EXE program is available via binary-mode FTP from kermit/bin/mstibm.exe. FTP users: remember -- transfer files from the kermit/bin directory in binary mode, transfer all files from all the other directories in text (ASCII) mode. Source code will appear with the final release. Once again we offer our deepest thanks to Joe for his skill and stamina to make this new version of MS-DOS Kermit available. ------------------------------ Date: Fri, 30 Aug 1991 12:00 EDT >From: Christine M Gianone Subject: Kermit News #5 Keywords: Newsletter Kermit News #5, our paper newsletter (ISSN 0899-0309), will be published in a couple months. If you received Kermit News #4, or if you ordered Kermit material from us since June 1990, you're already on the mailing list. If you want to be added to the mailing list, send in your postal address. Library serials collections are encouraged to subscribe too. No cost! If you haven't seen Kermit News before, copies of the last three issues are available online as kermit/e/news*.* (NEWS*.* from KERMSRV). If you would like to publish an article in Kermit News #5, please send it in! We're looking for stories about interesting ways you or your organization are using or benefitting from Kermit, technical articles, reviews, and anecdotes. Articles should be about 500 words (rough guideline, we're not strict). The deadline is October 1, 1991. ------------------------------ Date: Sat, 24 Aug 91 01:19:23 MEZ >From: "Gisbert W.Selke" Subject: The Old Curiosity Shop Keywords: MS-DOS Kermit, PRODUCT macro ; File ARITHMET.INI ; Arithmetic for MS-DOS-Kermit! ; Gisbert W.Selke, Aug 1991. ; Share and enjoy. ; ; This collection of macro definitions for MS-DOS Kermit 3.10 (or later) ; was prompted by Chris Gianone's remark: ; "Meanwhile, creative Kermit users will no doubt find their own uses for ; [the PRODUCT macro]". (Using MS-DOS Kermit, 2nd ed., p 182) ; ; Having done some math, I think I *know* what a product is... ; Given that Joe D. has made Kermit with its script language a universal ; Turing machine... There you are. ; ; TAKE this file from the MS-Kermit> prompt; then, you can do calculations: ; tadd <...> : show sum of numbers ; ex: tadd 15 17 yields 32 ; ex: tadd 15 17 19 yields 51 ; tmult <...> : show product of numbers ; ex: tmult 11 13 yields 143 ; ex: tmult 2 3 4 5 yields 120 ; tfact : show factorial of number ; ex: tfact 5 yields 120 ; Macros used internally are explained below. ; ; More importantly, when you're in CONNECT mode and your host sends a ; sequence like "ESC [ 15;7 ~", the product of the two numbers will ; appear on your screen. ; ; Remark: Multiplication can be implemented more efficiently. This is ; left as an exercise for the reader. So are FFT and primality ; testing for large integers. ; ; Uses variables \%a..\%e as arithmetic registers and for passing results. ; ; Elementary operations: ; Increment one-digit number (\%1) by 1; result in \%r, overflow in \%o: def inc1 def \%o 0,if = \%1 0 def \%r 1,if = \%1 1 def \%r 2,- if = \%1 2 def \%r 3,if = \%1 3 def \%r 4,if = \%1 4 def \%r 5,- if > \%1 4 inc1b \%1 ; internal macro for inc1: def inc1b if = \%1 5 def \%r 6,if = \%1 6 def \%r 7,if = \%1 7 def \%r 8,- if = \%1 8 def \%r 9,if = \%1 9 def \%r 0,if = \%1 9 def \%o 1 ; Increment the number in registers \%a..\%e by 1: def inc5 inc1 \%e, ass \%e \%r,if = \%o 0 go e,inc1 \%d, ass \%d \%r,- if = \%o 0 go e,inc1 \%c, ass \%c \%r, if = \%o 0 go e,inc1 \%b,- ass \%b \%r, if = \%o 0 go e,inc1 \%a, ass \%a \%r,:e ; Split multi-digit number into digits, result in \%a..\%e: def split def \%a 0,def \%b 0,def \%c 0,def \%d 0,def \%e 0,- if = \%1 0 go e,set cou \%1,:l,inc5 \%a \%b \%c \%d \%e,if cou go l,:e ; Add \%1 to number in \%a..\%e: def add1 if = \%1 0 go e,set cou \%1,:l,inc5 \%a \%b \%c \%d \%e,- if cou go l,:e ; Add two numbers; result in \%a..\%e: def add split 0,if > \v(argc) 1 split \%1,if > \v(argc) 2 add1 \%2,- if > \v(argc) 3 add1 \%3,if > \v(argc) 4 add1 \%4,- if > \v(argc) 5 add1 \%5,if > \v(argc) 6 add1 \%6,- if > \v(argc) 7 add1 \%7,if > \v(argc) 8 add1 \%8,- if > \v(argc) 9 add1 \%9 ; Multiply number in \%a..\%e by \%1; result in \%a..\%e: def mult1 set cou \%1,ass \%9 \%a\%b\%c\%d\%e,if > \%1 0 go s,split 0,- go e,:l,add1 \%9,:s,if cou go l,:e ; Multiply two numbers; result in \%a..\%e: def mult split 1,if > \v(argc) 1 split \%1,if > \v(argc) 2 mult1 \%2,- if > \v(argc) 3 mult1 \%3,if > \v(argc) 4 mult1 \%4,- if > \v(argc) 5 mult1 \%5,if > \v(argc) 6 mult1 \%6,- if > \v(argc) 7 mult1 \%7,if > \v(argc) 7 mult1 \%8,- if > \v(argc) 9 mult1 \%9 ; Time-honoured practice: a factorial routine: def fact split 1,if = \%1 0 go e,set count \%1,:l,mult1 \v(count),- if cou go l,:e ; user interface macros: calls for macros above, plus display of result: def fatal echo Error: \%1\13, def \%1, stop ; error handler def tinc1 inc1 \%1,echo \%o\%r ; ex: tinc1 5 def tinc5b inc5b \%1 \%2 \%3 \%4 \%5,echo \%a\%b\%c\%d\%e ; ex: tinc5b 1 2 3 9 9 def tinc5 split \%1,inc5 \%a \%b \%c \%d \%e,echo \%a\%b\%c\%d\%e ; ex: tinc5 99 def tsplit split \%1,echo \%a\%b\%c\%d\%e ; ex: tsplit 12399 def tadd add \%1 \%2 \%3 \%4 \%5 \%6 \%7 \%8 \%9,echo \%a\%b\%c\%d\%e def tadd1 add1 \%1,echo \%a\%b\%c\%d\%e ; ex: split 17, tadd1 15 def tmult1 mult1 \%1,echo \%a\%b\%c\%d\%e ; ex: split 13, tmult1 7 def tmult mult \%1 \%2 \%3 \%4 \%5 \%6 \%7 \%8 \%9,echo \%a\%b\%c\%d\%e def tfact if not = \v(argc) 2 fatal {TFact takes exactly 1 numeric - argument},fact \%1,echo \%a\%b\%c\%d\%e ; Multiplication per PRODUCT macro: def product mult \%1 \%2 \%3 \%4 \%5 \%6 \%7 \%8 \%9,- askq \%9 Result is \%a\%b\%c\%d\%e\59 hit RETURN:,connect ; Factorial: def factorial if not = \v(argc) 2 fatal {Factorial takes exactly 1 - numeric argument},fact \%1,askq \%9 Result is \%a\%b\%c\%d\%e\59 - hit RETURN:,connect ; End of MS-DOS-Kermit arithmetic routines. \Gisbert [Ed. - Gisbert, you have done a fine job of demonstrating the power, elegance, user-friendliness, and ease of use of MS-DOS Kermit's script programming language! This breakthrough makes cryptic programming languages like C, Fortran, and BASIC -- not to mention hand calculators -- totally obsolete.] ------------------------------ Date: 16 Aug 91 20:03:50 GMT >From: gumley@ltp.gsfc.nasa.gov (LIAM GUMLEY) Subject: MS-DOS Kermit vs Twincom 9600/V42.bis Keywords: MS-DOS Kermit, Modems G'day people. This is kind of a software question as well but I figured this was the best place to post. I have just installed a Twincom 9600/V42.bis modem in my 386. I have been using Kermit for a while with my previous 2400 baud modem, and was hoping to continue using it with this modem. However I cannot get kermit to 'wake-up' the modem with the AT command. I tried COMMO 4.52 for the same purpose and it worked just fine with no special setup. Scenario: 386 booted with 'clean' MSDOS 4.01 - no config.sys or autoexec.bat. Modem has had dip-switches changed from 246 to 135 - to set COM1 and IRQ4. No changes have been made to the modem NVRAM setup (factory defaults). MS-Kermit 3.10 started with no initialization file. Kermit commands are set port 1 set speed 38400 connect Now when I type AT there is no response. If I start up COMMO, I get a response with AT immediately. If I dial with COMMO and get the modem on-line, I can do a warm re-boot, and Kermit will then talk to the modem normally (as far as I can tell). So I figure there must be something that Kermit is not doing correctly in sensing COM port speed or something. I have tried all the SET PORT and SET COM1 options that the Kermit beware file suggests, but have had no luck. Okay, I could trash Kermit and use COMMO. But I want to use kermit if possible. Cheers, Liam. Liam E. Gumley Research and Data Systems Corporation Disclaimer: Greenbelt MD, USA Opinions I express here are gumley@ltp.gsfc.nasa.gov my own, not the company's. [Ed. - Liam sent this later: "I have some good news. I was playing with the modem again this morning, and I thought "Why not try the DIAL script (hayes.scr) you supplied with MS-Kermit 3.10?" So I shut the computer down, re-booted, started up kermit, then did a DIAL whatever and it came back with: Error: Turn on or connect your modem BUT within a second, it had woken up the modem, and was dialing the number. I changed hayes.scr to have the speed=38400 and to do ATDT tone dialling. Kermit now works fine! I can exit, and re-enter Kermit as usual. I guess that the initialization string output in HAYES.SCR is what does the good deed. So it looks like things are working as they should. Thanks again for your very prompt reply. I've been using Kermit for a few years now because it's the only program I know that maps the DEC-VT keypad satisfactorily - once you get used to it you don't want to change. Heck, I have the little white and gold DEC keypad stickers on my PC keyboard!] ------------------------------ Date: Wed, 21 Aug 1991 10:02:38 -0500 (CDT) >From: Kathy Kothmann Subject: Modem Initialization in MS-DOS Kermit Keywords: MS-DOS Kermit, Modems We have an MS-DOS Kermit question which, although I have consulted Christine Gianone's book on MS-Kermit, I cannot locate the answer. I hope the following excerpts will explain. On Tue, 20 Aug 1991, Peter Ferrara wrote: > > Where does the initialization command go for setting up ms-kermit. I am > > trying a VIVA 2400bps modem and can't get kermie baby to accept it. > > Its initialization command is ATE1V1X4QO&C1&D2 S7=255 SO=O^M > > pferrara@tenet To which I responded: > > Two suggestions: First - edit the mskermit.ini file and put it in > > there. > > But a better alternative is to go ahead and type connect and get into > > terminal mode and then type at . Then type that long > > initilization string and press . Then type ATDT phonenumber. > > > > I think there's a way to customize the kermit files so that it will do > > that for you... will check the manual I bought on MS-Kermit and see. > > Kathy And Peter answered this morning with: > Thanks... I appreciate any help. it seems that our ms-kermit version is > generic and has a real difficult time accepting the "cheap" modems. > Hope to hear from you soon. NOW - I checked the .INI file and couldn't find anyplace to enter that lengthy initialization string nor could I see how to get kermit to enter it after typing CONNECT (which is where I thnk it belongs). What is the easiest way for Peter to get that string sent to his modem? We surely would appreciate some assistance. If there is someone else we should write, please let us know. THANKS, Kathy Kothmann kathyk@tenet.edu [Ed. - Look at MSIHAY.SCR (which is normally renamed to HAYES.SCR). The following sends the modem initialization command. Change it to whatever is needed: output ATQ0V1X1\13 ; Send AT, use word result codes. See your modem manual for details.] ------------------------------ Date: Wed, 21 Aug 91 17:42 BST >From: Alan Grafen Subject: The Wonders of Kermit 0.98(63) and One Little Grouse Keywords: MacKermit Dear Kermit People, I've just started using Kermit 0.98(63) for the Mac, and its wonderful. Its cutting and pasting is extremely useful - no mainframe user can afford to be without facilities of this kind. BUT for some reason the clipboard is private to Kermit. I would like to cut from the Kermit window, and paste into a word processor; and then cut from the word processor and paste into the Kermit window. I'm sure this was not intended - and that other people have pointed this out. Please add my voice to those asking for a Mac-wide clipboard in the next release. Kermit is a tremendous public service - please do not construe my letter as a complaint. Keep up the good work. Best Wishes, Alan Grafen [Ed. - This problem should be fixed in the next release. Unfortunately, we are not quite sure exactly when that will be. Watch Info-Kermit for announcements.] ------------------------------ End of Info-Kermit Digest *************************