From news@columbia.edu Thu Aug 24 17:37:18 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id RAA01984 for ; Thu, 24 Aug 2000 17:37:17 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id RAA06796 for ; Thu, 24 Aug 2000 17:37:16 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id RAA06048 for kermit.misc@watsun.cc.columbia.edu; Thu, 24 Aug 2000 17:29:22 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jaltman@columbia.edu (Jeffrey Altman) Subject: Re: Caps lock status changes Date: 24 Aug 2000 21:29:22 GMT Organization: Columbia University Message-ID: <8o443i$5st$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <39A57464.49671BA1@muskingum.junkedu>, Ryan Harvey wrote: : I have found that when I am using K95 on my Win95 system, the caps lock : status won't "hold" when I switch between applications. For example, I : could be working with my caps lock on in Kermit, I switch over to : something else and when I return it has switched to lower case. Is : there any way I can have my kermit session retain the case when I switch : between applications? : This is a bug in Windows 95/98/ME that has repeatedly been reported to Microsoft without any response. This has been documented in the K95 Bugs file as number 224. I wish we had something else to tell you. Jeffrey Altman * Sr.Software Designer The Kermit Project * Columbia University 612 West 115th St * New York, NY * 10025 * USA http://www.kermit-project.org/ * kermit-support@kermit-project.org From news@columbia.edu Sat Aug 26 01:07:20 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id BAA13604 for ; Sat, 26 Aug 2000 01:07:19 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id BAA29525 for ; Sat, 26 Aug 2000 01:07:19 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id AAA11971 for kermit.misc@watsun.cc.columbia.edu; Sat, 26 Aug 2000 00:44:58 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Ron Heiby Subject: "Using C-Kermit" on CD-ROM? Message-ID: Date: Fri, 25 Aug 2000 23:44:42 -0500 Organization: WinStar GoodNet, Inc. To: kermit.misc@columbia.edu Pardon me for being particularly dense, today. A while back, Kermit-95 .20 was released. Part of the announcement seemed to be announcing something I've wanted for a long time -- "Using C-Kermit" on CD-ROM in the shrink-wrapped distribution. Hooray! One thing I haven't found is pricing / availability of an upgrade for those of us who bought a long time ago, other than the patch downloads (for which I am continually grateful). Basically, I want that CD-ROM! I've looked at the web site. I did not find a price for an existing licensee to buy a new shrink-wrap copy at a discount. However, it *seems* like the web site is saying that the .PDF I want is on the C-Kermit 7.0 CD-ROM, rather than on the Kermit-95 CD-ROM. It also seems to be saying that there *is* an upgrade price for that CD-ROM, if I mail in an appropriate scrap of paper from one of my paper copies of "Using C-Kermit" with my payment. Am I interpreting the situation correctly? Am I allowed to send in multiple sets of "appropriate scrap" and payment, and get multiple copies of the CD-ROM at the "upgrade" price? Thanks! -- Ron. From news@columbia.edu Sat Aug 26 03:37:23 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id DAA03230 for ; Sat, 26 Aug 2000 03:37:19 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id DAA04368 for ; Sat, 26 Aug 2000 03:37:19 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id DAA16488 for kermit.misc@watsun.cc.columbia.edu; Sat, 26 Aug 2000 03:16:08 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Michael Sundermann Subject: Re: HTTP Date: Sat, 26 Aug 2000 09:12:22 +0200 Organization: T-Online Message-ID: To: kermit.misc@columbia.edu >"GET /" is not a valid HTTP command. You need to specify the HTTP version Maybe this is wrong, but it works wirh Kermit 1.1.17 and with Windows telnet.exe >Is there some reason you are not using the HTTP commands built into >Kermit's script language? > > set host 192.168.1.2 http > if success http get / I like the new way, But sometimes I want to have the old way like in Kermit 1.1.17. Because I am learning HTTP at the moment and I am reading a beginner book about HTTP. In this book there some examples which I want to try myself. For this examples I need a telnet session to a HTTP port. All examples runs well with Windows telnet.exe program and with Kermit 1.1.17. It seems to me that it is not possible any more make Kermit 1.1.20 behave like Kermit 1.1.17. Thanks Michael From news@columbia.edu Sat Aug 26 11:07:19 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id LAA21770 for ; Sat, 26 Aug 2000 11:07:19 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA29442 for ; Sat, 26 Aug 2000 11:07:19 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id KAA03893 for kermit.misc@watsun.cc.columbia.edu; Sat, 26 Aug 2000 10:44:24 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jaltman@columbia.edu (Jeffrey Altman) Subject: Re: "Using C-Kermit" on CD-ROM? Date: 26 Aug 2000 14:44:24 GMT Organization: Columbia University Message-ID: <8o8l48$3pi$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Ron Heiby wrote: : One thing I haven't found is pricing / availability of an upgrade for those : of us who bought a long time ago, other than the patch downloads (for which : I am continually grateful). Basically, I want that CD-ROM! The "Using C-Kermit 2nd Ed." in PDF format is available only on the "Kermit 95 1.1.20" CD-ROM. In the past we were happy to send (upon request) new Kermit 95 media for the cost of shipping and media. This was possible because there was no third party product on the CD-ROM. With the new CD-ROM we cannot ship updates (at all) because it includes the "Using C-Kermit 2nd Edition" book. If you want a license to the electronic version of "Using C-Kermit 2nd Ed." you must purchase a new individual copy of Kermit 95. Jeffrey Altman * Sr.Software Designer The Kermit Project * Columbia University 612 West 115th St * New York, NY * 10025 * USA http://www.kermit-project.org/ * kermit-support@kermit-project.org From news@columbia.edu Sat Aug 26 11:07:20 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id LAA06601 for ; Sat, 26 Aug 2000 11:07:20 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA29445 for ; Sat, 26 Aug 2000 11:07:19 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id KAA04168 for kermit.misc@watsun.cc.columbia.edu; Sat, 26 Aug 2000 10:52:22 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jaltman@columbia.edu (Jeffrey Altman) Subject: Re: HTTP Date: 26 Aug 2000 14:52:21 GMT Organization: Columbia University Message-ID: <8o8lj5$425$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Michael Sundermann wrote: : : >"GET /" is not a valid HTTP command. You need to specify the HTTP version : : Maybe this is wrong, but it works wirh Kermit 1.1.17 and : with Windows telnet.exe : If it works with 1.1.17 then it will work with 1.1.20 provided that your web server supports it. http://www.columbia.edu/ does not. [D:/kermit/src/] C-Kermit>set term echo on [D:/kermit/src/] C-Kermit>set host www http /none DNS Lookup... Trying 128.59.59.54... Reverse DNS Lookup... (OK) www-4.cc.columbia.edu connected on port http [D:/kermit/src/] C-Kermit>connect Entering CONNECT mode: GET / HTTP/1.0 HTTP/1.1 200 OK Date: Sat, 26 Aug 2000 14:46:34 GMT Server: Apache/1.3.4 (Unix) Last-Modified: Fri, 25 Aug 2000 20:20:40 GMT ETag: "69bc-3a9d-39a6d518" Accept-Ranges: bytes Content-Length: 15005 Connection: close Content-Type: text/html Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id GAA02253 for ; Tue, 29 Aug 2000 06:37:26 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id GAA27602 for ; Tue, 29 Aug 2000 06:37:25 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id GAA03180 for kermit.misc@watsun.cc.columbia.edu; Tue, 29 Aug 2000 06:11:11 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Michael Sundermann Subject: Re: HTTP Date: Tue, 29 Aug 2000 12:10:15 +0200 Organization: T-Online Message-ID: To: kermit.misc@columbia.edu >If it works with 1.1.17 then it will work with 1.1.20 provided >that your web server supports it. http://www.columbia.edu/ does not. > > [D:/kermit/src/] C-Kermit>set term echo on > [D:/kermit/src/] C-Kermit>set host www http /none > DNS Lookup... Trying 128.59.59.54... Reverse DNS Lookup... (OK) > www-4.cc.columbia.edu connected on port http Thanks for your help and the option /none. With my kermit version (1.1.20) I have to switch the two statements, if not, I can not see the echo. (probably you have a newer version than I): set host www.columbia.edu http /none set term echo on connect GET / HTPP/1.0 From news@columbia.edu Tue Aug 29 10:37:28 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id KAA25624 for ; Tue, 29 Aug 2000 10:37:28 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA16837 for ; Tue, 29 Aug 2000 10:37:26 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id KAA14017 for kermit.misc@watsun.cc.columbia.edu; Tue, 29 Aug 2000 10:34:43 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "A.Klamaris" Subject: USB Modem SupraMAX with K95 Date: Tue, 29 Aug 2000 17:36:28 +0300 Organization: An OTEnet S.A. customer Message-ID: <8oghlm$a5u$1@newssrv.otenet.gr> To: kermit.misc@columbia.edu Can anyone help me to setup K95 to work with the USB Modem SupraMAX? From news@columbia.edu Tue Aug 29 11:07:26 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id LAA00053 for ; Tue, 29 Aug 2000 11:07:26 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA22757 for ; Tue, 29 Aug 2000 11:07:25 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id KAA14256 for kermit.misc@watsun.cc.columbia.edu; Tue, 29 Aug 2000 10:39:59 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: USB Modem SupraMAX with K95 Date: 29 Aug 2000 14:39:59 GMT Organization: Columbia University Message-ID: <8oghvv$dtd$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <8oghlm$a5u$1@newssrv.otenet.gr>, A.Klamaris wrote: : Can anyone help me to setup K95 to work with the USB Modem SupraMAX? : As long as you set it through the Windows Control Panel, it should "just work". In K95, use "set tapi line" rather than "set port com1" or whatever. - Frank From news@columbia.edu Tue Aug 29 11:37:27 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id LAA14749 for ; Tue, 29 Aug 2000 11:37:27 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA28112 for ; Tue, 29 Aug 2000 11:37:26 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id LAA15785 for kermit.misc@watsun.cc.columbia.edu; Tue, 29 Aug 2000 11:15:19 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jaltman@columbia.edu (Jeffrey Altman) Subject: Re: USB Modem SupraMAX with K95 Date: 29 Aug 2000 15:15:18 GMT Organization: Columbia University Message-ID: <8ogk26$fd4$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <8oghlm$a5u$1@newssrv.otenet.gr>, A.Klamaris wrote: : Can anyone help me to setup K95 to work with the USB Modem SupraMAX? Follow the directions for installing your USB modem under Windows using the Windows Modems Control Panel. Then you can use your modem as a TAPI device with K95. Jeffrey Altman * Sr.Software Designer The Kermit Project * Columbia University 612 West 115th St * New York, NY * 10025 * USA http://www.kermit-project.org/ * kermit-support@kermit-project.org From news@columbia.edu Tue Aug 29 12:07:26 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id MAA23647 for ; Tue, 29 Aug 2000 12:07:26 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA03596 for ; Tue, 29 Aug 2000 12:07:26 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id LAA17427 for kermit.misc@watsun.cc.columbia.edu; Tue, 29 Aug 2000 11:52:58 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: USB Modem SupraMAX with K95 Date: 29 Aug 2000 15:52:57 GMT Organization: Columbia University Message-ID: <8ogm8p$h0f$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <8ogkdn$b9o$1@newssrv.otenet.gr>, A.Klamaris wrote: : : Frank da Cruz wrote in message : 8oghvv$dtd$1@newsmaster.cc.columbia.edu... : > As long as you set it through the Windows Control Panel, it should "just : > work". In K95, use "set tapi line" rather than "set port com1" or : > whatever. : > : I replaced the line "set port com1" with the "set tapi line" in file : mscustom.ini, but when K95 started it gave me the message "word tapi is not : You mean k95custom.ini, right? : usable here". Can you help me more? : You started out by saying that you have K95. Do you really? If you have MS-DOS Kermit, you'll need to replace it by Kermit 95 if you want to use TAPI devices. If you do have K95, then it must be a really old version. TAPI support was added in version 1.1.12, June 1997. Upgrade patches are here: http://www.columbia.edu/kermit/k95patches.html - Frank From news@columbia.edu Thu Aug 31 12:37:34 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id MAA20863 for ; Thu, 31 Aug 2000 12:37:33 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA01991 for ; Thu, 31 Aug 2000 12:37:33 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id MAA05373 for kermit.misc@watsun.cc.columbia.edu; Thu, 31 Aug 2000 12:34:25 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Kermit with GCOS 8 Date: 31 Aug 2000 16:34:22 GMT Organization: Columbia University Message-ID: <8om1ee$57q$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <8olujd02gr9@enews2.newsguy.com>, David Copelovici wrote: : Is it possible to send text/binary files from a GCOS 8 machine (to an NT : machine) using the kermit protocol (I think it's called kermsend on the GCOS : machine)? If not, what are the problems associated with such a transfer? I'm : using C-Kermit 7.0.197. : Using C-Kermit 7.0.197 on what? You only mentioned GCOS 8 and NT. Do you mean Kermit 95 on NT? If not, that's the appropriate software for the NT side: http://www.columbia.edu/kermit/k95.html Anyway, maybe somebody who actually uses GCOS 8 can answer with more authority, but in case you don't hear anything else, everything we have for GCOS 8 is in the Kermit FTP archive: ftp://kermit.columbia.edu/kermit/d/ The files are: -rw-rw-r-- 664 Aug 16 1988 hgann.txt -rw-rw-r-- 1105 Aug 16 1988 hgboot.a -rw-rw-r-- 3439 Aug 16 1988 hgdns.doc -rw-rw-r-- 64350 Aug 16 1988 hgker.b -rw-rw-r-- 46705 Aug 16 1988 hgker.c -rw-rw-r-- 9234 Aug 16 1988 hgker.doc -rw-rw-r-- 4620 Aug 16 1988 hgker.hlp -rw-rw-r-- 1323 Aug 16 1988 hgnps.doc These are all plain-text ASCII files. The actual release date was 5 Sep 1984. Whatever documentation exists is in the hg*.doc and hgker.hlp files (and the source code itself, of course). - Frank From news@columbia.edu Thu Aug 31 21:07:34 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id VAA10609 for ; Thu, 31 Aug 2000 21:07:34 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id VAA06441 for ; Thu, 31 Aug 2000 21:07:33 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id UAA29220 for kermit.misc@watsun.cc.columbia.edu; Thu, 31 Aug 2000 20:58:51 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Mark Sapiro Subject: Re: Kermit with GCOS 8 Date: Thu, 31 Aug 2000 17:51:12 -0700 Organization: Not Very Much Message-ID: <39AEFD80.483550E2@value.net> To: kermit.misc@columbia.edu Frank da Cruz wrote: > > In article <8olujd02gr9@enews2.newsguy.com>, > David Copelovici wrote: > : Is it possible to send text/binary files from a GCOS 8 machine (to an NT > : machine) using the kermit protocol (I think it's called kermsend on the > : GCOS machine)? If not, what are the problems associated with such a > : transfer? I'm using C-Kermit 7.0.197. > > Using C-Kermit 7.0.197 on what? You only mentioned GCOS 8 and NT. Do you > mean Kermit 95 on NT? If not, that's the appropriate software for the NT > side: > > http://www.columbia.edu/kermit/k95.html > > Anyway, maybe somebody who actually uses GCOS 8 can answer with more > authority, but in case you don't hear anything else, everything we have for > GCOS 8 is in the Kermit FTP archive: > > ftp://kermit.columbia.edu/kermit/d/ > > The files are: > > -rw-rw-r-- 664 Aug 16 1988 hgann.txt > -rw-rw-r-- 1105 Aug 16 1988 hgboot.a > -rw-rw-r-- 3439 Aug 16 1988 hgdns.doc > -rw-rw-r-- 64350 Aug 16 1988 hgker.b > -rw-rw-r-- 46705 Aug 16 1988 hgker.c > -rw-rw-r-- 9234 Aug 16 1988 hgker.doc > -rw-rw-r-- 4620 Aug 16 1988 hgker.hlp > -rw-rw-r-- 1323 Aug 16 1988 hgnps.doc > > These are all plain-text ASCII files. The actual release date was > 5 Sep 1984. Whatever documentation exists is in the hg*.doc and hgker.hlp > files (and the source code itself, of course). > > - Frank Disclaimer--- I supported GCOS III and GCOS 8 at City College of San Francisco from 1975 through 1992. I knew a lot in those days. I may have forgotten it all. IMHO, the better GCOS Kermit is the package from University of Kansas. This is found in the same ftp directory that Frank mentions, but the files are those named "hdps8.*". In particular, the executable is hdps8.pak which is run through the hdps8.ftn fortran program to convert it to an actual executable (h*) file. The one big drawback of this package is it doesn't support extended length packets, but it does work. (I don't think any of the Kermit implementations from Honeywell or Bull supported extended packets either.) Transferring text files in either direction is no problem. Transferring to or from a GCOS binary file is accomplished differently depending on the objective. If you wish to store a GCOS binary file on another machine to be later sent back to GCOS and used there, you should use text format for both transfers. This is the only method which will preserve both the content and exact size of the GCOS file. If you wish to transfer binary data files to/from GCOS to actually be used on GCOS and a different machine, you use either "bitstream" or "bytestream" format depending on whether or not you want to transfer the 9th bit of each GCOS byte. See the hdps8.doc file for more information. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From news@columbia.edu Fri Sep 1 04:07:35 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id EAA08902 for ; Fri, 1 Sep 2000 04:07:34 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id EAA19998 for ; Fri, 1 Sep 2000 04:07:34 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id DAA14264 for kermit.misc@watsun.cc.columbia.edu; Fri, 1 Sep 2000 03:40:12 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: boris_waibel@my-deja.com Subject: File transfer Linux <-> NT with RS232 Date: Fri, 01 Sep 2000 07:29:50 GMT Organization: Deja.com - Before you buy. Message-ID: <8onlt1$p9n$1@nnrp1.deja.com> To: kermit.misc@columbia.edu Hi there, I have to transfer some files between a Linux box (568) and an Windoews NT machine. The only connection betweeen the two is an RS232 cable (serial ports). I would like to have a transfer program working like ftp. Is kermit the right tool for it ??? B Sent via Deja.com http://www.deja.com/ Before you buy. From news@columbia.edu Fri Sep 1 10:07:37 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id KAA29269 for ; Fri, 1 Sep 2000 10:07:35 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA08757 for ; Fri, 1 Sep 2000 10:07:34 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id KAA19623 for kermit.misc@watsun.cc.columbia.edu; Fri, 1 Sep 2000 10:02:08 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: File transfer Linux <-> NT with RS232 Date: 1 Sep 2000 14:02:06 GMT Organization: Columbia University Message-ID: <8oocsu$j54$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <8onlt1$p9n$1@nnrp1.deja.com>, wrote: : I have to transfer some files between a Linux box (568) and an Windoews : NT machine. The only connection betweeen the two is an RS232 cable : (serial ports). I would like to have a transfer program working like : ftp. Is kermit the right tool for it ??? : Yes. Use a null modem cable (or modem cable with null-modem adapter, also called a "modem eliminator") to connect the two computers. The Kermit software for Linux is here: http://www.columbia.edu/kermit/ckermit.html and for NT is here: http://www.columbia.edu/kermit/k95.html - Frank From news@columbia.edu Sat Sep 2 07:37:37 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id HAA10570 for ; Sat, 2 Sep 2000 07:37:37 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id HAA13920 for ; Sat, 2 Sep 2000 07:37:36 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id HAA11497 for kermit.misc@watsun.cc.columbia.edu; Sat, 2 Sep 2000 07:09:38 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Igor Sobrado Delgado Subject: Re: k95crypt.dll Date: 2 Sep 2000 11:09:28 GMT Organization: Universidad de Oviedo Message-ID: <8oqn58$k5d$2@news01.si.uniovi.es> To: kermit.misc@columbia.edu Jeffrey Altman wrote: > Export restrictions in the U.S. have not been dropped. > They have been relaxed for source code only releases but all > binaries are still restricted. When we are able to export > the encryption features of K95 it will be announced on this > web site. Right, restrictions have only been relaxed. Now it is legal to export strong cryptosystems to other countries (as example symmetric ciphers with 128-bit length public-keys instead of 56-bit keys). I think it is not only allow to source code products. Encryption software was considered as a weapon some time ago (now it is too but with a less restrictive export controls). In this sense only printed copies of source code was exported out of the United States (as example, Phillip Zimmermann exported PGP source code this way to the north of Europe where it was scanned and recompiled to make PGPi). That was possible because the printed item was a book, not software. Now it is possible to get source code with strong encryption-schemes implemented (sendmail 8.11.0) or binaries (Netscape Communicator with U.S. encryption) legally. Sun offers for free the Encryption CD for Solaris, that includes Communicator 4.7 (U.S. encryption), DES, DES3 and a Kerberos server, all binaries, not source code. Probably to export strong cryptosystems in binary-form is now permitted. Hope this helps, Igor. -- Igor Sobrado, UK34436 - sobrado@acm.org From news@columbia.edu Sat Sep 2 10:37:37 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id KAA25586 for ; Sat, 2 Sep 2000 10:37:37 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA19361 for ; Sat, 2 Sep 2000 10:37:37 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id KAA18535 for kermit.misc@watsun.cc.columbia.edu; Sat, 2 Sep 2000 10:21:33 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jaltman@columbia.edu (Jeffrey Altman) Subject: Re: k95crypt.dll Date: 2 Sep 2000 14:21:32 GMT Organization: Columbia University Message-ID: <8or2dc$i34$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <8oqn58$k5d$2@news01.si.uniovi.es>, Igor Sobrado Delgado wrote: : : Sun offers for free the Encryption CD for Solaris, that includes : Communicator 4.7 (U.S. encryption), DES, DES3 and a Kerberos server, : all binaries, not source code. : : Probably to export strong cryptosystems in binary-form is now : permitted. It is only permitted after its has been reviewed and cleared for export by the U.S. government. Kermit uses toolkits that can be replaced and upgraded by third parties. We have not received export approval. Therefore, it can not be exported. If it could be exported I would be the first to do so. Jeffrey Altman * Sr.Software Designer The Kermit Project * Columbia University 612 West 115th St * New York, NY * 10025 * USA http://www.kermit-project.org/ * kermit-support@kermit-project.org From news@columbia.edu Sat Sep 2 12:07:37 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id MAA04947 for ; Sat, 2 Sep 2000 12:07:37 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA01258 for ; Sat, 2 Sep 2000 12:07:37 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id MAA22753 for kermit.misc@watsun.cc.columbia.edu; Sat, 2 Sep 2000 12:03:10 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Igor Sobrado Delgado Subject: Re: k95crypt.dll Date: 2 Sep 2000 16:03:03 GMT Organization: Universidad de Oviedo Message-ID: <8or8bn$mop$1@localhost.localdomain> To: kermit.misc@columbia.edu Jeffrey Altman wrote: > It is only permitted after its has been reviewed and cleared for > export by the U.S. government. Kermit uses toolkits that can > be replaced and upgraded by third parties. We have not received > export approval. Therefore, it can not be exported. Thanks for this information, it is nice to know it. As you can see I do not know much about both international laws and the relaxation of export controls from January 14, 2000. I am sure this change in U.S. export regulations will help a lot to computer users even in the United States. > If it could be exported I would be the first to do so. Best regards, Igor. -- Igor Sobrado, UK34436 - sobrado@acm.org From news@columbia.edu Wed Sep 6 06:07:54 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id GAA17558 for ; Wed, 6 Sep 2000 06:07:48 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id GAA20553 for ; Wed, 6 Sep 2000 06:07:47 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id FAA15046 for kermit.misc@watsun.cc.columbia.edu; Wed, 6 Sep 2000 05:38:37 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: dorian.creber@camfordpress.co.uk (Doz) Subject: Kermit K95+ question... Date: Wed, 06 Sep 2000 09:38:58 GMT Organization: Customer of Energis Squared Message-ID: <39b6104b.63968015@news.freeserve.co.uk> To: kermit.misc@columbia.edu Hi all, Is this the correct newsgroup for Kermit K95+ support? Also, how do I diconnect the telnet session and close K95 when the user logs out ? I'm new to K95 and don't have much of a clue on how to program it... :-) Any help would be appreciated... regards, Dorian.Creber@camfordpress.co.uk From news@columbia.edu Wed Sep 6 09:37:49 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id JAA29313 for ; Wed, 6 Sep 2000 09:37:48 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id JAA25159 for ; Wed, 6 Sep 2000 09:37:48 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id JAA14562 for kermit.misc@watsun.cc.columbia.edu; Wed, 6 Sep 2000 09:32:51 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Kermit K95+ question... Date: 6 Sep 2000 13:32:50 GMT Organization: Columbia University Message-ID: <8p5h22$e70$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <39b6104b.63968015@news.freeserve.co.uk>, Doz wrote: : Is this the correct newsgroup for Kermit K95+ support? : Yes... : Also, how do I diconnect the telnet session and close K95 when the : user logs out ? : It disconnects automatically. If, for some reason, it doesn't, use Alt-X and then give a "hangup" command. Notice the status line at the bottom of the terminal ("blue") screen. It says "Help: Alt-H". Use Alt-H to get a list of important hot keys. : I'm new to K95 and don't have much of a clue on how to program it... :-) : It comes with a manual. In the Dialer, use the Help menu. At the K-95> prompt, use the "help" and "manual" commands. - Frank From news@columbia.edu Tue Sep 12 13:38:12 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id NAA20463 for ; Tue, 12 Sep 2000 13:38:12 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA18664 for ; Tue, 12 Sep 2000 13:38:11 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id NAA21255 for kermit.misc@watsun.cc.columbia.edu; Tue, 12 Sep 2000 13:34:41 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: C-Kermit question Date: 12 Sep 2000 17:34:39 GMT Organization: Columbia University Message-ID: <8plpff$ko4$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <8plnua$rsn$1@talia.mad.ttd.net>, Enrique Bernal wrote: : I have a Linux box (SuSE 6.4) with one NIC (IP: 192.168.0.1) and one serial : port ( /dev/ttyS0 ). : : I want to send (by LAN) to other host (192.168.0.2) any character received : in the serial port /dev/ttyS0. : : In the same way, I want to send out (by serial port /dev/ttyS0) any : character received (by LAN) in 192.168.0.1 : : Is possible to do this with Kermit ? : No, sorry. C-Kermit can have only one connection open at a time. - Frank From news@columbia.edu Tue Sep 12 13:38:14 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id NAA11484 for ; Tue, 12 Sep 2000 13:38:11 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA18661 for ; Tue, 12 Sep 2000 13:38:10 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id NAA20406 for kermit.misc@watsun.cc.columbia.edu; Tue, 12 Sep 2000 13:17:20 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Enrique Bernal" Subject: C-Kermit question Date: Tue, 12 Sep 2000 19:15:38 +0200 Organization: Telefonica Transmision de Datos Message-ID: <8plnua$rsn$1@talia.mad.ttd.net> To: kermit.misc@columbia.edu Hi all, I have a Linux box (SuSE 6.4) with one NIC (IP: 192.168.0.1) and one serial port ( /dev/ttyS0 ). I want to send (by LAN) to other host (192.168.0.2) any character received in the serial port /dev/ttyS0. In the same way, I want to send out (by serial port /dev/ttyS0) any character received (by LAN) in 192.168.0.1 Is possible to do this with Kermit ? Thanks in advance for any help, Enrique Bernal ebv@a68.com From news@columbia.edu Tue Sep 12 17:38:13 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id RAA26741 for ; Tue, 12 Sep 2000 17:38:12 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id RAA06500 for ; Tue, 12 Sep 2000 17:38:11 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id RAA02603 for kermit.misc@watsun.cc.columbia.edu; Tue, 12 Sep 2000 17:36:49 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jgodden@nce-mail.com (jeff godden) Subject: Re: C-Kermit question Message-ID: Date: Tue, 12 Sep 2000 21:36:31 GMT To: kermit.misc@columbia.edu On 12 Sep 2000 17:34:39 GMT, Frank da Cruz wrote: >In article <8plnua$rsn$1@talia.mad.ttd.net>, >Enrique Bernal wrote: >: I have a Linux box (SuSE 6.4) with one NIC (IP: 192.168.0.1) and one serial >: port ( /dev/ttyS0 ). >: >: I want to send (by LAN) to other host (192.168.0.2) any character received >: in the serial port /dev/ttyS0. >: >: In the same way, I want to send out (by serial port /dev/ttyS0) any >: character received (by LAN) in 192.168.0.1 >: >: Is possible to do this with Kermit ? >: >No, sorry. C-Kermit can have only one connection open at a time. > >- Frank Yet couldn't one have more than one kermit process with either a unix pipe or fifo buffer or somesuch doing a bucket chain? On an rather separate issue, Frank, when is a new version of the Kermit book coming out? 'cuz i want to give you fine folks more money. [wink] -- jeff From news@columbia.edu Tue Sep 12 18:08:11 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id SAA06920 for ; Tue, 12 Sep 2000 18:08:11 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id SAA10739 for ; Tue, 12 Sep 2000 18:08:11 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id RAA03223 for kermit.misc@watsun.cc.columbia.edu; Tue, 12 Sep 2000 17:54:35 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: C-Kermit question Date: 12 Sep 2000 21:54:34 GMT Organization: Columbia University Message-ID: <8pm8mq$34k$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , jeff godden wrote: : On 12 Sep 2000 17:34:39 GMT, Frank da Cruz wrote: : >In article <8plnua$rsn$1@talia.mad.ttd.net>, : >Enrique Bernal wrote: : >: I have a Linux box (SuSE 6.4) with one NIC (IP: 192.168.0.1) and one : >: serial port ( /dev/ttyS0 ). : >: : >: I want to send (by LAN) to other host (192.168.0.2) any character received : >: in the serial port /dev/ttyS0. : >: : >: In the same way, I want to send out (by serial port /dev/ttyS0) any : >: character received (by LAN) in 192.168.0.1 : >: : >: Is possible to do this with Kermit ? : >: : >No, sorry. C-Kermit can have only one connection open at a time. : : Yet couldn't one have more than one kermit process with : either a unix pipe or fifo buffer or somesuch doing a : bucket chain? : There's no mechanism in Kermit for linking itself to another... Hmmm... wait a minute; there's so much in there sometimes even I forget what it all is. OK, how about this: set host 192.168.0.2 transmit /pipe kerbangscriptname where "kerbangscriptname" is the name of a (C-Kermit) "Kerbang" script that (starts another copy of Kermit and) opens a serial-port connection on /dev/ttyS0 and enters CONNECT mode. But if this worked, it would work only in one direction. Some other tricks could be imagined too, maybe with session logs (did you know you can "log session |pipename"?), fopen(), etc. How about we make it a contest? But I seriously doubt there will be any truly practical solution. It would be easier to write a tiny little C program that opens the two connections and goes into a select() loop, or uses two forks for copying in the two directions. : On an rather separate issue, Frank, when is a new version : of the Kermit book coming out? 'cuz i want to give you : fine folks more money. [wink] : Well, there was going to be one for C-Kermit 7.0 but we wanted to do just a few more things first, and this got a bit out of hand, so the current plan is to have the next edition of the book (or books -- there is going to be an awful lot of new material) come out with the next release of C-Kermit, which I hope we can announce for alpha testing "shortly". - Frank From news@columbia.edu Tue Sep 12 18:38:12 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id SAA06370 for ; Tue, 12 Sep 2000 18:38:12 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id SAA11791 for ; Tue, 12 Sep 2000 18:38:11 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id SAA03901 for kermit.misc@watsun.cc.columbia.edu; Tue, 12 Sep 2000 18:09:35 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jaltman@columbia.edu (Jeffrey Altman) Subject: Re: C-Kermit question Date: 12 Sep 2000 22:09:34 GMT Organization: Columbia University Message-ID: <8pm9iu$3pq$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <8pm8mq$34k$1@newsmaster.cc.columbia.edu>, Frank da Cruz wrote: : : Yet couldn't one have more than one kermit process with : : either a unix pipe or fifo buffer or somesuch doing a : : bucket chain? : : : There's no mechanism in Kermit for linking itself to another... Hmmm... : wait a minute; there's so much in there sometimes even I forget what it all : is. OK, how about this: : : set host 192.168.0.2 : transmit /pipe kerbangscriptname : : where "kerbangscriptname" is the name of a (C-Kermit) "Kerbang" script that : (starts another copy of Kermit and) opens a serial-port connection on : /dev/ttyS0 and enters CONNECT mode. But if this worked, it would work only : in one direction. Try REDIRECT kerbangscriptname instead of transmit /pipe kerbangscriptname. That may work as well. Jeffrey Altman * Sr.Software Designer The Kermit Project * Columbia University 612 West 115th St * New York, NY * 10025 * USA http://www.kermit-project.org/ * kermit-support@kermit-project.org From news@columbia.edu Tue Sep 12 20:08:15 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id UAA10830 for ; Tue, 12 Sep 2000 20:08:11 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id UAA14838 for ; Tue, 12 Sep 2000 20:08:11 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id UAA08898 for kermit.misc@watsun.cc.columbia.edu; Tue, 12 Sep 2000 20:06:26 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Ian Lim Subject: login script help req. Date: Wed, 13 Sep 2000 08:08:45 +0800 Organization: Singapore Telecommunications Ltd Message-ID: To: kermit.misc@columbia.edu I would like to have a script for K95 as well as Kermit3.16 to do the following, pls guide me input {$} output su input {Password:} output 9999 input {$} output cd /home/tent/out input {$} from here I would like to automatically download all T* files, after successful download send all these files to /home/tent/out/backup tia From news@columbia.edu Wed Sep 13 10:38:14 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id KAA19347 for ; Wed, 13 Sep 2000 10:38:13 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA01710 for ; Wed, 13 Sep 2000 10:38:13 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id KAA17075 for kermit.misc@watsun.cc.columbia.edu; Wed, 13 Sep 2000 10:35:37 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: login script help req. Date: 13 Sep 2000 14:35:35 GMT Organization: Columbia University Message-ID: <8po3bn$glg$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Ian Lim wrote: : I would like to have a script for K95 as well as Kermit3.16 to do the : following, pls guide me : : input {$} : output su : input {Password:} : output 9999 : input {$} : output cd /home/tent/out : input {$} : : from here I would like to automatically download all T* files, after : successful download send all these files to /home/tent/out/backup : There are lots of examples in the manuals, and in the script library: http://www.columbia.edu/kermit/scriptlib.html and a brief tutorial here: http://www.columbia.edu/kermit/ckscripts.html#tut First of all, as it says there, put "if fail" or "if success" statements after each INPUT. Use LINEOUT instead of OUTPUT, or else put \13 on the end of each OUTPUT string. : from here I would like to automatically download all T* files : after successful download send all these files to /home/tent/out/backup. : /home/tent/out/backup on which computer? Assuming you mean the local computer, have your script start a Kermit server on the far end and then: remote cd if fail ... get /move-to:/tent/out/backup T* if fail ... This works in current versions of C-Kermit 7.0 and K95. MS-DOS Kermit does not have GET /MOVE-TO:. For a fuller discussion, see Case Study #10: http://www.columbia.edu/kermit/case10.html - Frank From news@columbia.edu Tue Sep 19 16:38:33 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id QAA17272 for ; Tue, 19 Sep 2000 16:38:31 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA04766 for ; Tue, 19 Sep 2000 16:38:30 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id QAA25123 for kermit.misc@watsun.cc.columbia.edu; Tue, 19 Sep 2000 16:13:42 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: login script help req. Date: 19 Sep 2000 20:13:41 GMT Organization: Columbia University Message-ID: <8q8hdl$oh0$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <8q8gsn$cmc$1@nnrp1.deja.com>, wrote: : This may be a stupid question... BUT... : : How do I run a script on Kermit v3.14? When I do a 'kermit -f : blah.scr', it just doesn't seem to work, and I think this is SUPPOSED : to be the initialization file. does v3.14 allow scripting? I'm I : doing something REALLY silly? : It should work. Is the blah.scr file in the current directory? How do you know it's not being executed? Put some ECHO commands in it to check. You can also do: kermit take blah.scr and you can type "take blah.scr" at the MS-Kermit> prompt. - Frank From news@columbia.edu Tue Sep 19 16:40:36 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id QAA23876 for ; Tue, 19 Sep 2000 16:40:34 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA04763 for ; Tue, 19 Sep 2000 16:38:29 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id QAA25025 for kermit.misc@watsun.cc.columbia.edu; Tue, 19 Sep 2000 16:10:29 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: scott_moto@my-deja.com Subject: Re: login script help req. Date: Tue, 19 Sep 2000 20:04:54 GMT Organization: Deja.com - Before you buy. Message-ID: <8q8gsn$cmc$1@nnrp1.deja.com> To: kermit.misc@columbia.edu This may be a stupid question... BUT... How do I run a script on Kermit v3.14? When I do a 'kermit -f blah.scr', it just doesn't seem to work, and I think this is SUPPOSED to be the initialization file. does v3.14 allow scripting? I'm I doing something REALLY silly? Tx, -Scott Sent via Deja.com http://www.deja.com/ Before you buy. From news@columbia.edu Wed Sep 20 16:39:50 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id QAA23355 for ; Wed, 20 Sep 2000 16:39:49 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA06621 for ; Wed, 20 Sep 2000 16:38:32 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id QAA25562 for kermit.misc@watsun.cc.columbia.edu; Wed, 20 Sep 2000 16:20:28 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: scott_moto@my-deja.com Subject: Re: login script help req. Date: Wed, 20 Sep 2000 20:08:39 GMT Organization: Deja.com - Before you buy. Message-ID: <8qb5fl$fu0$1@nnrp1.deja.com> To: kermit.misc@columbia.edu > : How do I run a script on Kermit v3.14? When I do a 'kermit -f > : blah.scr', it just doesn't seem to work, and I think this is SUPPOSED > : to be the initialization file. does v3.14 allow scripting? I'm I > : doing something REALLY silly? > : > It should work. Is the blah.scr file in the current directory? > How do you know it's not being executed? Put some ECHO commands in it > to check. > > You can also do: > > kermit take blah.scr > > and you can type "take blah.scr" at the MS-Kermit> prompt. Thank you. Figured out what was wrong: I was using a 9+3-character filename.. Kermit wants 8+3 :) -Scott Sent via Deja.com http://www.deja.com/ Before you buy. From news@columbia.edu Wed Sep 20 16:41:27 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id QAA23904 for ; Wed, 20 Sep 2000 16:39:47 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA06618 for ; Wed, 20 Sep 2000 16:38:32 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id QAA25776 for kermit.misc@watsun.cc.columbia.edu; Wed, 20 Sep 2000 16:24:29 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: login script help req. Date: 20 Sep 2000 20:24:29 GMT Organization: Columbia University Message-ID: <8qb6dt$p5d$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <8qb5fl$fu0$1@nnrp1.deja.com>, wrote: : > : How do I run a script on Kermit v3.14? When I do a 'kermit -f : > : blah.scr', it just doesn't seem to work... : : Thank you. Figured out what was wrong: I was using a 9+3-character : filename.. Kermit wants 8+3 :) : That's one of the drawbacks of using MS-DOS Kermit on Windows 9x/NT/2000. The native Kermit software for 32-bit Windows is Kermit 95: http://www.columbia.edu/kermit/k95.html - Frank From news@columbia.edu Wed Sep 20 17:38:33 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id RAA21579 for ; Wed, 20 Sep 2000 17:38:33 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id RAA15167 for ; Wed, 20 Sep 2000 17:38:32 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id RAA28160 for kermit.misc@watsun.cc.columbia.edu; Wed, 20 Sep 2000 17:13:51 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Feng Qiu Subject: send a command in command line arguments Date: Wed, 20 Sep 2000 15:58:10 -0500 Organization: NMR facility-OSU Message-ID: <39C924E2.AC4782F2@biochem.okstate.edu> To: kermit.misc@columbia.edu Hello, all, I have a liquid He level meter connect to Sun Ultra2 ttya serial port. I can connect to meter through kermit: kermit -l /dev/ttya -c then type command interactively, e.g when I type R1, it will echo the level of liquid hellium. Is there any way to pass R1 directly without interactive typing? I tried: kermit /dev/ttya -c -C R1 kermit /dev/ttya -C R1 both won't work. Thanks! Feng Qiu From news@columbia.edu Wed Sep 20 17:38:40 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id RAA22791 for ; Wed, 20 Sep 2000 17:38:36 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id RAA15173 for ; Wed, 20 Sep 2000 17:38:33 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id RAA29083 for kermit.misc@watsun.cc.columbia.edu; Wed, 20 Sep 2000 17:32:25 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jrd@cc.usu.edu (Joe Doupnik) Subject: Re: login script help req. Message-ID: <2gzajQ8zzh5M@cc.usu.edu> Date: 20 Sep 00 15:18:42 MDT Organization: Utah State University To: kermit.misc@columbia.edu In article <8qb6dt$p5d$1@newsmaster.cc.columbia.edu>, fdc@watsun.cc.columbia.edu (Frank da Cruz) writes: > In article <8qb5fl$fu0$1@nnrp1.deja.com>, wrote: > : > : How do I run a script on Kermit v3.14? When I do a 'kermit -f > : > : blah.scr', it just doesn't seem to work... > : > : Thank you. Figured out what was wrong: I was using a 9+3-character > : filename.. Kermit wants 8+3 :) > : > That's one of the drawbacks of using MS-DOS Kermit on Windows 9x/NT/2000. > The native Kermit software for 32-bit Windows is Kermit 95: > > http://www.columbia.edu/kermit/k95.html > > - Frank ------------- Not quite. It is one of the drawbacks of MS Windows, to put the matter correctly. Had MS done their job properly with DOS then the long filename problem would not be present. However, if one uses the DOS filename for DOS work, even though a longer name exists under Windows, then MSK uses that just fine. Joe D. From news@columbia.edu Wed Sep 20 17:38:37 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id RAA22771 for ; Wed, 20 Sep 2000 17:38:34 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id RAA15170 for ; Wed, 20 Sep 2000 17:38:33 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id RAA28340 for kermit.misc@watsun.cc.columbia.edu; Wed, 20 Sep 2000 17:18:06 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: send a command in command line arguments Date: 20 Sep 2000 21:18:06 GMT Organization: Columbia University Message-ID: <8qb9ie$rlg$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <39C924E2.AC4782F2@biochem.okstate.edu>, Feng Qiu wrote: : I have a liquid He level meter connect to Sun Ultra2 ttya serial port. I : can connect to meter through kermit: : kermit -l /dev/ttya -c : then type command interactively, e.g when I type R1, it will echo the : level of liquid hellium. Is there any way to pass R1 directly without : interactive typing? : I tried: : kermit /dev/ttya -c -C R1 : kermit /dev/ttya -C R1 : both won't work. : You need to write a little script program using the OUTPUT and INPUT commands. See the manual for how to write script programs: http://www.columbia.edu/kermit/manuals.html and/or look at some of the sample scripts here: http://www.columbia.edu/kermit/ckscripts.html The latter link also includes a short tutorial. - Frank From news@columbia.edu Thu Sep 21 10:38:37 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id KAA15536 for ; Thu, 21 Sep 2000 10:38:36 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA20295 for ; Thu, 21 Sep 2000 10:38:35 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id KAA13971 for kermit.misc@watsun.cc.columbia.edu; Thu, 21 Sep 2000 10:37:41 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: File transfer resulting in protocol error Date: 21 Sep 2000 14:37:41 GMT Organization: Columbia University Message-ID: <8qd6fl$dkg$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Eric Macan wrote: : I occassionally receive "Protocol Error: Too many retries" after a send : and was wondering what might be the cause of this. We are using C-Kermit : 6.0.192 SCO Openserver R5... : 7.0 is current: http://www.columbia.edu/kermit/ckermit.html : ... on a SCO box running 3.2v5.0.2 and are sending a file zipped with : pkzip25 daily to a mainframe via dialup with a external modem on a COM : port. Is it an issue on the remote end or on the box initiating the : transfer?. : The message means what it says. It tried to send a packet, did not get an acknowledgement, tried again, still did not get an acknowledgement, and so on for many repetitions. : The transact.log ends stating incomplete: kept and the remote : location does not receive the file. Are there any settings I can tweak : with the Kermit to avoid this? The remote file system type is MVS/TSO. : The C-Kermit manual includes an entire chapter on troubleshooting file-transfer problems. The usual causes are lack of adequate flow control at one or more junctures along the communication path and excessive noise on the connection. You can address these in many ways: fix the flow control, reduce the packet length, etc. - Frank From news@columbia.edu Thu Sep 21 10:38:44 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id KAA15532 for ; Thu, 21 Sep 2000 10:38:36 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA20292 for ; Thu, 21 Sep 2000 10:38:34 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id KAA13372 for kermit.misc@watsun.cc.columbia.edu; Thu, 21 Sep 2000 10:24:42 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Eric Macan" Subject: File transfer resulting in protocol error Message-ID: Date: Thu, 21 Sep 2000 11:45:20 GMT Organization: The Mercury Network (tm.net) @is2.tm.net To: kermit.misc@columbia.edu Hello, I occassionally receive "Protocol Error: Too many retries" after a send and was wondering what might be the cause of this. We are using C-Kermit 6.0.192 SCO Openserver R5 on a SCO box running 3.2v5.0.2 and are sending a file zipped with pkzip25 daily to a mainframe via dialup with a external modem on a COM port. Is it an issue on the remote end or on the box initiating the transfer?. The transact.log ends stating incomplete: kept and the remote location does not receive the file. Are there any settings I can tweak with the Kermit to avoid this? The remote file system type is MVS/TSO. Thanks, Eric eric@dentech.com From news@columbia.edu Thu Sep 21 11:41:52 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id LAA21941 for ; Thu, 21 Sep 2000 11:41:03 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA01750 for ; Thu, 21 Sep 2000 11:38:34 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id LAA15850 for kermit.misc@watsun.cc.columbia.edu; Thu, 21 Sep 2000 11:20:20 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Bruce Phipps" Subject: C-kermit book Date: Thu, 21 Sep 2000 16:19:10 +0100 Organization: CompuServe Interactive Services Message-ID: <8qd8uo$crb$1@sshuraab-i-1.production.compuserve.com> To: kermit.misc@columbia.edu I am trying to learn how to write Kermit scripts (at the moment I am trying to modify the "autotelnet" script to query my POP server with mixed results). * Any one got the C-Kermit book? Is it up to date/worth buying? * Anyone seen it in the bookshops in UK? Thanks Bruce From news@columbia.edu Fri Sep 22 12:39:09 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id MAA19518 for ; Fri, 22 Sep 2000 12:38:39 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA18728 for ; Fri, 22 Sep 2000 12:38:38 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id MAA08313 for kermit.misc@watsun.cc.columbia.edu; Fri, 22 Sep 2000 12:23:27 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fred smith Subject: Re: C-kermit book Organization: None! Message-ID: Date: Fri, 22 Sep 2000 10:41:22 GMT To: kermit.misc@columbia.edu Bruce Phipps wrote: : I am trying to learn how to write Kermit scripts (at the moment I am trying : to modify the "autotelnet" script to query my POP server with mixed : results). : * Any one got the C-Kermit book? Is it up to date/worth buying? Yes, it's worth buying,... it's one of the best books describing a particular software package you'll ever run into. worth every cent. I think I saw a posting from Frank here recently indicating that when the next version of kermit comes out there'll be a revision of the book. : * Anyone seen it in the bookshops in UK? sorry, I'm on the other side of the pond. : Thanks : Bruce -- ---- Fred Smith -- fredex@fcshome.stoneham.ma.us ---------------------------- "Not everyone who says to me, 'Lord, Lord,' will enter the kingdom of heaven, but only he who does the will of my Father who is in heaven." ------------------------------ Matthew 7:21 (niv) ----------------------------- From news@columbia.edu Sun Sep 24 05:38:43 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id FAA26362 for ; Sun, 24 Sep 2000 05:38:42 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id FAA27658 for ; Sun, 24 Sep 2000 05:38:42 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id FAA15615 for kermit.misc@watsun.cc.columbia.edu; Sun, 24 Sep 2000 05:21:31 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Subject: kermit/lynx co-ordination notes Message-ID: Date: Sat, 23 Sep 2000 20:50:48 -0700 Organization: mail2news@nym.alias.net To: kermit.misc@columbia.edu I'm posting this to comp.protocols.kermit.misc & oclug@oclug.org (Orange County Linux Users Group) to make public some tips for coordinating Kermit and Lynx, and maybe get some constructive feedback. I'm posting to oclug as a prelude to some possible web pages on use of Lynx, at their web site or my personal site. 1) The version of ckermit2.txt that I currently have, in the section on invoking C-Kermit from your browser (1.3.2), it states that 'As far as we know, this can be done only at compile time.' *IF* your version of Lynx is compiled with general External support, in your /etc/lynx.cfg file there should be some lines like: #***Must be compiled with USE_EXTERNALS to enable EXTERN *** KEYMAP:.:EXTERN # Run external program with url # or possibly: KEYMAP:,:EXTERN # run EXTERNAL with URL. added by d.e.l. Make sure one of these is uncommented (no preceeding '#'), or add the lines if necessary. They should be located in a general set of Keymaps, with a lot of other similar statements, many, the defaults may be commented out. Later in the file there will be a section called EXTERNAL. There you should have some lines: USE_EXTERNALS:TRUE EXTERNAL:ftp:wget --passive -P ~/download -q %s &:TRUE EXTERNAL:http:wget --passive -P ~/download -q %s &:TRUE EXTERNAL:telnet:kermit -J %s:TRUE EXTERNAL:iksd:kermit -J %s:1649 :TRUE The only ones needed for running kermit are the 'USE_EXTERNALS:TRUE' and the lines with 'kermit -J' in them. The others, I include simply to show typical other external programs that could be defined. Again, make sure that there is no preceeding '#' on the line that would comment it out and render the line inoperative. Now, when you hit return at a focused link, the default behavior of Lynx will result as typical - for instance if a 'telnet://aztec2.asu.edu' link the conventional and less capable telnet program will be invoked. If however, you hit '.' (or whatever you chose in the Keymap statement), C-Kermit will be invoked instead. Similarly, over a http or ftp link, '.' will in the case shown above invoke the wget program on the http or ftp URL to download the file. Rather than a binary executable, the program specified by the EXTERNAL statement can be a shebang script ('#!/path/interpreter' on line 1), that could present a menu of options on how to handle the URL it is passed. This is possible because of how UNIX invokes external programs giving shebang scripts pretty much equality with binary executables. (Another possibility might be Frank de Cruz's 'IKSDget' script.) My personal experience is that the program specification seemed sensitve to trailing spaces, so a little bit of experimentation may be needed. This can be used to enable Lynx to cope with URL schema it has no compiled in basis to deal with. For this reason I speculativly put the 'IKSD://' (Internet Kermit Server Daemon) example above. 2) I frequently run Lynx from kermit using the C-Kermit 7 pty capability. Typically this is to automate login to web based email accounts. It could also be used to log the browsing session. Recently I ran into an instance where I was trying to pass a string with included blanks to lynx on its' startup: ....... set network type pty ... set host lynx -parameter='some string' URL://somewhere.something ... and lynx interpreted this as set host lynx -parameter='some string' URL://somewhere.something **************** ******* ************************ such that it thought '-parameter' was being set to "'some", and a switch "string'" being included. I think this is basicly because Lynx normally depends on the shell it is invoked from to set up the argv/argc it uses to read the command line parameters from. Maybe there is a more elegant way to handle this, but one approach I found that worked was to: set host { /bin/bash -c - " exec lynx -parameter='some string' URL://somewhere.something" } invoking bash just long enough to set up the argv/argc input, before it gets overlaid by Lynx. Another approach that seems to work is to direct the command line input to Lynx from standard input: set host {lynx -} output {-parameter=some string\13} output {URL://somewhere.something\13} output {\4} # end of input, ^D Anyway, enough. Regards, Dallas E. Legan II / leganii@surfree.com / dallasii@kincyb.com Powered by......Lynx, the Internet at full speed. From news@columbia.edu Sun Sep 24 12:08:43 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id MAA25232 for ; Sun, 24 Sep 2000 12:08:43 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA28537 for ; Sun, 24 Sep 2000 12:08:42 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id LAA01677 for kermit.misc@watsun.cc.columbia.edu; Sun, 24 Sep 2000 11:59:09 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: kermit/lynx co-ordination notes Date: 24 Sep 2000 15:59:07 GMT Organization: Columbia University Message-ID: <8ql8cb$1kb$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Dallas E. Legan wrote: : I'm posting this to comp.protocols.kermit.misc & oclug@oclug.org : (Orange County Linux Users Group) to make public some : tips for coordinating Kermit and Lynx, and maybe get some : constructive feedback... : Great post, thanks! It would be good to see a lot more posts of this nature. Once you get your questions cleared up, feel free to send it in as a C-Kermit "case study" to join the others at: http://www.columbia.edu/kermit/ckermit.html#studies : 2) I frequently run Lynx from kermit using the C-Kermit 7 pty : capability. Typically this is to automate login to web based email : accounts. It could also be used to log the browsing session. : Recently I ran into an instance where I was trying : to pass a string with included blanks to lynx on its' startup: : : ....... : set network type pty : ... : set host lynx -parameter='some string' URL://somewhere.something : ... : : and lynx interpreted this as : : set host lynx -parameter='some string' URL://somewhere.something : **************** ******* ************************ : Try using doublequotes instead of single quotes. Kermit execvp()'s the program directly, and recognizes doublequotes (but not apostrophes) for grouping. Obviously there's no way it can duplicate all the syntax rules of every shell, so if you need anything more shell-like, your intermediate shell approach is quite appropriate: : set host { /bin/bash -c - : " exec lynx -parameter='some string' URL://somewhere.something" } : : invoking bash just long enough to set up the argv/argc input, : before it gets overlaid by Lynx. - Frank From news@columbia.edu Mon Sep 25 06:39:17 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id GAA04227 for ; Mon, 25 Sep 2000 06:38:45 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id GAA28357 for ; Mon, 25 Sep 2000 06:38:44 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id GAA09444 for kermit.misc@watsun.cc.columbia.edu; Mon, 25 Sep 2000 06:28:54 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: leganii@surfree.com Subject: Re: kermit/lynx co-ordination notes Date: 25 Sep 2000 05:19:55 GMT Organization: OCLUG Message-ID: <8qmn9r$3bp$1@zook.lafn.org> To: kermit.misc@columbia.edu > Re: kermit/lynx co-ordination notes > > From: fdc@watsun.cc.columbia.edu (Frank da Cruz) > Reply to: [1]Frank da Cruz > Date: 24 Sep 2000 15:59:07 GMT > Organization: Columbia University > Newsgroups: > [2]comp.protocols.kermit.misc > Followup to: [3]newsgroup > References: > [4] >In article [5], Dallas E. Legan wrote: >: I'm posting this to comp.protocols.kermit.misc & oclug@oclug.org >: (Orange County Linux Users Group) to make public some >: tips for coordinating Kermit and Lynx, and maybe get some >: constructive feedback... >: >Great post, thanks! It would be good to see a lot more posts of this >nature. Once you get your questions cleared up, feel free to send it >in as a C-Kermit "case study" to join the others at: > > [6]http://www.columbia.edu/kermit/ckermit.html#studies It'd be my pleasure! > >: 2) I frequently run Lynx from kermit using the C-Kermit 7 pty >: capability. Typically this is to automate login to web based email >: accounts. It could also be used to log the browsing session. >: Recently I ran into an instance where I was trying >: to pass a string with included blanks to lynx on its' startup: >: >: ....... >: set network type pty >: ... >: set host lynx -parameter='some string' URL://somewhere.something >: ... >: >: and lynx interpreted this as >: >: set host lynx -parameter='some string' URL://somewhere.something >: **************** ******* ************************ >: >Try using doublequotes instead of single quotes. Kermit execvp()'s the >program directly, and recognizes doublequotes (but not apostrophes) for >grouping. Obviously there's no way it can duplicate all the syntax rules >of every shell, so if you need anything more shell-like, your intermediate >shell approach is quite appropriate: Thank you. That's why I didn't really think of this as a bug, there's a way to get it to work, just wasn't obvious to me. I'll try the double quotes and see if it simplifies things. My habit is to use single quotes unless there is a specific reason to use doubles - usually the need to interpolate variables. This will probably make that list of specific reasons. > >: set host { /bin/bash -c - >: " exec lynx -parameter='some string' URL://somewhere.something" } >: >: invoking bash just long enough to set up the argv/argc input, >: before it gets overlaid by Lynx. > >- Frank -- Regards, Dallas E. Legan II / leganii@surfree.com / dallasii@kincyb.com Powered by......Lynx, the Internet at full speed. From news@columbia.edu Mon Sep 25 07:38:45 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id HAA15466 for ; Mon, 25 Sep 2000 07:38:45 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id HAA21557 for ; Mon, 25 Sep 2000 07:38:44 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id HAA12475 for kermit.misc@watsun.cc.columbia.edu; Mon, 25 Sep 2000 07:31:29 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Bruce Phipps" Subject: Sending carriage returns Date: Mon, 25 Sep 2000 12:30:26 +0100 Organization: CompuServe Interactive Services Message-ID: <8qnd1p$m45$1@sshuraac-i-1.production.compuserve.com> To: kermit.misc@columbia.edu In my script: define \%u bruce define \%p password output \%u\13 output \%p\13 does not send bruce password but: brucepassword Am I missing some back slashes here? Bruce From news@columbia.edu Mon Sep 25 08:08:45 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id IAA22243 for ; Mon, 25 Sep 2000 08:08:44 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id IAA22835 for ; Mon, 25 Sep 2000 08:08:44 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id IAA13995 for kermit.misc@watsun.cc.columbia.edu; Mon, 25 Sep 2000 08:08:57 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Subject: runsocks kermit note Message-ID: Date: Sun, 24 Sep 2000 23:56:40 -0700 Organization: mail2news@nym.alias.net To: kermit.misc@columbia.edu This is just a brief note on a program, runsocks, that I've found very helpfull in running with C-Kermit to make connections through the firewall at one of my ISP's. Rather than recompiling a special version of C-Kermit to have Socks support, you can use the 'runsocks' utility. Linkname: runsocks-1.0r10-5.i386 RPM URL: http://rpmfind.net/linux/RPM/contrib/libc6/i386/runsocks-1.0r10 -5.i386.html Linkname: /home/gomez/socks5 directory URL: ftp://ftp.falsehope.com/home/gomez/socks5 I had to run the .rpm file through the 'alien' package converter to make a .deb file for my Debian 2.1 system. It was then a pleasant surprise that this library seareh path manipulation utility worked after it was installed. Anyway you simply runsocks kermit and not only kermit, but any programs you launch from within kermit, such as a browser, ftp or anything through a pipe or pty are effectively socksified. I've used telnet-ssl, tinyirc and lynx through c-kermit initiated/controlled ptys numerous times, no problems. Runsocks works directly from the command line with other programs such as browsers, but kermit is just what I use it with the most. I create a soft link to runsocks, named 's5', to reduce the typing, but this could also be done with a shell alias or script. The 's5' name is consistent with a set of socksified clients at the above ftp site (s5telnet, s5ftp etc.). I hunted around a bit for other general tools that might work similarly for say SSL, and all I could find was 'stunnel'. From my current point of view stunnel isn't satisfactory because apparently it only works with servers, and I needed a client 'SSLifier', but it might work fine with IKSD or vanilla c-kermit running in server mode. I want to express my appreciation to Henri Gomez, Aron Griffis, Avi Alkalay and anyone else involved for making this tool available. Regards, Dallas E. Legan II / leganii@surfree.com / dallasii@kincyb.com Powered by......Lynx, the Internet at full speed. From news@columbia.edu Mon Sep 25 09:38:47 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id JAA07301 for ; Mon, 25 Sep 2000 09:38:46 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id JAA00307 for ; Mon, 25 Sep 2000 09:38:44 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id JAA17584 for kermit.misc@watsun.cc.columbia.edu; Mon, 25 Sep 2000 09:27:28 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Sending carriage returns Date: 25 Sep 2000 13:27:27 GMT Organization: Columbia University Message-ID: <8qnjrv$h5d$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <8qnd1p$m45$1@sshuraac-i-1.production.compuserve.com>, Bruce Phipps wrote: : In my script: : : define \%u bruce : define \%p password : output \%u\13 : output \%p\13 : : does not send bruce : password : : but: : : brucepassword : : Am I missing some back slashes here? : The pieces you have shown look fine. If your diagnosis is correct, then the problem has some other cause. We'd need to know the details of the connection, etc. - Frank From news@columbia.edu Mon Sep 25 11:38:50 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id LAA14874 for ; Mon, 25 Sep 2000 11:38:48 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA21511 for ; Mon, 25 Sep 2000 11:38:45 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id LAA23583 for kermit.misc@watsun.cc.columbia.edu; Mon, 25 Sep 2000 11:35:04 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Bruce Phipps" Subject: Re: Sending carriage returns Date: Mon, 25 Sep 2000 16:34:00 +0100 Organization: CompuServe Interactive Services Message-ID: <8qnraf$q4a$1@sshuraab-i-1.production.compuserve.com> To: kermit.misc@columbia.edu Frank, I solved this by inserting sleep 3 ;give the remote computer time to react Also, i have discovered the lineout command, which automatically adds a carriage return lineout hello Thanks Bruce From news@columbia.edu Mon Sep 25 12:08:46 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id MAA01174 for ; Mon, 25 Sep 2000 12:08:45 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA26844 for ; Mon, 25 Sep 2000 12:08:44 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id LAA23733 for kermit.misc@watsun.cc.columbia.edu; Mon, 25 Sep 2000 11:39:31 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Sending carriage returns Date: 25 Sep 2000 15:39:31 GMT Organization: Columbia University Message-ID: <8qnrjj$n5i$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <8qnraf$q4a$1@sshuraab-i-1.production.compuserve.com>, Bruce Phipps wrote: : I solved this by inserting : : sleep 3 ;give the remote computer time to react : : Also, i have discovered the lineout command, which automatically adds a : carriage return : : lineout hello Right, new to C-Kermit 7.0. Of course the real way to do this is by alternating INPUTs and OUTPUTs, e.g.: input 30 login: if fail ... lineout \%u input 10 Password: if fail ... lineout \%p ... See the manual and/or the tutorial: http://www.columbia.edu/kermit/manuals.html http://www.columbia.edu/kermit/ckscripts.html#tut - Frank From news@columbia.edu Tue Sep 26 02:09:24 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id CAA25955 for ; Tue, 26 Sep 2000 02:08:49 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id CAA08351 for ; Tue, 26 Sep 2000 02:08:48 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id BAA28684 for kermit.misc@watsun.cc.columbia.edu; Tue, 26 Sep 2000 01:41:38 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f Subject: Command-line Syntax From: foo@bar.com (Michael Henry) Organization: NEIS Pty. Ltd. Message-ID: <8FBBA4A4CMichaelHenryneiscoma@139.130.250.4> Date: Tue, 26 Sep 2000 05:41:12 GMT To: kermit.misc@columbia.edu Hi all, I have had a look through the documentation but have been unable to find the command-line syntax for K95.exe. This much I have figured out: K95.exe [script] but I would like to know all the available options. Thanks, Michael From news@columbia.edu Tue Sep 26 09:40:59 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id JAA22212 for ; Tue, 26 Sep 2000 09:39:13 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id JAA10801 for ; Tue, 26 Sep 2000 09:38:48 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id JAA17521 for kermit.misc@watsun.cc.columbia.edu; Tue, 26 Sep 2000 09:30:03 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Command-line Syntax Date: 26 Sep 2000 13:30:02 GMT Organization: Columbia University Message-ID: <8qq8cq$h39$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <8FBBA4A4CMichaelHenryneiscoma@139.130.250.4>, Michael Henry wrote: : I have had a look through the documentation but have been : unable to find the command-line syntax for K95.exe. : : This much I have figured out: : : K95.exe [script] : : but I would like to know all the available options. : K-95> help options K-95> help extended-options K-95> manual http://www.columbia.edu/kermit/ckscripts.html - Frank From news@columbia.edu Tue Sep 26 14:12:47 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id OAA03473 for ; Tue, 26 Sep 2000 14:12:34 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA26511 for ; Tue, 26 Sep 2000 14:08:49 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id OAA00172 for kermit.misc@watsun.cc.columbia.edu; Tue, 26 Sep 2000 14:00:58 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Bruce Phipps" Subject: Re: Creating login front end using Kermit Date: Tue, 26 Sep 2000 18:59:55 +0100 Organization: CompuServe Interactive Services Message-ID: <8qqo81$kl0$1@sshuraaa-i-1.production.compuserve.com> To: kermit.misc@columbia.edu Thanks, I'll download Kermit 95 and have a look. This sounds like an ideal Win <-->Linux testbed if I can get it up and running... Bruce From news@columbia.edu Tue Sep 26 14:13:01 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id OAA03594 for ; Tue, 26 Sep 2000 14:12:47 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA26514 for ; Tue, 26 Sep 2000 14:08:50 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id NAA29412 for kermit.misc@watsun.cc.columbia.edu; Tue, 26 Sep 2000 13:42:01 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Bruce Phipps" Subject: Creating login front end using Kermit Date: Tue, 26 Sep 2000 18:40:55 +0100 Organization: CompuServe Interactive Services Message-ID: <8qqn4f$h4u$1@sshuraab-i-1.production.compuserve.com> To: kermit.misc@columbia.edu I have been using C-kermit scripts on Linux to automate the process of logging in/telnetting to remote computers. But I was wondering -- can I use Kermit to accept communications from remote computers? Could I create a "log in" process using Kermit? If so, I would like to try communicating between my Win95 computer and my Linux computer. This would be just for testing /learning purposes. Thanks Bruce From news@columbia.edu Tue Sep 26 14:13:09 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id OAA03821 for ; Tue, 26 Sep 2000 14:13:06 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA26517 for ; Tue, 26 Sep 2000 14:08:51 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id NAA29800 for kermit.misc@watsun.cc.columbia.edu; Tue, 26 Sep 2000 13:50:55 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Creating login front end using Kermit Date: 26 Sep 2000 17:50:54 GMT Organization: Columbia University Message-ID: <8qqnlu$t35$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <8qqn4f$h4u$1@sshuraab-i-1.production.compuserve.com>, Bruce Phipps wrote: : I have been using C-kermit scripts on Linux to automate the process of : logging in/telnetting to remote computers. : : But I was wondering -- can I use Kermit to accept communications from remote : computers? Could I create a "log in" process using Kermit? If so, I would : like to try communicating between my Win95 computer and my Linux computer. : This would be just for testing /learning purposes. : Not only can you do it, you already have the set of scripts that comes with K95 that does exactly this, called "host mode". These scripts have not been adapted to Unix, since Unix provides its own built-in login facilities, but with some effort it can be done. The K95 host-mode scripts are quite elaborate and probably do a lot more than you want, plus they are written in the "old" (pre-block-structured) syntax. They could be rewritten much more elegantly in modern syntax and using the many new features that have appeared since they were first written, but since they work so well this has not been a high priority. - Frank From news@columbia.edu Tue Sep 26 19:08:49 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id TAA14116 for ; Tue, 26 Sep 2000 19:08:49 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id TAA16698 for ; Tue, 26 Sep 2000 19:08:49 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id TAA14207 for kermit.misc@watsun.cc.columbia.edu; Tue, 26 Sep 2000 19:01:24 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Arthur Marsh" Subject: Re: Command-line Syntax Date: Tue, 26 Sep 2000 20:49:57 +0930 Message-ID: <39d08565_1@news.chariot.net.au> To: kermit.misc@columbia.edu k95 -h gives some brief help, and help options at the k95 command prompt gives more details, and help options all at the k95 command prompt gives even more details. "Michael Henry" wrote in message news:8FBBA4A4CMichaelHenryneiscoma@139.130.250.4... > Hi all, > > I have had a look through the documentation but have been > unable to find the command-line syntax for K95.exe. > > This much I have figured out: > > K95.exe [script] > > but I would like to know all the available options. > > Thanks, > > Michael From news@columbia.edu Tue Oct 3 19:39:06 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id TAA07207 for ; Tue, 3 Oct 2000 19:39:05 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id TAA01697 for ; Tue, 3 Oct 2000 19:39:05 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id TAA09894 for kermit.misc@watsun.cc.columbia.edu; Tue, 3 Oct 2000 19:28:28 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Kent Scheidegger Subject: Strange keyboard problem Date: 3 Oct 2000 23:27:57 GMT Organization: Dept of Silly Walks Message-ID: <8rdq1t$8sa$2@nntp1.ba.best.com> To: kermit.misc@columbia.edu Every once in a while, using Kermit 95, my keyboard just goes berserk. None of the keys produce the letters they are supposed to, but they all all mapped to other characters. This happens when I am logged on to a Unix shell account, and I can't even type "logout" to get out of it. Anyone know why this happens and what to do about it? Thanks in advance for any info. Kent Scheidegger From news@columbia.edu Tue Oct 3 21:39:06 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id VAA05826 for ; Tue, 3 Oct 2000 21:39:05 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id VAA05578 for ; Tue, 3 Oct 2000 21:39:05 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id VAA14257 for kermit.misc@watsun.cc.columbia.edu; Tue, 3 Oct 2000 21:11:26 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jaltman@columbia.edu (Jeffrey Altman) Subject: Re: Strange keyboard problem Date: 4 Oct 2000 01:11:25 GMT Organization: Columbia University Message-ID: <8re03t$dte$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In this situation what does the SHOW KEY command report for the keys that you press? Do you have multiple Keyboard Layouts installed? Such as Dvorak or an International layout. If so, you may be unknowningly instructing K95 to switch keyboard layouts using the Alt-Shift or Ctrl-Shift key combinations. In article <8rdq1t$8sa$2@nntp1.ba.best.com>, Kent Scheidegger wrote: : Every once in a while, using Kermit 95, my keyboard just goes : berserk. None of the keys produce the letters they are : supposed to, but they all all mapped to other characters. : This happens when I am logged on to a Unix shell account, : and I can't even type "logout" to get out of it. : : Anyone know why this happens and what to do about it? : Thanks in advance for any info. : : Kent Scheidegger : Jeffrey Altman * Sr.Software Designer The Kermit Project * Columbia University 612 West 115th St * New York, NY * 10025 * USA http://www.kermit-project.org/ * kermit-support@kermit-project.org From news@columbia.edu Wed Oct 4 18:39:09 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id SAA22308 for ; Wed, 4 Oct 2000 18:39:08 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id SAA22778 for ; Wed, 4 Oct 2000 18:39:07 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id SAA26708 for kermit.misc@watsun.cc.columbia.edu; Wed, 4 Oct 2000 18:36:49 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jaltman@columbia.edu (Jeffrey Altman) Subject: Re: No Carrier Date: 4 Oct 2000 22:36:49 GMT Organization: Columbia University Message-ID: <8rgbe1$q2h$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Steve wrote: : I have software that runs on DOS computers that uses Kermit 3.15 to transfer : files to a server running a DOS application under Windows 95 also using : Kermit 3.15. The DOS computer initiates everything, the connection, the : file transfers, etc. The files are either transferred locally using a : serial cable or remotely over a modem. Everything works fine. We are : trying to switch from 3.15 on the server to K95 to allow multiple transfers : on the same server at a time and have created the server program using VB. : It seems to work fine except over a modem. After the DOS computer calls in : and connects, the first thing it does is issue a FIN to reset the server in : case the previous transfer did not go to completion. In the K95 version : over a modem, I always get a no carrier on the DOS computer immediately : after the FIN as the modem on the server side appears to drop the : connection. I can tell the server did get the FIN and the DOS computer : should pause for a couple of seconds before issuing the next command. : : We are using a shell command to call K95 that looks like: : : For the modem file transfer the .ini file looks like: : set carrier off : set port 1 : set speed 9600 : set incomplete discard : set send packet 94 : set retry 60 : set flow xon/xoff : set handshake none : set duplex full : output AT s0=1\13 : output AT s37=9\13 : server : exit : : The dial string we use on the DOS computer side is: : output AT&F&C0&D1s37=9N0DT [phone number]\13 : : Any ideas on why I am dropping the line? Any suggestions on better settings : on either the server or DOS side? : : Thanks, : Steve The FINISH command sent by the client and received by the SERVER causes the SERVER command to terminate. Therefore, the EXIT command is executed and the K95 session terminates hanging up the modem There is no need for the FINISH command to be sent, if the previous session was closed prematurely by the client the SERVER command would be automaticly terminated when the carrier signal was lost by the modem. Also, instead of using OUTPUT AT ... just configure the modem with the proper SET MODEM TYPE command and use the ANSWER command to receive the incoming call. Jeffrey Altman * Sr.Software Designer The Kermit Project * Columbia University 612 West 115th St * New York, NY * 10025 * USA http://www.kermit-project.org/ * kermit-support@kermit-project.org From news@columbia.edu Wed Oct 4 18:39:13 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id SAA12297 for ; Wed, 4 Oct 2000 18:39:07 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id SAA22775 for ; Wed, 4 Oct 2000 18:39:07 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id SAA26319 for kermit.misc@watsun.cc.columbia.edu; Wed, 4 Oct 2000 18:30:01 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Steve" Subject: No Carrier Message-ID: Organization: Giganews.Com - Premium News Outsourcing Date: Wed, 04 Oct 2000 22:29:12 GMT To: kermit.misc@columbia.edu I have software that runs on DOS computers that uses Kermit 3.15 to transfer files to a server running a DOS application under Windows 95 also using Kermit 3.15. The DOS computer initiates everything, the connection, the file transfers, etc. The files are either transferred locally using a serial cable or remotely over a modem. Everything works fine. We are trying to switch from 3.15 on the server to K95 to allow multiple transfers on the same server at a time and have created the server program using VB. It seems to work fine except over a modem. After the DOS computer calls in and connects, the first thing it does is issue a FIN to reset the server in case the previous transfer did not go to completion. In the K95 version over a modem, I always get a no carrier on the DOS computer immediately after the FIN as the modem on the server side appears to drop the connection. I can tell the server did get the FIN and the DOS computer should pause for a couple of seconds before issuing the next command. We are using a shell command to call K95 that looks like: For the modem file transfer the .ini file looks like: set carrier off set port 1 set speed 9600 set incomplete discard set send packet 94 set retry 60 set flow xon/xoff set handshake none set duplex full output AT s0=1\13 output AT s37=9\13 server exit The dial string we use on the DOS computer side is: output AT&F&C0&D1s37=9N0DT [phone number]\13 Any ideas on why I am dropping the line? Any suggestions on better settings on either the server or DOS side? Thanks, Steve From news@columbia.edu Wed Oct 4 22:09:08 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id WAA02519 for ; Wed, 4 Oct 2000 22:09:07 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id WAA29674 for ; Wed, 4 Oct 2000 22:09:07 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id VAA04960 for kermit.misc@watsun.cc.columbia.edu; Wed, 4 Oct 2000 21:41:34 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Steve" Subject: Re: No Carrier Message-ID: Organization: Giganews.Com - Premium News Outsourcing Date: Thu, 05 Oct 2000 01:40:46 GMT To: kermit.misc@columbia.edu Jeffrey Altman wrote in message news:8rgbe1$q2h$1@newsmaster.cc.columbia.edu... > In article , > Steve wrote: > : I have software that runs on DOS computers that uses Kermit 3.15 to transfer > : files to a server running a DOS application under Windows 95 also using > : Kermit 3.15. The DOS computer initiates everything, the connection, the > : file transfers, etc. The files are either transferred locally using a > : serial cable or remotely over a modem. Everything works fine. We are > : trying to switch from 3.15 on the server to K95 to allow multiple transfers > : on the same server at a time and have created the server program using VB. > : It seems to work fine except over a modem. After the DOS computer calls in > : and connects, the first thing it does is issue a FIN to reset the server in > : case the previous transfer did not go to completion. In the K95 version > : over a modem, I always get a no carrier on the DOS computer immediately > : after the FIN as the modem on the server side appears to drop the > : connection. I can tell the server did get the FIN and the DOS computer > : should pause for a couple of seconds before issuing the next command. > : > : We are using a shell command to call K95 that looks like: > : > : For the modem file transfer the .ini file looks like: > : set carrier off > : set port 1 > : set speed 9600 > : set incomplete discard > : set send packet 94 > : set retry 60 > : set flow xon/xoff > : set handshake none > : set duplex full > : output AT s0=1\13 > : output AT s37=9\13 > : server > : exit > : > : The dial string we use on the DOS computer side is: > : output AT&F&C0&D1s37=9N0DT [phone number]\13 > : > : Any ideas on why I am dropping the line? Any suggestions on better settings > : on either the server or DOS side? > : > : Thanks, > : Steve > > The FINISH command sent by the client and received by the SERVER causes > the SERVER command to terminate. Therefore, the EXIT command is executed > and the K95 session terminates hanging up the modem > > There is no need for the FINISH command to be sent, if the previous > session was closed prematurely by the client the SERVER command would > be automaticly terminated when the carrier signal was lost by the modem. > > Also, instead of using OUTPUT AT ... just configure the modem with the > proper SET MODEM TYPE command and use the ANSWER command to receive the > incoming call. > > Jeffrey Altman * Sr.Software Designer > The Kermit Project * Columbia University > 612 West 115th St * New York, NY * 10025 * USA > http://www.kermit-project.org/ * kermit-support@kermit-project.org The reason for the exit in the .ini after the server is before we put it in, when we would FIN on the DOS client, the server would go to the K95> prompt. We originally invoked K95 by shelling out using: k95 -l Com2 -b 9600 -x Then for flexibility purposes we thought we could use an ini file so we changed the command line to: k95 -y IniFileName This is where we started running into the K95> prompt issue. I have since changed to: k95 -y IniFileName -x and have taken out the server and exit lines of the .ini but am still getting the no carrier, even when I try the set modem type and the answer. The modem I am testing with is a Cnet 56K, not sure what modem type I should specify, I have been telling it generic-high-speed. Is the FIN what is causing the no carrier? If so that is going to be a problem as I doubt we can update the clients to change this. If I am running the server command in 3.15 instead of K95 and send a FIN from the DOS client all the time and it does not drop the line. Is this a change with K95? FYI...This may give you a better idea of how the server software works: DO Do Until Client ID File is received Change to generic receive directory K95 server (receive client ID file) End Do Open ID File, get Client ID Change to client specific directory K95 server (receive client data files) Process client data files End Do Any thoughts? Steve From news@columbia.edu Thu Oct 5 00:09:09 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id AAA20234 for ; Thu, 5 Oct 2000 00:09:09 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id AAA04018 for ; Thu, 5 Oct 2000 00:09:08 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id XAA10293 for kermit.misc@watsun.cc.columbia.edu; Wed, 4 Oct 2000 23:53:44 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jaltman@columbia.edu (Jeffrey Altman) Subject: Re: No Carrier Date: 5 Oct 2000 03:53:41 GMT Organization: Columbia University Message-ID: <8rgu05$a1j$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Steve wrote: : > The FINISH command sent by the client and received by the SERVER causes : > the SERVER command to terminate. Therefore, the EXIT command is executed : > and the K95 session terminates hanging up the modem : > : > There is no need for the FINISH command to be sent, if the previous : > session was closed prematurely by the client the SERVER command would : > be automaticly terminated when the carrier signal was lost by the modem. : > : > Also, instead of using OUTPUT AT ... just configure the modem with the : > proper SET MODEM TYPE command and use the ANSWER command to receive the : > incoming call. : : The reason for the exit in the .ini after the server is before we put it in, : when we would FIN on the DOS client, the server would go to the K95> prompt. : We originally invoked K95 by shelling out using: : k95 -l Com2 -b 9600 -x : Then for flexibility purposes we thought we could use an ini file so we : changed the command line to: : k95 -y IniFileName : : This is where we started running into the K95> prompt issue. I have since : changed to: : k95 -y IniFileName -x : and have taken out the server and exit lines of the .ini but am still : getting the no carrier, even when I try the set modem type and the answer. You should leave in the SERVER and EXIT commands. It is not a good idea to mix command line and scripting. : The modem I am testing with is a Cnet 56K, not sure what modem type I should : specify, I have been telling it generic-high-speed. You should use generic-high-speed as a base and customize it for your modem as per the Using C-Kermit book. If you can FAX us a copy of the modem manual, we can add support for the modem to the next version. : Is the FIN what is causing the no carrier? If so that is going to be a : problem as I doubt we can update the clients to change this. If I am : running the server command in 3.15 instead of K95 and send a FIN from the : DOS client all the time and it does not drop the line. Is this a change : with K95? The difference is that in C-Kermit and Kermit 95 the SERVER command is a scriptable command. It terminates when applicable events occur (carrier is lost with SET CARRIER-WATCH AUTO/ON; idle-timeouts; ...) this allows you to write scripts that can properly manage multiple phone calls. The MS-DOS Kermit SERVER command can only be termianted by a FINISH or a Ctrl-C. There is no mechanism in the script language to cancel the SERVER command in MS-DOS Kermit. The FINISH command when received from the client means "terminate SERVER mode". So if K95 receives that command when in SERVER mode the SERVER will be terminated. The same is true for MS-DOS Kermit. If the SERVER command is active and a FINISH is received the command will terminate. If you want Kermit 95 to remain in SERVER mode after receiving one FINISH command you will have to use SET MODEM TYPE ... SET PORT ... SET FLOW ... ANSWER SERVER SERVER EXIT Jeffrey Altman * Sr.Software Designer The Kermit Project * Columbia University 612 West 115th St * New York, NY * 10025 * USA http://www.kermit-project.org/ * kermit-support@kermit-project.org From news@columbia.edu Thu Oct 5 03:39:10 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id DAA20455 for ; Thu, 5 Oct 2000 03:39:09 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id DAA10518 for ; Thu, 5 Oct 2000 03:39:09 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id DAA20620 for kermit.misc@watsun.cc.columbia.edu; Thu, 5 Oct 2000 03:37:13 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: sales@weareguns.com Subject: Big Bang Cannon Organization: Email Platinum v.3.1b Message-ID: Date: Thu, 05 Oct 2000 07:31:03 GMT To: kermit.misc@columbia.edu Special Sale for the month of October 2000. Get the BIG BANG CANNON for only $100 (includes shipping) and a tube of Bangsite. This is the loudest of the toy cannons on the market today. We accept credit cards and ship the same day. Visit my website: http://weareguns.com/Conestoga_Cannons.htm or emailto:sales@weareguns.com . My telephone sales line is (508)285-8340. Regards, Richard Feinberg We Are Guns 15 Farm Lane Norton, MA 02766 From news@columbia.edu Thu Oct 5 04:09:09 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id EAA04761 for ; Thu, 5 Oct 2000 04:09:09 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id EAA11549 for ; Thu, 5 Oct 2000 04:09:08 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id DAA20812 for kermit.misc@watsun.cc.columbia.edu; Thu, 5 Oct 2000 03:41:13 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: sales@weareguns.com Subject: Big Bang Cannon Organization: Email Platinum v.3.1b Message-ID: <2bWC5.29625$tn.653691@typhoon.ne.mediaone.net> Date: Thu, 05 Oct 2000 07:35:26 GMT To: kermit.misc@columbia.edu Special Sale for the month of October 2000. Get the BIG BANG CANNON for only $100 (includes shipping) and a tube of Bangsite. This is the loudest of the toy cannons on the market today. We accept credit cards and ship the same day. Visit my website: http://weareguns.com/Conestoga_Cannons.htm or emailto:sales@weareguns.com . My telephone sales line is (508)285-8340. Regards, Richard Feinberg We Are Guns 15 Farm Lane Norton, MA 02766 From news@columbia.edu Thu Oct 5 05:09:10 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id FAA13826 for ; Thu, 5 Oct 2000 05:09:09 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id FAA13473 for ; Thu, 5 Oct 2000 05:09:08 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id EAA23033 for kermit.misc@watsun.cc.columbia.edu; Thu, 5 Oct 2000 04:44:34 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: suma@secondring.com Subject: Newbie help please Message-ID: Date: Thu, 05 Oct 2000 08:44:00 GMT To: kermit.misc@columbia.edu Please help me out bigsuma@home.com suma@secondring.com mqcclykgswsnmjfpgnxbboodejurtckruhepmxmmswvuuuvwougnmxkrjlwsymjrdfutyvthigequl From news@columbia.edu Thu Oct 5 05:09:12 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id FAA13835 for ; Thu, 5 Oct 2000 05:09:11 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id FAA13482 for ; Thu, 5 Oct 2000 05:09:11 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id EAA23474 for kermit.misc@watsun.cc.columbia.edu; Thu, 5 Oct 2000 04:57:54 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "dls2" Subject: Re: No Carrier Message-ID: Date: Thu, 05 Oct 2000 08:57:24 GMT Organization: @Home Network To: kermit.misc@columbia.edu "Jeffrey Altman" wrote: > Steve wrote: > : The modem I am testing with is a Cnet 56K, not sure what modem > : type I should specify, I have been telling it generic-high-speed. > > You should use generic-high-speed as a base and customize it for > your modem as per the Using C-Kermit book. If you can FAX us a > copy of the modem manual, we can add support for the modem to > the next version. I performed a "set modem type ?" command, in K95 1.1.20, looking to see if AT&T/Lucent/Paradyne Comsphere modems were listed, but found that they are not. What is the policy on having modem defaults added to future Kermit releases? -- Derrick Shearer From news@columbia.edu Thu Oct 5 09:39:13 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id JAA24467 for ; Thu, 5 Oct 2000 09:39:10 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id JAA06770 for ; Thu, 5 Oct 2000 09:39:09 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id JAA04655 for kermit.misc@watsun.cc.columbia.edu; Thu, 5 Oct 2000 09:30:19 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: No Carrier Date: 5 Oct 2000 13:30:17 GMT Organization: Columbia University Message-ID: <8rhvp9$4hc$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , dls2 wrote: : ... : I performed a "set modem type ?" command, in K95 1.1.20, looking : to see if AT&T/Lucent/Paradyne Comsphere modems were listed, : but found that they are not. : : What is the policy on having modem defaults added to future Kermit : releases? : If you can send us (or refer us to an online copy of) the command reference for the modem, we can add it. But since this is Kermit 95, you don't really need it to be a built-in modem type; just use "set tapi line" instead of "set port com1", and all its commands are retrieved automatically from the Windows modem database. - Frank From news@columbia.edu Thu Oct 5 16:39:11 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id QAA19056 for ; Thu, 5 Oct 2000 16:39:10 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA23971 for ; Thu, 5 Oct 2000 16:39:10 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id QAA23432 for kermit.misc@watsun.cc.columbia.edu; Thu, 5 Oct 2000 16:20:28 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: No Carrier Date: 5 Oct 2000 20:20:27 GMT Organization: Columbia University Message-ID: <8rinqb$ms6$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Steve wrote: : What I am looking for is a way for the server PC that is sitting in K95 : SERVER mode to not drop the phone line, which is causing a no carrier on the : DOS client, but exit all the way out of K95 when it receives the FIN from : the DOS client. This will allow the server PC to process the file before it : receives (or sends) additional files to the same client on the same : communications session.. : Whatever you want to do can be done. Just remember that while K95 is in server mode, it is controlled by the client. When the client tells it to FINISH, control returns back to the K95 command stream, whatever it happens to be (your command file in this case). At that point, your command file can do whatever you want it to do -- process the file and return to server mode, or anything else. But if it goes back and forth between server mode and local processing in a loop, the client needs some way to break the loop. One way to do this is to have them give a BYE command when finished, instead of FINISH. Lots of other designs are possible that might be more appropriate. Perhaps if you state the actual requirements of your application, we could suggest a clean, safe approach. - Frank From news@columbia.edu Thu Oct 5 16:39:13 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id QAA05975 for ; Thu, 5 Oct 2000 16:39:11 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA23974 for ; Thu, 5 Oct 2000 16:39:10 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id QAA23204 for kermit.misc@watsun.cc.columbia.edu; Thu, 5 Oct 2000 16:12:56 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Steve" Subject: Re: No Carrier Message-ID: Organization: Giganews.Com - Premium News Outsourcing Date: Thu, 5 Oct 2000 13:18:32 -0700 To: kermit.misc@columbia.edu What I am looking for is a way for the server PC that is sitting in K95 SERVER mode to not drop the phone line, which is causing a no carrier on the DOS client, but exit all the way out of K95 when it receives the FIN from the DOS client. This will allow the server PC to process the file before it receives (or sends) additional files to the same client on the same communications session.. Steve > : Is the FIN what is causing the no carrier? If so that is going to be a > : problem as I doubt we can update the clients to change this. If I am > : running the server command in 3.15 instead of K95 and send a FIN from the > : DOS client all the time and it does not drop the line. Is this a change > : with K95? > > The difference is that in C-Kermit and Kermit 95 the SERVER command > is a scriptable command. It terminates when applicable events occur > (carrier is lost with SET CARRIER-WATCH AUTO/ON; idle-timeouts; ...) > this allows you to write scripts that can properly manage multiple > phone calls. The MS-DOS Kermit SERVER command can only be termianted > by a FINISH or a Ctrl-C. There is no mechanism in the script language > to cancel the SERVER command in MS-DOS Kermit. > > The FINISH command when received from the client means "terminate SERVER > mode". So if K95 receives that command when in SERVER mode the SERVER > will be terminated. The same is true for MS-DOS Kermit. If the SERVER > command is active and a FINISH is received the command will terminate. > > If you want Kermit 95 to remain in SERVER mode after receiving one > FINISH command you will have to use > > SET MODEM TYPE ... > SET PORT ... > SET FLOW ... > ANSWER > SERVER > SERVER > EXIT > > Jeffrey Altman * Sr.Software Designer > The Kermit Project * Columbia University > 612 West 115th St * New York, NY * 10025 * USA > http://www.kermit-project.org/ * kermit-support@kermit-project.org From news@columbia.edu Fri Oct 6 14:39:14 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id OAA17138 for ; Fri, 6 Oct 2000 14:39:14 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA28785 for ; Fri, 6 Oct 2000 14:39:12 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id OAA21455 for kermit.misc@watsun.cc.columbia.edu; Fri, 6 Oct 2000 14:24:36 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Ehud Meal" Subject: Kermit Protocol Specification Date: Fri, 6 Oct 2000 19:45:18 +0200 Organization: NetVision Israel Message-ID: <8rl2jo$q55$1@news.netvision.net.il> To: kermit.misc@columbia.edu Does anyone know where can I find the kermit protocol specifications? Thanks! From news@columbia.edu Fri Oct 6 16:09:13 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id QAA09004 for ; Fri, 6 Oct 2000 16:09:12 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA12738 for ; Fri, 6 Oct 2000 16:09:11 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id QAA25641 for kermit.misc@watsun.cc.columbia.edu; Fri, 6 Oct 2000 16:02:43 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Dark Moon Subject: Building C-Kermit 6.0.192 with Cygwin 1.1 Date: Fri, 06 Oct 2000 13:02:00 -0700 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <39DE2FB8.AB606C30@cinenet.net> To: kermit.misc@columbia.edu Which makefile target will work best for Cygwin? I tried modifying the linux target, thusly: cygwin: @echo 'Making C-Kermit $(CKVER) for Cygwin...' $(MAKE) wermit "CC = gcc" "CC2 = gcc" \ "CFLAGS = -O4 -DPOSIX -DDYNAMIC -DBIGBUFOK -DTCPSOCKET \ -DMYCURSES -DCK_PCT_BAR -DNOLATIN2 -DNOCYRIL -DNOHEBREW \ -DNODEBUG -DNOSERVER -DHADDRLIST -DNODIAL -DNOLISTEN -DCK_NAWS \ -DSELECT $(KFLAGS)" \ "LNKFLAGS = -s $(LNKFLAGS)" "LIBS = -ltermcap" But two of the modules fail, so far, because things are #ifdef'ed out that should be in, and v.v. I got one to build by copying a typdef (but who knows if it will link and run properly), the other is too complex for me to figure out. And please, no "Why don't you just go out and buy Kermit95?" comments. C-Kermit supports Linux, FreeBSD, OS/2, MacOS, and even Windows NT, so why not Cygwin? Thanks for your help, Jeff -- ,,/ "...he may not come until the Circle has been \,, /(-\ broken. And his birth shall mark both the /-)\ ,---' /`-' beginning and the ending of an age." '-'\ `----, /( )__)) --M.A.Pierce, _Birth of the Firebringer_ ((,==( )\ _ /_//___\\ __ -=<*>=- -=<*>=- -=<*>=- -=<*>=- -=<*>=- -=<*>=- ___\\ __\\ __ `` `` ~darkmoon~ -- ~the~sky~above~net~ '' '' From news@columbia.edu Sat Oct 7 07:09:13 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id HAA06592 for ; Sat, 7 Oct 2000 07:09:13 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id HAA21938 for ; Sat, 7 Oct 2000 07:09:13 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id HAA00901 for kermit.misc@watsun.cc.columbia.edu; Sat, 7 Oct 2000 07:05:47 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Bing Shiao" Subject: library that implements TAP Date: Sat, 7 Oct 2000 04:05:40 -0700 Organization: California State Polytechnic University Pomona Message-ID: <8rmvqb$d8v$1@kellogg.csupomona.net> To: kermit.misc@columbia.edu hi, do you know is there any place I can get a library that implement TAP (Telocator Alphanumeric Protocol)? From news@columbia.edu Sat Oct 7 15:39:15 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id PAA23731 for ; Sat, 7 Oct 2000 15:39:15 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA07464 for ; Sat, 7 Oct 2000 15:39:14 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id PAA19812 for kermit.misc@watsun.cc.columbia.edu; Sat, 7 Oct 2000 15:32:25 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Kent Scheidegger Subject: Re: Strange keyboard problem Date: 7 Oct 2000 19:31:47 GMT Organization: Dept of Silly Walks Message-ID: <8rntn3$1i37$1@nntp1.ba.best.com> To: kermit.misc@columbia.edu Jeffrey Altman wrote: > In this situation what does the SHOW KEY command report for > the keys that you press? I wouldn't know, since in this state I can't enter any commands, SHOW KEY included. > Do you have multiple Keyboard Layouts installed? Such as > Dvorak or an International layout. If so, you may be unknowningly > instructing K95 to switch keyboard layouts using the Alt-Shift > or Ctrl-Shift key combinations. That is probably the answer. Many thanks, Jeff. > In article <8rdq1t$8sa$2@nntp1.ba.best.com>, > Kent Scheidegger wrote: > : Every once in a while, using Kermit 95, my keyboard just goes > : berserk. None of the keys produce the letters they are > : supposed to, but they all all mapped to other characters. > : This happens when I am logged on to a Unix shell account, > : and I can't even type "logout" to get out of it. > : > : Anyone know why this happens and what to do about it? > : Thanks in advance for any info. > : > : Kent Scheidegger > : > Jeffrey Altman * Sr.Software Designer > The Kermit Project * Columbia University > 612 West 115th St * New York, NY * 10025 * USA > http://www.kermit-project.org/ * kermit-support@kermit-project.org From news@columbia.edu Sun Oct 8 18:39:17 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id SAA11714 for ; Sun, 8 Oct 2000 18:39:16 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id SAA17647 for ; Sun, 8 Oct 2000 18:39:16 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id SAA22133 for kermit.misc@watsun.cc.columbia.edu; Sun, 8 Oct 2000 18:24:24 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: library that implements TAP Date: 8 Oct 2000 22:24:22 GMT Organization: Columbia University Message-ID: <8rqs6m$lji$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <8rmvqb$d8v$1@kellogg.csupomona.net>, Bing Shiao wrote: : hi, do you know is there any place I can get a library that implement TAP : (Telocator Alphanumeric Protocol)? : http://www.columbia.edu/kermit/pagers.html - Frank From news@columbia.edu Wed Oct 11 11:09:25 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id LAA20768 for ; Wed, 11 Oct 2000 11:09:24 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA19102 for ; Wed, 11 Oct 2000 11:09:24 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id LAA11196 for kermit.misc@watsun.cc.columbia.edu; Wed, 11 Oct 2000 11:02:56 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Roman Figaj" Subject: kermit for EPOC ? Date: Wed, 11 Oct 2000 17:05:18 +0200 Message-ID: <8s1vdr$j1tcm$1@ID-11346.news.cis.dfn.de> To: kermit.misc@columbia.edu Sorry if I'm way out of line here, but still... is there a version of kermit for EPOC (ER5) available or in the works ? If not, what could I use instead ? Thanks a lot Roman From news@columbia.edu Wed Oct 11 12:09:25 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id MAA20674 for ; Wed, 11 Oct 2000 12:09:24 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA29414 for ; Wed, 11 Oct 2000 12:09:24 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id LAA13182 for kermit.misc@watsun.cc.columbia.edu; Wed, 11 Oct 2000 11:46:24 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: kermit for EPOC ? Date: 11 Oct 2000 15:46:22 GMT Organization: Columbia University Message-ID: <8s220e$crq$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <8s1vdr$j1tcm$1@ID-11346.news.cis.dfn.de>, Roman Figaj wrote: : Sorry if I'm way out of line here, but still... : is there a version of kermit for EPOC (ER5) available or in the works ? : Not to my knowledge. Of course anybody who wants to is welcome to write one. - Frank From news@columbia.edu Mon Oct 16 09:39:36 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id JAA23751 for ; Mon, 16 Oct 2000 09:39:35 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id JAA27385 for ; Mon, 16 Oct 2000 09:39:35 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id JAA09308 for kermit.misc@watsun.cc.columbia.edu; Mon, 16 Oct 2000 09:30:31 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Jonathan MILLEY Subject: Kermit on a microcontroller Date: 16 Oct 2000 13:29:53 GMT Organization: Memorial University of Newfoundland Message-ID: <8sevsh$i6j$1@coranto.ucs.mun.ca> To: kermit.misc@columbia.edu I'm thinking of doing a project which , useing some type of microcontroller I would be able to carry small amounts of files with me. The purpose of which would be sort of a file store for my HP48G+. I would like to find a Kermi server implementation which I could use to accomplish this. It would obviously need to be extensively modified to handle my application, but if I can avoid rewriting an entire implementation, it would be great. If anyone knows of any source of help, or any simmilar projects, it would be appreciated. Jon ================================================================= Jonathan Milley jmilley@engr.mun.ca EE Class of 2003 Memorial University of Newfoundland St. John's, Newfoundland, Canada ================================================================= From news@columbia.edu Mon Oct 16 10:09:36 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id KAA24882 for ; Mon, 16 Oct 2000 10:09:35 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA02720 for ; Mon, 16 Oct 2000 10:09:35 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id JAA09921 for kermit.misc@watsun.cc.columbia.edu; Mon, 16 Oct 2000 09:40:43 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Kermit on a microcontroller Date: 16 Oct 2000 13:40:42 GMT Organization: Columbia University Message-ID: <8sf0gq$9lt$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <8sevsh$i6j$1@coranto.ucs.mun.ca>, Jonathan MILLEY wrote: : I'm thinking of doing a project which , useing some type of microcontroller : I would be able to carry small amounts of files with me. : : The purpose of which would be sort of a file store for my HP48G+. : I would like to find a Kermi server implementation which I could use to : accomplish this. It would obviously need to be extensively modified to : handle my application, but if I can avoid rewriting an entire : implementation, it would be great. : : If anyone knows of any source of help, or any simmilar projects, it would : be appreciated. : Of course you could do it from scratch from the spec, but why bother unless you have to or really want to. With operating systems like Linux running on devices as small as wristwatches: http://www.ibm.com/services/clippings/press_summary_0808_111860.html there should be no longer any need do develop custom microprocessors for applications like yours. Just run an standard OS in a small device, and run standard software like C-Kermit: http://www.columbia.edu/kermit/ckermit.html on the standard OS: - Frank From news@columbia.edu Mon Oct 16 16:09:45 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id QAA25695 for ; Mon, 16 Oct 2000 16:09:37 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA05485 for ; Mon, 16 Oct 2000 16:09:36 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id OAA26106 for kermit.misc@watsun.cc.columbia.edu; Mon, 16 Oct 2000 14:43:02 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Steve" Subject: Re: No Carrier Message-ID: <%ZHG5.54658$bI6.1914001@news1.giganews.com> Organization: Giganews.Com - Premium News Outsourcing Date: Mon, 16 Oct 2000 18:42:04 GMT To: kermit.misc@columbia.edu Frank, Sorry for the delay... Here is what we are trying to accomplish with K95. We currently have DOS clients that on a regular basis, communicate with a host PC to exchange files. The clients and the host are running DOS apps that call Kermit 3.15. We would like to upgrade the host to K95 to allow for multiple transfers at one time on one PC. Here is what we are doing: The host waits in server mode for a client to connect. The clients connects either through a serial cable or modem and sends across a file that contains a field that tells the host which client this is then the client sends a Finish command to kick the host out of server mode. The host opens the file to get the client ID then changes to a directory containing files specific to that client that are waiting to go to the client, compresses the files and sends across the compressed file. The host then goes into server mode waiting for the clients compressed data file. After the client sends the file it sends a Finish command and the host uncompresses the file and processes the data, copying files contained within the compressed data file to the appropriate places. The host then goes back into server mode waiting for the next client. One other important part is from time to time a phone line can go bad in the middle of a transfer and therefore for example the host may be waiting for the clients compress data file while a new client may be connecting and sending the client ID file. We refer to this as the client and the host being out of synch. To resolve this, when the client first connects, it sends 2 Finish commands which 100% guarantees that the host will be at the "waiting for client ID" section of the host app as that part of code on the host looks something like: Do While True Kermit server If File(ClientID) Exit Do End If End Do We would like to upgrade the host app to K95 and have a VB app that seems to work fine except for communicating over the modem. When we send the Finish from the client, it drops the line and we get No Carrier on the client. If we could get around this, that should solve our issue. I am not sure changing the software on the client is a realistic option as updating the clients is a major hassle. We can change the modem initialization string on the clients so that is an option. Any thoughts? Steve Baus From news@columbia.edu Mon Oct 16 17:09:36 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id RAA18055 for ; Mon, 16 Oct 2000 17:09:36 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id RAA15733 for ; Mon, 16 Oct 2000 17:09:35 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id QAA01178 for kermit.misc@watsun.cc.columbia.edu; Mon, 16 Oct 2000 16:40:25 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: No Carrier Date: 16 Oct 2000 20:40:24 GMT Organization: Columbia University Message-ID: <8sfp3o$14n$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <%ZHG5.54658$bI6.1914001@news1.giganews.com>, Steve wrote: : We currently have DOS clients that on a regular basis, communicate with a : host PC to exchange files. The clients and the host are running DOS apps : that call Kermit 3.15. We would like to upgrade the host to K95 to allow : for multiple transfers at one time on one PC. : : Here is what we are doing: : The host waits in server mode for a client to connect. The clients connects : either through a serial cable or modem... : So then you need one serial port for each simultaneous session. As you know, PCs are not easily able to accommodate more than two serial ports, due to the severe shortage of available IRQs in the PC architecture. Any serial ports beyond two are likely to introduce interrupt conflicts. : ... and sends across a file that contains : a field that tells the host which client this is then the client sends a : Finish command to kick the host out of server mode. The host opens the file : to get the client ID then changes to a directory containing files specific : to that client that are waiting to go to the client, compresses the files : and sends across the compressed file. The host then goes into server mode : waiting for the clients compressed data file. After the client sends the : file it sends a Finish command and the host uncompresses the file and : processes the data, copying files contained within the compressed data file : to the appropriate places. The host then goes back into server mode waiting : for the next client. : All this switching into and out of server mode sounds pretty tricky to me. How do the two sides stay synchronized? Wouldn't it be better to keep the host in server mode and drive everything from the client script? For example, make the client ID correspond to a directory on the host. Then the client script could: . CD to its own host directory. . Does a GET command for the files that are waiting. Note that both K95 and MS-DOS Kermit 3.15 have a RETRIEVE command, which means "send me the specified files, and then delete each one if and only if it is sent successfully" (in K95, this is equivalent to GET /DELETE). This feature is designed for exactly your kind of application. For more discussion of "atomic file movement", see: http://www.columbia.edu/kermit/case10.html . I would guess that the compression step can probably be skipped, since the modems take care of that transparently. In those cases where you might not have a data-compressing modem connection, the improved simplicity might be worth the tradeoff. Conversely, you have have the client script obtain send "remote host zip" or similar commands. . Now the client sends back its files and sends FINISH, and hangs up its connection. This makes the server end quite simple. : One other important part is from time to time a phone : line can go bad in the middle of a transfer and therefore for example the : host may be waiting for the clients compress data file while a new client : may be connecting and sending the client ID file. : This, of course, points up the dangers of using a DOS/Windows server, which has no notion of separate user identities or authentication. You would solve an awful lot of programs by using some form of Unix (such as Linux or SCO) on the server. This gets you user IDs, file protection and permissions, and all the rest automatically, not to mention the natural ability of the Kermit server to run subprocesses without hanging. : We refer to this as the : client and the host being out of synch. To resolve this, when the client : first connects, it sends 2 Finish commands which 100% guarantees that the : host will be at the "waiting for client ID" section of the host app as that : part of code on the host looks something like: : Do While True : Kermit server : If File(ClientID) : Exit Do : End If : End Do : : We would like to upgrade the host app to K95 and have a VB app that seems to : work fine except for communicating over the modem. When we send the Finish : from the client, it drops the line and we get No Carrier on the client. If : we could get around this, that should solve our issue. I am not sure : changing the software on the client is a realistic option as updating the : clients is a major hassle. : Still, it might be worth it. The current scheme has too many vulnerabilities, both procedural and security-related. : We can change the modem initialization string on the clients so that is an : option. : : Any thoughts? : It's up to you. If you can't change the client scripts, then you'll need to make the server script take every possibility into account. If you want to continue with your current scenario, Jeff already made the suggestions you need -- remove the EXIT command from your script, and have the script loop back and wait for another call. Or put two SERVER commands in a row. Whatever you need to do, the scripting language will allow -- you just need to think through all the possibilities. Another possibility is to simply run K95 host mode on server: http://www.columbia.edu/kermit/k95host.html In that case, the client script has to log in and negotiate the menus, but that's not too difficult, and then at least you have some measure of authentication and file protection. - Frank From news@columbia.edu Mon Oct 16 22:16:26 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id WAA07014 for ; Mon, 16 Oct 2000 22:13:03 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id WAA26290 for ; Mon, 16 Oct 2000 22:09:45 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id VAA14433 for kermit.misc@watsun.cc.columbia.edu; Mon, 16 Oct 2000 21:46:35 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Steve" Subject: Re: No Carrier Message-ID: <3bOG5.57125$bI6.1974759@news1.giganews.com> Organization: Giganews.Com - Premium News Outsourcing Date: Tue, 17 Oct 2000 01:45:36 GMT To: kermit.misc@columbia.edu Sounds like we need to rethink the plan of attack here... In the short term, is there any easy way around the No Carrier when we send a Finish from the client? A setting on the host or a modem initialization setting on the client? I cant see where putting multiple servers in the host script is going to work. Thanks, Steve Frank da Cruz wrote in message news:8sfp3o$14n$1@newsmaster.cc.columbia.edu... > In article <%ZHG5.54658$bI6.1914001@news1.giganews.com>, > Steve wrote: > : We currently have DOS clients that on a regular basis, communicate with a > : host PC to exchange files. The clients and the host are running DOS apps > : that call Kermit 3.15. We would like to upgrade the host to K95 to allow > : for multiple transfers at one time on one PC. > : > : Here is what we are doing: > : The host waits in server mode for a client to connect. The clients connects > : either through a serial cable or modem... > : > So then you need one serial port for each simultaneous session. As you know, > PCs are not easily able to accommodate more than two serial ports, due to > the severe shortage of available IRQs in the PC architecture. Any serial > ports beyond two are likely to introduce interrupt conflicts. > > : ... and sends across a file that contains > : a field that tells the host which client this is then the client sends a > : Finish command to kick the host out of server mode. The host opens the file > : to get the client ID then changes to a directory containing files specific > : to that client that are waiting to go to the client, compresses the files > : and sends across the compressed file. The host then goes into server mode > : waiting for the clients compressed data file. After the client sends the > : file it sends a Finish command and the host uncompresses the file and > : processes the data, copying files contained within the compressed data file > : to the appropriate places. The host then goes back into server mode waiting > : for the next client. > : > All this switching into and out of server mode sounds pretty tricky to me. > How do the two sides stay synchronized? Wouldn't it be better to keep the > host in server mode and drive everything from the client script? > > For example, make the client ID correspond to a directory on the host. > Then the client script could: > > . CD to its own host directory. > > . Does a GET command for the files that are waiting. Note that both > K95 and MS-DOS Kermit 3.15 have a RETRIEVE command, which means > "send me the specified files, and then delete each one if and only > if it is sent successfully" (in K95, this is equivalent to GET /DELETE). > This feature is designed for exactly your kind of application. For > more discussion of "atomic file movement", see: > > http://www.columbia.edu/kermit/case10.html > > . I would guess that the compression step can probably be skipped, since > the modems take care of that transparently. In those cases where you > might not have a data-compressing modem connection, the improved > simplicity might be worth the tradeoff. Conversely, you have have the > client script obtain send "remote host zip" or similar commands. > > . Now the client sends back its files and sends FINISH, and hangs up its > connection. > > This makes the server end quite simple. > > : One other important part is from time to time a phone > : line can go bad in the middle of a transfer and therefore for example the > : host may be waiting for the clients compress data file while a new client > : may be connecting and sending the client ID file. > : > This, of course, points up the dangers of using a DOS/Windows server, which > has no notion of separate user identities or authentication. You would solve > an awful lot of programs by using some form of Unix (such as Linux or SCO) > on the server. This gets you user IDs, file protection and permissions, and > all the rest automatically, not to mention the natural ability of the Kermit > server to run subprocesses without hanging. > > : We refer to this as the > : client and the host being out of synch. To resolve this, when the client > : first connects, it sends 2 Finish commands which 100% guarantees that the > : host will be at the "waiting for client ID" section of the host app as that > : part of code on the host looks something like: > : Do While True > : Kermit server > : If File(ClientID) > : Exit Do > : End If > : End Do > : > : We would like to upgrade the host app to K95 and have a VB app that seems to > : work fine except for communicating over the modem. When we send the Finish > : from the client, it drops the line and we get No Carrier on the client. If > : we could get around this, that should solve our issue. I am not sure > : changing the software on the client is a realistic option as updating the > : clients is a major hassle. > : > Still, it might be worth it. The current scheme has too many vulnerabilities, > both procedural and security-related. > > : We can change the modem initialization string on the clients so that is an > : option. > : > : Any thoughts? > : > It's up to you. If you can't change the client scripts, then you'll need > to make the server script take every possibility into account. If you want > to continue with your current scenario, Jeff already made the suggestions > you need -- remove the EXIT command from your script, and have the script > loop back and wait for another call. Or put two SERVER commands in a row. > Whatever you need to do, the scripting language will allow -- you just need > to think through all the possibilities. > > Another possibility is to simply run K95 host mode on server: > > http://www.columbia.edu/kermit/k95host.html > > In that case, the client script has to log in and negotiate the menus, but > that's not too difficult, and then at least you have some measure of > authentication and file protection. > > - Frank From news@columbia.edu Mon Oct 16 23:40:53 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id XAA16368 for ; Mon, 16 Oct 2000 23:40:52 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id XAA29418 for ; Mon, 16 Oct 2000 23:39:37 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id XAA17844 for kermit.misc@watsun.cc.columbia.edu; Mon, 16 Oct 2000 23:15:00 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jaltman@columbia.edu (Jeffrey Altman) Subject: Re: No Carrier Date: 17 Oct 2000 03:14:58 GMT Organization: Columbia University Message-ID: <8sgg7i$hdh$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <3bOG5.57125$bI6.1974759@news1.giganews.com>, Steve wrote: : Sounds like we need to rethink the plan of attack here... : : In the short term, is there any easy way around the No Carrier when we send : a Finish from the client? A setting on the host or a modem initialization : setting on the client? I cant see where putting multiple servers in the : host script is going to work. : : Thanks, : Steve Steve: You are sending a FINISH command upon making a connection because the MS-DOS Kermit fails to terminate when the prior connection is lost. This is not a problem with K95 or C-Kermit. If you create a loop that looks like SET CARRIER-WATCH ON SET MODEM TYPE ... SET PORT ... SET FLOW ... WHILE TRUE { ANSWER 0 IF SUCCESS { SERVER ; This one is terminated by the FINISH SERVER ; This one is terminated by the connection loss } HANGUP } you will emulate the behavior of the MS-DOS Kermit SERVER which never terminates. Jeffrey Altman * Sr.Software Designer The Kermit Project * Columbia University 612 West 115th St * New York, NY * 10025 * USA http://www.kermit-project.org/ * kermit-support@kermit-project.org From news@columbia.edu Tue Oct 17 12:39:43 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id MAA03756 for ; Tue, 17 Oct 2000 12:39:40 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA04774 for ; Tue, 17 Oct 2000 12:39:38 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id MAA19924 for kermit.misc@watsun.cc.columbia.edu; Tue, 17 Oct 2000 12:34:46 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Steve" Subject: Re: No Carrier Message-ID: Organization: Giganews.Com - Premium News Outsourcing Date: Tue, 17 Oct 2000 09:31:12 -0700 To: kermit.misc@columbia.edu In our DOS app, we call Server from the command line and Kermit does terminate when it receives the Finish. All we would like right now is for the host in Server mode to not drop the phone line when it receives the Finish. I would have thought that there was an AT command or Kermit setting that would do this. Steve Jeffrey Altman wrote in message news:8sgg7i$hdh$1@newsmaster.cc.columbia.edu... > In article <3bOG5.57125$bI6.1974759@news1.giganews.com>, > Steve wrote: > : Sounds like we need to rethink the plan of attack here... > : > : In the short term, is there any easy way around the No Carrier when we send > : a Finish from the client? A setting on the host or a modem initialization > : setting on the client? I cant see where putting multiple servers in the > : host script is going to work. > : > : Thanks, > : Steve > > Steve: > > You are sending a FINISH command upon making a connection because the > MS-DOS Kermit fails to terminate when the prior connection is lost. > This is not a problem with K95 or C-Kermit. If you create a loop > that looks like > > SET CARRIER-WATCH ON > SET MODEM TYPE ... > SET PORT ... > SET FLOW ... > WHILE TRUE { > ANSWER 0 > IF SUCCESS { > SERVER ; This one is terminated by the FINISH > SERVER ; This one is terminated by the connection loss > } > HANGUP > } > > you will emulate the behavior of the MS-DOS Kermit SERVER which never > terminates. > > > > > Jeffrey Altman * Sr.Software Designer > The Kermit Project * Columbia University > 612 West 115th St * New York, NY * 10025 * USA > http://www.kermit-project.org/ * kermit-support@kermit-project.org From news@columbia.edu Tue Oct 17 13:10:38 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id NAA24320 for ; Tue, 17 Oct 2000 13:09:40 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA10316 for ; Tue, 17 Oct 2000 13:09:39 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id MAA20637 for kermit.misc@watsun.cc.columbia.edu; Tue, 17 Oct 2000 12:52:44 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jaltman@columbia.edu (Jeffrey Altman) Subject: Re: No Carrier Date: 17 Oct 2000 16:52:44 GMT Organization: Columbia University Message-ID: <8si04s$k4q$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Steve wrote: : In our DOS app, we call Server from the command line and Kermit does : terminate when it receives the Finish. All we would like right now is for : the host in Server mode to not drop the phone line when it receives the : Finish. I would have thought that there was an AT command or Kermit setting : that would do this. : : Steve : The connection will not be dropped when the FINISH is received if: . K95 does not terminate . HANGUP is not issued . CLOSE CONNECTION is not issued Your original script was .... SERVER EXIT Hence, when the SERVER command completes due to the receipt of the FINISH command from the client, the EXIT command is executed which causes K95 to terminate, the modem to be hungup, and the communications device to be closed. That is why I have suggested using the WHILE construct to ANSWER multiple calls if that is what you want; or to use multiple SERVER commands. I don't see how your clients are working with MS-DOS Kermit as the SERVER if the clients always issue a FINISH upon establishing a connection; and the MS-DOS Kermit script only contains a single SERVER command which is not in a loop of some sort. Jeffrey Altman * Sr.Software Designer The Kermit Project * Columbia University 612 West 115th St * New York, NY * 10025 * USA http://www.kermit-project.org/ * kermit-support@kermit-project.org From news@columbia.edu Tue Oct 17 13:12:59 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id NAA26549 for ; Tue, 17 Oct 2000 13:12:58 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA10313 for ; Tue, 17 Oct 2000 13:09:38 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id MAA20633 for kermit.misc@watsun.cc.columbia.edu; Tue, 17 Oct 2000 12:52:43 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: No Carrier Date: 17 Oct 2000 16:52:42 GMT Organization: Columbia University Message-ID: <8si04q$k4m$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Steve wrote: : In our DOS app, we call Server from the command line and Kermit does : terminate when it receives the Finish. All we would like right now is for : the host in Server mode to not drop the phone line when it receives the : Finish. I would have thought that there was an AT command or Kermit setting : that would do this. : The Kermit server does not drop the phone line when it gets a FINISH. The reason the phone line drops is that the next command after SERVER in your script is EXIT (implied or explicit -- e.g. because the script was invoked from the command line, so Kermit exits when the script is finished). Replace that with something along the lines that Jeff suggested and you'll be happy. Jeff suggested: : > SET CARRIER-WATCH ON : > SET MODEM TYPE ... : > SET PORT ... : > SET FLOW ... : > WHILE TRUE { : > ANSWER 0 : > IF SUCCESS { : > SERVER ; This one is terminated by the FINISH : > SERVER ; This one is terminated by the connection loss : > } : > HANGUP : > } - Frank Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id NAA28958 for ; Thu, 19 Oct 2000 13:39:43 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA15101 for ; Thu, 19 Oct 2000 13:39:42 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id NAA13063 for kermit.misc@watsun.cc.columbia.edu; Thu, 19 Oct 2000 13:38:16 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Steve" Subject: Re: No Carrier Message-ID: <9jGH5.66100$bI6.2391998@news1.giganews.com> Organization: Giganews.Com - Premium News Outsourcing Date: Thu, 19 Oct 2000 17:37:09 GMT To: kermit.misc@columbia.edu A little clarification. In our DOS server program, we do have server in a loop and we call server from a command line. Here is streamlined psuedo code of the host app: Do While True 'rem Loop to get client ID file Do while True 'rem Wait for ClientID file Kermit Server If File(ClientID) Exit Do End IF EndDo ChangeToClientSpecificDirectory(ClientID#) CompressFilesGoingToClient(ClientID#) Kermit Send ClientUpdateFile 'rem Server mode to receive client data files Kermit Server ProcessClientDataFiles(ClientID#) End Do We have a Windows version of this written in VB working fine with non modem serial cable file transfers. The tricky part was having the VB app wait until the Kermit server has terminated at which point we check for files, process files or whatever needs to happen. The problem is if we are going over a modem, the phone line is dropped when we exit K95. If we do not exit K95, we end up with a window with a K95 prompt. If there was a way for me to issue commands to that K95 prompt so it could send files or go back in server mode that may resolve this until we can re think the whole process. Steve Jeffrey Altman wrote in message news:8si04s$k4q$1@newsmaster.cc.columbia.edu... > In article , > Steve wrote: > : In our DOS app, we call Server from the command line and Kermit does > : terminate when it receives the Finish. All we would like right now is for > : the host in Server mode to not drop the phone line when it receives the > : Finish. I would have thought that there was an AT command or Kermit setting > : that would do this. > : > : Steve > : > > The connection will not be dropped when the FINISH is received if: > > . K95 does not terminate > > . HANGUP is not issued > > . CLOSE CONNECTION is not issued > > Your original script was > > .... > SERVER > EXIT > > Hence, when the SERVER command completes due to the receipt of the FINISH > command from the client, the EXIT command is executed which causes K95 > to terminate, the modem to be hungup, and the communications device to > be closed. That is why I have suggested using the WHILE construct to > ANSWER multiple calls if that is what you want; or to use multiple SERVER > commands. > > I don't see how your clients are working with MS-DOS Kermit as the SERVER > if the clients always issue a FINISH upon establishing a connection; and > the MS-DOS Kermit script only contains a single SERVER command which is > not in a loop of some sort. > > > Jeffrey Altman * Sr.Software Designer > The Kermit Project * Columbia University > 612 West 115th St * New York, NY * 10025 * USA > http://www.kermit-project.org/ * kermit-support@kermit-project.org From news@columbia.edu Thu Oct 19 14:39:43 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id OAA06486 for ; Thu, 19 Oct 2000 14:39:43 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA25842 for ; Thu, 19 Oct 2000 14:39:42 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id OAA14765 for kermit.misc@watsun.cc.columbia.edu; Thu, 19 Oct 2000 14:19:19 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jaltman@columbia.edu (Jeffrey Altman) Subject: Re: No Carrier Date: 19 Oct 2000 18:19:17 GMT Organization: Columbia University Message-ID: <8sndv5$eda$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <9jGH5.66100$bI6.2391998@news1.giganews.com>, Steve wrote: : : We have a Windows version of this written in VB working fine with non modem : serial cable file transfers. The tricky part was having the VB app wait : until the Kermit server has terminated at which point we check for files, : process files or whatever needs to happen. The problem is if we are going : over a modem, the phone line is dropped when we exit K95. If we do not exit : K95, we end up with a window with a K95 prompt. If there was a way for me : to issue commands to that K95 prompt so it could send files or go back in : server mode that may resolve this until we can re think the whole process. : : Steve If you put a breakout box on the serial port you will see that the Windows serial port driver drops the DTR signal every time the device is closed. The device is closed each and everytime K95 terminates unless the device handle was passed to K95 when it is started. When DTR is dropped the modem hangs up the phone call. Jeffrey Altman * Sr.Software Designer The Kermit Project * Columbia University 612 West 115th St * New York, NY * 10025 * USA http://www.kermit-project.org/ * kermit-support@kermit-project.org From news@columbia.edu Thu Oct 19 22:09:44 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id WAA27634 for ; Thu, 19 Oct 2000 22:09:43 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id WAA26536 for ; Thu, 19 Oct 2000 22:09:43 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id WAA09128 for kermit.misc@watsun.cc.columbia.edu; Thu, 19 Oct 2000 22:07:08 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Mark Sapiro Subject: Re: No Carrier Date: 20 Oct 2000 02:06:22 GMT Organization: Not Very Much Message-ID: <8so9au$ie0$1@news.value.net> To: kermit.misc@columbia.edu Jeffrey Altman wrote: | In article <9jGH5.66100$bI6.2391998@news1.giganews.com>, | Steve wrote: | : | : The problem is if we are going | : over a modem, the phone line is dropped when we exit K95. | If you put a breakout box on the serial port you will see that the | Windows serial port driver drops the DTR signal every time the device | is closed. The device is closed each and everytime K95 terminates | unless the device handle was passed to K95 when it is started. When | DTR is dropped the modem hangs up the phone call. At least some modems can be set to ignore the DTR signal and not drop carrier when DTR drops. The 'AT' command to tell the modem to ignore DTR is usually '&D0'. Of course if you use this option, you can't use DTR to tell the modem to answer a ring. You have to tell the modem to auto answer after n rings (usually with'S0=n'). These commands can be in the modem init string. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From news@columbia.edu Sun Oct 22 14:09:49 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id OAA09967 for ; Sun, 22 Oct 2000 14:09:49 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA25404 for ; Sun, 22 Oct 2000 14:09:49 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id NAA00381 for kermit.misc@watsun.cc.columbia.edu; Sun, 22 Oct 2000 13:59:38 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Christopher Mosley Subject: ckermit: keep alive Message-ID: Date: Sun, 22 Oct 2000 17:58:56 GMT To: kermit.misc@columbia.edu Is there a way to keep a serial connection alive using ckermit. Is there a way to output characters when in the connect mode without running a backround process on the machine you are connected to... I can see using a backround process that periodically uses apc escape sequence to output a character, but I have used backround proccesses with "sleeps" before and my isp started looking at the files in my account - they thought it was indicative of a ping attack and generally suspicious. Is my only real option to run a script from the command line? THANKS From news@columbia.edu Sun Oct 22 14:39:49 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id OAA13888 for ; Sun, 22 Oct 2000 14:39:48 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA00306 for ; Sun, 22 Oct 2000 14:39:48 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id OAA01505 for kermit.misc@watsun.cc.columbia.edu; Sun, 22 Oct 2000 14:25:42 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: ckermit: keep alive Date: 22 Oct 2000 18:25:39 GMT Organization: Columbia University Message-ID: <8svbf3$1eu$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Christopher Mosley wrote: : Is there a way to keep a serial connection alive using ckermit. : Is there a way to output characters when in the connect mode : without running a backround process on the machine you are connected : to... : K95 has a nice way of doing this since it runs in multiple threads (something not practical for C-Kermit since threads are not portable enough): set terminal idle-send e.g. "set term idle 300 { }", which sends a space every 300 seconds if you don't touch the keyboard. : I can see using a backround process that periodically uses : apc escape sequence to output a character, but I have used backround : proccesses with "sleeps" before and my isp started looking at the files : in my account - they thought it was indicative of a ping attack and : generally suspicious. : : Is my only real option to run a script from the command line? : If you're trying to prevent the situation in which you leave C-Kermit in CONNECT mode and walk away for half an hour, and the host logs you out because of idle time, C-Kermit can help you if you remember to escape back from CONNECT mode before walking away and running a little script like: define BUSYWAIT { echo Press any key to continue... set ask-timer 2 while true { for \%i 1 15 1 { getc \%c if success { set ask-timer 0 echo Continuing... end 0 } } output \N } } This sends a NUL (which should be harmless) every 30 seconds until you press a key (there might be up to a 2-second delay after you press key before it responds). Take this one step further by putting the definition in your C-Kermit customization file, where you would also: define myconnect connect, busywait and then use MYCONNECT instead of CONNECT to enter CONNECT mode. Then whenever you escape back fronm CONNECT mode, it executes the BUSYWAIT macro automatically. - Frank From news@columbia.edu Sun Oct 22 19:09:50 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id TAA21465 for ; Sun, 22 Oct 2000 19:09:50 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id TAA14284 for ; Sun, 22 Oct 2000 19:09:49 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id TAA12482 for kermit.misc@watsun.cc.columbia.edu; Sun, 22 Oct 2000 19:06:10 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f Message-ID: <39F372B3.C3AC6A78@adelaide.edu.au> Date: Mon, 23 Oct 2000 08:35:23 +0930 From: Arthur Marsh Organization: The University of Adelaide - Information Technology Services Subject: Re: No Carrier To: kermit.misc@columbia.edu Mark Sapiro wrote: > > Jeffrey Altman wrote: > | In article <9jGH5.66100$bI6.2391998@news1.giganews.com>, > | Steve wrote: > | : > | : The problem is if we are going > | : over a modem, the phone line is dropped when we exit K95. > > | If you put a breakout box on the serial port you will see that the > | Windows serial port driver drops the DTR signal every time the device > | is closed. The device is closed each and everytime K95 terminates > | unless the device handle was passed to K95 when it is started. When > | DTR is dropped the modem hangs up the phone call. > > At least some modems can be set to ignore the DTR signal and not > drop carrier when DTR drops. The 'AT' command to tell the modem > to ignore DTR is usually '&D0'. > > Of course if you use this option, you can't use DTR to tell the > modem to answer a ring. You have to tell the modem to auto > answer after n rings (usually with'S0=n'). Not necessarily. DTR isn't for modem to DTE control, it's for the DTE to hangup a call (by dropping DTR). Of course the RI (Ring Indicate) line on the modem's serial port will go on and off when there's a call (not that it's usual to have one's software detect it), and if the modem is set to verbose mode there will be the string "RING" followed by a carriage return appearing from the modem. Similarly there is a numeric code for "RING" if the modem is in numeric response mode. Arthur. > > These commands can be in the modem init string. > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan -- http://online.adelaide.edu.au/doclib.nsf/Refs/Official_Email_Disclaimer ----------------------------------------------------------- This email message is intended only for the addressee(s) and contains information which may be confidential and/or copyright. If you are not the intended recipient please do not read, save, forward, disclose, or copy the contents of this email. If this email has been sent to you in please notify the sender by reply email and delete this email and any copies or links to this email immediately from your system. No representation is made that this email is free of viruses. Virus scanning is recommended and is the responsibility of the recipient. From news@columbia.edu Sun Oct 22 21:39:50 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id VAA14653 for ; Sun, 22 Oct 2000 21:39:49 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id VAA28523 for ; Sun, 22 Oct 2000 21:39:49 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id VAA17685 for kermit.misc@watsun.cc.columbia.edu; Sun, 22 Oct 2000 21:20:49 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Christopher Mosley Subject: Re: ckermit: keep alive Message-ID: <8nMI5.1071$g71.43942@news3.voicenet.com> Date: Mon, 23 Oct 2000 01:20:04 GMT To: kermit.misc@columbia.edu Frank da Cruz wrote: > : > If you're trying to prevent the situation in which you leave C-Kermit in > CONNECT mode and walk away for half an hour, and the host logs you out Yes, just what I was looking for, thanks > and then use MYCONNECT instead of CONNECT to enter CONNECT mode. Then > whenever you escape back fronm CONNECT mode, it executes the BUSYWAIT macro > automatically. > - Frank From news@columbia.edu Tue Oct 24 06:09:54 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id GAA15934 for ; Tue, 24 Oct 2000 06:09:54 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id GAA17215 for ; Tue, 24 Oct 2000 06:09:53 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id FAA28498 for kermit.misc@watsun.cc.columbia.edu; Tue, 24 Oct 2000 05:40:55 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "ralf.strandell" Subject: How to convert US EBCDIC -> CP850 ? Message-ID: Date: Tue, 24 Oct 2000 09:40:04 GMT Organization: Sonera corp Internet services To: kermit.misc@columbia.edu Hello, We need to convert files from "us ebcdic" to cp850. These files contain mostly names with accented characters. Unfortunately those files come from as/400 as "us ebcdic". (they should be "finnish ebcdic", or swedish, but this cannot be changed without reinstalling the system...) Now we need a way to convert them either to dos cp850 or unix 7 bit swedish, either by using "translate" or by using any script/program. Can you help? Thanks in advance Ralf Strandell Finland From news@columbia.edu Tue Oct 24 11:39:54 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id LAA02071 for ; Tue, 24 Oct 2000 11:39:54 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA13162 for ; Tue, 24 Oct 2000 11:39:53 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id LAA13410 for kermit.misc@watsun.cc.columbia.edu; Tue, 24 Oct 2000 11:15:49 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: How to convert US EBCDIC -> CP850 ? Date: 24 Oct 2000 15:15:47 GMT Organization: Columbia University Message-ID: <8t4933$d30$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu "ralf.strandell" wrote: : We need to convert files from "us ebcdic" to cp850. : : These files contain mostly names with accented characters. : Which means they are not "US EBCDIC" but one of the "other" EBCDICs (see below). : Unfortunately those files come from as/400 as "us ebcdic". : (they should be "finnish ebcdic", or swedish, but this cannot be : changed without reinstalling the system...) : How were the files transferred? Why do you think the encoding was changed? And if the encoding *was* changed to US EBCDIC, what happened to the accented letters? : Now we need a way to convert them either to dos cp850 : or unix 7 bit swedish, either by using "translate" or by : using any script/program. : : Can you help? : Sort of... C-Kermit and K95 do indeed have a TRANSLATE command, but it only works for character-sets that are found on platforms where these programs run, none of which are EBCDIC-based. In fact, all the character sets known to C-Kermit and K95 are either ASCII-based (ASCII, ISO 646, ISO 8859, and various proprietary 8-bit sets that have ASCII as their lower half), or else Unicode / ISO 10646. The proprietary sets include the many PC and Windows code pages (CP437, CP850, CP852, CP1252, etc). In the EBCDIC (IBM mainframe) world, there is a similar proliferation of code pages, called Country Extended Code Pages (CECP), including: CECP 037 (Original USA EBCDIC) CECP 237 (Germany) CECP 238 (Finland and Sweden) CECP 280 (Italy) CECP 284 (Spain and Latin America) CECP 285 (UK) CECP 297 (France) CECP 424 (Israel) CECP 500 (West European Multilingual) CECP 870 (East European Multilingual) CECP 871 (Iceland) CECP 875 (Greece) CECP1025 (Cyrillic) CECP1026 (Turkish) CECP1046 (Arabic) CECP1112 (Baltic) CECP1122 (Estonia) CECP1123 (Ukraine) Most of these are known to IBM Mainframe Kermit. So if you have your source files were on an IBM mainframe, you could use IBM Mainframe Kermit to send them to C-Kermit, Kermit 95, or MS-DOS Kermit to obtain the needed translations. Of course, you would first have to figure out which of these CECPs is actually used for your files. But you don't have an IBM mainframe, you have an AS/400. That's a pity, because this is one of the very few platforms for which a Kermit program was never written (volunteers???) So one method is to move the files (without translation or conversion) from the AS/400 to an IBM Mainframe, and then use IBM Mainframe Kermit to transfer them to the target computer, using on the mainframe: set file character-set cp??? set transfer character-set latin1 and on the receiving computer: set file character-set cp850 If you can't do that, then Kermit can't help, in which case further advice would depend on what the target platform is: Windows, UNIX, DOS? In UNIX, for example, maybe you could use the iconv or recode utilities (if your computer has them, and if they support the source character set), or you could build your own translation table and run the files through the tr program. Depending on how the files were transferred, you might also need some kind of record-format conversion. - Frank From news@columbia.edu Tue Oct 24 17:39:55 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id RAA08579 for ; Tue, 24 Oct 2000 17:39:54 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id RAA12681 for ; Tue, 24 Oct 2000 17:39:54 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id RAA00273 for kermit.misc@watsun.cc.columbia.edu; Tue, 24 Oct 2000 17:23:01 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Luiz Geraldo Silva Braz Subject: log of a kermit comunication Date: Tue, 24 Oct 2000 19:08:29 -0200 Organization: POP-MG Message-ID: To: kermit.misc@columbia.edu Hi, This is a log of kermit comunication that I need to decode. The big questions are: 1) What king of command could generate the first string sent to the kermit server? #A& D#C"@% (see the log above) 2) Would this entire comunication be the result of just one c-kermit command or a lot of commands? What would be this (these) commands? I intend to create a script (using expect) to interact with c-kermit and automate this kind of comunication. I have inserted some coments (***) inside the log. Each set of packets has the sender ID ( "1>" to client and "0>" to the server) and two representations of the data sent in 2 columns. Some non-printbles caracteres are represented by "." at the rigth column. In the left column appears the Hex code of each char and the simbol of the non-printblesi char. Thanks in advance. Luiz Braz braz@i2.com.br PS: Sorry about the errors. This is the first message I have wroten in English. :-) >------------------------------------------------------------------------- *** Estabilishing the connection. 817371001 is just the phone number. :-) 1> 0000: 41 54 44 54 30 77 30 33 31 38 31 37 33 37 31 30 ATDT0318173710 A T D T 0 w 0 3 1 8 1 7 3 7 1 0 0010: 30 31 0D 01. 0 1 ^M 0> 0000: 0D 0A 43 4F 4E 4E 45 43 54 20 39 36 30 30 2F 41 ..CONNECT 9600/A ^M ^J C O N N E C T bs 9 6 0 0 / A 0010: 52 51 2F 56 33 32 2F 4C 41 50 4D 2F 56 34 32 42 RQ/V32/LAPM/V42B R Q / V 3 2 / L A P M / V 4 2 B 0020: 49 53 0D 0A IS.. I S ^M ^J *** Connected. Now the client machine sends a data packet (D) with a kind of escape sequence to the server. I don't know exactaly what does it mean. I don't know how the kermit server can interpret the commands (escape) inside the data packet. I supose that it is a hot question. 1> 0013: 23 41 26 20 20 44 23 43 22 40 25 0D #A& D#C"@%. # A & bs bs D # C " @ % ^M *** The server answers with an ack packet (Y) and a unknown M-package. What kind of package is it? I did't see it at the kermit protocol description I have? 0> 0024: 23 41 25 20 20 59 2A 24 33 0D 23 41 53 20 5F 4D #A% Y*$3.#AS _M # A % bs bs Y * $ 3 ^M # A S bs _ M 0034: 23 4D 23 4A 20 50 45 46 20 53 45 53 53 49 4F 4E #M#J PEF SESSION # M # J bs P E F bs S E S S I O N 0044: 20 54 45 52 4D 49 4E 41 54 45 44 20 41 54 20 30 TERMINATED AT 0 bs T E R M I N A T E D bs A T bs 0 0054: 30 2D 31 30 2D 31 38 20 31 36 3A 35 38 3A 35 39 0-10-18 16:58:59 0 - 1 0 - 1 8 bs 1 6 : 5 8 : 5 9 0064: 26 32 2F 0D &2/. & 2 / ^M *** The client just confirms the last package received. 1> 001F: 23 41 25 20 5F 59 29 31 59 0D #A% _Y)1Y. # A % bs _ Y ) 1 Y ^M *** The server sents a password prompt to the client. 0> 0068: 23 41 75 24 20 42 23 4D 23 4A 41 43 2D 43 43 31 #Au$ B#M#JAC-CC1 # A u $ bs B # M # J A C - C C 1 0078: 2D 53 50 58 32 30 30 30 20 56 33 30 31 31 20 50 -SPX2000 V3011 P - S P X 2 0 0 0 bs V 3 0 1 1 bs P 0088: 4C 3A 30 30 2E 39 36 20 43 55 53 54 4F 4D 45 52 L:00.96 CUSTOMER L : 0 0 . 9 6 bs C U S T O M E R 0098: 3A 20 54 45 4C 45 4D 41 52 20 20 53 49 54 45 3A : TELEMAR SITE: : bs T E L E M A R bs bs S I T E : 00A8: 20 42 4F 4E 49 54 4F 20 20 20 20 20 20 20 20 20 BONITO bs B O N I T O bs bs bs bs bs bs bs bs bs 00B8: 20 23 4D 23 4A 50 4C 45 41 53 24 58 38 0D 23 41 #M#JPLEAS$X8.#A bs # M # J P L E A S $ X 8 ^M # A 00C8: 36 20 21 42 45 20 45 4E 54 45 52 20 50 41 53 53 6 !BE ENTER PASS 6 bs ! B E bs E N T E R bs P A S S 00D8: 57 4F 52 44 3E 21 28 21 0D WORD>!(!. W O R D > ! ( ! ^M *** The client sends 2 ack packages and a data (D) package with the password. Yes, I changed the password! :-) 1> 0029: 23 41 25 20 20 59 2A 24 33 0D 23 41 25 20 21 59 #A% Y*$3.#A% !Y # A % bs bs Y * $ 3 ^M # A % bs ! Y 0039: 2B 43 2B 0D 23 41 2A 20 21 44 4B 49 4E 4E 23 4A +C+.#A* !KINN#J + C + ^M # A * bs ! D K I N N # J 0049: 29 33 31 0D )11. ) 3 1 ^M *** The server sends the command prompt in a S-package. 0> 00E1: 23 41 25 20 21 59 2B 43 2B 0D 23 41 38 20 22 53 #A% !Y+C+.#A8 "S # A % bs ! Y + C + ^M # A 8 bs " S 00F1: 23 4D 23 4A 30 30 2D 31 30 2D 31 38 20 31 36 3A #M#J00-10-18 16: # M # J 0 0 - 1 0 - 1 8 bs 1 6 : 0101: 35 39 3A 30 37 29 4C 39 0D 23 41 28 20 23 5A 23 59:07)L9.#A( #Z# 5 9 : 0 7 ) L 9 ^M # A ( bs # Z # 0111: 4D 23 4A 3E 21 21 4A 0D M#J>!!J. M # J > ! ! J ^M *** The client sends the command. (All I have to do is automate this single command. :-) 1> 004D: 23 41 25 20 22 59 29 2A 43 0D 23 41 25 20 23 59 #A% "Y)*C.#A% #Y # A % bs " Y ) * C ^M # A % bs # Y 005D: 28 4D 5B 0D 23 41 30 20 22 44 44 49 53 20 53 54 (M[.#A0 "DDIS ST ( M [ ^M # A 0 bs " D D I S bs S T 006D: 4E 41 53 53 4E 21 4C 35 0D NASSN!L5. N A S S N ! L 5 ^M *** The server sends the extension-command prompt. 0> 0119: 23 41 25 20 22 59 29 2A 43 0D 23 41 3E 20 24 46 #A% "Y)*C.#A> $F # A % bs " Y ) * C ^M # A > bs $ F 0129: 53 54 41 54 49 4F 4E 20 45 58 54 45 4E 53 49 4F STATION EXTENSIO S T A T I O N bs E X T E N S I O 0139: 4E 20 4E 55 4D 42 45 52 3D 28 2A 4D 0D N NUMBER=(*M. N bs N U M B E R = ( * M ^M *** The client sends the rest of the command. Just a CTRL-M. 1> 0076: 23 41 25 20 24 59 2C 39 53 0D 23 41 26 20 23 44 #A% $Y,9S.#A& #D # A % bs $ Y , 9 S ^M # A & bs # D 0086: 23 4A 25 4A 40 0D #J%J@. # J % J @ ^M *** Then the result of the command appear. 0> 0146: 23 41 25 20 23 59 28 4D 5B 0D 23 41 49 20 25 4D #A% #Y(M[.#AI %M # A % bs # Y ( M [ ^M # A I bs % M 0156: 20 44 49 53 50 4C 41 59 20 53 54 4E 41 53 53 4E DISPLAY STNASSN bs D I S P L A Y bs S T N A S S N 0166: 20 30 30 2D 31 30 2D 31 38 20 31 36 3A 35 39 3A 00-10-18 16:59: bs 0 0 - 1 0 - 1 8 bs 1 6 : 5 9 : 0176: 33 37 23 4D 23 4A 25 43 2B 0D 23 41 27 20 26 44 37#M#J%C+.#A' &D 3 7 # M # J % C + ^M # A ' bs & D 0186: 23 4D 23 4A 22 55 5E 0D 23 41 72 20 27 44 23 4D #M#J"U^.#Ar 'D#M # M # J " U ^ ^M # A r bs ' D # M 0196: 23 4A 20 20 20 20 20 20 20 20 20 20 20 20 20 20 #J # J bs bs bs bs bs bs bs bs bs bs bs bs bs bs 01A6: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 bs bs bs bs bs bs bs bs bs bs bs bs bs bs bs bs 01B6: 20 20 20 20 4B 45 59 20 20 52 53 54 20 20 52 53 KEY RST RS bs bs bs bs K E Y bs bs R S T bs bs R S 01C6: 54 20 20 57 52 4D 20 48 4F 54 20 46 45 41 54 20 T WRM HOT FEAT T bs bs W R M bs H O T bs F E A T bs 01D6: 20 20 20 20 20 20 20 43 48 41 52 47 45 2B 3F 26 CHARGE+?& bs bs bs bs bs bs bs C H A R G E + ? & 01E6: 0D . ^M *** The ack of the last three packages. 1> 008C: 23 41 25 20 25 59 2D 5E 4B 0D 23 41 25 20 26 59 #A% %Y-^K.#A% &Y # A % bs % Y - ^ K ^M # A % bs & Y 009C: 2F 37 23 0D 23 41 25 20 27 59 2E 50 3B 0D /7#.#A% 'Y.P;. / 7 # ^M # A % bs ' Y . P ; ^M *** More results... 0> 01E7: 23 41 73 20 28 44 23 4D 23 4A 20 53 54 4E 20 20 #As (D#M#J STN # A s bs ( D # M # J bs S T N bs bs 01F7: 50 45 4E 20 54 59 50 45 20 43 4F 53 20 53 44 20 PEN TYPE COS SD P E N bs T Y P E bs C O S bs S D bs 0207: 43 41 54 20 4F 52 49 20 50 41 52 20 57 4F 52 44 CAT ORI PAR WORD C A T bs O R I bs P A R bs W O R D 0217: 20 47 52 50 20 20 43 41 54 20 20 4C 4E 45 20 4C GRP CAT LNE L bs G R P bs bs C A T bs bs L N E bs L 0227: 4E 45 20 41 54 54 52 20 20 20 4C 53 54 23 23 20 NE ATTR LST## N E bs A T T R bs bs bs L S T # # bs 0237: 4D 45 54 45 52 20 20 27 48 53 0D 23 41 74 20 29 METER 'HS.#At ) M E T E R bs bs ' H S ^M # A t bs ) 0247: 44 23 4D 23 4A 31 30 30 30 20 36 30 30 30 20 44 D#M#J1000 6000 D D # M # J 1 0 0 0 bs 6 0 0 0 bs D 0257: 54 4D 46 20 20 31 20 20 20 30 20 20 31 20 20 20 TMF 1 0 1 T M F bs bs 1 bs bs bs 0 bs bs 1 bs bs bs 0267: 31 20 20 20 2D 20 20 2D 2D 2D 2D 20 4E 2D 20 30 1 - ---- N- 0 1 bs bs bs - bs bs - - - - bs N - bs 0 0277: 20 30 30 30 30 20 2D 2D 2D 20 2D 2D 2D 20 34 38 0000 --- --- 48 bs 0 0 0 0 bs - - - bs - - - bs 4 8 0287: 30 30 30 30 20 30 36 37 38 20 30 30 30 30 30 30 0000 0678 000000 0 0 0 0 bs 0 6 7 8 bs 0 0 0 0 0 0 0297: 36 39 2C 42 22 0D 23 41 74 20 2A 44 23 4D 23 4A 69,B".#At *D#M#J 6 9 , B " ^M # A t bs * D # M # J 02A7: 31 30 30 31 20 36 30 30 31 20 44 54 4D 46 20 20 1001 6001 DTMF 1 0 0 1 bs 6 0 0 1 bs D T M F bs bs 02B7: 31 20 20 20 30 20 20 33 20 20 20 31 20 20 20 2D 1 0 3 1 - 1 bs bs bs 0 bs bs 3 bs bs bs 1 bs bs bs - 02C7: 20 20 2D 2D 2D 2D 20 4E 2D 20 30 20 30 30 30 30 ---- N- 0 0000 bs bs - - - - bs N - bs 0 bs 0 0 0 0 02D7: 20 2D 2D 2D 20 2D 2D 2D 20 30 30 30 30 31 30 20 --- --- 000010 bs - - - bs - - - bs 0 0 0 0 1 0 bs 02E7: 30 36 37 39 20 30 30 30 30 30 30 30 31 20 55 35 0679 00000001 U5 0 6 7 9 bs 0 0 0 0 0 0 0 1 bs U 5 02F7: 0D . ^M *** More 3 ACK packages... 1> 00AA: 23 41 25 20 28 59 26 5F 33 0D 23 41 25 20 29 59 #A% (Y&_3.#A% )Y # A % bs ( Y & _ 3 ^M # A % bs ) Y 00BA: 27 38 2B 0D 23 41 25 20 2A 59 25 51 43 0D '8+.#A% *Y%QC. ' 8 + ^M # A % bs * Y % Q C ^M and the result of the command continues to come in sequences of three packages... (see the big questions I have made at the begining of this mesage.) Thanks again.A From news@columbia.edu Tue Oct 24 18:09:55 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id SAA02708 for ; Tue, 24 Oct 2000 18:09:55 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id SAA13867 for ; Tue, 24 Oct 2000 18:09:54 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id RAA01726 for kermit.misc@watsun.cc.columbia.edu; Tue, 24 Oct 2000 17:51:56 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jaltman@columbia.edu (Jeffrey Altman) Subject: Re: log of a kermit comunication Date: 24 Oct 2000 21:51:54 GMT Organization: Columbia University Message-ID: <8t509q$1lr$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu Why do you think that this data conversation is Kermit? In article , Luiz Geraldo Silva Braz wrote: : : Hi, : : This is a log of kermit comunication that I need to decode. : The big questions are: : : 1) What king of command could generate the first string : sent to the kermit server? : : #A& D#C"@% (see the log above) : : 2) Would this entire comunication be the result of just : one c-kermit command or a lot of commands? : What would be this (these) commands? : : I intend to create a script (using expect) to interact : with c-kermit and automate this kind of comunication. : : I have inserted some coments (***) inside the log. : : Each set of packets has the sender ID ( "1>" to client and "0>" : to the server) and two representations of the data sent in 2 : columns. : : Some non-printbles caracteres are represented by "." at the : rigth column. In the left column appears the Hex code of each : char and the simbol of the non-printblesi char. : : Thanks in advance. : : Luiz Braz : braz@i2.com.br : PS: Sorry about the errors. This is the first message I have : wroten in English. :-) : : >------------------------------------------------------------------------- : *** Estabilishing the connection. 817371001 is just the phone number. :-) : 1> 0000: 41 54 44 54 30 77 30 33 31 38 31 37 33 37 31 30 ATDT0318173710 : A T D T 0 w 0 3 1 8 1 7 3 7 1 0 : 0010: 30 31 0D 01. : 0 1 ^M : : 0> 0000: 0D 0A 43 4F 4E 4E 45 43 54 20 39 36 30 30 2F 41 ..CONNECT 9600/A : ^M ^J C O N N E C T bs 9 6 0 0 / A : 0010: 52 51 2F 56 33 32 2F 4C 41 50 4D 2F 56 34 32 42 RQ/V32/LAPM/V42B : R Q / V 3 2 / L A P M / V 4 2 B : 0020: 49 53 0D 0A IS.. : I S ^M ^J : : *** Connected. Now the client machine sends a data packet (D) with : a kind of escape sequence to the server. I don't know : exactaly what does it mean. I don't know how the : kermit server can interpret the commands (escape) inside : the data packet. I supose that it is a hot question. : 1> 0013: 23 41 26 20 20 44 23 43 22 40 25 0D #A& D#C"@%. : # A & bs bs D # C " @ % ^M : : *** The server answers with an ack packet (Y) and a unknown M-package. : What kind of package is it? I did't see it at the kermit : protocol description I have? : 0> 0024: 23 41 25 20 20 59 2A 24 33 0D 23 41 53 20 5F 4D #A% Y*$3.#AS _M : # A % bs bs Y * $ 3 ^M # A S bs _ M : 0034: 23 4D 23 4A 20 50 45 46 20 53 45 53 53 49 4F 4E #M#J PEF SESSION : # M # J bs P E F bs S E S S I O N : 0044: 20 54 45 52 4D 49 4E 41 54 45 44 20 41 54 20 30 TERMINATED AT 0 : bs T E R M I N A T E D bs A T bs 0 : 0054: 30 2D 31 30 2D 31 38 20 31 36 3A 35 38 3A 35 39 0-10-18 16:58:59 : 0 - 1 0 - 1 8 bs 1 6 : 5 8 : 5 9 : 0064: 26 32 2F 0D &2/. : & 2 / ^M : : *** The client just confirms the last package received. : 1> 001F: 23 41 25 20 5F 59 29 31 59 0D #A% _Y)1Y. : # A % bs _ Y ) 1 Y ^M : : *** The server sents a password prompt to the client. : 0> 0068: 23 41 75 24 20 42 23 4D 23 4A 41 43 2D 43 43 31 #Au$ B#M#JAC-CC1 : # A u $ bs B # M # J A C - C C 1 : 0078: 2D 53 50 58 32 30 30 30 20 56 33 30 31 31 20 50 -SPX2000 V3011 P : - S P X 2 0 0 0 bs V 3 0 1 1 bs P : 0088: 4C 3A 30 30 2E 39 36 20 43 55 53 54 4F 4D 45 52 L:00.96 CUSTOMER : L : 0 0 . 9 6 bs C U S T O M E R : 0098: 3A 20 54 45 4C 45 4D 41 52 20 20 53 49 54 45 3A : TELEMAR SITE: : : bs T E L E M A R bs bs S I T E : : 00A8: 20 42 4F 4E 49 54 4F 20 20 20 20 20 20 20 20 20 BONITO : bs B O N I T O bs bs bs bs bs bs bs bs bs : 00B8: 20 23 4D 23 4A 50 4C 45 41 53 24 58 38 0D 23 41 #M#JPLEAS$X8.#A : bs # M # J P L E A S $ X 8 ^M # A : 00C8: 36 20 21 42 45 20 45 4E 54 45 52 20 50 41 53 53 6 !BE ENTER PASS : 6 bs ! B E bs E N T E R bs P A S S : 00D8: 57 4F 52 44 3E 21 28 21 0D WORD>!(!. : W O R D > ! ( ! ^M : : *** The client sends 2 ack packages and a data (D) package : with the password. Yes, I changed the password! :-) : 1> 0029: 23 41 25 20 20 59 2A 24 33 0D 23 41 25 20 21 59 #A% Y*$3.#A% !Y : # A % bs bs Y * $ 3 ^M # A % bs ! Y : 0039: 2B 43 2B 0D 23 41 2A 20 21 44 4B 49 4E 4E 23 4A +C+.#A* !KINN#J : + C + ^M # A * bs ! D K I N N # J : 0049: 29 33 31 0D )11. : ) 3 1 ^M : : *** The server sends the command prompt in a S-package. : 0> 00E1: 23 41 25 20 21 59 2B 43 2B 0D 23 41 38 20 22 53 #A% !Y+C+.#A8 "S : # A % bs ! Y + C + ^M # A 8 bs " S : 00F1: 23 4D 23 4A 30 30 2D 31 30 2D 31 38 20 31 36 3A #M#J00-10-18 16: : # M # J 0 0 - 1 0 - 1 8 bs 1 6 : : 0101: 35 39 3A 30 37 29 4C 39 0D 23 41 28 20 23 5A 23 59:07)L9.#A( #Z# : 5 9 : 0 7 ) L 9 ^M # A ( bs # Z # : 0111: 4D 23 4A 3E 21 21 4A 0D M#J>!!J. : M # J > ! ! J ^M : : *** The client sends the command. (All I have to do is automate : this single command. :-) : 1> 004D: 23 41 25 20 22 59 29 2A 43 0D 23 41 25 20 23 59 #A% "Y)*C.#A% #Y : # A % bs " Y ) * C ^M # A % bs # Y : 005D: 28 4D 5B 0D 23 41 30 20 22 44 44 49 53 20 53 54 (M[.#A0 "DDIS ST : ( M [ ^M # A 0 bs " D D I S bs S T : 006D: 4E 41 53 53 4E 21 4C 35 0D NASSN!L5. : N A S S N ! L 5 ^M : : *** The server sends the extension-command prompt. : 0> 0119: 23 41 25 20 22 59 29 2A 43 0D 23 41 3E 20 24 46 #A% "Y)*C.#A> $F : # A % bs " Y ) * C ^M # A > bs $ F : 0129: 53 54 41 54 49 4F 4E 20 45 58 54 45 4E 53 49 4F STATION EXTENSIO : S T A T I O N bs E X T E N S I O : 0139: 4E 20 4E 55 4D 42 45 52 3D 28 2A 4D 0D N NUMBER=(*M. : N bs N U M B E R = ( * M ^M : : *** The client sends the rest of the command. Just a CTRL-M. : 1> 0076: 23 41 25 20 24 59 2C 39 53 0D 23 41 26 20 23 44 #A% $Y,9S.#A& #D : # A % bs $ Y , 9 S ^M # A & bs # D : 0086: 23 4A 25 4A 40 0D #J%J@. : # J % J @ ^M : : *** Then the result of the command appear. : 0> 0146: 23 41 25 20 23 59 28 4D 5B 0D 23 41 49 20 25 4D #A% #Y(M[.#AI %M : # A % bs # Y ( M [ ^M # A I bs % M : 0156: 20 44 49 53 50 4C 41 59 20 53 54 4E 41 53 53 4E DISPLAY STNASSN : bs D I S P L A Y bs S T N A S S N : 0166: 20 30 30 2D 31 30 2D 31 38 20 31 36 3A 35 39 3A 00-10-18 16:59: : bs 0 0 - 1 0 - 1 8 bs 1 6 : 5 9 : : 0176: 33 37 23 4D 23 4A 25 43 2B 0D 23 41 27 20 26 44 37#M#J%C+.#A' &D : 3 7 # M # J % C + ^M # A ' bs & D : 0186: 23 4D 23 4A 22 55 5E 0D 23 41 72 20 27 44 23 4D #M#J"U^.#Ar 'D#M : # M # J " U ^ ^M # A r bs ' D # M : 0196: 23 4A 20 20 20 20 20 20 20 20 20 20 20 20 20 20 #J : # J bs bs bs bs bs bs bs bs bs bs bs bs bs bs : 01A6: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 : bs bs bs bs bs bs bs bs bs bs bs bs bs bs bs bs : 01B6: 20 20 20 20 4B 45 59 20 20 52 53 54 20 20 52 53 KEY RST RS : bs bs bs bs K E Y bs bs R S T bs bs R S : 01C6: 54 20 20 57 52 4D 20 48 4F 54 20 46 45 41 54 20 T WRM HOT FEAT : T bs bs W R M bs H O T bs F E A T bs : 01D6: 20 20 20 20 20 20 20 43 48 41 52 47 45 2B 3F 26 CHARGE+?& : bs bs bs bs bs bs bs C H A R G E + ? & : 01E6: 0D . : ^M : : *** The ack of the last three packages. : 1> 008C: 23 41 25 20 25 59 2D 5E 4B 0D 23 41 25 20 26 59 #A% %Y-^K.#A% &Y : # A % bs % Y - ^ K ^M # A % bs & Y : 009C: 2F 37 23 0D 23 41 25 20 27 59 2E 50 3B 0D /7#.#A% 'Y.P;. : / 7 # ^M # A % bs ' Y . P ; ^M : : *** More results... : 0> 01E7: 23 41 73 20 28 44 23 4D 23 4A 20 53 54 4E 20 20 #As (D#M#J STN : # A s bs ( D # M # J bs S T N bs bs : 01F7: 50 45 4E 20 54 59 50 45 20 43 4F 53 20 53 44 20 PEN TYPE COS SD : P E N bs T Y P E bs C O S bs S D bs : 0207: 43 41 54 20 4F 52 49 20 50 41 52 20 57 4F 52 44 CAT ORI PAR WORD : C A T bs O R I bs P A R bs W O R D : 0217: 20 47 52 50 20 20 43 41 54 20 20 4C 4E 45 20 4C GRP CAT LNE L : bs G R P bs bs C A T bs bs L N E bs L : 0227: 4E 45 20 41 54 54 52 20 20 20 4C 53 54 23 23 20 NE ATTR LST## : N E bs A T T R bs bs bs L S T # # bs : 0237: 4D 45 54 45 52 20 20 27 48 53 0D 23 41 74 20 29 METER 'HS.#At ) : M E T E R bs bs ' H S ^M # A t bs ) : 0247: 44 23 4D 23 4A 31 30 30 30 20 36 30 30 30 20 44 D#M#J1000 6000 D : D # M # J 1 0 0 0 bs 6 0 0 0 bs D : 0257: 54 4D 46 20 20 31 20 20 20 30 20 20 31 20 20 20 TMF 1 0 1 : T M F bs bs 1 bs bs bs 0 bs bs 1 bs bs bs : 0267: 31 20 20 20 2D 20 20 2D 2D 2D 2D 20 4E 2D 20 30 1 - ---- N- 0 : 1 bs bs bs - bs bs - - - - bs N - bs 0 : 0277: 20 30 30 30 30 20 2D 2D 2D 20 2D 2D 2D 20 34 38 0000 --- --- 48 : bs 0 0 0 0 bs - - - bs - - - bs 4 8 : 0287: 30 30 30 30 20 30 36 37 38 20 30 30 30 30 30 30 0000 0678 000000 : 0 0 0 0 bs 0 6 7 8 bs 0 0 0 0 0 0 : 0297: 36 39 2C 42 22 0D 23 41 74 20 2A 44 23 4D 23 4A 69,B".#At *D#M#J : 6 9 , B " ^M # A t bs * D # M # J : 02A7: 31 30 30 31 20 36 30 30 31 20 44 54 4D 46 20 20 1001 6001 DTMF : 1 0 0 1 bs 6 0 0 1 bs D T M F bs bs : 02B7: 31 20 20 20 30 20 20 33 20 20 20 31 20 20 20 2D 1 0 3 1 - : 1 bs bs bs 0 bs bs 3 bs bs bs 1 bs bs bs - : 02C7: 20 20 2D 2D 2D 2D 20 4E 2D 20 30 20 30 30 30 30 ---- N- 0 0000 : bs bs - - - - bs N - bs 0 bs 0 0 0 0 : 02D7: 20 2D 2D 2D 20 2D 2D 2D 20 30 30 30 30 31 30 20 --- --- 000010 : bs - - - bs - - - bs 0 0 0 0 1 0 bs : 02E7: 30 36 37 39 20 30 30 30 30 30 30 30 31 20 55 35 0679 00000001 U5 : 0 6 7 9 bs 0 0 0 0 0 0 0 1 bs U 5 : 02F7: 0D . : ^M : : *** More 3 ACK packages... : 1> 00AA: 23 41 25 20 28 59 26 5F 33 0D 23 41 25 20 29 59 #A% (Y&_3.#A% )Y : # A % bs ( Y & _ 3 ^M # A % bs ) Y : 00BA: 27 38 2B 0D 23 41 25 20 2A 59 25 51 43 0D '8+.#A% *Y%QC. : ' 8 + ^M # A % bs * Y % Q C ^M : : and the result of the command continues to come in sequences : of three packages... (see the big questions I have made at the : begining of this mesage.) : : Thanks again.A : : : : Jeffrey Altman * Sr.Software Designer The Kermit Project * Columbia University 612 West 115th St * New York, NY * 10025 * USA http://www.kermit-project.org/ * kermit-support@kermit-project.org From news@columbia.edu Wed Oct 25 05:09:56 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id FAA13027 for ; Wed, 25 Oct 2000 05:09:55 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id FAA05697 for ; Wed, 25 Oct 2000 05:09:55 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id EAA28369 for kermit.misc@watsun.cc.columbia.edu; Wed, 25 Oct 2000 04:59:57 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Jacques Bratières" Subject: kermit server via a dial line Message-ID: Date: Wed, 25 Oct 2000 08:59:14 GMT Organization: Guest of ProXad - France To: kermit.misc@columbia.edu We have to set up a kermit server on a dial (remote) line with a USR modem on a Linux system (kermit vers:7.0.196). we initialize the server with the commands : set def ...,set esc ...,set line /dev/ttyS0,set speed 9600,server. This seems to be ok and the screen shows the transfer to come. On the same computer we run kermit with the commands: set def ...,set esc ...,set line/dev/ttyS1,set modem type usrobotics,set speed 9600,dial #########. The dialling occurs ,the connection is established and the prompt is returned to kermit. We then try to SEND something AND: on this side the kermit tries to send and resends the file and does not succeed. on the server side nothing happens on the screen. What have we forgotten Thanks... J.Bratieres From news@columbia.edu Wed Oct 25 07:09:56 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id HAA19231 for ; Wed, 25 Oct 2000 07:09:55 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id HAA12014 for ; Wed, 25 Oct 2000 07:09:55 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id HAA23747 for kermit.misc@watsun.cc.columbia.edu; Wed, 25 Oct 2000 07:10:24 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jaltman@columbia.edu (Jeffrey Altman) Subject: Re: kermit server via a dial line Date: 25 Oct 2000 11:10:22 GMT Organization: Columbia University Message-ID: <8t6f2u$n60$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Jacques Bratières wrote: : We have to set up a kermit server on a dial (remote) line with a USR modem : on a Linux system : (kermit vers:7.0.196). we initialize the server with the commands : set def : ...,set esc ...,set line /dev/ttyS0,set speed 9600,server. This seems to be : ok and the screen shows the transfer to come. : : On the same computer we run kermit with the commands: set def ...,set esc : ...,set line/dev/ttyS1,set modem type usrobotics,set speed 9600,dial : #########. The dialling occurs ,the connection is established and the prompt : is returned : to kermit. We then try to SEND something AND: on this side the kermit tries : to send and resends : the file and does not : succeed. on the server side nothing happens on the screen. : : What have we forgotten Flow control between the serial devices and the modems. The side that executes the SERVER command needs to SET MODEM TYPE, SET FLOW, and use the ANSWER command. The dialing side needs a SET FLOW command. Also, SET MODEM TYPE must be executed before the SET LINE command. Jeffrey Altman * Sr.Software Designer The Kermit Project * Columbia University 612 West 115th St * New York, NY * 10025 * USA http://www.kermit-project.org/ * kermit-support@kermit-project.org From news@columbia.edu Wed Oct 25 10:09:56 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id KAA05794 for ; Wed, 25 Oct 2000 10:09:56 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA28241 for ; Wed, 25 Oct 2000 10:09:55 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id KAA00947 for kermit.misc@watsun.cc.columbia.edu; Wed, 25 Oct 2000 10:07:35 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: kermit server via a dial line Date: 25 Oct 2000 14:07:34 GMT Organization: Columbia University Message-ID: <8t6pf6$th$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Jacques Bratières wrote: : We have to set up a kermit server on a dial (remote) line with a USR modem : on a Linux system : (kermit vers:7.0.196). we initialize the server with the commands : set def : ...,set esc ...,set line /dev/ttyS0,set speed 9600,server. This seems to be : ok and the screen shows the transfer to come. : : On the same computer we run kermit with the commands: set def ...,set esc : ...,set line/dev/ttyS1,set modem type usrobotics,set speed 9600,dial : #########. The dialling occurs ,the connection is established and the prompt : is returned : to kermit. We then try to SEND something AND: on this side the kermit tries : to send and resends : the file and does not : succeed. on the server side nothing happens on the screen. : : What have we forgotten : As was explained to you when you sent the same message to our email support address, the problem is most likely a lack of effective flow control between the serial devices and modems. . You should put the SET MODEM TYPE command before the SET LINE command. This ensures that Kermit sets the appropriate parameters for the serial port when it opens it (flow control, treatment of carrier, etc). . The side that executes the SERVER command needs to SET MODEM TYPE, SET FLOW, and use the ANSWER command. Also you have to make sure that the serial port speed on the server is the same as the answering modem's serial port speed. The former must be locked; otherwise the server will not be able to communicate with the answering modem. For greater detail and examples, see the manual: http://www.columbia.edu/kermit/ck60manual.html - Frank From news@columbia.edu Wed Oct 25 10:09:57 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id KAA05445 for ; Wed, 25 Oct 2000 10:09:56 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA28245 for ; Wed, 25 Oct 2000 10:09:56 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id JAA00278 for kermit.misc@watsun.cc.columbia.edu; Wed, 25 Oct 2000 09:50:22 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: log of a kermit comunication Date: 25 Oct 2000 13:50:20 GMT Organization: Columbia University Message-ID: <8t6oes$8j$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Luiz Geraldo Silva Braz wrote: : : This is a log of kermit comunication that I need to decode. : The big questions are: : : 1) What king of command could generate the first string : sent to the kermit server? : : #A& D#C"@% (see the log above) : : 2) Would this entire comunication be the result of just : one c-kermit command or a lot of commands? : What would be this (these) commands? : : I intend to create a script (using expect) to interact : with c-kermit and automate this kind of comunication. : : I have inserted some coments (***) inside the log. : : Each set of packets has the sender ID ( "1>" to client and "0>" : to the server) and two representations of the data sent in 2 : columns. : : Some non-printbles caracteres are represented by "." at the : rigth column. In the left column appears the Hex code of each : char and the simbol of the non-printblesi char. : : Thanks in advance. : : Luiz Braz : braz@i2.com.br : PS: Sorry about the errors. This is the first message I have : wroten in English. :-) : : >------------------------------------------------------------------------- : *** Estabilishing the connection. 817371001 is just the phone number. :-) : 1> 0000: 41 54 44 54 30 77 30 33 31 38 31 37 33 37 31 30 ATDT0318173710 : A T D T 0 w 0 3 1 8 1 7 3 7 1 0 : 0010: 30 31 0D 01. : 0 1 ^M : : 0> 0000: 0D 0A 43 4F 4E 4E 45 43 54 20 39 36 30 30 2F 41 ..CONNECT 9600/A : ^M ^J C O N N E C T bs 9 6 0 0 / A : 0010: 52 51 2F 56 33 32 2F 4C 41 50 4D 2F 56 34 32 42 RQ/V32/LAPM/V42B : R Q / V 3 2 / L A P M / V 4 2 B : 0020: 49 53 0D 0A IS.. : I S ^M ^J : This is the CONNECT message from the modem. : 1> 0013: 23 41 26 20 20 44 23 43 22 40 25 0D #A& D#C"@%. : # A & bs bs D # C " @ % ^M : The format of a Kermit packet is: MARK LEN SEQ TYPE DATA CHECK Where: MARK is a control character, Ctrl-A by default. LEN is a one-byte excess-32 length field. SEQ is a one-byte excess-32 sequence number. TYPE is a one-byte packet type. DATA is 0 or more bytes of data. CHECK is the block check. Let's assume that your protocol dump is printing Ctrl-A as "#A". In that case: LEN = '&' = ASCII 38 - 32 = 6. SEQ = ' ' = ASCII 32 = 32 = 0. TYPE = ' ' which is not a valid Kermit packet type. DATA = D#C"@ CHECK = % So the MARK is wrong, the LEN is wrong, and the TYPE is wrong. No Kermit program would recognize this as a valid packet. If, however, the two spaces are a mistake of your recording tool, and really there is only one space, then we have: LEN = '&' = ASCII 38 - 32 = 6. SEQ = ' ' = ASCII 32 = 32 = 0. TYPE = 'D' (Data) DATA = #C"@ CHECK = % It's closer, but still the length is wrong (6 instead of 7). But if we assume that #A is really Ctrl-A, then maybe #C really is Ctrl-C, in which case the length would be correct. But the block check is still wrong. : *** The server answers with an ack packet (Y) and a unknown M-package. : What kind of package is it? I did't see it at the kermit : protocol description I have? : 0> 0024: 23 41 25 20 20 59 2A 24 33 0D 23 41 53 20 5F 4D #A% Y*$3.#AS _M : # A % bs bs Y * $ 3 ^M # A S bs _ M : This too has a superficial resemblence to a Kermit packet, if we assume that #A really is Ctrl-A and the two blanks are really one blank: LEN = '%' = ASCII 37 - 32 = 5. SEQ = ' ' = ASCII 32 = 32 = 0. TYPE = 'Y' (ACK) DATA+CHECK = *$# But the block check isn't right, no matter how you interpret it. [ ... and so on ... ] : and the result of the command continues to come in sequences : of three packages... (see the big questions I have made at the : begining of this mesage.) : There is some resemblence to Kermit protocol, but it isn't really Kermit protocol. The proper sequence of messages is not there, the packets are not in the right format, the block checks are not correct. And this is even allowing for some aftereffects of your recording tools. - Frank From news@columbia.edu Wed Oct 25 14:09:57 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id OAA17846 for ; Wed, 25 Oct 2000 14:09:56 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA10426 for ; Wed, 25 Oct 2000 14:09:55 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id NAA11375 for kermit.misc@watsun.cc.columbia.edu; Wed, 25 Oct 2000 13:59:18 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: pepmnt@columbia.edu (John Chandler) Subject: Re: How to convert US EBCDIC -> CP850 ? Date: 25 Oct 2000 17:59:16 GMT Organization: Columbia University Message-ID: <8t771k$9q7$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu Frank da Cruz (fdc@watsun.cc.columbia.edu) wrote: : "ralf.strandell" wrote: : : We need to convert files from "us ebcdic" to cp850. : : : : These files contain mostly names with accented characters. : : : Which means they are not "US EBCDIC" but one of the "other" : EBCDICs (see below). Not necessarily. The original EBCDIC contained no accented characters, but CECP 037 has the same repertory of characters as all the other CECP's. However, if the context is one of heavy use of accented characters, the code page actually used was most likely one of the others anyhow. : In the EBCDIC (IBM mainframe) world, there is a similar : proliferation of code pages, called Country Extended Code Pages : (CECP), including: : CECP 037 (Original USA EBCDIC) : CECP 237 (Germany) : CECP 238 (Finland and Sweden) The code pages supported by IBM mainframe Kermits for Germany and Finland are, respectively, 273 and 278. In each case, they differ from CECP 037 in only 28 code positions, but those 28 positions could, of course, be crucial in terms of your particular file(s). John Chandler From news@columbia.edu Wed Oct 25 14:40:01 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id OAA24651 for ; Wed, 25 Oct 2000 14:39:57 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA15935 for ; Wed, 25 Oct 2000 14:39:55 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id OAA13147 for kermit.misc@watsun.cc.columbia.edu; Wed, 25 Oct 2000 14:37:17 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Bugs" Subject: C-Kermit for Windows ? Message-ID: Date: Wed, 25 Oct 2000 18:36:28 GMT To: kermit.misc@columbia.edu Hello, Is there a version of C-Kermit for Windows that is identical to the UNIX versions? I know about Kermit95 and MS-DOS kermit, but is there a version of C-Kermit available for Win32? One that is 100% compatible with C-Kermit scripts on all the other platforms? Thanks! From news@columbia.edu Wed Oct 25 15:09:57 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id PAA04943 for ; Wed, 25 Oct 2000 15:09:56 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA21333 for ; Wed, 25 Oct 2000 15:09:56 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id OAA13612 for kermit.misc@watsun.cc.columbia.edu; Wed, 25 Oct 2000 14:49:03 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: C-Kermit for Windows ? Date: 25 Oct 2000 18:49:01 GMT Organization: Columbia University Message-ID: <8t79ut$d99$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <8t79k8$d3e$1@newsmaster.cc.columbia.edu>, Frank da Cruz wrote: : In article , : Bugs wrote: : : Is there a version of C-Kermit for Windows that is identical to the UNIX : : versions? I know about Kermit95 and MS-DOS kermit, but is there a version : : of C-Kermit available for Win32? One that is 100% compatible with C-Kermit : : scripts on all the other platforms? : : : Yes: Kermit 95. The command and script language is identical with C-Kermit : because it is the same code. : I should add, however, that there will always be platform differences. For example, Windows uses TAPI modem names, whereas Unix uses (e.g.) /dev/ttyS0. Filename and directory syntax vary from platform to platform, etc. Obviously such differences must be accounted for in a portable script. However, the language itself is identical in Kermit 95 and C-Kermit of the same vintage. - Frank From news@columbia.edu Wed Oct 25 15:09:56 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id PAA10291 for ; Wed, 25 Oct 2000 15:09:56 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA21330 for ; Wed, 25 Oct 2000 15:09:55 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id OAA13425 for kermit.misc@watsun.cc.columbia.edu; Wed, 25 Oct 2000 14:43:21 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: C-Kermit for Windows ? Date: 25 Oct 2000 18:43:20 GMT Organization: Columbia University Message-ID: <8t79k8$d3e$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Bugs wrote: : Is there a version of C-Kermit for Windows that is identical to the UNIX : versions? I know about Kermit95 and MS-DOS kermit, but is there a version : of C-Kermit available for Win32? One that is 100% compatible with C-Kermit : scripts on all the other platforms? : Yes: Kermit 95. The command and script language is identical with C-Kermit because it is the same code. - Frank From news@columbia.edu Wed Oct 25 15:39:59 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id PAA00043 for ; Wed, 25 Oct 2000 15:39:58 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA26684 for ; Wed, 25 Oct 2000 15:39:56 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id PAA14800 for kermit.misc@watsun.cc.columbia.edu; Wed, 25 Oct 2000 15:19:10 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Bugs" Subject: Re: C-Kermit for Windows ? Message-ID: Date: Wed, 25 Oct 2000 19:00:42 GMT To: kermit.misc@columbia.edu Thanks Frank From news@columbia.edu Wed Oct 25 18:39:56 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id SAA17891 for ; Wed, 25 Oct 2000 18:39:56 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id SAA11923 for ; Wed, 25 Oct 2000 18:39:56 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id SAA23392 for kermit.misc@watsun.cc.columbia.edu; Wed, 25 Oct 2000 18:38:27 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Luiz Geraldo Silva Braz Subject: Re: log of a kermit comunication Date: Wed, 25 Oct 2000 20:34:21 -0200 Organization: POP-MG Message-ID: To: kermit.misc@columbia.edu OK. This is not a kermit conversation. :-) But I supose that this software was built by someone that has based in kermit to do his work. Analizing many logs I have recorded I supose that probably this (not kermit but) kermit-like implementation uses 3 character of checksum. And more: If I discover how they have calculated their kermit-like checksum I solve my problem. And my job. :-) I know that kermit especification suport a there character checksum based in crc-16. Althougth the paper I have read it didn't mention clearly how I should calculate the 3 checksum character of the packet. Where could I get a complete description of kermit that include the 3-character checksum calculation? I am suposing that the correct algoritm is something like the lines above. LD = length of data LC = length of Checksum (three in this case) TL = LD + LC + 2 (2 because of the sequetial and packet type characters) TL32 = TL + 32 (Total length excess-32) S = Sequencial number of the packet S32 = S + 32 T = caracter that represents the type of packet D = data to be transmited unsigned short int CRC = crc16(concat(TL32,S32,T,D)) C1 = (CRC shr 12) and $0F (1st. character) C2 = (CRC shr 6) and $3F (2nd. character) C3 = CRC and $3f (guess you) Is it the method? Thanks in advance. Luiz Braz braz@i2.com.br On 25 Oct 2000, Frank da Cruz wrote: > In article , > Luiz Geraldo Silva Braz wrote: > : > : This is a log of kermit comunication that I need to decode. > : The big questions are: > : > : 1) What king of command could generate the first string > : sent to the kermit server? > : > : #A& D#C"@% (see the log above) > : > : 2) Would this entire comunication be the result of just > : one c-kermit command or a lot of commands? > : What would be this (these) commands? > : > : I intend to create a script (using expect) to interact > : with c-kermit and automate this kind of comunication. > : > : I have inserted some coments (***) inside the log. > : > : Each set of packets has the sender ID ( "1>" to client and "0>" > : to the server) and two representations of the data sent in 2 > : columns. > : > : Some non-printbles caracteres are represented by "." at the > : rigth column. In the left column appears the Hex code of each > : char and the simbol of the non-printblesi char. > : > : Thanks in advance. > : > : Luiz Braz > : braz@i2.com.br > : PS: Sorry about the errors. This is the first message I have > : wroten in English. :-) > : > : >------------------------------------------------------------------------- > : *** Estabilishing the connection. 817371001 is just the phone number. :-) > : 1> 0000: 41 54 44 54 30 77 30 33 31 38 31 37 33 37 31 30 ATDT0318173710 > : A T D T 0 w 0 3 1 8 1 7 3 7 1 0 > : 0010: 30 31 0D 01. > : 0 1 ^M > : > : 0> 0000: 0D 0A 43 4F 4E 4E 45 43 54 20 39 36 30 30 2F 41 ..CONNECT 9600/A > : ^M ^J C O N N E C T bs 9 6 0 0 / A > : 0010: 52 51 2F 56 33 32 2F 4C 41 50 4D 2F 56 34 32 42 RQ/V32/LAPM/V42B > : R Q / V 3 2 / L A P M / V 4 2 B > : 0020: 49 53 0D 0A IS.. > : I S ^M ^J > : > This is the CONNECT message from the modem. > > : 1> 0013: 23 41 26 20 20 44 23 43 22 40 25 0D #A& D#C"@%. > : # A & bs bs D # C " @ % ^M > : > The format of a Kermit packet is: > > MARK LEN SEQ TYPE DATA CHECK > > Where: > > MARK is a control character, Ctrl-A by default. > LEN is a one-byte excess-32 length field. > SEQ is a one-byte excess-32 sequence number. > TYPE is a one-byte packet type. > DATA is 0 or more bytes of data. > CHECK is the block check. > > Let's assume that your protocol dump is printing Ctrl-A as "#A". In > that case: > > LEN = '&' = ASCII 38 - 32 = 6. > SEQ = ' ' = ASCII 32 = 32 = 0. > TYPE = ' ' which is not a valid Kermit packet type. > DATA = D#C"@ > CHECK = % > > So the MARK is wrong, the LEN is wrong, and the TYPE is wrong. No Kermit > program would recognize this as a valid packet. > > If, however, the two spaces are a mistake of your recording tool, and really > there is only one space, then we have: > > LEN = '&' = ASCII 38 - 32 = 6. > SEQ = ' ' = ASCII 32 = 32 = 0. > TYPE = 'D' (Data) > DATA = #C"@ > CHECK = % > > It's closer, but still the length is wrong (6 instead of 7). But if we > assume that #A is really Ctrl-A, then maybe #C really is Ctrl-C, in which > case the length would be correct. But the block check is still wrong. > > : *** The server answers with an ack packet (Y) and a unknown M-package. > : What kind of package is it? I did't see it at the kermit > : protocol description I have? > : 0> 0024: 23 41 25 20 20 59 2A 24 33 0D 23 41 53 20 5F 4D #A% Y*$3.#AS _M > : # A % bs bs Y * $ 3 ^M # A S bs _ M > : > This too has a superficial resemblence to a Kermit packet, if we assume that > #A really is Ctrl-A and the two blanks are really one blank: > > LEN = '%' = ASCII 37 - 32 = 5. > SEQ = ' ' = ASCII 32 = 32 = 0. > TYPE = 'Y' (ACK) > DATA+CHECK = *$# > > But the block check isn't right, no matter how you interpret it. > > [ ... and so on ... ] > > : and the result of the command continues to come in sequences > : of three packages... (see the big questions I have made at the > : begining of this mesage.) > : > There is some resemblence to Kermit protocol, but it isn't really Kermit > protocol. The proper sequence of messages is not there, the packets are not > in the right format, the block checks are not correct. And this is even > allowing for some aftereffects of your recording tools. > > - Frank > > From news@columbia.edu Thu Oct 26 09:39:58 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id JAA21795 for ; Thu, 26 Oct 2000 09:39:57 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id JAA25939 for ; Thu, 26 Oct 2000 09:39:57 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id JAA28890 for kermit.misc@watsun.cc.columbia.edu; Thu, 26 Oct 2000 09:34:39 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: log of a kermit comunication Date: 26 Oct 2000 13:34:31 GMT Organization: Columbia University Message-ID: <8t9bt7$s6o$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Luiz Geraldo Silva Braz wrote: : ... : unsigned short int CRC = crc16(concat(TL32,S32,T,D)) : : C1 = (CRC shr 12) and $0F (1st. character) : C2 = (CRC shr 6) and $3F (2nd. character) : C3 = CRC and $3f (guess you) : : Is it the method? : Yes. Here is some actual code: j = chk3(p+1,m); p[i++] = tochar((j >> 12) & 017); p[i++] = tochar((j >> 6) & 077); p[i++] = tochar(j & 077); tochar() just adds 32 to make it a printable character. - Frank From news@columbia.edu Sat Oct 28 11:10:03 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id LAA28502 for ; Sat, 28 Oct 2000 11:10:02 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA02084 for ; Sat, 28 Oct 2000 11:10:02 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id KAA17557 for kermit.misc@watsun.cc.columbia.edu; Sat, 28 Oct 2000 10:50:46 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: the.earth.below@cinenet.net (Dark Moon) Subject: Re: Building C-Kermit 6.0.192 with Cygwin 1.1 Date: Sat, 28 Oct 2000 06:51:10 -0700 Organization: Less and less each day.. Message-ID: To: kermit.misc@columbia.edu [Cc to kermit@columbia.edu] As seen from comp.protocols.kermit.misc, on Fri, 06 Oct 2000 13:02:00 -0700, Dark Moon wrote: >Which makefile target will work best for Cygwin? I've had a look at C-Kermit 7.0.197 as well, but no joy there, either. Frank? Jeff? Would you please consider adding support for Cygwin? It's a Unix too, of a sort... Thanks, Jeff -- {netcom} ,,/ "...he may not come until the Circle has been \,, {class of /(-\ broken. And his birth shall mark both the /-)\ '94} ,---' /`-' beginning and the ending of an age." '-'\ `----, /( )__)) --M.A.Pierce, _Birth of the Firebringer_ ((,==( )\ _ /_//___\\ __ -=<*>=- -=<*>=- -=<*>=- -=<*>=- -=<*>=- -=<*>=- ___\\ __\\ __ `` `` ~darkmoon~ -- ~the~sky~above~net~ '' '' From news@columbia.edu Sat Oct 28 16:40:03 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id QAA21192 for ; Sat, 28 Oct 2000 16:40:03 -0400 (EDT) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA29258 for ; Sat, 28 Oct 2000 16:40:02 -0400 (EDT) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id QAA00776 for kermit.misc@watsun.cc.columbia.edu; Sat, 28 Oct 2000 16:25:30 -0400 (EDT) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jaltman@columbia.edu (Jeffrey Altman) Subject: Re: Building C-Kermit 6.0.192 with Cygwin 1.1 Date: 28 Oct 2000 20:25:28 GMT Organization: Columbia University Message-ID: <8tfcno$o5$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Dark Moon wrote: : [Cc to kermit@columbia.edu] : : As seen from comp.protocols.kermit.misc, on : Fri, 06 Oct 2000 13:02:00 -0700, : Dark Moon wrote: : : >Which makefile target will work best for Cygwin? : : I've had a look at C-Kermit 7.0.197 as well, but no joy there, either. : Frank? Jeff? Would you please consider adding support for Cygwin? : It's a Unix too, of a sort... Thanks, : : Jeff The Kermit for NT/2000 is Kermit 95. Even compiled with cygwin C-Kermit does not support the functionality for running on the Windows platform. Jeffrey Altman * Sr.Software Designer The Kermit Project * Columbia University 612 West 115th St * New York, NY * 10025 * USA http://www.kermit-project.org/ * kermit-support@kermit-project.org From news@columbia.edu Mon Oct 30 08:10:07 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id IAA24877 for ; Mon, 30 Oct 2000 08:10:06 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id IAA00521 for ; Mon, 30 Oct 2000 08:10:06 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id IAA25804 for kermit.misc@watsun.cc.columbia.edu; Mon, 30 Oct 2000 08:04:44 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Chris Hsu" Subject: What is RT-11? Date: Mon, 30 Oct 2000 16:34:09 +0800 Organization: DCI HiNet Message-ID: <8tjbu8$flh@netnews.hinet.net> To: kermit.misc@columbia.edu What is RT-11? Please tell me, thanks. ^_^ From news@columbia.edu Mon Oct 30 09:40:07 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id JAA20907 for ; Mon, 30 Oct 2000 09:40:06 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id JAA08196 for ; Mon, 30 Oct 2000 09:40:06 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id JAA29387 for kermit.misc@watsun.cc.columbia.edu; Mon, 30 Oct 2000 09:29:52 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: What is RT-11? Date: 30 Oct 2000 14:29:49 GMT Organization: Columbia University Message-ID: <8tk0kt$sm8$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <8tjbu8$flh@netnews.hinet.net>, Chris Hsu wrote: : What is RT-11? : It's an operating system for the Digital Equipment Corporation PDP-11 series of 16-bit computers, that was popular mainly in the 1970s and 80s, but still can be found today. It has a similar look and feel to CP/M (which is no accident, since CP/M was largely modeled after DEC operating systems like RT-11 and TOPS-10). And of course what we now know as DOS (MS-DOS, PC-DOS) descended from these same platforms, via CP/M. For more information see: http://www.columbia.edu/kermit/pdp11.html As you can see there, RT-11 was one of many OS's for the PDP-11. Others include DOS-11, RSX-11, RSTS/E, IAS, TSX+, P/OS, MUMPS, and various forms of UNIX, mainly 2.x BSD. The PDP-11 newsgroup is alt.sys.pdp11. - Frank From news@columbia.edu Mon Oct 30 16:10:10 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id QAA28528 for ; Mon, 30 Oct 2000 16:10:08 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA12979 for ; Mon, 30 Oct 2000 16:10:07 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id PAA17706 for kermit.misc@watsun.cc.columbia.edu; Mon, 30 Oct 2000 15:56:51 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: dkcombs@panix.com (David Combs) Subject: pbm downloading .gz from panix-shell to solaris Date: 30 Oct 2000 15:56:03 -0500 Organization: PANIX -- Public Access Networks Corp. Message-ID: <8tkn93$lqu$1@panix3.panix.com> To: kermit.misc@columbia.edu Until 31sep00, I was a Netcom shell customer, when their shell service was murdered by their CEO. I now use panix (in nyc). At home I have a sparcstation 5, solaris 7. Until the last few days, I have had good luck downloading .gz-files: (remote, ie panix): kermit -i -s foo.gz bar.gz ... (At home, I run kermit too, to do the dialing, make the connection, etc.) But recently, the problem has been that about 1/3d the way through a download, it starts generating errors -- the "errors" line in the display goes from 0 to 1 to 2 ... to 6 or so (incr is once every 5 seconds or so) and I control-c the thing. ---- Flow control? What I do know is that when I used to run emacs on NETCOM, I could not use ^s for search -- I had to do M-x enable-flow-control and then use some other key-combination for fwd-search. I don't know whether that was some preset config on THEIR emacs init file, or whether I was actually using xon/xoff (on netcom). Gone now, so can't find out. However, on panix, control-s works just fine in emacs. ---- I called panix, and they told me -- well, here are my notes typed in from that phone call: > send this string to modem each time I call panix: > at&fs32=66 > Which: sets us robotics to X2 mode instead of V.90 > because, ON PANIX, X2 works BETTER than V.90. > (because xon xoff not effective above 2400). > so set it to rts and cts (ie hardware flow control) I looked at my 2ed C-kermit book, it showed various ways to type in all of or parts of the modem init-string, but did NOT show any way to ADD to the existing init-string. (SUGGESTION: NEEDED COMMAND!) Here's some other stuff: -------------------------------------------------------------- Suspended (signal) % (Back at cpml) [/myexternals/home/dkc] C-Kermit>show modem Line: /dev/cua/a, Modem type: usrobotics US Robotics Courier or Sportster Modem carrier-watch: auto Modem capabilities: AT SB EC DC HWFC SWFC Modem maximum-speed: 57600 bps Modem error-correction: on Modem compression: on Modem speed-matching: off (interface speed is locked) Modem flow-control: auto Modem kermit-spoof: off Modem escape-character: 43 (= "+") MODEM COMMANDs (* = set automatically by SET MODEM TYPE): * Init-string: ATQ0X4&A3&N0&Y3\{13} * Dial-mode-string: (none) * Dial-mode-prompt: (none) * Dial-command: ATD%s\{13} * Compression on: AT&K1\{13} * Compression off: AT&K0\{13} * Error-correction on: AT&M4&B1\{13} * Error-correction off: AT&M0\{13} * Autoanswer on: ATS0=1\{13} * Autoanswer off: ATS0=0\{13} * Hangup-command: ATQ0H0\{13} * Hardware-flow: AT&H1&R2&I0\{13} * Software-flow: AT&H2&R1&I2\{13} * No-flow-control: AT&H0&R1&I0\{13} * Pulse: ATP\{13} * Tone: ATT\{13} For more info: SHOW DIAL and SHOW COMMUNICATIONS [/myexternals/home/dkc] C-Kermit> (Back at cpml) [/myexternals/home/dkc] C-Kermit>show dial Line: /dev/cua/a, Modem type: usrobotics, speed: 38400, carrier: auto Dial status: 0 = DIAL succeeded Dial directory: (none) Dial method: default Dial sort: on Dial hangup: on Dial display: off Dial retries: 0 Dial interval: 10 Dial timeout: 0 (auto) Redial number: 5099202 Dial confirmation: off Dial convert-directory: ask Dial prefix: (none) Dial suffix: (none) Dial country-code: (none) Dial connect: auto verbose Dial area-code: (none) Dial restrict: none Dial ld-prefix: (none) Dial ld-suffix: (none) Dial intl-prefix: (none) Dial intl-suffix: (none) Dial toll-free-area-code: (none) Dial toll-free-prefix: (none) Dial pbx-exchange: (none) Dial pbx-internal-prefix: (none) Dial pbx-outside-prefix: (none) Type SHOW MODEM to see modem settings. Type SHOW COMMUNICATIONS to see modem signals. [/myexternals/home/dkc] C-Kermit>show communications Communications Parameters: Line: /dev/cua/a, speed: 38400, mode: local, modem: usrobotics Terminal bits: 7, parity: none, duplex: full, flow: rts/cts, handshake: none Carrier: auto, lockfile: /var/spool/locks/LK.032.029.131072 Escape character: 28 (^\) Carrier Detect (CD): On Dataset Ready (DSR): Off Clear To Send (CTS): On Ring Indicator (RI): Off Data Terminal Ready (DTR): On Request To Send (RTS): On Type SHOW DIAL to see DIAL-related items [/myexternals/home/dkc] C-Kermit>conn Connecting to /dev/cua/a, speed 38400. The escape character is Ctrl-\ (ASCII 28, FS) Type the escape character followed by C to get back, or followed by ? to see other options. % -------------------------------------------------------------- And this (also at home): 271 ==/myexternals/home/dkc==> stty -a speed 9600 baud; rows = 66; columns = 159; ypixels = 858; xpixels = 1121; eucw 1:0:0:0, scrw 1:0:0:0 intr = ^c; quit = ^\; erase = ^h; kill = ^u; eof = ^d; eol = ; eol2 = ; swtch = ; start = ^q; stop = ^s; susp = ^z; dsusp = ^y; rprnt = ^r; flush = ^o; werase = ^w; lnext = ^v; -parenb -parodd cs8 -cstopb hupcl cread -clocal -loblk -crtscts -crtsxoff -parext -ignbrk brkint ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -iuclc ixon -ixany -ixoff imaxbel isig icanon -xcase echo echoe echok -echonl -noflsh -tostop echoctl -echoprt echoke -defecho -flusho -pendin iexten opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel 272 ==/myexternals/home/dkc==> That was from a solaris "shelltool" window. ----- Am no kermit guru. Any suggestions? I don't know how to do ANYTHING in kermit except dial in, upload (-g), and download (-s). THANKS! David From news@columbia.edu Mon Oct 30 16:40:09 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id QAA26243 for ; Mon, 30 Oct 2000 16:40:08 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA18516 for ; Mon, 30 Oct 2000 16:40:08 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id QAA18549 for kermit.misc@watsun.cc.columbia.edu; Mon, 30 Oct 2000 16:15:34 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: pbm downloading .gz from panix-shell to solaris Date: 30 Oct 2000 21:15:30 GMT Organization: Columbia University Message-ID: <8tkodi$i3i$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <8tkn93$lqu$1@panix3.panix.com>, David Combs wrote: : Until 31sep00, I was a Netcom shell customer, when : their shell service was murdered by their CEO. : : I now use panix (in nyc). : : At home I have a sparcstation 5, solaris 7. : : Until the last few days, I have had good luck : downloading .gz-files: : : (remote, ie panix): kermit -i -s foo.gz bar.gz ... : : (At home, I run kermit too, to do the dialing, : make the connection, etc.) : : But recently, the problem has been that about 1/3d the : way through a download, it starts generating errors -- : the "errors" line in the display goes from 0 to 1 to : 2 ... to 6 or so (incr is once every 5 seconds or so) : and I control-c the thing. : : ---- : : Flow control? : Probably. : What I do know is that when I used to run emacs on : NETCOM, I could not use ^s for search -- I had to : do M-x enable-flow-control and then use some other : key-combination for fwd-search. : ... : However, on panix, control-s works just fine in : emacs. : : ---- : : I called panix, and they told me -- well, here are : my notes typed in from that phone call: : : > send this string to modem each time I call panix: : > at&fs32=66 : > Which: sets us robotics to X2 mode instead of V.90 : > because, ON PANIX, X2 works BETTER than V.90. : > (because xon xoff not effective above 2400). : > so set it to rts and cts (ie hardware flow control) : There is no need for any of that; you already have RTS/CTS set between your computer and the modem. You can use "set dial display on" prior to dialing to watch the dialog and verify this for yourself. This one: : * Hardware-flow: AT&H1&R2&I0\{13} <--- should be sent. : Communications Parameters: : Line: /dev/cua/a, speed: 38400, mode: local, modem: usrobotics : Terminal bits: 7, parity: none, duplex: full, flow: rts/cts, ... : ^^^^^^^^^^^^^ So your end is set up fine. The problem is on the other end, between the answering modem and whatever it is connected to (terminal server or host serial port), which must BOTH be configured for RTS/CTS too. Call Panix and have them check it. - Frank From news@columbia.edu Tue Oct 31 03:11:02 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id DAA03709 for ; Tue, 31 Oct 2000 03:11:01 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id DAA02857 for ; Tue, 31 Oct 2000 03:10:17 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id CAA14922 for kermit.misc@watsun.cc.columbia.edu; Tue, 31 Oct 2000 02:51:02 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: mickwilson@my-deja.com Subject: Kermit input overruns Date: Tue, 31 Oct 2000 07:35:22 GMT Organization: Deja.com - Before you buy. Message-ID: <8tlsnq$51r$1@nnrp1.deja.com> To: kermit.misc@columbia.edu Greetings. I am linking via null modem cable a Win98 laptop to Redhat Linux 6.0 laptap. File transfers work, but only after a fashion and with considerable delay. I seek help to remedy this. Every 10-20 packets there is an "input overrun" error displayed, a pause of 5-10 seconds, then resumed transfer. The windows end is running kermit-for-DOS (no, I haven't yet ordered Kermit-for-9*). The unix end is running C-kermit on line /dev/ttyS0. Line parameters are xon/xoff, 8-none-1. The overruns occur at all speed between 9600 and 115,200 but seem to take longer to recover at lower speeds. I was a frequent kermit user in a previous life, but am new to unix. Is there something I should be trying to tweak re packet or window sizes? flow control? Thanx in advance. -- Mick Wilson, Chief UNEPnet Services United Nations Environment Programme (UNEP) POB 30552 Nairobi Sent via Deja.com http://www.deja.com/ Before you buy. From news@columbia.edu Tue Oct 31 09:40:46 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id JAA04467 for ; Tue, 31 Oct 2000 09:40:10 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id JAA04177 for ; Tue, 31 Oct 2000 09:40:09 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id JAA01120 for kermit.misc@watsun.cc.columbia.edu; Tue, 31 Oct 2000 09:22:15 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Kermit input overruns Date: 31 Oct 2000 14:22:13 GMT Organization: Columbia University Message-ID: <8tmkil$12u$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <8tlsnq$51r$1@nnrp1.deja.com>, wrote: : I am linking via null modem cable a Win98 laptop to Redhat Linux 6.0 : laptap. File transfers work, but only after a fashion and with : considerable delay. I seek help to remedy this. : : Every 10-20 packets there is an "input overrun" error displayed, a pause : of 5-10 seconds, then resumed transfer. : : The windows end is running kermit-for-DOS (no, I haven't yet ordered : Kermit-for-9*). : That's usually the solution to problems like these. : The unix end is running C-kermit on line /dev/ttyS0. : Line parameters are xon/xoff, 8-none-1. The overruns occur at all speed : between 9600 and 115,200 but seem to take longer to recover at lower : speeds. : First, try using RTS/CTS instead of Xon/Xoff (on both ends) if your cable allows it (you need a full null-modem cable, with RTS and CTS cross- connected). If that doesn't help, then you'll need the native Windows version of Kermit: http://www.columbia.edu/kermit/k95.html : I was a frequent kermit user in a previous life, but am new to unix. Is : there something I should be trying to tweak re packet or window sizes? : flow control? : Our first advice is always to run the most appropriate and latest versions of the software on both ends. Manuals help too; the C-Kermit manual (which also is included with K95) has whole sections on flow control, cable wiring, and troubleshooting. - Frank From news@columbia.edu Tue Oct 31 18:10:12 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id SAA12134 for ; Tue, 31 Oct 2000 18:10:11 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id SAA23971 for ; Tue, 31 Oct 2000 18:10:10 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id SAA24396 for kermit.misc@watsun.cc.columbia.edu; Tue, 31 Oct 2000 18:09:04 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f Message-ID: <39FF50E0.C26FDD46@nec.com.au> From: Grant Cartledge Subject: Cumulative Packet Error Limit in Kermit?? Organization: NEC Australia P/L Date: Wed, 01 Nov 2000 10:08:16 +1100 To: kermit.misc@columbia.edu We are using the Kermit protocol coded within the commercial package "Procomm Plus". Our application is a satellite communications system which uses mobile terminals in vehicles. Our current testing is concentrating on data transmission in adverse propagation conditions whereby the end-to-end link is interrupted by line-of-sight obstructions (in this case, trees). The periods of shading obvioulsy cause lost and errored packets. The file transfer is failing by exceeding a cumulative error limit. This surprised us as prior testing (albeit in slightly less shaded conditions) did not show this phenomenon. Is this error limit inherent in the Kermit protocol or is it an artificial limit imposed by the authors of Procomm Plus?? regards Grant Cartledge From news@columbia.edu Wed Nov 1 03:10:58 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id DAA08383 for ; Wed, 1 Nov 2000 03:10:54 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id DAA11546 for ; Wed, 1 Nov 2000 03:10:20 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id CAA15059 for kermit.misc@watsun.cc.columbia.edu; Wed, 1 Nov 2000 02:53:25 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "dls2" Subject: Re: Cumulative Packet Error Limit in Kermit?? Message-ID: <9ZPL5.97972$ib7.13838586@news1.rdc1.nj.home.com> Date: Wed, 01 Nov 2000 07:52:37 GMT Organization: @Home Network To: kermit.misc@columbia.edu "Grant Cartledge" wrote: > We are using the Kermit protocol coded within the commercial package > "Procomm Plus". Our application is a satellite communications system > which uses mobile terminals in vehicles. Our current testing is > concentrating on data transmission in adverse propagation conditions > whereby the end-to-end link is interrupted by line-of-sight obstructions > (in this case, trees). The periods of shading obvioulsy cause lost and > errored packets. The file transfer is failing by exceeding a cumulative > error limit. This surprised us as prior testing (albeit in slightly less > shaded conditions) did not show this phenomenon. Is this error limit > inherent in the Kermit protocol or is it an artificial limit imposed by > the authors of Procomm Plus?? The choice to abort, after a set number of errors, is an implementation issue, rather than a problem with the protocol, itself. Under conditions of error, the Kermit protocol indicates that it just keeps resending, until such time as proper acknowledgement is made, or, until a decision to abort has been acted upon. The decision to abort is made by either a person or a program, and, in this case, the decision to abort is made by the program, Procomm Plus. Also, "On network connections (e.g. TCP/IP), it is usually best to turn off flow control entirely, because the underlying networking method supplies fully effective flow control." http://www.columbia.edu/kermit/faq-c-zmo.html#faq-c-zmo -- Derrick Shearer From news@columbia.edu Wed Nov 1 09:40:14 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id JAA06725 for ; Wed, 1 Nov 2000 09:40:14 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id JAA01812 for ; Wed, 1 Nov 2000 09:40:13 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id JAA20945 for kermit.misc@watsun.cc.columbia.edu; Wed, 1 Nov 2000 09:30:06 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Cumulative Packet Error Limit in Kermit?? Date: 1 Nov 2000 14:30:05 GMT Organization: Columbia University Message-ID: <8tp9dd$kef$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <9ZPL5.97972$ib7.13838586@news1.rdc1.nj.home.com>, dls2 wrote: : "Grant Cartledge" wrote: : > We are using the Kermit protocol coded within the commercial package : > "Procomm Plus". Our application is a satellite communications system : > which uses mobile terminals in vehicles. Our current testing is : > concentrating on data transmission in adverse propagation conditions : > whereby the end-to-end link is interrupted by line-of-sight obstructions : > (in this case, trees). The periods of shading obvioulsy cause lost and : > errored packets. The file transfer is failing by exceeding a cumulative : > error limit. This surprised us as prior testing (albeit in slightly less : > shaded conditions) did not show this phenomenon. Is this error limit : > inherent in the Kermit protocol or is it an artificial limit imposed by : > the authors of Procomm Plus?? : : The choice to abort, after a set number of errors, is an implementation : issue, rather than a problem with the protocol, itself. Under conditions : of error, the Kermit protocol indicates that it just keeps resending, until : such time as proper acknowledgement is made, or, until a decision to : abort has been acted upon. The decision to abort is made by either a : person or a program, and, in this case, the decision to abort is made : by the program, Procomm Plus. : The obvious suggestion is to use real Kermit software rather than a third-party implementation. Real Kermit programs include numerous controls over every aspect of the protocol (including retry threshold, timeout methods and limits, and so on) that are essential to this kind of application, but that are lacking in third-party implementations. Furthermore, when you have questions with our software, we can help you. If you have problems with third-party software, you must get help from the third party. More info on the Kermit website: http://www.columbia.edu/kermit/ - Frank From news@columbia.edu Mon Nov 13 15:40:44 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id PAA20535 for ; Mon, 13 Nov 2000 15:40:44 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA22237 for ; Mon, 13 Nov 2000 15:40:43 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id PAA23680 for kermit.misc@watsun.cc.columbia.edu; Mon, 13 Nov 2000 15:35:51 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Elections Date: 13 Nov 2000 20:35:49 GMT Organization: Columbia University Message-ID: <8upjb5$n3u$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu All the trouble with the USA 2000 election recalls fond memories of the Brazilian election of 1994 and Kermit's role in it: http://www.columbia.edu/kermit/newsn6.html#brazil - Frank From news@columbia.edu Mon Nov 13 16:40:45 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id QAA29984 for ; Mon, 13 Nov 2000 16:40:44 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA03133 for ; Mon, 13 Nov 2000 16:40:44 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id QAA26140 for kermit.misc@watsun.cc.columbia.edu; Mon, 13 Nov 2000 16:33:07 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jrd@cc.usu.edu (Joe Doupnik) Subject: Re: Elections Message-ID: Date: 13 Nov 00 14:30:21 MDT Organization: Utah State University To: kermit.misc@columbia.edu In article <8upjb5$n3u$1@newsmaster.cc.columbia.edu>, fdc@watsun.cc.columbia.edu (Frank da Cruz) writes: > All the trouble with the USA 2000 election recalls fond memories > of the Brazilian election of 1994 and Kermit's role in it: > > http://www.columbia.edu/kermit/newsn6.html#brazil > > - Frank -------- Indeed. But we know how times change and expectations with them. Today one would require PGP signed ballots, or retinal scans embedded in digitally signed messages, or worse (such as signed certificates from those doing the scans, and certificates from those issuing the preceeding certs, and so on head recursion style). Even then the net.lawyers would contest votes based on imperfect CRC protection at hardware and software levels. The Brazilians got it right: do it high tech (electronic, Kermits at both ends of links), accept rational results, and get it over with in milliseconds. Joe D. From news@columbia.edu Thu Nov 16 11:10:54 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id LAA00711 for ; Thu, 16 Nov 2000 11:10:53 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA12512 for ; Thu, 16 Nov 2000 11:10:51 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id LAA01021 for kermit.misc@watsun.cc.columbia.edu; Thu, 16 Nov 2000 11:11:27 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Glenn Sherman" Subject: K95 GUI question Organization: Granite State Software Message-ID: <5xTQ5.4870$QZ5.2814@newsfeed.slurp.net> Date: Thu, 16 Nov 2000 11:10:27 -0500 To: kermit.misc@columbia.edu I was just upgrading my windows computer to Win2K. The win2K console doesn't seem as nice as my old win95 - size and font. I have just started to play with it and I have made it a little bit better, but... Is the GUI version of K95 still scheduled for late 2000 ? -Glenn Sherman ( please remove 'nospam' if responding by email ) From news@columbia.edu Thu Nov 16 11:40:52 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id LAA12905 for ; Thu, 16 Nov 2000 11:40:52 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA18297 for ; Thu, 16 Nov 2000 11:40:51 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id LAA01429 for kermit.misc@watsun.cc.columbia.edu; Thu, 16 Nov 2000 11:23:51 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: K95 GUI question Date: 16 Nov 2000 16:23:50 GMT Organization: Columbia University Message-ID: <8v11mm$1ci$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <5xTQ5.4870$QZ5.2814@newsfeed.slurp.net>, Glenn Sherman wrote: : I was just upgrading my windows computer to Win2K. : : The win2K console doesn't seem as nice as my old win95 - size and font. : I have just started to play with it and I have made it a little bit better, : but... : : Is the GUI version of K95 still scheduled for late 2000 ? : No, sorry, it has slipped again. There should be a new K95 release in late 2000, which you can read about here: http://www.columbia.edu/kermit/k95.html#future and the GUI should follow some time in 2001. Really. - Frank From news@columbia.edu Thu Nov 16 23:10:54 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id XAA28907 for ; Thu, 16 Nov 2000 23:10:53 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id XAA23118 for ; Thu, 16 Nov 2000 23:10:53 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id WAA01514 for kermit.misc@watsun.cc.columbia.edu; Thu, 16 Nov 2000 22:58:56 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: gressett@iglobal.net Subject: Re: K95 GUI question Date: Thu, 16 Nov 2000 22:03:14 -0600 Organization: Posted via Supernews, http://www.supernews.com Message-ID: To: kermit.misc@columbia.edu fdc@watsun.cc.columbia.edu (Frank da Cruz) wrote: (snip) > >No, sorry, it has slipped again. There should be a new K95 release in >late 2000, which you can read about here: > > http://www.columbia.edu/kermit/k95.html#future > >and the GUI should follow some time in 2001. Really. > >- Frank Will there still be a supported console-mode version after the GUI version ships? From news@columbia.edu Fri Nov 17 00:40:55 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id AAA25455 for ; Fri, 17 Nov 2000 00:40:54 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id AAA27412 for ; Fri, 17 Nov 2000 00:40:54 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id AAA05436 for kermit.misc@watsun.cc.columbia.edu; Fri, 17 Nov 2000 00:23:28 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jaltman@columbia.edu (Jeffrey Altman) Subject: Re: K95 GUI question Date: 17 Nov 2000 05:23:25 GMT Organization: Columbia University Message-ID: <8v2fcd$59p$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , wrote: : Will there still be a supported console-mode version after the GUI : version ships? YES Jeffrey Altman * Sr.Software Designer The Kermit Project * Columbia University 612 West 115th St * New York, NY * 10025 * USA http://www.kermit-project.org/ * kermit-support@kermit-project.org From news@columbia.edu Fri Nov 17 11:10:54 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id LAA14993 for ; Fri, 17 Nov 2000 11:10:54 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA14559 for ; Fri, 17 Nov 2000 11:10:53 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id LAA19718 for kermit.misc@watsun.cc.columbia.edu; Fri, 17 Nov 2000 11:08:34 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Mark Gibson Subject: problems with sprint x25 Date: Fri, 17 Nov 2000 10:59:49 -0500 Message-ID: <3a155538$0$1515$53a6afc1@news.erinet.com> Organization: EriNet Online Communications - Dayton, OH To: kermit.misc@columbia.edu I am having a problem getting a client on line with kermit 95 and the Sprint X.25 network. Hes using a usrobotics 56k internal modem and my script gets hung at the CONNECT 14400 message. Anyone have a similiar problem or suggestion? From news@columbia.edu Fri Nov 17 11:40:56 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id LAA09120 for ; Fri, 17 Nov 2000 11:40:55 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA20209 for ; Fri, 17 Nov 2000 11:40:54 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id LAA20941 for kermit.misc@watsun.cc.columbia.edu; Fri, 17 Nov 2000 11:34:09 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jaltman@columbia.edu (Jeffrey Altman) Subject: Re: problems with sprint x25 Date: 17 Nov 2000 16:34:08 GMT Organization: Columbia University Message-ID: <8v3mm0$ke1$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <3a155538$0$1515$53a6afc1@news.erinet.com>, Mark Gibson wrote: : I am having a problem getting a client on line with kermit 95 and the : Sprint X.25 network. Hes using a usrobotics 56k internal modem and my : script gets hung at the CONNECT 14400 message. Anyone have a : similiar problem or suggestion? : Dialing the modem should be performed with the K95 DIAL command and not a script. The DIAL command can use the information retrieved from the Windows Telephony database to configure the modem. A generic script cannot. Jeffrey Altman * Sr.Software Designer The Kermit Project * Columbia University 612 West 115th St * New York, NY * 10025 * USA http://www.kermit-project.org/ * kermit-support@kermit-project.org From news@columbia.edu Fri Nov 17 23:40:56 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id XAA08386 for ; Fri, 17 Nov 2000 23:40:55 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id XAA12224 for ; Fri, 17 Nov 2000 23:40:55 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id XAA25422 for kermit.misc@watsun.cc.columbia.edu; Fri, 17 Nov 2000 23:31:26 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f Date: Fri, 17 Nov 2000 23:29:58 -0800 From: Jack Patteeuw Subject: wrap turns it self on Message-ID: <3a160570$0$30012$2c3edae7@news.voyager.net> Organization: Voyager.Net - East Lansing, MI To: kermit.misc@columbia.edu I have auto wrap turned off in my K95 Dialer, but it always seems to be turn on after I log into my OpenVMS system. What am I doing wrong. K95 Version 1.1.20 Jack Patteeuw From news@columbia.edu Sat Nov 18 03:10:56 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id DAA22471 for ; Sat, 18 Nov 2000 03:10:55 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id DAA21222 for ; Sat, 18 Nov 2000 03:10:55 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id CAA02613 for kermit.misc@watsun.cc.columbia.edu; Sat, 18 Nov 2000 02:46:37 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jaltman@columbia.edu (Jeffrey Altman) Subject: Re: wrap turns it self on Date: 18 Nov 2000 07:46:35 GMT Organization: Columbia University Message-ID: <8v5c4r$2hi$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu You are not doing anything wrong, but for some reason that I don't remember (and can't find a note about) the wrap setting is reset to ON everytime the terminal emulator is reset. A reset occurs each time a new SET HOST command is executed. Therefore, the dialer setting is ignored. For a work around, place SET TERM WRAP OFF into a login script specified on the Login page. In article <3a160570$0$30012$2c3edae7@news.voyager.net>, Jack Patteeuw wrote: : I have auto wrap turned off in my K95 Dialer, but it always seems to be : turn on after I log into my OpenVMS system. : : What am I doing wrong. : : K95 Version 1.1.20 : : : : Jack Patteeuw Jeffrey Altman * Sr.Software Designer The Kermit Project * Columbia University 612 West 115th St * New York, NY * 10025 * USA http://www.kermit-project.org/ * kermit-support@kermit-project.org From news@columbia.edu Fri Dec 1 09:41:28 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id JAA28641 for ; Fri, 1 Dec 2000 09:41:27 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id JAA00161 for ; Fri, 1 Dec 2000 09:41:27 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id JAA04389 for kermit.misc@watsun.cc.columbia.edu; Fri, 1 Dec 2000 09:25:13 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "GILBERT SA" Subject: Ms-kermit and Windows 9x/NT Date: Fri, 1 Dec 2000 15:23:57 +0100 Organization: GILBERT SA Message-ID: <908ca2$8qd$1@wanadoo.fr> To: kermit.misc@columbia.edu Please , excuse me for my English (I am French !) I use only 2 functions of KERMIT (GET and SEND for the transfer file ASCII on serial port RS232 between a PC (COM1) and an industrial material). I don't want to use K95 for prices problems. I should use MSkermit 3.14 or 3.15 for MS-DOS only. But, the PC work with Windows 32 bits (98 or NT). Sometimes, some PC, I have error '' Unknown hardware for port, using BIOS .' ' In " MSkermi.ini " I impose : Set com1 \x03f8 4 Set port com1 But it does not change. Please , have you a solution (not by using K95 !) Thank you Sincerely Philippe R From news@columbia.edu Fri Dec 1 10:41:28 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id KAA13914 for ; Fri, 1 Dec 2000 10:41:27 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA10349 for ; Fri, 1 Dec 2000 10:41:27 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id KAA07301 for kermit.misc@watsun.cc.columbia.edu; Fri, 1 Dec 2000 10:33:05 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jrd@cc.usu.edu (Joe Doupnik) Subject: Re: Ms-kermit and Windows 9x/NT Message-ID: Date: 1 Dec 00 08:18:01 MDT Organization: Utah State University To: kermit.misc@columbia.edu In article <908ca2$8qd$1@wanadoo.fr>, "GILBERT SA" writes: > Please , excuse me for my English (I am French !) > > I use only 2 functions of KERMIT (GET and SEND for the transfer file ASCII > on serial port RS232 between a PC (COM1) and an industrial material). > I don't want to use K95 for prices problems. > I should use MSkermit 3.14 or 3.15 for MS-DOS only. > But, the PC work with Windows 32 bits (98 or NT). > > Sometimes, some PC, I have error '' Unknown hardware for port, using BIOS .' > ' > > In " MSkermi.ini " I impose : > Set com1 \x03f8 4 > Set port com1 > But it does not change. > > Please , have you a solution (not by using K95 !) > > Thank you > Sincerely > > Philippe R ------- Windows thinks it owns the serial port hardware (insert the usual MS jokes here). There is an easy way to avoid that, by not starting the GUI. See MS docs on hidden text file msdos.sys to include line bootgui=0. Nevertheless, Windows tries to present a simulated serial port to MSK. If that port is consumed by some Windows app then things won't work and you will see that Unknown hardware message. Joe D. From news@columbia.edu Fri Dec 1 11:41:28 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id LAA12343 for ; Fri, 1 Dec 2000 11:41:27 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA21660 for ; Fri, 1 Dec 2000 11:41:27 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id LAA10087 for kermit.misc@watsun.cc.columbia.edu; Fri, 1 Dec 2000 11:34:19 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jaltman@columbia.edu (Jeffrey Altman) Subject: Re: Ms-kermit and Windows 9x/NT Date: 1 Dec 2000 16:34:15 GMT Organization: Columbia University Message-ID: <908ju7$9r4$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Joe Doupnik wrote: : In article <908ca2$8qd$1@wanadoo.fr>, "GILBERT SA" writes: : > Please , excuse me for my English (I am French !) : > : > I use only 2 functions of KERMIT (GET and SEND for the transfer file ASCII : > on serial port RS232 between a PC (COM1) and an industrial material). : > I don't want to use K95 for prices problems. : > I should use MSkermit 3.14 or 3.15 for MS-DOS only. : > But, the PC work with Windows 32 bits (98 or NT). : > : > Sometimes, some PC, I have error '' Unknown hardware for port, using BIOS .' : > ' : > : > In " MSkermi.ini " I impose : : > Set com1 \x03f8 4 : > Set port com1 : > But it does not change. : > : > Please , have you a solution (not by using K95 !) : > : > Thank you : > Sincerely : > : > Philippe R : ------- : Windows thinks it owns the serial port hardware (insert the usual : MS jokes here). There is an easy way to avoid that, by not starting the : GUI. See MS docs on hidden text file msdos.sys to include line bootgui=0. : Nevertheless, Windows tries to present a simulated serial port to MSK. : If that port is consumed by some Windows app then things won't work and : you will see that Unknown hardware message. : Joe D. Obviously, there is no way to avoid starting the GUI on NT/2000. And as of the release of Windows ME this option has been taken away as well. The issue about the port numbers and interrupt values is most likely caused by Windows' use of Plug N Play which assigns random values each time the machine starts. The only way to use these devices in a consistent manner is to use a Windows device name. K95 can do that. MS-DOS Kermit cannot. Jeffrey Altman * Sr.Software Designer The Kermit Project * Columbia University 612 West 115th St * New York, NY * 10025 * USA http://www.kermit-project.org/ * kermit-support@kermit-project.org From news@columbia.edu Fri Dec 1 17:41:29 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id RAA12824 for ; Fri, 1 Dec 2000 17:41:29 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id RAA26980 for ; Fri, 1 Dec 2000 17:41:28 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id RAA25685 for kermit.misc@watsun.cc.columbia.edu; Fri, 1 Dec 2000 17:33:01 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jrd@cc.usu.edu (Joe Doupnik) Subject: Re: Ms-kermit and Windows 9x/NT Message-ID: <97pEN0dbn83W@cc.usu.edu> Date: 1 Dec 00 15:11:35 MDT Organization: Utah State University To: kermit.misc@columbia.edu In article <908ju7$9r4$1@newsmaster.cc.columbia.edu>, jaltman@watsun.cc.columbia.edu (Jeffrey Altman) writes: > In article , Joe Doupnik wrote: > : In article <908ca2$8qd$1@wanadoo.fr>, "GILBERT SA" writes: > : > Please , excuse me for my English (I am French !) > : > > : > I use only 2 functions of KERMIT (GET and SEND for the transfer file ASCII > : > on serial port RS232 between a PC (COM1) and an industrial material). > : > I don't want to use K95 for prices problems. > : > I should use MSkermit 3.14 or 3.15 for MS-DOS only. > : > But, the PC work with Windows 32 bits (98 or NT). > : > > : > Sometimes, some PC, I have error '' Unknown hardware for port, using BIOS .' > : > ' > : > > : > In " MSkermi.ini " I impose : > : > Set com1 \x03f8 4 > : > Set port com1 > : > But it does not change. > : > > : > Please , have you a solution (not by using K95 !) > : > > : > Thank you > : > Sincerely > : > > : > Philippe R > : ------- > : Windows thinks it owns the serial port hardware (insert the usual > : MS jokes here). There is an easy way to avoid that, by not starting the > : GUI. See MS docs on hidden text file msdos.sys to include line bootgui=0. > : Nevertheless, Windows tries to present a simulated serial port to MSK. > : If that port is consumed by some Windows app then things won't work and > : you will see that Unknown hardware message. > : Joe D. > > > Obviously, there is no way to avoid starting the GUI on NT/2000. And > as of the release of Windows ME this option has been taken away as well. > Not really. The GUI need not start for any of these operating systems, directives from MS not withstanding. The multiple boot capabilities in them permit booting to a variety of final states, and I do just that. See msdos.sys for Win9x. For NT use its boot loader to not start NT but start another o/s instead. However, I do not have Windows ME and thus cannot state its behavior with certainty. > The issue about the port numbers and interrupt values is most likely > caused by Windows' use of Plug N Play which assigns random values each > time the machine starts. The only way to use these devices in a > consistent manner is to use a Windows device name. K95 can do that. > MS-DOS Kermit cannot. I have never heard of a case where Windows relabels serial port Port and/or IRQ values. The serial ports are not Plug and Play PCI devices, they are ISA bus devices (Southbridge for PCI modern chipset folks, legacy devices for marketing people). Competition for the serial port is the likely cause of trouble, as is competition amongst other devices for those resources. Moving the port values to non-standard ones via the Bios is also a possibility. Joe D. > Jeffrey Altman * Sr.Software Designer > The Kermit Project * Columbia University > 612 West 115th St * New York, NY * 10025 * USA > http://www.kermit-project.org/ * kermit-support@kermit-project.org From news@columbia.edu Sat Dec 9 10:41:47 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id KAA01095 for ; Sat, 9 Dec 2000 10:41:47 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA05894 for ; Sat, 9 Dec 2000 10:41:47 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id KAA25866 for kermit.misc@watsun.cc.columbia.edu; Sat, 9 Dec 2000 10:35:08 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Announcing C-Kermit 7.1 - First Alpha Test Date: 9 Dec 2000 15:35:06 GMT Organization: Columbia University Message-ID: <90tjfa$p88$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu A new release of C-Kermit is now available in Alpha-test form, intended mainly for testing by experienced Kermit users and builders. The first Alpha test, C-Kermit 7.1.199 Alpha.01, includes the following new features: . Built-In FTP Client: A new FTP client with all all the flexibility, power, and ease of use of the Kermit command and scripting language, plus security, character-set translation, recovery, update, directory tree transfer, atomic file movement, lots more. . Security: The SSL/TLS security method can now use not only X.509 certificates but also Kerberos 5 credentials. ZLIB compression has been added to SSL/TLS for improved peformance. Security modules are more widely available of due to relaxation in USA export laws. . Dialing from Telnet Access Servers: RFC 2217, Telnet Com Port Control. . Automatic Text/Binary Mode Switching: This is now done by file scanning, which is more reliable than the previous filename-based method. . Idle Timeouts to prevent being logged off during a CONNECT session because you didn't type anything for a long time. . Learned scripts (automatic script writing). . LISP-like S-Expressions (primarily for arithmetic). . Better handling of file and directory names that contain spaces. . Bug fixes and performance improvements. A subsequent Alpha test will add SSH v1 and v2 security. For details and to download, visit: http://www.columbia.edu/kermit/ck71.html Send reports, comments, and suggestions to: kermit-support@columbia.edu - Frank From news@columbia.edu Wed Dec 13 04:41:59 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id EAA19414 for ; Wed, 13 Dec 2000 04:41:59 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id EAA10197 for ; Wed, 13 Dec 2000 04:41:58 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id EAA22719 for kermit.misc@watsun.cc.columbia.edu; Wed, 13 Dec 2000 04:22:19 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Ulrich Windl Subject: Re: New scriptable secure FTP client available for UNIX Date: 13 Dec 2000 10:15:47 +0100 Organization: University of Regensburg, Germany Message-ID: To: kermit.misc@columbia.edu Surely, your C-Kermit can do a lot, but can I _simply_ use the "secure FTP feature" without programming scripts? Maybe you should provide a example of use... Ulrich fdc@watsun.cc.columbia.edu (Frank da Cruz) writes: > A new FTP client is available for UNIX: > > http://www.columbia.edu/kermit/ftpclient > > It offers the following features: > > . Optional Kerberos 4 and 5, SSL/TLS, and SRP security. > . A built-in scripting language for automation. > . Character-set translation, including Unicode. > . Automatic text/binary mode switching (PUT/MPUT only). > . Flexible file selection (sizes, dates, lists, patterns, exception lists). > . Update and recovery modes. > . Preservation of file permissions (Unix-to-Unix only). > . Recursive directory-tree transfers, even across platforms. > . File collision options (backup, rename, update, reject, etc). > . Uses passive mode by default to minimize blockage by firewalls. > . Friendly interactive command interface (keyword and filename menus and > completion on demand; command recall, macros, files, and shortcuts). > . Ability to specify a complete session on the shell command line, or by > an FTP URL, without using scripts, interactive commands, or command files. > . Configurable logging, debugging, and feedback options. > > The new FTP client is called C-Kermit 7.1: > > http://www.columbia.edu/kermit/ck71.html > > Yes, it's the same C-Kermit program that makes serial and Telnet connections > -- now it can make FTP connections too. And for that matter also Rlogin and > HTTP (and on some platforms X.25)... > > It has been built and tested successfully so far on various releases of > Linux (Red Hat, Slackware, Suse, Debian), FreeBSD, NetBSD, OpenBSD, AIX, > HP-UX, IRIX, Solaris, SunOS, QNX, SINIX, Unixware, SCO OSR5, Tru64, NeXT, > DG/UX, SV/68, SV/88, and even 4.3BSD on the VAX, and should be buildable and > usable on any other version of UNIX that has a C compiler and a sockets > library. > > This not a final release -- it's the first Alpha-test release. If you have > trouble with it, questions, or comments, send them to: > > kermit-support@columbia.edu > > Frank da Cruz > The Kermit Project > Columbia University From news@columbia.edu Wed Dec 13 09:11:59 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id JAA18396 for ; Wed, 13 Dec 2000 09:11:59 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id JAA23019 for ; Wed, 13 Dec 2000 09:11:58 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id JAA24785 for kermit.misc@watsun.cc.columbia.edu; Wed, 13 Dec 2000 09:10:37 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: New scriptable secure FTP client available for UNIX Date: 13 Dec 2000 14:10:31 GMT Organization: Columbia University Message-ID: <91800n$o6f$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Ulrich Windl wrote: : Surely, your C-Kermit can do a lot, but can I _simply_ use the "secure : FTP feature" without programming scripts? Maybe you should provide a : example of use... : I'm sorry if this was not clear. Of course you can use it interactively and/or from the shell command line without writing scripts. And I'm happy to say this includes the security features, even though you are in Germany. Previously we were not allowed to put this material on our FTP or Web site due to USA export law, which recently became less restrictive. Unfortunately, the new law still does not allow us to make prebuilt secure binaries available on the network, so you must build it yourself from the source code, following the examples in: http://www.columbia.edu/kermit/security71.html As to examples of use, see: http://www.columbia.edu/kermit/ftpscripts.html and note that script commands are exactly the same as interactive commands: any command you can put in a script, you can also type at the C-Kermit> prompt. - Frank From news@columbia.edu Thu Dec 14 13:42:04 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id NAA11871 for ; Thu, 14 Dec 2000 13:42:03 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA01105 for ; Thu, 14 Dec 2000 13:42:03 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id NAA05595 for kermit.misc@watsun.cc.columbia.edu; Thu, 14 Dec 2000 13:36:01 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Kermit FTP client documentation Date: 14 Dec 2000 18:35:55 GMT Organization: Columbia University Message-ID: <91b3ub$5ep$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu C-Kermit 7.1 FTP client documentation is now available as a Web page, with links, internal cross-references, etc, for extra user-friendliness: http://www.columbia.edu/kermit/ftpdoc.html There's also a new tutorial on writing Kermit FTP scripts: http://www.columbia.edu/kermit/ftpscript.html Next time you need to use FTP on UNIX and find yourself running into the usual gotchas ("oops I forgot to give a 'prompt' command") or roadblocks ("grrr, I wish this stupid program had xxxx...") (xxxx = command recall, filename completion, built-in help, context-sensitive help, automatic text/binary file switching, recursive directory-tree transfer, etc), try the C-Kermit client: http://www.columbia.edu/kermit/ck71.html - Frank From news@columbia.edu Fri Dec 15 03:42:05 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id DAA22107 for ; Fri, 15 Dec 2000 03:42:04 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id DAA26943 for ; Fri, 15 Dec 2000 03:42:04 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id DAA11344 for kermit.misc@watsun.cc.columbia.edu; Fri, 15 Dec 2000 03:17:38 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: dkcombs@panix.com (David Combs) Subject: running kermit on BOTH ends; ^c confusion Date: 15 Dec 2000 03:16:20 -0500 Organization: p Message-ID: <91ck0k$hqg$1@panix5.panix.com> To: kermit.misc@columbia.edu I am on panix.com, and run kermit on both ends, ie here at home on my sparcstation 5 (solaris 7) and there, on EITHER their pc's running netbsd, OR their sparc-something, sunos 4.x. Several problems: 1: my us robotics 56k cheapo modem, they (panix) say(s), should have some DIFFERENT special-for-panix init string. a. do YOU know the proper init string for panix? b. how do I get the local kermit to do it automatically (setup the modem a la panix) WHEN (and ONLY when) I want to dial into panix? (Yes, I could read this 620-page book you've written, excellent, etc, but man, I'm just under information overload, not as young as I once was (58 now), and am not as easily able to fend off the devil in all those details.... ) c. Having GREAT difficulty downloading .gz-files (of course I set -i!), although can usually do it ok if UN-compressed. Either kermit just stops in the middle, generating an error every 10 or 20 seconds, or it finishes, but the checksums don't match (yes, am using the correct checksum programs, eg /usr/5bin/sum on sunos 4.x vs just "sum" on solaris -- is how I did it on netcom (shell, long gone now), worked just fine. Sometimes, those little slashes go across all across the %-done line, but hangs at the end. d. The Z etc cmds that kermit polls for -- to stop downloading the file (via "x"?), or the one for the entire group -- doesn't seem to work -- kermit (the remote one) does see the char, but after telling me, just goes on back to being hung. UNFORTUNATELY, a ^c gets me back to the kermit prompt on my LOCAL kermit!!! How in the world do you direct commands to ONLY the REMOTE kermit? The last thing I want (man, are those 5 words ambiguous!) is to be disconnected from the remote machine! Any hints? e. I am sure that all the above are really stupid and totally obvious to anyone who really understands kermit. But I work alone, access to info only via usenet, email, and www (and VERY occasional conference), so I rely on you. f. Oh, thank you SO MUCH for your neat program. g. If you do want me to read a few pages, I do have the c-kermit book (ref manual, not tutorial). (yes, I can come in and visit if you want, being as I'm in nearby New Rochelle. But no way I can afford the "consulting" price, no way at all. (unfortunately, not all programmers are rich)) David Combs From news@columbia.edu Fri Dec 15 10:42:06 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id KAA13253 for ; Fri, 15 Dec 2000 10:42:06 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA23050 for ; Fri, 15 Dec 2000 10:42:05 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id KAA17681 for kermit.misc@watsun.cc.columbia.edu; Fri, 15 Dec 2000 10:15:15 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: How upload of directory structure via FTP? Date: 15 Dec 2000 15:15:13 GMT Organization: Columbia University Message-ID: <91dci1$h8e$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Guillaume Brialon wrote: : "Dragan Colak" a écrit dans le message news: : 91d5j2$o9f$2@news.seicom.net... : > Hi group, : > : > how can I upload a hole directory structure via FTP? : > Could look like "mput -r /local_directory /remote_directory" : > ore something similar. : > Is one of the build in commands capable of doing this? : > Thanks for any information. : : No, you can't. : You must write a script that will upload the whole structure... : The new Kermit FTP client: http://www.columbia.edu/kermit/ftpclient.html lets you upload an an entire directory tree with a simple sequence, such as: ftp foo.bar.baz.com cd local_directory rcd remote_directory mput /recursive . : ... or use a graphical interface FTP client (like llnlxftp). : That would not necessarily help, especially if you are uploading to a non-Unix platform, since uploading in text mode will wreck the binary files and uploading in binary mode will wreck the text files. The Kermit ftp client, however, takes care of all this automatically. Furthermore, if among the files are plain-text files written in French or German (or any number of other languages), Kermit also can convert the character set as needed (e.g. CP437 to Latin-1 or UTF8). - Frank From news@columbia.edu Fri Dec 15 11:12:06 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id LAA24970 for ; Fri, 15 Dec 2000 11:12:06 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA27290 for ; Fri, 15 Dec 2000 11:12:05 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id KAA19163 for kermit.misc@watsun.cc.columbia.edu; Fri, 15 Dec 2000 10:48:50 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: running kermit on BOTH ends; ^c confusion Date: 15 Dec 2000 15:48:46 GMT Organization: Columbia University Message-ID: <91degu$imn$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <91ck0k$hqg$1@panix5.panix.com>, David Combs wrote: : I am on panix.com, and run kermit on both ends, ie here at home : on my sparcstation 5 (solaris 7) and there, on EITHER their pc's : running netbsd, OR their sparc-something, sunos 4.x. : What versions of Kermit are they? The current version of C-Kermit is 7.0: http://www.columbia.edu/kermit/ : Several problems: : : 1: my us robotics 56k cheapo modem, they (panix) say(s), should : have some DIFFERENT special-for-panix init string. : I wonder why it has to be special. This might be the key to your file-transfer troubles. I assume this is an external modem? The Courier V.Everything? This actually is a very solid modem. See: http://www.columbia.edu/kermit/winmodem.html (the external modem used in the tests described there was a USR Courier V.Everything 56K). : a. do YOU know the proper init string for panix? : No. : b. how do I get the local kermit to do it automatically : (setup the modem a la panix) WHEN (and ONLY when) : I want to dial into panix? : : (Yes, I could read this 620-page book you've written, : excellent, etc, but man, I'm just under information : overload, not as young as I once was (58 now), and : am not as easily able to fend off the devil in all : those details.... ) : What can I say? The answer to your question (b, not a) is in Chapter 4, Configuring Modems. It's not a one-liner, or else we wouldn't have had to write that whole chapter. If you send us mail at kermit-support@columbia.edu and tell us what Panix says the init string should be, we can tell you what to do. : c. Having GREAT difficulty downloading .gz-files (of course : I set -i!), although can usually do it ok if UN-compressed. : This might be our fault. The Solaris version of C-Kermit, in the last couple releases, has suffered from nonfunctional hardware flow control. This is because Sun changed that API for controlling this; Kermit continued to use the "old" way, which is accepted but no longer works. Solution: download C-Kermit 7.1 Alpha.01, which uses the new way. You can find the Solaris 7 Sparc binary here: ftp://kermit.columbia.edu/kermit/test/bin/cku199a01.solaris7-sparc Then: mv cku199a01.solaris7-sparc wermit and then give the "wermit" program the same owner, group, and permissions that your current Kermit program has, so it can dial out. Then try the new copy instead of the old copy and see if it fixes the problem. If not, first make sure you are setting up the call correctly: set modem type usr ; This must come first set line /dev/cu/a ; or whatever set speed 57600 dial 7654321 ; substitute real phone number If you give these commands in this sequence, RTS/CTS flow control and all the other appropriate defaults are used automatically. If you still have trouble after that... I don't know what version of Kermit they have on Panix, but let's assume, optimistically, that it's 6.0 or later. Start Kermit on Panix by typing "kermit" to get the prompt. Then type "robust". Then type "send foo.tar.gz" (for some gz file). See if it works. It probably will, but it will be very slow. Then type "cautious", and download the same file again. If it works, it will be faster. Then type "fast" and try again. My guess is "cautious" will work but "fast" will fail. In that case, use "cautious". If you think "cautious" is too slow then you'll have to read the chapters on file-transfer troubleshooting (10) and performance (12) in the book to find out how to fine-tune the connection for optimum performance. : d. The Z etc cmds that kermit polls for -- to stop downloading : the file (via "x"?), or the one for the entire group -- : doesn't seem to work -- kermit (the remote one) does : see the char, but after telling me, just goes on back : to being hung. : What is on the screen when you type the X or Z? These interruption characters work when the file-transfer display is active, not before or after. : UNFORTUNATELY, a ^c gets me back to the kermit prompt : on my LOCAL kermit!!! : That's what it's supposed to do. : How in the world do you direct commands to ONLY the : REMOTE kermit? The last thing I want (man, are those : 5 words ambiguous!) is to be disconnected from the : remote machine! : You local C-Kermit program is in one of three states: 1. Command mode (waiting for you to type a command at the C-Kermit> prompt), 2. CONNECT mode -- sending your keystrokes to the other computer and displaying the other computer's output on your screen. In this case you must use C-Kermit's escape sequence, Ctrl-\ followed by an action letter, such as 'c', to get the local C-Kermit's attention. 3. Transferring a file. In this case it monitors the keyboard for X, Z, Ctrl-C, etc. : e. I am sure that all the above are really stupid and : totally obvious to anyone who really understands : kermit. But I work alone, access to info only via : usenet, email, and www (and VERY occasional conference), : so I rely on you. : And the manual I hope. It's all in there. There's a good table of contents that should send you straight to the right section, and there's a big index for looking things up. - Frank From news@columbia.edu Mon Dec 18 04:12:13 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id EAA17146 for ; Mon, 18 Dec 2000 04:12:12 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id EAA03298 for ; Mon, 18 Dec 2000 04:12:12 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id EAA25142 for kermit.misc@watsun.cc.columbia.edu; Mon, 18 Dec 2000 04:08:54 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: dkcombs@panix.com (David Combs) Subject: SURPRISE: on Sol-7, cku199a01.solaris7-sparc: something wrong Date: 18 Dec 2000 04:07:35 -0500 Organization: PANIX -- Public Access Networks Corp. Message-ID: <91kk4n$iq6$1@panix3.panix.com> To: kermit.misc@columbia.edu As you suggested, I downloaded the alpha version, cku199a01.solaris7-sparc. Runs ok as far as connecting via dial-out, etc. But when I try to download -- no workee. Nada, never. Is incredibly late (4am) now -- can do experiments, etc, tomorrow, if you want me to. Am NO guru at all, so will have to be led by hand, fed via spoon, to do whatever you want. Am using solaris 7 on sparc5. Connecting to panix.com (in NYC). Have been using c-kermit-192, which after that one try of the alpha, I quickly switched back to. Even downloading dies often, have gone to extreme of uuencoding binary files (eg .gz) and then split -1000, so each file is maybe 30 seconds to download. That DOES seem to work -- doing "sum" on each split file, (/usr/5bin/sum `cat t.nam` > sums.out, and also summing THAT too, then downloading that, and when finally get all transferred, diffing the downloaded sums.out and similar local one, re downloading bad ones, etc. Not really so bad; much better than being totally unable!) Until I did adopted that round-about scheme, I was totally unable to download (to my machine, from shell acct on panix) your alpha! --- Am so tired I'm just rambling on. Bye for now. David Oh, panix version (on their pcs, netbsd) is: Versions: C-Kermit 7.0.196, 1 Jan 2000 Num I assume that's the same on their "oldsun" machine, which is what I have been using to download from. Some sparc, with sunos 4.x. ... From news@columbia.edu Mon Dec 18 10:12:13 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id KAA22434 for ; Mon, 18 Dec 2000 10:12:13 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA22716 for ; Mon, 18 Dec 2000 10:12:12 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id JAA29017 for kermit.misc@watsun.cc.columbia.edu; Mon, 18 Dec 2000 09:49:16 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: SURPRISE: on Sol-7, cku199a01.solaris7-sparc: something wrong Date: 18 Dec 2000 14:49:06 GMT Organization: Columbia University Message-ID: <91l852$san$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <91kk4n$iq6$1@panix3.panix.com>, David Combs wrote: : As you suggested, I downloaded the alpha version, : cku199a01.solaris7-sparc. : : Runs ok as far as connecting via dial-out, etc. : : But when I try to download -- no workee. Nada, : never. : : Is incredibly late (4am) now -- can do experiments, : etc, tomorrow, if you want me to. : Yes, please. Start the new C-Kermit, type "log debug" and "log packets", then dial Panix and try to download a file. After it fails, get back to C-Kermit (Ctrl-\ c) and type "reset" (meaning "close all logs"), and then send the resulting debug.log and packet.log files to: kermit-support@columbia.edu Thanks. - Frank From news@columbia.edu Mon Dec 18 10:12:16 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id KAA27936 for ; Mon, 18 Dec 2000 10:12:16 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA22721 for ; Mon, 18 Dec 2000 10:12:15 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id JAA29120 for kermit.misc@watsun.cc.columbia.edu; Mon, 18 Dec 2000 09:53:29 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: HELP : UNIX and KERMIT config Printer Date: 18 Dec 2000 14:53:29 GMT Organization: Columbia University Message-ID: <91l8d9$sdt$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Rocus wrote: : Hi, I work on Win98 plug on UNIX server with cable RS-32. : I can access the server Unix with a Kermit app on Win98. : What is the name and version number of the Kermit app? : The Kermit app it's use for inventory and is set to use the printer PRN1 : on UNIX server. The printer is a Fujitsu DL5600 and I must change this : printer with a Fujistu DL3700. I can't change de printer on Kermit : console at least with inventory app. : But you said the printer is on the UNIX server. : Then, I must change the setting of : printer on UNIX server with my console Kermit, for the printer PRN1 on : UNIX accept de Fujistu DL3700. How to make this step ???? : Please explain which Kermit program you are using and how you are making it print on UNIX. And also, explain where the file is that your are trying to print: is it on the Windows PC or the UNIX system? - Frank From news@columbia.edu Tue Dec 19 14:12:17 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id OAA24705 for ; Tue, 19 Dec 2000 14:12:16 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA20411 for ; Tue, 19 Dec 2000 14:12:16 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id OAA10749 for kermit.misc@watsun.cc.columbia.edu; Tue, 19 Dec 2000 14:04:01 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: date calculus Date: 19 Dec 2000 19:03:59 GMT Organization: Columbia University Message-ID: <91obev$afq$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Bruno LIVERNAIS wrote: : Does anyone have tools to make calculus on dates under HP/UX shell? : It depends on what you mean by "shell". If you use C-Kermit 7.0: http://www.columbia.edu/kermit/ckermit.html as your script interpreter, as explained here: http://www.columbia.edu/kermit/ckscripts.html then you can use its date calculation functions, which are introduced here: http://www.columbia.edu/kermit/case17.html and thoroughly documented here: http://www.columbia.edu/kermit/ckermit2.html#x1.6 - Frank From news@columbia.edu Tue Dec 19 21:42:18 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id VAA07966 for ; Tue, 19 Dec 2000 21:42:18 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id VAA16664 for ; Tue, 19 Dec 2000 21:42:17 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id VAA29100 for kermit.misc@watsun.cc.columbia.edu; Tue, 19 Dec 2000 21:15:02 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: dkcombs@panix.com (David Combs) Subject: Uh, that alpha-ver now seems OK on panix Date: 19 Dec 2000 21:13:43 -0500 Organization: PANIX -- Public Access Networks Corp. Message-ID: <91p4kn$1sf$1@panix3.panix.com> To: kermit.misc@columbia.edu I must do more downloads and uploads, but that alpha version of kermit does indeed seem to work ok. I don't know what I did before, where I said it didn't. (Remember, Frank: this was the pbm due to Solaris 7 being changed and your alpha being the only version that handled that change.) Thanks so much for the version, and the suggestion to use it. Will continue to play with it -- if no news from me, no problems. THANKS! David From news@columbia.edu Wed Dec 20 05:42:49 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id FAA28997 for ; Wed, 20 Dec 2000 05:42:19 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id FAA02225 for ; Wed, 20 Dec 2000 05:42:17 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id FAA17899 for kermit.misc@watsun.cc.columbia.edu; Wed, 20 Dec 2000 05:25:35 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Alexandra" Subject: VMS and KERMIT Message-ID: Date: Wed, 20 Dec 2000 10:24:13 GMT Organization: Guest of ProXad - France To: kermit.misc@columbia.edu Message BLACKLISTED Thank for you help ! Alex From news@columbia.edu Wed Dec 20 09:42:19 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id JAA02096 for ; Wed, 20 Dec 2000 09:42:19 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id JAA16748 for ; Wed, 20 Dec 2000 09:42:18 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id JAA19153 for kermit.misc@watsun.cc.columbia.edu; Wed, 20 Dec 2000 09:42:07 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: KERMIT Date: 20 Dec 2000 14:42:05 GMT Organization: Columbia University Message-ID: <91qgft$imf$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <000701c06a75$c8f8f290$e10101c0@pc_monnot.ceric-automation.fr>, Alexandra Monnot wrote: : Message BLACKLISTED : : What ??? : In some countries, it is against the law (or against PTT regulations) to dial the same number repeatedly, and in some cases this is enforced by the telephone service provider and/or by the modem, in which case the call fails and the failure reason is "BLACKLISTED". The last time I looked, these regulations were especially strict in France ("le règlementation anachronique draconnienne..."): Suite à un échec, vous ne devez pas fair une nouvelle tentative avant que deux minutes ne se soient écoulées après le premier appel, quatre après le second et huit après le troissième... Après cinq nouvelles tentatives, le numéro est mis sur la liste interdit. ("MS-DOS Kermit, Mode d'Emploi") - Frank P.S. It is considered bad manners to post the same question separately to many newsgroups, because then each answer only goes to one newsgroup instead of to all the newsgroups you posted it to. From news@columbia.edu Wed Dec 20 09:42:19 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id JAA06215 for ; Wed, 20 Dec 2000 09:42:19 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id JAA16745 for ; Wed, 20 Dec 2000 09:42:18 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id JAA17350 for kermit.misc@watsun.cc.columbia.edu; Wed, 20 Dec 2000 09:14:24 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: VMS and KERMIT Date: 20 Dec 2000 14:14:23 GMT Organization: Columbia University Message-ID: <91qerv$gu4$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Alexandra wrote: : Message BLACKLISTED : : Thank for you help ! : Are you saying that you tried to place a telephone call with VMS C-Kermit and you received the message "BLACKLISTED"? That's a message from the modem. It has made too many calls or call attempts, according to PTT rules or somesuch, and is now prohibited from making any more calls for a while. It's not a Kermit problem, it's a feature of your telephone service provider and your modem. - Frank From news@columbia.edu Thu Dec 21 03:12:21 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id DAA29359 for ; Thu, 21 Dec 2000 03:12:20 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id DAA23078 for ; Thu, 21 Dec 2000 03:12:20 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id CAA04411 for kermit.misc@watsun.cc.columbia.edu; Thu, 21 Dec 2000 02:45:58 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: dkcombs@panix.com (David Combs) Subject: re "log debug" ==> 50mb! How to get it to you? Date: 21 Dec 2000 02:44:29 -0500 Organization: PANIX -- Public Access Networks Corp. Message-ID: <91scct$rj$1@panix2.panix.com> To: kermit.misc@columbia.edu Frank, you asked me to run a failing kermit download via 'log debug' and 'log packets'. Last night it came to 50mb (on a download that worked). Just how am I supposed to get this 50mb file to you? I sure can't easily upload it to panix; not only is the big file the size of an emacs-tar-gz, ie many hours of uploading (assuming it works at all!). I could send you a tape -- but my tape drive is of a type you've likely never heard of -- the Ecrix VXA-1 (has its own format for how tape gets written.) ----------------- ----------------- IDEA: Would be neat if you had some filter program, maybe in perl, that would scan through that humongous file, and outuput only the parts that show packet errors, etc. Or via two passes, first pass deciding what lines and linenum-ranges you want, etc, and then after done, run through, in a 2nd pass, it outputs those "interesting" sections. --- I sent mail yesterday saying everything seemed to wort ok ---well, not so. On some files, yes, on other ones, no. David From news@columbia.edu Thu Dec 21 09:12:21 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id JAA02414 for ; Thu, 21 Dec 2000 09:12:20 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id JAA17418 for ; Thu, 21 Dec 2000 09:12:20 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id JAA19624 for kermit.misc@watsun.cc.columbia.edu; Thu, 21 Dec 2000 09:12:26 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: re "log debug" ==> 50mb! How to get it to you? Date: 21 Dec 2000 14:12:24 GMT Organization: Columbia University Message-ID: <91t348$j56$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <91scct$rj$1@panix2.panix.com>, David Combs wrote: : Frank, you asked me to run a failing kermit download : via 'log debug' and 'log packets'. : : Last night it came to 50mb (on a download that worked). : Just how am I supposed to get this 50mb file to you? : Why send a debug log if the transfer worked? : Would be neat if you had some filter program, maybe : in perl, that would scan through that humongous file, : and outuput only the parts that show packet errors, : etc. : There's always grep. And you can use it, or any other standard i/o filter of your choice up front in the first place, to keep the file's size more manageable: http://www.columbia.edu/kermit/ckermit2.html#x1.12 : I sent mail yesterday saying everything seemed : to wort ok ---well, not so. On some files, : yes, on other ones, no. : Is it predictable? Is there a pattern? Do the files have any characteristics that correlate with success and failure? Compressed / binary / text / etc? - Frank From news@columbia.edu Thu Dec 21 16:12:22 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id QAA15685 for ; Thu, 21 Dec 2000 16:12:21 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA16808 for ; Thu, 21 Dec 2000 16:12:21 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id PAA06385 for kermit.misc@watsun.cc.columbia.edu; Thu, 21 Dec 2000 15:45:14 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Sec. Vulnerability in kermit(1) Date: 21 Dec 2000 20:45:11 GMT Organization: Columbia University Message-ID: <91tq4n$67e$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <91tmo8$f0r$2@web1.cup.hp.com>, Security Alert wrote: : ---------------------------------------------------------------------- : HEWLETT-PACKARD COMPANY SECURITY BULLETIN: #0135, 21 Dec '00 : ---------------------------------------------------------------------- : ISSUE: Kermit communications software contains a buffer overflow. : This same problem was also reported to Linux Bugtraq a while back. Like many long-lived programs, C-Kermit contains its share of sprintf's, strcpy's, etc. An extensive audit was performed after C-Kermit 7.0 was released in January 2000 and the next release, 7.1, has all known memory leaks and buffer vulnerabilities plugged. While it is advisable to patch the current release, the real solution to this problem is to download and test C-Kermit 7.1 Alpha.01, which was announced here two weeks ago. You can find it here: http://www.columbia.edu/kermit/ck71.txt and when the testing phase over, to install it in place of C-Kermit 6.0, which is what /bin/kermit is today on HP-UX 10.00 and later. C-Kermit 7.1 also has hundreds of other improvements and new features listed here (C-Kermit 7.0): http://www.columbia.edu/kermit/ckermit.html and here (C-Kermit 7.1): http://www.columbia.edu/kermit/ck71.html Frank da Cruz The Kermit Project Columbia University http://www.columbia.edu/kermit/ From news@columbia.edu Fri Dec 22 03:42:24 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id DAA10033 for ; Fri, 22 Dec 2000 03:42:24 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id DAA15772 for ; Fri, 22 Dec 2000 03:42:23 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id DAA03049 for kermit.misc@watsun.cc.columbia.edu; Fri, 22 Dec 2000 03:25:00 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: dkcombs@panix.com (David Combs) Subject: Re: re "log debug" ==> 50mb! How to get it to you? Date: 22 Dec 2000 08:23:29 GMT Organization: Public Access Networks Corp. Message-ID: <91v321$d9q$1@news.panix.com> To: kermit.misc@columbia.edu In article <91t348$j56$1@newsmaster.cc.columbia.edu>, Frank da Cruz wrote: >In article <91scct$rj$1@panix2.panix.com>, >David Combs wrote: >: Frank, you asked me to run a failing kermit download >: via 'log debug' and 'log packets'. >: >: Last night it came to 50mb (on a download that worked). >: Just how am I supposed to get this 50mb file to you? >: >Why send a debug log if the transfer worked? It worked for THAT file. But it fails for certain OTHER files. > >: Would be neat if you had some filter program, maybe >: in perl, that would scan through that humongous file, >: and outuput only the parts that show packet errors, >: etc. >: >There's always grep. And you can use it, or any other >standard i/o filter of your choice up front in the first >place, to keep the file's size more manageable: > > http://www.columbia.edu/kermit/ckermit2.html#x1.12 > >: I sent mail yesterday saying everything seemed >: to wort ok ---well, not so. On some files, >: yes, on other ones, no. >: >Is it predictable? Is there a pattern? Do the files have >any characteristics that correlate with success and failure? >Compressed / binary / text / etc? > Well, have been really busy today, haven't been able to get on to re-installing that .gz-file (bigish) for which it does NOT work. >- Frank But, question still remains -- when I (soon) DO have one of these huge debug.log files to send to you, how can I reduce it WAY down to the parts YOU would want to look at. You suggested grep, but what regex do I look FOR? And, once you give me the regex to search for, what do you want as context FOR that line? That is, how many lines before, how many after? And if there are more than one error, how many do you want me to send to you? ---- Am emailing this now -- will send more when I have got something that does NOT transfer. Thanks for the attention you have been giving to me! NOTE: Oh, I've been getting into your book a bit, and the problem might well be the modem settings, for this "strange" panix.com ISP I use. David From news@columbia.edu Fri Dec 22 09:42:24 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id JAA22159 for ; Fri, 22 Dec 2000 09:42:23 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id JAA18298 for ; Fri, 22 Dec 2000 09:42:23 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id JAA07204 for kermit.misc@watsun.cc.columbia.edu; Fri, 22 Dec 2000 09:31:10 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: re "log debug" ==> 50mb! How to get it to you? Date: 22 Dec 2000 14:31:08 GMT Organization: Columbia University Message-ID: <91vojc$712$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <91v321$d9q$1@news.panix.com>, David Combs wrote: : ... : But, question still remains -- when I (soon) DO have : one of these huge debug.log files to send to you, : how can I reduce it WAY down to the parts YOU would : want to look at. : The normal troubleshooting procedure is to reduce the problem to the minimum it takes to reproduce it. See if you can reproduce it with a smaller file. Also, if you are not using C-Kermit 7.1.199 Alpha.01 (I think you are), please use it, since it produces much better- organized (and more compact) debug logs. If the problem only occurs with huge files, then a debug log is probably useless anyway. In that case the problem might be something like lack of space on the receiving end, or some kind of interference with the Kermit process on Panix, e.g. from some kind of resource monitor. : NOTE: Oh, I've been getting into your book a bit, : and the problem might well be the modem settings, : for this "strange" panix.com ISP I use. : You said at first that they required special modem settings. Maybe there is a reason for that. - Frank From news@columbia.edu Fri Dec 22 17:12:24 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id RAA27253 for ; Fri, 22 Dec 2000 17:12:24 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id RAA16089 for ; Fri, 22 Dec 2000 17:12:23 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id RAA26019 for kermit.misc@watsun.cc.columbia.edu; Fri, 22 Dec 2000 17:02:07 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: C-Kermit 7.1 docs now on Web Date: 22 Dec 2000 22:02:06 GMT Organization: Columbia University Message-ID: <920j0u$pd1$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu The documentation for C-Kermit 7.1 Alpha.01, announced here for testing on December 8th: http://www.columbia.edu/kermit/ck71.html is now available on the Web in HTML format, formatted, searchable, and fully cross-linked: http://www.columbia.edu/kermit/ckermit3.html Previously only Chapter 3 was available in the form; now it has been incorporated into the rest of the document. The previous text-only file, ckc71.txt, will no longer be updated. If you need a plain-text version, use your browser to save the HTML version as plain text. - Frank From news@columbia.edu Sat Dec 23 14:42:27 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id OAA26831 for ; Sat, 23 Dec 2000 14:42:26 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA17595 for ; Sat, 23 Dec 2000 14:42:26 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id OAA14349 for kermit.misc@watsun.cc.columbia.edu; Sat, 23 Dec 2000 14:34:30 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Transfering binary files with kermi Date: 23 Dec 2000 19:34:30 GMT Organization: Columbia University Message-ID: <922uo6$e0b$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , wrote: : Can anyone tell me what kind of flag should be set so as to : transfer binary files. I trying with the default settings but at reception : the files are always corrupted : There are many Kermit programs, and many versions of each: http://www.columbia.edu/kermit/ Some of these transfer files in text mode by default. The commands vary from program to program and sometimes version to version, but in general it is sufficient to tell the sending Kermit program: set file type binary Sometimes it is also necessary to give this command (or its equivalent) to the receiving program too, especially if it is old, primitive, or a third- party Kermit implementation. - Frank From news@columbia.edu Thu Dec 28 13:12:35 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id NAA25824 for ; Thu, 28 Dec 2000 13:12:34 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA10277 for ; Thu, 28 Dec 2000 13:12:33 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id MAA21043 for kermit.misc@watsun.cc.columbia.edu; Thu, 28 Dec 2000 12:45:27 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f Message-ID: <3A4B7D9A.FE846022@srv.net> From: Kevin Handy Organization: Software Solutions, Inc Subject: WinAPP error Date: Thu, 28 Dec 2000 10:51:22 -0700 To: kermit.misc@columbia.edu I have a customer that uses ckermit-95 on a Windows 98 system that is seeing a lot of WINAPP errors, possibly associated with WINAMP running at the same time. They are telneting 'set host xxx.xxx.xxx.xxx' into a VAX/VMS system using UCX. Are there any known issues that could be causing this (sorry about no more detail about the error, but they are at a remote site and have already cleared/rebooted before they call me to complain, grrr). From news@columbia.edu Thu Dec 28 14:12:35 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id OAA16793 for ; Thu, 28 Dec 2000 14:12:34 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA18564 for ; Thu, 28 Dec 2000 14:12:34 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id NAA24073 for kermit.misc@watsun.cc.columbia.edu; Thu, 28 Dec 2000 13:49:10 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: how to trace telnet packages? Date: 28 Dec 2000 18:49:07 GMT Organization: Columbia University Message-ID: <92g1v3$ng7$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , James Carlson wrote: : ... TELNET just gives a text-mode connection to the remote : system. If the remote system demands a password, then you'll see both : that prompt and the typed password itself on the wire. : : This is why sane people use ssh nowadays. Using text-mode passwords : on a network is just foolish. : The choices aren't ssh versus no security at all. SSH V1 is a proprietary protocol; Telnet is the Internet standard for making terminal connections. There are plenty of secure Telnet clients and servers: http://www.columbia.edu/kermit/telnetd.html and in fact this is among the most active areas in the IETF: http://www.columbia.edu/kermit/standards.html I expect that most major UNIX vendors, including IBM, will be following the IETF Telnet security standards, and will include secure Telnet servers in future releases of their operating systems. Ditto for FTP and other services. - Frank From news@columbia.edu Thu Dec 28 15:12:34 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id PAA20728 for ; Thu, 28 Dec 2000 15:12:34 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA26942 for ; Thu, 28 Dec 2000 15:12:33 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id OAA26627 for kermit.misc@watsun.cc.columbia.edu; Thu, 28 Dec 2000 14:50:52 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: A wish for the FTP-client Date: 28 Dec 2000 19:50:51 GMT Organization: Columbia University Message-ID: <92g5ir$q00$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <92g302$65t$1@localhost.localdomain>, Igor Sobrado wrote: : I just have tried the FTP-client provided by the first alpha release : of C-Kermit 7.1.199 and I found a possible improvement to it. I think : it should be possible to use the FTP-server MDTM command (a command : that shows the last modification time of a file) to recover in the : local copies the original date of the files retrieved. : : Between the three dates provided by Unix (creation, modification and : last access) the modification time is probably the most important : time for the final users. : : If this improvement is accepted, a requeriment that should be : considered is that some FTP-servers have y2k bugs yet and it can : affect to files modified after december 1999. : I looked into this, and it would be easy enough to do, except for one thing: the lack of a critical API. When you send MDTM to the server, it sends back a string like this: 20001228143521 representing 28 December 2000 14:35:21 (UTC/GMT). It is quite easy to convert this to a struct tm. But to change a file's date (with utime() or utimes()) requires a time_t, not a struct tm. How do you convert a struct tm to a time_t in a reliable way? -- i.e. without writing code to count days, months, years, leap years, leap seconds, and all the rest, taking each machine's architecture into account. I'm sure I must have overlooked something obvious -- feel free to embarrass me. - Frank From news@columbia.edu Thu Dec 28 15:42:35 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id PAA22527 for ; Thu, 28 Dec 2000 15:42:35 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA01199 for ; Thu, 28 Dec 2000 15:42:34 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id PAA28135 for kermit.misc@watsun.cc.columbia.edu; Thu, 28 Dec 2000 15:31:05 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f Message-ID: <3A4BA47C.53C64EBA@srv.net> From: Kevin Handy Organization: Software Solutions, Inc Subject: Re: A wish for the FTP-client Date: Thu, 28 Dec 2000 13:37:16 -0700 To: kermit.misc@columbia.edu Frank da Cruz wrote: > > In article <92g302$65t$1@localhost.localdomain>, > > I looked into this, and it would be easy enough to do, except for one > thing: the lack of a critical API. When you send MDTM to > the server, it sends back a string like this: > > 20001228143521 > > representing 28 December 2000 14:35:21 (UTC/GMT). It is quite easy to > convert this to a struct tm. But to change a file's date (with utime() > or utimes()) requires a time_t, not a struct tm. How do you convert a > struct tm to a time_t in a reliable way? -- i.e. without writing code to > count days, months, years, leap years, leap seconds, and all the rest, > taking each machine's architecture into account. I'm sure I must have > overlooked something obvious -- feel free to embarrass me. Under *nix, I believe the function to use is mktime time_t mktime(struct tm *timeptr) From news@columbia.edu Thu Dec 28 16:12:35 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id QAA28284 for ; Thu, 28 Dec 2000 16:12:34 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA05452 for ; Thu, 28 Dec 2000 16:12:33 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id PAA28982 for kermit.misc@watsun.cc.columbia.edu; Thu, 28 Dec 2000 15:50:28 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: A wish for the FTP-client Date: 28 Dec 2000 20:50:23 GMT Organization: Columbia University Message-ID: <92g92f$s9j$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <3A4BA47C.53C64EBA@srv.net>, Kevin Handy wrote: : Frank da Cruz wrote: : > ... How do you convert a : > struct tm to a time_t in a reliable way? -- i.e. without writing code to : > count days, months, years, leap years, leap seconds, and all the rest, : > taking each machine's architecture into account. I'm sure I must have : > overlooked something obvious -- feel free to embarrass me. : : Under *nix, I believe the function to use is mktime : : time_t mktime(struct tm *timeptr) : 1. The first place I looked (SunOS) doesn't have it. However, must other UNIX OS's do have it. But... 2. Doesn't do what you want. "In addition to computing the calendar time, mktime() normalizes the supplied tm structure" -- applies timezone conversions, etc. The problem there is, of course, we don't know, and have no way to find out, the server's timezone, and even if we knew it, what the rules are to convert to our own. The struct tm is *already* in GMT/UTC, and should not be converted to it again. Thus the resulting file date won't be what you want. I think the object of copying the server's MDTM is so update can work in both directions. If we use mktime(), I think the result will have up to 24 hours of randomness added or subtracted. Am I missing something? - Frank From news@columbia.edu Thu Dec 28 17:12:34 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id RAA11865 for ; Thu, 28 Dec 2000 17:12:34 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id RAA13264 for ; Thu, 28 Dec 2000 17:12:33 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id RAA02272 for kermit.misc@watsun.cc.columbia.edu; Thu, 28 Dec 2000 17:12:47 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: A wish for the FTP-client Date: 28 Dec 2000 22:12:46 GMT Organization: Columbia University Message-ID: <92gdsu$26u$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <5VP2SCqS3328@cc.usu.edu>, Joe Doupnik wrote: : In article <92g92f$s9j$1@newsmaster.cc.columbia.edu>, : fdc@watsun.cc.columbia.edu (Frank da Cruz) writes: : > "... : > mktime() normalizes the supplied tm structure" -- applies timezone : > conversions, etc. The problem there is, of course, we don't know, and : > have no way to find out, the server's timezone, and even if we knew it, : > what the rules are to convert to our own. The struct tm is *already* in : > GMT/UTC, and should not be converted to it again. : > : > Thus the resulting file date won't be what you want. I think the object : > of copying the server's MDTM is so update can work in both directions. If : > we use mktime(), I think the result will have up to 24 hours of randomness : > added or subtracted. Am I missing something? : : I face this problem daily, at 0300 during mirroring operations. As : Frank notes well, TZ material makes a mess of trying to reproduce UTC stamps : from FTP information. What I do, and what works reasonably well, is use what : FTP itself reports in a LIST command (parse according to remote server : syntax) which is what it thinks the local time/date of the file is. I then : make the client side report the same time/date at user level. This makes : local and remote systems "appear" to yield identical file listings. : Given the ability to parse an "ls -l" listing, this approach works great when (a) client and server are in the same timezone, or (b) the client knows what timezone the server is in and knows how to "pre-unadjust". But in the general case, the client has no clue as to the server's timezone or daylight savings rules, and therefore hasn't a prayer of compensating for mktime()'s adjustments. Also, parsing LIST responses is not a general solution since the server might not be UNIX, or might be running some kind of "improved" ls, or whatever. In truth, FTP protocol and UNIX APIs leave a lot to be desired, especially when the holes coincide. - Frank From news@columbia.edu Thu Dec 28 17:12:35 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id RAA14835 for ; Thu, 28 Dec 2000 17:12:34 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id RAA13267 for ; Thu, 28 Dec 2000 17:12:34 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id RAA01925 for kermit.misc@watsun.cc.columbia.edu; Thu, 28 Dec 2000 17:03:12 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jrd@cc.usu.edu (Joe Doupnik) Subject: Re: A wish for the FTP-client Message-ID: <5VP2SCqS3328@cc.usu.edu> Date: 28 Dec 00 14:49:14 MDT Organization: Utah State University To: kermit.misc@columbia.edu In article <92g92f$s9j$1@newsmaster.cc.columbia.edu>, fdc@watsun.cc.columbia.edu (Frank da Cruz) writes: > In article <3A4BA47C.53C64EBA@srv.net>, Kevin Handy wrote: > : Frank da Cruz wrote: > : > ... How do you convert a > : > struct tm to a time_t in a reliable way? -- i.e. without writing code to > : > count days, months, years, leap years, leap seconds, and all the rest, > : > taking each machine's architecture into account. I'm sure I must have > : > overlooked something obvious -- feel free to embarrass me. > : > : Under *nix, I believe the function to use is mktime > : > : time_t mktime(struct tm *timeptr) > : > 1. The first place I looked (SunOS) doesn't have it. However, must other > UNIX OS's do have it. But... > > 2. Doesn't do what you want. "In addition to computing the calendar time, > mktime() normalizes the supplied tm structure" -- applies timezone > conversions, etc. The problem there is, of course, we don't know, and > have no way to find out, the server's timezone, and even if we knew it, > what the rules are to convert to our own. The struct tm is *already* in > GMT/UTC, and should not be converted to it again. > > Thus the resulting file date won't be what you want. I think the object > of copying the server's MDTM is so update can work in both directions. If > we use mktime(), I think the result will have up to 24 hours of randomness > added or subtracted. Am I missing something? > > - Frank --------- I face this problem daily, at 0300 during mirroring operations. As Frank notes well, TZ material makes a mess of trying to reproduce UTC stamps from FTP information. What I do, and what works reasonably well, is use what FTP itself reports in a LIST command (parse according to remote server syntax) which is what it thinks the local time/date of the file is. I then make the client side report the same time/date at user level. This makes local and remote systems "appear" to yield identical file listings. Unix plays a nasty role here were its reporting of time/date varies with the age of the file, at least as seen in ls -l style listings. Thus my local files are readjusted to match. The +/- one day ambiguity is just something to live with. And how do I live with it without re-moving huge archives? I first restamp time on files with the same name and length, and only then consider files which differ in name and length. Yes, that is a compromise subject to errors when the length does not change. The bottom line? FTP is designed to talk people to people, not machine to machine. To do machine to machine work we invoke formal RPC style schemes, such as NFS, NetWare, Lan Manager and so on. I think my description of source to object is clear enough (for people). If we use FTP LIST then we can make client and server yield the same user-level timestamps, but there will be shifts from TZ change effects. Joe D. From news@columbia.edu Thu Dec 28 19:12:35 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id TAA15203 for ; Thu, 28 Dec 2000 19:12:34 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id TAA21274 for ; Thu, 28 Dec 2000 19:12:34 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id TAA06508 for kermit.misc@watsun.cc.columbia.edu; Thu, 28 Dec 2000 19:03:14 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jrd@cc.usu.edu (Joe Doupnik) Subject: Re: A wish for the FTP-client Message-ID: Date: 28 Dec 00 16:36:12 MDT Organization: Utah State University To: kermit.misc@columbia.edu In article <92gdsu$26u$1@newsmaster.cc.columbia.edu>, fdc@watsun.cc.columbia.edu (Frank da Cruz) writes: > In article <5VP2SCqS3328@cc.usu.edu>, Joe Doupnik wrote: > : In article <92g92f$s9j$1@newsmaster.cc.columbia.edu>, > : fdc@watsun.cc.columbia.edu (Frank da Cruz) writes: > : > "... > : > mktime() normalizes the supplied tm structure" -- applies timezone > : > conversions, etc. The problem there is, of course, we don't know, and > : > have no way to find out, the server's timezone, and even if we knew it, > : > what the rules are to convert to our own. The struct tm is *already* in > : > GMT/UTC, and should not be converted to it again. > : > > : > Thus the resulting file date won't be what you want. I think the object > : > of copying the server's MDTM is so update can work in both directions. If > : > we use mktime(), I think the result will have up to 24 hours of randomness > : > added or subtracted. Am I missing something? > : > : I face this problem daily, at 0300 during mirroring operations. As > : Frank notes well, TZ material makes a mess of trying to reproduce UTC stamps > : from FTP information. What I do, and what works reasonably well, is use what > : FTP itself reports in a LIST command (parse according to remote server > : syntax) which is what it thinks the local time/date of the file is. I then > : make the client side report the same time/date at user level. This makes > : local and remote systems "appear" to yield identical file listings. > : > Given the ability to parse an "ls -l" listing, this approach works great when > (a) client and server are in the same timezone, or (b) the client knows what > timezone the server is in and knows how to "pre-unadjust". But in the > general case, the client has no clue as to the server's timezone or daylight > savings rules, and therefore hasn't a prayer of compensating for mktime()'s > adjustments. Also, parsing LIST responses is not a general solution since > the server might not be UNIX, or might be running some kind of "improved" > ls, or whatever. > > In truth, FTP protocol and UNIX APIs leave a lot to be desired, especially > when the holes coincide. > > - Frank --------- Which is what I thought I was saying too. FTP is setup to deal with user level things, which means seeing time/date in local form rather than as UTC. And it means viewing LIST command output in the format chosen by the server machine (and that format can be anything). These are all for the eyes of humans, as is the result of "quote MDTM filename." It's not holes so much as by design, and designed with good sense to realize that dissimilar o/s' are horribly mismatched in file system details and TZ material is worse yet. Folks do have the impression that file systems can be merged in some sense so that client and server share the same nuances of what a file is. Alas, we know that problem is a total mess in the general case. That is why I mentioned the file export/import RPC business because the nuances are better preserved and translated in that machine-level work than in user-level FTP work. Clearly, better does not mean perfect, often very far from perfect. So, we come down to asking what is more important: the file contents and its name (or a close approximation), or that plus all the metadata about what the file is. Most of us are happy with the first choice, and for that FTP does work reasonably well (and hence the FTP support in CKermit does fine). And hopefully we can quietly forget about files which are not simple sequences of bytes. Joe D. From news@columbia.edu Fri Dec 29 07:42:35 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id HAA20734 for ; Fri, 29 Dec 2000 07:42:35 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id HAA16674 for ; Fri, 29 Dec 2000 07:42:35 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id HAA24572 for kermit.misc@watsun.cc.columbia.edu; Fri, 29 Dec 2000 07:30:41 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Igor Sobrado Subject: Re: A wish for the FTP-client Date: 29 Dec 2000 12:29:19 GMT Organization: Universidad de Oviedo Message-ID: <92i02v$m4u$1@news01.si.uniovi.es> To: kermit.misc@columbia.edu Frank da Cruz wrote: > In article <3A4BA47C.53C64EBA@srv.net>, Kevin Handy wrote: > : Frank da Cruz wrote: > : > ... How do you convert a > : > struct tm to a time_t in a reliable way? -- i.e. without writing code to > : > count days, months, years, leap years, leap seconds, and all the rest, > : > taking each machine's architecture into account. I'm sure I must have > : > overlooked something obvious -- feel free to embarrass me. I agree with you, C-Kermit is really portable to a lot of different machine architectures and this important feature should not be ignored when developers improve its functionality. > : Under *nix, I believe the function to use is mktime > : > : time_t mktime(struct tm *timeptr) It is right, I think it is the only way to get it in a portable way. > 1. The first place I looked (SunOS) doesn't have it. However, must other > UNIX OS's do have it. But... It should. At least in recent releases of SunOS, a description of this function can be found in mktime(3C), that is, in the C Library Functions section of the manual. Probably you are looking in a workstation where Solaris is not fully installed (perhaps a final user installation, not a developer one). > 2. Doesn't do what you want. "In addition to computing the calendar time, > mktime() normalizes the supplied tm structure" -- applies timezone > conversions, etc. The problem there is, of course, we don't know, and > have no way to find out, the server's timezone, and even if we knew it, > what the rules are to convert to our own. The struct tm is *already* in > GMT/UTC, and should not be converted to it again. > > Thus the resulting file date won't be what you want. I think the object > of copying the server's MDTM is so update can work in both directions. If > we use mktime(), I think the result will have up to 24 hours of randomness > added or subtracted. Am I missing something? As you noted, the FTP-server provides the time in UTC/GMT, all Unix boxes work with that standard convention. The second (incorrect) conversion to UTC is made locally by the host where C-Kermit is installed because mktime(3C) supposes that the tm structure is in local format, not it UTC. Why not calculate the UTC offset for the time (as if it is in local format) and "correct" the time either before converting it to a time_t structure or after that? Best regards, Igor. -- Igor Sobrado, UK34436 - sobrado@acm.org From news@columbia.edu Fri Dec 29 11:42:36 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id LAA00805 for ; Fri, 29 Dec 2000 11:42:36 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA11632 for ; Fri, 29 Dec 2000 11:42:35 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id LAA04056 for kermit.misc@watsun.cc.columbia.edu; Fri, 29 Dec 2000 11:28:15 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Converting struct tm to time_t Date: 29 Dec 2000 16:28:13 GMT Organization: Columbia University Message-ID: <92ie2t$3ul$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <92i02v$m4u$1@news01.si.uniovi.es>, Igor Sobrado wrote: : Frank da Cruz wrote: : > In article <3A4BA47C.53C64EBA@srv.net>, Kevin Handy wrote: : > : Frank da Cruz wrote (about mktime()): : > : > 2. Doesn't do what you want. "In addition to computing the calendar : > time, mktime() normalizes the supplied tm structure" -- applies : > timezone conversions, etc. The problem there is, of course, we : > don't know, and have no way to find out, the server's timezone, and : > even if we knew it, what the rules are to convert to our own. The : > struct tm is *already* in GMT/UTC, and should not be converted to : > it again. : > : > Thus the resulting file date won't be what you want. I think the : > object of copying the server's MDTM is so update can work in both : > directions. If we use mktime(), I think the result will have up to 24 : > hours of randomness added or subtracted. Am I missing something? : : As you noted, the FTP-server provides the time in UTC/GMT, all : Unix boxes work with that standard convention. The second (incorrect) : conversion to UTC is made locally by the host where C-Kermit : is installed because mktime(3C) supposes that the tm structure is : in local format, not it UTC. Why not calculate the UTC offset for : the time (as if it is in local format) and "correct" the time : either before converting it to a time_t structure or after that? : This leads only to more difficulties. The time-related APIs are the most twisted and crazed ones in UNIX, and vary significantly from platform to platform and version to version of the OS, C library, and compiler and header files. How do you find out the timezone or GMT/UTC offset? Is it an API call (gettimeofday() or what?), a global long, ulong, int, short, etc? A global struct timezone? And/or is it extern time_t tzoffset? A member of struct tm? Obtained how? And what are the units? And can you believe them? Do they or do they not account for daylight savings time? If not, how do we compensate? Here's a typical man page quote: The external long variable timezone contains the difference, in seconds, between GMT and local standard time (in PST, timezone is 8*60*60). If this difference is not a constant, timezone will contain the value of the offset on January 1, 1970 at 00:00 GMT. Since this is not necessarily the same as the value at some particular time, the time in question should be converted to a tm structure using localtime() and the tm_gmtoff field of that structure should be used. The external variable daylight is non-zero if and only if Day- light Savings Time would be in effect within the current time zone at some time; it does not indicate whether Day- light Savings Time is currently in effect. This would not be encouraging even if it applied to every platform, but it's only for one release of one OS. In many OS's (e.g. BSDI) the variables and structs stay the same but their meaning changes from one release to the next. In other OS's the structs and variables change, the header files move, and every other manner of obstacle can be expected. In fact, I can try to program all this, but to make it compile, link, and run correctly on hundreds of platforms is not going to be pleasant, as you can already tell by looking at the other time-related code in cku[ft]io.c. If anybody has any helpful or simplifying suggestions, I'd be glad to hear them. The question is: How to convert a struct tm (which already is expressed in GMT) to a time_t which expresses the clock time in GMT (not local time) in a way that is reliable (works in any timezone and takes daylight savings into account) and is portable to as many UNIX platforms as possible (and how to do the same things on the platforms to which this portability does not extend)? The answer (as noted previously) is not mktime(), since it presumes its argument is in local time, not GMT. I'll copy this to comp.unix.programmer. - Frank From news@columbia.edu Fri Dec 29 12:42:36 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id MAA12269 for ; Fri, 29 Dec 2000 12:42:36 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA19887 for ; Fri, 29 Dec 2000 12:42:35 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id MAA06772 for kermit.misc@watsun.cc.columbia.edu; Fri, 29 Dec 2000 12:31:26 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Russ Allbery Subject: Re: Converting struct tm to time_t Date: 29 Dec 2000 09:23:59 -0800 Organization: The Eyrie Message-ID: To: kermit.misc@columbia.edu In comp.unix.programmer, Frank da Cruz writes: > If anybody has any helpful or simplifying suggestions, I'd be glad to > hear them. The question is: > How to convert a struct tm (which already is expressed in GMT) to > a time_t which expresses the clock time in GMT (not local time) in > a way that is reliable (works in any timezone and takes daylight > savings into account) and is portable to as many UNIX platforms as > possible (and how to do the same things on the platforms to which > this portability does not extend)? The answer (as noted previously) > is not mktime(), since it presumes its argument is in local time, > not GMT. > I'll copy this to comp.unix.programmer. INN currently uses this, which seems to work fairly well. I'm the author of this code; you can consider it to be in the public domain. Note that this code requires that time_t be an arithmetic type, which may not work properly on some non-UNIX platforms (it could presumably be replaced by a long or something). /* The number of days in each month. */ static const int MONTHDAYS[] = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; /* Whether a given year is a leap year. */ #define ISLEAP(year) \ (((year) % 4) == 0 && (((year) % 100) != 0 || ((year) % 400) == 0)) /* ** Given a struct tm representing a calendar time in UTC, convert it to ** seconds since epoch. Returns (time_t) -1 if the time is not ** convertable. Note that this function does not canonicalize the provided ** struct tm, nor does it allow out of range values or years before 1970. */ static time_t mktime_utc(const struct tm *tm) { time_t result = 0; int i; /* We do allow some ill-formed dates, but we don't do anything special with them and our callers really shouldn't pass them to us. Do explicitly disallow the ones that would cause invalid array accesses or other algorithm problems. */ if (tm->tm_mon < 0 || tm->tm_mon > 11 || tm->tm_year < 70) return (time_t) -1; /* Convert to a time_t. */ for (i = 1970; i < tm->tm_year + 1900; i++) result += 365 + ISLEAP(i); for (i = 0; i < tm->tm_mon; i++) result += MONTHDAYS[i]; if (tm->tm_mon > 1 && ISLEAP(tm->tm_year + 1900)) result++; result = 24 * (result + tm->tm_mday - 1) + tm->tm_hour; result = 60 * result + tm->tm_min; result = 60 * result + tm->tm_sec; return result; } -- Russ Allbery (rra@stanford.edu) From news@columbia.edu Fri Dec 29 13:12:36 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id NAA18333 for ; Fri, 29 Dec 2000 13:12:35 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA24179 for ; Fri, 29 Dec 2000 13:12:35 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id NAA08497 for kermit.misc@watsun.cc.columbia.edu; Fri, 29 Dec 2000 13:10:44 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Converting struct tm to time_t Date: 29 Dec 2000 18:10:43 GMT Organization: Columbia University Message-ID: <92ik33$89f$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Russ Allbery wrote: : INN currently uses [the following], which seems to work fairly well. I'm : the author of this code; you can consider it to be in the public domain. : Note that this code requires that time_t be an arithmetic type, which may : not work properly on some non-UNIX platforms (it could presumably be : replaced by a long or something). : Thanks. Yes, I always knew I could do the day/month/year/time arithmetic myself, and already do this kind of thing in other parts of the Kermit code, but not for interfacing with system APIs, e.g. see: http://www.columbia.edu/kermit/case17.html As you say, your code does presume a few things about what time_t is: . An integer (in the mathematical sense), unsigned. . The number of seconds since 1 Jan 1970 0:00:00. If that is always true, fine. Of course the whole purpose of having, and making us use, fabrications like time_t is to hide all that from us. Who knows what our UNIX vendors will come up with as we approach the 2038 barrier that will break these assumptions. Anyway, I suppose it's worth a shot. In the meantime, too bad whoever thought of mktime() didn't make it do just one thing (in the UNIX spirit), instead of two things at once, without allowing those things to be done separately. Another solution that had occurred to me was to compare the localtime() and gmtime() results for the same clock time, figure out the GMT/UTC offset, and deduct it to the target struct tm before passing it to mktime(), but gmtime() and localtime() are not among the most portable of UNIX APIs, plus I don't know how consistent their semantics are across platforms, e.g. if you give them a seconds or minutes field greater than 60 or less than 0, etc. Thanks again. - Frank From news@columbia.edu Fri Dec 29 13:42:37 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id NAA23770 for ; Fri, 29 Dec 2000 13:42:37 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA28314 for ; Fri, 29 Dec 2000 13:42:37 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id NAA08997 for kermit.misc@watsun.cc.columbia.edu; Fri, 29 Dec 2000 13:25:54 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Igor Sobrado Subject: Re: Converting struct tm to time_t Date: 29 Dec 2000 18:24:36 GMT Organization: Universidad de Oviedo Message-ID: <92ikt4$q09$1@news01.si.uniovi.es> To: kermit.misc@columbia.edu In comp.protocols.kermit.misc Frank da Cruz wrote: > How to convert a struct tm (which already is expressed in GMT) to > a time_t which expresses the clock time in GMT (not local time) in > a way that is reliable (works in any timezone and takes daylight > savings into account) and is portable to as many UNIX platforms as > possible (and how to do the same things on the platforms to which > this portability does not extend)? The answer (as noted previously) > is not mktime(), since it presumes its argument is in local time, > not GMT. I am not sure about portabilityFrom news@columbia.edu Fri Dec 29 13:42:37 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id NAA03482 for ; Fri, 29 Dec 2000 13:42:37 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA28311 for ; Fri, 29 Dec 2000 13:42:36 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id NAA08908 for kermit.misc@watsun.cc.columbia.edu; Fri, 29 Dec 2000 13:21:26 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Russ Allbery Subject: Re: Converting struct tm to time_t Date: 29 Dec 2000 10:17:43 -0800 Organization: The Eyrie Message-ID: To: kermit.misc@columbia.edu In comp.unix.programmer, Frank da Cruz writes: > As you say, your code does presume a few things about what time_t is: > . An integer (in the mathematical sense), unsigned. > . The number of seconds since 1 Jan 1970 0:00:00. > If that is always true, fine. My code doesn't assume it's unsigned; it just won't generate negative time_t values. It works fine on systems with a signed time_t (basically all of them). I believe that both of these assumptions are required by POSIX; they're certainly true on every UNIX system that I've ever seen. I believe there are some Windows systems that didn't use an integral time_t, however. > Anyway, I suppose it's worth a shot. In the meantime, too bad whoever > thought of mktime() didn't make it do just one thing (in the UNIX > spirit), instead of two things at once, without allowing those things to > be done separately. I believe that mktime is an ANSI/ISO C function. ISO C has no concept in the language of time zones, only of local time. > Another solution that had occurred to me was to compare the localtime() > and gmtime() results for the same clock time, figure out the GMT/UTC > offset, and deduct it to the target struct tm before passing it to > mktime(), but gmtime() and localtime() are not among the most portable > of UNIX APIs, Really? I've never seen a Unix system without them, and was under the impression that they were introduced in the early 1980s. > plus I don't know how consistent their semantics are across platforms, > e.g. if you give them a seconds or minutes field greater than 60 or less > than 0, etc. Neither gmtime() nor localtime() take something that has a seconds or minutes field, so I assume that you're talking about mktime(). mktime()'s normalization of out-of-range values is a requirement of its definition, which I believe is in ANSI C. -- Russ Allbery (rra@stanford.edu) | mktime(3C) V +-------- time_t (UTC+offset) | | | | gmtime(3C) | V time_offset <---+ struct tm (UTC+offset) | | | V | | mktime(3C) (used to change | V MDTM time (UTC) to +---- time_t (UTC+offset+offset) local time before convert it to time_t) Hope this helps (and hope this works!), Igor. -- Igor Sobrado, UK34436 - sobrado@acm.org From news@columbia.edu Fri Dec 29 14:12:36 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id OAA29824 for ; Fri, 29 Dec 2000 14:12:36 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA02767 for ; Fri, 29 Dec 2000 14:12:35 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id NAA10202 for kermit.misc@watsun.cc.columbia.edu; Fri, 29 Dec 2000 13:55:39 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Andrew Gierth Subject: Re: Converting struct tm to time_t Date: 29 Dec 2000 18:43:29 +0000 Organization: disorganised Message-ID: <87g0j7qd9q.fsf@erlenstar.demon.co.uk> To: kermit.misc@columbia.edu >>>>> "Russ" == Russ Allbery writes: Russ> INN currently uses this, which seems to work fairly well. I'm Russ> the author of this code; you can consider it to be in the Russ> public domain. Note that this code requires that time_t be an Russ> arithmetic type, which may not work properly on some non-UNIX Russ> platforms (it could presumably be replaced by a long or Russ> something). heh. insert religious war about leap-second handling here :-) (or on second thoughts, don't) at least some systems have a timegm() function which is the UTC equivalent of mktime(). For those that don't, the straightforward calculation method is probably sufficient, though an alternative might be to do putenv("TZ=GMT0"); and then use mktime().... -- Andrew. comp.unix.programmer FAQ: see or From news@columbia.edu Fri Dec 29 14:12:36 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id OAA09150 for ; Fri, 29 Dec 2000 14:12:36 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA02770 for ; Fri, 29 Dec 2000 14:12:35 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id OAA10893 for kermit.misc@watsun.cc.columbia.edu; Fri, 29 Dec 2000 14:10:06 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Barry Margolin Subject: Re: Converting struct tm to time_t Organization: Genuity, Cambridge, MA Message-ID: <_i536.49$GV6.477@burlma1-snr2> Date: Fri, 29 Dec 2000 19:08:42 GMT To: kermit.misc@columbia.edu In article <92im31$9ii$1@newsmaster.cc.columbia.edu>, Frank da Cruz wrote: >In article , >Russ Allbery wrote: >: My code doesn't assume it's unsigned; it just won't generate negative >: time_t values. It works fine on systems with a signed time_t (basically >: all of them). >: >OK, great. > >: I believe that both of these assumptions are required by POSIX; they're >: certainly true on every UNIX system that I've ever seen. >: >But there are still lots of non-POSIX UNIXes running and I try to support >them. I believe the assumption that time_t is an integer seconds since 1/1/1970 00:00 UT has been true on all Unix systems. POSIX didn't originate it, it simply adopted the de facto standard. Unix programs that deal with time have been making this assumption for years. The only change I expect will ever happen is the size of the integer type, to deal with the Y2.036K bug. ANSI/ISO C generalized it to allow other representations, so you might not be able to get away with it on non-Unix-like systems. -- Barry Margolin, barmar@genuity.net Genuity, Burlington, MA *** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups. Please DON'T copy followups to me -- I'll assume it wasn't posted to the group. From news@columbia.edu Fri Dec 29 14:12:37 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id OAA29642 for ; Fri, 29 Dec 2000 14:12:36 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA02773 for ; Fri, 29 Dec 2000 14:12:36 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id NAA09813 for kermit.misc@watsun.cc.columbia.edu; Fri, 29 Dec 2000 13:44:50 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Converting struct tm to time_t Date: 29 Dec 2000 18:44:49 GMT Organization: Columbia University Message-ID: <92im31$9ii$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Russ Allbery wrote: : My code doesn't assume it's unsigned; it just won't generate negative : time_t values. It works fine on systems with a signed time_t (basically : all of them). : OK, great. : I believe that both of these assumptions are required by POSIX; they're : certainly true on every UNIX system that I've ever seen. : But there are still lots of non-POSIX UNIXes running and I try to support them. : > ...but gmtime() and localtime() are not among the most portable : > of UNIX APIs, : : Really? I've never seen a Unix system without them, and was under the : impression that they were introduced in the early 1980s. : I don't mean you can't find them, but that using them in portable code is often problematic -- which header files to include, where are they, what are the argument types and where do you pick up their definitions, etc. : > plus I don't know how consistent their semantics are across platforms, : > e.g. if you give them a seconds or minutes field greater than 60 or less : > than 0, etc. : : Neither gmtime() nor localtime() take something that has a seconds or : minutes field, so I assume that you're talking about mktime(). mktime()'s : normalization of out-of-range values is a requirement of its definition, : which I believe is in ANSI C. : Right, sorry, I meant mktime(). But again, just because some standard requires certain behavior doesn't make it happen, especially when some of the mktime() implementations precede the standard. Anyway, I'll muddle through, thanks again. - Frank From news@columbia.edu Fri Dec 29 15:12:36 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id PAA20263 for ; Fri, 29 Dec 2000 15:12:36 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA11326 for ; Fri, 29 Dec 2000 15:12:35 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id OAA12879 for kermit.misc@watsun.cc.columbia.edu; Fri, 29 Dec 2000 14:50:07 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Igor Sobrado Subject: Re: Converting struct tm to time_t Date: 29 Dec 2000 19:48:48 GMT Organization: Universidad de Oviedo Message-ID: <92ipr0$qsa$1@news01.si.uniovi.es> To: kermit.misc@columbia.edu In comp.protocols.kermit.misc Barry Margolin wrote: > I believe the assumption that time_t is an integer seconds since 1/1/1970 > 00:00 UT has been true on all Unix systems. POSIX didn't originate it, it > simply adopted the de facto standard. Unix programs that deal with time > have been making this assumption for years. The only change I expect will > ever happen is the size of the integer type, to deal with the Y2.036K bug. > ANSI/ISO C generalized it to allow other representations, so you might not > be able to get away with it on non-Unix-like systems. At present, we can see 64-bit Unixes in a lot of places. I do not know what sizeof(long) will return in those servers (in fact, it will depend too in the development tools used) but I agree with you in the sense that the Y2036 problem will be solved without changing time_t in the time.h header file. Best regards, Igor. -- Igor Sobrado, UK34436 - sobrado@acm.org tch From news@columbia.edu Fri Dec 29 15:42:36 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id PAA17125 for ; Fri, 29 Dec 2000 15:42:36 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA15417 for ; Fri, 29 Dec 2000 15:42:35 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id PAA15078 for kermit.misc@watsun.cc.columbia.edu; Fri, 29 Dec 2000 15:42:08 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: dmf@cs.uchicago.edu (Derek M. Flynn) Subject: Re: Converting struct tm to time_t Message-ID: Organization: The University of Chicago Date: Fri, 29 Dec 2000 20:40:39 GMT To: kermit.misc@columbia.edu Andrew Gierth wrote: > at least some systems have a timegm() function which is the UTC > equivalent of mktime(). For those that don't, the straightforward > calculation method is probably sufficient, though an alternative > might be to do putenv("TZ=GMT0"); and then use mktime().... Don't forget to call tzset() after putenv and before mktime From news@columbia.edu Fri Dec 29 16:42:36 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id QAA27520 for ; Fri, 29 Dec 2000 16:42:36 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA23647 for ; Fri, 29 Dec 2000 16:42:35 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id QAA17519 for kermit.misc@watsun.cc.columbia.edu; Fri, 29 Dec 2000 16:42:13 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Andrew Gierth Subject: Re: Converting struct tm to time_t Date: 29 Dec 2000 21:22:10 +0000 Organization: disorganised Message-ID: <87snn6q5x9.fsf@erlenstar.demon.co.uk> To: kermit.misc@columbia.edu >>>>> "Derek" == Derek M Flynn writes: > Andrew Gierth wrote: >> at least some systems have a timegm() function which is the UTC >> equivalent of mktime(). For those that don't, the straightforward >> calculation method is probably sufficient, though an alternative >> might be to do putenv("TZ=GMT0"); and then use mktime().... Derek> Don't forget to call tzset() after putenv and before mktime SUS sez this is not needed, but I think I recall some older systems where it was necessary. -- Andrew. comp.unix.programmer FAQ: see or From news@columbia.edu Fri Dec 29 18:42:36 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id SAA15538 for ; Fri, 29 Dec 2000 18:42:36 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id SAA00422 for ; Fri, 29 Dec 2000 18:42:35 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id SAA21605 for kermit.misc@watsun.cc.columbia.edu; Fri, 29 Dec 2000 18:31:27 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Russ Allbery Subject: Re: Converting struct tm to time_t Date: 29 Dec 2000 15:21:48 -0800 Organization: The Eyrie Message-ID: To: kermit.misc@columbia.edu In comp.unix.programmer, Andrew Gierth writes: >>>>>> "Russ" == Russ Allbery writes: > Russ> INN currently uses this, which seems to work fairly well. I'm > Russ> the author of this code; you can consider it to be in the > Russ> public domain. Note that this code requires that time_t be an > Russ> arithmetic type, which may not work properly on some non-UNIX > Russ> platforms (it could presumably be replaced by a long or > Russ> something). > heh. insert religious war about leap-second handling here :-) > (or on second thoughts, don't) Heh. :) The assumption is that time_t is in UTC; if it's in TAI instead, you'd have to adjust for leap seconds. -- Russ Allbery (rra@stanford.edu) From news@columbia.edu Fri Dec 29 18:42:37 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id SAA14707 for ; Fri, 29 Dec 2000 18:42:36 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id SAA00425 for ; Fri, 29 Dec 2000 18:42:36 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id SAA21602 for kermit.misc@watsun.cc.columbia.edu; Fri, 29 Dec 2000 18:31:26 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Russ Allbery Subject: Re: Converting struct tm to time_t Date: 29 Dec 2000 15:20:53 -0800 Organization: The Eyrie Message-ID: To: kermit.misc@columbia.edu In comp.unix.programmer, Frank da Cruz writes: > Russ Allbery wrote: >> Really? I've never seen a Unix system without them, and was under the >> impression that they were introduced in the early 1980s. > I don't mean you can't find them, but that using them in portable code > is often problematic -- which header files to include, where are they, > what are the argument types and where do you pick up their definitions, > etc. True. INN uses a header file called portable/time.h whose contents are: /* $Id: time.h,v 1.1 2000/10/03 01:27:13 rra Exp $ ** ** Portability wrapper around and . ** ** This header includes and as applicable, handling ** systems where one can't include both headers (per the autoconf manual). */ #ifndef PORTABLE_TIME_H #define PORTABLE_TIME_H 1 #include "config.h" #if TIME_WITH_SYS_TIME # include # include #else # if HAVE_SYS_TIME_H # include # else # include # endif #endif #endif /* PORTABLE_TIME_H */ and just includes that instead of time.h or sys/time.h. This requires that you be using autoconf and include: AC_HEADER_TIME AC_CHECK_HEADERS(sys/time.h) among your configure checks, though. > Right, sorry, I meant mktime(). But again, just because some standard > requires certain behavior doesn't make it happen, especially when some > of the mktime() implementations precede the standard. True, but I believe that the normalization function of mktime() was part of the original intent of the function. It would really surprise me to find an implementation that doesn't do that. -- Russ Allbery (rra@stanford.edu) From news@columbia.edu Fri Dec 29 21:42:38 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id VAA14352 for ; Fri, 29 Dec 2000 21:42:38 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id VAA05809 for ; Fri, 29 Dec 2000 21:42:36 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id VAA28021 for kermit.misc@watsun.cc.columbia.edu; Fri, 29 Dec 2000 21:24:43 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: r@your_host.com (cLIeNUX user) Subject: Re: Converting struct tm to time_t Date: Sat, 30 Dec 2000 02:23:17 -0000 Organization: Posted via Supernews, http://www.supernews.com Message-ID: To: kermit.misc@columbia.edu fdc@watsun.cc.columbia.edu... >In article <92i02v$m4u$1@news01.si.uniovi.es>, >Igor Sobrado wrote: >: Frank da Cruz wrote: >: > In article <3A4BA47C.53C64EBA@srv.net>, Kevin Handy wrote: >: > : Frank da Cruz wrote (about mktime()): >: > >: > 2. Doesn't do what you want. "In addition to computing the calendar >: > time, mktime() normalizes the supplied tm structure" -- applies >: > timezone conversions, etc. The problem there is, of course, we >: > don't know, and have no way to find out, the server's timezone, and >: > even if we knew it, what the rules are to convert to our own. The >: > struct tm is *already* in GMT/UTC, and should not be converted to >: > it again. >: > >: > Thus the resulting file date won't be what you want. I think the >: > object of copying the server's MDTM is so update can work in both >: > directions. If we use mktime(), I think the result will have up to 24 >: > hours of randomness added or subtracted. Am I missing something? >: >: As you noted, the FTP-server provides the time in UTC/GMT, all >: Unix boxes work with that standard convention. The second (incorrect) >: conversion to UTC is made locally by the host where C-Kermit >: is installed because mktime(3C) supposes that the tm structure is >: in local format, not it UTC. Why not calculate the UTC offset for >: the time (as if it is in local format) and "correct" the time >: either before converting it to a time_t structure or after that? >: >This leads only to more difficulties. The time-related APIs are the most >twisted and crazed ones in UNIX, and vary significantly from platform to >platform and version to version of the OS, C library, and compiler and >header files. How do you find out the timezone or GMT/UTC offset? Is it >an API call (gettimeofday() or what?), a global long, ulong, int, short, >etc? A global struct timezone? And/or is it extern time_t tzoffset? A >member of struct tm? Obtained how? And what are the units? And can you >believe them? Do they or do they not account for daylight savings time? >If not, how do we compensate? Here's a typical man page quote: > > The external long variable timezone contains the difference, > in seconds, between GMT and local standard time (in PST, > timezone is 8*60*60). If this difference is not a constant, > timezone will contain the value of the offset on January 1, > 1970 at 00:00 GMT. Since this is not necessarily the same as > the value at some particular time, the time in question > should be converted to a tm structure using localtime() and > the tm_gmtoff field of that structure should be used. The > external variable daylight is non-zero if and only if Day- > light Savings Time would be in effect within the current > time zone at some time; it does not indicate whether Day- > light Savings Time is currently in effect. > >This would not be encouraging even if it applied to every platform, >but it's only for one release of one OS. In many OS's (e.g. BSDI) the >variables and structs stay the same but their meaning changes from one >release to the next. In other OS's the structs and variables change, the >header files move, and every other manner of obstacle can be expected. > >In fact, I can try to program all this, but to make it compile, link, and >run correctly on hundreds of platforms is not going to be pleasant, as you >can already tell by looking at the other time-related code in cku[ft]io.c. > >If anybody has any helpful or simplifying suggestions, I'd be glad to >hear them. The question is: > > How to convert a struct tm (which already is expressed in GMT) to > a time_t which expresses the clock time in GMT (not local time) in > a way that is reliable (works in any timezone and takes daylight > savings into account) and is portable to as many UNIX platforms as > possible (and how to do the same things on the platforms to which > this portability does not extend)? The answer (as noted previously) > is not mktime(), since it presumes its argument is in local time, > not GMT. > >I'll copy this to comp.unix.programmer. Daylight savings is an arbitrary political phenomenon. A locale thing. Plan9 recuses itself from locale issues altogether, leaving them to the localities, with comments to the effect that no one else can cope. I don't know if Plan9 is that way about time, but it's the same issue. The individual Plan9 admins, in this case. I don't deal with the problem in my little Linux distro either. Even where the tz stuff can be found, it's horrid. I personally try to keep local non-political time on my box. And wristwatch. Oldtimers call what we have now "railroad time". Time used to be relative to Town Hall or the Cathedral or what-have-you. Technology should at this point allow us to move back toward that. Let the airlines and the railroads and networks deal with the diffs, not you and me. My-wristwatch-local time is of course a fantasy. GPS's are still a bit large for that :o) Less extreme perhaps is the idea that locale support in a systems programming language ( C ) is absurd. Plan9 mumbles something faintly derogatory about software-by-committee concerning POSIX locale stuff. Bottom line; see what the problem looks like if you leave daylight savings to the admin. Rick Hohensee www.clienux.com > >- Frank From news@columbia.edu Sat Dec 30 07:42:37 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id HAA29035 for ; Sat, 30 Dec 2000 07:42:37 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id HAA04744 for ; Sat, 30 Dec 2000 07:42:36 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id HAA20600 for kermit.misc@watsun.cc.columbia.edu; Sat, 30 Dec 2000 07:16:29 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Igor Sobrado Subject: Re: Converting struct tm to time_t Date: 30 Dec 2000 12:15:01 GMT Organization: Universidad de Oviedo Message-ID: <92kjk5$66n$1@news01.si.uniovi.es> To: kermit.misc@columbia.edu In comp.protocols.kermit.misc Andrew Gierth wrote: >>>>>> "Russ" == Russ Allbery writes: > Russ> INN currently uses this, which seems to work fairly well. I'm > Russ> the author of this code; you can consider it to be in the > Russ> public domain. Note that this code requires that time_t be an > Russ> arithmetic type, which may not work properly on some non-UNIX > Russ> platforms (it could presumably be replaced by a long or > Russ> something). > heh. insert religious war about leap-second handling here :-) > (or on second thoughts, don't) > at least some systems have a timegm() function which is the UTC > equivalent of mktime(). For those that don't, the straightforward > calculation method is probably sufficient, though an alternative > might be to do putenv("TZ=GMT0"); and then use mktime().... In my opinion that problem should not exist in the Unix world. The best alternative is to manage all the times in Coordinated Universal Time and use things like the TZ environment variable only with the library functions that show the time. In fact, this approach avoid the need to normalize the time itself allowing a correct data management in all the time-zones. In this sense, the FTP server command MDTM works as expected, providing the last modification time of a file in UTC/GMT. By the way, MDTM should be (but is not) implemented in all the FTP servers at present, but will be included in the next FTP RFC. Frank, probably this fact should be checked by C-Kermit too! Another problem, as noted by Russ Allbery is that not all the operating systems will manage time_t in the same way as Unix. But Unix manages both time_t and a struct tm at present making data manipulation more complex that it should be. Best wishes, Igor. -- Igor Sobrado, UK34436 - sobrado@acm.org From news@columbia.edu Sun Dec 31 02:12:39 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id CAA08729 for ; Sun, 31 Dec 2000 02:12:38 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id CAA24454 for ; Sun, 31 Dec 2000 02:12:38 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id BAA01923 for kermit.misc@watsun.cc.columbia.edu; Sun, 31 Dec 2000 01:53:56 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Petri Oksanen Subject: Possible typo in telnet.exe in K95 V1.1.20 Date: 30 Dec 2000 21:54:29 -0800 Organization: Extra Newsguy News Service [http://extra.newsguy.com] Message-ID: <92mhml017om@edrn.newsguy.com> To: kermit.misc@columbia.edu I have just migrated to Win2000 SP1 from Win98, and have just finished reinstalling all applications, including K95. I have K95 patched to V1.1.20, and something odd happens now when I try to start it in telnet-mode. If I just type: C:\K95> telnet Then there's no problem, but if I try: C:\K95> telnet aristotle.algonet.se I recieve the following error: ---8<--- 'k95.exe" -J aristotle.algonet.se' is not recognized as an internal or external command, operable program or batch file. ---8<--- There seems to be an extra '"' in there for some reason. It's in the telnet.exe binary, at offset 0x2053. If I replace that byte in the binary with a null value, the problem goes away. Is it just a typo, or have I missed something here? Petri Oksanen From news@columbia.edu Sun Dec 31 13:12:40 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id NAA29142 for ; Sun, 31 Dec 2000 13:12:39 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA25381 for ; Sun, 31 Dec 2000 13:12:39 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id MAA27179 for kermit.misc@watsun.cc.columbia.edu; Sun, 31 Dec 2000 12:59:58 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: dold@14.usenet.us.com Subject: Re: Possible typo in telnet.exe in K95 V1.1.20 Date: 31 Dec 2000 17:58:09 GMT Organization: Wintercreek Data Message-ID: <92ns3h$an7$1@samba.rahul.net> To: kermit.misc@columbia.edu Petri Oksanen wrote: : I have just migrated to Win2000 SP1 from Win98, and have just finished : reinstalling all applications, including K95. Since I've moved to Win2k, I can no longer click on a telnet-invoking web page option. This worked under Win98. I just open the telnet session manually (using kermit-95), but the IE5-invoked telnet doesn't work. Same problem? -- --- Clarence A Dold - dold@email.rahul.net - San Jose & Pope Valley (Napa County) CA. From news@columbia.edu Sun Dec 31 23:42:40 2000 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id XAA16974 for ; Sun, 31 Dec 2000 23:42:40 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id XAA11745 for ; Sun, 31 Dec 2000 23:42:39 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id XAA20449 for kermit.misc@watsun.cc.columbia.edu; Sun, 31 Dec 2000 23:18:07 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jaltman@columbia.edu (Jeffrey Altman) Subject: Re: Possible typo in telnet.exe in K95 V1.1.20 Date: 1 Jan 2001 04:18:07 GMT Organization: Columbia University Message-ID: <92p0dv$juu$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <92mhml017om@edrn.newsguy.com>, Petri Oksanen wrote: : I have just migrated to Win2000 SP1 from Win98, and have just finished : reinstalling all applications, including K95. : I have K95 patched to V1.1.20, and something odd happens now when I try to : start it in telnet-mode. : If I just type: : C:\K95> telnet : Then there's no problem, but if I try: : C:\K95> telnet aristotle.algonet.se : I recieve the following error: : ---8<--- : 'k95.exe" -J aristotle.algonet.se' is not recognized as an internal or : external command, operable program or batch file. : ---8<--- : : There seems to be an extra '"' in there for some reason. This does indeed appear to be a typo. Jeffrey Altman * Sr.Software Designer C-Kermit 7.1 Alpha available The Kermit Project @ Columbia University includes Secure Telnet and FTP http://www.kermit-project.org/ using Kerberos, SRP, and kermit-support@kermit-project.org OpenSSL. SSH soon to follow. From news@columbia.edu Mon Jan 1 01:42:40 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id BAA25506 for ; Mon, 1 Jan 2001 01:42:40 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id BAA15631 for ; Mon, 1 Jan 2001 01:42:40 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id BAA24847 for kermit.misc@watsun.cc.columbia.edu; Mon, 1 Jan 2001 01:21:14 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jaltman@columbia.edu (Jeffrey Altman) Subject: Re: Possible typo in telnet.exe in K95 V1.1.20 Date: 1 Jan 2001 06:21:12 GMT Organization: Columbia University Message-ID: <92p7ko$o8c$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <92ns3h$an7$1@samba.rahul.net>, wrote: : Petri Oksanen wrote: : : I have just migrated to Win2000 SP1 from Win98, and have just finished : : reinstalling all applications, including K95. : : Since I've moved to Win2k, I can no longer click on a telnet-invoking web : page option. This worked under Win98. I just open the telnet session : manually (using kermit-95), but the IE5-invoked telnet doesn't work. : Same problem? Unlikely. Use K95REGTL.EXE to re-register K95 as your telnet handler. Jeffrey Altman * Sr.Software Designer C-Kermit 7.1 Alpha available The Kermit Project @ Columbia University includes Secure Telnet and FTP http://www.kermit-project.org/ using Kerberos, SRP, and kermit-support@kermit-project.org OpenSSL. SSH soon to follow. From news@columbia.edu Mon Jan 1 16:12:41 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id QAA08579 for ; Mon, 1 Jan 2001 16:12:40 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA15099 for ; Mon, 1 Jan 2001 16:12:40 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id PAA16346 for kermit.misc@watsun.cc.columbia.edu; Mon, 1 Jan 2001 15:49:22 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: dold@email.rahul.net Subject: Re: Possible typo in telnet.exe in K95 V1.1.20 Date: 1 Jan 2001 20:22:13 GMT Organization: Wintercreek Data Message-ID: <92qotl$r58$1@samba.rahul.net> To: kermit.misc@columbia.edu : In article <92ns3h$an7$1@samba.rahul.net>, wrote: : : Since I've moved to Win2k, I can no longer click on a telnet-invoking web : : page option. This worked under Win98. I just open the telnet session : : manually (using kermit-95), but the IE5-invoked telnet doesn't work. : : Same problem? Jeffrey Altman wrote: : Unlikely. Use K95REGTL.EXE to re-register K95 as your telnet handler. Previously done. It does invoke K95, just not successfully. I see the window come and go. The typo sounds like a fit to me. -- --- Clarence A Dold - dold@email.rahul.net - San Jose & Pope Valley (Napa County) CA. From news@columbia.edu Mon Jan 1 17:42:40 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id RAA29231 for ; Mon, 1 Jan 2001 17:42:40 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id RAA19754 for ; Mon, 1 Jan 2001 17:42:39 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id RAA20199 for kermit.misc@watsun.cc.columbia.edu; Mon, 1 Jan 2001 17:34:02 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Pim Zandbergen Subject: kermit-95 linux terminal type emulation problem Date: Mon, 01 Jan 2001 23:06:37 +0100 Organization: UUNET-NL (http://www.nl.uu.net) Message-ID: <0gu15tkoe38u4ghd7937do07s14ecpqife@4ax.com> To: kermit.misc@columbia.edu I have encountered this problem with using kermit-95 1.1.20 and its linux terminal type emulation. When I use it to telnet to a server running Red Hat Linux 7.0, the terminal emulator goes berserk whenever I start vi. Vi will not respond to typing a colon, it will beep. I can only leave vi by typing ZZ. I have narrowed the problem down to escape sequences that change the cursor visibility. After changing these lines in the linux entry in /etc/termcap from :vb=200\E[?5h\E[?5l:ve=\E[?25h\E[?0c:vi=\E[?25l\E[?1c:\ :vs=\E[?25h\E[?8c:\ to :vb=200\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\ :vs=\E[?25h:\ the problem disappeared. Looks like a bug in kermit-95 to me, though I did not see it in ftp://kermit.columbia.edu/kermit/k95/newbugs.txt Pim From news@columbia.edu Mon Jan 1 18:42:40 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id SAA21403 for ; Mon, 1 Jan 2001 18:42:40 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id SAA21669 for ; Mon, 1 Jan 2001 18:42:40 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id SAA22117 for kermit.misc@watsun.cc.columbia.edu; Mon, 1 Jan 2001 18:27:37 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jaltman@columbia.edu (Jeffrey Altman) Subject: Re: Possible typo in telnet.exe in K95 V1.1.20 Date: 1 Jan 2001 23:27:37 GMT Organization: Columbia University Message-ID: <92r3p9$lj2$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <92qotl$r58$1@samba.rahul.net>, wrote: : : In article <92ns3h$an7$1@samba.rahul.net>, wrote: : : : : Since I've moved to Win2k, I can no longer click on a telnet-invoking web : : : page option. This worked under Win98. I just open the telnet session : : : manually (using kermit-95), but the IE5-invoked telnet doesn't work. : : : Same problem? : : Jeffrey Altman wrote: : : Unlikely. Use K95REGTL.EXE to re-register K95 as your telnet handler. : : Previously done. : It does invoke K95, just not successfully. I see the window come and go. : The typo sounds like a fit to me. Can't be. telnet.exe is not used to start K95 when it is the default telnet handler. The command uses the form k95.exe -J telnet: Jeffrey Altman * Sr.Software Designer C-Kermit 7.1 Alpha available The Kermit Project @ Columbia University includes Secure Telnet and FTP http://www.kermit-project.org/ using Kerberos, SRP, and kermit-support@kermit-project.org OpenSSL. SSH soon to follow. From news@columbia.edu Mon Jan 1 18:42:41 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id SAA04457 for ; Mon, 1 Jan 2001 18:42:40 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id SAA21672 for ; Mon, 1 Jan 2001 18:42:40 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id SAA22532 for kermit.misc@watsun.cc.columbia.edu; Mon, 1 Jan 2001 18:35:00 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jaltman@columbia.edu (Jeffrey Altman) Subject: Re: kermit-95 linux terminal type emulation problem Date: 1 Jan 2001 23:35:00 GMT Organization: Columbia University Message-ID: <92r474$m02$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <0gu15tkoe38u4ghd7937do07s14ecpqife@4ax.com>, Pim Zandbergen wrote: : : I have encountered this problem with using kermit-95 1.1.20 and its : linux terminal type emulation. : : When I use it to telnet to a server running Red Hat Linux 7.0, the : terminal emulator goes berserk whenever I start vi. Vi will not : respond to typing a colon, it will beep. I can only leave vi by typing : ZZ. : : I have narrowed the problem down to escape sequences that change the : cursor visibility. : : After changing these lines in the linux entry in /etc/termcap from : : :vb=200\E[?5h\E[?5l:ve=\E[?25h\E[?0c:vi=\E[?25l\E[?1c:\ : :vs=\E[?25h\E[?8c:\ : : to : : :vb=200\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\ : :vs=\E[?25h:\ : : the problem disappeared. : : Looks like a bug in kermit-95 to me, though I did not see it in : ftp://kermit.columbia.edu/kermit/k95/newbugs.txt : : Pim Not a bug, just a moving target in linux terminal definitions. Linux console is not based upon SCO ANSI instead it is derived from VT2xx terminals. For a VT2xx the private sequence CSI ? Pn c is used for terminal reports. SCO ANSI uses this private sequence for cursor manipulation. 0 - underline, 1 - block, 2 off. I wonder what the latest Linux console is using for its Pn values. Jeffrey Altman * Sr.Software Designer C-Kermit 7.1 Alpha available The Kermit Project @ Columbia University includes Secure Telnet and FTP http://www.kermit-project.org/ using Kerberos, SRP, and kermit-support@kermit-project.org OpenSSL. SSH soon to follow. From news@columbia.edu Mon Jan 1 20:42:41 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id UAA02054 for ; Mon, 1 Jan 2001 20:42:41 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id UAA25455 for ; Mon, 1 Jan 2001 20:42:40 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id UAA26414 for kermit.misc@watsun.cc.columbia.edu; Mon, 1 Jan 2001 20:25:45 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Thomas Dickey Subject: Re: kermit-95 linux terminal type emulation problem Date: 2 Jan 2001 01:24:18 GMT Organization: RadixNet Internet Services Message-ID: <92rak2$h8b$1@news1.Radix.Net> To: kermit.misc@columbia.edu Jeffrey Altman wrote: > In article <0gu15tkoe38u4ghd7937do07s14ecpqife@4ax.com>, > Pim Zandbergen wrote: > : :vb=200\E[?5h\E[?5l:ve=\E[?25h\E[?0c:vi=\E[?25l\E[?1c:\ > : :vs=\E[?25h\E[?8c:\ > Not a bug, just a moving target in linux terminal definitions. > Linux console is not based upon SCO ANSI instead it is derived from > VT2xx terminals. For a VT2xx the private sequence > CSI ? Pn c > is used for terminal reports. SCO ANSI uses this private sequence > for cursor manipulation. 0 - underline, 1 - block, 2 off. > I wonder what the latest Linux console is using for its Pn values. While at one point the Linux console had some pretentions to being VTxxx based, that was a few years ago - recent changes have been made apparently in a purely ad hoc manner (the sequence in question is used to set the cursor shape). For your amusement - VGA-softcursor.txt, from the 2.2 kernel Software cursor for VGA by Pavel Machek ======================= and Martin Mares Linux now has some ability to manipulate cursor appearance. Normally, you can set the size of hardware cursor (and also work around some ugly bugs in those miserable Trident cards--see #define TRIDENT_GLITCH in drivers/video/ vgacon.c). You can now play a few new tricks: you can make your cursor look like a non-blinking red block, make it inverse background of the character it's over or to highlight that character and still choose whether the original hardware cursor should remain visible or not. There may be other things I have never thought of. The cursor appearance is controlled by a "[?1;2;3c" escape sequence where 1, 2 and 3 are parameters described below. If you omit any of them, they will default to zeroes. Parameter 1 specifies cursor size (0=default, 1=invisible, 2=underline, ..., 8=full block) + 16 if you want the software cursor to be applied + 32 if you want to always change the background color + 64 if you dislike having the background the same as the foreground. Highlights are ignored for the last two flags. The second parameter selects character attribute bits you want to change (by simply XORing them with the value of this parameter). On standard VGA, the high four bits specify background and the low four the foreground. In both groups, low three bits set color (as in normal color codes used by the console) and the most significant one turns on highlight (or sometimes blinking--it depends on the configuration of your VGA). The third parameter consists of character attribute bits you want to set. Bit setting takes place before bit toggling, so you can simply clear a bit by including it in both the set mask and the toggle mask. Examples: ========= To get normal blinking underline, use: echo -e '\033[?2c' To get blinking block, use: echo -e '\033[?6c' To get red non-blinking block, use: echo -e '\033[?17;0;64c' -- Thomas E. Dickey http://dickey.his.com ftp://dickey.his.com From news@columbia.edu Mon Jan 1 22:12:41 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id WAA10792 for ; Mon, 1 Jan 2001 22:12:40 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id WAA28328 for ; Mon, 1 Jan 2001 22:12:40 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id WAA00266 for kermit.misc@watsun.cc.columbia.edu; Mon, 1 Jan 2001 22:05:02 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jaltman@columbia.edu (Jeffrey Altman) Subject: Re: kermit-95 linux terminal type emulation problem Date: 2 Jan 2001 03:05:01 GMT Organization: Columbia University Message-ID: <92rggt$81$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <92rak2$h8b$1@news1.Radix.Net>, Thomas Dickey wrote: : While at one point the Linux console had some pretentions to being VTxxx based, : that was a few years ago - recent changes have been made apparently in a purely : ad hoc manner (the sequence in question is used to set the cursor shape). : For your amusement - : : VGA-softcursor.txt, from the 2.2 kernel Thanks for the reference. Just what we love to see in a terminal definition, an ad hoc moving target. At least they used a 'private' sequence. Jeffrey Altman * Sr.Software Designer C-Kermit 7.1 Alpha available The Kermit Project @ Columbia University includes Secure Telnet and FTP http://www.kermit-project.org/ using Kerberos, SRP, and kermit-support@kermit-project.org OpenSSL. SSH soon to follow. From news@columbia.edu Tue Jan 2 12:12:43 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id MAA23886 for ; Tue, 2 Jan 2001 12:12:42 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA13104 for ; Tue, 2 Jan 2001 12:12:41 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id MAA03453 for kermit.misc@watsun.cc.columbia.edu; Tue, 2 Jan 2001 12:11:54 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Pete Upson" Subject: show comm Date: Tue, 2 Jan 2001 17:06:23 -0000 Organization: Posted via Supernews, http://www.supernews.com Message-ID: To: kermit.misc@columbia.edu Hi K95 v1.1.20 on Win98 Trying to debug an intermittent error in my script.... Show comm is great to see current settings But can I save the output to myfile.log ? I want to do something like SHOW COMM > myfile.log or SHOW COMM /output=myfile.log Is there an easy way to do this? Many thanks Pete Upson From news@columbia.edu Tue Jan 2 14:12:42 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id OAA20384 for ; Tue, 2 Jan 2001 14:12:42 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA29676 for ; Tue, 2 Jan 2001 14:12:42 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id NAA07705 for kermit.misc@watsun.cc.columbia.edu; Tue, 2 Jan 2001 13:51:01 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jaltman@columbia.edu (Jeffrey Altman) Subject: Re: show comm Date: 2 Jan 2001 18:51:00 GMT Organization: Columbia University Message-ID: <92t7uk$7ga$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Pete Upson wrote: : Hi : : K95 v1.1.20 on Win98 : : Trying to debug an intermittent error in my script.... : : Show comm is great to see current settings : : But can I save the output to myfile.log ? : : I want to do something like : SHOW COMM > myfile.log : or : SHOW COMM /output=myfile.log : : Is there an easy way to do this? : : Many thanks : Pete Upson : : You cannot redirect the output of SHOW commands. But you can save the contents of the scrollback buffer to a file. SAVE COMMAND SCROLLBACK as well as clear the scrollback CLEAR COMMAND SCROLLBACK so CLEAR COMMAND SCROLLBACK SHOW COMM SAVE COMMAND SCROLLBACK will do what you wish. Jeffrey Altman * Sr.Software Designer C-Kermit 7.1 Alpha available The Kermit Project @ Columbia University includes Secure Telnet and FTP http://www.kermit-project.org/ using Kerberos, SRP, and kermit-support@kermit-project.org OpenSSL. SSH soon to follow. From news@columbia.edu Tue Jan 2 18:42:43 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id SAA06211 for ; Tue, 2 Jan 2001 18:42:43 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id SAA01684 for ; Tue, 2 Jan 2001 18:42:42 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id SAA19822 for kermit.misc@watsun.cc.columbia.edu; Tue, 2 Jan 2001 18:25:19 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Pete Upson" Subject: Re: show comm Date: Tue, 2 Jan 2001 23:19:45 -0000 Organization: Posted via Supernews, http://www.supernews.com Message-ID: To: kermit.misc@columbia.edu Just what I wanted! Many thanks Pete Upson From news@columbia.edu Tue Jan 2 19:42:43 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id TAA15977 for ; Tue, 2 Jan 2001 19:42:42 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id TAA03656 for ; Tue, 2 Jan 2001 19:42:42 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id TAA22759 for kermit.misc@watsun.cc.columbia.edu; Tue, 2 Jan 2001 19:38:31 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: dold@14.usenet.us.com Subject: Re: Possible typo in telnet.exe in K95 V1.1.20 Date: 3 Jan 2001 00:36:31 GMT Organization: Wintercreek Data Message-ID: <92ts6f$g4b$1@samba.rahul.net> To: kermit.misc@columbia.edu Jeffrey Altman wrote: : Can't be. telnet.exe is not used to start K95 when it is the default : telnet handler. The command uses the form : k95.exe -J telnet: Upon further review... It does look like it is a problem with the web app driving the telnet session. If I click on the "open a telnet session" icon in the web-app window, I see another window open briefly, that is the same URL, extended with "telnet.html". But it closes immediately. If I go to URL/telnet.html I get a dialog box from Internet Explorer that says "The Web page you are viewing is trying to close the window. Do you want to close this window?" If I click "No", then a k95 session opens, connected to the server. At this point, I can close the invoking window, and the telnet stays. If I click "Yes", the window goes away, and I don't get the kermit-connection. I tried using K95regctl to "remove Kermit from Registry" but I still connect to K95 as the telnet handler. If I move K95.exe off the path, then I get a dialog box trying to locate it. So... The k95regtl.exe "remove from registry" doesn't seem to. I see no way to restablish the old telnet.exe as the default for Internet Explorer. The original telnet did work from this window before I installed K95. If I go directly to the telnet page, and don't let it close the window, it works, so I assume it is some timing issue at Kermit statup that is different from a telnet.exe startup. This is all driven from Java, from a small internet-connected device, so I have no access to source. It is internal, so I can't let you get at it. { This has nothing to do with the thread subject } -- --- Clarence A Dold - dold@email.rahul.net - San Jose & Pope Valley (Napa County) CA. From news@columbia.edu Tue Jan 2 20:12:42 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id UAA05705 for ; Tue, 2 Jan 2001 20:12:42 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id UAA04653 for ; Tue, 2 Jan 2001 20:12:41 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id TAA22882 for kermit.misc@watsun.cc.columbia.edu; Tue, 2 Jan 2001 19:44:40 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jaltman@columbia.edu (Jeffrey Altman) Subject: Re: Possible typo in telnet.exe in K95 V1.1.20 Date: 3 Jan 2001 00:44:39 GMT Organization: Columbia University Message-ID: <92tsln$mav$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <92ts6f$g4b$1@samba.rahul.net>, wrote: : Jeffrey Altman wrote: : I tried using K95regctl to "remove Kermit from Registry" : but I still connect to K95 as the telnet handler. : : If I move K95.exe off the path, then I get a dialog box trying to locate it. : : So... : The k95regtl.exe "remove from registry" doesn't seem to. I see no way to : restablish the old telnet.exe as the default for Internet Explorer. : The original telnet did work from this window before I installed K95. K95REGTL.EXE restores the previous value of the Telnet registry entry when you choose uninstall. Of course, if you already had K95 set to be the Telnet client before running K95REGTL, .... : If I go directly to the telnet page, and don't let it close the window, it : works, so I assume it is some timing issue at Kermit statup that is : different from a telnet.exe startup. K95 probably takes longer to load; or longer to make a connection. : This is all driven from Java, from a small internet-connected device, so I : have no access to source. It is internal, so I can't let you get at it. If it is Java, then you have access to source. Simply take the .class file and disassemble it. I believe the command is javap. Jeffrey Altman * Sr.Software Designer C-Kermit 7.1 Alpha available The Kermit Project @ Columbia University includes Secure Telnet and FTP http://www.kermit-project.org/ using Kerberos, SRP, and kermit-support@kermit-project.org OpenSSL. SSH soon to follow. From news@columbia.edu Tue Jan 2 22:12:43 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id WAA25843 for ; Tue, 2 Jan 2001 22:12:42 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id WAA08345 for ; Tue, 2 Jan 2001 22:12:42 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id VAA27437 for kermit.misc@watsun.cc.columbia.edu; Tue, 2 Jan 2001 21:45:04 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: dold@email.rahul.net Subject: Re: Possible typo in telnet.exe in K95 V1.1.20 Date: 3 Jan 2001 02:43:21 GMT Organization: Wintercreek Data Message-ID: <92u3k9$hgd$1@samba.rahul.net> To: kermit.misc@columbia.edu Jeffrey Altman wrote: : : This is all driven from Java, from a small internet-connected device, so I : : have no access to source. It is internal, so I can't let you get at it. : If it is Java, then you have access to source. Simply take the .class : file and disassemble it. I believe the command is javap. Close. It turns out that the "telnet.html" is actually javascript. Backing off from there, the invoking .class is in a .jar, which I've retrieved, but I'm muddling my way toward the proper place. I don't know what to do with MS-IE "java logging", so I was trying to capture the data with lynx. That works, but I substantially get messages indicating that my java plug-in isn't working. ;-) I'll be back when I figure this one out. I can't decide if I should enter a bug with them now, or after I figure it out. Once again, it does seem to be their trouble and not Kermit-95, except that I can't figure out how to put the standard ms-telnet back as the default handler for telnet:. -- --- Clarence A Dold - dold@email.rahul.net - San Jose & Pope Valley (Napa County) CA. From news@columbia.edu Tue Jan 2 23:42:43 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id XAA08309 for ; Tue, 2 Jan 2001 23:42:43 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id XAA11187 for ; Tue, 2 Jan 2001 23:42:42 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id XAA01271 for kermit.misc@watsun.cc.columbia.edu; Tue, 2 Jan 2001 23:21:23 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Mark Sapiro Subject: Re: Possible typo in telnet.exe in K95 V1.1.20 Date: Tue, 02 Jan 2001 20:20:30 -0800 Organization: Not Very Much Message-ID: <3A52A88E.65321C65@value.net> To: kermit.misc@columbia.edu dold@email.rahul.net wrote: > Once again, it does seem to be their trouble and not Kermit-95, except > that I can't figure out how to put the standard ms-telnet back as the > default handler for telnet:. It's in the Registry HKEY_LOCAL_MACHINE\SOFTWARE\Classes\telnet\shell\open\command The "(Default)" data probably is something like "C:\K95\telnet.exe %1". Change to "C:\Windows\telnet.exe %1" It's also in HKEY_CLASSES_ROOT\telnet\shell\open\command but this is just a pointer into the HKLM structure. You only have to change it in one place. You can change it with regedit. In Win98, you can also get to it by the View menu in an explorer window. Select folder options -> file types -> URL: Telnet Protocol -> edit -> open action -> edit. I don't know if this is similar in Win2000 or not. I think I noticed recently on a friend's WinME that "folder options" is no longer on the "view" menu. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From news@columbia.edu Wed Jan 3 01:12:44 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id BAA18989 for ; Wed, 3 Jan 2001 01:12:43 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id BAA14412 for ; Wed, 3 Jan 2001 01:12:43 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id AAA05142 for kermit.misc@watsun.cc.columbia.edu; Wed, 3 Jan 2001 00:59:38 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: dold@14.usenet.us.com Subject: Re: Possible typo in telnet.exe in K95 V1.1.20 Date: 3 Jan 2001 05:56:12 GMT Organization: Wintercreek Data Message-ID: <92uets$jp9$1@samba.rahul.net> To: kermit.misc@columbia.edu Mark Sapiro wrote: : It's in the Registry : HKEY_LOCAL_MACHINE\SOFTWARE\Classes\telnet\shell\open\command Aha. A file called ms_telnet.reg now contains: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\telnet\shell\open\command] @="rundll32.exe url.dll,TelnetProtocolHandler %l" which I scarfed from someone else's Win2k. and yes, that does look like an alpha ell, rather than a numeric one (1), after the %. : You can change it with regedit. In Win98, you can also get to it by the : View menu in an explorer window. Select folder options -> file types -> : URL: Telnet Protocol -> edit -> open action -> edit. I don't know if : this is similar in Win2000 or not. I think I noticed recently on a : friend's WinME that "folder options" is no longer on the "view" menu. The option is still there, just moved to "Tools". But there is no URL:telnet. Some others, but not telnet. So I changed the registry, invoked my little telnet icon, and... Same thing. It opens and closes. Except now it's a telnet window opening and closing instead of a kermit window ;-) If I invoke URL/telnet.html manually, and tell it not to close the window, then telnet comes up. Time for a little bug report. Perhaps this typo in the .html has something to do with it: w=window.open("","colseTelnet","toolbar=no,scrollbars=no,menubar=no,width=300,height=150"); w.location.href = "closeTelnet.html"; It could be my imagination, but colse doesn't look right. -- --- Clarence A Dold - dold@email.rahul.net - San Jose & Pope Valley (Napa County) CA. From news@columbia.edu Wed Jan 3 05:42:44 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id FAA25488 for ; Wed, 3 Jan 2001 05:42:44 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id FAA22950 for ; Wed, 3 Jan 2001 05:42:43 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id FAA14652 for kermit.misc@watsun.cc.columbia.edu; Wed, 3 Jan 2001 05:17:14 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Andi Kleen Subject: Filtering kermit logs automatically Date: 02 Jan 2001 01:46:16 +0100 Organization: SuSE GmbH, Nuernberg, Germany Message-ID: To: kermit.misc@columbia.edu Hallo, I have several boxes with serial consoles running via kermit. I have kermit log files enabled to catch any possible crashes etc. and to help debugging sessions. One drawback of that is though that when I login over the serial console the passwords are logged in cleartext, which I do not like. Is it possible to get kermit to not log what comes from the local end or alternatively not log some lines based on a filter? Thanks, -Andi ot simply use a batch file? Maybe you are just better at C than MS command scripting. ;) Petri Oksanen From news@columbia.edu Wed Jan 3 06:12:43 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id GAA16384 for ; Wed, 3 Jan 2001 06:12:43 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id GAA09533 for ; Wed, 3 Jan 2001 06:12:42 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id FAA16010 for kermit.misc@watsun.cc.columbia.edu; Wed, 3 Jan 2001 05:53:53 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Petri Oksanen Subject: Re: Possible typo in telnet.exe in K95 V1.1.20 Date: 3 Jan 2001 01:56:18 -0800 Organization: Extra Newsguy News Service [http://extra.newsguy.com] Message-ID: <92ut020tj7@edrn.newsguy.com> To: kermit.misc@columbia.edu In article <92urqf0qig@edrn.newsguy.com>, Petri says... >> Same problem? > No, that works for me. > Win2K telnet.exe is invoked on my computer. Stupid me, I had of course removed K95 from the registry when I was searching for the cause of the bug. I re-registered now, and it still works. Of course, I have changed the typo in my K95\telnet.exe, if that had any relation to your problem. Petri Oksanen From news@columbia.edu Wed Jan 3 09:42:43 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id JAA07909 for ; Wed, 3 Jan 2001 09:42:43 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id JAA03936 for ; Wed, 3 Jan 2001 09:42:43 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id JAA15617 for kermit.misc@watsun.cc.columbia.edu; Wed, 3 Jan 2001 09:43:55 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Filtering kermit logs automatically Date: 3 Jan 2001 14:43:50 GMT Organization: Columbia University Message-ID: <92vdr6$f7u$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Andi Kleen wrote: : I have several boxes with serial consoles running via kermit. I have : kermit log files enabled to catch any possible crashes etc. and to : help debugging sessions. One drawback of that is though that when I login : over the serial console the passwords are logged in cleartext, which : I do not like. : Since you are writing from SuSE I assume you are talking about C-Kermit on Linux? And the log you are referring to is the session log? : Is it possible to get kermit to not log what comes from the local end or : alternatively not log some lines based on a filter? : Normally -- i.e. on full-duplex connections with remote echoing -- the session log does not record passwords because the remote side does not echo them. Passwords would only be recorded in the session if (a) they are echoed remotely (a bad practice), or (b) if you have a half-duplex local-echo connection. To answer your question, filters can be applied to logs as described here: http://www.columbia.edu/kermit/ckermit2.html#x1.13 - Frank From news@columbia.edu Wed Jan 3 10:42:44 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id KAA09732 for ; Wed, 3 Jan 2001 10:42:44 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA12291 for ; Wed, 3 Jan 2001 10:42:43 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id KAA17512 for kermit.misc@watsun.cc.columbia.edu; Wed, 3 Jan 2001 10:26:32 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jaltman@columbia.edu (Jeffrey Altman) Subject: Re: Possible typo in telnet.exe in K95 V1.1.20 Date: 3 Jan 2001 15:26:29 GMT Organization: Columbia University Message-ID: <92vgb5$h35$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <92usfc0s4c@edrn.newsguy.com>, Petri Oksanen wrote: : In article <92p0dv$juu$1@newsmaster.cc.columbia.edu>, : jaltman@watsun.cc.columbia.edu says... : >: I have K95 patched to V1.1.20, and something odd happens now : >: when I try to start it in telnet-mode. : : >: There seems to be an extra '"' in there for some reason. : : > This does indeed appear to be a typo. : : OK. : Changing the '"' to a \0 solved the problem, so it was easily fixed. : But if telnet.exe only starts k95.exe, why not simply use a batch file? : Maybe you are just better at C than MS command scripting. ;) The point of K95\TELNET.EXE is to act as a replacement for MS Telnet if it is so desired. What telnet.exe is does is read the input as processed by MS Telnet and output an equivalent K95 command line. Even if you could do this with a .BAT file, this would not work because the entries in the registry look for "telnet.exe" to execute not "telnet". Jeffrey Altman * Sr.Software Designer C-Kermit 7.1 Alpha available The Kermit Project @ Columbia University includes Secure Telnet and FTP http://www.kermit-project.org/ using Kerberos, SRP, and kermit-support@kermit-project.org OpenSSL. SSH soon to follow. From news@columbia.edu Wed Jan 3 17:42:45 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id RAA13910 for ; Wed, 3 Jan 2001 17:42:44 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id RAA11186 for ; Wed, 3 Jan 2001 17:42:43 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id RAA05650 for kermit.misc@watsun.cc.columbia.edu; Wed, 3 Jan 2001 17:28:56 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Geoff Clare Subject: Re: Converting struct tm to time_t Date: 03 Jan 2001 14:23:27 GMT Organization: UniSoft Limited, London, England Message-ID: To: kermit.misc@columbia.edu Andrew Gierth writes: > Derek> Don't forget to call tzset() after putenv and before mktime >SUS sez this is not needed, but I think I recall some older systems >where it was necessary. POSIX.1 has said the same ever since the original 1988 standard. Any systems that do need an explicit tzset() must be *really* old. -- Geoff Clare gwc@unisoft.com UniSoft Limited, London, England. gwc@root.co.uk From news@columbia.edu Wed Jan 3 18:12:45 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id SAA05429 for ; Wed, 3 Jan 2001 18:12:45 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id SAA15487 for ; Wed, 3 Jan 2001 18:12:44 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id RAA06797 for kermit.misc@watsun.cc.columbia.edu; Wed, 3 Jan 2001 17:51:54 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Andrew Gierth Subject: Re: Converting struct tm to time_t Date: 03 Jan 2001 22:47:13 +0000 Organization: disorganised Message-ID: <87wvcc2qz2.fsf@erlenstar.demon.co.uk> To: kermit.misc@columbia.edu >>>>> "Geoff" == Geoff Clare writes: Derek> Don't forget to call tzset() after putenv and before mktime >> SUS sez this is not needed, but I think I recall some older systems >> where it was necessary. Geoff> POSIX.1 has said the same ever since the original 1988 Geoff> standard. Any systems that do need an explicit tzset() must Geoff> be *really* old. hmm. the only system that could have provoked that recollection would have been SCO 3.2.2 or 3.2.4, but it could also just have been down to me being overly cautious at the time. -- Andrew. comp.unix.programmer FAQ: see or From news@columbia.edu Wed Jan 3 20:12:45 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id UAA01475 for ; Wed, 3 Jan 2001 20:12:44 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id UAA25014 for ; Wed, 3 Jan 2001 20:12:44 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id UAA12165 for kermit.misc@watsun.cc.columbia.edu; Wed, 3 Jan 2001 20:03:13 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jrd@cc.usu.edu (Joe Doupnik) Subject: Re: Converting struct tm to time_t Message-ID: <2aP+8u57Wzic@cc.usu.edu> Date: 3 Jan 01 17:46:23 MDT Organization: Utah State University To: kermit.misc@columbia.edu In article <87wvcc2qz2.fsf@erlenstar.demon.co.uk>, Andrew Gierth writes: >>>>>> "Geoff" == Geoff Clare writes: > > Derek> Don't forget to call tzset() after putenv and before mktime > > >> SUS sez this is not needed, but I think I recall some older systems > >> where it was necessary. > > Geoff> POSIX.1 has said the same ever since the original 1988 > Geoff> standard. Any systems that do need an explicit tzset() must > Geoff> be *really* old. > > hmm. the only system that could have provoked that recollection would > have been SCO 3.2.2 or 3.2.4, but it could also just have been down to > me being overly cautious at the time. -------- Ok, let me expand the hint on cron to say what I meant in this thread. Login shells get TZ information somehow, often by means of a script file run as part of the normal login sequence; call it /etc/profile if you will in SVRx speak. Not all programs run via a login shell, nor do all login steps necessarily invoke such TZ-setting scripts. So the program's environment may be TZ ignorant, because of no formal login or the pathway was non-standard. Cron is an agent without that formal login step. It is unfortunate that timezone information is left to actions at login or similar user-level configuration steps, but there we are. Thus the point in the included text above really asks "Did the current process acquire TZ info?" and the answer is "It all depends." The second answer is "and it also depends on whether the supporting code is broken." Joe D. From news@columbia.edu Thu Jan 4 13:42:48 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id NAA06690 for ; Thu, 4 Jan 2001 13:42:47 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA05931 for ; Thu, 4 Jan 2001 13:42:46 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id NAA24839 for kermit.misc@watsun.cc.columbia.edu; Thu, 4 Jan 2001 13:17:26 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f Message-ID: <3A54BE6A.A6EAF0E3@plustechnologies.com> From: Rich Gray Organization: Plus Technologies Div. of Digital Controls Corp. Subject: Re: New scriptable secure FTP client available for UNIX Date: Thu, 04 Jan 2001 13:18:18 -0500 To: kermit.misc@columbia.edu Ulrich Windl wrote: > > Surely, your C-Kermit can do a lot, but can I _simply_ use the "secure > FTP feature" without programming scripts? Maybe you should provide a > example of use... > > Ulrich In the ftpclinet page, it does say "An entire FTP session (connect, login, CD, upload or download, logout) can be specified on the shell command line without using interactive commands or a script", so I imagine someone should be able to give you an example. The cURL program (http://curl.haxx.se) can do command line ftp, http[s] and many more types of transfers from the command line. It only does K4 security for security, though. > fdc@watsun.cc.columbia.edu (Frank da Cruz) writes: > > > A new FTP client is available for UNIX: > > > > http://www.columbia.edu/kermit/ftpclient The cURL maintainer has added this link to the Resources page of the cURL website. > > It offers the following features: > > > > . Optional Kerberos 4 and 5, SSL/TLS, and SRP security. [snip] I'm curious as to what standards are being followed for these modes? RFC2228 seems to be only a framework. I followed the link to http://www.columbia.edu/kermit/telnetd.html, but casual digging did not come up with much in the way of secure FTP servers. Are there really many out there?? Cheers! Rich mailto:richNOgSPAM@plustechnologies.com (remove NO SPAM to reply) From news@columbia.edu Thu Jan 4 14:42:46 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id OAA06843 for ; Thu, 4 Jan 2001 14:42:46 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA14380 for ; Thu, 4 Jan 2001 14:42:46 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id OAA28290 for kermit.misc@watsun.cc.columbia.edu; Thu, 4 Jan 2001 14:34:15 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jaltman@columbia.edu (Jeffrey Altman) Subject: Re: New scriptable secure FTP client available for UNIX Date: 4 Jan 2001 19:34:09 GMT Organization: Columbia University Message-ID: <932j7h$rk0$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <3A54BE6A.A6EAF0E3@plustechnologies.com>, Rich Gray wrote: : Ulrich Windl wrote: : > > It offers the following features: : > > : > > . Optional Kerberos 4 and 5, SSL/TLS, and SRP security. : [snip] : : I'm curious as to what standards are being followed for these modes? : RFC2228 seems to be only a framework. Kerberos 4 and Kerberos 5 (GSSAPI) are defined in RFC 2228. SSL/TLS are defined in an Internet-Draft SRP is defined in the SRP distribution. : I followed the link to http://www.columbia.edu/kermit/telnetd.html, but : casual digging did not come up with much in the way of secure FTP : servers. Are there really many out there?? All of the telnetd distributions we mention also contain Ftpd distributions with the equivalent set of security mechanisms. There are also various patches available for wu-ftpd and pro-ftpd. Several Windows FTPDs are now advertising (or promising) support for various security methods. Jeffrey Altman * Sr.Software Designer C-Kermit 7.1 Alpha available The Kermit Project @ Columbia University includes Secure Telnet and FTP http://www.kermit-project.org/ using Kerberos, SRP, and kermit-support@kermit-project.org OpenSSL. SSH soon to follow. From news@columbia.edu Sat Jan 6 11:42:50 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id LAA14938 for ; Sat, 6 Jan 2001 11:42:50 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA16625 for ; Sat, 6 Jan 2001 11:42:50 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id LAA04986 for kermit.misc@watsun.cc.columbia.edu; Sat, 6 Jan 2001 11:41:07 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Serial Number Date: 6 Jan 2001 16:41:07 GMT Organization: Columbia University Message-ID: <937hr3$4rn$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <3A5724D8.12CBBE22@gte.net>, Jerry Brandt wrote: : Does kermit have a serial number, and if so does nayone have one??? : There are lots of different Kermit programs. The only one that has serial numbers is Kermit 95: http://www.columbia.edu/kermit/k95.html You get the serial number when you purchase the package. The other Kermit programs, such as C-Kermit for UNIX, do not have serial numbers and do not need to be registered before you can run them. For details, visit the Kermit Project website: http://www.columbia.edu/kermit/ - Frank From news@columbia.edu Sun Jan 7 19:12:53 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id TAA14953 for ; Sun, 7 Jan 2001 19:12:53 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id TAA07181 for ; Sun, 7 Jan 2001 19:12:53 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id SAA17133 for kermit.misc@watsun.cc.columbia.edu; Sun, 7 Jan 2001 18:56:39 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Announcing C-Kermit 7.1 Alpha.02 Date: 7 Jan 2001 23:56:38 GMT Organization: Columbia University Message-ID: <93avnm$gnb$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu Alpha.02 of C-Kermit 7.1 is ready for testing. Thanks to everybody for their comments and reports on Alpha.01. The changes since Alpha.01 include: . C-Kermit now accepts FTP, TELNET, and IKSD URLs on the command line. . Character-set translation added to the FTP client for filenames. . Setting incoming file dates by FTP [M]GET from the server file date. . FTP CHECK lets FTP client check the existence of a file on server. . FTP GET /NAMELIST: gets list of server filenames into a local file. . FTP [M]PUT and [M]GET /SERVER-RENAME:template added to make server rename a file as indicated by the template after successful transfer. . FTP VDIRECTORY for getting verbose directory listings from TOPS-20. . FTP TYPE TENEX for transferring 8-bit binary files with PDP-10s. . Automatic text/binary mode switching for FTP [M]GET, based on filename patterns (e.g. *.zip, *.exe are binary; *.txt, *.c are text). . SET SEND I-PACKETS OFF added for coping with broken Kermit servers. . A new option for \fword() and \fsplit() for parsing comma-separated lists that might contain empty elements. . Improvement of various HELP and SHOW messages. Bug fixes include: . {} or "" could not be used as expected to represent the empty string. . ,- on a line by itself terminated a macro prematurely. . FTP [M]GET broken when path segments were included in the filespec. . FTP MGET, if interrupted, did not clear its file list. . Various problems with FTP PUT /AS-NAME. . Some FTP messages and displays interfered with each other. . Parsing of YESTERDAY, TODAY, and TOMORROW in date-time fields broken. . Automatic old-to-new dialing directory format conversion broken in VMS. . Various source-code portability problems. Alpha.02 can be found in the regular location: http://www.columbia.edu/kermit/ck71.html All documentation and blurbs have been updated: http://www.columbia.edu/kermit/ckermit3.html Manual supplement http://www.columbia.edu/kermit/ftpclient.html FTP client overview http://www.columbia.edu/kermit/ftpscripts.html FTP scripting tutorial Sorry, the SSH material has not been added yet. It should be ready by the next Alpha test, barring unforeseen difficulties. As usual, send reports, comments, suggestions, complaints by email to: kermit-support@columbia.edu - Frank From news@columbia.edu Sun Jan 7 19:42:54 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id TAA13607 for ; Sun, 7 Jan 2001 19:42:53 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id TAA11361 for ; Sun, 7 Jan 2001 19:42:53 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id TAA17869 for kermit.misc@watsun.cc.columbia.edu; Sun, 7 Jan 2001 19:16:01 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: wu-ftpd, samba and special characters Date: 7 Jan 2001 19:14:28 -0500 Organization: Columbia University Message-ID: <93b0p4$782@watsun.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Duke Sniper wrote: : I'm runing a Linux box that acts as both samba and ftp server that shares my : mp3 files that reside on a reiserfs partition. Since I'm German, I've got a : lot of filenames that consist of special characters. When showing the : directory via samba-shared mounts, the Win-machine properly displays the : Umlauts, but all Linux-Tools (wu-ftpd, mc, ls, etc.) show weird chars. Since : they all look alike with the standard Windoze fonts, it's impossible to get : the files via command-line ftp. : Not any more. Here is a new FTP client that converts filename character sets between client and server: http://www.columbia.edu/kermit/ck71.html and also translates the contents of any file transferred in text mode. So for example, you might have files with German names such as: Grüße-aus-Köln.txt on the server, where their names and contents are encoded in (say) PC code page 850 (or any other character set, e.g. CP1252), and you need to transfer these files to Linux, where you are using ISO 8859-1 Latin Alphabet 1, or (if you are very modern) Unicode UTF-8. All of these combinations, and many more, are possible. For details see: http://www.columbia.edu/kermit/ckermit3.html#x3.7 The translations work independently of the FTP server, so it doesn't matter what the server is: wu-ftpd or anything else. Plus, it's scriptable and secure. - Frank From news@columbia.edu Mon Jan 8 15:42:55 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id PAA01622 for ; Mon, 8 Jan 2001 15:42:55 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA12576 for ; Mon, 8 Jan 2001 15:42:55 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id PAA26796 for kermit.misc@watsun.cc.columbia.edu; Mon, 8 Jan 2001 15:41:45 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: krmadhu@my-deja.com Subject: a newbie question Date: Mon, 08 Jan 2001 20:25:23 GMT Organization: Deja.com Message-ID: <93d7n8$6l7$1@nnrp1.deja.com> To: kermit.misc@columbia.edu I want to transfer around 10 Mb of cobol datafiles from a SCO Unix 3.2 m/c(without TCP/IP stack) at the customer end which is not networked using TCP/IP to my PC at home . Currently there is a dial up connection from my PC to the unix box. I came to know that kermit is a right tool for getting data from the unix box to my PC. So please tell me if I should install kermit software on both ends and if so which kermit should I install. I am confused with c-kermit and g-kermit. What is the best kermit client software which I need at my PC end. Is it a viable solution instead of going to customer site and taking a tape backup and dumping at my PC. I want to do this operation once in a week I have reflection terminal client installed at my PC. Is it enough. Please treat this as a newbie question. I have no kermit experience Any help will be greatly appreciated. Thanks in advance Madhu Sent via Deja.com http://www.deja.com/ From news@columbia.edu Mon Jan 8 16:12:56 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id QAA12812 for ; Mon, 8 Jan 2001 16:12:56 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA16760 for ; Mon, 8 Jan 2001 16:12:55 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id QAA27655 for kermit.misc@watsun.cc.columbia.edu; Mon, 8 Jan 2001 16:01:08 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: a newbie question Date: 8 Jan 2001 21:01:07 GMT Organization: Columbia University Message-ID: <93d9qj$r04$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <93d7n8$6l7$1@nnrp1.deja.com>, wrote: : I want to transfer around 10 Mb of cobol datafiles from a SCO Unix 3.2 : m/c(without TCP/IP stack) at the customer end which is not networked : using TCP/IP to my PC at home . Currently there is a dial up connection : from my PC to the unix box. : I came to know that kermit is a right tool for getting data from the : unix box to my PC. So please tell me if I should install kermit : software on both ends... : Yes, you must. : and if so which kermit should I install. : C-Kermit for SCO UNIX 3.2v4.x is here: http://www.columbia.edu/kermit/ckermit.html : I am confused with c-kermit and g-kermit. : Or you could use G-Kermit, which is here: http://www.columbia.edu/kermit/gkermit.html : What is the best kermit client : software which I need at my PC end. : That would depend on the OS. If it's DOS or Windows 3.x: http://www.columbia.edu/kermit/mskermit.html If it's Windows 95, 98, ME, NT, or 2000, or OS/2: http://www.columbia.edu/kermit/k95.html If it's Linux or other PC-based UNIX variety: http://www.columbia.edu/kermit/ckermit.html : Is it a viable solution instead of : going to customer site and taking a tape backup and dumping at my PC. : I want to do this operation once in a week : It's a tradeoff. If you have to drive 400 miles to your customer site, Kermit is preferable. On the other hand, old SCO versions do not support high baud rates. I'm not sure off hand what the maximum is, but if it's 19200 bps, then it will take at least 10,000,000 / 1920 = 5208 seconds = about 1.5 hours to transfer 10MB. If it's 38400 bps, then 45 minutes, etc. : I have reflection terminal client installed at my PC. Is it enough. : I don't know. It probably has a Kermit protocol implementation, but I can't speak for the quality or efficiency of it. - Frank From news@columbia.edu Tue Jan 9 23:13:16 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id XAA09065 for ; Tue, 9 Jan 2001 23:13:08 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id XAA03951 for ; Tue, 9 Jan 2001 23:12:58 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id XAA13898 for kermit.misc@watsun.cc.columbia.edu; Tue, 9 Jan 2001 23:01:56 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Abid Khan Subject: Re: a newbie question Date: Wed, 10 Jan 2001 03:47:50 GMT Organization: Deja.com Message-ID: <93gm15$s5g$1@nnrp1.deja.com> To: kermit.misc@columbia.edu In article <93d9qj$r04$1@newsmaster.cc.columbia.edu>, fdc@watsun.cc.columbia.edu (Frank da Cruz) wrote: > In article <93d7n8$6l7$1@nnrp1.deja.com>, wrote: > : I want to transfer around 10 Mb of cobol datafiles from a SCO Unix 3.2 > : m/c(without TCP/IP stack) at the customer end which is not networked > : using TCP/IP to my PC at home . Currently there is a dial up connection > : from my PC to the unix box. > : I came to know that kermit is a right tool for getting data from the > : unix box to my PC. So please tell me if I should install kermit > : software on both ends... > : > Yes, you must. > > : and if so which kermit should I install. > : > C-Kermit for SCO UNIX 3.2v4.x is here: > > http://www.columbia.edu/kermit/ckermit.html > > : I am confused with c-kermit and g-kermit. > : > Or you could use G-Kermit, which is here: > > http://www.columbia.edu/kermit/gkermit.html > > : What is the best kermit client > : software which I need at my PC end. > : > That would depend on the OS. If it's DOS or Windows 3.x: > > http://www.columbia.edu/kermit/mskermit.html > > If it's Windows 95, 98, ME, NT, or 2000, or OS/2: > > http://www.columbia.edu/kermit/k95.html > > If it's Linux or other PC-based UNIX variety: > > http://www.columbia.edu/kermit/ckermit.html > > : Is it a viable solution instead of > : going to customer site and taking a tape backup and dumping at my PC. > : I want to do this operation once in a week > : > It's a tradeoff. If you have to drive 400 miles to your customer site, > Kermit is preferable. On the other hand, old SCO versions do not support > high baud rates. I'm not sure off hand what the maximum is, but if it's > 19200 bps, then it will take at least 10,000,000 / 1920 = 5208 seconds > = about 1.5 hours to transfer 10MB. If it's 38400 bps, then 45 minutes, > etc. > > : I have reflection terminal client installed at my PC. Is it enough. > : > I don't know. It probably has a Kermit protocol implementation, but I > can't speak for the quality or efficiency of it. > > - Frank > Dialing in to the system and using kermit is a fine choice as long as it is not a long distance call, if it is a long distance call and your connection is 9600 baud, then driving down to the client site is not a bad idea either depands on how far you have to drive, another choice is to create a shell script to backup the file(s), have client backup the file(s) and mail you tape once a week. I am using Kermit and Mlink (X- Modem) both to do this kind of activity on SCO boxes. Abid Sent via Deja.com http://www.deja.com/ From news@columbia.edu Wed Jan 10 09:43:00 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id JAA10128 for ; Wed, 10 Jan 2001 09:43:00 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id JAA29100 for ; Wed, 10 Jan 2001 09:42:59 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id JAA28768 for kermit.misc@watsun.cc.columbia.edu; Wed, 10 Jan 2001 09:42:58 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Jean-Pierre Bergamin" Subject: CPS/BPS calculation Date: Wed, 10 Jan 2001 15:43:28 +0100 Organization: Usenet provided by sunrise communications ag Message-ID: <93hsak$i1e$3@news1.sunrise.ch> To: kermit.misc@columbia.edu Hello all I want to calculate the CPS and BPS in my program (www.hpcomm.org/beta.html). Is it correct how I do it? CPS: I only count the effectively transferred bytes of the file (without header stuff and padding chars etc.) and divide the total by seconds BPS: I get ALL the transferred bytes * 8 and divide it by seconds Thank you for the info Regards James -- ============================= Windows Open Source MFC Apps: http://www.ractive.ch/gpl ============================= From news@columbia.edu Wed Jan 10 22:13:02 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id WAA21441 for ; Wed, 10 Jan 2001 22:13:01 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id WAA22167 for ; Wed, 10 Jan 2001 22:13:00 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id WAA00208 for kermit.misc@watsun.cc.columbia.edu; Wed, 10 Jan 2001 22:09:11 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f Message-ID: <3A5D2372.9988129C@cyberbills.com> From: Victor Zele Organization: CyberBills, Inc. Subject: scripting problem Date: Thu, 11 Jan 2001 03:07:31 GMT To: kermit.misc@columbia.edu I'm having a weird problem with a script where I can run all the commands interactively fine, but when I run them in my script it fails at the SEND (resend) command with the error, Retry 0: Timeout on pathname Transfer incomplete I never get the output, "Sending: filename" Have you every seen this problem? I've checked all the parameters for the comm port and modem and tty but they are all the same. I assume its the tty that's the only difference that may be causing this. I turned off pathnames because of the error message but no change... Anyways, the commands work when I type them. Here is the trace output. Kermit version shown at the end. Any ideas? thanks Victor +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # ./kermit.sh TRACE ON >>> %m: "1" >>> %n: "555-1212" >>> %h: "host" ">> %p: " >>> %f: "file.txt" >>> %d: "20010110-1851" >>> giveup: " hangup, close, exit 1 {FATAL: \%1 (Connection closed)} " ...cut... [1] -F: "/root/bin/kermit.sh" >>> %a: "0" Communications Parameters: Line: /dev/ttyS1, speed: 57600, mode: local, modem: usrobotics Parity: none, stop-bits: (default) (8N1) Duplex: full, flow: rts/cts, handshake: none Carrier-watch: auto, close-on-disconnect: off Lockfile: /var/lock/LCK..ttyS1 Terminal bytesize: 7, escape character: 28 (^\) Carrier Detect (CD): Off Dataset Ready (DSR): On Clear To Send (CTS): On Ring Indicator (RI): Off Data Terminal Ready (DTR): On Request To Send (RTS): On Type SHOW DIAL to see DIAL-related items. Type SHOW MODEM to see modem-related items. Trying: 555-1212... Device: /dev/ttyS1, modem: usrobotics, speed: 57600 Dial timeout: 70 seconds To cancel: type your interrupt character (normally Ctrl-C). Call complete: "CONNECT 44000/ARQ/V90/LAPM/V42BIS". >>> %0: "_forx" >>> %1: "%i" >>> %2: "1" >>> %3: "6" >>> %4: "1" >>> %5: ">" >>> %6: "\flit(output \13, input 10 Name:,, if success break )" [2] +M: "_forx" >>> _for2: " _getargs,define \%i 1,:_..top,if > \%i 6 goto _..bot,output \13, input 10 Name:,, if success break ,:_..inc,incr \%i 1,goto _..top,:_..bot,_putargs" >>> break: "goto _..bot" >>> continue: "goto _..inc" >>> %0: "_for2" >>> %1: "%i" >>> %2: "1" >>> %3: "6" >>> %4: "1" >>> %5: " > " [3] +M: "_for2" >>> %0: "/root/bin/kermit.sh" >>> %1: "0" >>> %2: (undef) >>> %3: (undef) >>> %4: (undef) >>> %5: (undef) >>> %6: (undef) >>> %7: (undef) >>> %8: (undef) >>> %9: (undef) >>> %i: "1" 0285SFN Host Name:>>> %0: "break" [4] +M: "break" [3] -M: "/root/bin/kermit.sh" >>> %0: "/root/bin/kermit.sh" >>> %1: "0" >>> %2: (undef) >>> %3: (undef) >>> %4: (undef) >>> %5: (undef) >>> %6: (undef) >>> %7: (undef) >>> %8: (undef) >>> %9: (undef) [2] -M: "_forx" >>> _for2: (undef) [1] -F: "/root/bin/kermit.sh" PSPC08 You are now into the XXX system Connected to 0002 XXX_HKD Enter logon id: USER Enter password: XXX ...Attempting logon... ** LOGON SUCCESSFUL ** Making outbound connection...CONNECTED CONNECTED found The current File Transfer Protocol is ZMODEM>>> %0: "_xif" >>> %1: "\flit(,sleep 2,resend \%f,if fail stop,,,pause 2,echo Now receiving files: \%d.\v(filenum),receive /rename-to:\%d.\v(filenum),if fail giveup {RECEIVE failed} )" [2] +M: "_xif" >>> _if2: "_getargs,,sleep 2,resend \%f,if fail stop,,,pause 2,echo Now receiving files: \%d.\v(filenum),receive /rename-to:\%d.\v(filenum),if fail giveup {RECEIVE failed} ,_putargs" >>> %0: "_if2" [3] +M: "_if2" >>> %0: "/root/bin/kermit.sh" >>> %1: "0" >>> %2: (undef) >>> %3: (undef) >>> %4: (undef) >>> %5: (undef) >>> %6: (undef) >>> %7: (undef) >>> %8: (undef) >>> %9: (undef) Retry 0: Timeout on pathname Transfer incomplete [2] -M: "_xif" [1] -F: "/root/bin/kermit.sh" C-Kermit 7.0.196, 1 Jan 2000, for Linux Copyright (C) 1985, 2000, Trustees of Columbia University in the City of New York. Type ? or HELP for help. (/root/bin/) C-Kermit>exit From news@columbia.edu Thu Jan 11 09:43:03 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id JAA29704 for ; Thu, 11 Jan 2001 09:43:03 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id JAA26698 for ; Thu, 11 Jan 2001 09:43:02 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id JAA26314 for kermit.misc@watsun.cc.columbia.edu; Thu, 11 Jan 2001 09:32:54 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: scripting problem Date: 11 Jan 2001 14:32:52 GMT Organization: Columbia University Message-ID: <93kg6k$pm7$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <3A5D2372.9988129C@cyberbills.com>, Victor Zele wrote: : I'm having a weird problem with a script where I can run all : the commands interactively fine, but when I run them in my script : it fails at the SEND (resend) command with the error, : ... : # ./kermit.sh : TRACE ON : ... : Trying: 555-1212... : Device: /dev/ttyS1, modem: usrobotics, speed: 57600 : Call complete: "CONNECT 44000/ARQ/V90/LAPM/V42BIS". : ... : ** LOGON SUCCESSFUL ** : ... : The current File Transfer Protocol is ZMODEM>>> %0: "_xif" : Could this be it? I don't see anywhere below that you change the protocol to Kermit. - Frank From news@columbia.edu Thu Jan 11 13:13:03 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id NAA19457 for ; Thu, 11 Jan 2001 13:13:02 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA25494 for ; Thu, 11 Jan 2001 13:13:02 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id NAA05580 for kermit.misc@watsun.cc.columbia.edu; Thu, 11 Jan 2001 13:01:17 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f Message-ID: <3A5DF487.D5E07811@cyberbills.com> From: Victor Zele Organization: CyberBills, Inc. Subject: Re: scripting problem Date: Thu, 11 Jan 2001 17:59:36 GMT To: kermit.misc@columbia.edu Frank da Cruz wrote: > In article <3A5D2372.9988129C@cyberbills.com>, > Victor Zele wrote: > : I'm having a weird problem with a script where I can run all > : the commands interactively fine, but when I run them in my script > : it fails at the SEND (resend) command with the error, > : ... > : # ./kermit.sh > : TRACE ON > : ... > : Trying: 555-1212... > : Device: /dev/ttyS1, modem: usrobotics, speed: 57600 > : Call complete: "CONNECT 44000/ARQ/V90/LAPM/V42BIS". > : ... > : ** LOGON SUCCESSFUL ** > : ... > : The current File Transfer Protocol is ZMODEM>>> %0: "_xif" > : > Could this be it? I don't see anywhere below that you change the protocol > to Kermit. > > - Frank I do a set protocol zmodem at the beginning because that's the protocol supported by the remote server. Victor From news@columbia.edu Thu Jan 11 15:13:04 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id PAA07253 for ; Thu, 11 Jan 2001 15:13:03 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA12230 for ; Thu, 11 Jan 2001 15:13:03 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id OAA10503 for kermit.misc@watsun.cc.columbia.edu; Thu, 11 Jan 2001 14:49:42 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: scripting problem Date: 11 Jan 2001 19:49:39 GMT Organization: Columbia University Message-ID: <93l2oj$a84$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <3A5DF487.D5E07811@cyberbills.com>, Victor Zele wrote: : I do a set protocol zmodem at the beginning because that's the : protocol supported by the remote server. : You didn't mention that in your original report. Zmodem is an external protocol in C-Kermit, meaning (a) you need to have an external Zmodem program, and (b) the Zmodem program must operate on standard i/o, so Kermit can redirect it over the communications connection. In any case, Kermit seems to be doing its job. The following: Retry 0: Timeout on pathname is a message from the Zmodem program (sz or whatever). So either sz is not allowing itself to be redirected (in which case you need another Zmodem program, such crzsz), or else there is an error in your script, but you didn't show us your script. - Frank From news@columbia.edu Fri Jan 12 13:43:05 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id NAA21810 for ; Fri, 12 Jan 2001 13:43:05 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA29534 for ; Fri, 12 Jan 2001 13:43:04 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id NAA25930 for kermit.misc@watsun.cc.columbia.edu; Fri, 12 Jan 2001 13:41:53 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: nildap@my-deja.com Subject: Secure version of C-kermit compiles but still no security Date: Fri, 12 Jan 2001 18:25:42 GMT Organization: Deja.com Message-ID: <93ni6r$ptq$1@nnrp1.deja.com> To: kermit.misc@columbia.edu I downloaded the source code of the secure version of C-Kermit 7.0 (http://www.kermit-project.org/xxx/crypto.html) and compiled on a Linux platform with, apparently, no problem. However, when I type 'show features' at the kermit prompt it says that NONE of the security features are available, in particular, it says "No SRP(TM) (Secure Remote Password) protocol" and "No encryption" Is there something more to do to activate the security features other than compiling the secure version? Thank you, A. Lewenberg (Version information: C-Kermit 7.0.197, 8 Feb 2000 Host info: Machine: i586 Model: (unknown) OS: Linux OS Release: 2.2.14-5.0 OS Version: #1 Tue Mar 7 20:53:41 EST 2000 Target: linux GCC version: egcs-2.91.66 19990314/Linux (egcs-1.1.2 release) Compiled Jan 12 2001 12:06:39, options: __GLIBC__ __GNUC__ __linux__ __STDC__ _POSIX_JOB_CONTROL _POSIX_OPEN_MAX=16 _POSIX_SOURCE _SC_JOB_CONTROL ARRAYREFLEN=1024 BIGBUFOK BROWSER BSD44ORPOSIX CK_ANSIC CK_ANSILIBS CK_APC CK_AUTODL CK_CURSES CK_DNS_SRV CK_ENVIRONMENT CK_FAST CK_LOGIN CK_MKDIR CK_NAWS CK_NEWTERM CK_PCT_BAR CK_PERMS CK_POSIX_SIG CK_RECALL CK_RTSCTS CK_SPEED CK_TIMERS CK_TMPDIR CK_TTGWSIZ CK_TTYFD CKEXEC CKFLOAT=double ckmaxfiles=1024 CKMAXOPEN=256 CKMAXPATH=1023 CKREALPATH CKREGEX CKSYSLOG CKTUNING CMDBL=32763 CMDDEP=64 CONGSPD DCMDBUF DIRENT DYNAMIC FNFLOAT FOPEN_MAX=256 FORDEPTH=32 GFTIMER HADDRLIST HWPARITY i386 IFDEBUG IKS_OPTION IKSDB IKSDCONF INBUFSIZE=32768 INPBUFSIZ=4096 MAC_MAX=16384 MACLEVEL=128 MAXDDIR=32 MAXDNUMS=4095 MAXGETPATH=128 MAXTAKE=54 MAXWLD=102400 MSENDMAX=1024 NETCMD NETCONN NETPTY NOCOTFMC NOFILEH NOKVERBS NOSETBUF OBUFSIZE=32768 OPEN_MAX=256 PARSENSE PATTERNS PIPESEND POSIX POSIX_CRTSCTS RENAME RLOGCODE SELECT SIG_V SOL_SOCKET STREAMING SYSTIMEH TCPSOCKET TIMEH TLOG TNCODE TTLEBUF TTSPDLIST UIDBUFLEN=256 UNIX UNPREFIXZERO USE_LSTAT USE_MEMCPY VNAML=4096 WHATAMI XFRCAN z_maxchan=238 Z_MAXCHAN=238 ZXREWIND Sent via Deja.com http://www.deja.com/ From news@columbia.edu Fri Jan 12 14:43:10 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id OAA11335 for ; Fri, 12 Jan 2001 14:43:10 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA07878 for ; Fri, 12 Jan 2001 14:43:10 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id OAA27705 for kermit.misc@watsun.cc.columbia.edu; Fri, 12 Jan 2001 14:22:40 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f Message-ID: <3A5F590E.21B5448A@cyberbills.com> From: Victor Zele Organization: CyberBills, Inc. Subject: Re: scripting problem Date: Fri, 12 Jan 2001 19:20:46 GMT To: kermit.misc@columbia.edu Frank da Cruz wrote: > In article <3A5DF487.D5E07811@cyberbills.com>, > Victor Zele wrote: > : I do a set protocol zmodem at the beginning because that's the > : protocol supported by the remote server. > : > You didn't mention that in your original report. > > Zmodem is an external protocol in C-Kermit, meaning (a) you need to have > an external Zmodem program, and (b) the Zmodem program must operate on > standard i/o, so Kermit can redirect it over the communications connection. > > In any case, Kermit seems to be doing its job. The following: > > Retry 0: Timeout on pathname > > is a message from the Zmodem program (sz or whatever). So either sz is > not allowing itself to be redirected (in which case you need another > Zmodem program, such crzsz), or else there is an error in your script, > but you didn't show us your script. > > - Frank Well I tried installing crzsz and these Zmodem programs behave the same as the standard rzsz programs. Besides why does the same commands work when I run them interactively in Kermit? I do know that I am sending data at 8N1, but the compuserve number requires 7-bit terminal emulation that is default in Kermit. I think it must be related to the script not having the exact terminal characteristics as an interactive session that is doing some additional handshaking between 7-bit Compuserv and the 8-bit server at the end. Below is the script output and the same commands when running interactively and things working. I have verbose output for the sz and csz programs. Script output running SZ =================================================== Making outbound connection...CONNECTED The current File Transfer Protocol is ZMODEM sz 0.12.20 mode:1 Countem: 000 /root/bin/filestr.txt 54 countem: Total 1 54 zshhdr: ZRQINIT 0zshhdr: ZRQINIT 0Retry 0: Timeout on pathname getnak failed mode:0 Transfer incomplete Now the interactive script commands output that works =================================================== C-Kermit 7.0.196, 1 Jan 2000, for Linux Copyright (C) 1985, 2000, Trustees of Columbia University in the City of New York. Type ? or HELP for help. (/root/bin/) C-Kermit>conn The current File Transfer Protocol is ZMODEM. (Back at sjp-gw1) ---------------------------------------------------- (/root/bin/) C-Kermit>redirect sz -vvv /root/bin/\%f sz 0.12.20 mode:1 Countem: 000 /root/bin/filestr.txt 54 countem: Total 1 54 zshhdr: ZRQINIT 0zgethdr: ZRINIT 2f000000Rxbuflen=0 Tframlen=0 mode:2 Rxbuflen=1024 Rxbuflen=1024 blklen=1024 Txwindow = 0 Txwspac = 0 Sending: filestr.txt zsbhdr: ZFILE 0zsdat32: 41 ZCRCWzgethdr: ZRPOS 0zsbhdr: ZDATA 0zsdat32: 54 ZCRCEBytes Sent: 54 BPS:9 zshhdr: ZFIN 0zgethdr: ZFIN 0mode:0 Transfer complete ---------------------------------------------------------------- USING CSZ script output with failed transfer The current File Transfer Protocol is ZMODEM csz 1.03 10-01-99 for POSIX tty=(null) mode:3 Baudrate = 4097 Countem: 000 filestr.txt 54 countem: Total 1 54 zshhdr: f 4 ZRQINIT 80 wcsend: argc=1 Sending name=filestr.txt wctxpn: filestr.txt Retry 0: Awaiting pathname nak for filestr.txt Readline:TIMEOUT Timeout waiting for ZRINIT csz 1.03 10-01-99 finished. mode:0 ======================================= GOOD transfer running script command interactively w/ CSZ (/root/bin/) C-Kermit>redirect /usr/bin/csz -vvv \%f csz 1.03 10-01-99 for POSIX tty=(null) mode:3 Baudrate = 4097 Countem: 000 filestr.txt 54 countem: Total 1 54 zshhdr: f 4 ZRQINIT 80 wcsend: argc=1 Sending name=filestr.txt wctxpn: filestr.txt Retry 0: Awaiting pathname nak for filestr.txt zgethdr: B 4 ZRINIT 2f000000 Rxbuflen=0 Tframlen=0 Rxbuflen=0 Rxbuflen=0 blklen=1024 Txwindow = 0 Txwspac = 0 wctxpn: 54 7227452623 100644 3 1 54 zsbhdr: f 4 ZFILE 0 zsdata: 41 ZCRCW zgethdr: B 4 ZRPOS 0 fooseek: pos =0 vpos=0 Canseek=1 within buffer: vpos=0 zsbhdr: f 4 ZDATA 0 zfilbuf: bytcnt =0 vpos=0 blklen=1024 zfilbuf: n=54 vpos=54 Eofseen=1 0 ZMODEM CRC-32 zsdata: 54 ZCRCE zsbhdr: f 4 ZEOF 36 zgethdr: B 4 ZRINIT 2f000000 zshhdr: f 4 ZFIN 0 zgethdr: B 4 ZFIN 0 csz 1.03 10-01-99 finished. mode:0 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ my script is (with user/passwords replaced): #!/usr/bin/kermit + # # Script for dialing to transfer via Zmodem protocol # # Initialize settings set modem type usrobotics set line /dev/ttyS1 set protocol zmodem set speed 57600 set flow rts/cts set dial retries 5 # Compuserv local number: 408-268-0799 #assign \%n 268-0799 ; Compuserv number - San Jose assign \%n 354-9573 ; Compuserv number - Santa Clara assign \%h HOSTNAME ; HostID assign \%p PASSWORD\13 ; password assign \%f filestr.out #------------------------------------------------------------------ # Do not edit from here # #eightbit cd /root/bin .\%d := \v(ndate)-\fsubstr(\v(time),1,2)\fsubstr(\v(time),4,2) define giveup { hangup, close, exit 1 {FATAL: \%1 (Connection closed)} } assign \%u PRODUSER ; Receive Production UserID # Connect to dialup server dial \%n if fail exit 1 for \%i 1 6 1 { ; Try up to 6 times to get Host Name prompt output \13 ; Send a carriage return and try again input 10 Name: ; Wait 10 sec for it to appear # input 10 : ; Wait 10 sec for it to appear if success break ; Got it - proceed... } pause 1 if ( > \%i 6 ) exit 1 NO HOST PROMPT lineout \%h ; Send Host string input 30 logon id: ; Wait for Login id: prompt if fail stop 1 NO LOGON PROMPT lineout \%u ; Send the Userid. input 10 password: ; Wait for Login id: prompt if fail stop 1 NO PASSWORD PROMPT lineout \%p ; Send the password. # Wait for connection input 20 CONNECTED input 20 ZMODEM pause 4 # Perform SEND operation redirect /usr/bin/csz -vvv \%f #redirect /usr/bin/sz -vvv \%f #send \%f #resend /pathnames:off \%f if fail stop ; Update failed exit +++++++++++++++++++++++++++++++++++++++++++++++++++ Here is the comm settings which appear the same for both interactive sessions and script sessions. (/root/bin/) C-Kermit>sh comm Communications Parameters: Line: /dev/ttyS1, speed: unknown, mode: local, modem: usrobotics Parity: none, stop-bits: (default) (8N1) Duplex: full, flow: rts/cts, handshake: none Carrier-watch: auto, close-on-disconnect: off Lockfile: /var/lock/LCK..ttyS1 Terminal bytesize: 7, escape character: 28 (^\) Modem signals unavailable Type SHOW DIAL to see DIAL-related items. Type SHOW MODEM to see modem-related items. (/root/bin/) C-Kermit> From news@columbia.edu Fri Jan 12 15:13:06 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id PAA22562 for ; Fri, 12 Jan 2001 15:13:05 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA12034 for ; Fri, 12 Jan 2001 15:13:05 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id PAA29969 for kermit.misc@watsun.cc.columbia.edu; Fri, 12 Jan 2001 15:11:52 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Secure version of C-kermit compiles but still no security Date: 12 Jan 2001 20:11:43 GMT Organization: Columbia University Message-ID: <93nodv$t8e$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <93ni6r$ptq$1@nnrp1.deja.com>, wrote: : I downloaded the source code of the secure version of C-Kermit 7.0 : (http://www.kermit-project.org/xxx/crypto.html) and compiled on a Linux : platform with, apparently, no problem. However, when I type 'show : features' at the kermit prompt it says that NONE of the security : features are available, in particular, it says : "No SRP(TM) (Secure Remote Password) protocol" and "No encryption" : : Is there something more to do to activate the security features other : than compiling the secure version? : ... : Target: linux : Wrong target. You have to use one of the secure targets: make linux+krb5 make linux+krb5+krb4 make linux+srp make linux+srp+no-des make linux+srp-export make linux+srp+pam make linux+shadow+pam make linux+openssl make linux+openssl+shadow make linux+srp+openssl make linux+krb5+krb4+srp make linux+krb5+krb4+srp+openssl make linux+krb5+krb4+openssl make linux+krb5+krb4+openssl+shadow make linux+krb5+krb4+openssl+zlib+shadow make linux+krb5+krb4+srp-export make linux+krb5+krb4+srp+pam make linux+krb5+krb4+srp+openssl+pam-debug make linux+krb5+krb4+srp+openssl+pam make linux+krb5+krb4+srp+openssl+zlib+pam See the comments with each target for a fuller explanation. As you can see, things get complicated when we start adding security. - Frank From news@columbia.edu Fri Jan 12 15:43:05 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id PAA29981 for ; Fri, 12 Jan 2001 15:43:05 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA16242 for ; Fri, 12 Jan 2001 15:43:05 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id PAA00768 for kermit.misc@watsun.cc.columbia.edu; Fri, 12 Jan 2001 15:32:22 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: secure FTP Date: 12 Jan 2001 20:32:16 GMT Organization: Columbia University Message-ID: <93npkg$nr$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <3A5F460E.60D6E6DE@eu.kddi.com>, terry tashiro wrote: : Probably this newsgroup is not appropriate. : But I did not get any response from comp.security.misc so that I thought : Linux people might know something. : : I have been looking for secure FTP programs which work like https. : https works with a browserand secure httpd and does not require any : client programs. : : I just type sftp://ftp.common.com in a browser and a secure ftp server : will do the rest. : Or there are no such programs? : Here's one: http://www.columbia.edu/kermit/ftpclient.html - Frank off you're not using "set protocol zmodem" and "send". Did you try that? See Chapter 14 of Using C-Kermit. Aside from that I don't see anything obviously wrong with your script, but I don't know the details of the connection, etc. Try replacing: redirect /usr/bin/csz -vvv \%f with: send /binary \%f and see if it makes a difference. If not, follow up by email to kermit-support@columbia.edu. - Frank From news@columbia.edu Tue Jan 16 23:13:15 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id XAA06697 for ; Tue, 16 Jan 2001 23:13:14 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id XAA07040 for ; Tue, 16 Jan 2001 23:13:14 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id WAA24519 for kermit.misc@watsun.cc.columbia.edu; Tue, 16 Jan 2001 22:46:44 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f Message-ID: <3A648880.69813500@unigroup.org> From: Unigroup of New York Organization: Unigroup of New York Subject: LOCAL NYC: UNIGROUP 18-JAN-01: Security Protocols Date: Wed, 17 Jan 2001 03:45:02 GMT To: kermit.misc@columbia.edu This is a multi-part message in MIME format. --------------21192F323B380E54C4F276F7 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit --------------21192F323B380E54C4F276F7 Content-Type: text/plain; charset=us-ascii; name="uni0101.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="uni0101.txt" Subject: LOCAL NYC: UNIGROUP 18-JAN-01: Security Protocols =============================================== UNIGROUP OF NEW YORK JANUARY 2001 ANNOUNCEMENTS =============================================== ---------------------------------------------------- 1. UNIGROUP'S JANUARY 2001 GENERAL MEETING ANNOUNCEMENT ---------------------------------------------------- When: Thursday, January 18, 2001 Where: The Chase Manhattan Bank 55 Water Street (enter at Old Slip) South Tower 13th Floor, Conference Room C Time: 6:15 PM - 6:30 PM Registration 6:30 PM - 6:40 PM Ask the Wizard, Questions, Answers and Current Events 6:40 PM - 6:50 PM Unigroup Business 6:50 PM - 9:30 PM Main Presentation ----------------------------------- Topic: Security Protocols and Technologies ----------------------------------- Speaker: Jeffrey Altman, Sr. Software Designer, The Kermit Project at Columbia University Meeting Introduction: --------------------- Happy New Year to all! Those of you who have been using computers for over 15 years should remember the "good old days" of file transfer which depended on serial cabling, modems and a small handful of communications protocols which could be used to transfer data between machines. Unix shipped with UUCP (at least from v7) which allowed reliable remote command execution and file transfer. BSD variants of Unix eventually shipped with TCP/IP networking (foundation for the modern Internet). VAXs were running VMS and DECNet, but not UUCP or TCP/IP. And for DOS, those 360k floppies didn't allow for many options. Before the wide-spread use of TCP/IP networking, one common way of sending files across different platforms was to use Kermit. Kermit's roots go back to Columbia University in 1981. It is both a communications protocol and file transfer program. Over the years it has been ported to just about every machine and operating system you can think of. Certain versions also come with extensive terminal emulation capabilities and have an advanced scripting language built in. Modern Kermit versions support TCP/IP networking (among others) and can be used as a server for both serial and Internet communications. The freely available C-Kermit 7.x (which runs on many operating systems) and Kermit 95 (commercial product for win32) support Secure Telnet and FTP using Internet standard protocols for Authentication and Encryption such as Kerberos, SRP, and SSL/TLS. Unigroup's January 2001 meeting will address the usage of Internet Security Protocols and Technologies from a development and implementation point of view. Web Resources: -------------- 1. The Kermit Project http://www.kermit-project.org 2. C-Kermit Home http://www.kermit-project.org/ckermit.html 3. C-Kermit 7.1 Alpha http://www.kermit-project.org/ck71.html 4. Kermit Security Features http://www.kermit-project.org/security71.html 5. Internet Kermit Service http://www.kermit-project.org/cuiksd.html 6. Kermit Standards Reference Page http://www.kermit-project.org/standards.html 7. Kermit 95 (win32, commercial) http://www.kermit-project.org/k95 8. G-Kermit http://www.kermit-project.org/gkermit.html 9. MIT Kerberos http://web.mit.edu/kerberos/www 10. Secure Remote Password http://www-cs-students.stanford.edu/~tjw/srp 11. OpenSSL http://www.openssl.org 12. IETF http://www.ietf.org Giveaways: ---------- Caldera has donated three "cartons" of Caldera OpenLinux 2.3 for giveaways at Unigroup meetings. These are full, boxed distributions (3 CDs + Manuals). OpenLinux is a leading commercially supported Linux Operating System! Unigroup will be giving these distributions out (raffling them off) as door prizes at upcoming meetings. Unigroup appreciates Caldera's continued support! Description of Talk: -------------------- Jeffrey Altman, one of the primary authors of Kermit software from Columbia University's Kermit Project and an active participant in the Internet Engineering Task Force (IETF), will present a talk on the incorporation of security protocols and algorithms into an age old communications product. Kermit is traditionally thought of as a serial modem communications. However, it has been used as a telnet client since the mid-80s and other protocols have been integrated since. As the use of the Internet became increasingly popular, the need to protect data transmissions increased as well. The Kermit Project has worked with other Universities and organizations such as the IETF to design and implement methods for authenticating and protecting the communication sessions in Telnet, Rlogin and FTP. The mechanisms implemented within Kermit include Kerberos 4 and 5; Secure Remote Password protocol; and SSL/TLS (X.509 certificates). This talk will focus on the capabilities of Kermit; the design of the Internet Kermit Service ; and how and why we decided to implement that security methods we chose. The talk will provide an overview of how the security methods work including their strengths and weaknesses. Speaker Biography: ------------------ Jeffrey Altman is the Sr. Software Designer for Columbia University's Kermit Project and Chief Technology Officer for IAM Training and Consulting. He is currently the chairperson of the IETF Telnet Security working group and has edited close to two dozen Internet Drafts and RFCs. He is also a member of MIT's Kerberos development group and actively contributes to the OpenSSL open source development project and the Secure Remote Password (SRP) development effort. Project Biography: ------------------ The Kermit Project has been the central organization behind the development of the Kermit file transfer protocol and the cross platform suite of applications which have been built around the protocol. The flagship implementation, C-Kermit , has been ported to more than 900 variations of Operating System and hardware. It is secure; can be used as a client and a server; supports numerous networking protocols; and sports a high powered scripting language designed specifically for managing data communications. ---------------------------------------------------------------------------- Complimentary Food and Refreshments will be served. This now includes salads and sandwiches (eg. turkey, roast beef, chicken, tuna)! ---------------------------------------------------------------------------- Directions: 55 Water Street is between Water Street & Front Streets at Old Slip... about 7 blocks south of Fulton St. and the South Street Seaport. Take 4 train to Bowling Green & Walk Due East; Take 2/3 trains to Wall Street, Walk East to Water St. then walk South 5 blocks; Take M/J trains to Broad St., Walk East to Water St.; Take N/R trains to Whitehall St., Walk North East to Water St. There is parking on the street (after 6:30-7pm) and there is a lot right in the building, entrance on Old Slip. Walking from Wall St., follow William St. south which bends around and leads you to Hanover Sq. and Old Slip is across Water Street. Room Location Specifics: Enter the building at Old Slip. To get to the South Tower of the complex, you enter the building at Old Slip at the "North Tower" doors. This entrance is is immediately to the right of the main entrance, towards Water Street... ie. Use the right-most side doors rather than walking straight ahead at the Old Slip entrance. Go past the guard's desk (mentioning you are heading for Unigroup, sometimes there is a sign-in) to the elevator bank and go to the 13th floor. When you get to the 13th floor, follow the signs leading you to the meeting room. The signs will lead you from the elevator, through a set of doors (soda machine will be on your left), then past the cafeteria. After the cafeteria, you see another "lobby" area. Walk past the cash machines, make a left and look for a sign marking the meeting room. Conference Room C will be on your left. If you come very early, we may not have the signs in place yet, but hopefully these directions will get you to the meeting room. If you arrive before Unigroup Board Members, please be patient and wait for us to arrive. ----- Fee Schedule: Yearly Membership (includes all meetings): $ 50.00 * Non-Member Single Meeting: $ 20.00 Student Yearly Membership: $ 20.00 Non-Member Student Single Meeting (with ID): $ 5.00 Cash, Check, American Express. * Employees of Chase (with ID) can attend general meetings at no charge. ==> Unigroup is the Greater NYC Regional Area Affiliate of UniForum - an International Unix Users Group. Our Joint Membership Program with UniForum is currently on hold due to circumstances at UniForum. For information about UniForum visit http://www.uniforum.org. ----- Please mark this meeting on your calendar and join us! Please tell your friends about Unigroup! ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ----------------- 2. UPCOMING MEETINGS ----------------- We have a couple of meetings in the works. - Building a Firewall using FreeBSD and Linux - Linux Beowolf Clusters - Unix Office Tools: Word Processors, Spreadsheets, Accounting Packages. - Emacs - PKI - GNU Development Environments Please let us know about any other meeting topics that you may be interested in. ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ------------- 3. PRIOR MEETING ------------- Our thanks go to Pat Villani, Compaq Unix Software Engineer, and the other people from the Compaq NYC Regional offices, who helped us put together our meeting entitled "Linux Overview: Today and Tomorrow". Compaq was well represented with technical and sales staff and provided product literature and a whole collection of giveaways. Compaq also sponsored the food service for this meeting. ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ------------------------ 4. TRADE SHOW ANNOUNCEMENTS ------------------------ The LinuxWorld Conference & Expo will be held in NYC on January 30 - February 2, 2001 at the Jacob K. Javits Convention Center. For more information or for online registration visit the show's web site: http://www.linuxworldexpo.com The NYSA group is looking for volunteers to help staff their booth at this show. If you may be able to help volunteer, you can contact nysa-info@nysa.org or talk to the Unigroup board at our January meeting (it would be a way to have Unigroup represented at the show since we don't have a table of our own this year :-)). ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ -------------------- 5. UNIGROUP INFORMATION -------------------- Unigroup is one of the oldest and largest Unix User's Groups serving the Greater New York City Regional Area since the early 1980s. Unigroup is a not-for-profit, vendor-neutral and member funded volunteer organization. Unigroup holds regular and special event meetings throughout the year on technical topics relating to Unix and the Unix User Community. Unigroup is also the Greater NYC Regional Area Affiliate of UniForum - an International Unix Users Group. Thanks to Chase, Unigroup holds regular meetings planned for the Third THURSDAY of Odd Months at The Chase Manhattan Bank, 55 Water Street, NYC. Chase has been a long time sponsor of Unigroup, allowing us the use of a meeting room and presentation equipment. Planned meeting dates are: 1/18/01, 3/15/01, 5/17/01, 7/19/01... Watch for our Special Event meetings at the various trade shows in NYC as well as "field trips" to the facilities of local hardware and software vendors. ========================================================================= = For Unigroup Information, Events and Meeting Announcements be sure to = = visit our World Wide Web Home Page: = = http://www.unigroup.org = ========================================================================= For further information or to get on the Unigroup Electronic Mail Mailing, To contact the Board of Directors of Unigroup, or To contact the Newsletter Editor, send an EMail message to: ugny-0101@unigroup.org If you have recently attended a meeting and you are not receiving Email announcements, please send us an Email and we will make corrections to our lists. Please Email the Board with any suggestions, especially potential meeting topics and speakers. Unigroup welcomes contributions and content suggestions for our newsletter. Unigroup is a volunteer organization and we need your assistance! Please let us know if you can help! ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ I hope to see you all at our next meeting! -Rob Weiner Unigroup Executive Director ugny-0101@unigroup.org http://www.unigroup.org --------------21192F323B380E54C4F276F7-- From news@columbia.edu Thu Jan 18 07:43:18 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id HAA11610 for ; Thu, 18 Jan 2001 07:43:18 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id HAA05517 for ; Thu, 18 Jan 2001 07:43:18 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id HAA03261 for kermit.misc@watsun.cc.columbia.edu; Thu, 18 Jan 2001 07:18:02 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Subject: Case Study: Lynx/Kermit Coordination Part I Message-ID: Date: Thu, 18 Jan 2001 04:14:54 -0800 Organization: mail2news@nym.alias.net To: kermit.misc@columbia.edu Lynx/Kermit Coordination Part I The version of ckermit2.txt that I currently have, (http://www.columbia.edu/kermit/ckermit2.html#x1.3.2) in the Lynx section on invoking C-Kermit from your browser (1.3.2) it states that 'As far as we know, this can be done only at compile time.' If you consider what happens when you hit return to be 'invoking', stictly speaking this is true. *If* your version of Lynx is compiled with general External support, however, in your /etc/lynx.cfg file there should be some lines like: #***Must be compiled with USE_EXTERNALS to enable EXTERN *** KEYMAP:.:EXTERN # Run external program with url # or possibly: KEYMAP:,:EXTERN # run EXTERNAL with URL. added by d.e.l. Make sure one of these is uncommented (no preceeding '#'), or add the lines if necessary. These should be located in a general set of Keymaps, with a lot of other similar statements. The defaults may be commented out. Later in the file there will be a section called EXTERNAL. (Note that it is 'EXTERN' in the Keymap section, but the commands are assigned in the 'EXTERNAL' section.) There you should have some lines: USE_EXTERNALS:TRUE EXTERNAL:ftp:FTP %s &:TRUE # Where FTP is created by: # ln -s kermit FTP # when kermit is C-Kermit 7.1+ EXTERNAL:http:wget -P ~/download -q %s &:TRUE # This could even be another browser for HTTPs, instead of wget EXTERNAL:telnet:kermit -J %s:TRUE EXTERNAL:iksd:kermit %s:1649 :TRUE # (or) EXTERNAL:iksd:IKSget %s & :TRUE The only ones needed for running kermit are the 'USE_EXTERNALS:TRUE' and the lines with kermit, iksd or FTP in them. The other, I include simply to show a typical other external program that could be defined. Again, make sure that there is no preceeding '#' on the line that would comment it out and render the line inoperative. Now, when you hit return at a focused link, the default behavior of Lynx will result as typical - for instance if a 'telnet://aztec2.asu.edu' link the conventional and less capable telnet program will be invoked. If however, you hit '.' (or whatever you chose in the Keymap statement), C-Kermit will be invoked instead. (Similarly, over an http link, '.' will in the case shown above invoke the wget program on an http URL.) Rather than a binary executable, the program specified by the EXTERNAL statement can be a shebang script ('#!/path/interpreter' on line 1), that could present a menu of options on how to handle the URL it is passed. This is possible because of how UNIX invokes external programs giving shebang scripts pretty much equality with binary executables. (Another possibility might be Frank de Cruz's 'IKSget' script.) My personal experience is that the program specification seemed sensitve to trailing spaces, so a little bit of experimentation may be needed. EXTERNALs can be used to enable Lynx to cope with URL schema it has no compiled in basis to deal with. For this reason I speculativly put the 'IKSD://' (Internet Kermit Server Daemon) example above. In keeping with the topic of Lynx/Kermit coordination then, I include the below Kerbang script that attempts to handle (or leave space for in the future) these variations of protocols to be called externally from Lynx. It's probably overkill, and some parts haven't been thoroughly tested yet (others have), but it should handle my needs for a while. It allows you to switch to an alternate WWW browser in mid-surfing session for interactive sessions, gives some options for IKSD and ftp if a file or path is specified, or hops to C-Kermit if appropriate. Keep in mind that this is a work in progress, but is what I currently use. #!/usr/local/bin/ck-7.1 + # !/usr/local/bin/kermit + # lynxbooster.ksc # script for external programs for Lynx web browser # ( by D. E. Legan, 18 Jan. 2001 ) # Requires: Lynx, C-Kermit 7.1, IKSget and whatever suplemental # http user agents/browsers desired. # According to the Lynx documentation, it can handle # an URL of form: # telnet://user:password@host:port # and also can handle rlogin, tn3270, tn5250 protocols similarly # Reading over the Lynx documentation for ftp URLs # it can handle a form of: # ftp://user@host:port/path;type=[D,I,orA] # (D,I,A = directory, binary or ASCII) # where user might be broken down to actually be # a user:password. if this followed average ftp # conventions, then it might actually be: # ftp://username:user@homehost@remotehost:port/path;type=[D,I,orA] # Personally, I've never seen the ';type=...' part of the URL, # so for the time being, I will ignore it, but will allot for # some of the other complications. # For using C-Kermit 7.1 ftp personality, # a soft link named 'FTP' has been made to the executable, # to distinguish it from the plain vanilla conventional # ftp executable. # USAGE: # In the lynx configuration file (typicly, lynx.cfg # or lynx-ssl.cfg) there should be some lines # like the following (not commented with '#' in column 1 # though :-) ) to activate this program: # #KEYMAP:,:EXTERN # run EXTERNAL with URL. added by d.e.l. #........... #USE_EXTERNALS:TRUE #........... #EXTERNAL:ftp:lynxbooster.ksc %s:TRUE #EXTERNAL:http:lynxbooster.ksc %s:TRUE #EXTERNAL:telnet:lynxbooster.ksc %s:TRUE #EXTERNAL:rlogin:lynxbooster.ksc %s:TRUE #EXTERNAL:tn3270:lynxbooster.ksc %s:TRUE #EXTERNAL:tn5250:lynxbooster.ksc %s:TRUE #EXTERNAL:iksd:lynxbooster.ksc %s:TRUE # If not already defined, the KEYMAP value (in this case ',') # should be chosen so as not to conflict with other Lynx control # keys. # When over a link to one of these protocols, hit this key # instead of return to activate this script for the link. # The EXTERNAL statements define the protocols that external # commands will be available for (in this case, # ftp, http, telnet, rlogin, tn3270 tn5250 and iksd), and the # program to be run for them (in this case this script.) # Note that if any external programs are called for # 'telnetish' protocols via pty/pipe/exec, # they may require adjustments of this script. # Variables: # \%a - address of URL # \%b - user input selection flag # \%d - raw URL # \%f - file name stripped of directory # \%i - path/file # \%p - port number # \%q - path # \%r - protocol this script is being used for # \%t - index used in parsing the URL as specified above # \%u - user ID # \%w - password echo {LYNX_VERSION = \$(LYNX_VERSION)} # According to Lynx man pages, this variable is always set by Lynx set case off # First let's pick apart the URL for possibly usefull parts \%d := \%1 \%a := \%d \%r := \%a # strip the protocol from the URL: \%a := \Flop(\%a,:) ; strip off up to '://' \%a := \Fltrim(\%a,/) # extract the protocol, up to '://': \%r := \Freplace(\%r,://\%a,) # First, we set up any URL protocol specific items: # (this section is largely an artifact of development process # but left in for future complications.) switch \%r { :telnet, :rlogin, :ftp, :http, :iksd, # this version, not much really needed here yet. :-) .\%c := kermit break # I haven't actually seen any mention of the # next five URL types yet, but what the heck..... :ssh, :telnet-ssl, :s5telnet, :ktelnet, :srp-telnet, # Back to reality: :tn3270, :tn5250, :default, # included for future generalization of this script echo \%r protocol currently not supported. ask \%z Press enter to continue quit .\%c = {pty \%r } .\%s := { } break } # Finished handling URL protocol specific stuff # Check to see if a directory/filename is on the end of the URL # indicates that this is a particular file to be downloaded from an IKSD: \%i := /\Flop(\%a,/) # i holds the path/filename \%a := \Freplace(\%a,\%i) # a holds usrid:password@host.domain:port # extract filename: \%f := \Freplace(\%i,\Fstripx(\%i,/),) # f has the directory removed \%f := \Fltrim(\%f,/) # now f has any '/' trimmed off \%q := \Freplace(\%i,\%f,) # q holds just the path name # Now handle 'User:password' part of URL: # find the '@'s location in the URL: \%t := \Findex(@,\%a) # Definitly set defaults for user and password: \%u := { } set login userid \%w := { } if > \%t 0 { # extract and clean up the 'usrid:password': .\%u := \Fstripx(\%a,@) # extract and clean up the 'host.domain:port': .\%a := \Flop(\%a,@) .\%a := \Flop(\%a,@) # the ftp two '@' case # is there a password? .\%t := \Findex(:,\%u) # Now seperate the user id from the password if present: if > \%t 0 { .\%w := \Flop(\%u,:) .\%u := \Fright(\%u,\%t) .\%u := \Ftrim(\%u,:) } # For kermit: set ftp autologin on set ftp user \%u \%w set login userid \%u } # Finished extracting user/password # Now handle any port part of the URL: \%p := { } # Is there a port specified? \%t := \Findex(:,\%a) # 'host.domain:port' are divided at \%t index # Now, if a port was specified: if > \%t 0 { .\%p := \Flop(\%a,:) .\%a := \Freplace(\%a,\%p,) if equal \%p kermit .\%p := 1649 .\%a := \Ftrim(\%a,:) if equal \%r telnet if equal \%p 1649 - if not equal {\%i} {} { # this case is really not interactive, but in fact IKSD # to a specific file .\%r := IKSD } } # End of handling port number # Handle HTTP/interactive selections here: # Make this script do double duty, by putting the following line # in the printer setup part of the your Lynx configuration file. # Then you can pass the URL of the currently viewed page # (not just the currently active link) to other browsers: # PRINTER:View URL with other browser:exec /path/lynxbooster.ksc ${LYNX_PRINT_URL}:TRUE # (hit the 'p' key, and select 'View URL with other browser' to bring # up this menu.) # Check the Lynx man pages for information on environmental variable # LYNX_PRINT_URL. if equal \%r http { # This part should be adjusted for whatever suplemental # HTTP tools you want to use. if equal {\%f} {} .\%f := \%a clear screen # -- try to keep this screen formating/menu simple and uncluttered :wwwchoice echo echo To connect to \%a\, choose an alternate browser: echo # most of these are frame-capable browsers # (Lynx barely handles frames.): echo { N Netscape} echo { W w3m} echo { L Links} echo { D Debris} # Warning about Debris: I'm certain it will be great when complete, # but it is a work in progress. My experience is that # if you notice this script flashin on the screen and aborting # before you can do anything, you may of called Debris once too often. # :-) # and a few methods of dumping files/directories # in background: echo { Y Lynx/dump in background} echo { R Wget/recurse in background} echo { X Exit back to Lynx} # echo { E Etc.........} # Could have Lynx with some drasticly different configuration # file listed in here, maybe special provisions for handling # cookies. echo ask \%b {Alternate browser choice: } echo \%b switch \%b { :N, exec netscape \%d break :W, exec w3m -M -F -no-cookie -no-mouse \%d break :L, exec links \%d break :D, exec debris \%d break :Y, run lynx -source \%d > \%f & # May want to put cookie handling capabilities # with the above command # or maybe nohup this to direct the output # away from the screen break :R, run wget -D \%a -P \v(download) -np -brkl5 \%d break # -D \%a - restricted to \%a domain # -P \v(download) - put in download directory # -np - no parent directories # -b - go to background # -r - download recursively # -k - 'konvert' to relative links # -l5 - limit to just 5 levels of recursion :X, break # exit back to Lynx :default, echo {Invalid choice, try again}, goto wwwchoice } quit } # end of HTTP/interactive selection if not equal {\%p} { } .\%p := :\%p else .\%p := # If a specific directory/file is defined to retreive, hop to # non-interactive options # if not equal {\%i} {} forward IKSgfile # temp (X) : set ftp autologin on if not equal {\%f} {} forward IKSgfile # No file is specified # if equal \%r ftp exec FTP -S \%d if equal \%r ftp { if not equal {\%w} { } exec FTP -u \%u -P \%w -S -D \%q \%a \%p if not equal {\%u} { } exec FTP -u \%u -S -D \%q \%a \%p exec FTP -A -S -D \%q \%a \%p } if equal \%r iksd { if equal {\%w} { } .\%w := \v(userid)@\v(host) if equal {\%u} { } .\%u := anonymous # It seems to work best for me if normal initialization # is carried out before making an IKSD connection # and so an init files are read take ~/.mykermrc iksd telnet://\%a\%p remote login \%u \%w remote cd \%i forward the_end } # Parts from here to ':IKSgchoice' will probably need modification # if any protocols that actually use pty/pipe external # programs are used. # So if a password was given: if not equal {\%w} { } { echo { Remember, in the URL} echo { the fools gave you this password: \%w} ask \%z Press any key to continue } # If a userid was given: if not equal {\%u} { } { exec kermit -M \%u \%r://\%a\%p\%i forward the_end } # If no userid was part of the URL: exec kermit -J \%r://\%a\%p\%i forward the_end # Here handle getting a specific file: :IKSgfile clear screen # -- try to keep this screen formating/menu simple and uncluttered :iksgchoice echo echo To connect to \%a and retreive \%i, echo using \%r protocol, choose a mode: echo echo { F Foreground - 'I like to watch'} echo { B Background - 'My time is precious'} echo { X Exit - 'I need to do something else'} # echo :b, run ck-7.1 \%r://\%a\%p\%i & echo echo d is \%d echo r is \%r ask \%b {Job mode choice: } echo \%b switch \%b { :f, if equal \%r ftp { exec FTP \%d # Using C-Kermit 7.1 FTP personality break } exec IKSget \%d & # May want to nohup this to control output break :b, if equal \%r ftp { run FTP \%d & # Again, Using C-Kermit 7.1's FTP personality # May want to nohup this to control output # otherwise may need to ^L to refresh screen as # messages arrive from the background break } run IKSget \%d & # ditto the above ftp comments break :x, break :default, echo {Invalid choice, try again}, goto iksgchoice } forward the_end :the_end quit Thanks to everyone at the Kermit center for the help they've provided many times. Regards, Dallas E. Legan II l \ d e \ a g \ l a \ l n \ a i \ s i \ i @ \ @ s \ k u \ i Parse r \ n this f \ c SpamBots! r \ y e \ b e \ . . \ c c \ o o \ m m From news@columbia.edu Tue Jan 23 00:13:33 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id AAA10295 for ; Tue, 23 Jan 2001 00:13:33 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id AAA29538 for ; Tue, 23 Jan 2001 00:13:32 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id AAA13465 for kermit.misc@watsun.cc.columbia.edu; Tue, 23 Jan 2001 00:03:16 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Lawry" Subject: Unwanted blank space in filenames... Date: Mon, 22 Jan 2001 17:55:23 -0000 Organization: Customer of Energis Squared Message-ID: <73sh49.9im.ln@gate.heywood.co.uk> To: kermit.misc@columbia.edu I have a sort semi-automatic process for users to upload files from the PC's to a Unix Server, and utilise Kermit (C-Kermit 6.0.192) underneath. Basically I just have a system call in the program on unix to start "kermit -r" and then allow the user to utilise the file transfer system of the KEA 420 emulation software to transfer the file required. My problem is that when a file on the PC has spaces within it, the file arrives on Unix with spaces in the filename, and then the programs that subsequently process these files cannot handle the files and crashes. What I need to know is, is there an option I can use from the command line (such that I can merely change the system call in the program on Unix to a "kermit -r -whatever") that will strip blank space out of the file name so that "My File.txt" on the PC would be "MyFile.txt" on Unix? Thanks, Lawry From news@columbia.edu Tue Jan 23 05:13:33 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id FAA29247 for ; Tue, 23 Jan 2001 05:13:33 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id FAA08851 for ; Tue, 23 Jan 2001 05:13:32 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id EAA23368 for kermit.misc@watsun.cc.columbia.edu; Tue, 23 Jan 2001 04:51:48 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: grisam@my-deja.com Subject: checking for modem Date: Tue, 23 Jan 2001 09:39:35 GMT Organization: Deja.com Message-ID: <94jjgm$dnp$1@nnrp1.deja.com> To: kermit.misc@columbia.edu I am using a GSM modem to send out SMS (stands for Short Messaging Service) alerts when an earthquake happens. The program is written in Perl but the communication with the modem is done with a Kermit macro, basically it is just a modified testmodem script that comes together with the Kermit distribution. To send SMS I use AT commands. Sometimes the GSM modem misbehaves but the only indication of this happening is the non-delivery of SMS. How do I check for presence of the modem when I do the set line \m(device) thanx in advance, grisa Sent via Deja.com http://www.deja.com/ From news@columbia.edu Tue Jan 23 09:13:33 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id JAA14879 for ; Tue, 23 Jan 2001 09:13:33 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id JAA26365 for ; Tue, 23 Jan 2001 09:13:32 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id JAA03566 for kermit.misc@watsun.cc.columbia.edu; Tue, 23 Jan 2001 09:01:40 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Subject: Lynx/Kermit Coordination Part I ( Corrected ) Message-ID: Date: Tue, 23 Jan 2001 05:59:14 -0800 Organization: mail2news@nym.alias.net To: kermit.misc@columbia.edu ( Correcting some typos, and plain old mistakes. ) Lynx/Kermit Coordination Part I The version of ckermit2.txt that I currently have, (http://www.columbia.edu/kermit/ckermit2.html#x1.3.2) in the Lynx section on invoking C-Kermit from your browser (1.3.2) it states that 'As far as we know, this can be done only at compile time.' If you consider what happens when you hit return to be 'invoking', stictly speaking this is true. *If* your version of Lynx is compiled with general External support, however, in your /etc/lynx.cfg file there should be some lines like: #***Must be compiled with USE_EXTERNALS to enable EXTERN *** KEYMAP:.:EXTERN # Run external program with url # or possibly: KEYMAP:,:EXTERN # run EXTERNAL with URL. added by d.e.l. Make sure one of these is uncommented (no preceeding '#'), or add the lines if necessary. These should be located in a general set of Keymaps, with a lot of other similar statements. The defaults may be commented out. Later in the file there will be a section called EXTERNAL. (Note that it is 'EXTERN' in the Keymap section, but the commands are assigned in the 'EXTERNAL' section.) There you should have some lines: USE_EXTERNALS:TRUE EXTERNAL:ftp:FTP %s &:TRUE # Where FTP is created by: # ln -s kermit FTP # when kermit is C-Kermit 7.1+ EXTERNAL:http:wget -P ~/download -q %s &:TRUE # This could even be another browser for HTTPs, instead of wget EXTERNAL:telnet:kermit -J %s:TRUE EXTERNAL:iksd:kermit %s:1649 :TRUE # (or) EXTERNAL:iksd:IKSget %s & :TRUE The only ones needed for running kermit are the 'USE_EXTERNALS:TRUE' and the lines with kermit, iksd or FTP in them. The other, I include simply to show a typical other external program that could be defined. Again, make sure that there is no preceeding '#' on the line that would comment it out and render the line inoperative. Now, when you hit return at a focused link, the default behavior of Lynx will result as typical - for instance if a 'telnet://aztec2.asu.edu' link the conventional and less capable telnet program will be invoked. If however, you hit '.' (or whatever you chose in the Keymap statement), C-Kermit will be invoked instead. (Similarly, over an http link, '.' will in the case shown above invoke the wget program on an http URL.) Rather than a binary executable, the program specified by the EXTERNAL statement can be a shebang script ('#!/path/interpreter' on line 1), that could present a menu of options on how to handle the URL it is passed. This is possible because of how UNIX invokes external programs giving shebang scripts pretty much equality with binary executables. (Another possibility might be Frank de Cruz's 'IKSget' script.) My personal experience is that the program specification seemed sensitve to trailing spaces, so a little bit of experimentation may be needed. EXTERNALs can be used to enable Lynx to cope with URL schema it has no compiled in basis to deal with. For this reason I speculativly put the 'IKSD://' (Internet Kermit Server Daemon) example above. In keeping with the topic of Lynx/Kermit coordination then, I include the below Kerbang script that attempts to handle (or leave space for in the future) these variations of protocols to be called externally from Lynx. It's probably overkill, and some parts haven't been thoroughly tested yet (others have), but it should handle my needs for a while. It allows you to switch to an alternate WWW browser in mid-surfing session for interactive sessions, gives some options for IKSD and ftp if a file or path is specified, or hops to C-Kermit if appropriate. Keep in mind that this is a work in progress, but is what I currently use. #!/usr/local/bin/kermit + # lynxbooster.ksc # # script for external programs for Lynx web browser # ( by D. E. Legan, 23 Jan. 2001 ) # Requires: Lynx, C-Kermit 7.1, 'FTP' link to kermit # and whatever suplemental # http user agents/browsers desired. # According to the Lynx documentation, it can handle # an URL of form: # telnet://user:password@host:port # and also can handle rlogin, tn3270, tn5250 protocols similarly # Reading over the Lynx documentation for ftp URLs # it can handle a form of: # ftp://user@host:port/path;type=[D,I,orA] # (D,I,A = directory, binary or ASCII) # where user might be broken down to actually be # a user:password. if this followed average ftp # conventions, then it might actually be: # ftp://username:user@homehost@remotehost:port/path;type=[D,I,orA] # Personally, I've never seen the ';type=...' part of the URL, # so for the time being, I will ignore it, but will allot for # some of the other complications. # For using C-Kermit 7.1 ftp personality, # a soft link named 'FTP' has been made to the executable, # to distinguish it from the plain vanilla conventional # ftp executable. # USAGE: # In the lynx configuration file (typicly, lynx.cfg # or lynx-ssl.cfg) there should be some lines # like the following (not commented with '#' in column 1 # though :-) ) to activate this program: # #KEYMAP:,:EXTERN # run EXTERNAL with URL. added by d.e.l. #........... #USE_EXTERNALS:TRUE #........... #EXTERNAL:ftp:lynxbooster.ksc %s:TRUE #EXTERNAL:http:lynxbooster.ksc %s:TRUE #EXTERNAL:telnet:lynxbooster.ksc %s:TRUE #EXTERNAL:rlogin:lynxbooster.ksc %s:TRUE #EXTERNAL:tn3270:lynxbooster.ksc %s:TRUE #EXTERNAL:tn5250:lynxbooster.ksc %s:TRUE #EXTERNAL:iksd:lynxbooster.ksc %s:TRUE # If not already defined, the KEYMAP value (in this case ',') # should be chosen so as not to conflict with other Lynx control # keys. # (You can have more than one character KEYMAPped to EXTERN.) # When over a link to one of these protocols, hit this key # instead of return to activate this script for the link. # The EXTERNAL statements define the protocols that external # commands will be available for (in this case, # ftp, http, telnet, rlogin, tn3270 tn5250 and iksd), and the # program to be run for them (in this case this script.) # Note that if any external programs are called for # 'telnetish' protocols via pty/pipe/exec, # they may require adjustments of this script. # I don't have any of the IBM protocols on the system this # script has been developed on. # Variables: # \%a - address of URL # \%b - user input selection flag # \%d - raw URL # \%f - file name stripped of directory # \%i - path/file # \%p - port number # \%q - path # \%r - protocol this script is being used for # \%t - index used in parsing the URL as specified above # \%u - user ID # \%w - password echo {LYNX_VERSION = \$(LYNX_VERSION)} # According to Lynx man pages, this variable is always set by Lynx set case off # First let's pick apart the URL for possibly usefull parts .\%d := \%1 .\%a := \%d .\%r := \%a # strip the protocol from the URL: .\%a := \Flop(\%a,:) ; strip off up to '://' .\%a := \Fltrim(\%a,/) # extract the protocol, up to '://': .\%r := \Freplace(\%r,://\%a,) # First, we set up any URL protocol specific items: # (this section is largely an artifact of development process # but left in for future complications.) switch \%r { :telnet, :rlogin, :ftp, :http, :iksd, # this version, not much really needed here yet. :-) .\%c := kermit break # I haven't actually seen any mention of the # next five URL types yet, but what the heck..... :ssh, :telnet-ssl, :s5telnet, :ktelnet, :srp-telnet, # Back to reality: :tn3270, :tn5250, :default, # included for future generalization of this script echo \%r protocol currently not supported. ask \%z Press enter to continue quit .\%c = {pty \%r } .\%s := { } break } # Finished handling URL protocol specific stuff # Check to see if a directory/filename is on the end of the URL # indicates that this is a particular file to be downloaded from an IKSD: .\%i := /\Flop(\%a,/) # i holds the path/filename .\%a := \Freplace(\%a,\%i) # a holds usrid:password@host.domain:port # extract filename: .\%f := \Freplace(\%i,\Fstripx(\%i,/),) # f has the directory removed .\%f := \Fltrim(\%f,/) # now f has any '/' trimmed off .\%q := \Freplace(\%i,\%f,) # q holds just the path name # Now handle 'User:password' part of URL: # find the '@'s location in the URL: .\%t := \Findex(@,\%a) # Definitly set defaults for user and password: .\%u := { } set login userid .\%w := { } if > \%t 0 { # extract and clean up the 'usrid:password': .\%u := \Fstripx(\%a,@) # extract and clean up the 'host.domain:port': .\%a := \Flop(\%a,@) .\%a := \Flop(\%a,@) # the ftp two '@' case # is there a password? .\%t := \Findex(:,\%u) # Now seperate the user id from the password if present: if > \%t 0 { .\%w := \Flop(\%u,:) .\%u := \Fright(\%u,\%t) .\%u := \Ftrim(\%u,:) } # For kermit: set ftp autologin on set ftp user \%u \%w set login userid \%u } # Finished extracting user/password # Now handle any port part of the URL: .\%p := { } # Is there a port specified? .\%t := \Findex(:,\%a) # 'host.domain:port' are divided at \%t index # Now, if a port was specified: if > \%t 0 { .\%p := \Flop(\%a,:) .\%a := \Freplace(\%a,\%p,) if equal \%p kermit .\%p := 1649 .\%a := \Ftrim(\%a,:) if equal \%r telnet if equal \%p 1649 - if not equal {\%i} {} { # this case is really not interactive, but in fact IKSD # to a specific file .\%r := IKSD } } # End of handling port number # Handle HTTP/interactive selections here: # Make this script do double duty, by putting the following line # in the printer setup part of the your Lynx configuration file. # Then you can pass the URL of the currently viewed page # (not just the currently active link) to other browsers: # PRINTER:View URL with other browser:exec /path/lynxbooster.ksc ${LYNX_PRINT_URL}:TRUE # (hit the 'p' key, and select 'View URL with other browser' to bring # up this menu.) # See the Lynx man pages for information on enviromental variable # LYNX_PRINT_URL. if equal \%r http { # This part should be adjusted for whatever suplemental # HTTP tools you want to use. if equal {\%f} {} .\%f := \%a clear screen # -- try to keep this screen formating/menu simple and uncluttered :wwwchoice echo echo To connect to \%a\, choose an alternate browser: echo # most of these are frame-capable browsers # (Lynx barely handles frames.): echo { N Netscape} echo { W w3m} echo { L Links} echo { D Debris} # Warning about Debris: I'm certain it will be great when complete, # but it is a work in progress. My experience is that # if you notice this script flashing on the screen and aborting # before you can do anything, you may of called Debris once too often. # :-) # and a few methods of dumping files/directories # in background: echo { Y Lynx/dump in background} echo { R Wget/recurse in background} echo { X Exit back to Lynx} # echo { E Etc.........} # Could have Lynx using some drasticly different configuration # file listed in here, maybe special provisions for handling # cookies. echo ask \%b {Alternate browser choice: } echo \%b switch \%b { :N, exec netscape \%d break :W, exec w3m -M -F -no-cookie -no-mouse \%d break :L, exec links \%d break :D, exec debris \%d break :Y, run lynx -source \%d > \%f & # May want to put cookie handling capabilities # with the above command # or maybe nohup this to direct the output # away from the screen break :R, run wget -D \%a -P \v(download) -np -brkl5 \%d break # -D \%a - restricted to \%a domain # -P \v(download) - put in download directory # -np - no parent directories # -b - go to background # -r - download recursively # -k - 'konvert' to relative links # -l5 - limit to just 5 levels of recursion :X, break # exit back to Lynx :default, echo {Invalid choice, try again}, goto wwwchoice } quit } # end of HTTP/interactive selection if not equal {\%p} { } .\%p := :\%p else .\%p := # If a specific directory/file is defined to retreive, hop to # non-interactive options # if not equal {\%i} {} forward getafile # temp (X) : set ftp autologin on if not equal {\%f} {} forward getafile # No file is specified # Assumption is that they expect you to browse # directory for whatever reason. if equal \%r ftp { if not equal {\%w} { } exec FTP -u \%u -P \%w -S -D \%q \%a \%p if not equal {\%u} { } exec FTP -u \%u -S -D \%q \%a \%p exec FTP -A -S -D \%q \%a \%p } if equal \%r iksd { if equal {\%w} { } .\%w := \v(userid)@\v(host) if equal {\%u} { } .\%u := anonymous # It seems to work best for me if normal initialization # is carried out before making an IKSD connection take ~/.kermrc set network type tcp set host telnet://\%a\%p remote login \%u \%w remote cd \%i end } # Parts from here to ':modechoice' will probably need modification # if any protocols that actually use pty/pipe external # programs are used. # So if a password was given: if not equal {\%w} { } { echo { Remember, in the URL} echo { the fools gave you this password: \%w} ask \%z Press any key to continue } # If a userid was given: if not equal {\%u} { } { exec kermit -M \%u \%r://\%a\%p\%i forward the_end } # If no userid was part of the URL: exec kermit -J \%r://\%a\%p\%i forward the_end # Here handle getting a specific file: :getafile clear screen # -- try to keep this screen formating/menu simple and uncluttered :modechoice echo echo To connect to \%a and retreive \%i, echo using \%r protocol, choose a mode: echo echo { F Foreground - 'I like to watch'} echo { B Background - 'My time is precious'} echo { X Exit - 'I need to do something else'} echo echo d is \%d echo r is \%r ask \%b {Job mode choice: } echo \%b switch \%b { :f, if equal \%r ftp { exec FTP \%d # Using C-Kermit 7.1 FTP personality break } exec kermit \%d # Use IKSget if using older version, pre-7.1 # instead of kermit here. # May want to nohup this to control output break :b, if equal \%r ftp { run FTP \%d & # Again, Using C-Kermit 7.1's FTP personality # May want to nohup this to control output # otherwise may need to ^L to refresh screen as # messages arrive from the background break } run kermit \%d & # Again, use IKSget if using older version, pre-7.1 # instead of kermit here. # ditto the above ftp comments break :x, break :default, echo {Invalid choice, try again}, goto modechoice } forward the_end :the_end echo Exiting lynxbooster.ksc quit Thanks to everyone at the Kermit center for the help they've provided many times. Regards, Dallas E. Legan II l \ d e \ a g \ l a \ l n \ a i \ s i \ i @ \ @ s \ k u \ i Parse r \ n this f \ c SpamBots! r \ y e \ b e \ . . \ c c \ o o \ m m From news@columbia.edu Tue Jan 23 09:43:33 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id JAA12688 for ; Tue, 23 Jan 2001 09:43:33 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id JAA00690 for ; Tue, 23 Jan 2001 09:43:33 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id JAA04555 for kermit.misc@watsun.cc.columbia.edu; Tue, 23 Jan 2001 09:25:16 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: checking for modem Date: 23 Jan 2001 14:25:13 GMT Organization: Columbia University Message-ID: <94k489$4e8$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <94jjgm$dnp$1@nnrp1.deja.com>, wrote: : I am using a GSM modem to send out SMS (stands for Short Messaging : Service) alerts when an earthquake happens. The program is written in : Perl but the communication with the modem is done with a Kermit macro, : basically it is just a modified testmodem script that comes together : with the Kermit distribution. To send SMS I use AT commands. : : Sometimes the GSM modem misbehaves but the only indication of this : happening is the non-delivery of SMS. : : How do I check for presence of the modem when I do the : : set line \m(device) : Most script commands can succeed or fail, and you can check them with IF SUCCESS or IF FAILURE. For example: set line \m(device) if fail stop 1 \m(device) not available AT commands to the modem should respond with "OK", so: output ATxxxxx\13 input 3 OK if fail stop 1 No response from modem - Frank From news@columbia.edu Tue Jan 23 10:13:33 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id KAA08202 for ; Tue, 23 Jan 2001 10:13:33 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA04806 for ; Tue, 23 Jan 2001 10:13:32 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id KAA06385 for kermit.misc@watsun.cc.columbia.edu; Tue, 23 Jan 2001 10:03:26 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Unwanted blank space in filenames... Date: 23 Jan 2001 15:03:18 GMT Organization: Columbia University Message-ID: <94k6fm$671$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <73sh49.9im.ln@gate.heywood.co.uk>, Lawry wrote: : I have a sort semi-automatic process for users to upload files from the PC's : to a Unix Server, and utilise Kermit (C-Kermit 6.0.192) underneath. : Basically I just have a system call in the program on unix to start : "kermit -r" and then allow the user to utilise the file transfer system of : the KEA 420 emulation software to transfer the file required. : If you used Kermit 95: http://www.columbia.edu/kermit/k95.html instead of Hyperterminal, you could have it convert the spaces to printable characters when sending. The command is "set file names converted". : My problem is that when a file on the PC has spaces within it, the file : arrives on Unix with spaces in the filename, and then the programs that : subsequently process these files cannot handle the files and crashes. : : What I need to know is, is there an option I can use from the command line : (such that I can merely change the system call in the program on Unix to a : "kermit -r -whatever") that will strip blank space out of the file name so : that "My File.txt" on the PC would be "MyFile.txt" on Unix? : Yes, but you'll need C-Kermit 7.0 for this: http://www.columbia.edu/kermit/ckermit.html The command would be: kermit -r -a "\freplace(\v(filename),\32,_)" -r means "receive" and -a specifies an "as-name", which in this case is a template, in which \v(filename) is replaced by the name of each file, and \freplace(string,\32,_) is a function that returns its argument with blanks (\32) replaced by underscore (_). More about templates here: http://www.columbia.edu/kermit/ckermit2.html#x4.1 - Frank From news@columbia.edu Thu Jan 25 11:13:46 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id LAA05928 for ; Thu, 25 Jan 2001 11:13:45 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA22378 for ; Thu, 25 Jan 2001 11:13:38 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id LAA01210 for kermit.misc@watsun.cc.columbia.edu; Thu, 25 Jan 2001 11:09:43 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Tom Grant" Subject: MS/Kermit Telnet keepalive Date: Thu, 25 Jan 2001 10:05:56 -0600 Organization: Posted via Supernews, http://www.supernews.com Message-ID: To: kermit.misc@columbia.edu We're running MS/Kermit 3.15 on several NT remote boot (dos 6.22) workstations as a VT100 Telnet client. MSK's 3.15 what's new file notes improved support for keepalive. How is the keepalive implemented? Is there a net.cfg, mskermit.ini or tcpip.ini setting I'm missing? (File contents below) Our telnet server (RFGen http://www.rfgen.com) has timeout disabled, but we're dropping sessions. Any help is appreciated! Thanks. T Protocol.ini [PROTMAN] DRIVERNAME = PROTMAN$ DYNAMIC = YES PRIORITY = NETBEUI [netbeui] drivername = netbeui$ bindings = LP_NIF names = 5 ncbs = 8 ; packets = 20 pipeline = 10 sessions = 4 ; stacksize = 512 lanabase = 0 ; this is for LANpoint, none of these items should be changed [LP_NIF] DRIVERNAME = LPND$$$$ MAXTRANSMITS = 10 IOADDRESS = 0x300 INTERRUPT = 5 RAMSIZE(K) = 32 IOWORDSIZE = 8 ;****************; ; Protocol ; ;****************; [PKTDRV] DRIVERNAME=PKTDRV$ BINDINGS=LP_NIF INTVEC=0x60 ; INTVEC=0x66 [IPX_XIF] Drivername = IPX$ LOAD = IPXMARK[U],IPX[U] UNLOAD = IPXREL[C] BINDINGS = LP_NIF ================================ DOSBB.CNF ;c:\winnt\rpl\bblock\netbeui\timep\dosbb.cnf ; DOS on LANpoint Ethernet BASE D0H RPL BBLOCK\RPLBOOT.SYS LDR BBLOCK\RPLSTART.COM ~ DAT BBLOCK\NETBEUI\lanpoint\PROTOCOL.INI DRV BBLOCK\RPLDISK.SYS ~ ~ ~ EXE BBLOCK\RPLPRO1.COM ~ 2 ~ EXE BBLOCK\I13.COM ~ ~ ~ EXE BBLOCK\RPLBIND2.EXE ~ ~ EXE BBLOCK\PROTMAN.EXE ~ ~ EXE BBLOCK\RPLBIND1.EXE ~ ~ DRV BBLOCK\IPXNDIS.DOS ~ ~ ~ ; ;DRV BBLOCK\TCPDRV.DOS /I:C:\LANMAN.DOS ~ ~ DRV BBLOCK\NDIS\dis_pkt9.dos ~ ~ ~ EXE BBLOCK\NETBEUI\NETBEUI.EXE ~ 10 ~ DRV BBLOCK\NDIS\LP_NDIS.SYS ~ ~ ~ DRV BBLOCK\PROTMAN.DOS /I:C:\LANMAN.DOS ~ M ;EXE BBLOCK\ODI\IPXODI.COM ~ ~ ~ ;EXE BBLOCK\ODI\LPNICE.COM ~ ~ ~ ;EXE BBLOCK\ODI\LSL.COM ~ ~ ~ ================================ Net.cfg: LINK DRIVER LPNICE FRAME ETHERNET_802.2 ================================ TCPIP.ini: SET TCP/IP HOST 192.168.3.1 SET TCP/IP ADDRESS 192.168.3.10 SET TCP/IP SUBNETMASK 255.255.255.0 SET TCP/IP GATEWAY 0.0.0.0 SET TCP/IP BROADCAST 255.255.255.255 SET PORT TCP ================================ MSKERMIT.ini ;MSKERMIT.INI if not < \v(version) 315 forward PATCH echo This MSKERMIT.INI file must be used with MS-DOS Kermit 3.14 or later stop 1 :PATCH Echo Executing \v(cmdfile)... if inpath MSR315.PCH forward PATCH2 if not inpath MSKERMIT.PCH forward BEGIN :PATCH2 echo Installing Patches echo patch :BEGIN ; ; Set up file transfer information set file collision overwrite ; Do overwrite existing files set transfer character-set transparent ; No surprise translations set receive packet-length 94 ; Regular-size packets set attributes on ; Use file-attribute packets set window 1 ; Don't use sliding windows ; ; Set up normal terminal set terminal display 8 ; In the 8-bit environment set terminal vt320 ; Emulate DEC VT220 set terminal roll off ; Keep rolled-back where they are set terminal wrap on ; Tell Kermit to do line wrap set terminal tabs at 1:8 ; Set tabs at every 8 spaces set terminal cursor underline ; Underline cursor (rather than block) set terminal type ANSI ; Change this if desired. set terminal bytesize 8 ; Change to 8 if desired. set terminal color 20 ; Set Color so ESC[0m resets set terminal answer on ; Set Answerback to respond to ^E set terminal answer message :HHT ; Set Answerback Message to add $TERM set mode-line off set warning off set prompt [\v(dir)] MS-Kermit> COMMENT - TCP/IP network configuration. ; check tcp if fail forward notcp ; Read in TCP/IP Connection Info ; take tcpip.ini forward KEYS :notcp ; Read in SERIAL Connection Info ; ;take serial1.ini :KEYS ; [KEYS omitted for brevity] connect cls quit ================================ autoexec.bat: @ECHO OFF REM ************************************************************** REM ** Microsoft LAN Manager ** REM ** Copyright(c) Microsoft Corp., 1990 ** REM ************************************************************** SET COMSPEC=C:\DOS\COMMAND.COM SET PATH=C:\LANMAN.DOS\NETPROG;C:\DOS;C:\BINR;C:\BINB; SET PROMPT=$P$G SET TMP=C:\TMP SET TEMP=C:\TMP SET DOSSHELL=C:\WKSTA VER ECHO ON NET START RDR /RPL:YES /FIT:YES /COMPUTERNAME:(COMPUTER_NAME) /HIMEM:YES FIXMEM Rem following line configures built in RFID decoder for [CR][LF] echo SEP1>COM2 cd c:\wksta\kermit msk315 REBOOT From news@columbia.edu Thu Jan 25 12:43:39 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id MAA20205 for ; Thu, 25 Jan 2001 12:43:39 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA04979 for ; Thu, 25 Jan 2001 12:43:39 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id MAA05173 for kermit.misc@watsun.cc.columbia.edu; Thu, 25 Jan 2001 12:37:47 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jaltman@columbia.edu (Jeffrey Altman) Subject: Re: MS/Kermit Telnet keepalive Date: 25 Jan 2001 17:37:44 GMT Organization: Columbia University Message-ID: <94po98$51h$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Tom Grant wrote: : We're running MS/Kermit 3.15 on several NT remote boot (dos 6.22) : workstations as a VT100 Telnet client. MSK's 3.15 what's new file : notes improved support for keepalive. : : How is the keepalive implemented? Is there a net.cfg, : mskermit.ini or tcpip.ini setting I'm missing? (File contents below) : : Our telnet server (RFGen http://www.rfgen.com) has timeout : disabled, but we're dropping sessions. Keepalives will cause a session to drop if the connection has been lost to the host and the connection has been idle for two hours or more. Does this match your observation of the behavior of the disconnects? Jeffrey Altman * Sr.Software Designer C-Kermit 7.1 Alpha available The Kermit Project @ Columbia University includes Secure Telnet and FTP http://www.kermit-project.org/ using Kerberos, SRP, and kermit-support@kermit-project.org OpenSSL. SSH soon to follow. From news@columbia.edu Thu Jan 25 13:43:39 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id NAA23181 for ; Thu, 25 Jan 2001 13:43:39 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA13845 for ; Thu, 25 Jan 2001 13:43:38 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id NAA07604 for kermit.misc@watsun.cc.columbia.edu; Thu, 25 Jan 2001 13:34:03 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jrd@cc.usu.edu (Joe Doupnik) Subject: Re: MS/Kermit Telnet keepalive Message-ID: Date: 25 Jan 01 11:02:44 MDT Organization: Utah State University To: kermit.misc@columbia.edu In article , "Tom Grant" writes: > We're running MS/Kermit 3.15 on several NT remote boot (dos 6.22) > workstations as a VT100 Telnet client. MSK's 3.15 what's new file > notes improved support for keepalive. > > How is the keepalive implemented? Is there a net.cfg, > mskermit.ini or tcpip.ini setting I'm missing? (File contents below) > > Our telnet server (RFGen http://www.rfgen.com) has timeout > disabled, but we're dropping sessions. > > Any help is appreciated! > > Thanks. > > T ----------- TCP keepalives are obviously different than remote system shell activity. The connection breakage is by the remote system, not by MSK, and that is usually because the o/s there has had no user activity for some period of time. There is no control knob for keepalives; it is a matter of TCP stack internals. The current better MSK is v3.16 beta, fetchable from Columbia; worth a try. One more vital thing. Your Windows config files suggest you are trying to run another TCP/IP stack in parallel with MSK. If that is the case then fratricide will occur and connections will be lost. Use only one TCP stack over a single lan adapter/IP address. Joe D. > > > > Protocol.ini > > [PROTMAN] > DRIVERNAME = PROTMAN$ > DYNAMIC = YES > PRIORITY = NETBEUI > > [netbeui] > drivername = netbeui$ > bindings = LP_NIF > names = 5 > ncbs = 8 > ; packets = 20 > pipeline = 10 > sessions = 4 > ; stacksize = 512 > lanabase = 0 > > ; this is for LANpoint, none of these items should be changed > [LP_NIF] > DRIVERNAME = LPND$$$$ > MAXTRANSMITS = 10 > IOADDRESS = 0x300 > INTERRUPT = 5 > RAMSIZE(K) = 32 > IOWORDSIZE = 8 > > ;****************; > ; Protocol ; > ;****************; > > [PKTDRV] > DRIVERNAME=PKTDRV$ > BINDINGS=LP_NIF > INTVEC=0x60 > ; INTVEC=0x66 > > [IPX_XIF] > Drivername = IPX$ > LOAD = IPXMARK[U],IPX[U] > UNLOAD = IPXREL[C] > BINDINGS = LP_NIF > ================================ > > DOSBB.CNF > > ;c:\winnt\rpl\bblock\netbeui\timep\dosbb.cnf > ; DOS on LANpoint Ethernet > BASE D0H > RPL BBLOCK\RPLBOOT.SYS > LDR BBLOCK\RPLSTART.COM ~ > DAT BBLOCK\NETBEUI\lanpoint\PROTOCOL.INI > DRV BBLOCK\RPLDISK.SYS ~ ~ ~ > EXE BBLOCK\RPLPRO1.COM ~ 2 ~ > EXE BBLOCK\I13.COM ~ ~ ~ > EXE BBLOCK\RPLBIND2.EXE ~ ~ > EXE BBLOCK\PROTMAN.EXE ~ ~ > EXE BBLOCK\RPLBIND1.EXE ~ ~ > DRV BBLOCK\IPXNDIS.DOS ~ ~ ~ > ; > ;DRV BBLOCK\TCPDRV.DOS /I:C:\LANMAN.DOS ~ ~ > DRV BBLOCK\NDIS\dis_pkt9.dos ~ ~ ~ > EXE BBLOCK\NETBEUI\NETBEUI.EXE ~ 10 ~ > DRV BBLOCK\NDIS\LP_NDIS.SYS ~ ~ ~ > DRV BBLOCK\PROTMAN.DOS /I:C:\LANMAN.DOS ~ M > ;EXE BBLOCK\ODI\IPXODI.COM ~ ~ ~ > ;EXE BBLOCK\ODI\LPNICE.COM ~ ~ ~ > ;EXE BBLOCK\ODI\LSL.COM ~ ~ ~ > ================================ > > Net.cfg: > > LINK DRIVER LPNICE > FRAME ETHERNET_802.2 > ================================ > > TCPIP.ini: > > SET TCP/IP HOST 192.168.3.1 > SET TCP/IP ADDRESS 192.168.3.10 > SET TCP/IP SUBNETMASK 255.255.255.0 > SET TCP/IP GATEWAY 0.0.0.0 > SET TCP/IP BROADCAST 255.255.255.255 > > SET PORT TCP > ================================ > MSKERMIT.ini > > ;MSKERMIT.INI > if not < \v(version) 315 forward PATCH > echo This MSKERMIT.INI file must be used with MS-DOS Kermit 3.14 or later > stop 1 > > :PATCH > Echo Executing \v(cmdfile)... > if inpath MSR315.PCH forward PATCH2 > if not inpath MSKERMIT.PCH forward BEGIN > > :PATCH2 > echo Installing Patches > echo > patch > > :BEGIN > ; > ; Set up file transfer information > set file collision overwrite ; Do overwrite existing files > set transfer character-set transparent ; No surprise translations > set receive packet-length 94 ; Regular-size packets > set attributes on ; Use file-attribute packets > set window 1 ; Don't use sliding windows > ; > ; Set up normal terminal > set terminal display 8 ; In the 8-bit environment > set terminal vt320 ; Emulate DEC VT220 > set terminal roll off ; Keep rolled-back where they are > set terminal wrap on ; Tell Kermit to do line wrap > set terminal tabs at 1:8 ; Set tabs at every 8 spaces > set terminal cursor underline ; Underline cursor (rather than > block) > set terminal type ANSI ; Change this if desired. > set terminal bytesize 8 ; Change to 8 if desired. > set terminal color 20 ; Set Color so ESC[0m resets > set terminal answer on ; Set Answerback to respond to ^E > set terminal answer message :HHT ; Set Answerback Message to add > $TERM > > set mode-line off > set warning off > > set prompt [\v(dir)] MS-Kermit> > > COMMENT - TCP/IP network configuration. > ; > check tcp > if fail forward notcp > > ; Read in TCP/IP Connection Info > ; > take tcpip.ini > forward KEYS > > :notcp > ; Read in SERIAL Connection Info > ; > ;take serial1.ini > > :KEYS > ; [KEYS omitted for brevity] > > > connect > cls > quit > ================================ > autoexec.bat: > > @ECHO OFF > REM ************************************************************** > REM ** Microsoft LAN Manager ** > REM ** Copyright(c) Microsoft Corp., 1990 ** > REM ************************************************************** > SET COMSPEC=C:\DOS\COMMAND.COM > SET PATH=C:\LANMAN.DOS\NETPROG;C:\DOS;C:\BINR;C:\BINB; > SET PROMPT=$P$G > SET TMP=C:\TMP > SET TEMP=C:\TMP > SET DOSSHELL=C:\WKSTA > VER > ECHO ON > NET START RDR /RPL:YES /FIT:YES /COMPUTERNAME:(COMPUTER_NAME) /HIMEM:YES > FIXMEM > > Rem following line configures built in RFID decoder for [CR][LF] > echo SEP1>COM2 > > cd c:\wksta\kermit > msk315 > REBOOT From news@columbia.edu Thu Jan 25 20:13:40 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id UAA17748 for ; Thu, 25 Jan 2001 20:13:40 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id UAA13673 for ; Thu, 25 Jan 2001 20:13:39 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id UAA25447 for kermit.misc@watsun.cc.columbia.edu; Thu, 25 Jan 2001 20:09:10 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Symfont" Subject: AT Commands Message-ID: Date: Fri, 26 Jan 2001 01:07:25 GMT Organization: Excite@Home - The Leader in Broadband http://home.com/faster To: kermit.misc@columbia.edu Could you tell me where I could get the whole set of AT Commands? Bill wrote in message news:94jjgm$dnp$1@nnrp1.deja.com... > I am using a GSM modem to send out SMS (stands for Short Messaging > Service) alerts when an earthquake happens. The program is written in > Perl but the communication with the modem is done with a Kermit macro, > basically it is just a modified testmodem script that comes together > with the Kermit distribution. To send SMS I use AT commands. > > Sometimes the GSM modem misbehaves but the only indication of this > happening is the non-delivery of SMS. > > How do I check for presence of the modem when I do the > > set line \m(device) > > thanx in advance, > > grisa > > > Sent via Deja.com > http://www.deja.com/ From news@columbia.edu Thu Jan 25 21:13:40 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id VAA15738 for ; Thu, 25 Jan 2001 21:13:40 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id VAA22086 for ; Thu, 25 Jan 2001 21:13:39 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id VAA27557 for kermit.misc@watsun.cc.columbia.edu; Thu, 25 Jan 2001 21:00:22 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: AT Commands Date: 26 Jan 2001 02:00:21 GMT Organization: Columbia University Message-ID: <94qlnl$qt2$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Symfont wrote: : Could you tell me where I could get the whole set of AT Commands? : In your modem manual. Every modem has a different set of them. - Frank From news@columbia.edu Fri Jan 26 18:13:42 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id SAA06282 for ; Fri, 26 Jan 2001 18:13:42 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id SAA10583 for ; Fri, 26 Jan 2001 18:13:41 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id RAA07626 for kermit.misc@watsun.cc.columbia.edu; Fri, 26 Jan 2001 17:52:55 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Mike Lucente Subject: Numeric paging Date: Fri, 26 Jan 2001 17:00:25 -0500 Organization: http://extra.newsguy.com Message-ID: <3A71F379.EEFC32E9@yahoo.com> To: kermit.misc@columbia.edu I'm using the numeric paging script from ftp://kermit.columbia.edu/kermit/scripts/ckermit/numpage to dial numeric pagers. The call, however, rarely completes on the first dial. Generally it retries 3-5 times before the page completes. I've tried this on two different (similarly configured) machines, with the same result. I'm running RedHat Linux 6.2, using an external USR modem. The script detects that the modem is capable of using the '@' (quiet) command and issues a dialing string such as ATD18009999999@9999#; Anyone have a hint as to what the problem might be? From news@columbia.edu Fri Jan 26 20:13:42 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id UAA08587 for ; Fri, 26 Jan 2001 20:13:42 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id UAA27053 for ; Fri, 26 Jan 2001 20:13:41 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id UAA13310 for kermit.misc@watsun.cc.columbia.edu; Fri, 26 Jan 2001 20:06:21 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Numeric paging Date: 27 Jan 2001 01:06:19 GMT Organization: Columbia University Message-ID: <94t6ub$cvr$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <3A71F379.EEFC32E9@yahoo.com>, Mike Lucente wrote: : I'm using the numeric paging script from : ftp://kermit.columbia.edu/kermit/scripts/ckermit/numpage to : dial numeric pagers. The call, however, rarely completes on the first : dial. Generally it retries 3-5 : times before the page completes. I've tried this on two different : (similarly configured) machines, : with the same result. : : I'm running RedHat Linux 6.2, using an external USR modem. The script : detects that the modem is capable of using the '@' (quiet) command and : issues a dialing string such as : ATD18009999999@9999#; : : Anyone have a hint as to what the problem might be? : As noted here: http://www.columbia.edu/kermit/pagers.html "Numeric paging applications ... work only as well as your modem, and most modems were not designed with paging in mind." See the comments in the numeric paging script for further pointers. In my experience, every combination of modem and paging service is unique and requires a lot of trial and error. - Frank From news@columbia.edu Mon Jan 29 16:43:53 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id QAA14489 for ; Mon, 29 Jan 2001 16:43:52 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA17424 for ; Mon, 29 Jan 2001 16:43:51 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id QAA14347 for kermit.misc@watsun.cc.columbia.edu; Mon, 29 Jan 2001 16:39:55 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Steve" Subject: Windows 98 SR2 issues Message-ID: Organization: Giganews.Com - Premium News Outsourcing Date: Mon, 29 Jan 2001 21:37:48 GMT To: kermit.misc@columbia.edu I am running into an issue with a user trying to transfer files over a modem using Kermit 3.15. All was going well until they moved the app over to a PC running Windows 98 release 2. Any known issues using MD Kermit for DOS under this version of Windows? I am aware of issues with another DOS communication app I am forced to use which will not work under 98 release 2. Thanks, Steve From news@columbia.edu Mon Jan 29 16:43:54 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id QAA07684 for ; Mon, 29 Jan 2001 16:43:53 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA17429 for ; Mon, 29 Jan 2001 16:43:52 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id QAA14117 for kermit.misc@watsun.cc.columbia.edu; Mon, 29 Jan 2001 16:36:24 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Steve" Subject: Re: AT Commands Message-ID: <2lld6.295221$IP1.9584341@news1.giganews.com> Organization: Giganews.Com - Premium News Outsourcing Date: Mon, 29 Jan 2001 21:33:50 GMT To: kermit.misc@columbia.edu I have a .txt file (284K) that contains pretty much everything there is to know about the AT command set in fairly technical language. Like was mentioned before, your modem may differ but if you would like to take a look at this let me know and I will e-mail it to you. Steve Symfont wrote in message news:h54c6.244378$59.61450973@news3.rdc1.on.home.com... > Could you tell me where I could get the whole set of AT Commands? > > Bill > > > wrote in message news:94jjgm$dnp$1@nnrp1.deja.com... > > I am using a GSM modem to send out SMS (stands for Short Messaging > > Service) alerts when an earthquake happens. The program is written in > > Perl but the communication with the modem is done with a Kermit macro, > > basically it is just a modified testmodem script that comes together > > with the Kermit distribution. To send SMS I use AT commands. > > > > Sometimes the GSM modem misbehaves but the only indication of this > > happening is the non-delivery of SMS. > > > > How do I check for presence of the modem when I do the > > > > set line \m(device) > > > > thanx in advance, > > > > grisa > > > > > > Sent via Deja.com > > http://www.deja.com/ > > > From news@columbia.edu Mon Jan 29 18:13:52 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id SAA18743 for ; Mon, 29 Jan 2001 18:13:51 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id SAA29445 for ; Mon, 29 Jan 2001 18:13:50 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id SAA18247 for kermit.misc@watsun.cc.columbia.edu; Mon, 29 Jan 2001 18:09:11 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Windows 98 SR2 issues Date: 29 Jan 2001 23:09:07 GMT Organization: Columbia University Message-ID: <954t6j$hq5$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Steve wrote: : I am running into an issue with a user trying to transfer files over a modem : using Kermit 3.15. All was going well until they moved the app over to a PC : running Windows 98 release 2. : : Any known issues using MD Kermit for DOS under this version of Windows? I : am aware of issues with another DOS communication app I am forced to use : which will not work under 98 release 2. : See: http://www.columbia.edu/kermit/msk95.html - Frank From news@columbia.edu Mon Jan 29 19:13:52 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id TAA15654 for ; Mon, 29 Jan 2001 19:13:51 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id TAA07827 for ; Mon, 29 Jan 2001 19:13:50 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id SAA19940 for kermit.misc@watsun.cc.columbia.edu; Mon, 29 Jan 2001 18:50:54 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: New release of DEC-20 Kermit Date: 29 Jan 2001 23:50:45 GMT Organization: Columbia University Message-ID: <954vkl$jf1$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu This is to announce (no kidding) Version 5.1 of DECSYSTEM-20 KERMIT, replacing version 4.2 of September 1988. Version 5.1 adds long packets, which were never done before because long packets would crash a real DEC-20. But virtually no real DEC-20s exist any more; all current DEC-20s are either non-DEC clones, or else running on other hardware under emulation. So now you can use DEC-20 Kermit to transfer files with packets up to 9K in length; the previous maximum was 94 bytes. This gives speed improvements up to about a factor of 20 (i.e. 2000%). This update was made in anticipation of the release of publicly available KL10 emulators capable of running under Linux or other common platforms. Since any emulator will probably not include Internet support, a way is needed to import and export files: DEC-20 Kermit (the very first Kermit program (*)) lives again! Now when you log in to the DEC-20 (or emulator) from a PC or other computer running a Kermit-capable terminal emulator, you can run DEC-20 Kermit to exchange files with your computer, and the transfers will not be as agonizingly slow as they would have been without this update. Installation instructions: Download the new Kermit source (one file) in text mode from the Kermit Project archive in text ("ASCII") mode: ftp://kermit.columbia.edu/kermit/d/k20mit.mac Note: this is a MACRO-20 source file; it is not any kind of "package", tarball, ZIP archive, compressed, encrypted, or anything else. It's just PLAIN TEXT (if you use DEC-20s you know what plain text is). Rename it to KERMIT.MAC, then: load kermit save This produces a KERMIT.EXE file, which is DEC-20 Kermit. Install it somewhere in SYS:, or else redefine SYS: to include the directory where KERMIT.EXE is. Give it execute permission, e.g. P775252. Documentation for the update is here: ftp://kermit.columbia.edu/kermit/d/k20mit.txt (*) The first Kermit file transfer occurred on April 29, 1981, between two copies of DEC-20 Kermit over a loopback connection between two serial ports on the Columbia University DEC-20. - Frank From news@columbia.edu Mon Jan 29 22:13:52 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id WAA28808 for ; Mon, 29 Jan 2001 22:13:51 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id WAA22127 for ; Mon, 29 Jan 2001 22:13:51 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id WAA27765 for kermit.misc@watsun.cc.columbia.edu; Mon, 29 Jan 2001 22:00:27 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Ishikawa Subject: Re: New release of DEC-20 Kermit Date: Tue, 30 Jan 2001 11:58:36 +0900 Organization: Ye 'Ol Disorganized NNTPCache groupie Message-ID: <3A762DDC.FBD6FB61@yk.rim.or.jp> To: kermit.misc@columbia.edu Frank da Cruz wrote: > This is to announce (no kidding) Version 5.1 of DECSYSTEM-20 KERMIT, > replacing version 4.2 of September 1988. Version 5.1 adds long packets, > which were never done before because long packets would crash a real > DEC-20. I am like speechless :-) I crashed the DEC-20 because of such long transfer until a DEC engineer told me why after we sent them a crash dump tape. Essentially I was told that the tty input queue was very short since nobody was going type in very quickly and I was overflowing it! Oh, the joy of "mainframe" programming! >This update was made in anticipation of the release of publicly available > KL10 emulators capable of running under Linux or other common platforms. > Since any emulator will probably not include Internet support, a way is > needed to import and export files: DEC-20 Kermit (the very first Kermit > program (*)) lives again! I feel a little dizzy. Care to comment where such emulator will be available?. I wonder if those DECUS tapes were kept on-line somewhere, like InterLisp, etc.. Not that I want to run them earnestly, but some playful programs might still be fun to see how it runs on a fast PC. (Oh, the memory limit hurts still.) >(*) The first Kermit file transfer occurred on April 29, 1981, between > two copies of DEC-20 Kermit over a loopback connection between two > serial ports on the Columbia University DEC-20. Thank you again for your contribution over all these years. From news@columbia.edu Mon Jan 29 23:13:51 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id XAA12311 for ; Mon, 29 Jan 2001 23:13:51 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id XAA24012 for ; Mon, 29 Jan 2001 23:13:51 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id WAA29831 for kermit.misc@watsun.cc.columbia.edu; Mon, 29 Jan 2001 22:52:36 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f Message-ID: <3A763A0E.165AA91C@adelaide.edu.au> Date: Tue, 30 Jan 2001 14:20:38 +1030 From: Arthur Marsh Organization: The University of Adelaide Subject: Re: New release of DEC-20 Kermit To: kermit.misc@columbia.edu Any 20th anniversary of Kermit celebrations planned? (-: My first clear memory of MS-Kermit was in 1984 using it to tranfer files between an IBM-compatible PC at the University of Adelaide physics department and the VAX 11/780's. Frank da Cruz wrote: [edit] > (*) The first Kermit file transfer occurred on April 29, 1981, between > two copies of DEC-20 Kermit over a loopback connection between two > serial ports on the Columbia University DEC-20. > > - Frank -- Arthur Marsh, Network Support Officer, Information Technology Services The University of Adelaide SA 5005 Australia Ph: +61 8 8303 6109, Mobile: +61 414 260 077 From news@columbia.edu Tue Jan 30 10:43:53 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id KAA08326 for ; Tue, 30 Jan 2001 10:43:53 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA03542 for ; Tue, 30 Jan 2001 10:43:52 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id KAA27187 for kermit.misc@watsun.cc.columbia.edu; Tue, 30 Jan 2001 10:32:02 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: New release of DEC-20 Kermit Date: 30 Jan 2001 15:31:59 GMT Organization: Columbia University Message-ID: <956mpf$qhh$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <3A762DDC.FBD6FB61@yk.rim.or.jp>, Ishikawa wrote: : > This is to announce (no kidding) Version 5.1 of DECSYSTEM-20 KERMIT, : > replacing version 4.2 of September 1988. Version 5.1 adds long packets, : > which were never done before because long packets would crash a real : > DEC-20. : : I crashed the DEC-20 because of such long transfer until : a DEC engineer told me why after we sent them a crash dump tape. : : Essentially I was told that the tty input queue was : very short since nobody was going type in very quickly and : I was overflowing it! Oh, the joy of "mainframe" programming! : Yes, this is the entire reason for the original 94-byte limit on the length of a Kermit packet. The initial design of the Kermit protocol was very much a lowest-common-denominator affair -- a protocol that would not break the DEC-20 and would also work with the IBM mainframe. But it was also deliberately extensible, and that's why we've been able to grow it over the years. Unfortunately, many people have yet to see past the original design and still, after nearly 20 years, believe the protocol is intrinsically slow. : Care to comment where [the KL20] emulator will be available?. : Tune in to alt.sys.pdp10 for fairly constant updates. - Frank From news@columbia.edu Tue Jan 30 16:43:59 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id QAA18409 for ; Tue, 30 Jan 2001 16:43:55 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA02726 for ; Tue, 30 Jan 2001 16:43:53 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id QAA13830 for kermit.misc@watsun.cc.columbia.edu; Tue, 30 Jan 2001 16:37:43 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Arthur Krewat Subject: Re: New release of DEC-20 Kermit Organization: Kilonet.net Message-ID: <3A773258.7F400FF7@bartek.dontspamme.net> Date: Tue, 30 Jan 2001 21:30:46 GMT To: kermit.misc@columbia.edu Frank da Cruz wrote: > > This is to announce (no kidding) Version 5.1 of DECSYSTEM-20 KERMIT, > replacing version 4.2 of September 1988. Version 5.1 adds long packets, > > Did you test it ? :) art k. From news@columbia.edu Tue Jan 30 17:43:54 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id RAA02736 for ; Tue, 30 Jan 2001 17:43:54 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id RAA14758 for ; Tue, 30 Jan 2001 17:43:54 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id RAA15985 for kermit.misc@watsun.cc.columbia.edu; Tue, 30 Jan 2001 17:27:24 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: New release of DEC-20 Kermit Date: 30 Jan 2001 22:27:19 GMT Organization: Columbia University Message-ID: <957f47$fje$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <3A773258.7F400FF7@bartek.dontspamme.net>, Arthur Krewat wrote: : Frank da Cruz wrote: : > This is to announce (no kidding) Version 5.1 of DECSYSTEM-20 KERMIT, : > replacing version 4.2 of September 1988. Version 5.1 adds long packets, : > : > : Did you test it ? :) : Like it says in the doc: ftp://kermit.columbia.edu/kermit/d/k20mit.txt "Long packets have been tested only on Telnet connections INTO the DEC-20. They have not been tested on serial connections or on outbound connections of any kind." - Frank From news@columbia.edu Fri Feb 2 12:45:03 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id MAA13730 for ; Fri, 2 Feb 2001 12:45:02 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA25493 for ; Fri, 2 Feb 2001 12:45:01 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id MAA11725 for kermit.misc@watsun.cc.columbia.edu; Fri, 2 Feb 2001 12:41:52 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "bpark" Subject: K95 differences with DOS product - security issue? Message-ID: <0dCe6.1760$wa5.45285522@news.randori.com> Organization: CCI Net, Inc. -- http://www.CCINet.com Date: Fri, 2 Feb 2001 09:35:36 -0800 To: kermit.misc@columbia.edu Talking to a POS system that runs in host mode I can do the following with 3.14 "rem cd c:\database" and it works. Using K95 1.1.20, I get "-Unable to change directory" Some directories can be gotten to using either package. This occurs whether doing this over a modem or a null modem connection. I have no problem believing that this is keyed to some sort of privilege/security/access issue coded in by the POS writers but am curious as to how the default 3.14 package gets by it but the 95 doesn't. Thanks. From news@columbia.edu Fri Feb 2 13:15:03 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id NAA29822 for ; Fri, 2 Feb 2001 13:15:03 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA29630 for ; Fri, 2 Feb 2001 13:15:02 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id NAA12601 for kermit.misc@watsun.cc.columbia.edu; Fri, 2 Feb 2001 13:02:27 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: K95 differences with DOS product - security issue? Date: 2 Feb 2001 18:02:23 GMT Organization: Columbia University Message-ID: <95esnf$c9m$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <0dCe6.1760$wa5.45285522@news.randori.com>, bpark wrote: : Talking to a POS system that runs in host mode I can do the following with : 3.14 "rem cd c:\database" and it works. : : Using K95 1.1.20, I get "-Unable to change directory" : : Some directories can be gotten to using either package. : : This occurs whether doing this over a modem or a null modem connection. : : I have no problem believing that this is keyed to some sort of : privilege/security/access issue coded in by the POS writers but am curious : as to how the default 3.14 package gets by it but the 95 doesn't. : This is the result of the unfortunate coincidence that "\" is both the DOS/Windows directory separator and Kermit's command "escape" character. (Almost) anytime the command parser of K95 (and C-Kermit, same parser) see "\" in a command, they treat it as a signal that a variable or other special quantity follows, which is to be evaluated before it is used. The parsing rules in MS-DOS Kermit are similar, but subtly different, since it is built from an entirely separate code base. Of course K95 gives you some options for working around the problem, including: 1. Double any backslash that is to be taken literally: rem cd c:\\database 2. Put the pathname in a variable and then refer to the variable: define path c:\database rem cd \m(path) 3. Temporarily disable backslash processing: set command quoting off rem cd c:\database set command quoting on - Frank From news@columbia.edu Fri Feb 2 15:15:03 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id PAA14717 for ; Fri, 2 Feb 2001 15:15:03 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA16164 for ; Fri, 2 Feb 2001 15:15:01 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id PAA17840 for kermit.misc@watsun.cc.columbia.edu; Fri, 2 Feb 2001 15:03:57 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jrd@cc.usu.edu (Joe Doupnik) Subject: Re: K95 differences with DOS product - security issue? Message-ID: Date: 2 Feb 01 12:39:35 MDT Organization: Utah State University To: kermit.misc@columbia.edu In article <95esnf$c9m$1@newsmaster.cc.columbia.edu>, fdc@watsun.cc.columbia.edu (Frank da Cruz) writes: > In article <0dCe6.1760$wa5.45285522@news.randori.com>, > bpark wrote: > : Talking to a POS system that runs in host mode I can do the following with > : 3.14 "rem cd c:\database" and it works. > : > : Using K95 1.1.20, I get "-Unable to change directory" > : > : Some directories can be gotten to using either package. > : > : This occurs whether doing this over a modem or a null modem connection. > : > : I have no problem believing that this is keyed to some sort of > : privilege/security/access issue coded in by the POS writers but am curious > : as to how the default 3.14 package gets by it but the 95 doesn't. > : > This is the result of the unfortunate coincidence that "\" is both the > DOS/Windows directory separator and Kermit's command "escape" character. > (Almost) anytime the command parser of K95 (and C-Kermit, same parser) > see "\" in a command, they treat it as a signal that a variable or other > special quantity follows, which is to be evaluated before it is used. > The parsing rules in MS-DOS Kermit are similar, but subtly different, > since it is built from an entirely separate code base. > > Of course K95 gives you some options for working around the problem, > including: > > 1. Double any backslash that is to be taken literally: > > rem cd c:\\database > > 2. Put the pathname in a variable and then refer to the variable: > > define path c:\database > rem cd \m(path) > > 3. Temporarily disable backslash processing: > > set command quoting off > rem cd c:\database > set command quoting on > > - Frank --------- In addition, MSK treats these DOS command.com issues by having command.com execute them. In so doing MSK tries to preserve the syntax of the command line, in so far as it can, and it thus need not understand details of the command arguments. I believe K95 tries to perform the commands using its own code. Joe D. From news@columbia.edu Fri Feb 2 15:45:02 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id PAA27300 for ; Fri, 2 Feb 2001 15:45:02 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA20268 for ; Fri, 2 Feb 2001 15:45:01 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id PAA18921 for kermit.misc@watsun.cc.columbia.edu; Fri, 2 Feb 2001 15:31:16 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: K95 differences with DOS product - security issue? Date: 2 Feb 2001 20:31:15 GMT Organization: Columbia University Message-ID: <95f5ej$if6$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Joe Doupnik wrote: : ... : In addition, MSK treats these DOS command.com issues by having : command.com execute them. In so doing MSK tries to preserve the syntax : of the command line, in so far as it can, and it thus need not understand : details of the command arguments. I believe K95 tries to perform the : commands using its own code. : In some cases, yes, but "remote cd" is not a DOS command, it's command from the client to the server. Kermit, as a good network citizen (increasingly hard to find these days), doesn't make any assumptions about the file system or naming syntax of the server. Meanwhile, it allows you to use variables in any command, such as "remote cd", and variables start with backslash. The tricky part comes in local file- and directory-related commands, like "cd", "dir", "send", etc, on DOS or Windows. To take an example from the documentation: send c:\%a Does this mean "send the file whose name is (literally) %A in the root directory of the C disk"? Or does it mean "send the file on the C disk whose name is contained in the Kermit variable \%a"? Some users expect it to do the one; other users, the other. You can't please everybody. But in K95 we try to anyway using tricks you could scarcely believe to divine what the user intends by such commands without forcing them to type double backslashes. The place where all this falls apart is the RUN command, which takes a command line to be passed to the system (e.g. DOS) shell. Since Kermit can't (and can't be expected to) parse every shell command, or even know what shell will be used to execute it, it has no way of guessing when "\" is a directory separator and when it's a variable lead-in, or for that matter something else again. The only way to handle this by giving the user complete control and being totally consistent. Thus in K95's RUN commmand, backslashes must always be doubled if you want them taken literally. You can also double them in other commands for safety, to thwart K95's "backslash divination" tricks. GREAT MOMENTS IN THE HISTORY OF COMPUTING: Microsoft, circa 1982, when DOS 2.0 came out and subdirectories were added to the formerly flat DOS file system: "Let's do it just like in UNIX, but instead of slashes, let's use backslashes!" ... "Kewl!" - Frank From news@columbia.edu Fri Feb 2 16:45:03 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id QAA20739 for ; Fri, 2 Feb 2001 16:45:02 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA25598 for ; Fri, 2 Feb 2001 16:45:01 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id QAA21667 for kermit.misc@watsun.cc.columbia.edu; Fri, 2 Feb 2001 16:34:04 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jrd@cc.usu.edu (Joe Doupnik) Subject: Re: K95 differences with DOS product - security issue? Message-ID: Date: 2 Feb 01 14:32:02 MDT Organization: Utah State University To: kermit.misc@columbia.edu > GREAT MOMENTS IN THE HISTORY OF COMPUTING: Microsoft, circa 1982, when DOS > 2.0 came out and subdirectories were added to the formerly flat DOS file > system: "Let's do it just like in UNIX, but instead of slashes, let's use > backslashes!" ... "Kewl!" > > - Frank ----- And immediately followed up with a Service Pack reserving forward slashes for switch qualifiers rather than using minus signs. So far Redmond hasn't discovered minus signs, so there's another patent opportunity for you. The term I use for all this is idiomatic. Joe D. From news@columbia.edu Fri Feb 2 17:45:04 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id RAA23603 for ; Fri, 2 Feb 2001 17:45:03 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id RAA27542 for ; Fri, 2 Feb 2001 17:45:02 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id RAA23642 for kermit.misc@watsun.cc.columbia.edu; Fri, 2 Feb 2001 17:21:55 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Pete DiMarco Subject: half-duplex G-Kermit? Date: Fri, 2 Feb 2001 14:18:30 -0800 Organization: Integrated Flow Systems Message-ID: To: kermit.misc@columbia.edu Hi- Does anyone know if G-Kermit (or a variant) supports half-duplex connections? We're looking for a protocol to use over a multi-drop RS-485. If G-Kermit can run half-duplex, we think we can hack out a master/slave addressing scheme to wrap around it. TIA, - PDM From news@columbia.edu Sat Feb 3 09:15:05 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id JAA03111 for ; Sat, 3 Feb 2001 09:15:05 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id JAA04340 for ; Sat, 3 Feb 2001 09:15:03 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id IAA28220 for kermit.misc@watsun.cc.columbia.edu; Sat, 3 Feb 2001 08:52:59 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Mike Scott" Subject: Master and server mode for receives? Message-ID: Date: Sat, 03 Feb 2001 13:50:05 GMT Organization: blueyonder (post doesn't reflect views of blueyonder) To: kermit.misc@columbia.edu I have a requirement to transmit and receive data from a remote machine which, according to their documentation, is running Kermit in server mode. Their docs say that my Kermit should run in master mode. I've been able to transmit files without a problem, but when I attempt to receive, nothing happens. I believe the problem is that my Kermit software (TurboPower's AsyncPro VCL components for Borland Delphi) is waiting for the remote to start a send. IOW, AsyncPro doesn't understand the concept of working as a master when doing a receive. Is this a standard part of the Kermit protocol? The remote docs show that I should be sending an Init packet, getting an Ack, then sending a Receive packet and then the remote will start sending. IOW, it appears that I have to give the remote a "kick" to get it to start sending. Am I making sense, or are my conclusions incorrect? Any help on this would be greatly appreciated. TIA. Mike Scott. From news@columbia.edu Sat Feb 3 16:15:04 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id QAA21668 for ; Sat, 3 Feb 2001 16:15:04 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA20050 for ; Sat, 3 Feb 2001 16:15:03 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id QAA15083 for kermit.misc@watsun.cc.columbia.edu; Sat, 3 Feb 2001 16:10:25 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: half-duplex G-Kermit? Date: 3 Feb 2001 21:10:18 GMT Organization: Columbia University Message-ID: <95hs3q$en9$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Pete DiMarco wrote: : Does anyone know if G-Kermit (or a variant) supports half-duplex : connections? We're looking for a protocol to use over a multi-drop RS-485. : If G-Kermit can run half-duplex, we think we can hack out a master/slave : addressing scheme to wrap around it. : Yes, the basic Kermit protocol (used when sliding windows, streaming, etc, are not negotiated) is half duplex ("stop and wait"). - Frank From news@columbia.edu Sat Feb 3 16:15:04 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id QAA15716 for ; Sat, 3 Feb 2001 16:15:04 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA20053 for ; Sat, 3 Feb 2001 16:15:04 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id QAA15127 for kermit.misc@watsun.cc.columbia.edu; Sat, 3 Feb 2001 16:12:25 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Master and server mode for receives? Date: 3 Feb 2001 21:12:25 GMT Organization: Columbia University Message-ID: <95hs7p$eoi$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Mike Scott wrote: : I have a requirement to transmit and receive data from a remote machine : which, according to their documentation, is running Kermit in server mode. : Their docs say that my Kermit should run in master mode. : : I've been able to transmit files without a problem, but when I attempt to : receive, nothing happens. I believe the problem is that my Kermit software : (TurboPower's AsyncPro VCL components for Borland Delphi) is waiting for the : remote to start a send. IOW, AsyncPro doesn't understand the concept of : working as a master when doing a receive. : It's the difference between RECEIVE (passive) and GET (active). : Is this a standard part of the Kermit protocol? The remote docs show that I : should be sending an Init packet, getting an Ack, then sending a Receive : packet and then the remote will start sending. IOW, it appears that I have : to give the remote a "kick" to get it to start sending. : You'll probably need another client, one that goes a bit beyond where Kermit was in 1981. A good source for Kermit clients and servers is here: http://www.columbia.edu/kermit/ - Frank From news@columbia.edu Sun Feb 4 13:45:08 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id NAA02567 for ; Sun, 4 Feb 2001 13:45:08 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA11114 for ; Sun, 4 Feb 2001 13:45:07 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id NAA03700 for kermit.misc@watsun.cc.columbia.edu; Sun, 4 Feb 2001 13:28:57 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Master and server mode for receives? Date: 4 Feb 2001 18:28:57 GMT Organization: Columbia University Message-ID: <95k719$3jh$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <54hf6.7236$9g3.908646@news3.cableinet.net>, Mike Scott wrote: : ... : One more question: is the Kermit protocol specification not available : online? The only references I can find to it is your book. Amazon reports : that it's out of print and, besides, I needed a solution immediately. I'm : astonished that the protocol doesn't appear to be published online. : It's a question of time -- most people would rather have us devoting our time to improving and supporting and documenting the software, and this alone takes up more time than we have. The book is still available from us (while supplies last): http://www.columbia.edu/kermit/manuals.html In a pinch you can use the very old online Kermit Protocol Manual: ftp://kermit.columbia.edu/kermit/e/kproto.* Maybe some day we'll catch up. - Frank From news@columbia.edu Sun Feb 4 13:45:12 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id NAA14478 for ; Sun, 4 Feb 2001 13:45:07 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA11111 for ; Sun, 4 Feb 2001 13:45:05 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id NAA03458 for kermit.misc@watsun.cc.columbia.edu; Sun, 4 Feb 2001 13:23:43 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Mike Scott" Subject: Re: Master and server mode for receives? Message-ID: <54hf6.7236$9g3.908646@news3.cableinet.net> Date: Sun, 04 Feb 2001 18:20:49 GMT Organization: blueyonder (post doesn't reflect views of blueyonder) To: kermit.misc@columbia.edu Frank >> It's the difference between RECEIVE (passive) and GET (active) ...<< Thanks. >> You'll probably need another client, one that goes a bit beyond where Kermit was in 1981... << It's OK, I've got it to work by sending the init and receive packets "manually" and then telling the file transfer components to do a receive. Besides, I need to integrate Kermit into my application, not use a 3rd party application. One more question: is the Kermit protocol specification not available online? The only references I can find to it is your book. Amazon reports that it's out of print and, besides, I needed a solution immediately. I'm astonished that the protocol doesn't appear to be published online. Mike. From news@columbia.edu Mon Feb 5 05:45:09 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id FAA20657 for ; Mon, 5 Feb 2001 05:45:09 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id FAA21174 for ; Mon, 5 Feb 2001 05:45:07 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id FAA10123 for kermit.misc@watsun.cc.columbia.edu; Mon, 5 Feb 2001 05:22:16 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Mike Scott" Subject: Re: Master and server mode for receives? Message-ID: Date: Mon, 05 Feb 2001 10:19:23 GMT Organization: blueyonder (post doesn't reflect views of blueyonder) To: kermit.misc@columbia.edu Frank >> It's a question of time -- most people would rather have us devoting our time to improving and supporting and documenting the software, and this alone takes up more time than we have. << Understood. I guess the book was written in pre-DTP days an so you don't have it in an electronic typeset format that could easily be output in Adobe Acrobat PDF format. >> In a pinch you can use the very old online Kermit Protocol Manual... << I'll take a look. Thanks for your help. Mike Scott. From news@columbia.edu Mon Feb 5 08:45:14 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id IAA16709 for ; Mon, 5 Feb 2001 08:45:14 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id IAA27284 for ; Mon, 5 Feb 2001 08:45:08 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id IAA08007 for kermit.misc@watsun.cc.columbia.edu; Mon, 5 Feb 2001 08:37:01 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: era@eracc.bizland.com (ERA) Organization: ERA Computer Consulting Message-ID: Subject: DOS Kermit dies ... Date: Mon, 05 Feb 2001 13:31:36 GMT To: kermit.misc@columbia.edu Hello Mr. Doupnik, I upgraded two POS computers for a client from Pentium 100's running MS-DOS 6.2 to Celeron 466MHz running IBM PC-DOS 2000. They are using MS Kermit patched to 3.16, IIRC. Now the overnight file retrieval dies. The DOS machines crash with an error when the remote system tries to login and access the DOS host to get the nightly data. I can't tell yet if it dies at login or at the attempt to retrieve. The error occurs before their system is turned off for the night by a timer switch. It was working before the hardware / DOS upgrade. I haven't yet been able to capture the error due to time constraints with the client for testing. I have heard, since upgrading them, there are "issues" with 400MHz and faster machines trying to run DOS communication apps. Is this true? If so how do we prevent the problem? If you can, please write me direct using: support@eracc.bizland.com Thanks! (This message both posted and e-mailed) Gene -- +=========================-=>Unix & OS/2<=-=========================+ # Owner and C.E.O. - ERA Computer Consulting - Jackson, TN USA # # Providing OS/2, OpenServer & Linux Business Computing Solutions # # Please visit our www pages at http://eracc.bizland.com/ # +===================================================================+ We run IBM OS/2 v.4.00, Revision 9.036 Sysinfo: 39 Processes, 165 Threads, uptime is 1d 18h 35m 35s 277ms From news@columbia.edu Mon Feb 5 20:15:11 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id UAA00478 for ; Mon, 5 Feb 2001 20:15:10 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id UAA23304 for ; Mon, 5 Feb 2001 20:15:09 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id TAA07800 for kermit.misc@watsun.cc.columbia.edu; Mon, 5 Feb 2001 19:54:47 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: awouk@blackhole.nyx.net (arthur wouk) Subject: passing mouse motions through CKERMIT? Organization: Nyx net, The Spirit of the Night Message-ID: <981424277.754311@irys.nyx.net> Date: Tue, 06 Feb 2001 00:52:58 GMT To: kermit.misc@columbia.edu i am about to break down, after all these years, and start using a gui - CDE under solaris 2.6 on a sparc10. is there a way to compile ckermit so that it passes mouse motions to an isp? i go into a shell account at the isp, which is running sunos 4.1.4, in case that makes any difference? -- Artificial intelligence is no match for natural stupidity. to email me, delete blackhole. from my return address From news@columbia.edu Mon Feb 5 20:45:10 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id UAA19674 for ; Mon, 5 Feb 2001 20:45:10 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id UAA24250 for ; Mon, 5 Feb 2001 20:45:09 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id UAA08892 for kermit.misc@watsun.cc.columbia.edu; Mon, 5 Feb 2001 20:23:56 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jaltman@columbia.edu (Jeffrey Altman) Subject: Re: passing mouse motions through CKERMIT? Date: 6 Feb 2001 01:23:55 GMT Organization: Columbia University Message-ID: <95njnb$8lo$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <981424277.754311@irys.nyx.net>, arthur wouk wrote: : i am about to break down, after all these years, and start using a gui : - CDE under solaris 2.6 on a sparc10. is there a way to compile : ckermit so that it passes mouse motions to an isp? i go into a shell : account at the isp, which is running sunos 4.1.4, in case that makes : any difference? C-Kermit does not provide terminal support. That is provided by your Xterm window. Mouse operations are a property of the Xterm session and it is the responsibility of the Xterm window to convert the mouse operations into appropriate escape sequences for transmission to the host over the connection provided by C-Kermit. C-Kermit cannot provide these features for the Xterm session since it does not receive any mouse events. Jeffrey Altman * Sr.Software Designer C-Kermit 7.1 Alpha available The Kermit Project @ Columbia University includes Secure Telnet and FTP http://www.kermit-project.org/ using Kerberos, SRP, and kermit-support@kermit-project.org OpenSSL. SSH soon to follow. From news@columbia.edu Tue Feb 6 09:45:12 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id JAA22280 for ; Tue, 6 Feb 2001 09:45:11 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id JAA00603 for ; Tue, 6 Feb 2001 09:45:10 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id JAA09828 for kermit.misc@watsun.cc.columbia.edu; Tue, 6 Feb 2001 09:38:40 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: gneiss@mailroom.com (Bob) Subject: kermit not closing properly? Date: Tue, 06 Feb 2001 14:36:48 -0000 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <904061545bdorengneiss@207.126.101.100> To: kermit.misc@columbia.edu Good Morning: Using the lastest release on both VMS and Linux, the script below logs in to Linux from VMS, transfers a file, encrypts it, then gets a file back. All appears normal up to the last line, "out exit\13", at which point Kermit appears to try to read _every_ line of the command file (according to my screen display) instead of the "exit" command...eventually exit is recognized and kermit seems to quit normally. Up to now I had a session.log to read, but now that is empty at job completion. Am I missing a kermit command or command switch? Thanks for any help, Bob log session set host porky in 5 Password: out \13 in 5 Login: out aagaard\13 in 5 Password: out \13 ; in 5 [aagaard@porky aagaard]$ out cd test\13 in 3 [aagaard@porky test]$ out rm *\13 in 3 [aagaard@porky test]$ send /binary nopstoporky.pgp in 30 [aagaard@porky test]$ out pgp -z "secret passphrase" nopstoporky.pgp\13 ; in 30 [aagaard@porky test]$ set protocol kermit {kermit -O} #start kermit server for "get" only get /text nopstoporky out exit\13 From news@columbia.edu Tue Feb 6 10:15:12 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id KAA12333 for ; Tue, 6 Feb 2001 10:15:11 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA04831 for ; Tue, 6 Feb 2001 10:15:10 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id JAA10210 for kermit.misc@watsun.cc.columbia.edu; Tue, 6 Feb 2001 09:48:37 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: kermit not closing properly? Date: 6 Feb 2001 14:48:35 GMT Organization: Columbia University Message-ID: <95p2s3$9v0$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <904061545bdorengneiss@207.126.101.100>, Bob wrote: : Using the lastest release on both VMS and Linux... : Please be specific when you say "latest". : ... the script below logs in to : Linux from VMS, transfers a file, encrypts it, then gets a file back. All : appears normal up to the last line, "out exit\13", at which point Kermit : appears to try to read _every_ line of the command file (according to my : screen display) instead of the "exit" command...eventually exit is : recognized and kermit seems to quit normally. Up to now I had a session.log : to read, but now that is empty at job completion. : I don't understand what you mean by "read _every_ line of the command file". Isn't that what you want it to do? I don't see any conditional stopping or branching in the command file, so Kermit normally would read and execute every line of it. : Thanks for any help, Bob : : log session : I'll have to take your word that Kermit has already created a session, but you didn't show that part. But what if the connection failed? : set host porky : in 5 Password: : out \13 : in 5 Login: : out aagaard\13 : in 5 Password: : out \13 : in 5 [aagaard@porky aagaard]$ : out cd test\13 : in 3 [aagaard@porky test]$ : out rm *\13 : in 3 [aagaard@porky test]$ : Hint: Check the INPUT commands for success and failure. If an INPUT fails, you don't want the script to continue as if it had succeeded, right? Especially when "rm" commands are involved? : send /binary nopstoporky.pgp : You should test the SEND for success and failure too. What if the file was not sent successfully? : in 30 [aagaard@porky test]$ : out pgp -z "secret passphrase" nopstoporky.pgp\13 : ; : in 30 [aagaard@porky test]$ : set protocol kermit {kermit -O} #start kermit server for "get" only : get /text nopstoporky : out exit\13 Try the hints above, and also read the tutorial here: http://www.columbia.edu/kermit/ckscripts.html#tut and maybe your script will stop misbehaving. - Frank From news@columbia.edu Tue Feb 6 12:45:13 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id MAA14754 for ; Tue, 6 Feb 2001 12:45:13 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA26175 for ; Tue, 6 Feb 2001 12:45:12 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id MAA18928 for kermit.misc@watsun.cc.columbia.edu; Tue, 6 Feb 2001 12:17:25 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Steve" Subject: Re: DOS Kermit dies ... Message-ID: Organization: Giganews.Com - Premium News Outsourcing Date: Tue, 6 Feb 2001 09:21:38 -0800 To: kermit.misc@columbia.edu If possible could you post the answer to the group also? I would be interested in hearing this. Steve Baus ERA wrote in message news:gWtomC2dEjRt-pn2-w3u4eOmsEORl@era0... > Hello Mr. Doupnik, > > I upgraded two POS computers for a client from Pentium 100's running > MS-DOS 6.2 to Celeron 466MHz running IBM PC-DOS 2000. They are using > MS Kermit patched to 3.16, IIRC. Now the overnight file retrieval > dies. The DOS machines crash with an error when the remote system > tries to login and access the DOS host to get the nightly data. I > can't tell yet if it dies at login or at the attempt to retrieve. The > error occurs before their system is turned off for the night by a > timer switch. It was working before the hardware / DOS upgrade. > > I haven't yet been able to capture the error due to time constraints > with the client for testing. I have heard, since upgrading them, > there are "issues" with 400MHz and faster machines trying to run DOS > communication apps. Is this true? If so how do we prevent the > problem? If you can, please write me direct using: > > support@eracc.bizland.com > > Thanks! > > (This message both posted and e-mailed) > > Gene > -- > +=========================-=>Unix & OS/2<=-=========================+ > # Owner and C.E.O. - ERA Computer Consulting - Jackson, TN USA # > # Providing OS/2, OpenServer & Linux Business Computing Solutions # > # Please visit our www pages at http://eracc.bizland.com/ # > +===================================================================+ > We run IBM OS/2 v.4.00, Revision 9.036 > Sysinfo: 39 Processes, 165 Threads, uptime is 1d 18h 35m 35s 277ms From news@columbia.edu Tue Feb 6 12:45:13 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id MAA00458 for ; Tue, 6 Feb 2001 12:45:12 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA26154 for ; Tue, 6 Feb 2001 12:45:11 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id MAA19453 for kermit.misc@watsun.cc.columbia.edu; Tue, 6 Feb 2001 12:31:13 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Steve" Subject: Unrecognized com port Message-ID: Organization: Giganews.Com - Premium News Outsourcing Date: Tue, 6 Feb 2001 09:32:55 -0800 To: kermit.misc@columbia.edu Is there a list of reasons why I would get an unrecognized hardware when trying to use a com port from time to time? I am using 3.15 with Win98 2nd Edition on a PC in my office and never have a problem yet a remote location has the exact same OS and same com drivers and they have all sorts of com issues. I can not see any reason why as I have gone through the Using MSK in 32 bit Windows list of issues and do not see anything that applies. I would have thought booting the PC to DOS would be one way around this but that always gives errors. Any help would be greatly appreciated, Steve From news@columbia.edu Tue Feb 6 13:15:12 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id NAA14918 for ; Tue, 6 Feb 2001 13:15:11 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA00446 for ; Tue, 6 Feb 2001 13:15:11 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id MAA20602 for kermit.misc@watsun.cc.columbia.edu; Tue, 6 Feb 2001 12:52:48 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Unrecognized com port Date: 6 Feb 2001 17:52:46 GMT Organization: Columbia University Message-ID: <95pdle$k3n$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Steve wrote: : Is there a list of reasons why I would get an unrecognized hardware when : trying to use a com port from time to time? I am using 3.15 with Win98 2nd : Edition on a PC... : Yes, see: http://www.columbia.edu/kermit/msk95.html : ... in my office and never have a problem yet a remote location : has the exact same OS and same com drivers and they have all sorts of com : issues. : You can't count on any two PCs being alike. From one day to the next, the same manufacturer will switch parts based on whatever is cheapest that day. The only way to be "safe" with Windows PCs is to use Windows software that uses the native drivers for the devices on the Windows PCs. MS-DOS Kermit can't access 32-bit drivers. : I can not see any reason why as I have gone through the Using MSK : in 32 bit Windows list of issues... : We don't even pretend to know all the issues. Modern PCs are manufactured for Windows, and it is increasingly impossible to run 16-bit DOS software in 32-bit Windows, especially when it needs to get at the hardware. : ... and do not see anything that applies. I : would have thought booting the PC to DOS would be one way around this but : that always gives errors. : Does K95 work on the problem PC? - Frank From news@columbia.edu Tue Feb 6 15:45:18 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id PAA14527 for ; Tue, 6 Feb 2001 15:45:17 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA21164 for ; Tue, 6 Feb 2001 15:45:11 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id PAA27799 for kermit.misc@watsun.cc.columbia.edu; Tue, 6 Feb 2001 15:44:30 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Steve" Subject: Re: Unrecognized com port Message-ID: Organization: Giganews.Com - Premium News Outsourcing Date: Tue, 06 Feb 2001 20:42:19 GMT To: kermit.misc@columbia.edu We have not tried K95 yet. That is plan G and we are only on plan E right now although we may skip plan F. Obviously we need to move to K95 which we have here but the remote location does not. I know we have patched our version to the current. If we do send them K95, what files do we need to send and how should we handle the license? Can we use our pre paid MSK bulk license? Everything we do is simply file transfers between a host and multiple clients connecting either through a serial cable or over a modem with files going both directions. The clients are almost always true MS DOS and they will be using MSK 3.1x. Do you know which of the sample scripts would be the best to review? Thanks, Steve Frank da Cruz wrote in message news:95pdle$k3n$1@newsmaster.cc.columbia.edu... > In article , > Steve wrote: > : Is there a list of reasons why I would get an unrecognized hardware when > : trying to use a com port from time to time? I am using 3.15 with Win98 2nd > : Edition on a PC... > : > Yes, see: > > http://www.columbia.edu/kermit/msk95.html > > : ... in my office and never have a problem yet a remote location > : has the exact same OS and same com drivers and they have all sorts of com > : issues. > : > You can't count on any two PCs being alike. From one day to the next, the > same manufacturer will switch parts based on whatever is cheapest that day. > The only way to be "safe" with Windows PCs is to use Windows software that > uses the native drivers for the devices on the Windows PCs. MS-DOS Kermit > can't access 32-bit drivers. > > : I can not see any reason why as I have gone through the Using MSK > : in 32 bit Windows list of issues... > : > We don't even pretend to know all the issues. Modern PCs are manufactured > for Windows, and it is increasingly impossible to run 16-bit DOS software > in 32-bit Windows, especially when it needs to get at the hardware. > > : ... and do not see anything that applies. I > : would have thought booting the PC to DOS would be one way around this but > : that always gives errors. > : > Does K95 work on the problem PC? > > - Frank From news@columbia.edu Tue Feb 6 16:15:18 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id QAA10795 for ; Tue, 6 Feb 2001 16:15:13 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA25366 for ; Tue, 6 Feb 2001 16:15:12 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id QAA28684 for kermit.misc@watsun.cc.columbia.edu; Tue, 6 Feb 2001 16:04:21 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jrd@cc.usu.edu (Joe Doupnik) Subject: Re: DOS Kermit dies ... Message-ID: Date: 6 Feb 01 13:59:27 MDT Organization: Utah State University To: kermit.misc@columbia.edu In article , era@eracc.bizland.com (ERA) writes: > Hello Mr. Doupnik, > > I upgraded two POS computers for a client from Pentium 100's running > MS-DOS 6.2 to Celeron 466MHz running IBM PC-DOS 2000. They are using > MS Kermit patched to 3.16, IIRC. Now the overnight file retrieval > dies. The DOS machines crash with an error when the remote system > tries to login and access the DOS host to get the nightly data. I > can't tell yet if it dies at login or at the attempt to retrieve. The > error occurs before their system is turned off for the night by a > timer switch. It was working before the hardware / DOS upgrade. > > I haven't yet been able to capture the error due to time constraints > with the client for testing. I have heard, since upgrading them, > there are "issues" with 400MHz and faster machines trying to run DOS > communication apps. Is this true? If so how do we prevent the > problem? If you can, please write me direct using: > > support@eracc.bizland.com --------- The dialogue has been carried on point to point, but here is a snippet which covers essential bases. The very old speed problem resulted in a divide by zero fault when opening a connection. It has been fixed for a long time. -------- MSK 3.16 does not have problems with fast CPUs. I am writing this message using that Kermit and the machine has a 900MHz AMD Athlon cpu, a heck of a lot faster than a 466MHz Celeron. Some obvious things to check are the quality of the memory chips and the Bios setup for peripherals. I have not heard of IBM's DOS 2000, so if that has unusual things compared to regular DOS then I will be unaware of them. In all, I think the machines themselves have difficulties and Kermit is simply revealing them. Joe D. From news@columbia.edu Tue Feb 6 17:00:38 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id RAA02853 for ; Tue, 6 Feb 2001 17:00:36 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA29469 for ; Tue, 6 Feb 2001 16:45:11 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id QAA29189 for kermit.misc@watsun.cc.columbia.edu; Tue, 6 Feb 2001 16:18:32 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Unrecognized com port Date: 6 Feb 2001 21:17:40 GMT Organization: Columbia University Message-ID: <95pplk$sg2$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Steve wrote: : We have not tried K95 yet. That is plan G and we are only on plan E right : now although we may skip plan F. Obviously we need to move to K95 which we : have here but the remote location does not. I know we have patched our : version to the current. If we do send them K95, what files do we need to : send and how should we handle the license? Can we use our pre paid MSK bulk : license? : : Everything we do is simply file transfers between a host and multiple : clients connecting either through a serial cable or over a modem with files : going both directions. The clients are almost always true MS DOS and they : will be using MSK 3.1x. Do you know which of the sample scripts would be : the best to review? : You would need to give more details. Let's take both topics offline; we'll contact you directly. - Frank From news@columbia.edu Tue Feb 6 17:00:46 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id RAA02884 for ; Tue, 6 Feb 2001 17:00:39 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA29472 for ; Tue, 6 Feb 2001 16:45:12 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id QAA29953 for kermit.misc@watsun.cc.columbia.edu; Tue, 6 Feb 2001 16:34:33 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jrd@cc.usu.edu (Joe Doupnik) Subject: Re: Unrecognized com port Message-ID: Date: 6 Feb 01 14:04:18 MDT Organization: Utah State University To: kermit.misc@columbia.edu In article , "Steve" writes: > Is there a list of reasons why I would get an unrecognized hardware when > trying to use a com port from time to time? I am using 3.15 with Win98 2nd > Edition on a PC in my office and never have a problem yet a remote location > has the exact same OS and same com drivers and they have all sorts of com > issues. I can not see any reason why as I have gone through the Using MSK > in 32 bit Windows list of issues and do not see anything that applies. I > would have thought booting the PC to DOS would be one way around this but > that always gives errors. > > Any help would be greatly appreciated, > Steve --------- In a nut shell, Windows owns the hardware and may present a virtualized version of parts, if it feels generous that day. Competition for say a serial port means trouble. Please keep in mind folks have a habit of both installing additional software, configuring new things, and adjusting the basic machine (Bios etc) so "same" does not apply to a particular machine from one week to the next. Booting to DOS is trivial. Edit msdos.sys and have line BootGUI=0 present. Type win to start the GUI when you are ready. I operate this way all the time (such as right now, using MSK to deal with email/etc). Joe D. From news@columbia.edu Tue Feb 6 21:45:12 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id VAA16868 for ; Tue, 6 Feb 2001 21:45:12 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id VAA25898 for ; Tue, 6 Feb 2001 21:45:11 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id VAA12491 for kermit.misc@watsun.cc.columbia.edu; Tue, 6 Feb 2001 21:31:34 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Steve" Subject: Re: DOS Kermit dies ... Message-ID: Organization: Giganews.Com - Premium News Outsourcing Date: Wed, 07 Feb 2001 02:29:27 GMT To: kermit.misc@columbia.edu Thanks, Steve Joe Doupnik wrote in message news:eI0gH3R2asj3@cc.usu.edu... > In article , era@eracc.bizland.com (ERA) writes: > > Hello Mr. Doupnik, > > > > I upgraded two POS computers for a client from Pentium 100's running > > MS-DOS 6.2 to Celeron 466MHz running IBM PC-DOS 2000. They are using > > MS Kermit patched to 3.16, IIRC. Now the overnight file retrieval > > dies. The DOS machines crash with an error when the remote system > > tries to login and access the DOS host to get the nightly data. I > > can't tell yet if it dies at login or at the attempt to retrieve. The > > error occurs before their system is turned off for the night by a > > timer switch. It was working before the hardware / DOS upgrade. > > > > I haven't yet been able to capture the error due to time constraints > > with the client for testing. I have heard, since upgrading them, > > there are "issues" with 400MHz and faster machines trying to run DOS > > communication apps. Is this true? If so how do we prevent the > > problem? If you can, please write me direct using: > > > > support@eracc.bizland.com > --------- > The dialogue has been carried on point to point, but here is a > snippet which covers essential bases. The very old speed problem > resulted in a divide by zero fault when opening a connection. It has > been fixed for a long time. > -------- > > MSK 3.16 does not have problems with fast CPUs. I am writing > this message using that Kermit and the machine has a 900MHz AMD Athlon > cpu, a heck of a lot faster than a 466MHz Celeron. Some obvious things > to check are the quality of the memory chips and the Bios setup for > peripherals. I have not heard of IBM's DOS 2000, so if that has unusual > things compared to regular DOS then I will be unaware of them. > In all, I think the machines themselves have difficulties and > Kermit is simply revealing them. > Joe D. From news@columbia.edu Wed Feb 7 09:45:22 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id JAA02149 for ; Wed, 7 Feb 2001 09:45:21 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id JAA19404 for ; Wed, 7 Feb 2001 09:45:13 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id JAA00543 for kermit.misc@watsun.cc.columbia.edu; Wed, 7 Feb 2001 09:38:20 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: gneiss@mailroom.com (Bob) Subject: Re: kermit not closing properly? Date: Wed, 07 Feb 2001 14:36:28 -0000 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <90416A33Ebdorengneiss@207.126.101.100> To: kermit.misc@columbia.edu Frank, sorry for ambiguity, here is additional info: 1. using version 7.1.199 Alpha.02 on VMS, 7.0.196, 1 Jan 2000 on Linux 2. I have your old book, new one is on the way, have read the online update, tutorial, etc. There's a lot to know about Kermit!! 3. I intend to add error checking, still testing, at this stage I know connections are made, the files transfer, and "out" commands are executed by reading the screen output. 4. here is the screen output after my file is transferred from Linux to VMS, just before Kermit exits and my VMS job finishes (this is what I meant by "read every line before exiting"). I would guess the problem is indicated by the line "a network connection might still be open": Error Count: 0 Last Error: Last Message: SUCCESS. Files: 1, Bytes: 40860290, 374038 CPS C-Kermit 7.1.199 Alpha.02, 4 Jan 2001, for OpenVMS Alpha Copyright (C) 1985, 2001, Trustees of Columbia University in the City of New York. Type ? or HELP for help. RAID0:[DORENFELD.KERMIT] C-Kermit>#-- Kermit commands to send files from VMS to Linux, RAID0:[DORENFELD.KERMIT] C-Kermit>#-- decrypt them with PGP, send them back to VMS RAID0:[DORENFELD.KERMIT] C-Kermit># RAID0:[DORENFELD.KERMIT] C-Kermit>log session RAID0:[DORENFELD.KERMIT] C-Kermit>set host porky #connect to porky A network connection to porky.bestcomputer.com:23 might still be active. OK to close? in ?No keywords match - in OK to close? 5 ?No keywords match - 5 OK to close? Password:?No keywords match - "Password:" OK to close? #login Please respond Yes or No OK to close? out ?No keywords match - out OK to close? \13 ?No keywords match - \13 OK to close? in ?No keywords match - in OK to close? 5 ?No keywords match - 5 OK to close? Login: ?No keywords match - Login: OK to close? Please respond Yes or No OK to close? out ?No keywords match - out OK to close? aagaard\13 ?No keywords match - aagaard\13 OK to close? in ?No keywords match - in OK to close? 5 ?No keywords match - 5 OK to close? Password: ?No keywords match - Password: OK to close? Please respond Yes or No OK to close? out ?No keywords match - out OK to close? winter99\13 ?No keywords match - asfsadfds\13 OK to close? ; Please respond Yes or No OK to close? in ?No keywords match - in OK to close? 5 ?No keywords match - 5 OK to close? [aagaard@porky ?No keywords match - [aagaard@porky OK to close? aagaard]$ ?No keywords match - aagaard]$ OK to close? out ?No keywords match - out OK to close? cd ?No keywords match - cd OK to close? test\13?No keywords match - "test\13" OK to close? #change to working dir Please respond Yes or No OK to close? in ?No keywords match - in OK to close? 3 ?No keywords match - 3 OK to close? [aagaard@porky ?No keywords match - [aagaard@porky OK to close? test]$ ?No keywords match - test]$ OK to close? #out rm nopstoporky\13 #delete old pgp output Please respond Yes or No OK to close? out ?No keywords match - out OK to close? rm ?No keywords match - rm OK to close? *\13 ?No keywords match - *\13 OK to close? in ?No keywords match - in OK to close? 3 ?No keywords match - 3 OK to close? [aagaard@porky ?No keywords match - [aagaard@porky OK to close? test]$ ?No keywords match - test]$ OK to close? send ?No keywords match - send OK to close? /binary ?No keywords match - /binary OK to close? nopstoporky.pgp ?No keywords match - nopstoporky.pgp OK to close? in ?No keywords match - in OK to close? 30 ?No keywords match - 30 OK to close? [aagaard@porky ?No keywords match - [aagaard@porky OK to close? test]$ ?No keywords match - test]$ OK to close? out ?No keywords match - out OK to close? pgp ?No keywords match - pgp OK to close? -z ?No keywords match - -z OK to close? "faffafaafd" ?No keywords match - "asdfasf" OK to close? nopstoporky.pgp\13 ?No keywords match - nopstoporky.pgp\13 OK to close? ; Please respond Yes or No OK to close? in ?No keywords match - in OK to close? 30 ?No keywords match - 30 OK to close? [aagaard@porky ?No keywords match - [aagaard@porky OK to close? test]$?No keywords match - "test]$" OK to close? #wait 30 sec for pgp to finish Please respond Yes or No OK to close? set ?No keywords match - set OK to close? protocol ?No keywords match - protocol OK to close? kermit ?No keywords match - kermit OK to close? {kermit -O} ?No keywords match - {kermit -O} OK to close? get ?No keywords match - get OK to close? /text ?No keywords match - /text OK to close? nopstoporky ?No keywords match - nopstoporky OK to close? out ?No keywords match - out OK to close? exit\13 ?No keywords match - exit\13 RAID0:[DORENFELD.KERMIT] C-Kermit> Closing porky.bestcomputer.com:23...OK ========================================================= fdc@watsun.cc.columbia.edu (Frank da Cruz) wrote in <95p2s3$9v0$1@newsmaster.cc.columbia.edu>: >In article <904061545bdorengneiss@207.126.101.100>, >Bob wrote: > >: Using the lastest release on both VMS and Linux... >: >Please be specific when you say "latest". > >: ... the script below logs in to >: Linux from VMS, transfers a file, encrypts it, then gets a file back. >: All appears normal up to the last line, "out exit\13", at which point >: Kermit appears to try to read _every_ line of the command file >: (according to my screen display) instead of the "exit" >: command...eventually exit is recognized and kermit seems to quit >: normally. Up to now I had a session.log to read, but now that is >: empty at job completion. >: >I don't understand what you mean by "read _every_ line of the command >file". Isn't that what you want it to do? I don't see any conditional >stopping or branching in the command file, so Kermit normally would read >and execute every line of it. > >: Thanks for any help, Bob >: >: log session >: >I'll have to take your word that Kermit has already created a session, >but you didn't show that part. But what if the connection failed? > >: set host porky >: in 5 Password: >: out \13 >: in 5 Login: >: out aagaard\13 >: in 5 Password: >: out \13 >: in 5 [aagaard@porky aagaard]$ >: out cd test\13 >: in 3 [aagaard@porky test]$ >: out rm *\13 >: in 3 [aagaard@porky test]$ >: >Hint: Check the INPUT commands for success and failure. If an INPUT >fails, you don't want the script to continue as if it had succeeded, >right? Especially when "rm" commands are involved? > >: send /binary nopstoporky.pgp >: >You should test the SEND for success and failure too. What if the file >was not sent successfully? > >: in 30 [aagaard@porky test]$ >: out pgp -z "secret passphrase" nopstoporky.pgp\13 >: ; >: in 30 [aagaard@porky test]$ >: set protocol kermit {kermit -O} #start kermit server for "get" >: only get /text nopstoporky >: out exit\13 > >Try the hints above, and also read the tutorial here: > > http://www.columbia.edu/kermit/ckscripts.html#tut > >and maybe your script will stop misbehaving. > >- Frank > From news@columbia.edu Wed Feb 7 10:15:15 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id KAA14984 for ; Wed, 7 Feb 2001 10:15:14 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA23805 for ; Wed, 7 Feb 2001 10:15:14 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id KAA01897 for kermit.misc@watsun.cc.columbia.edu; Wed, 7 Feb 2001 10:11:24 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: More Kermit Date: 7 Feb 2001 15:11:23 GMT Organization: Columbia University Message-ID: <95roir$1r6$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <95r8va$394$1@nnrp1.deja.com>, Piyush Avichal wrote: : Does anyone know how I can get INPUT to detect a blank line. : Usually its used to detect a prompt etc. But what if there : is no prompt or text to detect? : : I have tried INPUT 5 {} and INPUT 5 \13 but it still doesn't : recognise it and times out. : You have to know exactly what the host is sending. A blank line could have many representations. Like it says in the manual, take a session log and see what character sequence the host sent, then give an INPUT command for that sequence. Or you can use C-Kermit 7.1 (now in Alpha test): http://www.columbia.edu/kermit/ck71.html to record the script for you: http://www.columbia.edu/kermit/ckermit3.html#x8.11 - Frank ated : by the line "a network connection might still be open": : Right, so give a "close" command to close it when you're done with it, and/or tell Kermit to "set exit warning off". As to why Kermit seems to be trying to execute your command file in at the "OK to close?" prompt, I would have to understand the entire procedure. How did you invoke Kermit and what commands did you give to it? Either you're doing something wrong, or there's a bug in 7.1 Alpha.02. What happens if you run the same procedure with 7.0? - Frank From news@columbia.edu Wed Feb 7 10:45:16 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id KAA28743 for ; Wed, 7 Feb 2001 10:45:16 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA27925 for ; Wed, 7 Feb 2001 10:45:14 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id KAA02179 for kermit.misc@watsun.cc.columbia.edu; Wed, 7 Feb 2001 10:18:23 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Rob S Subject: Re: Unrecognized com port Date: Wed, 07 Feb 2001 13:59:09 +0000 Message-ID: To: kermit.misc@columbia.edu On 6 Feb 2001 21:17:40 GMT, fdc@watsun.cc.columbia.edu (Frank da Cruz) wrote: -You would need to give more details. Let's take both topics offline; -we'll contact you directly. Please don't, as this is of a lot of interest to me (and no doubt some others who live with the vaguries of windows...) -Rob From news@columbia.edu Wed Feb 7 12:15:31 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id MAA12401 for ; Wed, 7 Feb 2001 12:15:24 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA11701 for ; Wed, 7 Feb 2001 12:15:13 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id LAA06199 for kermit.misc@watsun.cc.columbia.edu; Wed, 7 Feb 2001 11:47:37 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Unrecognized com port Date: 7 Feb 2001 11:45:43 -0500 Organization: Columbia University Message-ID: <95ru3n$gh3$1@watsol.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Rob S wrote: : On 6 Feb 2001 21:17:40 GMT, fdc@watsun.cc.columbia.edu (Frank da Cruz) wrote: : : -You would need to give more details. Let's take both topics offline; : -we'll contact you directly. : : Please don't, as this is of a lot of interest to me (and no doubt some : others who live with the vaguries of windows...) : I realize everybody would like to use MS-DOS Kermit in Windows 9x and above because it's free, whereas Kermit 95, which is what you should be using, costs some money. But the fact is that PCs are becoming increasingly hostile to MS-DOS Kermit, which is -- please remember -- a 16-bit DOS application that does not have access to 32-bit Windows drivers. These drivers are increasingly required for new-fangled devices that we find on PCs -- Winmodems, USB devices, Plug-n-Play devices, etc etc. I'm sure I will be chastised for saying this, but I must say it anyway: If you want to use MS-DOS Kermit in Windows 95, 98, ME, NT, or 2000 (or OS/2), do so at your own risk. It might work in some cases, but in many others it won't. Making it work when it does not is often impossible, and even when possible, usually time-consuming and requiring considerable expertise about PC/Windows internals. Even if you can get it to work, remember that: . It can only use real COM ports, or devices for which Windows provides 16- (not 32-) bit drivers that perfectly mimic real COM ports (8250 or 16550A UARTs). This, increasingly, leaves a lot of modern PC communication devices out in the cold. . It can not access long file names. . It has its own built-in TCP/IP network stack, which can not be used at the same time as the Windows TCP/IP network stack, at least not without extraordinary measures. We already have a product, Kermit 95: http://www.columbia.edu/kermit/k95.html that "just works" in all these OS's, with all their "Win" devices and other innovations. We have put 15 years of constant work into it (it's largely based on C-Kermit which goes back to 1985). We recommend it and support it. We do not recommend or support MS-DOS Kermit for Windows 95 and above. Of course we do recommend and support MS-DOS Kermit for real DOS -- meaning that you booted DOS, not Windows, and not that you are running Kermit in a "DOS window" of Windows -- but even then there must be the caveat that modern PCs often come with devices that MS-DOS Kermit does not know about: just because you boot DOS on your brand-new PC doesn't mean that MS-DOS Kermit can access your Winmodem. As to the money issue... The fact that Kermit 95 costs money explains the fact that we are still here and able to keep it current with the times. The fact the MS-DOS Kermit is free explains why you don't see new releases any more. Yes, Joe can answer the occasional question, but it's not his job. Kermit 95 on the other hand, *is* our job. We are actually paid to develop and support it. Thus when you use it (legally) we are, in a sense, your employees, obligated to help you when you have questions or problems, as any Kermit 95 user will tell you. Time is money. If the time you spend trying to make MS-DOS Kermit work for you in Windows 9x or above is worth more than the price of Kermit 95, you might want to reconsider. - Frank From news@columbia.edu Thu Feb 8 15:04:48 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id OAA28663 for ; Thu, 8 Feb 2001 14:15:17 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA15918 for ; Thu, 8 Feb 2001 14:15:16 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id OAA10659 for kermit.misc@watsun.cc.columbia.edu; Thu, 8 Feb 2001 14:00:33 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: kermit-support and kermit-orders email Date: 8 Feb 2001 19:00:26 GMT Organization: Columbia University Message-ID: <95uqca$ad0$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu Columbia University's central email aliasing mechanism for delivering mail to kermit-support@columbia.edu and kermit-orders@columbia.edu is broken as of about 8:00pm Wednesday New York time. The Postmaster is working on the problem. Mail to these addresses is not rejected and it doesn't bounce; It is delivered somewhere, but we don't yet know where. I hope we can find it. If we do, of course we will handle it. But in case we don't, you might want to resend any mail sent since 8pm last night EST (UTC+5) to these addresses, to: kermit@columbia.edu which still works. I'll post another message when the problem is resolved. - Frank From news@columbia.edu Thu Feb 8 16:21:58 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id QAA08833 for ; Thu, 8 Feb 2001 16:21:57 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA05588 for ; Thu, 8 Feb 2001 15:45:16 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id PAA14882 for kermit.misc@watsun.cc.columbia.edu; Thu, 8 Feb 2001 15:45:46 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Back to normal Date: 8 Feb 2001 20:45:42 GMT Organization: Columbia University Message-ID: <95v0hm$egv$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu Mail is working normally again and as far as I can tell, all the lost messages have been found. However, if you sent mail to the kermit-support or kermit-orders address in the last 20 hours or so (8pm Wednesday to 4pm Thursday, Eastern USA time), and you don't get a reply today (Thursday), please contact us again. - Frank From news@columbia.edu Fri Feb 9 10:45:20 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id KAA26975 for ; Fri, 9 Feb 2001 10:45:19 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA14598 for ; Fri, 9 Feb 2001 10:45:18 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id KAA20316 for kermit.misc@watsun.cc.columbia.edu; Fri, 9 Feb 2001 10:32:58 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: creider@julian.uwo.ca (c.a. creider) Subject: Re: Unrecognized com port Date: 9 Feb 2001 15:23:35 GMT Organization: University of Western Ontario, London, Ont. Canada Message-ID: <96121n$6u6$1@panther.uwo.ca> To: kermit.misc@columbia.edu In article <95ru3n$gh3$1@watsol.cc.columbia.edu>, Frank da Cruz wrote: >I realize everybody would like to use MS-DOS Kermit in Windows 9x and above >because it's free, whereas Kermit 95, which is what you should be using, >costs some money. There is another problem, at least for me: Kermit 95 will not display a full-screen DOS emulation type window and although it gives a number of font choices (presumably depending on what fonts are installed), nothing is as easy on the eyes as the standard DOS window (which is not unlike a terminal window or what one sees with SCO Unix, Linux, etc.). Is there any chance of capturing the DOS-emulation window which all versions of Windows still have as far as I know and making it available for Kermit 95 users? (I can imagine that this would not be easy to do as it would mean programming a separate menu interface (or giving up on menus -- which would be fine with me) and probably there would be other complications, but this is the real reason I still use MS-DOS Kermit (on those machines on which it will run -- on some I have the "unrecognised com port" problem). Many thanks, Chet Creider From news@columbia.edu Fri Feb 9 11:15:19 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id LAA12704 for ; Fri, 9 Feb 2001 11:15:19 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA18712 for ; Fri, 9 Feb 2001 11:15:18 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id KAA21314 for kermit.misc@watsun.cc.columbia.edu; Fri, 9 Feb 2001 10:59:58 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Unrecognized com port Date: 9 Feb 2001 15:59:10 GMT Organization: Columbia University Message-ID: <96144e$kpv$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <96121n$6u6$1@panther.uwo.ca>, c.a. creider wrote: : In article <95ru3n$gh3$1@watsol.cc.columbia.edu>, : Frank da Cruz wrote: : >I realize everybody would like to use MS-DOS Kermit in Windows 9x and : >above because it's free, whereas Kermit 95, which is what you should be : >using, costs some money. : : There is another problem, at least for me: Kermit 95 will not display a : full-screen DOS emulation type window and although it gives a number of : font choices (presumably depending on what fonts are installed), nothing : is as easy on the eyes as the standard DOS window (which is not unlike a : terminal window or what one sees with SCO Unix, Linux, etc.). Is there : any chance of capturing the DOS-emulation window which all versions of : Windows still have as far as I know and making it available for Kermit 95 : users? (I can imagine that this would not be easy to do as it would mean : programming a separate menu interface (or giving up on menus -- which : would be fine with me) and probably there would be other complications, : but this is the real reason I still use MS-DOS Kermit (on those machines : on which it will run -- on some I have the "unrecognised com port" : problem). : Kermit 95 is a fully native 32-bit Windows Console-mode program. The choice of fonts that you see in the Toolbar are not Kermit's; they are Windows'. Windows does not allow Console programs to have access to the Toolbar. The answer to this and all other common complaints about Kermit 95 is to convert it from Console to GUI. Then you'll be able to choose any font you want. As most readers know, we have been working on this for years and years and years and at the moment it is our second highest priority (the first being support for SSH and SSH2). Personally I have no problems at all with K95's appearance, and I'm pretty fussy. I live in K95 all day. Here's my setup: . PC with Windows 9x. . A 21" monitor (yes it really is worth it!) . An Avant keyboard (just like the IBM keyboard but mappable, so you can have Ctrl and Esc where you want). . Several K95 windows to the Unix and other hosts where I do all my work; as many as 10 or 20 windows when I'm doing a C-Kermit "build-all". . A Netscape window. I use Windows 9x instead of NT or 2000 so I can suffer on a daily basis with the Windows 9x limitations and bugs, just like most of you (most of the font-related complaints about K95 melt away when you use Windows NT or 2000, which offer you a much wider range of choice in the Console window). My primary K95 window is 49x80, using the TrueType 12x22 font, white on blue, with white-on-cyan status line. It's very readable and easy on the eyes, and just fits vertically on the large screen. Whenever a URL shows up in a K95 window that I want to look at, I just Ctrl-Click on it and it pops up in the Netscape window. As to why the GUI conversion is taking so long... Unlike other Windows applications, Kermit 95 is (a) largely based on a portable code base, which is also used in UNIX, VMS, and other operating system families; (b) K95 itself is portable across all 32-bit Windows versions (except CE), including those that run (or ran) or non-Intel platforms; and (c) K95 itself is also portable to IBM OS/2. Windows is extremely hostile to portable code. - Frank From news@columbia.edu Fri Feb 9 13:45:23 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id NAA10772 for ; Fri, 9 Feb 2001 13:45:20 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA09639 for ; Fri, 9 Feb 2001 13:45:19 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id NAA28401 for kermit.misc@watsun.cc.columbia.edu; Fri, 9 Feb 2001 13:34:22 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jrd@cc.usu.edu (Joe Doupnik) Subject: Re: Unrecognized com port Message-ID: Date: 9 Feb 01 11:03:41 MDT Organization: Utah State University To: kermit.misc@columbia.edu In article <96121n$6u6$1@panther.uwo.ca>, creider@julian.uwo.ca (c.a. creider) writes: > In article <95ru3n$gh3$1@watsol.cc.columbia.edu>, > Frank da Cruz wrote: > >>I realize everybody would like to use MS-DOS Kermit in Windows 9x and above >>because it's free, whereas Kermit 95, which is what you should be using, >>costs some money. > > There is another problem, at least for me: Kermit 95 will not display > a full-screen DOS emulation type window and although it gives a number Have you tried pressing ALT-Enter to make the "DOS box" full screen? I do that when projecting K95 material on a screen for classes. The way Win98 puts up the K95 window is pretty awkward here too (font too small, etc), and I did not like the mucking about which Win2K did with the same. Joe D. From news@columbia.edu Fri Feb 9 16:45:21 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id QAA25811 for ; Fri, 9 Feb 2001 16:45:20 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA05229 for ; Fri, 9 Feb 2001 16:45:19 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id QAA05770 for kermit.misc@watsun.cc.columbia.edu; Fri, 9 Feb 2001 16:19:48 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Doug Faunt N6TQS +1-510-655-8604 Subject: Now: K95 and Opera, Was Re: Unrecognized com port Date: 09 Feb 2001 16:17:46 -0500 Organization: at home, in Oakland, California Message-ID: To: kermit.misc@columbia.edu fdc@watsun.cc.columbia.edu (Frank da Cruz) writes: > Whenever a URL shows up > in a K95 window that I want to look at, I just Ctrl-Click on it and it pops > up in the Netscape window. > This is a good place to ask about something that happens to me when I do the CTRL-CLICK. I'm using Opera 5.01 and K95 1.1.20 under W98SE. When I do the click, I not only get a window for the URL, I also get another two, one for http:///e and another for http:///nowin. Any idea where the problem is? 73, doug From news@columbia.edu Fri Feb 9 17:15:21 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id RAA06487 for ; Fri, 9 Feb 2001 17:15:21 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id RAA09807 for ; Fri, 9 Feb 2001 17:15:20 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id RAA07888 for kermit.misc@watsun.cc.columbia.edu; Fri, 9 Feb 2001 17:04:32 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jaltman@columbia.edu (Jeffrey Altman) Subject: Re: Now: K95 and Opera, Was Re: Unrecognized com port Date: 9 Feb 2001 22:04:24 GMT Organization: Columbia University Message-ID: <961ph8$7mc$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Doug Faunt N6TQS +1-510-655-8604 wrote: : fdc@watsun.cc.columbia.edu (Frank da Cruz) writes: : : > Whenever a URL shows up : > in a K95 window that I want to look at, I just Ctrl-Click on it and it pops : > up in the Netscape window. : > : : This is a good place to ask about something that happens to me when I : do the CTRL-CLICK. I'm using Opera 5.01 and K95 1.1.20 under W98SE. : When I do the click, I not only get a window for the URL, I also get : another two, one for http:///e and another for http:///nowin. : : Any idea where the problem is? : : 73, doug : : When you start K95.EXE what does SHOW BROWSER report? If it is set to browser: (none) then it is something being produced by the registry. If it is something else then please post the value. Perhaps there will be a clue. It sounds like there are parameters /e /nowin being passed to Opera and the browser is treating them as URLs. Jeffrey Altman * Sr.Software Designer C-Kermit 7.1 Alpha available The Kermit Project @ Columbia University includes Secure Telnet and FTP http://www.kermit-project.org/ using Kerberos, SRP, and kermit-support@kermit-project.org OpenSSL. SSH soon to follow. From news@columbia.edu Fri Feb 9 18:15:21 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id SAA28183 for ; Fri, 9 Feb 2001 18:15:20 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id SAA18081 for ; Fri, 9 Feb 2001 18:15:20 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id SAA10707 for kermit.misc@watsun.cc.columbia.edu; Fri, 9 Feb 2001 18:11:02 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Doug Faunt N6TQS +1-510-655-8604 Subject: Re: Now: K95 and Opera, Was Re: Unrecognized com port Date: 09 Feb 2001 18:08:55 -0500 Organization: at home, in Oakland, California Message-ID: To: kermit.misc@columbia.edu jaltman@watsun.cc.columbia.edu (Jeffrey Altman) writes: > In article , > Doug Faunt N6TQS +1-510-655-8604 wrote: > : fdc@watsun.cc.columbia.edu (Frank da Cruz) writes: > : > : > Whenever a URL shows up > : > in a K95 window that I want to look at, I just Ctrl-Click on it and it pops > : > up in the Netscape window. > : > > : > : This is a good place to ask about something that happens to me when I > : do the CTRL-CLICK. I'm using Opera 5.01 and K95 1.1.20 under W98SE. > : When I do the click, I not only get a window for the URL, I also get > : another two, one for http:///e and another for http:///nowin. > : > : Any idea where the problem is? > : > : 73, doug > : > : > > > When you start K95.EXE what does SHOW BROWSER report? > > If it is set to > > browser: (none) > > then it is something being produced by the registry. If it is something > else then please post the value. Perhaps there will be a clue. It > sounds like there are parameters > > /e /nowin > > being passed to Opera and the browser is treating them as URLs. > The /nowin and /e are in there with the browser definition. How all that was set up, I must say I don't know. How do I change it? 73, doug From news@columbia.edu Sat Feb 10 00:15:21 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id AAA00824 for ; Sat, 10 Feb 2001 00:15:21 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id AAA10451 for ; Sat, 10 Feb 2001 00:15:20 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id AAA24707 for kermit.misc@watsun.cc.columbia.edu; Sat, 10 Feb 2001 00:11:21 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jaltman@columbia.edu (Jeffrey Altman) Subject: Re: Now: K95 and Opera, Was Re: Unrecognized com port Date: 10 Feb 2001 05:11:20 GMT Organization: Columbia University Message-ID: <962iho$o41$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Doug Faunt N6TQS +1-510-655-8604 wrote: : : The /nowin and /e are in there with the browser definition. : : How all that was set up, I must say I don't know. How do I change it? The value of the browser comes from the registry setting HKEY_CLASSES_ROOT\http\shell\open\command Add the following command to your K95.INI file: SET BROWSER and this will cause K95 to not use the imported value and instead allow Windows to execute the URL via the Shell Execute API. Jeffrey Altman * Sr.Software Designer C-Kermit 7.1 Alpha available The Kermit Project @ Columbia University includes Secure Telnet and FTP http://www.kermit-project.org/ using Kerberos, SRP, and kermit-support@kermit-project.org OpenSSL. SSH soon to follow. From news@columbia.edu Sun Feb 11 07:45:24 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id HAA27006 for ; Sun, 11 Feb 2001 07:45:23 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id HAA22402 for ; Sun, 11 Feb 2001 07:45:23 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id HAA05629 for kermit.misc@watsun.cc.columbia.edu; Sun, 11 Feb 2001 07:42:30 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "dls2" Subject: Re: Unrecognized com port Message-ID: <9Lvh6.251591$w35.42616308@news1.rdc1.nj.home.com> Date: Sun, 11 Feb 2001 12:40:37 GMT Organization: Excite@Home - The Leader in Broadband http://home.com/faster To: kermit.misc@columbia.edu "Joe Doupnik" wrote: > creider@julian.uwo.ca (c.a. creider) writes: > > Frank da Cruz wrote: > >> I realize everybody would like to use MS-DOS Kermit > >> in Windows 9x and above because it's free, whereas > >> Kermit 95, which is what you should be using, costs > >> some money. > > > > There is another problem, at least for me: Kermit 95 > > will not display a full-screen DOS emulation type window > > and although it gives a number > > Have you tried pressing ALT-Enter to make the "DOS box" > full screen? I do that when projecting K95 material on a > screen for classes. The way Win98 puts up the K95 window > is pretty awkward here too (font too small, etc), and I did not > like the mucking about which Win2K did with the same. Unfortunately, this does not always work. Under certain circumstances, which are the fault of Microsoft and, or, the author(s) of video card drivers, a DOS box will not resize to full-screen, but instead minimize, or, perhaps, shift window positioning. The only means for readily remedying the situation is to change resolution, first. -- Derrick Shearer From news@columbia.edu Sun Feb 11 12:15:24 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id MAA24443 for ; Sun, 11 Feb 2001 12:15:24 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA08574 for ; Sun, 11 Feb 2001 12:15:23 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id MAA15416 for kermit.misc@watsun.cc.columbia.edu; Sun, 11 Feb 2001 12:14:48 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: David Stow Subject: Kermit for uploads/downloads in Pine? Date: 11 Feb 2001 17:04:29 GMT Organization: Vancouver CommunityNet Message-ID: <966gmt$ck$1@sylvester.vcn.bc.ca> To: kermit.misc@columbia.edu I'd like to set the upload-command and download-command variables in my .pinerc file so that Pine's Read and Export commands use Kermit to transfer files from or to my home computer. Is it enough to include a variable like: upload-command=ckermit -i -r or do I also need to add something like: upload-command-prefix=PCGET I'm using MSKermit 3.15 on my home computer and my account is on a SunOS 5.6 system with CKermit 6.0.192 and Pine 4.21. Thanks, David Stow From news@columbia.edu Sun Feb 11 13:45:24 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id NAA09619 for ; Sun, 11 Feb 2001 13:45:24 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA20753 for ; Sun, 11 Feb 2001 13:45:24 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id NAA19095 for kermit.misc@watsun.cc.columbia.edu; Sun, 11 Feb 2001 13:34:17 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Kermit for uploads/downloads in Pine? Date: 11 Feb 2001 18:34:16 GMT Organization: Columbia University Message-ID: <966lv8$ikk$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <966gmt$ck$1@sylvester.vcn.bc.ca>, David Stow wrote: : I'd like to set the upload-command and download-command variables in my : .pinerc file so that Pine's Read and Export commands use Kermit to : transfer files from or to my home computer. Is it enough to include a : variable like: : : upload-command=ckermit -i -r : : or do I also need to add something like: : : upload-command-prefix=PCGET : : I'm using MSKermit 3.15 on my home computer and my account is on a SunOS : 5.6 system with CKermit 6.0.192 and Pine 4.21. : The Kermit FAQ has a section on Pine, but it is probably dated, since it doesn't say anything about upload and download commands, and was probably written before Pine had them. Pine users are encouraged to supply up-to- date information (including relevant Pine version numbers). (begin quote) 18. How Do I Use Kermit with Pine? Here's a tip sheet we use at Columbia University - thanks to Joe Brennan. SCREEN FORMATTING Make sure that your UNIX terminal type agrees with Kermit's terminal emulation. For example, if Kermit is emulating a VT320, tell UNIX: export TERM=vt320 or: setenv TERM vt320 If there is a complaint about "terminal type unknown" when starting Pine, then try a lesser VT terminal model, such as VT220, VT102, VT100. PRINTING Pine's print command, letter Y, is known to work with MS-DOS Kermit and Mac Kermit. With MS-DOS Kermit, if the printer is directly attached, it should make the printer print the selected email message. With Mac Kermit, it should send the selected email message into the printer buffer, which can be seen in the Printer window, and which can be printed using the print command in the pulldown File menu. The command ''pcprint'' on UNIX (*), which prints any text file, does the same thing as Pine's Print command. It may be easier to debug problems by running a command like ''pcprint .profile'' at the UNIX shell ($ prompt). (*) pcprint is a UNIX shell script: ---(cut here)--- echo -n '[5i' if [ $# -eq 0 ]; then cat else cat $* fi echo -n '[4i' ---(cut here)--- (Replace by a real Escape (ASCII 27) character. DOWNLOADING FROM PINE TO THE PC Use Pine's command letter E, Export, to copy a message into a file. This file will be created in your home directory on UNIX. Then it can be downloaded to your PC or Mac using Kermit. After you finish, remember to remove the now-unneeded file on UNIX, using the ''rm'' command at the $ prompt. If you View a MIME-encoded message, Pine will ask whether to save it to a file with a name of your choice. Pine will decode the message and create the file in your home directory on UNIX. It can then be downloaded to your PC using kermit. MIME-encoded files are often binaries rather than plain text, so you should set kermit to transfer a binary file. UPLOADING FROM THE PC TO PINE Send email in plain text if possible. Save the document as plain ASCII text with the PC application that created it. Use Kermit to upload it to UNIX. Run Pine, choose letter C, Compose, and address your message as usual. Move the cursor to the Message Text area and choose control-R, Read File, and type the name the file (the copy on UNIX) to insert. You will see the file on screen, as if you had typed it. If it looks strange, it's not plain text, so start over. After you finish, remember to remove the now-unneeded file on UNIX, using the ''rm'' command at the $ prompt. If you want to send a PC document, use Kermit to upload it, setting Kermit to transfer a binary file. Run Pine, choose letter C, Compose, and at the Attchmnt: header, type the name of the file (the copy on UNIX). Pine will encode it using MIME, and attach it to the end of any text you choose to type in the message. *Note*: with MIME or any form of encoding, you should determine whether the recipient of your message will be able to decode it. Plain text email (previous paragraph) can be read on any email system. (End quote) - Frank From news@columbia.edu Sun Feb 11 19:45:25 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id TAA03774 for ; Sun, 11 Feb 2001 19:45:25 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id TAA02137 for ; Sun, 11 Feb 2001 19:45:24 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id TAA03810 for kermit.misc@watsun.cc.columbia.edu; Sun, 11 Feb 2001 19:37:57 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: creider@julian.uwo.ca (c.a. creider) Subject: Re: Unrecognized com port Date: 12 Feb 2001 00:33:48 GMT Organization: University of Western Ontario, London, Ont. Canada Message-ID: <967b1c$6cl$1@panther.uwo.ca> To: kermit.misc@columbia.edu In article <96144e$kpv$1@newsmaster.cc.columbia.edu>, Frank da Cruz wrote: >In article <96121n$6u6$1@panther.uwo.ca>, >c.a. creider wrote: >: >: There is another problem, at least for me: Kermit 95 will not display a >: full-screen DOS emulation type window and although it gives a number of ...[snipped] >Kermit 95 is a fully native 32-bit Windows Console-mode program. The choice >of fonts that you see in the Toolbar are not Kermit's; they are Windows'. >Windows does not allow Console programs to have access to the Toolbar. Sorry for the delay in my reply. This is the first we've had our newsfeed this weekend. Understood about the fonts. >The answer to this and all other common complaints about Kermit 95 is to >convert it from Console to GUI. Then you'll be able to choose any font you >want. As most readers know, we have been working on this for years and >years and years and at the moment it is our second highest priority (the >first being support for SSH and SSH2). I hadn't known about this and now will look forward to it. >Personally I have no problems at all with K95's appearance, and I'm pretty >fussy. I live in K95 all day. Here's my setup: ...[snipped] >My primary K95 window is 49x80, using the TrueType 12x22 font, white on >blue, with white-on-cyan status line. It's very readable and easy on the >eyes, and just fits vertically on the large screen. Whenever a URL shows up Thanks for this info. It may be of interest to those with Com problems that a couple of days ago I installed Kermit 3.16 Beta. Despite the fact that there is no mention of it coping any better than 3.14 or 3.15 with Win 9x modem caused Com problems, it made the difference, and I am able to run it from a DOS box without, so far, any problems. Curious. Thanks for you quick reply, Frank. If there was a Nobel price for dedication to a user community, you would win it hands down! Chet Creider From news@columbia.edu Sun Feb 11 19:45:25 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id TAA03770 for ; Sun, 11 Feb 2001 19:45:24 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id TAA02134 for ; Sun, 11 Feb 2001 19:45:24 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id TAA03347 for kermit.misc@watsun.cc.columbia.edu; Sun, 11 Feb 2001 19:27:57 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: creider@julian.uwo.ca (c.a. creider) Subject: Re: Unrecognized com port Date: 12 Feb 2001 00:25:01 GMT Organization: University of Western Ontario, London, Ont. Canada Message-ID: <967agt$4hq$1@panther.uwo.ca> To: kermit.misc@columbia.edu In article , Joe Doupnik wrote: > Have you tried pressing ALT-Enter to make the "DOS box" full screen? >I do that when projecting K95 material on a screen for classes. The way >Win98 puts up the K95 window is pretty awkward here too (font too small, etc), >and I did not like the mucking about which Win2K did with the same. Sorry for the delay replying. Newsfeed lost over much of weekend. I don't understand this: K95 doesn't run in a "DOS box". Moreover, I tried Alt+Enter and nothing happened. This was on Win 95; maybe it is different with Win 98. Chet Creider From news@columbia.edu Sun Feb 11 21:45:25 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id VAA17803 for ; Sun, 11 Feb 2001 21:45:25 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id VAA06053 for ; Sun, 11 Feb 2001 21:45:24 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id VAA08078 for kermit.misc@watsun.cc.columbia.edu; Sun, 11 Feb 2001 21:33:47 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jrd@cc.usu.edu (Joe Doupnik) Subject: Re: Unrecognized com port Message-ID: Date: 11 Feb 01 19:19:22 MDT Organization: Utah State University To: kermit.misc@columbia.edu In article <967agt$4hq$1@panther.uwo.ca>, creider@julian.uwo.ca (c.a. creider) writes: > In article , Joe Doupnik wrote: >> Have you tried pressing ALT-Enter to make the "DOS box" full screen? >>I do that when projecting K95 material on a screen for classes. The way >>Win98 puts up the K95 window is pretty awkward here too (font too small, etc), >>and I did not like the mucking about which Win2K did with the same. > > Sorry for the delay replying. Newsfeed lost over much of weekend. > I don't understand this: K95 doesn't run in a "DOS box". Moreover, I > tried Alt+Enter and nothing happened. This was on Win 95; maybe it is > different with Win 98. > > Chet Creider ----------- Been in Windows for eons. That is a "DOS box" which is handling the console mode interface use by K95, look at its properties (click on the upper left corner MS-DOS icon). If this still fails then there is something askew with your Windows configuration and it could be tended to. Joe D. From news@columbia.edu Sun Feb 11 23:15:25 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id XAA02926 for ; Sun, 11 Feb 2001 23:15:24 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id XAA09269 for ; Sun, 11 Feb 2001 23:15:24 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id WAA11132 for kermit.misc@watsun.cc.columbia.edu; Sun, 11 Feb 2001 22:58:07 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jaltman@columbia.edu (Jeffrey Altman) Subject: Re: Unrecognized com port Date: 12 Feb 2001 03:58:04 GMT Organization: Columbia University Message-ID: <967n0c$arp$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu : Unfortunately, this does not always work. Under certain : circumstances, which are the fault of Microsoft and, or, : the author(s) of video card drivers, a DOS box will not : resize to full-screen, but instead minimize, or, perhaps, : shift window positioning. The only means for readily : remedying the situation is to change resolution, first. : : : -- Derrick Shearer : This seems to indicate that you are using a Window size which is not equal to 80 x 25 80 x 43 80 x 50 since those are the only combinations that can be supported in a full screen session. Jeffrey Altman * Sr.Software Designer C-Kermit 7.1 Alpha available The Kermit Project @ Columbia University includes Secure Telnet and FTP http://www.kermit-project.org/ using Kerberos, SRP, and kermit-support@kermit-project.org OpenSSL. SSH soon to follow. From news@columbia.edu Sun Feb 11 23:45:25 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id XAA22083 for ; Sun, 11 Feb 2001 23:45:25 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id XAA10130 for ; Sun, 11 Feb 2001 23:45:24 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id XAA12200 for kermit.misc@watsun.cc.columbia.edu; Sun, 11 Feb 2001 23:20:50 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Richard R. Priest" Subject: Is Kermit a good option for transferring files from a Win98 machine to an old DOS 3.x machine? Date: Sun, 11 Feb 2001 22:16:40 -0600 Organization: MindSpring Enterprises Message-ID: To: kermit.misc@columbia.edu I am looking for a way to transfer files between a modern Win98 machine (in DOS mode) and an old 1988-vintage PC running DOS 3.x, either by serial or parallel connection. Is Kermit useful for this? From news@columbia.edu Mon Feb 12 01:45:27 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id BAA03415 for ; Mon, 12 Feb 2001 01:45:27 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id BAA13883 for ; Mon, 12 Feb 2001 01:45:26 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id BAA16931 for kermit.misc@watsun.cc.columbia.edu; Mon, 12 Feb 2001 01:30:43 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Christopher Mosley Subject: Re: Is Kermit a good option for transferring files from a Win98 machine to an old DOS 3.x machine? Message-ID: Date: Mon, 12 Feb 2001 06:28:47 GMT To: kermit.misc@columbia.edu Richard R. Priest wrote: > I am looking for a way to transfer files between a modern Win98 > machine (in DOS mode) and an old 1988-vintage PC running DOS 3.x, > either by serial or parallel connection. > Is Kermit useful for this? You betcha! From news@columbia.edu Mon Feb 12 11:43:10 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id LAA05990 for ; Mon, 12 Feb 2001 11:43:08 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA12888 for ; Mon, 12 Feb 2001 11:15:26 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id KAA29478 for kermit.misc@watsun.cc.columbia.edu; Mon, 12 Feb 2001 10:59:21 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "apone@apone.com" Subject: Re: Is Kermit a good option for transferring files from a Win98 machine to an old DOS 3.x machine? Organization: apone@apone.com Message-ID: Date: Mon, 12 Feb 2001 15:57:11 GMT To: kermit.misc@columbia.edu Can I use serial or parallel direct cable connections without modems? On Mon, 12 Feb 2001 06:28:47 GMT, Christopher Mosley wrote: >Richard R. Priest wrote: >> I am looking for a way to transfer files between a modern Win98 >> machine (in DOS mode) and an old 1988-vintage PC running DOS 3.x, >> either by serial or parallel connection. > >> Is Kermit useful for this? > >You betcha! From news@columbia.edu Mon Feb 12 11:43:08 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id LAA05985 for ; Mon, 12 Feb 2001 11:43:08 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA12885 for ; Mon, 12 Feb 2001 11:15:25 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id LAA29721 for kermit.misc@watsun.cc.columbia.edu; Mon, 12 Feb 2001 11:05:17 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Is Kermit a good option for transferring files from a Win98 machine to an old DOS 3.x machine? Date: 12 Feb 2001 16:05:10 GMT Organization: Columbia University Message-ID: <9691jm$t0m$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , apone@apone.com wrote: : Can I use serial or parallel direct cable connections without modems? : It depends on what kind of computer you have, what operating system it's running, what Kermit programs and version(s) you have, and how far apart the two computers are. If you want to give the specifics, we can make recommendations. - Frank From news@columbia.edu Wed Feb 14 12:15:36 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id MAA18257 for ; Wed, 14 Feb 2001 12:15:34 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA00327 for ; Wed, 14 Feb 2001 12:15:31 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id MAA19495 for kermit.misc@watsun.cc.columbia.edu; Wed, 14 Feb 2001 12:01:32 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "John" Subject: Non-interactive mode Message-ID: Organization: WebUseNet Corp http://www.usenetserver.com - Home of the fastest NNTP servers on the Net. Date: Wed, 14 Feb 2001 12:00:31 -0500 To: kermit.misc@columbia.edu I'm trying to create a small program that will capture a spooler and then automatically send to the user's PC. Using HP-Unix and HOST Access as the PC client. How can I bypass the interactive screens? Or maybe something like a batch process? Sorry if this isn't a lot of info but I'm not sure what parameters are needed for assistance. From news@columbia.edu Wed Feb 14 12:15:36 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id MAA11704 for ; Wed, 14 Feb 2001 12:15:35 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA00332 for ; Wed, 14 Feb 2001 12:15:33 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id MAA20015 for kermit.misc@watsun.cc.columbia.edu; Wed, 14 Feb 2001 12:13:26 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Non-interactive mode Date: 14 Feb 2001 17:13:26 GMT Organization: Columbia University Message-ID: <96eebm$jhc$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , John wrote: : I'm trying to create a small program that will capture a spooler and then : automatically send to the user's PC. Using HP-Unix and HOST Access as the : PC client. : : How can I bypass the interactive screens? Or maybe something like a batch : process? : : Sorry if this isn't a lot of info but I'm not sure what parameters are : needed for assistance. : If you are talking about automating something that you would do by hand in a terminal session, you can use Kermit's command language to script it. You'll need Kermit software for the computer where the script would run. It sounds like it would run on HP-UX, so you'll need C-Kermit: http://www.columbia.edu/kermit/ckermit.html and the manual, that explains how to write scripts: http://www.columbia.edu/kermit/ckmanual.html and you might also want to look at the C-Kermit examples in the Kermit Script Library: http://www.columbia.edu/kermit/scriptlib.html - Frank From news@columbia.edu Wed Feb 14 13:46:00 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id NAA26370 for ; Wed, 14 Feb 2001 13:45:34 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA12987 for ; Wed, 14 Feb 2001 13:45:32 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id NAA23698 for kermit.misc@watsun.cc.columbia.edu; Wed, 14 Feb 2001 13:29:32 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "John" Subject: Re: Non-interactive mode Message-ID: Organization: WebUseNet Corp http://www.usenetserver.com - Home of the fastest NNTP servers on the Net. Date: Wed, 14 Feb 2001 13:28:34 -0500 To: kermit.misc@columbia.edu Thanks... I was hoping I could do this on a command line. We're using C-Kermit (V6) for HP-UX. I was trying: C-Kermit> -B -a C:\TEXT\TEST -s file actually its: $ kermit -B -a C:\TEXT\TEST -s file but this still brings up a display screen of prompts for local file name and all the other options. "Frank da Cruz" wrote in message news:96eebm$jhc$1@newsmaster.cc.columbia.edu... In article , John wrote: : I'm trying to create a small program that will capture a spooler and then : automatically send to the user's PC. Using HP-Unix and HOST Access as the : PC client. : : How can I bypass the interactive screens? Or maybe something like a batch : process? : : Sorry if this isn't a lot of info but I'm not sure what parameters are : needed for assistance. : If you are talking about automating something that you would do by hand in a terminal session, you can use Kermit's command language to script it. You'll need Kermit software for the computer where the script would run. It sounds like it would run on HP-UX, so you'll need C-Kermit: http://www.columbia.edu/kermit/ckermit.html and the manual, that explains how to write scripts: http://www.columbia.edu/kermit/ckmanual.html and you might also want to look at the C-Kermit examples in the Kermit Script Library: http://www.columbia.edu/kermit/scriptlib.html - Frank From news@columbia.edu Wed Feb 14 14:15:44 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id OAA20355 for ; Wed, 14 Feb 2001 14:15:43 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA17224 for ; Wed, 14 Feb 2001 14:15:31 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id OAA25529 for kermit.misc@watsun.cc.columbia.edu; Wed, 14 Feb 2001 14:07:57 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Non-interactive mode Date: 14 Feb 2001 19:07:51 GMT Organization: Columbia University Message-ID: <96el27$otm$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , John wrote: : Thanks... I was hoping I could do this on a command line. We're using : C-Kermit (V6) for HP-UX. : : I was trying: : : C-Kermit> -B -a C:\TEXT\TEST -s file : actually its: : $ kermit -B -a C:\TEXT\TEST -s file : : but this still brings up a display screen of prompts for local file name and : all the other options. : I don't see how it could -- this tells Kermit to send a file. Anyway, whatever you can do by hand, you can have Kermit do with a script, and you can invoke the script from the command line. - Frank From news@columbia.edu Wed Feb 14 14:45:33 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id OAA05809 for ; Wed, 14 Feb 2001 14:45:32 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA21485 for ; Wed, 14 Feb 2001 14:45:32 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id OAA26267 for kermit.misc@watsun.cc.columbia.edu; Wed, 14 Feb 2001 14:27:41 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: guenhwyvar_2000@hotmail.com (Guenhwyvar) Subject: automate task Message-ID: <3a8adafe.20328603@nntp.uunet.ca> Date: Wed, 14 Feb 2001 19:25:58 GMT Organization: UUNET Canada News Reader Service To: kermit.misc@columbia.edu I have purchase kermit 95. any method to automate the task in a batch file? ill try this k95 take scripts\hostmdm.ksc and nothing apears. I start K95 and at the K-95 promtp i enter the take command and all works. Do you have a solution to automate the task?? Sorry if my english is poor but im a french canadian native ;) Thanks Stephane Guenhwyvar guenhwyvar_2000@hotmail.com From news@columbia.edu Wed Feb 14 14:45:35 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id OAA12012 for ; Wed, 14 Feb 2001 14:45:33 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA21488 for ; Wed, 14 Feb 2001 14:45:32 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id OAA26684 for kermit.misc@watsun.cc.columbia.edu; Wed, 14 Feb 2001 14:34:22 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: automate task Date: 14 Feb 2001 19:34:21 GMT Organization: Columbia University Message-ID: <96emjt$q1q$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <3a8adafe.20328603@nntp.uunet.ca>, Guenhwyvar wrote: : I have purchase kermit 95. : any method to automate the task in a batch file? : ill try this : k95 take scripts\hostmdm.ksc : : and nothing apears. : K95's command-line syntax is different from that of MS-DOS Kermit. At the K-95> prompt, type "help options" for an explanation. : I start K95 and at the K-95 promtp i enter the take command and : all works. Do you have a solution to automate the task?? : k95 scripts\hostmdm.ksc (omit the word "take"). - Frank From news@columbia.edu Wed Feb 14 14:45:35 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id OAA01206 for ; Wed, 14 Feb 2001 14:45:33 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA21491 for ; Wed, 14 Feb 2001 14:45:32 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id OAA26837 for kermit.misc@watsun.cc.columbia.edu; Wed, 14 Feb 2001 14:39:07 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: guenhwyvar_2000@hotmail.com (Guenhwyvar) Subject: Re: automate task Message-ID: <3a8bddeb.21166161@nntp.uunet.ca> Date: Wed, 14 Feb 2001 19:35:51 GMT Organization: UUNET Canada News Reader Service To: kermit.misc@columbia.edu On 14 Feb 2001 19:34:21 GMT, fdc@watsun.cc.columbia.edu (Frank da Cruz) wrote: >In article <3a8adafe.20328603@nntp.uunet.ca>, >Guenhwyvar wrote: >: I have purchase kermit 95. >: any method to automate the task in a batch file? >: ill try this >: k95 take scripts\hostmdm.ksc >: >: and nothing apears. >: >K95's command-line syntax is different from that of MS-DOS Kermit. >At the K-95> prompt, type "help options" for an explanation. > >: I start K95 and at the K-95 promtp i enter the take command and >: all works. Do you have a solution to automate the task?? >: >k95 scripts\hostmdm.ksc > >(omit the word "take"). > >- Frank Thanks Guenhwyvar guenhwyvar_2000@hotmail.com From news@columbia.edu Wed Feb 14 15:45:37 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id PAA11415 for ; Wed, 14 Feb 2001 15:45:35 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA29878 for ; Wed, 14 Feb 2001 15:45:32 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id PAA29286 for kermit.misc@watsun.cc.columbia.edu; Wed, 14 Feb 2001 15:31:15 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "John" Subject: Re: Non-interactive mode Message-ID: Organization: WebUseNet Corp http://www.usenetserver.com - Home of the fastest NNTP servers on the Net. Date: Wed, 14 Feb 2001 15:30:12 -0500 To: kermit.misc@columbia.edu Thanks for taking the time to answer. Since I'm not familiar with this type of thing I'm going to our HP Rep. and see if she can help with something that would pass the spool number and one other variable. Again, thanks. "Frank da Cruz" wrote in message news:96el27$otm$1@newsmaster.cc.columbia.edu... In article , John wrote: : Thanks... I was hoping I could do this on a command line. We're using : C-Kermit (V6) for HP-UX. : : I was trying: : : C-Kermit> -B -a C:\TEXT\TEST -s file : actually its: : $ kermit -B -a C:\TEXT\TEST -s file : : but this still brings up a display screen of prompts for local file name and : all the other options. : I don't see how it could -- this tells Kermit to send a file. Anyway, whatever you can do by hand, you can have Kermit do with a script, and you can invoke the script from the command line. - Frank From news@columbia.edu Thu Feb 15 09:45:34 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id JAA28660 for ; Thu, 15 Feb 2001 09:45:34 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id JAA18809 for ; Thu, 15 Feb 2001 09:45:33 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id JAA14519 for kermit.misc@watsun.cc.columbia.edu; Thu, 15 Feb 2001 09:46:19 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: interactive/ automated telnet : Better way to do it? Date: 15 Feb 2001 14:46:18 GMT Organization: Columbia University Message-ID: <96gq3q$e5l$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <3A8BDF81.FCCEB0A1@iam.unibe.ch>, Ibrahim Khalil wrote: : Here is an example of executing a command in a remote machine. Is there a : faster (sleeps make it slower) and reliable (i.e. works all the time) way to : do it? Also, how can I grab telnet's stdin and stdout ? : : (sleep 1 : echo userid : sleep 1 : echo password : sleep 1 : echo ls -la : sleep 1) |telnet 130.92.66.22 : The most straightforward, easy, reliable, fast, and flexible way to do this sort of thing is with a scriptable telnet client such as C-Kermit: http://www.columbia.edu/kermit/ckermit.html Here is your script: #!/usr/local/bin/kermit + set host \%1 if fail exit 1 Can't reach \%1 input 20 login: if fail exit 1 Timeout waiting for login prompt lineout \%2 input 10 Password: if fail exit 1 Timeout waiting for password prompt lineout \%3 lineout ls -la The INPUT command waits until the desired prompt appears, times out and fails after the given number of seconds if it does not, or else returns immediately and successfully when it does, so no time is wasted. LINEOUT sends the given text with the line terminator appropriate to the connection. IF SUCCESS and IF FAIL can be used to test whether any command in the script succeeds or fails. Of course EXIT is not the only choice for handling failure; you can put any other command here you want, including "procedure calls", blocked groups of statements, etc. Put the script into a file (note: the first line must not be indented), give it execute permission, then just run it. In this example, we expect to receive the hostname-or-address as the first parameter, the username as the second, the password as the third (obviously not a great idea, but that's what you wanted). Of course you can also hardwire them into to the script, prompt for them at runtime, or whatever else you want. For a more fully elaborated example, see the autotelnet script in: http://www.columbia.edu/kermit/ckscripts.html With C-Kermit, you can script anything you could do by hand, as well as many things you could not do by hand, such as file transfer, arithmetic, character-set translation, and so on. - Frank From news@columbia.edu Thu Feb 15 10:15:35 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id KAA10744 for ; Thu, 15 Feb 2001 10:15:34 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA23257 for ; Thu, 15 Feb 2001 10:15:33 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id KAA15626 for kermit.misc@watsun.cc.columbia.edu; Thu, 15 Feb 2001 10:14:36 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: FTP client Date: 15 Feb 2001 15:14:35 GMT Organization: Columbia University Message-ID: <96gror$f87$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <96goqj$leu$1@news.hccnet.nl>, M. Hams wrote: : I'm looking for a commandline ftp-client wich i can use in a script. It must : have the ability to move files and dirs from and to a ftp-server. : Can someone help me? : Yes, here it is, exactly what you are asking for: http://www.columbia.edu/kermit/ftpclient.html It's your old friend C-Kermit, which in its forthcoming release, 7.1: http://www.columbia.edu/kermit/ck71.html now available for testing, has a built-in FTP client. You could already write Kermit scripts for other kinds of connections; now you can write them for FTP too. To make it easy for you, here's a tutorial: http://www.columbia.edu/kermit/ftpscript.html - Frank From news@columbia.edu Thu Feb 15 10:15:35 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id KAA10748 for ; Thu, 15 Feb 2001 10:15:34 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA23260 for ; Thu, 15 Feb 2001 10:15:34 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id JAA14972 for kermit.misc@watsun.cc.columbia.edu; Thu, 15 Feb 2001 09:59:16 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: How to Delete files based on date Date: 15 Feb 2001 14:59:16 GMT Organization: Columbia University Message-ID: <96gqs4$ejq$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <96gf2f$inb$1@boomer.cs.utexas.edu>, Logan Shaw wrote: : In article <3A8BB07A.B30F3D1D@eunet.no>, : Halvor Nyberg wrote: : >Is it possible to delete all files in a directory which is older than : >today. : : Do you believe that directories become write-protected when they : are one day old? That is what your question sounds like. :-) : : But, I think you mean to ask if there is a way to scan a directory, : find files which themselves are older than a day, and delete those : files. Here is how to do that: : : cd /directory/name : find . -type f -mtime +1 -exec rm {} \; : : This works recursively; it will scan not only files in that directory : but ones in subdirectories. : It might be somewhat easier to do this with C-Kermit: http://www.columbia.edu/kermit/ckermit.html Look in the C-Kermit Script Library: http://www.columbia.edu/kermit/ckscripts.html in the File Management Scripts section. It really boils down to one simple command: delete [options] /before:today * Options may include: /after: /except: /noask /not-after: /ask /heading /nodotfiles /not-before: /before: /larger-than: /noheading /simulate /dotfiles /list /nolist /smaller-than: The time-oriented options take regular dates and times as arguments as well as symbolic date-times such as TODAY, TOMORROW, YESTERDAY, -5DAYS, +3MONTHS, etc, and functions are also provided to do any desired kind of date arithmetic. For more info about this, see: http://www.columbia.edu/kermit/case17.html The file specification ("*" in the example) can be a C-Shell style pattern for maximum flexibility in file selection, which is further enhanced by options to include or exclude files based on other criteria. Later in this thread, the original poster said they did not want the operation applied recursively. C-Kermit 7.0 does not delete recursively. However, in case you DID want recursive deletion, C-Kermit 7.1, now in testing: http://www.columbia.edu/kermit/ck71.html adds this option to the DELETE command: /after: /except: /nodotfiles /recursive /type: /ask /heading /noheading /simulate /before: /larger-than: /nolist /smaller-than: /directories /list /not-after: /summary /dotfiles /noask /not-before: /tree If you want recursive deletion, include the /RECURSIVE option; if you don't, omit it. If you want to delete not only files but also directories, include /DIRECTORIES; if not, don't include it, etc. If you haven't looked at C-Kermit in a while, you might want to take another look. - Frank From news@columbia.edu Thu Feb 15 11:15:35 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id LAA08342 for ; Thu, 15 Feb 2001 11:15:34 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA02309 for ; Thu, 15 Feb 2001 11:15:33 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id KAA17246 for kermit.misc@watsun.cc.columbia.edu; Thu, 15 Feb 2001 10:52:38 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: PC to Unix via Modem Date: 15 Feb 2001 15:52:37 GMT Organization: Columbia University Message-ID: <96gu05$gqr$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <3a8be010$0$1513$6c095392@news.en.com>, Jerald H. Mathews wrote: : laurie wrote: : ................... snip ................................. : > I checked with the local computer superstore and they advised me that : > Procom and Crosstalk (the software we used previously) are no longer : > available. : : If you are running windowz on your PC, use Hyperterm with the emulation : mode set to VT100 or VT220. Make sure that you set the AIX tty port that : you modem is connected to the same emulation mode, enable login, and for : the same DTE speed as the modem. AIX tty ports have a problem detecting : the DTE to DCE speed. : Transferring files over serial connections requires cooperating partners on each end, executing the same file transfer protocol. Usually it's hard to find both ends from the same maker, so when things don't work as you hoped, you get finger-pointing instead of real help. You won't have this problem if you use Kermit software from Columbia University: http://www.columbia.edu/kermit/ The Kermit software for Windows 95/98/ME/NT/2000 is Kermit 95: http://www.columbia.edu/kermit/k95.html and for AIX, it's C-Kermit: http://www.columbia.edu/kermit/ckermit.html Kermit 95 emulates any kind of terminal you need on AIX including AIXTERM, IBM HFT, and IBM 3151, as well as all the more common VTxxx's, Wyse, ANSI, etc. - Frank From news@columbia.edu Thu Feb 15 14:45:35 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id OAA11449 for ; Thu, 15 Feb 2001 14:45:34 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA03200 for ; Thu, 15 Feb 2001 14:45:34 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id OAA27908 for kermit.misc@watsun.cc.columbia.edu; Thu, 15 Feb 2001 14:45:54 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Executing a list of Kermit commands Date: 15 Feb 2001 19:45:52 GMT Organization: Columbia University Message-ID: <96hblg$r82$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu Lots of people, particularly MS-DOS Kermit users, expect to be able to invoke C-Kermit like this: kermit command, command, command, ... But C-Kermit's command-line syntax is different from MS-DOS Kermit's. Obviously we can't change C-Kermit's command-line syntax because users depend on it. But we can supply a shim for conversion: ftp://kermit.columbia.edu/kermit/f/dokermit.c This is a short and totally portable C program. Compile it and install the binary somewhere in your PATH and then: dokermit command, command, command, ... will invoke C-Kermit as follows: kermit -C "command, command, command, ..., exit" and return C-Kermit's exit status. - Frank From news@columbia.edu Thu Feb 15 16:45:37 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id QAA02262 for ; Thu, 15 Feb 2001 16:45:36 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA20548 for ; Thu, 15 Feb 2001 16:45:35 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id QAA02158 for kermit.misc@watsun.cc.columbia.edu; Thu, 15 Feb 2001 16:19:19 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "John Hill" Subject: Connecting through Windows terminal server Message-ID: Date: Thu, 15 Feb 2001 16:15:49 -0500 Organization: RoadRunner Portland, Maine To: kermit.misc@columbia.edu We have a customer with a Windows NT machine local in their office running terminal server. At his remote locations he has 8 port serial ports that is configured as com2 thru com9. He wants to use com5 to connect to kermit on the NT machine. We have MS-DOS Kermit v3.15 running on a DOS based handheld which he connects to the serial port and Kermit 95 v1.1.17 running on the Windows NT machine. Is it as simple as setting up the kermit session on the NT machine to be waiting on com5? Can this be done? What information do I need. Thanks for any help. -- John Hill Logical Systems, Inc. 258 Main Street P.O. Box 649 Yarmouth, ME 04096 Phone: (207) 846-3669 Fax: (207) 846-3804 E-Mail: jhill@sawmillmanager.com From news@columbia.edu Thu Feb 15 17:45:36 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id RAA27007 for ; Thu, 15 Feb 2001 17:45:35 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id RAA29173 for ; Thu, 15 Feb 2001 17:45:35 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id RAA05528 for kermit.misc@watsun.cc.columbia.edu; Thu, 15 Feb 2001 17:31:16 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jaltman@columbia.edu (Jeffrey Altman) Subject: Re: Connecting through Windows terminal server Date: 15 Feb 2001 22:31:15 GMT Organization: Columbia University Message-ID: <96hlbj$5cl$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , John Hill wrote: : We have a customer with a Windows NT machine local in their office running : terminal server. At his remote locations he has 8 port serial ports that is : configured as com2 thru com9. He wants to use com5 to connect to kermit on : the NT machine. We have MS-DOS Kermit v3.15 running on a DOS based handheld : which he connects to the serial port and Kermit 95 v1.1.17 running on the : Windows NT machine. Is it as simple as setting up the kermit session on the : NT machine to be waiting on com5? Can this be done? What information do I The current version of K95 is 1.1.20. Free updates are available from http://www.kermit-project.org/k95patch.html You can either configure a single session of K95 to listen to COM5 using SERVER mode or configure the K95 HostMode Script to act as a mini-BBS for the hand held user. Jeffrey Altman * Sr.Software Designer C-Kermit 7.1 Alpha available The Kermit Project @ Columbia University includes Secure Telnet and FTP http://www.kermit-project.org/ using Kerberos, SRP, and kermit-support@kermit-project.org OpenSSL. SSH soon to follow. From news@columbia.edu Fri Feb 16 05:45:36 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id FAA21474 for ; Fri, 16 Feb 2001 05:45:36 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id FAA24247 for ; Fri, 16 Feb 2001 05:45:36 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id FAA02548 for kermit.misc@watsun.cc.columbia.edu; Fri, 16 Feb 2001 05:21:40 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "dls2" Subject: Re: Unrecognized com port Message-ID: <397j6.274755$w35.45423084@news1.rdc1.nj.home.com> Date: Fri, 16 Feb 2001 10:19:43 GMT Organization: Excite@Home - The Leader in Broadband http://home.com/faster To: kermit.misc@columbia.edu "Jeffrey Altman" wrote: > : Unfortunately, this does not always work. Under certain > : circumstances, which are the fault of Microsoft and, or, > : the author(s) of video card drivers, a DOS box will not > : resize to full-screen, but instead minimize, or, perhaps, > : shift window positioning. The only means for readily > : remedying the situation is to change resolution, first. > : > : > : -- Derrick Shearer > > This seems to indicate that you are using a Window size > which is not equal to > > 80 x 25 > 80 x 43 > 80 x 50 > > since those are the only combinations that can be supported > in a full screen session. Yes, this is exactly what such a situation implies, or at least that the aspect ratio is not proportional to what is required. NB: each character is a block of pixels, but at different screen settings, the number of pixels per character block may change. As I've already stated, an inability to go full screen with a DOS box is the fault of Microsoft and, or, the author(s) of video card drivers, due to the fact that stretching is an option. Stretched characters are disproportionate, but not terribly so. Also, when the properties of a DOS box are changed, some changes made cannot be readily backed out of. -- Derrick Shearer From news@columbia.edu Fri Feb 16 09:45:37 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id JAA19426 for ; Fri, 16 Feb 2001 09:45:36 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id JAA07539 for ; Fri, 16 Feb 2001 09:45:36 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id JAA02092 for kermit.misc@watsun.cc.columbia.edu; Fri, 16 Feb 2001 09:21:01 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "dls2" Subject: interfacing to FANUC CNC controller Message-ID: Date: Fri, 16 Feb 2001 14:19:00 GMT Organization: Excite@Home - The Leader in Broadband http://home.com/faster To: kermit.misc@columbia.edu I'm having some strange communications problems, in having Kermit communicate with a FANUC CNC controller. I should be able to upload and download, fine, with no problems, but that is just not happening. All of the hardware being interfaced is known to be good, so this is very unlikely to be causing problems. The connection between the FANUC CNC controller and the computer running K95 is a direct connection, being made through serial cabling, using an unknown pinout. The cable being used is known to be good, despite its unknown pinout, due to the two facts that: 1.) The serial cable does work, as intended, when used to connect the FANUC CNC controller to a different computer, making use of ProComm Plus, instead of Kermit. (NB: serial ports working, here.) 2.) Hardware flow control is not being utilized, in deference to software flow control, if any. The serial port on the computer running K95 is known to be good, for similar reasons, having been used, in other capacities, elsewhere. As far as the settings used for communications, the port (COM5), port speed (9600 baud), parity (even), and stop-bits (2), have been set, as known to be needed. Duplex has been tried in both half and full, flow control has been tried in none, rts/cts, and xon/xoff, handshaking has been tried in none and xon, all to no affect, and no avail. The settings, from the ProComm Plus arrangement, indicate that half duplex and xon/xoff flow control are required. Settings other than 9600 baud, 7e2, full- duplex, and xon/xoff flow control, like handshaking, do not appear to be specified one way, or another, and, so, have, really, only been guessed at. Data is supposed to be transfered as readable, 7-bit, ASCII, text, from the FANUC CNC controller, through RS-232, to the computer running K95, and back, again, for purposes of backing up, and restoring, the data. Downloads, using K95, have been done using session logs. The captured data is identical to that acquired by the ProComm Plus arrangement, with two important differences. The first difference is in the data header, where instead of the expected percent sign (%), there is a DC (Device Control) character (up/down arrow) placed before the percent sign (%), in the closed session logs. The second difference is in the data footer, where instead of the expected percent sign (%), there is a DC (Device Control) character (paragraph symbol) placed after the percent sign (%), in the closed session logs. A double carriage return (single note symbol) may, or may not, appear in the body of the text data downloaded by either ProComm Plus or K95, resultant from settings to the FANUC CNC controller, regarding communications. Why are DC (Device Control) characters appearing in the K95 session logs, and not in the ProComm Plus downloads? Handshaking? Would the appearance of these DC (Device Control) characters in the K95 session logs I make account for why I cannot upload the same files back to the FANUC CNC controller, using "xmit ", even after I strip these DC (Device Control) characters from the session logs? In some upload attempts, with whatever setting changes were being tried, had an up/down arrow or, sometimes, a double exclaimation mark, DC (Device Control) character appear before a percent sign (from the data?) just prior to having the transfer time out on the K95 end of transfer. Should I have transmit linefeed set to on? This setting needed to be on in order for the FANUC CNC controller to recognize that data was even being sent to it, but since all attempts to send data timed out, and nothing was ever successfully transfered, I am unsure of if it is really necessary. (NB: to change LSK (Label SKip) to an Input mode, on the FANUC CNC controller.) appreciatively, -- Derrick Shearer From news@columbia.edu Fri Feb 16 09:45:38 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id JAA19431 for ; Fri, 16 Feb 2001 09:45:37 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id JAA07549 for ; Fri, 16 Feb 2001 09:45:36 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id JAA03007 for kermit.misc@watsun.cc.columbia.edu; Fri, 16 Feb 2001 09:40:42 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: interfacing to FANUC CNC controller Date: 16 Feb 2001 14:40:42 GMT Organization: Columbia University Message-ID: <96je5a$2ts$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , dls2 wrote: : I'm having some strange communications problems, : in having Kermit communicate with a FANUC CNC : controller. I should be able to upload and download, : fine, with no problems, but that is just not happening. : : All of the hardware being interfaced is known to be : good, so this is very unlikely to be causing problems. : : The connection between the FANUC CNC controller : and the computer running K95 is a direct connection, : being made through serial cabling, using an unknown : pinout. The cable being used is known to be good, : despite its unknown pinout, due to the two facts that: : : 1.) The serial cable does work, as intended, when : used to connect the FANUC CNC controller to a : different computer, making use of ProComm Plus, : instead of Kermit. (NB: serial ports working, here.) : When trying to isolate faults, it is usually best to change one thing at a time, not multiple things. : 2.) Hardware flow control is not being utilized, : in deference to software flow control, if any. : : The serial port on the computer running K95 is known : to be good, for similar reasons, having been used, in : other capacities, elsewhere. : Yes, but has it been used by K95? As you know, any serial port above COM2 on a PC is problematic due to interrupt conflicts. In late-model PCs, COM3 and above, if present, might not be real serial ports. In that case, it might be necessary to open them under their Windows names, not their PC device names. : As far as the settings used for communications, : the port (COM5), port speed (9600 baud), parity : (even), and stop-bits (2), have been set, as known : to be needed. : : Duplex has been tried in both half : and full, flow control has been tried in none, rts/cts, : and xon/xoff, handshaking has been tried in none : and xon, all to no affect, and no avail. : : The settings, from the ProComm Plus arrangement, : indicate that half duplex and xon/xoff flow control are : required. Settings other than 9600 baud, 7e2, full- : duplex, and xon/xoff flow control, like handshaking, : do not appear to be specified one way, or another, : and, so, have, really, only been guessed at. : : Data is supposed to be transfered as readable, 7-bit, : ASCII, text, from the FANUC CNC controller, through : RS-232, to the computer running K95, and back, again, : for purposes of backing up, and restoring, the data. : Without protocol, right? : Downloads, using K95, have been done using session : logs. The captured data is identical to that acquired by : the ProComm Plus arrangement, with two important : differences. The first difference is in the data header, : where instead of the expected percent sign (%), there : is a DC (Device Control) character (up/down arrow) : placed before the percent sign (%), in the closed session : logs. : K95 would not record this character if it did not come in. But DC1 is Ctrl-Q or XON. If Kermit sees this as a data character, this would indicate that you did not SET FLOW XON/XOFF. : The second difference is in the data footer, where : instead of the expected percent sign (%), there is a DC : (Device Control) character (paragraph symbol) placed : after the percent sign (%), in the closed session logs. : DC-what? The Device Control characters are DC1, DC2, DC3, and DC4, codes 0x11-0x14. : A : double carriage return (single note symbol) may, or may : not, appear in the body of the text data downloaded by : either ProComm Plus or K95, resultant from settings to : the FANUC CNC controller, regarding communications. : : Why are DC (Device Control) characters appearing in : the K95 session logs, and not in the ProComm Plus : downloads? Handshaking? : You probably set Xon/Xoff flow control in PCplus but not K95. : Would the appearance of these DC (Device Control) : characters in the K95 session logs I make account for : why I cannot upload the same files back to the FANUC : CNC controller, using "xmit ", even after I : strip these DC (Device Control) characters from the : session logs? : How are you attempting to upload these files? : In some upload attempts, with whatever setting changes : were being tried, had an up/down arrow or, sometimes, a : double exclaimation mark, DC (Device Control) character : appear before a percent sign (from the data?) just prior to : having the transfer time out on the K95 end of transfer. : First of all, let's straighten out the flow-control business. It seems you believe that K95 has Xon/Xoff flow control in effect when it does not. Maybe that's the whole problem. : Should I have transmit linefeed set to on? This setting : needed to be on in order for the FANUC CNC controller : to recognize that data was even being sent to it, but : since all attempts to send data timed out, and nothing : was ever successfully transfered, I am unsure of if it is : really necessary. (NB: to change LSK (Label SKip) to : an Input mode, on the FANUC CNC controller.) : Aside from flow control, the real questions are: . What are you supposed to be sending to the controller? . Exactly what format is it supposed to be in? . When are you supposed to send it? Are you supposed to wait for a prompt, or what? Is the connection full or half duplex? If you do this by hand, does the controller echo what you type? What if you type something too soon? Does the controller support typeahead? etc etc. - Frank From news@columbia.edu Fri Feb 16 13:15:52 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id NAA06196 for ; Fri, 16 Feb 2001 13:15:37 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA07420 for ; Fri, 16 Feb 2001 13:15:36 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id NAA11450 for kermit.misc@watsun.cc.columbia.edu; Fri, 16 Feb 2001 13:02:10 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "dls2" Subject: Re: interfacing to FANUC CNC controller Message-ID: Date: Fri, 16 Feb 2001 18:00:07 GMT Organization: Excite@Home - The Leader in Broadband http://home.com/faster To: kermit.misc@columbia.edu "Frank da Cruz" wrote: > dls2 wrote: > : Data is supposed to be transfered as readable, 7-bit, > : ASCII, text, from the FANUC CNC controller, through > : RS-232, to the computer running K95, and back, again, > : for purposes of backing up, and restoring, the data. > : > Without protocol, right? Right; no X-, Y-, or Z-modem, and no Kermit file transfer protocol; just Kermit-95 being used to set the serial port communication parameters and log the exchanged data. > : Downloads, using K95, have been done using session > : logs. The captured data is identical to that acquired by > : the ProComm Plus arrangement, with two important > : differences. The first difference is in the data header, > : where instead of the expected percent sign (%), there > : is a DC (Device Control) character (up/down arrow) > : placed before the percent sign (%), in the closed session > : logs. > : > K95 would not record this character if it did not come in. > But DC1 is Ctrl-Q or XON. If Kermit sees this as a data > character, this would indicate that you did not SET FLOW > XON/XOFF. Actually, I did SET FLOW XON/XOFF, and usually kept flow control set as such, when not trying other settings. > : The second difference is in the data footer, where > : instead of the expected percent sign (%), there is a DC > : (Device Control) character (paragraph symbol) placed > : after the percent sign (%), in the closed session logs. > : > DC-what? The Device Control characters are DC1, DC2, > DC3, and DC4, codes 0x11-0x14. device control 1 DC1 ^Q 11  device control 2 DC2 ^R 12  device control 3 DC3 ^S 13  device control 4 DC4 ^T 14  http://www.bbsinc.com/iso8859.html http://www.jimprice.com/ascii-dos.gif The first DC (Device Control) character which appeared, before the first percent sign (%), was an up/down arrow, associated with being a ^R, or DC2. The second DC (Device Control) character which appeared, after the second, and last, percent sign (%), was a paragraph symbol, associated with being a ^T, or DC4. X-ON is CTRL-Q, and X-OFF is CTRL-S, but neither of those appear. CTRL-R and CTRL-T do appear, but I have no idea what they mean, much less how Kermit interprets them regarding flow control. Since the CTRL-R and CTRL-T appear at the head and foot of the data, respectively, do they have something to do with handshaking? How should handshaking be set? > : Would the appearance of these DC (Device Control) > : characters in the K95 session logs I make account for > : why I cannot upload the same files back to the FANUC > : CNC controller, using "xmit ", even after I > : strip these DC (Device Control) characters from the > : session logs? > : > How are you attempting to upload these files? Is XMIT the wrong command to be using for reading a file from disk and spooling the raw contents out onto the line? Does XMIT assume the use of a protocol, be that X-, Y-, or Z-modem, or Kermit, and not ASCII? Should I have attempted to use the FILE command, instead? > Aside from flow control, the real questions are: > > . What are you supposed to be sending to the controller? The equivalent of a plain ASCII text file. > . Exactly what format is it supposed to be in? Plain, ordinary, ASCII. > . When are you supposed to send it? Are you supposed > to wait for a prompt, or what? The FANUC CNC controller gets put into a state where it is ready to accept data. The assumption is that this controller is attempting to read from tape, so the mode is one of LSK (Label SKip). The controller will read any data sent to it, but will not actually regard any of what is sent to it as data, until after the first percent sign (%) is sent to it. Upon receiving this first percent sign (%), the controller switches to an Input mode, wherein everything received is considered to be data, and duely processed as such, until such time as a second percent sign (%) appears, signifying an end to the data input, and switching the controller out of its Input mode. > Is the connection full or half duplex? If you do this > by hand, does the controller echo what you type? Setting the controller to full duplex or half duplex did not seem to make any difference; I don't know why. The settings for ProComm Plus indicated that the connection was to be half duplex, so that is what I had K-95, likewise, set to. > What if you type something too soon? LSK (Label SKip) is in effect, so there isn't a problem. > Does the controller support typeahead? etc etc. I don't know what typeahead is; what is typeahead? appreciatively, -- Derrick Shearer From news@columbia.edu Fri Feb 16 13:45:38 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id NAA18726 for ; Fri, 16 Feb 2001 13:45:37 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA11863 for ; Fri, 16 Feb 2001 13:45:37 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id NAA13253 for kermit.misc@watsun.cc.columbia.edu; Fri, 16 Feb 2001 13:45:33 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: interfacing to FANUC CNC controller Date: 16 Feb 2001 18:45:32 GMT Organization: Columbia University Message-ID: <96jsgc$cu2$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , dls2 wrote: : : The first DC (Device Control) character which appeared, : before the first percent sign (%), was an up/down arrow, : associated with being a ^R, or DC2. : : The second DC (Device Control) character which appeared, : after the second, and last, percent sign (%), was a paragraph : symbol, associated with being a ^T, or DC4. : Note that any association of graphic symbols with C0 control characters has nothing to do with ASCII or any other standard. It's a PC peculiarity, : CTRL-R and CTRL-T do appear, : but I have no idea what they mean, : much less how Kermit interprets : them regarding flow control. : It doesn't; they are data characters. If they come in, Kermit records them in the session log, just like any other characters except -- if Xon/Xoff flow control is in effect -- Xon and Xoff. : Since the CTRL-R and CTRL-T appear at the head and : foot of the data, respectively, do they have something to : do with handshaking? How should handshaking be set? : They might have something to do with it, but if so it's not any standard or well-known form of handshaking. : Is XMIT the wrong command to be using for reading a file : from disk and spooling the raw contents out onto the line? : It depends on the requirements of the device. : Does XMIT assume the use of a protocol, be that X-, Y-, or : Z-modem, or Kermit, and not ASCII? : No. : Should I have attempted to use the FILE command, instead? : Maybe. : The FANUC CNC controller gets put into a state where it is : ready to accept data. The assumption is that this controller : is attempting to read from tape, so the mode is one of LSK : (Label SKip). The controller will read any data sent to it, but : will not actually regard any of what is sent to it as data, until : after the first percent sign (%) is sent to it. Upon receiving : this first percent sign (%), the controller switches to an Input : mode, wherein everything received is considered to be data, : and duely processed as such, until such time as a second : percent sign (%) appears, signifying an end to the data input, : and switching the controller out of its Input mode. : Yes, but the question is, how does the controller signal you that it is ready to receive data? What form does the dialog, if any, take? From what you've said, it appears that maybe it it sends a kind of "prompt" framed by ^R and ^T. So maybe Kermit needs to wait for a ^T before sending the next record. So try this: set xmit prompt 20 ; 20 is the ASCII (decimal) code for Ctrl-T. - Frank From news@columbia.edu Fri Feb 16 13:45:37 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id NAA14554 for ; Fri, 16 Feb 2001 13:45:37 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA11860 for ; Fri, 16 Feb 2001 13:45:36 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id NAA12625 for kermit.misc@watsun.cc.columbia.edu; Fri, 16 Feb 2001 13:30:55 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Joe H. Gallagher" Subject: "can't open connection" K95 error Date: Fri, 16 Feb 2001 13:28:33 -0500 Organization: MindSpring Enterprises Message-ID: <3A8D714F.4FC99117@ix.netcom.com> To: kermit.misc@columbia.edu Kermit-95 Version 1.1.20 (upgraded from 1.1.11 via 1.1.17) hp 733Mhz machine OS: Microsoft ME Serial ports on com1 and com2 Lucent Technologies (new) V90 "software modem" on com3. Hyperterm works on com3. Can access the Internet on com3. Can access an external modem on com1 using Kermit-95. However, when trying to access com3 with Kermit-95 with SET PORT or SET LINE, I get Sorry, can't open connection: com3: Invalid argument. or Sorry, can't open connection: com3: Bad file descriptor. How do I set up the operating system or configure Kermit so that Kermit-95 can "talk to" this "software modem"? Is there some way to tell Kermit about the special driver for this modem? Its as though Kermit-95 is incompatible with this kind of "softare modem"?!?! Thanks for any help. Joe H. Gallagher From news@columbia.edu Fri Feb 16 14:15:40 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id OAA10402 for ; Fri, 16 Feb 2001 14:15:39 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA16173 for ; Fri, 16 Feb 2001 14:15:37 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id NAA13342 for kermit.misc@watsun.cc.columbia.edu; Fri, 16 Feb 2001 13:47:47 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: "can't open connection" K95 error Date: 16 Feb 2001 18:47:47 GMT Organization: Columbia University Message-ID: <96jskj$d0q$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <3A8D714F.4FC99117@ix.netcom.com>, Joe H. Gallagher wrote: : Kermit-95 Version 1.1.20 (upgraded from 1.1.11 via 1.1.17) : hp 733Mhz machine : OS: Microsoft ME : Serial ports on com1 and com2 : Lucent Technologies (new) V90 "software modem" on com3. : : Hyperterm works on com3. : Can access the Internet on com3. : Can access an external modem on com1 using Kermit-95. : : However, when trying to access com3 with Kermit-95 with : SET PORT or SET LINE, I get : : Sorry, can't open connection: com3: Invalid argument. : or : Sorry, can't open connection: com3: Bad file descriptor. : : How do I set up the operating system or configure Kermit : so that Kermit-95 can "talk to" this "software modem"? : Is there some way to tell Kermit about the special : driver for this modem? Its as though Kermit-95 is : incompatible with this kind of "softare modem"?!?! : If it's a "software modem" then you almost certainly have to access it by its Windows Control Panel name, not by the PC device name. Try: set tapi line rather than: set port com3 - Frank From news@columbia.edu Sat Feb 17 14:45:40 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id OAA20798 for ; Sat, 17 Feb 2001 14:45:40 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA15379 for ; Sat, 17 Feb 2001 14:45:40 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id OAA11715 for kermit.misc@watsun.cc.columbia.edu; Sat, 17 Feb 2001 14:27:09 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Pass through printing in telnet session Date: 17 Feb 2001 19:26:51 GMT Organization: Columbia University Message-ID: <96mj9r$be1$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Steven Conway wrote: : Heres what I am trying to accomplish. : : Two Linux Boxes A & B loaded with RedHat 6.2. : : A telnets to B, logs in and runs a proggy that executes vt100 Escape : Sequence (slave.on) that turns on local printing until the Escape sequence : is traped that turns of local printing (slave.off). I have done this with : Dumb Terminals connected by a serial connection and with telnet sessions in : winblows using CRT's telnet emulator. : Use C-Kermit 7.1 as your Telnet client: http://www.columbia.edu/kermit/ck71.html Pass-through printing is explained here: http://www.columbia.edu/kermit/ckermit2.html#x3.3 Note: this feature was added in C-Kermit 7.0 but it had a bug, which is fixed in C-Kermit 7.1. - Frank From news@columbia.edu Mon Feb 19 01:46:22 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id BAA20256 for ; Mon, 19 Feb 2001 01:46:21 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id BAA07505 for ; Mon, 19 Feb 2001 01:46:20 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id BAA23724 for kermit.misc@watsun.cc.columbia.edu; Mon, 19 Feb 2001 01:34:20 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Steve Watt Organization: USENET spam abatement Date: 19 Feb 01 06:25:21 GMT Message-ID: Subject: cmsg cancel ignore To: kermit.misc@columbia.edu I have cancelled this article which had a BI of more than 20. Selected original headers: }From: wilsoncredit@email.com }Subject: ****SPECIAL REPORT**** }Path: ...!news-peer-west.sprintlink.net!news.sprintlink.net!newsfeed.direct.ca!look.ca!brick.direct.ca!quark.idirect.com.POSTED!comp.protocols.kermit.misc }NNTP-Posting-Host: 24.14.178.160 }X-Trace: quark.idirect.com 982446861 24.14.178.160 (Sat, 17 Feb 2001 16:54:21 EST) }Lines: 11 From news@columbia.edu Mon Feb 19 09:46:21 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id JAA04293 for ; Mon, 19 Feb 2001 09:46:20 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id JAA28179 for ; Mon, 19 Feb 2001 09:46:20 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id JAA00622 for kermit.misc@watsun.cc.columbia.edu; Mon, 19 Feb 2001 09:27:52 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Telnet Server Date: 19 Feb 2001 14:27:51 GMT Organization: Columbia University Message-ID: <96rah7$jb$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <3A911564.8B2965B7@exit109.com>, Jean-David Beyer wrote: : atlantis191@yahoo.com wrote: : > : > I have seen telnet servers that allow people to log onto linux systems : > via telnet. How can this be done using Caldera openlinux 2.4? : > : I strongly suggest not allowing people to telnet into your machine : using telnet because it is too easy for people to sniff everything : going through the link, including passwords, especially the root : password if someone outside knows it (such you when you are : elsewhere than at the console). I recommend using some version of : ssh instead (I use openSSH). : Sending passwords in the clear is obviously unsafe. From this it does not follow that Telnet is bad and SSH is good. SSH is not without its pitfalls, risks, and drawbacks, and Telnet is available in secure versions. See: http://www.columbia.edu/kermit/telnetd.html - Frank From fdc@watsun.cc.columbia.edu Mon Feb 19 09:41:23 EST 2001 Article: 488154 of comp.os.linux.misc Path: newsmaster.cc.columbia.edu!not-for-mail From: fdc@watsun.cc.columbia.edu (Frank da Cruz) Newsgroups: comp.os.linux.misc,comp.protocols.kermit.misc Subject: Re: using rm to delete thru the tree Date: 19 Feb 2001 09:32:36 -0500 Organization: Columbia University Lines: 64 Message-ID: <96raq4$pke@watsun.cc.columbia.edu> References: <96psu8$2dj$1@vizcacha.cox.rr.com> NNTP-Posting-Host: watsun.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 982593158 823 128.59.39.2 (19 Feb 2001 14:32:38 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 19 Feb 2001 14:32:38 GMT Xref: newsmaster.cc.columbia.edu comp.os.linux.misc:488154 comp.protocols.kermit.misc:12171 In article <96psu8$2dj$1@vizcacha.cox.rr.com>, Adrian Mariano wrote: : >"Sudhakar R." wrote in message : >> could someone please tell me how to go about deleting all files that match : >> the pattern *.*~ in every directory including sub-directories, sub-sub : >> directories and so on in one single sweep. : > : "Benjamin Good" writes: : : > rm -r is recursive delete. Be careful using it. See man rm. : : It's true that 'rm -r' is recursive delete but it will not do what was : asked. It will recursively delete entire directories (and all their : subdirectories). There is no way to get it to delete only certain : files from the subdirectories. : A way to do this would be with the increasingly-all-purpose utility, C-Kermit: http://www.columbia.edu/kermit/ck71.html If you want to delete all *.*~ files in the directory tree, the command is: delete /recursive *.*~ Some people might find this a bit more intuitive than find . -name \*.\*~ -exec rm -f {} \; The C-Kermit 7.1 DELETE command has lots of flexibility as you can see from its list of options: C-Kermit>delete ? File specification; or switch, one of the following: /after: /except: /nodotfiles /recursive /type: /ask /heading /noheading /simulate /before: /larger-than: /nolist /smaller-than: /directories /list /not-after: /summary /dotfiles /noask /not-before: /tree C-Kermit> So if you wanted to delete recursively files whose names matched a certain pattern that were older than a certain date and were bigger than X but smaller than Y, except for a certain list of files, it's all there. "delete /tree" is like "rm -Rf" or "deltree". "/simulate" lets you see what would happen without actually doing it. By the way, when you say *.*~, if you really mean EMACS-style backup files, like foo.c.~3~, Kermit has a built-in command for that too: PURGE: C-Kermit>purge ? Filename or switch, one of the following: /after: /except: /list /nolist /page /ask /heading /noask /nopage /recursive /before: /keep: /nodotfiles /not-after: /simulate /dotfiles /larger-than: /noheading /not-before: /smaller-than: C-Kermit> As you can see, this one can also be applied recursively, plus you can tell it to keep a certain number of backup generations if you want. In your case the command would be simply: purge /recursive *.* - Frank From news@columbia.edu Mon Feb 19 10:16:20 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id KAA23622 for ; Mon, 19 Feb 2001 10:16:20 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA02621 for ; Mon, 19 Feb 2001 10:16:19 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id KAA02846 for kermit.misc@watsun.cc.columbia.edu; Mon, 19 Feb 2001 10:13:53 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: commandline ftp-client Date: 19 Feb 2001 15:13:52 GMT Organization: Columbia University Message-ID: <96rd7g$2os$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <96rbhi$hp2$1@news.hccnet.nl>, Martijn Hams wrote: : How can i delete a dir on a ftpserver when it's not empty using : kermit? : Thanks for taking a look at Kermit's new FTP client. As you know, UNIX does not allow you to delete a non-empty directory, so you must first delete all the files in the directory. Then you can delete the directory. : example: : : i connect to a ftpserver. : i switch to the pub-dir with "ftp cd pub" : how can i delete dir1 with all his subdirs with 1 command when the tree : looks like this: : : /pub/dir1/dir2/dir3 : Something like this requires cooperation between the client and the server. Unfortunately FTP protocol does not allow for recursion (even though some FTP servers do allow for it in a kind of backhanded way, unofficially). There is a great debate over what the server's response should be to the NLST command -- should it send a recursive list (even though the protocol defines no way to ask for one) or a "flat" one? Should the list include path information or just the basename? Should the list include directory names? RFC 959 doesn't say. So as you can imagine, each FTP server can, and usually does, interpret the specification differently. Kermit tries to sense and handle each interpretation but if the server does not recurse, there's not much the client can do about it. If the FTP server returns a recursive file list with path information, then Kermit's command: ftp delete /recursive * should delete the tree. You might also need to do something like this: ftp delete /recursive .* ftp delete /recursive * to get the dot-files first, in case the FTP server's pattern matcher does not pick up dot files. There are Internet drafts circulating that propose a way to clear up all this confusion, but so far they are not accepted and in any case you won't find the new methods (e.g. the MLST command) implemented in any but a few experimental FTP servers. - Frank From news@columbia.edu Mon Feb 19 10:46:23 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id KAA03100 for ; Mon, 19 Feb 2001 10:46:21 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA06921 for ; Mon, 19 Feb 2001 10:46:20 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id KAA03471 for kermit.misc@watsun.cc.columbia.edu; Mon, 19 Feb 2001 10:31:07 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Steven Conway Subject: Re: Pass through printing in telnet session Date: Mon, 19 Feb 2001 10:31:14 -0500 Organization: Unique Systems Limited Message-ID: <5ve29tcqac3glhcsg4v7j9cpnevd84lat7@4ax.com> To: kermit.misc@columbia.edu On 17 Feb 2001 19:26:51 GMT, fdc@watsun.cc.columbia.edu (Frank da Cruz) wrote: Thanks Frank will check it out. I take it pass through printing is not supported in the standard telnet session ? Steven >Use C-Kermit 7.1 as your Telnet client: > > http://www.columbia.edu/kermit/ck71.html > >Pass-through printing is explained here: > > http://www.columbia.edu/kermit/ckermit2.html#x3.3 > >Note: this feature was added in C-Kermit 7.0 but it had a bug, which is fixed >in C-Kermit 7.1. > >- Frank From news@columbia.edu Mon Feb 19 11:46:22 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id LAA14311 for ; Mon, 19 Feb 2001 11:46:21 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA15271 for ; Mon, 19 Feb 2001 11:46:20 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id LAA05688 for kermit.misc@watsun.cc.columbia.edu; Mon, 19 Feb 2001 11:24:20 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Pass through printing in telnet session Date: 19 Feb 2001 16:24:18 GMT Organization: Columbia University Message-ID: <96rhbi$5hl$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <5ve29tcqac3glhcsg4v7j9cpnevd84lat7@4ax.com>, Steven Conway wrote: : On 17 Feb 2001 19:26:51 GMT, : fdc@watsun.cc.columbia.edu (Frank da Cruz) wrote: : : > Use C-Kermit 7.1 as your Telnet client: : > : > http://www.columbia.edu/kermit/ck71.html : > : > Pass-through printing is explained here: : > : > http://www.columbia.edu/kermit/ckermit2.html#x3.3 : > : > Note: this feature was added in C-Kermit 7.0 but it had a bug, which : > is fixed in C-Kermit 7.1. : Thanks Frank will check it out. I take it pass through printing is : not supported in the standard telnet session ? : Right. The regular Linux Telnet client doesn't do anything at all with printer on/off escape sequences, and as far as I know, neither does the xterm window nor the console driver. If they did, you probably would not be asking about it. - Frank From news@columbia.edu Mon Feb 19 12:16:22 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id MAA26067 for ; Mon, 19 Feb 2001 12:16:20 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA19405 for ; Mon, 19 Feb 2001 12:16:20 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id MAA07393 for kermit.misc@watsun.cc.columbia.edu; Mon, 19 Feb 2001 12:09:14 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Steven Conway Subject: Re: Pass through printing in telnet session Date: Mon, 19 Feb 2001 12:09:21 -0500 Organization: Unique Systems Limited Message-ID: <2bk29toqvl1upruvdgbmil0032fejhq15c@4ax.com> To: kermit.misc@columbia.edu On 19 Feb 2001 16:24:18 GMT, fdc@watsun.cc.columbia.edu (Frank da Cruz) wrote: > >Right. The regular Linux Telnet client doesn't do anything at all with >printer on/off escape sequences, and as far as I know, neither does the >xterm window nor the console driver. If they did, you probably would not >be asking about it. > >- Frank Thanks Frank It worked great. I noticed that This version of C-Kermit is licensed as "Open Source" so there should be no problem using it on Linux boxes, right? I also noticed that you are one of the authors of the "Using C-Kermit" Book. Good job. I assure you that we will be purchasing copies of this book to help you in the ongoing work in C-Kermit. Steven. From news@columbia.edu Mon Feb 19 13:16:21 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id NAA01544 for ; Mon, 19 Feb 2001 13:16:20 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA27478 for ; Mon, 19 Feb 2001 13:16:20 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id NAA11378 for kermit.misc@watsun.cc.columbia.edu; Mon, 19 Feb 2001 13:09:57 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Pass through printing in telnet session Date: 19 Feb 2001 18:09:55 GMT Organization: Columbia University Message-ID: <96rnhj$b3f$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <2bk29toqvl1upruvdgbmil0032fejhq15c@4ax.com>, Steven Conway wrote: : On 19 Feb 2001 16:24:18 GMT, : fdc@watsun.cc.columbia.edu (Frank da Cruz) wrote: : >Right. The regular Linux Telnet client doesn't do anything at all with : >printer on/off escape sequences, and as far as I know, neither does the : >xterm window nor the console driver. If they did, you probably would not : >be asking about it. : : Thanks Frank It worked great. I noticed that This version of C-Kermit : is licensed as "Open Source" so there should be no problem using it on : Linux boxes, right? : There is no problem using it on Linux. The license is not exactly Open Source, it's "Open Source Friendly". Anybody can download it for their own use or their company's internal use without a license, and it can be included without license in Open Source operating system distributions such as Linux, FreeBSD, NetBSD, and OpenBSD, and in fact you find C-Kermit included in some of them already. More would be better. - Frank From news@columbia.edu Mon Feb 19 13:46:22 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id NAA25531 for ; Mon, 19 Feb 2001 13:46:21 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA01637 for ; Mon, 19 Feb 2001 13:46:20 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id NAA12138 for kermit.misc@watsun.cc.columbia.edu; Mon, 19 Feb 2001 13:27:53 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "dls2" Subject: Re: interfacing to FANUC CNC controller Message-ID: Date: Mon, 19 Feb 2001 18:27:52 GMT Organization: Excite@Home - The Leader in Broadband http://home.com/faster To: kermit.misc@columbia.edu "Frank da Cruz" wrote: > dls2 wrote: > : The FANUC CNC controller gets put into a state where it is > : ready to accept data. The assumption is that this controller > : is attempting to read from tape, so the mode is one of LSK > : (Label SKip). The controller will read any data sent to it, but > : will not actually regard any of what is sent to it as data, until > : after the first percent sign (%) is sent to it. Upon receiving > : this first percent sign (%), the controller switches to an Input > : mode, wherein everything received is considered to be data, > : and duely processed as such, until such time as a second > : percent sign (%) appears, signifying an end to the data input, > : and switching the controller out of its Input mode. > : > Yes, but the question is, how does the controller signal you > that it is ready to receive data? What form does the dialog, > if any, take? From what you've said, it appears that maybe it > it sends a kind of "prompt" framed by ^R and ^T. So maybe > Kermit needs to wait for a ^T before sending the next record. > So try this: > > set xmit prompt 20 ; 20 is the ASCII (decimal) code for Ctrl-T. The dialogs for sending and receiving take the following forms: http://www.amada.net/technote/tno001.htm The default transmit prompt is set to 10, which is what I left it at, when previously testing. Since the dialogs do not seem to give any indication of prompting being necessary, I believe, though I have not yet checked, for sure, that the prompt should be set to 0. If Kermit expects prompting, and does not receive prompting, will a text transfer, using XMIT, time out, after sending the first line of text to be transmitted? What is the reciprocal to the TRANSMIT/XMIT commands which will allow for the generation of prompts, upon receiving text data? appreciatively, -- Derrick Shearer From news@columbia.edu Mon Feb 19 14:16:21 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id OAA05503 for ; Mon, 19 Feb 2001 14:16:21 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA05800 for ; Mon, 19 Feb 2001 14:16:20 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id OAA14147 for kermit.misc@watsun.cc.columbia.edu; Mon, 19 Feb 2001 14:16:17 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: automate dialing Date: 19 Feb 2001 19:16:12 GMT Organization: Columbia University Message-ID: <96rrds$dq0$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <3a916e10.15776541@nntp.uunet.ca>, Guenhwyvar wrote: : Whenthe script is going to dialing, i receive this message: : : ?Connection on U.S. Robotics 56K FAX EXT is not open. : : i havent found any doc on this subjet. : This is a report about Kermit 95? Perhaps you could post the portion of your script that does the setup and dialing. The message seems to indicate that the modem is in use by another process. Could that be the case? - Frank From news@columbia.edu Mon Feb 19 14:16:21 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id OAA17946 for ; Mon, 19 Feb 2001 14:16:20 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA05797 for ; Mon, 19 Feb 2001 14:16:20 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id OAA13809 for kermit.misc@watsun.cc.columbia.edu; Mon, 19 Feb 2001 14:08:23 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: guenhwyvar_2000@hotmail.com (Guenhwyvar) Subject: automate dialing Message-ID: <3a916e10.15776541@nntp.uunet.ca> Date: Mon, 19 Feb 2001 19:08:13 GMT Organization: UUNET Canada News Reader Service To: kermit.misc@columbia.edu Whenthe script is going to dialing, i receive this message: ?Connection on U.S. Robotics 56K FAX EXT is not open. i havent found any doc on this subjet. Thanks Stéphane Guenhwyvar guenhwyvar_2000@hotmail.com From news@columbia.edu Mon Feb 19 14:16:22 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id OAA21227 for ; Mon, 19 Feb 2001 14:16:21 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA05803 for ; Mon, 19 Feb 2001 14:16:21 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id NAA13083 for kermit.misc@watsun.cc.columbia.edu; Mon, 19 Feb 2001 13:50:31 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: interfacing to FANUC CNC controller Date: 19 Feb 2001 18:50:30 GMT Organization: Columbia University Message-ID: <96rptm$cop$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , dls2 wrote: : "Frank da Cruz" wrote: : ... : > So try this: : > : > set xmit prompt 20 ; 20 is the ASCII (decimal) code for Ctrl-T. : So did you try it? : The dialogs for sending and receiving take the following forms: : http://www.amada.net/technote/tno001.htm : That just shows the modem signal transitions. : The default transmit prompt is set to 10, which is what I left it at, : when previously testing. Since the dialogs do not seem to give : any indication of prompting being necessary, I believe, though I : have not yet checked, for sure, that the prompt should be set to : 0. If Kermit expects prompting, and does not receive prompting, : will a text transfer, using XMIT, time out, after sending the first line : of text to be transmitted? : The "prompt" is the character from the the receiver of the transmission that indicates it is ready for the next line. Kermit uses 10 (linefeed) by default, for the customary case in which it sends and the receiver echoes back , on the assumption that it might not be safe to send line n+1 before line n is finished echoing. Your case obviously does not fit this model, so you'll need either choose a different prompt character, or disable the prompt mechanism altogether with "set transmit prompt 0". You might also need to change some other SET TRANSMIT settings as well as communication settings. They are all described in the book, but I can't tell exactly what to do because I don't have access to your device. - Frank From news@columbia.edu Mon Feb 19 15:46:23 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id PAA01924 for ; Mon, 19 Feb 2001 15:46:22 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA17992 for ; Mon, 19 Feb 2001 15:46:20 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id PAA17610 for kermit.misc@watsun.cc.columbia.edu; Mon, 19 Feb 2001 15:44:24 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Glenn Sherman" Subject: impossible telnet task ?? Organization: Granite State Software Message-ID: Date: Mon, 19 Feb 2001 20:39:10 GMT To: kermit.misc@columbia.edu I don't believe what I want to do is possible - but I don't know much either. Here is what I would like to do... ( kind of like net2phone - but net2modem ) ( background ) I have a unix (Qnx) server that has a modem connected to /dev/ser1. I am running 'modem' on the server to answer incoming calls. I dial into the server from my windows computer with K95 using a standard phone line. ( desire ) I want to keep the server as is. I want to be able to continue to dial into the server like I currently do. I want to also be able to somehow connect from another site which has a DSL line ( or cable internet ) Is there any way to dial into a remote modem through a permanent internet connection??? I can call a friend accross the country using my PC with net2phone. Can I call a modem?? -Glenn Sherman From news@columbia.edu Mon Feb 19 16:16:21 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id QAA10823 for ; Mon, 19 Feb 2001 16:16:20 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA22310 for ; Mon, 19 Feb 2001 16:16:20 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id QAA18779 for kermit.misc@watsun.cc.columbia.edu; Mon, 19 Feb 2001 16:14:37 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: impossible telnet task ?? Date: 19 Feb 2001 21:14:32 GMT Organization: Columbia University Message-ID: <96s2bo$iao$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <2Tfk6.343$9d.46319@newshog.newsread.com>, Glenn Sherman wrote: : I am sorry for the confusion. I do NOT want to dial out from the Qnx : computer. I was wondering if there was somekind of technology or service : that would allow me to dial into the Qnx computer but without having a : modem on my windows computer. : : (home computer) ===DSL line=== (Internet) - - - phone line - - - (Qnx : computer) : Are you asking if you can have a network connection from home to office? Of course, if there is a vendor of DSL or similar technology in your area that will sell it to you. If the QNX computer is on the Internet, then you can make a Telnet connection with K95 (or any other Telnet client) from your home PC to the QNX PC. If the QNX PC is not on the Internet, then I don't understand how you expect to reach from a home DSL connection. A reverse terminal server maybe? - Frank From news@columbia.edu Mon Feb 19 16:16:21 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id QAA10825 for ; Mon, 19 Feb 2001 16:16:21 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA22313 for ; Mon, 19 Feb 2001 16:16:20 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id QAA18096 for kermit.misc@watsun.cc.columbia.edu; Mon, 19 Feb 2001 16:00:00 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: automate dialing Date: 19 Feb 2001 20:59:56 GMT Organization: Columbia University Message-ID: <96s1gc$hld$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <3a9187a9.780123@nntp.uunet.ca>, Guenhwyvar wrote: : Whenthe script is going to dialing, i receive this message: : : ?Connection on U.S. Robotics 56K FAX EXT is not open. : : No program use the modem. : : My script : : set tapi line U.S._Robotics_56K_FAX_EXT : if fail end 1 TAPI line U.S._Robotics_56K_FAX_EXT already in use. : Your report does not say that this message came out, which suggests that the modem was opened successfully. : if not equal "\v(modem)" "tapi" set modem type tapi : Try removing this command. SET TAPI LINE automatically sets the modem type to TAPI if it succeeds. : output ATDT\m(_MOB_No_Tel)\13\10 ; # D'accŠs : input 100 CONNECT ; : Attente du mot CONNECT dans les 100 secondes qui suivent : if success goto remote_echange_fichier : This is not how to tell K95 to dial. Remove these commands and use a DIAL command: dial \m(_MOB_No_Tel) if success goto remote_echange_fichier - Frank From news@columbia.edu Mon Feb 19 16:16:23 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id QAA24998 for ; Mon, 19 Feb 2001 16:16:22 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA22319 for ; Mon, 19 Feb 2001 16:16:21 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id PAA17965 for kermit.misc@watsun.cc.columbia.edu; Mon, 19 Feb 2001 15:54:54 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: impossible telnet task ?? Date: 19 Feb 2001 20:54:53 GMT Organization: Columbia University Message-ID: <96s16t$hhb$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Glenn Sherman wrote: : I don't believe what I want to do is possible : - but I don't know much either. : : Here is what I would like to do... : ( kind of like net2phone - but net2modem ) : : ( background ) : I have a unix (Qnx) server that has a modem connected to /dev/ser1. : I am running 'modem' on the server to answer incoming calls. : I dial into the server from my windows computer with K95 using a : standard phone line. : : ( desire ) : I want to keep the server as is. : I want to be able to continue to dial into the server like I currently : do. : : I want to also be able to somehow connect from another site which has a : DSL line ( or cable internet ) : : Is there any way to dial into a remote modem through a permanent internet : connection??? : I can call a friend accross the country using my PC with net2phone. : Can I call a modem?? : If I'm not mistaken, the dialing-in part of this question is a red herring. Clearly, you can use C-Kermit to dial out from your QNX PC, no matter whether you are sitting at its physical keyboard and screen or you are coming into it via Telnet or other networking method, provided the QNX is configured to allow both incoming and outbound calls (which is a QNX sysadmin question that I can't answer). But can you use the QNX modem *directly* from Kermit 95? No. But you can Telnet from K95 to QNX, start C-Kermit on QNX, and dial out from there. The result is the same but an extra step is required. I don't think you would want to be able to use the QNX modem directly from K95, because if you could do it, anybody could do it, and therefore anybody could run up charges on your phone bill. The extra step of logging in to QNX and dialing out with C-Kermit ensures that only somebody who knows a QNX user ID and password can call out. By the way, C-Kermit 7.0 can log outbound modem calls in syslog, so you can find out (when you get your phone bill) who made what calls to what numbers. - Frank From news@columbia.edu Mon Feb 19 16:16:21 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id QAA24991 for ; Mon, 19 Feb 2001 16:16:21 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA22316 for ; Mon, 19 Feb 2001 16:16:21 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id PAA17837 for kermit.misc@watsun.cc.columbia.edu; Mon, 19 Feb 2001 15:53:33 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: guenhwyvar_2000@hotmail.com (Guenhwyvar) Subject: Re: automate dialing Message-ID: <3a9187a9.780123@nntp.uunet.ca> Date: Mon, 19 Feb 2001 20:53:28 GMT Organization: UUNET Canada News Reader Service To: kermit.misc@columbia.edu On 19 Feb 2001 19:16:12 GMT, fdc@watsun.cc.columbia.edu (Frank da Cruz) wrote: >In article <3a916e10.15776541@nntp.uunet.ca>, >Guenhwyvar wrote: >: Whenthe script is going to dialing, i receive this message: >: >: ?Connection on U.S. Robotics 56K FAX EXT is not open. >: >: i havent found any doc on this subjet. >: >This is a report about Kermit 95? Perhaps you could post the portion >of your script that does the setup and dialing. > >The message seems to indicate that the modem is in use by another >process. Could that be the case? > >- Frank No program use the modem. My script define modem-Standard-Modem { set tapi line Standard_Modem if fail end 1 TAPI line Standard_Modem already in use. if not equal "\v(modem)" "tapi" set modem type tapi set carrier auto set modem error-correction on set modem compression on set speed 57600 set parity none set stop-bits 1 set flow auto set modem volume low set modem speaker on set modem escape-char 43 set modem speed-match off } define modem-DEFAULT { set tapi line U.S._Robotics_56K_FAX_EXT if fail end 1 TAPI line U.S._Robotics_56K_FAX_EXT already in use. if not equal "\v(modem)" "tapi" set modem type tapi set carrier auto set modem error-correction on set modem compression on set speed 57600 set parity none set stop-bits 1 set flow auto set modem volume low set modem speaker on set modem escape-char 0 set modem speed-match off } write screen \13\10\13\10 output ATDT\m(_MOB_No_Tel)\13\10 ; # D'accŠs input 100 CONNECT ; Attente du mot CONNECT dans les 100 secondes qui suivent if success goto remote_echange_fichier Thanks Guenhwyvar guenhwyvar_2000@hotmail.com From news@columbia.edu Mon Feb 19 16:16:24 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id QAA10843 for ; Mon, 19 Feb 2001 16:16:24 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA22322 for ; Mon, 19 Feb 2001 16:16:22 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id QAA18549 for kermit.misc@watsun.cc.columbia.edu; Mon, 19 Feb 2001 16:09:08 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Glenn Sherman" Subject: Re: impossible telnet task ?? Organization: Granite State Software Message-ID: <2Tfk6.343$9d.46319@newshog.newsread.com> Date: Mon, 19 Feb 2001 21:03:58 GMT To: kermit.misc@columbia.edu Frank da Cruz wrote in message news:96s16t$hhb$1@newsmaster.cc.columbia.edu... > In article , > Glenn Sherman wrote: > : I don't believe what I want to do is possible > : - but I don't know much either. > : > : Here is what I would like to do... > : ( kind of like net2phone - but net2modem ) > : > : ( background ) > : I have a unix (Qnx) server that has a modem connected to /dev/ser1. > : I am running 'modem' on the server to answer incoming calls. > : I dial into the server from my windows computer with K95 using a > : standard phone line. > : > : ( desire ) > : I want to keep the server as is. > : I want to be able to continue to dial into the server like I currently > : do. > : > : I want to also be able to somehow connect from another site which has a > : DSL line ( or cable internet ) > : > : Is there any way to dial into a remote modem through a permanent internet > : connection??? > : I can call a friend accross the country using my PC with net2phone. > : Can I call a modem?? > : > If I'm not mistaken, the dialing-in part of this question is a red herring. > > Clearly, you can use C-Kermit to dial out from your QNX PC, no matter whether > you are sitting at its physical keyboard and screen or you are coming into it > via Telnet or other networking method, provided the QNX is configured to > allow both incoming and outbound calls (which is a QNX sysadmin question > that I can't answer). > > But can you use the QNX modem *directly* from Kermit 95? No. But you can > Telnet from K95 to QNX, start C-Kermit on QNX, and dial out from there. The > result is the same but an extra step is required. > > I don't think you would want to be able to use the QNX modem directly from > K95, because if you could do it, anybody could do it, and therefore anybody > could run up charges on your phone bill. The extra step of logging in to > QNX and dialing out with C-Kermit ensures that only somebody who knows > a QNX user ID and password can call out. I am sorry for the confusion. I do NOT want to dial out from the Qnx computer. I was wondering if there was somekind of technology or service that would allow me to dial into the Qnx computer but without having a modem on my windows computer. (home computer) ===DSL line=== (Internet) - - - phone line - - - (Qnx computer) The Qnx computer is only going to receive calls - never make them. current set up. (home computer) - - - phone line - - - (Qnx computer) I don't think it is possible, but maybe? -Glenn Sherman From news@columbia.edu Mon Feb 19 16:46:21 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id QAA08966 for ; Mon, 19 Feb 2001 16:46:20 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA26395 for ; Mon, 19 Feb 2001 16:46:20 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id QAA19236 for kermit.misc@watsun.cc.columbia.edu; Mon, 19 Feb 2001 16:26:07 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: impossible telnet task ?? Date: 19 Feb 2001 21:26:03 GMT Organization: Columbia University Message-ID: <96s31b$ip1$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Glenn Sherman wrote: : > then I don't understand how you expect to reach from a home DSL : > connection. : : That is exactly what I want. I don't know what it would be (and I : personally don't think it can be done) : BUT I didn't know if someone else might think it was possible. : ( like I said, kind of like net2phone ) : : > A reverse terminal server maybe? : Your home PC is on the Internet but the only way to reach the QNX PC is by dialing it directly. That means you have to use your Telnet client (or SSH or whatever) to access some device that will place a call on your behalf. Conceptually it's simple. For example, you could Telnet to a UNIX computer somewhere that has a dialout modem, and then you could use C-Kermit on the UNIX computer to dial your QNX PC. In practice, this costs somebody (other than you) money, so you're not going to find such services available waiting for people to use them, unless the users are willing to pay. The obvious question is: if you can put your home PC on the Internet, why can't you put the QNX PC on the Internet too, the same way? - Frank From news@columbia.edu Mon Feb 19 16:55:05 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id QAA22817 for ; Mon, 19 Feb 2001 16:55:05 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA26398 for ; Mon, 19 Feb 2001 16:46:20 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id QAA18923 for kermit.misc@watsun.cc.columbia.edu; Mon, 19 Feb 2001 16:19:18 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Glenn Sherman" Subject: Re: impossible telnet task ?? Organization: Granite State Software Message-ID: Date: Mon, 19 Feb 2001 21:19:08 GMT To: kermit.misc@columbia.edu Frank da Cruz wrote in message news:96s2bo$iao$1@newsmaster.cc.columbia.edu... > In article <2Tfk6.343$9d.46319@newshog.newsread.com>, > Glenn Sherman wrote: > > : I am sorry for the confusion. I do NOT want to dial out from the Qnx > : computer. I was wondering if there was somekind of technology or service > : that would allow me to dial into the Qnx computer but without having a > : modem on my windows computer. > : > : (home computer) ===DSL line=== (Internet) - - - phone line - - - (Qnx > : computer) > : > Are you asking if you can have a network connection from home to office? > Of course, if there is a vendor of DSL or similar technology in your area > that will sell it to you. If the QNX computer is on the Internet, then > you can make a Telnet connection with K95 (or any other Telnet client) > from your home PC to the QNX PC. If the QNX PC is not on the Internet, > then I don't understand how you expect to reach from a home DSL connection. That is exactly what I want. I don't know what it would be (and I personally don't think it can be done) BUT I didn't know if someone else might think it was possible. ( like I said, kind of like net2phone ) > A reverse terminal server maybe? > > - Frank -Glenn Sherman From news@columbia.edu Mon Feb 19 23:16:25 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id XAA15100 for ; Mon, 19 Feb 2001 23:16:25 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id XAA15402 for ; Mon, 19 Feb 2001 23:16:20 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id XAA09904 for kermit.misc@watsun.cc.columbia.edu; Mon, 19 Feb 2001 23:15:56 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f Message-ID: <3A91EF77.D5998E55@littlegreenapples.com> Date: Tue, 20 Feb 2001 12:15:51 +0800 From: Meng Kuan Subject: Does pdial have a maximum length? Organization: StarHub Internet Pte Ltd To: kermit.misc@columbia.edu Hi, I am trying to use ckermit to do alphanumeric paging. Where I am from, the paging operators do not have a TAP/IXO service so I had to do a manual conversion of the alphanumeric characters to dial-sequences. For instance, the message "abcdefghijklmnopqrstuvwxyz" is converted into "2122233132334142435152536162637172737481828391929394". If I use a shorter message (e.g. "abcdef") there is no problem. However, if I have a message longer than 17 characters, pdial always truncates it when it does the actual dialling. A sample of a failed dialing attempt is included below. Note that the "Dial string" shown below was not truncated but the pdial command was. The script that I use is a modified version of alphapage script found here: ftp://kermit.columbia.edu/kermit/scripts/ckermit/alphapage Some other information about my setup: ckermit version: 7.0.196, 1 Jan 2000, for Linux server: debian potato on i386 platform I have gone over the online documetation and FAQs but to no avail. If anyone has any clues for the following questions I will be most grateful. Is there a maximum length to the number of digits pdial can dial? If so, how can I increase it? Or are there some other settings which I missed? Thanks, Meng Kuan ----------------sample of alphanumeric dial attempt-------------- Number: "93217086" Message: "2122233132334142435152536162637172737481828391929394" Device: "/dev/ttyS0" Speed: "2400" Modem: "generic-high-speed" Redials: "20" Pause: "0" Poundsign: "0" WARNING: This modem is not well-suited for paging. Busy signals are not detected and failure is not reported. Automatic redialing disabled. Dial string: "9,93217086,,###,2122233132334142435152536162637172737481828391929394**" Trying: T9,93217086,,###,2122233132334142435152536162637172737481828391929394**;... Device: /dev/ttyS0, modem: generic-high-speed, speed: 2400 Dial timeout: 115 seconds To cancel: type your interrupt character (normally Ctrl-C). Hangup OK Initializing: 11:57:06... ATQ0 ATQ0 OK AT&F1S11=65 OK ATM1L2 OK ATX3 OK ATS2=43S7=105 OK Dialing: 11:57:08... ATDT9,93217086,,###,2122233132334142435152536162637172737 DIAL Failure: 11:57:19: Interrupted. Dial status: "9" ^C... Closing /dev/ttyS0...OK -----------------end of attempt-------------------------- From news@columbia.edu Tue Feb 20 09:46:22 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id JAA18502 for ; Tue, 20 Feb 2001 09:46:22 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id JAA16323 for ; Tue, 20 Feb 2001 09:46:21 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id JAA03065 for kermit.misc@watsun.cc.columbia.edu; Tue, 20 Feb 2001 09:38:37 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Does pdial have a maximum length? Date: 20 Feb 2001 14:38:30 GMT Organization: Columbia University Message-ID: <96tvh6$2vm$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <3A91EF77.D5998E55@littlegreenapples.com>, Meng Kuan wrote: : I am trying to use ckermit to do alphanumeric paging. Where I am from, : the paging operators do not have a TAP/IXO service so I had to do a : manual conversion of the alphanumeric characters to dial-sequences. For : instance, the message : : "abcdefghijklmnopqrstuvwxyz" : : is converted into : : "2122233132334142435152536162637172737481828391929394". : : If I use a shorter message (e.g. "abcdef") there is no problem. However, : if I have a message longer than 17 characters, pdial always truncates it : when it does the actual dialling. : A sample of a failed dialing attempt is included below. Note that the : "Dial string" shown below was not truncated but the pdial command was. : The script that I use is a modified version of alphapage script found : here: : : ftp://kermit.columbia.edu/kermit/scripts/ckermit/alphapage : : Some other information about my setup: : : ckermit version: 7.0.196, 1 Jan 2000, for Linux : server: debian potato on i386 platform : : I have gone over the online documetation and FAQs but to no avail. If : anyone has any clues for the following questions I will be most : grateful. Is there a maximum length to the number of digits pdial can : dial? If so, how can I increase it? Or are there some other settings : which I missed? : Kermit does not truncate the dial string. : Trying: : T9,93217086,,###,2122233132334142435152536162637172737481828391929394**;... : This message is printed by the dial module. It shows the telephone number that was passed to it. This is the number it dials. : ... : ATX3 : OK : ATS2=43S7=105 : OK : Dialing: 11:57:08... : ATDT9,93217086,,###,2122233132334142435152536162637172737 : Now Kermit is sending commands to the modem. What you see when DIAL DISPLAY is ON are the echoes from the modem. The modem evidently has a short command buffer, and drops the characters that don't fit. The solution is to break the long number into multiple PDIALs. - Frank From news@columbia.edu Tue Feb 20 11:46:24 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id LAA09615 for ; Tue, 20 Feb 2001 11:46:23 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA03096 for ; Tue, 20 Feb 2001 11:46:22 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id LAA07923 for kermit.misc@watsun.cc.columbia.edu; Tue, 20 Feb 2001 11:27:17 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: how to "batch" telnet Date: 20 Feb 2001 16:27:15 GMT Organization: Columbia University Message-ID: <96u5t3$7ng$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <982681898.619802@ns0.klm.nl>, Robert Wielinga wrote: : "Nicolas Bragard" wrote in message : news:lstk6.452$8g3.1733717@nnrp1.proxad.net... : > I need to write a script to automate some telnet operation. : > ... : Hi, batching telnet sessions is very ugly, but sometimes necessary. Hence, : the following script is al;so very ugly. ... : Batching Telnet (or, for that matter, FTP) need not be ugly at all. All that is required is a scriptable Telnet (and FTP) client, such as C-Kermit: http://www.columbia.edu/kermit/ckermit.html You can find sample Telnet scripts here to help you get started: http://www.columbia.edu/kermit/ckscripts.html Note: scriptable FTP is new to C-Kermit 7.1: http://www.columbia.edu/kermit/ck71.html - Frank From news@columbia.edu Tue Feb 20 19:16:25 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id TAA01955 for ; Tue, 20 Feb 2001 19:16:24 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id TAA05171 for ; Tue, 20 Feb 2001 19:16:23 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id SAA28058 for kermit.misc@watsun.cc.columbia.edu; Tue, 20 Feb 2001 18:46:28 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Woot" Subject: Filename conversions Message-ID: <3a92eb55.0@209.4.12.42> Date: Tue, 20 Feb 2001 23:14:28 GMT Organization: Intermedia Business Internet - Beltsville, MD To: kermit.misc@columbia.edu I am using K95 to receive files from an HP48. K95 appends ".~1~" to the filename for some reason. Also a blank file with the correct name is also created. I can't find a way to turn this off. This never happened in the DOS version of Kermit. Anyone know how to turn it off? Thanks From news@columbia.edu Tue Feb 20 19:46:23 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id TAA22227 for ; Tue, 20 Feb 2001 19:46:23 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id TAA07689 for ; Tue, 20 Feb 2001 19:46:22 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id TAA29337 for kermit.misc@watsun.cc.columbia.edu; Tue, 20 Feb 2001 19:18:25 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Filename conversions Date: 21 Feb 2001 00:18:25 GMT Organization: Columbia University Message-ID: <96v1gh$skm$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <3a92eb55.0@209.4.12.42>, Woot wrote: : I am using K95 to receive files from an HP48. K95 appends ".~1~" to the : filename for some reason. Also a blank file with the correct name is also : created. I can't find a way to turn this off. This never happened in the DOS : version of Kermit. : Anyone know how to turn it off? : Read about "set file collision" in the manual, or just type "help set file". By default, if a file comes in that has the same name as an existing file, the existing file is renamed to have .~n~ at the end, where n is a unique (next highest) number. If you want incoming files to overwrite any existing file of the same name, use "set file collision overwrite". There are various other options. It sounds to me like you might have "set file collision rename", which renames the incoming file rather than the previously existing file. I can't explain the blank (empty?) file without more information. If you're interested in pursuing this, send a packet log to kermit-support@columbia.edu. - Frank From news@columbia.edu Wed Feb 21 05:16:24 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id FAA04118 for ; Wed, 21 Feb 2001 05:16:24 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id FAA24805 for ; Wed, 21 Feb 2001 05:16:24 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id FAA21054 for kermit.misc@watsun.cc.columbia.edu; Wed, 21 Feb 2001 05:15:00 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Robert Wielinga" Subject: Re: how to "batch" telnet Date: Wed, 21 Feb 2001 11:14:29 +0100 Organization: KLM Royal Dutch Airlines Message-ID: <982750492.184847@ns0.klm.nl> To: kermit.misc@columbia.edu Correct, If you want to stick to a default installation, you have to do some ugly things. Regards Robert > Batching Telnet (or, for that matter, FTP) need not be ugly at all. All > that is required is a scriptable Telnet (and FTP) client, such as C-Kermit: From news@columbia.edu Wed Feb 21 08:46:25 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id IAA25850 for ; Wed, 21 Feb 2001 08:46:24 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id IAA01728 for ; Wed, 21 Feb 2001 08:46:24 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id IAA19488 for kermit.misc@watsun.cc.columbia.edu; Wed, 21 Feb 2001 08:43:56 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Joe H. Gallagher" Subject: Re: "can't open connection" K95 error Date: Wed, 21 Feb 2001 08:39:25 -0500 Organization: MindSpring Enterprises Message-ID: <3A93C505.15905A5C@ix.netcom.com> To: kermit.misc@columbia.edu Frank da Cruz wrote: > > In article <3A8D714F.4FC99117@ix.netcom.com>, > Joe H. Gallagher wrote: > : Kermit-95 Version 1.1.20 (upgraded from 1.1.11 via 1.1.17) > : hp 733Mhz machine > : OS: Microsoft ME > : Serial ports on com1 and com2 > : Lucent Technologies (new) V90 "software modem" on com3. > : > : Hyperterm works on com3. > : Can access the Internet on com3. > : Can access an external modem on com1 using Kermit-95. > : > : However, when trying to access com3 with Kermit-95 with > : SET PORT or SET LINE, I get > : > : Sorry, can't open connection: com3: Invalid argument. > : or > : Sorry, can't open connection: com3: Bad file descriptor. > : > : How do I set up the operating system or configure Kermit > : so that Kermit-95 can "talk to" this "software modem"? > : Is there some way to tell Kermit about the special > : driver for this modem? Its as though Kermit-95 is > : incompatible with this kind of "softare modem"?!?! > : > If it's a "software modem" then you almost certainly have to > access it by its Windows Control Panel name, not by the PC > device name. Try: > > set tapi line > > rather than: > > set port com3 > > - Frank Thanks, Frank. "set tapi line" does indeed do the trick. In fact, entering K-95> set tapi line ? gives me the name (and correct spelling) of the intermediate device driver -- which in this case was LUCENT_WIN_MODEM. Again, thanks. Joe H. Gallagher From news@columbia.edu Wed Feb 21 09:46:25 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id JAA17373 for ; Wed, 21 Feb 2001 09:46:25 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id JAA08881 for ; Wed, 21 Feb 2001 09:46:24 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id JAA22406 for kermit.misc@watsun.cc.columbia.edu; Wed, 21 Feb 2001 09:44:25 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Folding Telnet enhancements into Linux distros Date: 21 Feb 2001 14:44:23 GMT Organization: Columbia University Message-ID: <970k87$ls1$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Thomas Wu wrote: : : A recent mailing-list discussion prompted me to notice that the : default Telnet client and server distributed with various Linux : distributions like RedHat have fallen far behind the state-of-the-art : Open Source Telnet codebases out there, especially as far as : security is concerned. Features that have been added include: : : - Strong authentication: SRP, Kerberos V5/V4 : - Encryption: 3DES, CAST-128, DES : - X11 session forwarding : - SSL/TLS-based session security (confidentiality and integrity) : : Some of the enhancements provide security features not present in : existing remote access products, like ssh, and users should be allowed : a free choice in the matter. : Secure Telnet servers are listed here: http://www.columbia.edu/kermit/telnetd.html Various secure Telnet clients exist, most of them modifications of the regular UNIX Telnet client, adding one of the security methods. C-Kermit 7.0, however, implements all of the ones that Tom listed: http://www.columbia.edu/kermit/ckermit.html and adds file transfer, scripting, and character-set translation. Its license allows inclusion with Linux: ftp://kermit.columbia.edu/kermit/f/COPYING.TXT : Are crypto export restrictions still an : issue for Linux distros these days? : Binaries are restricted. There is also a USA embargo on a list of specific countries, but apparently it does not extend to making source code available in public venues. - Frank From news@columbia.edu Wed Feb 21 11:16:25 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id LAA00167 for ; Wed, 21 Feb 2001 11:16:25 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA22634 for ; Wed, 21 Feb 2001 11:16:24 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id LAA26167 for kermit.misc@watsun.cc.columbia.edu; Wed, 21 Feb 2001 11:06:16 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Woot" Subject: Re: Filename conversions Message-ID: <3a93d859.0@209.4.12.42> Date: Wed, 21 Feb 2001 16:05:54 GMT Organization: Intermedia Business Internet - Beltsville, MD To: kermit.misc@columbia.edu I guess it is failing to transfer the file (hence the empty file) then trying again and renaming the 2nd (successful) transferred file. Thanks "Frank da Cruz" wrote in message news:96v1gh$skm$1@newsmaster.cc.columbia.edu... > In article <3a92eb55.0@209.4.12.42>, Woot wrote: > : I am using K95 to receive files from an HP48. K95 appends ".~1~" to the > : filename for some reason. Also a blank file with the correct name is also > : created. I can't find a way to turn this off. This never happened in the DOS > : version of Kermit. > : Anyone know how to turn it off? > : > Read about "set file collision" in the manual, or just type "help set file". > > By default, if a file comes in that has the same name as an existing > file, the existing file is renamed to have .~n~ at the end, where n is a > unique (next highest) number. > > If you want incoming files to overwrite any existing file of the same > name, use "set file collision overwrite". There are various other options. > > It sounds to me like you might have "set file collision rename", which renames > the incoming file rather than the previously existing file. I can't explain > the blank (empty?) file without more information. If you're interested in > pursuing this, send a packet log to kermit-support@columbia.edu. > > - Frank From news@columbia.edu Wed Feb 21 11:46:25 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id LAA00118 for ; Wed, 21 Feb 2001 11:46:24 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA27352 for ; Wed, 21 Feb 2001 11:46:24 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id LAA27388 for kermit.misc@watsun.cc.columbia.edu; Wed, 21 Feb 2001 11:25:53 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Woot" Subject: Re: Filename conversions Message-ID: <3a93dcde.0@209.4.12.42> Date: Wed, 21 Feb 2001 16:25:32 GMT Organization: Intermedia Business Internet - Beltsville, MD To: kermit.misc@columbia.edu I'm having a great conversation with myself.... :) If I "get" the file from the HP48 (putting the HP48 in server mode) it works fine. hmmmm "Frank da Cruz" wrote in message news:96v1gh$skm$1@newsmaster.cc.columbia.edu... > In article <3a92eb55.0@209.4.12.42>, Woot wrote: > : I am using K95 to receive files from an HP48. K95 appends ".~1~" to the > : filename for some reason. Also a blank file with the correct name is also > : created. I can't find a way to turn this off. This never happened in the DOS > : version of Kermit. > : Anyone know how to turn it off? > : > Read about "set file collision" in the manual, or just type "help set file". > > By default, if a file comes in that has the same name as an existing > file, the existing file is renamed to have .~n~ at the end, where n is a > unique (next highest) number. > > If you want incoming files to overwrite any existing file of the same > name, use "set file collision overwrite". There are various other options. > > It sounds to me like you might have "set file collision rename", which renames > the incoming file rather than the previously existing file. I can't explain > the blank (empty?) file without more information. If you're interested in > pursuing this, send a packet log to kermit-support@columbia.edu. > > - Frank same > name, use "set file collision overwrite". There are various other options. > > It sounds to me like you might have "set file collision rename", which renames > the incoming file rather than the previously existing file. I can't explain > the blank (empty?) file without more information. If you're interested in > pursuing this, send a packet log to kermit-support@columbia.edu. > > - Frank From news@columbia.edu Wed Feb 21 13:16:25 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id NAA23093 for ; Wed, 21 Feb 2001 13:16:24 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA11645 for ; Wed, 21 Feb 2001 13:16:24 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id MAA01623 for kermit.misc@watsun.cc.columbia.edu; Wed, 21 Feb 2001 12:50:32 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Filename conversions Date: 21 Feb 2001 17:50:10 GMT Organization: Columbia University Message-ID: <970v4i$1ik$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <3a93dcde.0@209.4.12.42>, Woot wrote: : I'm having a great conversation with myself.... :) : If I "get" the file from the HP48 (putting the HP48 in server mode) it works : fine. : Try telling Kermit to ENABLE DELETE. - Frank From news@columbia.edu Wed Feb 21 18:16:30 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id SAA15371 for ; Wed, 21 Feb 2001 18:16:26 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id SAA28391 for ; Wed, 21 Feb 2001 18:16:25 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id RAA15478 for kermit.misc@watsun.cc.columbia.edu; Wed, 21 Feb 2001 17:53:16 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: dold@54.usenet.us.com Subject: Re: Filename conversions Date: 21 Feb 2001 22:52:56 GMT Organization: Wintercreek Data Message-ID: <971gs8$de0$1@samba.rahul.net> To: kermit.misc@columbia.edu Woot wrote: : I'm having a great conversation with myself.... :) : If I "get" the file from the HP48 (putting the HP48 in server mode) it works : fine. The "file collision" setting would be on the receiving kermit, and have no effect on the sending kermit, correct? -- --- Clarence A Dold - dold@email.rahul.net - San Jose & Pope Valley (Napa County) CA. From news@columbia.edu Thu Feb 22 10:16:27 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id KAA06410 for ; Thu, 22 Feb 2001 10:16:27 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA02079 for ; Thu, 22 Feb 2001 10:16:26 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id KAA24644 for kermit.misc@watsun.cc.columbia.edu; Thu, 22 Feb 2001 10:15:11 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: PC FTP Client supporting OS9/OS9000. Date: 22 Feb 2001 15:15:09 GMT Organization: Columbia University Message-ID: <973adt$o21$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <3a952799@aston-server2.astondes.com>, Andrew Guy wrote: : I'm trying to transfer files from 68k machines running OS9 to PowerPC : machines running OS9000. : At present we have no network file manager in place, so a straight copy is : not possible. : Command line FTP is operational, but there is no recursive option on : mput/mget, and we need to copy multiple files and directories. : : I have tried various FTP clients on my PC (running Windows 2000) but none of : them correctly read the file/directory information from the OS9/OS9000 : machines. : FTP protocol does not provide any method for doing recursive file transfers. However, *some* FTP clients and servers do it anyway via a ruse, if they both use the same ruse (client says NLST *, server sends a recursive list, client recognizes the list as recursive, and does the required directory creating/changing on the fly while downloading). One client that does this is the new, scriptable C-Kermit 7.1 FTP client: http://www.columbia.edu/kermit/ftpclient.html It hasn't been built for OS-9 yet, but it works fine in UNIX, so it would be good if some kind soul in the OS-9 developer community would build it there: http://www.columbia.edu/kermit/ck71.html The next release Kermit 95 (for Windows 95/98/ME/NT/2000) will also include the same FTP client. - Frank From news@columbia.edu Thu Feb 22 10:46:27 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id KAA22575 for ; Thu, 22 Feb 2001 10:46:26 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA07017 for ; Thu, 22 Feb 2001 10:46:26 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id KAA24774 for kermit.misc@watsun.cc.columbia.edu; Thu, 22 Feb 2001 10:21:05 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jaltman@columbia.edu (Jeffrey Altman) Subject: Re: Filename conversions Date: 22 Feb 2001 15:21:05 GMT Organization: Columbia University Message-ID: <973ap1$o63$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <971gs8$de0$1@samba.rahul.net>, wrote: : Woot wrote: : : I'm having a great conversation with myself.... :) : : If I "get" the file from the HP48 (putting the HP48 in server mode) it works : : fine. : : The "file collision" setting would be on the receiving kermit, and have no : effect on the sending kermit, correct? That is correct. The File Collision options only affect the Kermit that is performing either a RECEIVE or a GET operation. The problem was being experienced in this case is due to a combination of the File Collision options and the default security provided by the Kermit SERVER. The default settings for a Kermit SERVER are: Function: Status: GET Enabled SEND Enabled MAIL Enabled PRINT Enabled REMOTE ASSIGN Enabled REMOTE CD/CWD Enabled REMOTE COPY Enabled REMOTE DELETE Remote only REMOTE DIRECTORY Enabled REMOTE HOST Remote only REMOTE QUERY Enabled REMOTE MKDIR Enabled REMOTE RMDIR Remote only REMOTE RENAME Enabled REMOTE SET Enabled REMOTE SPACE Enabled REMOTE TYPE Enabled REMOTE WHO Enabled BYE Remote only FINISH Enabled EXIT Remote only ENABLE Enabled The "Remote only" does not refer to the REMOTE command but to the mode that the Kermit process executing the SERVER is operating in. Kermit can be executed in two modes: "remote" and "local". Remote means that Kermit was started on a remote host and is communicating across the TTY device back to the client. An example of this scenario is when a Telnet client is used to connect to a Unix host and C-Kermit is started from the command line for the purpose of transfering files with the Telnet client. This is Kermit operating in "remote" mode. Every other type of connection is Kermit running in "local" mode. When Kermit 95 is used to make a telnet connection to a Unix host it is running in "local" mode. When C-Kermit is used to accept an incoming connection with SET HOST * it is running in "local" mode. The Internet Kermit Service runs in "remote" mode. The status of "local" mode can be checked in a script with the \v(local) variable. It will be 1 when in local mode, and 0 when in remote mode. How does the mode affect the problem experienced by Woot? Here is the configuration" . SET FILE COLLISION OVERWRITE . SERVER mode . operating in "local" mode since Kermit established the connection to the HP-48 Now the HP-48 tries to SEND a file to Kermit and we discover that Kermit is not using OVERWRITE mode but instead uses RENAME mode. Why? The SERVER is operating with an ENABLE DELETE REMOTE setting. This means that when the SERVER runs in "local" mode that file deletion is not permitted. Overwriting or even backing up a file requires an implicit deletion of the original contents of the file. Therefore, it cannot be permitted. So when SERVER mode is started the File Collision Overwrite setting becomes File Collision Rename since that is the closest setting that will allow the file transfer to proceed without violating the stated server policy. Jeffrey Altman * Sr.Software Designer C-Kermit 7.1 Alpha available The Kermit Project @ Columbia University includes Secure Telnet and FTP http://www.kermit-project.org/ using Kerberos, SRP, and kermit-support@kermit-project.org OpenSSL. SSH soon to follow. From news@columbia.edu Thu Feb 22 10:46:26 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id KAA04926 for ; Thu, 22 Feb 2001 10:46:26 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA07014 for ; Thu, 22 Feb 2001 10:46:26 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id KAA24905 for kermit.misc@watsun.cc.columbia.edu; Thu, 22 Feb 2001 10:22:31 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Telnet connection gives timeout after some time of inactivity Date: 22 Feb 2001 15:22:31 GMT Organization: Columbia University Message-ID: <973arn$oa6$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Mantosh Kharkar wrote: : I have my Sun Servers located at remote site and I am connecting to : them via X-term telnet. I have to pass through internal firewall and : external network and also through the router and the cisco terminal : concentrator at remote site. When my connection remains idle for : approx 30-45 minutes the connection gets hanged and when I press Enter : my login gets disconnected from the server and again I get one more : login prompt. Has anybody faced such kind of situation or know : anything about what can be the problem and how it can be rectified so : that my login session will not hang and get disconnected after long : time of inactivity in the login session ? If you have any clue please : get back to me. OS is Solaris 2.6 and firewall is Firewall-1 Mantosh : Hosts often have idle timeouts. If you don't send them any characters on a Telnet connection for a certain amount of time (whatever the host's idle timeout is), the host logs you out. The same thing might happen in your router or firewall. One solution is to always "press a key" at least once every xx minutes, where xx is the idle timeout. A better solution is to use a Telnet client that will do this for you automatically, such as C-Kermit 7.1: http://www.columbia.edu/kermit/ck71.html C-Kermit's idletimeout-defeating feature is explained here: http://www.columbia.edu/kermit/ckermit3.html#x11 - Frank From news@columbia.edu Thu Feb 22 11:46:27 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id LAA20440 for ; Thu, 22 Feb 2001 11:46:26 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA16899 for ; Thu, 22 Feb 2001 11:46:26 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id LAA27460 for kermit.misc@watsun.cc.columbia.edu; Thu, 22 Feb 2001 11:23:03 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: PC FTP Client supporting OS9/OS9000. Date: 22 Feb 2001 16:23:02 GMT Organization: Columbia University Message-ID: <973ed6$qq1$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <3a9538bc@aston-server2.astondes.com>, Andrew Guy wrote: : Thanks for the info. I will look through the links you provided to see if we : can glean a solution. : : I was hoping to use some utility like CuteFTP.exe (nice user interface, : drag/drop etc. :o) : It's your choice: cuteness, or something that actually works and then later, when you inevitably ask "now how do you automate it?" does not prove to be a dead end. : ... that would provide the funtionality we require, but these : don't appear to be compatible with the OS9 ftp daemons. : Then maybe FTP is not the answer. Try a fresh approach: Kermit on both ends. C-Kermit 7.0 is available for OS-9: http://www.columbia.edu/kermit/ckermit.html and Kermit 95 for Windows (if you need it): http://www.columbia.edu/kermit/k95.html Now the client and server know exactly how to talk to each other and exchange files, and they can do it recursively, and it can be scripted. - Frank From news@columbia.edu Thu Feb 22 14:46:30 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id OAA26038 for ; Thu, 22 Feb 2001 14:46:29 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA17410 for ; Thu, 22 Feb 2001 14:46:28 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id OAA06498 for kermit.misc@watsun.cc.columbia.edu; Thu, 22 Feb 2001 14:42:02 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Woot" Subject: Re: Filename conversions Message-ID: <3a955c70.0@209.4.12.42> Date: Thu, 22 Feb 2001 19:41:39 GMT Organization: Intermedia Business Internet - Beltsville, MD To: kermit.misc@columbia.edu Here is the script I ended up with and it works fine. SET MODEM TYPE DIRECT ; (C-Kermit or Kermit 95) SET PORT COM1 ; (Or other communication port) SET SPEED 9600 ; (Serial port speed) SET CARRIER-WATCH OFF ; (Don't require carrier) SET FLOW NONE ; (Don't use flow control) SET PARITY NONE ; (8 data bits, no parity) SET BLOCK 3 ; (if desired, or 2) SET CONTROL PREFIX ALL ; (Necessary in Kermit 95) SET SEND TIMEOUT 20 ; (Or other number of seconds) SET SEND PAUSE 100 ; (Or other number of milliseconds) SET FILE COLLISION OVERWRITE SET FILE TYPE BINARY ENABLE DELETE BOTH ; needed to make collision overwrite work when HP48 sends file server exit Thanks to everyone for their help. "Jeffrey Altman" wrote in message news:973ap1$o63$1@newsmaster.cc.columbia.edu... > In article <971gs8$de0$1@samba.rahul.net>, wrote: > : Woot wrote: > : : I'm having a great conversation with myself.... :) > : : If I "get" the file from the HP48 (putting the HP48 in server mode) it works > : : fine. > : > : The "file collision" setting would be on the receiving kermit, and have no > : effect on the sending kermit, correct? > > That is correct. The File Collision options only affect the Kermit that > is performing either a RECEIVE or a GET operation. > > The problem was being experienced in this case is due to a combination > of the File Collision options and the default security provided by the > Kermit SERVER. > > The default settings for a Kermit SERVER are: > > Function: Status: > GET Enabled > SEND Enabled > MAIL Enabled > PRINT Enabled > REMOTE ASSIGN Enabled > REMOTE CD/CWD Enabled > REMOTE COPY Enabled > REMOTE DELETE Remote only > REMOTE DIRECTORY Enabled > REMOTE HOST Remote only > REMOTE QUERY Enabled > REMOTE MKDIR Enabled > REMOTE RMDIR Remote only > REMOTE RENAME Enabled > REMOTE SET Enabled > REMOTE SPACE Enabled > REMOTE TYPE Enabled > REMOTE WHO Enabled > BYE Remote only > FINISH Enabled > EXIT Remote only > ENABLE Enabled > > The "Remote only" does not refer to the REMOTE command but to the mode > that the Kermit process executing the SERVER is operating in. Kermit > can be executed in two modes: "remote" and "local". Remote means that > Kermit was started on a remote host and is communicating across the > TTY device back to the client. An example of this scenario is when > a Telnet client is used to connect to a Unix host and C-Kermit is > started from the command line for the purpose of transfering files with > the Telnet client. This is Kermit operating in "remote" mode. > > Every other type of connection is Kermit running in "local" mode. > When Kermit 95 is used to make a telnet connection to a Unix host > it is running in "local" mode. When C-Kermit is used to accept an > incoming connection with SET HOST * it is running in "local" mode. > > The Internet Kermit Service runs in "remote" mode. > > The status of "local" mode can be checked in a script with the > \v(local) variable. It will be 1 when in local mode, and 0 when > in remote mode. > > How does the mode affect the problem experienced by Woot? Here is the > configuration" > > . SET FILE COLLISION OVERWRITE > > . SERVER mode > > . operating in "local" mode since Kermit established the connection > to the HP-48 > > Now the HP-48 tries to SEND a file to Kermit and we discover that Kermit > is not using OVERWRITE mode but instead uses RENAME mode. Why? > > The SERVER is operating with an ENABLE DELETE REMOTE setting. This means > that when the SERVER runs in "local" mode that file deletion is not > permitted. Overwriting or even backing up a file requires an implicit > deletion of the original contents of the file. Therefore, it cannot > be permitted. So when SERVER mode is started the File Collision Overwrite > setting becomes File Collision Rename since that is the closest setting > that will allow the file transfer to proceed without violating the > stated server policy. > > Jeffrey Altman * Sr.Software Designer C-Kermit 7.1 Alpha available > The Kermit Project @ Columbia University includes Secure Telnet and FTP > http://www.kermit-project.org/ using Kerberos, SRP, and > kermit-support@kermit-project.org OpenSSL. SSH soon to follow. From news@columbia.edu Thu Feb 22 14:46:28 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id OAA26024 for ; Thu, 22 Feb 2001 14:46:27 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA17404 for ; Thu, 22 Feb 2001 14:46:26 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id OAA05497 for kermit.misc@watsun.cc.columbia.edu; Thu, 22 Feb 2001 14:20:28 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "dls2" Subject: Re: interfacing to FANUC CNC controller Message-ID: Date: Thu, 22 Feb 2001 19:20:24 GMT Organization: Excite@Home - The Leader in Broadband http://home.com/faster To: kermit.misc@columbia.edu "Frank da Cruz" wrote: > dls2 wrote: > : "Frank da Cruz" wrote: > : ... > : > So try this: > : > > : > set xmit prompt 20 ; 20 is the ASCII (decimal) code > : > for Ctrl-T. > : > So did you try it? Yes, setting the xmit prompt to 20 does not work, but setting the xmit prompt to 0 does work, for preventing transfer time- outs from occuring; so, that problem is solved, but I am still having DC (Device Control) characters appear at the start and stop of each session log. Flow control is set to XON/XOFF. DC (Device Control) characters do not appear on the terminal screen, but do appear in the session log. Shouldn't the DC (Device Control) characters be stripped out of the session log, the same as for the terminal screen, having been interpreted as XON/XOFF signaling, rather than as textual content? appreciatively, -- Derrick Shearer From news@columbia.edu Thu Feb 22 14:46:36 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id OAA21699 for ; Thu, 22 Feb 2001 14:46:33 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA17407 for ; Thu, 22 Feb 2001 14:46:27 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id OAA06460 for kermit.misc@watsun.cc.columbia.edu; Thu, 22 Feb 2001 14:40:54 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: interfacing to FANUC CNC controller Date: 22 Feb 2001 19:40:54 GMT Organization: Columbia University Message-ID: <973q06$69p$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , dls2 wrote: : "Frank da Cruz" wrote: : > dls2 wrote: : > : "Frank da Cruz" wrote: : > : ... : > : > So try this: : > : > : > : > set xmit prompt 20 ; 20 is the ASCII (decimal) code : > : > for Ctrl-T. : > : : > So did you try it? : : Yes, setting the xmit prompt to 20 does not work, but setting : the xmit prompt to 0 does work, for preventing transfer time- : outs from occuring; so, that problem is solved, but I am still : having DC (Device Control) characters appear at the start : and stop of each session log. : That means the device is sending them. : DC (Device Control) characters do not appear on the terminal : screen... : Because they are invisible. They would appear if you used Alt-D to put the terminal screen in debug mode. : but do appear in the session log. Shouldn't the DC : (Device Control) characters be stripped out of the session log, : the same as for the terminal screen, having been interpreted : as XON/XOFF signaling, rather than as textual content? : But you said the DC characters were Ctrl-R and Ctrl-T. Those are not Xon and Xoff. Xon is Ctrl-Q, Xoff is Ctrl-S. Kermit is doing its job. - Frank From news@columbia.edu Thu Feb 22 15:16:28 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id PAA05968 for ; Thu, 22 Feb 2001 15:16:28 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA22747 for ; Thu, 22 Feb 2001 15:16:27 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id OAA07125 for kermit.misc@watsun.cc.columbia.edu; Thu, 22 Feb 2001 14:56:56 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: connecting to serial port Date: 22 Feb 2001 14:56:51 -0500 Organization: Columbia University Message-ID: <973qu3$ino@watsun.cc.columbia.edu> To: kermit.misc@columbia.edu In article <20010222145025.00526.00000169@ng-ft1.aol.com>, ABSOLUTEOKC wrote: : I am having difficulty because I am trying to connect a piece of medical : equipment, PLV 102 with my computer. We recieved Kermit 95 some time ago but : have not yet used it. I really don't know where to start. I am using the : Dialer and tried to add a connection. The item doesn't actually connect with : the machine. Is there any help you can give me? This is for calibrating the : PLV 102. Currently our operating system is Win 98. : So it's a direct serial-cable connection? So you'll have to fill in all the blanks appropriately: com port, modem type is "direct", the appropriate speed and parity, etc. Also you'll need the appropriate kind of cable, probably a null-modem cable, with the necessary complement of wires and jumpers. But we don't know what a PLV 102 is so you'll need to read its interfacing instructions for guidance. Once you have filled in all the blanks in the Dialer, you can highlight the entry and click on CONNECT. If it seems to start up and then go away again immediately, it probably means your cable is not wired correcly. In which case you can try going to the Serial page and unchecking Carrier Detection. The documentation is full of chapters explaining all this stuff. - Frank From news@columbia.edu Thu Feb 22 15:16:30 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id PAA10823 for ; Thu, 22 Feb 2001 15:16:27 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA22744 for ; Thu, 22 Feb 2001 15:16:27 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id OAA06897 for kermit.misc@watsun.cc.columbia.edu; Thu, 22 Feb 2001 14:52:03 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "dls2" Subject: Re: interfacing to FANUC CNC controller Message-ID: Date: Thu, 22 Feb 2001 19:52:00 GMT Organization: Excite@Home - The Leader in Broadband http://home.com/faster To: kermit.misc@columbia.edu "Frank da Cruz" wrote: > dls2 wrote: > : but do appear in the session log. Shouldn't the DC > : (Device Control) characters be stripped out of the session log, > : the same as for the terminal screen, having been interpreted > : as XON/XOFF signaling, rather than as textual content? > : > But you said the DC characters were Ctrl-R and Ctrl-T. Those are > not Xon and Xoff. Xon is Ctrl-Q, Xoff is Ctrl-S. Kermit is doing > its job. **** DC1 11 ^Q device control 1 - turn on the paper tape reader. In early documentation, this was called XON. DC2 12 ^R device control 2 - turn on the paper tape punch. DC3 13 ^S device control 3 - turn off the paper tape reader. In early documentation, this was called XOFF, The use of XON/XOFF (DC1/DC3) for flow control stems from their use to control the flow of data from the paper tape reader attached to a Teletype. DC4 14 ^T device control 4 - turn off the paper tape punch. **** http://www.cs.fiu.edu/~smithg/cop5621/lowascii.html So, should Kermit be corrected, in this regard? -- Derrick Shearer From news@columbia.edu Thu Feb 22 15:16:30 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id PAA09562 for ; Thu, 22 Feb 2001 15:16:30 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA22750 for ; Thu, 22 Feb 2001 15:16:27 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id PAA07429 for kermit.misc@watsun.cc.columbia.edu; Thu, 22 Feb 2001 15:03:02 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: interfacing to FANUC CNC controller Date: 22 Feb 2001 20:03:02 GMT Organization: Columbia University Message-ID: <973r9m$77v$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , dls2 wrote: : "Frank da Cruz" wrote: : > dls2 wrote: : > : but do appear in the session log. Shouldn't the DC : > : (Device Control) characters be stripped out of the session log, : > : the same as for the terminal screen, having been interpreted : > : as XON/XOFF signaling, rather than as textual content? : > : : > But you said the DC characters were Ctrl-R and Ctrl-T. Those are : > not Xon and Xoff. Xon is Ctrl-Q, Xoff is Ctrl-S. Kermit is doing : > its job. : : **** : DC1 11 ^Q device control 1 - turn on the paper tape reader. : In early documentation, this was called XON. : : DC2 12 ^R device control 2 - turn on the paper tape punch. : : DC3 13 ^S device control 3 - turn off the paper tape reader. : In early documentation, this was called XOFF, The use of : XON/XOFF (DC1/DC3) for flow control stems from their use to : control the flow of data from the paper tape reader attached to a : Teletype. : : DC4 14 ^T device control 4 - turn off the paper tape punch. : **** : http://www.cs.fiu.edu/~smithg/cop5621/lowascii.html : : So, should Kermit be corrected, in this regard? : No. We don't seem to be communicating. I know what control characters are, you don't need to explain them. You said the "DC characters" in your log were DC2 and DC4, and wondered why they are in there. I said it's because the device is sending them. The session log simply records what the device sends. An except would be Xon and Xoff (DC1 and DC3) if and only if Xon/Xoff flow control is in effect. In this case, the OPERATING SYSTEM acts on these characters and does not pass them to the application. Kermit is not stripping them out, Kermit never gets them. But DC2 and DC4 are not flow control characters, so Kermit gets them and records them, just as you asked it to. There is at present no mechanism to tell K95 to strip out DC2 and DC4 characters but of course you can always do this with a postprocessing step. - Frank From news@columbia.edu Thu Feb 22 15:16:29 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id PAA10817 for ; Thu, 22 Feb 2001 15:16:28 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA22740 for ; Thu, 22 Feb 2001 15:16:26 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id OAA06874 for kermit.misc@watsun.cc.columbia.edu; Thu, 22 Feb 2001 14:51:19 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: absoluteokc@aol.com (ABSOLUTEOKC) Date: 22 Feb 2001 19:50:25 GMT Organization: AOL http://www.aol.com Subject: connecting to serial port Message-ID: <20010222145025.00526.00000169@ng-ft1.aol.com> To: kermit.misc@columbia.edu I am having difficulty because I am trying to connect a piece of medical equipment, PLV 102 with my computer. We recieved Kermit 95 some time ago but have not yet used it. I really don't know where to start. I am using the Dialer and tried to add a connection. The item doesn't actually connect with the machine. Is there any help you can give me? This is for calibrating the PLV 102. Currently our operating system is Win 98. From news@columbia.edu Thu Feb 22 19:16:28 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id TAA18912 for ; Thu, 22 Feb 2001 19:16:27 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id TAA03890 for ; Thu, 22 Feb 2001 19:16:27 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id TAA18553 for kermit.misc@watsun.cc.columbia.edu; Thu, 22 Feb 2001 19:16:22 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: David Stow Subject: MSKermit ODI question Date: 23 Feb 2001 00:07:44 GMT Organization: Vancouver CommunityNet Message-ID: <9749kg$cl8$1@sylvester.vcn.bc.ca> To: kermit.misc@columbia.edu When MSKermit is used over ODI, what determines the best values for buffers and mempool in the KERMIT section of the net.cfg file? Are these values set according to specifications from the MLID author, or are they LSL variables that are independent of the MLID? Thanks, David Stow From news@columbia.edu Thu Feb 22 21:16:27 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id VAA14620 for ; Thu, 22 Feb 2001 21:16:27 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id VAA11858 for ; Thu, 22 Feb 2001 21:16:27 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id VAA23158 for kermit.misc@watsun.cc.columbia.edu; Thu, 22 Feb 2001 21:01:51 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jrd@cc.usu.edu (Joe Doupnik) Subject: Re: MSKermit ODI question Message-ID: Date: 22 Feb 01 18:56:40 MDT Organization: Utah State University To: kermit.misc@columbia.edu In article <9749kg$cl8$1@sylvester.vcn.bc.ca>, David Stow writes: > When MSKermit is used over ODI, what determines the best values for > buffers and mempool in the KERMIT section of the net.cfg file? Are these > values set according to specifications from the MLID author, or are they > LSL variables that are independent of the MLID? > > Thanks, > David Stow --------- They are used by the LSL, Link Support Layer, of ODI. Use typical values of buffers 8 1500 mempool 4096 The MLID (lan driver for the rest of you) does not know about these things. Joe D. From news@columbia.edu Fri Feb 23 11:16:29 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id LAA21781 for ; Fri, 23 Feb 2001 11:16:29 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA03293 for ; Fri, 23 Feb 2001 11:16:28 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id LAA15323 for kermit.misc@watsun.cc.columbia.edu; Fri, 23 Feb 2001 11:00:35 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Help needed on writing scripts to transfer files by FTP Date: 23 Feb 2001 16:00:34 GMT Organization: Columbia University Message-ID: <9761f2$eup$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <3A9647C3.473C192E@ssynth.co.uk>, Andrew Gay wrote: : Tien Nguyen wrote: : > : > #!/bin/sh : > : > ftp < open 172.16.10.10 : > user abc cde : > bin : > get file1 : > quit : > EOF : > : : I am surprised by the number of incorrect responses to this, and people : posting so-called 'solutions' thay haven't actually tried. : : Tien's suggestion above will not work. ftp will still prompt for a username : and password (unless the account doesn't require one). : : The 'correct' solution is to create a file .netrc in the user's home : directory. See man netrc for details. : There is a new correct response: a fully scriptable FTP client from the Kermit Project at Columbia University. Not only is it scriptable but it does all the other things that everybody has been asking for all these years: . Security . Recursion (directory-tree traversal) . Character-set translation . Atomic file movement . Automatic text/binary mode switching . Flexible file selection . Preservation of dates and permissions . Update and recovery modes . Filename collision options The command language can be used interactively (like a regular FTP client), in which case it is much friendlier than what you are used to: it gives help, it offers filename and keyword completion, and so forth. The same command language can be used to write automated procedures, and it offers the programming features you need: . User-defined and built-in variables and arrays. . User-defined and built-in functions. . Block structure, scoping. . Pattern matching. . Decision making (nestable IF-ELSE, SWITCH) . Looping (FOR, WHILE) . Associative arrays . Integer and floating-point arithmetic And on and on. The new FTP client is built in to C-Kermit 7.1, and is available for all varieties of UNIX: Solaris, Linux, AIX, IRIX, HP-UX, and all the rest. You can find it here: http://www.columbia.edu/kermit/ftpclient.html You can find a scripting tutorial here to help you get started: http://www.columbia.edu/kermit/ftpscript.html And you can find complete documentation here: http://www.columbia.edu/kermit/ckermit3.html#x3 If you have questions, you can post them to: news:comp.protocols.kermit.misc or send them by email to: kermit-support@columbia.edu Give it a try -- it does all the things that people have been asking for all these years on the newsgroups. - Frank From news@columbia.edu Fri Feb 23 12:16:43 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id MAA23429 for ; Fri, 23 Feb 2001 12:16:30 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA12582 for ; Fri, 23 Feb 2001 12:16:28 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id MAA18243 for kermit.misc@watsun.cc.columbia.edu; Fri, 23 Feb 2001 12:03:21 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: David Stow Subject: Re: MSKermit ODI question Date: 23 Feb 2001 16:54:42 GMT Organization: Vancouver CommunityNet Message-ID: <9764ki$pm2$1@sylvester.vcn.bc.ca> To: kermit.misc@columbia.edu In article <9749kg$cl8$1@sylvester.vcn.bc.ca>, David Stow writes: > When MSKermit is used over ODI, what determines the best values for > buffers and mempool in the KERMIT section of the net.cfg file? Are these > values set according to specifications from the MLID author, or are they > LSL variables that are independent of the MLID? > > Thanks, > David Stow --------- They are used by the LSL, Link Support Layer, of ODI. Use typical values of buffers 8 1500 mempool 4096 The MLID (lan driver for the rest of you) does not know about these things. Joe D. _____________ Thanks for writing back. I probably asked the wrong question, and should have started by giving the symptoms. I'm using MSKermit 3.16 beta 07 to make a Telnet connection (over ODI) between two local computers, and to transfer files between them. The MSKermit Telnet server seems to work all right, and it honours commands from the MSKermit client like remote dir, remote help, remote cd, etc. The "get" command works for small files, but when I try to get larger files the server immediately fills up all available windows and the transfer freezes. For example, if I "set windows 8" on both machines, the transfer will proceed smoothly for a while. The server will show a message like "Windows: 3 of 8 in use" and the client will show "1 of 8 in use". As soon as the server reaches "8 of 8 in use" the transfer halts, with the client still showing "1 of 8 in use". I first thought that this might have something to do with the LSL buffers, but changing their values hasn't helped. I don't know the details of the Transmission Control or Kermit protocols well enough to say what's going wrong, but it seems like the client's acknowledgements aren't getting back to the server at one of these levels. Any advice, speculation, or pointers to existing documents about Kermit windows with TCP/IP would be welcome. Thanks again, David Stow From news@columbia.edu Fri Feb 23 13:16:28 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id NAA16579 for ; Fri, 23 Feb 2001 13:16:28 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA22467 for ; Fri, 23 Feb 2001 13:16:28 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id MAA20138 for kermit.misc@watsun.cc.columbia.edu; Fri, 23 Feb 2001 12:53:14 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: logan@cs.utexas.edu (Logan Shaw) Subject: Re: Help needed on writing scripts to transfer files by FTP Date: 23 Feb 2001 11:53:04 -0600 Organization: CS Dept, University of Texas at Austin Message-ID: <976820$haq$1@boomer.cs.utexas.edu> To: kermit.misc@columbia.edu In article <9761f2$eup$1@newsmaster.cc.columbia.edu>, Frank da Cruz wrote: >There is a new correct response: a fully scriptable FTP client from the >Kermit Project at Columbia University. Not only is it scriptable but it >does all the other things that everybody has been asking for all these >years: > > . Security How does it have security if it implements the FTP protocol? :-) - Logan -- my your his her our their *its* I'm you're he's she's we're they're *it's* From news@columbia.edu Fri Feb 23 13:16:29 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id NAA16586 for ; Fri, 23 Feb 2001 13:16:29 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA22470 for ; Fri, 23 Feb 2001 13:16:28 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id NAA20902 for kermit.misc@watsun.cc.columbia.edu; Fri, 23 Feb 2001 13:11:48 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Help needed on writing scripts to transfer files by FTP Date: 23 Feb 2001 18:11:48 GMT Organization: Columbia University Message-ID: <976954$kd3$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <976820$haq$1@boomer.cs.utexas.edu>, Logan Shaw wrote: : In article <9761f2$eup$1@newsmaster.cc.columbia.edu>, : Frank da Cruz wrote: : >There is a new correct response: a fully scriptable FTP client from the : >Kermit Project at Columbia University. Not only is it scriptable but it : >does all the other things that everybody has been asking for all these : >years: : > : > . Security : : How does it have security if it implements the FTP protocol? :-) : Did you follow the link and read about it? http://www.columbia.edu/kermit/ftpclient.html It says: Security Any of Kermit's security methods can be used to establish and conduct secure FTP sessions with FTP servers that support these methods: Kerberos 4, Kerberos 5 / GSSAPI, SSL, TLS, or SRP. Due to recent relaxations in USA export law, Kermit's security methods will be more widely available than they were in previous releases. Secure FTP servers are available from the sources listed here (i.e. at http://www.columbia.edu/kermit/telnetd.html). NOTE: The security features are optional. They do not have to be included in the Kermit program, and if they are, you don't have to use them. You can use C-Kermit as an FTP client without using the security features, just as you use the regular UNIX FTP client. (end quote) Many people believe that FTP and Telnet are inherently insecure protocols. They are not -- it's just that the servers that come by default with most OS's do not include the security features. Hopefully the recent relaxation in USA export law will result in secure versions from Sun, IBM, etc, as well as for Linux and friends. - Frank From news@columbia.edu Fri Feb 23 14:46:29 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id OAA20137 for ; Fri, 23 Feb 2001 14:46:28 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA06562 for ; Fri, 23 Feb 2001 14:46:28 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id OAA24324 for kermit.misc@watsun.cc.columbia.edu; Fri, 23 Feb 2001 14:32:00 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jrd@cc.usu.edu (Joe Doupnik) Subject: Re: MSKermit ODI question Message-ID: Date: 23 Feb 01 12:20:38 MDT Organization: Utah State University To: kermit.misc@columbia.edu In article <9764ki$pm2$1@sylvester.vcn.bc.ca>, David Stow writes: > In article <9749kg$cl8$1@sylvester.vcn.bc.ca>, David Stow > writes: >> When MSKermit is used over ODI, what determines the best values for >> buffers and mempool in the KERMIT section of the net.cfg file? Are > these >> values set according to specifications from the MLID author, or are they >> LSL variables that are independent of the MLID? >> >> Thanks, >> David Stow ------------ Your symptoms are those of Ethernet problems. For example, never allow full duplex Ethernet to be used unless you are positive that the other end of the wire as well as your end supports Ethernet PAUSE frames properly. Many systems fail right there; use half duplex, lock the speed. Autonegotiation is a wonderful way of causing big troubles. Also, all lan adapters are not equal. Some are quite a bit worse than others, and reveal their true nature under load. Some merely have personalities to be worked around. Rather than dealing with an open ended question such as "tell us all about that" I won't. Instead tend to your particular gear or let me know of details. Finally, Ethernet wiring is intolerant of mistakes. If in doubt get a commercially made cable. Joe D. From news@columbia.edu Fri Feb 23 15:16:29 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id PAA28076 for ; Fri, 23 Feb 2001 15:16:28 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA11396 for ; Fri, 23 Feb 2001 15:16:28 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id OAA25450 for kermit.misc@watsun.cc.columbia.edu; Fri, 23 Feb 2001 14:58:35 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Help needed on writing scripts to transfer files by FTP Date: 23 Feb 2001 19:58:34 GMT Organization: Columbia University Message-ID: <976fda$or7$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , ERA wrote: : ... : Thanks for all the work on this : excellent software. Now if I could only convince my web host to put : up an IKSD I'd be a happy man. ;-) : Try harder :-) You get a lot more services with IKSD than you do with FTP. FTP servers tend to be pretty bare-bones. : Two more questions: When will Using C-Kermit THIRD Edition be : available? Will it be hard copy or soft copy? : We're working on it. Hard copy definitely. Soft copy -- remains to be seen. Remember, the copyright is owned by the publisher. - Frank From news@columbia.edu Fri Feb 23 15:16:31 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id PAA01384 for ; Fri, 23 Feb 2001 15:16:30 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA11409 for ; Fri, 23 Feb 2001 15:16:28 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id OAA25160 for kermit.misc@watsun.cc.columbia.edu; Fri, 23 Feb 2001 14:51:01 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: era@eracc.bizland.com (ERA) Organization: ERA Computer Consulting Message-ID: Subject: Re: Help needed on writing scripts to transfer files by FTP Date: Fri, 23 Feb 2001 19:47:57 GMT To: kermit.misc@columbia.edu On Fri, 23 Feb 2001 18:11:48, fdc@watsun.cc.columbia.edu (Frank da Cruz) wrote: > In article <976820$haq$1@boomer.cs.utexas.edu>, > Logan Shaw wrote: > : In article <9761f2$eup$1@newsmaster.cc.columbia.edu>, > : Frank da Cruz wrote: > : >There is a new correct response: a fully scriptable FTP client > : >from the Kermit Project at Columbia University. Not only is it > : >scriptable but it does all the other things that everybody has > : >been asking for all these years: > : > > : > . Security > : > : How does it have security if it implements the FTP protocol? :-) > : > Did you follow the link and read about it? > > http://www.columbia.edu/kermit/ftpclient.html .. > > - Frank Hi Frank, I did go read about it. It states this: "The next release of C-Kermit for UNIX (including Linux, Solaris, AIX, HP-UX, FreeBSD, NetBSD, Tru64, QNX, SCO, IRIX, and all others for which TCP/IP-capable C-Kermit versions are presently available) and Kermit 95 (for Windows 95, 98, ME, NT, and 2000, and OS/2) will include a built-in FTP client. ..." I am running: "Kermit 95 1.1.20, 31 Mar 2000, for 32-bit OS/2" Typing help ftp returns this: [E:/K2/] Kermit/2>help ftp Syntax: FTP [ IP-hostname-or-number ] Makes an FTP connection to the given IP host or, if no host specified, to the current host. Uses the system's FTP program, if any. Since the first statement, from your site, says "will include" and the page is dated "4 January 2001" I take it to mean that my version doesn't have it yet. Will this be in Kermit for OS/2 version 1.1.21 when it is available? ... Ah ha! I just answered my own question by viewing ( http://www.columbia.edu/kermit/k95.html#future ). Yay! You guys are great! I've been looking for scriptable OS/2 FTP that has the ability to send/receive whole directory trees without a lot of hassle. I can script the OS/2 FTP with REXX but to send and receive a whole tree with it would be a programming nightmare for me. So, I've been putting it off. :-) Thanks for all the work on this excellent software. Now if I could only convince my web host to put up an IKSD I'd be a happy man. ;-) Two more questions: When will Using C-Kermit THIRD Edition be available? Will it be hard copy or soft copy? You guys have made enough changes and added enough features that a new book would be very nice to see. Gene -- +=========================-=>Unix & OS/2<=-=========================+ # Owner and C.E.O. - ERA Computer Consulting - Jackson, TN USA # # Providing OS/2, OpenServer & Linux Business Computing Solutions # # Please visit our www pages at http://eracc.bizland.com/ # +===================================================================+ We run IBM OS/2 v.4.00, Revision 9.036 Sysinfo: 40 Processes, 159 Threads, uptime is 1d 12h 8m 38s 155ms From news@columbia.edu Fri Feb 23 20:16:29 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id UAA09463 for ; Fri, 23 Feb 2001 20:16:29 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id UAA28456 for ; Fri, 23 Feb 2001 20:16:28 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id UAA08309 for kermit.misc@watsun.cc.columbia.edu; Fri, 23 Feb 2001 20:02:03 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Modem Scripting Tutorial Date: 24 Feb 2001 01:02:02 GMT Organization: Columbia University Message-ID: <97716a$83i$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu It's been a while since scripting tutorials have been posted here, but with C-Kermit 7.1 nearing release, with all its new scripting features, now seems like a good time to resurrect the practice. Does your organization have a big modem pool? Of course (like any other big university) ours has has a pool of many hundreds of lines. As you know, phone lines aren't cheap so the annual cost of running a big modem pool is painful. Yet, even in this age of DSL and cable modems, the demand for modems never stops increasing, and therefore so do the complaints about busy signals, and the pressure to increase the capacity, and the counterpressure to contain contain costs. (Eventually some day every room will have an Internet jack and modems will have the same historical status as card punches and Teletypes, but that's another discussion -- for now DSL in the home is often not available, usually has a long wait when it is, and it's expensive). One consequence of all this is the need to monitor and test the modem pool to make sure it's working at its best -- no broken or poorly-performing lines or servers -- plus the degree to which it is available, i.e. the answer-to-call ratio. There's a script for doing this in the Kermit script library, but it's undergone quite a few refinements in recent months as we reconfigure our modem pool, change telephone service providers, etc, and many of the refinements nicely illustrate new features of C-Kermit 7.1 (and the forthcoming next release of Kermit 95). http://www.columbia.edu/kermit/ck71.html The script is given a list of phone numbers and a list of terminal-server names. Each list can have one or more items. Obviously the script also needs to know the details of the calling computer: serial device and/or modem name, speed, etc. The script prompts for password (because it's a bad idea to store passwords in files) and runs in a loop, performing the following actions: 1. Calls the next phone number from the list (which is circular). If the call is not answered or the line is busy, the appropriate error is logged and this step is repeated. 2. Gets the terminal server prompt, gives any necessary configuration commands to the terminal server, and then requests a Telnet connection to a host computer. If this fails, an error is logged and the script hangs up and goes back to step 1. If the terminal server announces its name and the line number for the call, these are captured. 3. Logs in to the host computer. 4. Starts a Kermit server on the host, uploads a 100K precompressed file and downloads the same file. 6. Says BYE to the Kermit server, closing the connection. 7. Gets statistics about the call from the modem, including block-error and retrain counts and final session modulation speeds. 5. Writes a log record showing the date and time, phone number, terminal server name and line, initial connection speed. final input and output modulation speeds, block-error and retrain counts, and the upload and download throughput in characters per second. Here is bit of a log: Date Time Number Line Speed Speed-After Blers Retr Upload Dnload ---------- ------- -------- ----- ----------- ----- ---- ------ ------ 02/22 0905 5551234 ccts5:080 49333 50666/28800 0 0 2951 5184 02/22 0907 5551235 ccts3:002 49333 49333/31200 1 0 3255 5143 02/22 0909 5551236 ccts2:096 49333 49333/31200 6 0 3243 5031 02/22 0911 5551237 ccts5:051 49333 50666/28800 1 0 3002 5220 02/22 0913 5551238 ccts5:069 49333 50666/28800 0 0 3008 5234 In this case we're calling from a V.90 (56K) modem, which, as you know, supports higher speeds in the incoming direction than the outgoing. The terminal server names are ccts2, ccts3, etc; the combination of server name and line number specify a particular telephone circuit and modem. Naturally, every imaginable kind of error is caught and logged: 02/22 0917 5551240 ccts3:076 49333 49333/31200 5 0 3217 5068 02/22 0919 5551241 ccts5:112 49333 UNKNOWN UNK UNK 3010 5215 02/22 1055 5551241 ccts4:UNK 31200 UNKNOWN UNK UNK FAILED FAILED 02/22 1119 5551243 FAILED: "BUSY" 02/22 1509 5551244 FAILED: "NO CARRIER" 02/22 1509 5551245 ccts5:183 49333 50666/31200 1 0 2925 5201 The script can be halted between calls by the operator from the keyboard, but you don't need to halt it to get at the log, which is opened and closed around each write so it can be examined, copied, uploaded, or whatever on platforms that might not allow shared access to open files. The log format is such that headings and so forth can be separated out (in UNIX) with: grep ^[0-9] modem.log > entries leaving one line per call: wc -l entries # number of calls grep -v FAILED entries | wc -l # number that were answered The ratio of these two numbers gives the answer-to-call ration. (C-Kermit 7.1 also has its own internal GREP and line-counting commands in case you're not using UNIX.) A log of successful calls can be sorted in various ways because the columns are fixed. For example, sorting on the "Line" column puts multiple calls to the same number together. The numeric data can be analyzed statistically too. For example, you can get the minimum, maximum, and mean upload or download speed and you can correlate it with telephone or line number to see (for example) if certain lines, terminal servers, or phone numbers perform better or worse than others over many calls (this would also jump out at you when eyeballing a sorted log). The updated modem-test script is here: ftp://kermit.columbia.edu/kermit/scripts/ckermit/modemtest2 Let's look at a few pieces of it: dcl \&n[] = 5551234 5551235 5551236 5551237 5551238 5551239 5551240 - 5551241 5551242 5551243 5551244 5551245 5551246 5551247 dcl \&p[] = ccts1 ccts2 ccts3 ccts4 ccts5 ccts6 This declares an array \&n[] and loads it with 16 phone numbers, and another array \&p[], loading it with six terminal-server names. To change the script to use different lists of numbers and names requires changing only these two statements -- everything else adjusts itself automatically. The terminal-server prompt turns out to be the terminal-server name followed by a ">" character, such as "ccts3>", so we construct a parallel array, \&q[], of prompts: dcl \&q[\fdim(&p)] for \%i 1 \fdim(&p) 1 { .\&q[\%i] := \&p[\%i]> } The size of this array must be included in its declaration, since we are not initializing it in the declaration. But unlike in other languages (such as C), the size need not be a constant. In this case we say that the size is the "dimension" (size) of the array \&p[]. Then we loop through the new array, making the appropriate assignments. Here's where we dial, illustrating (a) how we dial a number from the array; (b) how we handle failures based on Kermit's \v(dialstatus) variable (the \v(dialresult) variable is the modem's call-result message string): dial \&n[\%i] ; \%i is the loop variable. if fail { switch \v(dialstatus) { :8, logrecord {FAILED: Timed out}, break :9, logrecord {FAILED: User canceled}, stop :10, logrecord {FAILED: Modem not ready}, break :default, logrecord {FAILED: "\v(dialresult)"}, break } continue } The terminal servers in question are Ciscos. Upon connection you can either send PPP negotiation data or else request a command prompt by sending a carriage return. The script sends a carriage return. The server prints a screenful of text and then the prompt: ccts4 line 17 Welcome to blah blah blah blah blah blah blah blah blah blah ccts4> The text might or might not contain a line like this: ccts4 line 17 If it does, we need to pick up the line (port) number, but if it doesn't, we don't want to get stuck waiting for it. So instead, we scoop up everything up to and including the prompt: clear input ; Clear the INPUT buffer .\%x := 0 ; (explained below) for \%j 1 10 1 { ; Try 10 times to get terminal server herald output \13 ; Send Carriage Return (ASCII 13) minput 10 \fjoin(&q,,2) ; Look for any of the prompts if success break ; Quit this loop if we get one } if > \%j 10 { ; This means we didn't get one. logrecord {FAILED: No terminal server prompt} continue ; Go make another call. } The magic command in this section is: minput 10 \fjoin(&q,,2) The function \fjoin() is new to C-Kermit 7.1. It replaces itself with a text string consisting of all the elements of the given array, separated (in this case) by spaces (the "2" is a formatting code). Therefore, this statement is equivalent to: minput 10 ccts1> ccts2> ccts3> ccts4> ccts5> ccts6> This is not simply a notational convenience. It's one of the features that allows our script to be table-driven, in the sense that we only have to change the array initialization to make the script use different server names or phone numbers, and even different numbers of them, without having to change other lines in the script, such as the MINPUT that looks for all the possible prompts. If the MINPUT command succeeded, we have the entire output of the terminal server in our \v(input) variable. Now we can scan it for the line-number text: .tmp := \v(input) ; Copy the \v(input) variable .\%x = \v(minput) ; The item that MINPUT matched (1, 2, 3, ...) The next statement searches for the line-number message. \&p[\%x] is the name of this server, corresponding to the prompt. So, for example, if the prompt was "ccts4>", the server name is "ccts4" and this statement searches the text we just read for the string "ccts4 line ". .\%y = \findex({\&p[\%x] line },\m(tmp)) Next, we initialize the tsport (terminal-server port) variable to "UNK" in the desired line was not found: .tsport = UNK Then if the "ccts4 line " string was found, we use another function, \fword(), to get the third "word" from the string that starts with "ccts4 line ". This is the line number. Then we left-pad (\flpad()) it with 0's so it is exactly 3 digits: if > \%y 0 { .tsport := \flpad(\fword(\s(tmp[\%y]),3),3,0) } Now we know the server name and the port number: .tsport := \&p[\%x]:\m(tsport) which, continuing with our example, becomes: ccts4:017 The rest is fairly straightforward: the regular OUTPUT / INPUT / IF FAIL sequence familiar to all Kermit script writers, to accomplish login, starting the Kermit program on the far end, transferring files, and logging out. There is one new feature in the data-transfer phase that puts some status information in the file-transfer display: SET TRANSFER MESSAGE text in which the text can contain variables. In this case it's used to show the call sequence number, the phone number, the terminal server name and port, and the time the transfer started (so you can easily tell if it's stuck): set xfer message \m(seq): \v(dialnumber) (\m(tsport)) \v(time) e.g. Last Message: 712: 5554321 (ccts3:020) 16:02:56 After logout comes another interesting part, where we query the modem for statistics and capture them. Of course the details depend on the modem. For US Robotics modems we "output ATI6\13" and then parse the results as follows: set flag off while not flag { minput 10 Blers Retrains Speed OK switch \v(minput) { :1, clear input, input 2 \10, .blers := \fword(\v(input),1), break :2, clear input, input 2 \10, .retrains := \fword(\v(input),5), break :3, clear input, input 2 \10, .ospeed := \fword(\v(input),1,,/), break :4, set flag on, break } } In other words, we look for any of "Blers", "Retrains", "Speed", and "OK" (which terminates the report). If we get OK, we're done. Otherwise we read the rest of the line ("input 2 \10", i.e. read up to a linefeed) and then use \fword() to extract the desired word. The script requires about 2 minutes per call, so if all goes well it collects about 720 records per day, using a 100K test file and calling a 56K modem pool. It's best to collect several samples per server port, which could take a day or two or more, depending on the size of your pool and its hunt strategy. Finally, obtaining statistics from the results is easier than ever using C-Kermit 7.1's new floating-point arithmetic and S-Expression syntax: ftp://kermit.columbia.edu/kermit/scripts/ckermit/stats All we need to do is filter out the error records, as shown at the top, and then use UNIX 'cut' to isolate the desired two columns of numbers. If the servername:port column is one of them, we can simply filter out the non-numeric characters, so (for example) ccts4:017 becomes 4017. Records that have ccts4:UNK are discarded completely since we don't know the port number. Here we get statistics for upload and download speed versus server:port: grep ^[0-9] modem.log | grep -v FAILED > tmp cut -c21-31,65-70 < tmp > up cut -c21-31,72-78 < tmp > dn tr -d "[a-z:]" < up | grep -v UNK > up2 tr -d "[a-z:]" < dn | grep -v UNK > dn2 stats up2 stats dn2 The last one ("stats dn2") prints something like this: Points: 382 X Y Miminum: 2001.00 1875.00 Maximum: 5192.00 5282.00 Mean: 3642.26 5016.66 Variance: 1811436.52 157155.99 Std Deviation: 1345.90 396.43 Correlation coefficient: 0.12 - Frank From news@columbia.edu Fri Feb 23 22:16:30 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id WAA05120 for ; Fri, 23 Feb 2001 22:16:29 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id WAA17207 for ; Fri, 23 Feb 2001 22:16:29 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id VAA12852 for kermit.misc@watsun.cc.columbia.edu; Fri, 23 Feb 2001 21:49:11 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f Subject: Hey! Here's a way to delay win32 kermit even more :-) From: Tom.Horsley@worldnet.att.net (Thomas A. Horsley) Message-ID: Date: Sat, 24 Feb 2001 02:49:04 GMT Organization: AT&T Worldnet To: kermit.misc@columbia.edu How about making win32 kermit an OLE automation client? That way people could take advantage of all the wonderful kermit features without having to learn yet another scripting language to automate things. They could use any scripting language they feel like if it happens to support OLE scripting... -- >>==>> The *Best* political site >>==+ email: Tom.Horsley@worldnet.att.net icbm: Delray Beach, FL | Free Software and Politics <<==+ From news@columbia.edu Sat Feb 24 11:46:30 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id LAA02929 for ; Sat, 24 Feb 2001 11:46:29 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA02901 for ; Sat, 24 Feb 2001 11:46:29 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id LAA13186 for kermit.misc@watsun.cc.columbia.edu; Sat, 24 Feb 2001 11:36:42 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Hey! Here's a way to delay win32 kermit even more :-) Date: 24 Feb 2001 16:36:42 GMT Organization: Columbia University Message-ID: <978nuq$cs0$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Thomas A. Horsley wrote: : How about making win32 kermit an OLE automation client? That way people : could take advantage of all the wonderful kermit features without having to : learn yet another scripting language to automate things. They could use any : scripting language they feel like if it happens to support OLE scripting... : Hey, Kermit was here first -- Microsoft should have made OLE "Kermit compliant", not the other way around. Those who know the Kermit scripting language can use it on several hundred different platforms. Try running your OLE script on Linux, Solaris, HP-UX, AIX, IRIX, FreeBSD, Unixware, Tru64, Ultrix, SunOS, VMS, AOS/VS, VOS, MS-DOS, OS/2, AmigaDOS, and all the other plaftorms where Kermit scripts run. We'll do the GUI first and worry about the other 3-letter acronyms later. The K95 GUI is our absolute number-one top priority at the moment. - Frank From news@columbia.edu Sat Feb 24 12:16:30 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id MAA23105 for ; Sat, 24 Feb 2001 12:16:30 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA07804 for ; Sat, 24 Feb 2001 12:16:29 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id LAA13738 for kermit.misc@watsun.cc.columbia.edu; Sat, 24 Feb 2001 11:52:41 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: code pages/character set Date: 24 Feb 2001 16:52:40 GMT Organization: Columbia University Message-ID: <978oso$dd7$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <9ZOl6.8778$Sv5.88347@wagner.videotron.net>, Patrick St-Jacques wrote: : Hi everybody, I have a problem that needs immediate assistance. I work for : the Canadian custom agency, administrating the e-commerce platform, we : receive EDI transmission for all electronic forms coming in to Canada then : send this data to be processed by the mainframe. : Now my problem is this. because of the way the transaction are sent when it : gets to our Solaris box ,we have no clue what code page or character set we : receive is, our system expects code page 819 (ISO standard) but some of our : clients can sent their data using 850 (dos French) or 437 ( dos US) or even : special code pages. : : Now my question is this : Is their a utility in Solaris 7 that can determine : what code page a file is using. : No. It is possible to tell if a file is 7-bit or 8-bit. If it has 8-bit bytes, anything that you can tell about it is a matter of probablity and statistics, not certaintly. It can be determined with a fair amount of reliability whether it is text or binary. If it is text, it can be determined whether it is UTF-8, UCS-2 (or -16), or some 8-bit character set. It is virtually impossible without some form of natural language recognition to tell one 8-bit character ("code page") set from another by inspection. : Just a quick run down of our we get the data: we use x-400 transport and the : data is encrypted so we cannot convert the code page when we get it since : its encrypted, we want to check and convert(if necessary) after decryption. : We need to know this because we use IBM MQseries to transport our outside : world data to our applications (which are on the mainframe) I know MQseries : knows how to convert but it has to know what the original code page is and : because it is running on Solaris is assumes 819. : Your setup is wrong from the beginning. A common intermediate representation should be used for text on the wire. This is a fundamental principal of communication protocols. It is the responsibility of the sender to convert its local text format and character set to the common one for transmission. Kermit protocol and software has been doing this since the 1980s: http://www.columbia.edu/kermit/ In your example, the client would use Kermit to send its code page 437 or 850 data from a PC (via dialup or TCP/IP) and convert it to ISO 8859-1 as part of the transfer. Your Sun could use Kermit to send the ISO 8859-1 data to the IBM mainframe, whose Kermit program would convert it to the required IBM Country Extended Code Page (CECP), or you could continue to use the IBM MQ method for that stage. Many ODI applications use Kermit as the transport, some of them for exactly this reason, as well as because it is independent of the platform and the communication method. Now you can also use the Kermit FTP client: http://www.columbia.edu/kermit/ftpclient.html in the same way. It's first and, to my knowledge, only FTP client that converts character sets. It also allows for secure, encrypted transfers. - Frank From news@columbia.edu Sun Feb 25 11:46:31 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id LAA23136 for ; Sun, 25 Feb 2001 11:46:31 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA14095 for ; Sun, 25 Feb 2001 11:46:30 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id LAA08204 for kermit.misc@watsun.cc.columbia.edu; Sun, 25 Feb 2001 11:41:41 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Linux as terminal emulator. Date: 25 Feb 2001 16:41:40 GMT Organization: Columbia University Message-ID: <97bck4$809$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <87n1bbsipk.fsf@toncho.dhh.gt.org>, John Hasler wrote: : Frank da Cruz writes: : > But then a year ago, for version 7.0, the [kermit] license was amended to : > allow inclusion with all free operating system, including Linux, FreeBSD, : > NetBSD, and OpenBSD: : : But it still isn't free software. : So what? Lots of software isn't free. Everybody is happy to pay money for retail software and in return receive bugs, headaches, no documentation, and no technical support. C-Kermit free to *you* if you want to use it. If you ask for technical support, you get it. It's free to Linux packagers if they want to include it. But it's not free to people or companies who want to make money from it. Seems fair to me. The Kermit Project was giving software away before there was a GNU project or FSF, before there was a Linux or FreeBSD. We all grew out of the same environment -- university computer centers and CS departments in the early days of the ARPANET, where we were paid to develop software. We had secure jobs, so free software made sense. We all shared everything and it was fun. But those days are gone. Virtually nobody is paid to develop publicly available software in universities any more. The very foundation of the free software movement no longer exists. Now free software is developed by: . Students who will soon get real jobs. . People stealing time from their real jobs. . A very few individuals who are actually paid to do it. . Companies that hope it will destroy their competition. . Companies that believe it will somehow turn a profit. This is all fine with me -- everybody should do what they please if it doesn't hurt anyone else. But it's not exactly a sound and stable system. Unpaid developers have little incentive to care about what their users want. And, with very few exceptions, it does not provide a career path except in the sense that if you become famous for some free creation, then you can get a high-paying job at an investment bank and disappear from the scene. The Kermit Project is one of the last surviving university-based nonprofit software development projects. We're here full-time to serve and help our users. The money has to come from somewhere, and believe me, we've tried every funding model. Sure, Kermit would be more popular if it was free to everybody, but that would also kill it. Somehow we're still here. In the end, I think this kind of puritanical doctrinaire insistence on license purity is kind of silly, if not disingenuous. If the software is free to you, then what do you care if it's not free to somebody else who wants to sell it? If you yourself want to sell it, why do you think you have the right to expropriate somebody else's labor for your own enrichment? If everybody thought that way, nobody would do any useful work and we'd all starve to death. Suppose your company (as many do) had a commercial product of which Kermit was a critical component. Doesn't it make good sense pay for it, thus assuring its survival and continued development? Lots of companies think so. If they don't mind, why should you? The fact is, C-Kermit is highly functional, useful, modern, well-documented, aggressively developed and supported software that can be in Linux if you want it to be. As of C-Kermit 7.0, 1 January 2000, nothing is stopping Linux packagers from including it. They'll do it if their customers want them to. - Frank From news@columbia.edu Sun Feb 25 17:46:33 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id RAA03937 for ; Sun, 25 Feb 2001 17:46:32 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id RAA07938 for ; Sun, 25 Feb 2001 17:46:31 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id RAA22390 for kermit.misc@watsun.cc.columbia.edu; Sun, 25 Feb 2001 17:23:06 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: dold@15.usenet.us.com Subject: Re: Linux as terminal emulator. Date: 25 Feb 2001 22:22:35 GMT Organization: Wintercreek Data Message-ID: <97c0jb$53j$1@samba.rahul.net> To: kermit.misc@columbia.edu cbbrowne@hex.net wrote: : However good you may consider the excuses to be, the licensing made : Kermit disappear from view _very_ effectively. Which was extremely : unfortunate, as there were considerable improvements to Kermit in the : mid-90's that _should_ have made it vastly more popular. I've never had an operating system where Kermit came bundled with the distribution, before or after licensing issues. I've also not had an operating system where kermit was not available for free download, until Windows managed to munge the direct hardware interface to the point that I bought Kermit95, which is a commercial product. All of the other platforms, including a RedHat RPM, packaged by someone at RedHat, continue to be available for free download. I currently run Kermit-95 (commercial) on Win95 and Win2K. I run freely downloaded objects on Solaris, Linux, SCO, Unixware, Esix, and MSDOS. http://www.columbia.edu/kermit/ckermit.html or, more specifically ftp://kermit.columbia.edu/kermit/archives/C-Kermit-7.0.196-1.i386.rpm -- --- Clarence A Dold - dold@email.rahul.net - San Jose & Pope Valley (Napa County) CA. From news@columbia.edu Mon Feb 26 09:47:02 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id JAA18284 for ; Mon, 26 Feb 2001 09:46:33 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id JAA07247 for ; Mon, 26 Feb 2001 09:46:32 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id JAA22542 for kermit.misc@watsun.cc.columbia.edu; Mon, 26 Feb 2001 09:26:25 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: FTP scripting... Date: 26 Feb 2001 14:26:24 GMT Organization: Columbia University Message-ID: <97dp2g$m0b$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <3A9A0C8C.4D85005C@fujitsu-siemens.com>, Josef Moellers wrote: : Grant Edwards wrote: : > In article , cbbrowne@hex.net wrote: : > >>>>>> "Rene Scheibe writes: : > > Rene> ....can someone tell me if the normal ftp-client is : > > Rene> scriptable??? How can I write a script for it. Can you : > > Rene> give me an example??? I want to login to a server and put : > > Rene> a file on it. : > > : > >You might try something like the following: : > > : > >#!/bin/ksh : > >ftp -n 172.28.211.99 << EOD : > > user cbbrowne MySecretPassword : > > cd /tmp : > > binary : > > put somefile.txt : > > bye : > >EOD : ... or look at the netrc concept. I've written a number of scripts that : generate .netrc files on-the-fly and remove them when the access is : done. : That's exactly why .netrc is not such a great idea. It's the tail wagging the dog; you really want it the other way around -- an FTP client that can run any script you want without having to change (and remember to put back) some magic file. Here's how you would do it with the new C-Kermit FTP client: #!/usr/local/bin/kermit ftp 172.28.211.99 /user:cbbrowne /password:MySecretPassword if fail exit 1 FTP connection failed ftp cd /tmp if fail exit 1 FTP CD failed put /binary somefile.txt if fail exit 1 FTP PUT failed bye Note that each operation can be checked for failure. Also note that it's not a great idea to put passwords in files, so you can have Kermit prompt you for the password: ftp 172.28.211.99 /user:cbbrowne if fail exit 1 FTP connection failed Just leave out the password and the prompting occurs automatically. Of course if you want the script to run unattended, prompting for the password is not practical, but there are ways around that too. By the way, this is a very simple application for FTP scripting. So simple, in fact, that Kermit can do it without a script. If you have a symlink "ftp" to the C-Kermit 7.1 binary, you can just give it this command line: ftp 172.28.211.99 -u cbbrowne -P MySecretPassword -D /tmp -p somefile.txt For more demanding examples, see: http://www.columbia.edu/kermit/ftpscript.html - Frank From news@columbia.edu Tue Feb 27 10:16:35 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id KAA20421 for ; Tue, 27 Feb 2001 10:16:35 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA10207 for ; Tue, 27 Feb 2001 10:16:34 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id KAA24439 for kermit.misc@watsun.cc.columbia.edu; Tue, 27 Feb 2001 10:01:54 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Linux as terminal emulator. Date: 27 Feb 2001 15:01:52 GMT Organization: Columbia University Message-ID: <97gfh0$nrk$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Peter T. Breuer wrote: : Grant Edwards wrote: : > In article , Peter T. Breuer wrote: : : [Minicom versus Kermit debate...] : Minicom is great for casual or novice users if it has been set up for them in advance -- all its configuration files, etc. It's like the "Windows" of communications software. The tradeoff is always between ease of use and flexibility. When a Windows-like product works, it's great. When it doesn't, it can be difficult or impossible for the user to find out why and fix or work around the problem. Kermit is for the non-casual user who knows what they want to do, doesn't want anything happening by magic, needs detailed control of every facet of the setup and connection, and might also want to automate all or parts of the connection. For the experienced user (that is, somebody who spends 20 minutes figuring this out or reading the documentation), it's actually *easier* to use than Minicom because multiple actions can be condensed into macros. The real tradeoff, then, is ease of learning versus ease of use. Going back to the Windows example, Windows is as popular as it is because it's easy to learn, easy to get started -- you don't have to read or study anything. Unfortunately, once you're hooked you begin to notice how labor-intensive certain common tasks are, and begin to wish for an easier way to do them -- perhaps even a way to automate them. A good example is entering user IDs in Windows NT. It's good that there is a nice GUI to guide you through the process, and this is just the ticket for the 99% of people who need to enter only a handful of IDs. But what if you need to enter ten thousand IDs? That's an awful lot of clicking. If you find youself in this situation, you are more than ready to read and study to save yourself all that RSI-inducing and error-prone drudgery. Wouldn't you be disappointed to learn there was NO WAY to automate the task? I don't know if there is or there isn't, but the point is: there is room for both kinds of tools -- the easy-to-learn ones and the powerful ones. So too with Kermit and Minicom. If Minicom does everything you want, then it's right for you. If there are things you wish you could do with it but can't, maybe you're ready for a more powerful package. More about Kermit-versus-Minicom tradeoffs here: http://www.columbia.edu/kermit/kermit.html#complexity - Frank From news@columbia.edu Tue Feb 27 10:46:36 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id KAA04322 for ; Tue, 27 Feb 2001 10:46:36 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA14481 for ; Tue, 27 Feb 2001 10:46:35 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id KAA25197 for kermit.misc@watsun.cc.columbia.edu; Tue, 27 Feb 2001 10:19:06 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: FTP scripting... Date: 27 Feb 2001 15:19:06 GMT Organization: Columbia University Message-ID: <97ggha$oja$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <9qve79.57d.ln@twocups.sirinet.net>, Bud Rogers wrote: : Josef Moellers wrote: : > Bud Rogers wrote: : >> Expect was designed to handle tasks like that. : ... : budr@twocups:~$ autoexpect telnet localhost : ... : Now script.exp is an expect script that will exactly replay that online : session from login to logout. Then you can add control statements to : alter the flow of the script, handle errors, whatever. : Expect is a fine tool that can be used to automate interactive procedures that can't be automated any other way. For FTP it's better than .netrc because it allows some measure of decision making. But it's not as good as an FTP client that has its own built-in scripting language. Why? Because it is driven entirely by whatever text happens to appear on the screen. It can't tell whether text is from the FTP client or the server or (in the example above) the shell or the Telnet client. There is no connection between the scripting language and the FTP protocol. A script based on messages will stop working as soon as any of the messages changes. You're likely to need a different script for every FTP client/server pair. Plus an Expect/FTP script is limited by the feature set of the FTP client. Can you use Expect to force your FTP client to: . Make secure connections to a secure FTP server? . Translate character sets? . Automatically switch between text and binary mode for each file? . Traverse directory trees? . Select files based on date and/or size? . Handle filename collisions automatically? . Preserve file dates or permissions? . Execute update or recovery procedures? Probably not. But the new Kermit FTP client: http://www.columbia.edu/kermit/ftpclient.html can do all this in a very simple, straightforward way that can be scripted easily and robustly. See the tutorial here: http://www.columbia.edu/kermit/ftpscript.html - Frank From news@columbia.edu Tue Feb 27 11:16:37 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id LAA19513 for ; Tue, 27 Feb 2001 11:16:36 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA18864 for ; Tue, 27 Feb 2001 11:16:35 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id LAA27571 for kermit.misc@watsun.cc.columbia.edu; Tue, 27 Feb 2001 11:03:53 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: guenhwyvar_2000@hotmail.com (Guenhwyvar) Subject: Modem error Message-ID: <3a9cd024.67057962@nntp.uunet.ca> Date: Tue, 27 Feb 2001 16:04:56 GMT Organization: UUNET Canada News Reader Service To: kermit.misc@columbia.edu hi whit automated task whit K95, when I exit i receive this message A serial connection might still be active on US Robotics 33.6.. Ok to exit? is my script the problem? Thanks Guenhwyvar guenhwyvar_2000@hotmail.com From news@columbia.edu Tue Feb 27 11:46:44 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id LAA16954 for ; Tue, 27 Feb 2001 11:46:37 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA23052 for ; Tue, 27 Feb 2001 11:46:35 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id LAA29110 for kermit.misc@watsun.cc.columbia.edu; Tue, 27 Feb 2001 11:34:57 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Modem error Date: 27 Feb 2001 16:34:55 GMT Organization: Columbia University Message-ID: <97gkvf$sdi$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <3a9cd024.67057962@nntp.uunet.ca>, Guenhwyvar wrote: : whit automated task whit K95, when I exit i receive this message : A serial connection might still be active on US Robotics 33.6.. : Ok to exit? : : is my script the problem? : The message means what it says. K95 thinks a serial connection might still be open because the modem's CD (Carrier Detect) signal is still on. If the connection is really closed and the phone call has been hung up, then either your modem is misconfigured (for example &C0 instead of &C1) or your cable miswired. In that case the solution is to fix your modem or cable. If you can't do that, you can tell Kermit to: SET EXIT WARNING OFF - Frank From news@columbia.edu Tue Feb 27 12:16:39 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id MAA18237 for ; Tue, 27 Feb 2001 12:16:37 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA27328 for ; Tue, 27 Feb 2001 12:16:35 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id LAA29813 for kermit.misc@watsun.cc.columbia.edu; Tue, 27 Feb 2001 11:50:28 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: grante@visi.com (Grant Edwards) Subject: Re: Linux as terminal emulator. Message-ID: <8VQm6.15$q7.4846@ruti.visi.com> Date: Tue, 27 Feb 2001 16:50:12 GMT To: kermit.misc@columbia.edu In article <97gfh0$nrk$1@newsmaster.cc.columbia.edu>, Frank da Cruz wrote: > >: [Minicom versus Kermit debate...] > >Minicom is great for casual or novice users if it has been set >up for them in advance -- all its configuration files, etc. >It's like the "Windows" of communications software. The >tradeoff is always between ease of use and flexibility. When a >Windows-like product works, it's great. When it doesn't, it can >be difficult or impossible for the user to find out why and fix >or work around the problem. > >Kermit is for the non-casual user who knows what they want to >do, doesn't want anything happening by magic, needs detailed >control of every facet of the setup and connection, and might >also want to automate all or parts of the connection. Thanks, that's an excellent summary. For the types of things I wnat to do Kermit works better than Minicom. -- Grant Edwards grante Yow! I was in EXCRUCIATING at PAIN until I started visi.com reading JACK AND JILL Magazine!! From news@columbia.edu Tue Feb 27 14:46:37 2001 Return-Path: Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id OAA25535 for ; Tue, 27 Feb 2001 14:46:36 -0500 (EST) Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA18684 for ; Tue, 27 Feb 2001 14:46:36 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id OAA07077 for kermit.misc@watsun.cc.columbia.edu; Tue, 27 Feb 2001 14:29:20 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Bud Rogers Subject: Re: FTP scripting... Date: Tue, 27 Feb 2001 13:23:10 -0600 Organization: marginal Message-ID: To: kermit.misc@columbia.edu Frank da Cruz wrote: > Probably not. But the new Kermit FTP client: > > http://www.columbia.edu/kermit/ftpclient.html > > can do all this in a very simple, straightforward way that can be > scripted easily and robustly. See the tutorial here: > > http://www.columbia.edu/kermit/ftpscript.html My, my, Kermit has grown up while I wasn't looking. Guess I need to take a another look. -- Bud Rogers http://www.sirinet.net/~budr All things in moderation. And not too much moderation either. From news@columbia.edu Wed Feb 28 15:49:52 2001 Return-Path: Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id PAA24816 for ; Wed, 28 Feb 2001 15:49:51 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id PAA11978 for kermit.misc@watsun.cc.columbia.edu; Wed, 28 Feb 2001 15:32:43 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: awouk@blackhole.nyx.net (arthur wouk) Subject: why are there two version of cku196 for solaris sparc? Organization: Nyx net, The Spirit of the Night Message-ID: <983395897.412245@irys.nyx.net> Date: Wed, 28 Feb 2001 20:32:41 GMT To: kermit.misc@columbia.edu in preparation for an os upgrade, i went to watsun and picked up c-kermit for solaris2.6 for sparc. i found two of them, and i got them, but cannot find out which is which. one has solaris26x25 in stead of solaris26 in the name. also, no binaries for cku197 are found. do i have to compile this myself? are there any known problems? -- You can't let people get away with shoddy service. It starts with overcooked meat and ends with Microsoft. - Jefferson Eng to email me, delete blackhole. from my return address From news@columbia.edu Wed Feb 28 15:49:55 2001 Return-Path: Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id PAA24828 for ; Wed, 28 Feb 2001 15:49:53 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id PAA12355 for kermit.misc@watsun.cc.columbia.edu; Wed, 28 Feb 2001 15:38:28 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: why are there two version of cku196 for solaris sparc? Date: 28 Feb 2001 20:38:28 GMT Organization: Columbia University Message-ID: <97jnk4$c20$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <983395897.412245@irys.nyx.net>, arthur wouk wrote: : in preparation for an os upgrade, i went to watsun and picked up : c-kermit for solaris2.6 for sparc. i found two of them, and i got : them, but cannot find out which is which. one has solaris26x25 in : stead of solaris26 in the name. : Because it includes support for SunLink X.25. It probably will run only on Solaris systems that have Sunlink X.25 installed. : also, no binaries for cku197 are found. do i have to compile this : myself? are there any known problems? : 196 and 197 are identical for Solaris, but you might want to pick up C-Kermit 7.1 Alpha, because it fixes a serious problem in 7.0, namely that hardware flow control ("set flow rts/cts") did not work in Solaris. - Frank From news@columbia.edu Thu Mar 1 17:49:56 2001 Return-Path: Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id RAA01615 for ; Thu, 1 Mar 2001 17:49:55 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id RAA17746 for kermit.misc@watsun.cc.columbia.edu; Thu, 1 Mar 2001 17:49:49 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "." Subject: Can C-Kermit be included with Cygwin Distribution? Message-ID: <01c0a2a1$dd250880$abd44a9c@MD13975> Date: Thu, 01 Mar 2001 22:49:30 GMT Organization: City of Seattle NewsReader Service To: kermit.misc@columbia.edu Hi Frank, Cygwin is listed as open source approved by www.opensource.org. Can you confirm if a license is required for distributing C-Kermit with Cygwin. Thanks. E.Wu From news@columbia.edu Thu Mar 1 18:19:56 2001 Return-Path: Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id SAA06500 for ; Thu, 1 Mar 2001 18:19:55 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id RAA18085 for kermit.misc@watsun.cc.columbia.edu; Thu, 1 Mar 2001 17:59:16 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Can C-Kermit be included with Cygwin Distribution? Date: 1 Mar 2001 22:59:15 GMT Organization: Columbia University Message-ID: <97mk83$hl2$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <01c0a2a1$dd250880$abd44a9c@MD13975>, . wrote: : Cygwin is listed as open source approved by www.opensource.org. Can you : confirm if a license is required for distributing C-Kermit with Cygwin. : Cygwin is not an operating system, so no. Anyway, let's be realistic. The Kermit software for Windows 9x/ME/NT/2000 is Kermit 95, not C-Kermit. The only reason anybody would want to use C-Kermit instead of K95 is to avoid spending money. Unfortunately, we can't afford to undercut ourselves AGAIN on one of our few sources of revenue. Furthermore, C-Kermit is entirely inadequate as a Windows terminal program. It does not include a terminal emulator or any of the related amenities -- scrollback, access to key events or the mouse, etc etc. We can not and do not support C-Kermit in Windows. If somebody wants to download the sources, build it themselves, and use it, fine -- but don't complain about it and don't ask us for help. It was never designed or intended for that purpose. We give a lot of stuff away to a lot of people but we still need some kind of revenue stream. Please don't try to deprive us of what we need to keep the Kermit Project going. Thank you for asking. - Frank From news@columbia.edu Thu Mar 1 18:49:55 2001 Return-Path: Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id SAA22555 for ; Thu, 1 Mar 2001 18:49:54 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id SAA19843 for kermit.misc@watsun.cc.columbia.edu; Thu, 1 Mar 2001 18:41:59 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: "Jeff Susanj" Subject: Re: Linux as terminal emulator. Message-ID: Organization: The Boeing Company Date: Thu, 1 Mar 2001 23:17:13 GMT To: kermit.misc@columbia.edu "Frank da Cruz" wrote in message news:97bck4$809$1@newsmaster.cc.columbia.edu... > ...Now free software is > developed by: > > . Students who will soon get real jobs. > . People stealing time from their real jobs. > . A very few individuals who are actually paid to do it. > . Companies that hope it will destroy their competition. > . Companies that believe it will somehow turn a profit. > > This is all fine with me -- everybody should do what they please if it > doesn't hurt anyone else. But it's not exactly a sound and stable system. > Unpaid developers have little incentive to care about what their users want. > And, with very few exceptions, it does not provide a career path except in > the sense that if you become famous for some free creation, then you can get > a high-paying job at an investment bank and disappear from the scene. > Paid developers have little incentive to care about users since they only do what the marketing types say. I would be much more likely to care about users if I was the one talking to the users and deciding what should be included in the next release. Being a no-name software gerbil in a maze of cubicles does not engender pride in the product. The best software is produced by people who are passionate about their product, not necessarily those who are paid big bucks. Jeff S. From news@columbia.edu Thu Mar 1 19:19:56 2001 Return-Path: Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id TAA01719 for ; Thu, 1 Mar 2001 19:19:55 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id SAA20188 for kermit.misc@watsun.cc.columbia.edu; Thu, 1 Mar 2001 18:50:32 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Linux as terminal emulator. Date: 1 Mar 2001 23:50:32 GMT Organization: Columbia University Message-ID: <97mn88$jmq$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Jeff Susanj wrote: : Paid developers have little incentive to care about users since they only do : what the marketing types say. I would be much more likely to care about : users if I was the one talking to the users and deciding what should be : included in the next release. Being a no-name software gerbil in a maze of : cubicles does not engender pride in the product. The best software is : produced by people who are passionate about their product, not necessarily : those who are paid big bucks. : All true. However, there's a happy medium -- developers in small projects like ours, who are not bossed by marketing managers, but instead are in direct contact with their user community, and driven by their reports, suggestions, ctiticism, requests, and concerns, to the best of our ability to keep up. It's not the only model, but it's a good model for us. By the way, we don't sit in a maze of cubicles either. Take a look: http://www.columbia.edu/~fdc/timeline.html - Frank From news@columbia.edu Thu Mar 1 19:49:55 2001 Return-Path: Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id TAA10324 for ; Thu, 1 Mar 2001 19:49:54 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id TAA22488 for kermit.misc@watsun.cc.columbia.edu; Thu, 1 Mar 2001 19:47:49 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: dold@15.usenet.us.com Subject: Re: Linux as terminal emulator. Date: 2 Mar 2001 00:47:31 GMT Organization: Wintercreek Data Message-ID: <97mqj3$cgp$1@samba.rahul.net> To: kermit.misc@columbia.edu In comp.protocols.kermit.misc Frank da Cruz wrote: : By the way, we don't sit in a maze of cubicles either. Take a look: : http://www.columbia.edu/~fdc/timeline.html Darn, I really was hoping for a picture of you. -- --- Clarence A Dold - dold@email.rahul.net - San Jose & Pope Valley (Napa County) CA. From news@columbia.edu Thu Mar 1 20:49:55 2001 Return-Path: Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id UAA15402 for ; Thu, 1 Mar 2001 20:49:54 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id UAA24240 for kermit.misc@watsun.cc.columbia.edu; Thu, 1 Mar 2001 20:31:51 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: jrd@cc.usu.edu (Joe Doupnik) Subject: Re: Linux as terminal emulator. Message-ID: Date: 1 Mar 01 18:08:34 MDT Organization: Utah State University To: kermit.misc@columbia.edu In article <97mn88$jmq$1@newsmaster.cc.columbia.edu>, fdc@watsun.cc.columbia.edu (Frank da Cruz) writes: > In article , > Jeff Susanj wrote: > : Paid developers have little incentive to care about users since they only do > : what the marketing types say. I would be much more likely to care about > : users if I was the one talking to the users and deciding what should be > : included in the next release. Being a no-name software gerbil in a maze of > : cubicles does not engender pride in the product. The best software is > : produced by people who are passionate about their product, not necessarily > : those who are paid big bucks. > : > All true. However, there's a happy medium -- developers in small projects > like ours, who are not bossed by marketing managers, but instead are in direct > contact with their user community, and driven by their reports, suggestions, > ctiticism, requests, and concerns, to the best of our ability to keep up. > It's not the only model, but it's a good model for us. > > By the way, we don't sit in a maze of cubicles either. Take a look: > > http://www.columbia.edu/~fdc/timeline.html > > - Frank -------- I have to add a little balance in this otherwise all-too-true description. Amongst other groups, the team at Novell responsible for their Internet Messaging Server product, NIMS, is very much like the Internet developers of yore. Open, active, listen to user comments up to a reasonable limit, pride in product. Sources aren't open, naturally, since this is a commerical product, but the attitudes, product features and quality are as if the material were open. It is a state of mind on their part, an active decision as to the best way of being accepted in today's market. In most cases open software is changed by very few people, and millions exercise their vocal cords to play "management." Things used to work where folks wrote improved code and resubmitted it, pulling an oar, but fewer people program these days and fewer yet are willing to become immersed in complex systems before pushing keys. Yet, in the commerical arena many groups still thrive on the concepts of open cooperation, even through such cooperation has to be disguised under NDA or other filters. It's not as good as the real thing, but it can and does produce results. Most good stuff comes from a few individuals in each group, and you have to get a working relationship established to play the pseudo-open game effectively. As Frank points out often, the other side of this coin is coins. The "outsiders", the galley slaves pulling oars for the common good, are not rewarded financially and thus the effort comes out of their hides. The Kermit project is characteristically of the common good contribution kind, but in real life the hard work is done by very very few people and they need coins to eat. Rather than paying yet another $10-40 fee for a shareware item put the money where it makes a bigger difference, where the folks really care what the product is. Joe D. From news@columbia.edu Fri Mar 2 09:49:57 2001 Return-Path: Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id JAA05841 for ; Fri, 2 Mar 2001 09:49:55 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id JAA14126 for kermit.misc@watsun.cc.columbia.edu; Fri, 2 Mar 2001 09:44:21 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: DATE Calculation script help needed Date: 2 Mar 2001 14:44:20 GMT Organization: Columbia University Message-ID: <97obk4$dpc$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <3A9F7510.1934F92B@att.com>, Siva K. Vejalla wrote: : I need big help in writing the script which can give me the : date X days back from today's date. : : Ex: datecheck 70 # Argument is No. of days : # Assuming today's date is 013101 : # Output should be 112200 : : It should consider previous month/year and Leap year or not : etc. : : I tried it using shell script, but to include the previous : year/month logic seems to be tricky & time consuming the way : I am going. : : If it matters, i am trying this on a Unix (HP-UX 11.0) : platform. : HP-UX comes with C-Kermit installed in /bin/kermit. Unfortunately it's not the current version, which is 7.0 and which you can find here: http://www.columbia.edu/kermit/ckermit.html In C-Kermit 7.0 the command is: date +5days Since you probably want to use the result for something, you can also include expressions like this in commands for file selection, e.g.: send /after:+5days *.txt There is also a complete set of built-in functions for date and time conversion and arithmetic. See: http://www.columbia.edu/kermit/case17.html - Frank From news@columbia.edu Sat Mar 3 10:19:58 2001 Return-Path: Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id KAA07291 for ; Sat, 3 Mar 2001 10:19:57 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id JAA19978 for kermit.misc@watsun.cc.columbia.edu; Sat, 3 Mar 2001 09:55:51 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: bglicker@burrelles.com (Bill Glicker) Subject: Changing the console window title under Windows 2000 Message-ID: <3aa10503.60819563@news> Date: Sat, 03 Mar 2001 14:55:46 GMT Organization: Excite@Home - The Leader in Broadband http://home.com/faster To: kermit.misc@columbia.edu Is there a way to change the console window title during a kermit session? Normally after a connection is made it's changed from "K95" to "HOSTNAME:TELNET - K-95". I typically open serveral windows, and once having connected, connect to a different system. It would be nice to be able to change the title so I can tell which host I'm really working in. Thanks, Bill From news@columbia.edu Sat Mar 3 11:19:58 2001 Return-Path: Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id LAA24331 for ; Sat, 3 Mar 2001 11:19:58 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id LAA23091 for kermit.misc@watsun.cc.columbia.edu; Sat, 3 Mar 2001 11:17:53 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: FTP - loops and parameters for multifile reading Date: 3 Mar 2001 16:17:53 GMT Organization: Columbia University Message-ID: <97r5fh$mhh$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <3AA06BF9.7F392836@aol.com>, Paul Nestler wrote: : Does anyone know how to put ftp inside a loop? Say, a loop that : generates a list of filenames to download? : : Here's the background: : I have a problem connection I am dealing with. When transferring a : number of files using mget in ftp, the connection hangs and aborts. The : point at which the ftp session hangs varies from one session to the : next, but so far has always allowed me to transfer a few files before it : hangs. : : I looked at the man page for ftp. The man page discusses a looping : feature and the ability to pass a parameter (from the calling script I : suppose). Unfortunately, the man page does not show an example nor does : it describe the usage in any useable detail. : : The man page gave me the notion I should be able to put the ftp inside a : loop and pass the name of a file to get from the remote host. Perhaps : there is someway of putting the ftp inside an awk script. : Let's see how we would do this with the new scriptable C-Kermit FTP client. Let's assume an anonymous login, though it need not be, and that the files are to be transferred in binary mode, and that the filenames are file1 through file5: while true { ftp open somehost.com /anonymous if fail { Can't reach host ; Can't make connection sleep 10*60 ; Wait 10 minutes and try again continue } ftp cd somedirectory if fail { exit 1 Fatal - can't CD to somedirectory on host } while true { ftp mget /binary /recover file1 file2 file3 file4 file5 if success goto done ; All files downloaded: done. if not \v(ftp_connected) { ; Failed - why? ftp close ; Connection closed break ; Go back and make a new one } ; Connection still open - try MGET again. echo "Download failed - trying again in 20 seconds..." sleep 20 continue } } :done ftp bye ; Disconnect from server exit 0 ; Exit successfully This is a very straightforward example, with hardwired host, directory, and filenames. Of course these could also be variables that could be resolved in various ways, e.g. from command-line options, with interactive prompting, or from a file. The loop connects to the host, cd's to the desired directory, and requests the files in binary mode. Each step is checked for failure and is retried until it succeeds. Of course you could use a counted loop rather than an infinite loop if you wished, and you could use different sleep intervals or none at all. In this example, failure to connect results in a 10-minute pause (assuming the host is down or unavailable) and then a loop restart. You could make it do anything else that might be more appropriate. The magic command is MGET /BINARY /RECOVER . For each file in the list: . If the file does not exist on the client, it is downloaded; otherwise: . If a file of the same name exists on the client, the client requests the host file's size and modification date-time; if the date-time and size are the same, the file is skipped; otherwise: . If the date-time is later, the file is downloaded, overwriting the client's copy (which is backed up for safety); otherwise: . If the size is greater, the excess part of the host file is downloaded and appended to the client file. The MGET command is in an inner loop, which retries the MGET command as long as it fails and the connection is open. If MGET fails because the connection was closed, the outer loop is continued and a new connection is made. Thus no file is transferred more than once, and if a transfer fails in the middle of a file, it is resumed from the point of failure next time through the loop. For more information about the C-Kermit FTP client, see: http://www.columbia.edu/kermit/ftpclient.html And for a tutorial on scripting the new FTP client, see: http://www.columbia.edu/kermit/ftpscript.html The new FTP client is still in prerelease testing but should be perfectly usable, and should be formally released soon. A prebuilt binary for AIX 4.3.2 can be downloaded from C-Kermit 7.1 site: http://www.columbia.edu/kermit/ck71.html as well as the source code and binaries for many other platforms. - Frank From news@columbia.edu Sat Mar 3 20:49:58 2001 Return-Path: Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id UAA20706 for ; Sat, 3 Mar 2001 20:49:58 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id UAA15057 for kermit.misc@watsun.cc.columbia.edu; Sat, 3 Mar 2001 20:40:36 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Paul Nestler Subject: Re: FTP - loops and parameters for multifile reading Date: Sat, 03 Mar 2001 20:43:09 -0500 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <3AA19DAD.377BC1A9@aol.com> To: kermit.misc@columbia.edu Thanks for the reponse. You have provided an amazing amount of detail. However, it appears your example is for the new FTP client you referred to and not for the standard FTP which comes with AIX 3.2.5 or 4.x. Am I correct? Or should your example work with the standard FTP program on AIX? Frank da Cruz wrote: > In article <3AA06BF9.7F392836@aol.com>, > Paul Nestler wrote: > : Does anyone know how to put ftp inside a loop? Say, a loop that > : generates a list of filenames to download? > : > : Here's the background: > : I have a problem connection I am dealing with. When transferring a > : number of files using mget in ftp, the connection hangs and aborts. The > : point at which the ftp session hangs varies from one session to the > : next, but so far has always allowed me to transfer a few files before it > : hangs. > : > : I looked at the man page for ftp. The man page discusses a looping > : feature and the ability to pass a parameter (from the calling script I > : suppose). Unfortunately, the man page does not show an example nor does > : it describe the usage in any useable detail. > : > : The man page gave me the notion I should be able to put the ftp inside a > : loop and pass the name of a file to get from the remote host. Perhaps > : there is someway of putting the ftp inside an awk script. > : > Let's see how we would do this with the new scriptable C-Kermit FTP > client. Let's assume an anonymous login, though it need not be, and that > the files are to be transferred in binary mode, and that the filenames > are file1 through file5: > > while true { > ftp open somehost.com /anonymous > if fail { > Can't reach host ; Can't make connection > sleep 10*60 ; Wait 10 minutes and try again > continue > } > ftp cd somedirectory > if fail { > exit 1 Fatal - can't CD to somedirectory on host > } > while true { > ftp mget /binary /recover file1 file2 file3 file4 file5 > if success goto done ; All files downloaded: done. > if not \v(ftp_connected) { ; Failed - why? > ftp close ; Connection closed > break ; Go back and make a new one > } > ; Connection still open - try MGET again. > echo "Download failed - trying again in 20 seconds..." > sleep 20 > continue > } > } > :done > ftp bye ; Disconnect from server > exit 0 ; Exit successfully > > This is a very straightforward example, with hardwired host, directory, > and filenames. Of course these could also be variables that could be > resolved in various ways, e.g. from command-line options, with interactive > prompting, or from a file. > > The loop connects to the host, cd's to the desired directory, and requests > the files in binary mode. Each step is checked for failure and is retried > until it succeeds. Of course you could use a counted loop rather than an > infinite loop if you wished, and you could use different sleep intervals > or none at all. > > In this example, failure to connect results in a 10-minute pause (assuming > the host is down or unavailable) and then a loop restart. You could make > it do anything else that might be more appropriate. > > The magic command is MGET /BINARY /RECOVER . For each file in > the list: > > . If the file does not exist on the client, it is downloaded; otherwise: > > . If a file of the same name exists on the client, the client requests > the host file's size and modification date-time; if the date-time and > size are the same, the file is skipped; otherwise: > > . If the date-time is later, the file is downloaded, overwriting the > client's copy (which is backed up for safety); otherwise: > > . If the size is greater, the excess part of the host file is downloaded > and appended to the client file. > > The MGET command is in an inner loop, which retries the MGET command as > long as it fails and the connection is open. If MGET fails because the > connection was closed, the outer loop is continued and a new connection is > made. Thus no file is transferred more than once, and if a transfer fails > in the middle of a file, it is resumed from the point of failure next time > through the loop. > > For more information about the C-Kermit FTP client, see: > > http://www.columbia.edu/kermit/ftpclient.html > > And for a tutorial on scripting the new FTP client, see: > > http://www.columbia.edu/kermit/ftpscript.html > > The new FTP client is still in prerelease testing but should be perfectly > usable, and should be formally released soon. A prebuilt binary for AIX > 4.3.2 can be downloaded from C-Kermit 7.1 site: > > http://www.columbia.edu/kermit/ck71.html > > as well as the source code and binaries for many other platforms. > > - Frank From news@columbia.edu Sun Mar 4 12:21:00 2001 Return-Path: Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id MAA09820 for ; Sun, 4 Mar 2001 12:21:00 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id LAA19696 for kermit.misc@watsun.cc.columbia.edu; Sun, 4 Mar 2001 11:54:19 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: FTP - loops and parameters for multifile reading Date: 4 Mar 2001 16:54:17 GMT Organization: Columbia University Message-ID: <97trvp$j7e$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article <3AA19DAD.377BC1A9@aol.com>, Paul Nestler wrote: : ... : You have provided an amazing amount of detail. However, it appears your : example is for the new FTP client you referred to and not for the standard : FTP which comes with AIX 3.2.5 or 4.x. : : Am I correct? Or should your example work with the standard FTP program on : AIX? : You are correct; the example is for C-Kermit's new FTP client. The standard FTP client does not have a built-in scripting language and is ill-suited to automation. The new version of C-Kermit, with its built-in scriptable FTP client, is here: http://www.columbia.edu/kermit/ck71.html For those who are new to Kermit, or who haven't looked at it in ten or fifteen years, I should point out that integrating an FTP client into C-Kermit was done primarily to allow FTP sessions to be scripted in the same way that serial-port and Telnet sessions have been scripted all these years: the scripting language was already there; the FTP client is new. If you're not familiar with Kermit and would like to find out more, visit the Kermit home page: http://www.columbia.edu/kermit/ And if you're not familiar with Kermit scripting, see the Kermit script library for lots of examples and applications: http://www.columbia.edu/kermit/scriptlib.html - Frank From news@columbia.edu Mon Mar 5 18:21:04 2001 Return-Path: Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id SAA02873 for ; Mon, 5 Mar 2001 18:21:03 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id SAA24154 for kermit.misc@watsun.cc.columbia.edu; Mon, 5 Mar 2001 18:00:13 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: Francis R Bridge {BRIDGE1} Subject: Re: Linux as terminal emulator. Date: 05 Mar 2001 16:42:06 -0600 Organization: Motorola CIG Message-ID: To: kermit.misc@columbia.edu fdc@watsun.cc.columbia.edu (Frank da Cruz) writes: > In article , > Jeff Susanj wrote: > : Paid developers have little incentive to care about users since they only do > : what the marketing types say. I would be much more likely to care about > : users if I was the one talking to the users and deciding what should be > : included in the next release. Being a no-name software gerbil in a maze of > : cubicles does not engender pride in the product. The best software is > : produced by people who are passionate about their product, not necessarily > : those who are paid big bucks. > : > All true. However, there's a happy medium -- developers in small projects > like ours, who are not bossed by marketing managers, but instead are in direct > contact with their user community, and driven by their reports, suggestions, > ctiticism, requests, and concerns, to the best of our ability to keep up. > It's not the only model, but it's a good model for us. > > By the way, we don't sit in a maze of cubicles either. Take a look: > > http://www.columbia.edu/~fdc/timeline.html Quite interesting! You mention the first Kermit article appeared in BYTE magazine in June and July of 1984. Are reprints of that article available? -Frank (Bridge) From news@columbia.edu Mon Mar 5 18:51:03 2001 Return-Path: Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30]) by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id SAA19521 for ; Mon, 5 Mar 2001 18:51:02 -0500 (EST) Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id SAA25484 for kermit.misc@watsun.cc.columbia.edu; Mon, 5 Mar 2001 18:30:14 -0500 (EST) X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to using -f From: fdc@columbia.edu (Frank da Cruz) Subject: Re: Linux as terminal emulator. Date: 5 Mar 2001 23:30:14 GMT Organization: Columbia University Message-ID: <9817i6$os9$1@newsmaster.cc.columbia.edu> To: kermit.misc@columbia.edu In article , Francis R Bridge {BRIDGE1} wrote: : fdc@watsun.cc.columbia.edu (Frank da Cruz) writes: : > By the way, we don't sit in a maze of cubicles either. Take a look: : > : > http://www.columbia.edu/~fdc/timeline.html : : Quite interesting! You mention the first Kermit article appeared in BYTE : magazine in June and July of 1984. Are reprints of that article available? : Not exactly reprints, but: ftp://kermit.columbia.edu/kermit/e/byte.txt <-- plain text ftp://kermit.columbia.edu/kermit/e/byte.ps <-- postscript - Frank