From satprof@altavista.com Thu Mar 14 13:31:08 EST 2002 Article: 13265 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!newsxfer.eecs.umich.edu!news.cc.ukans.edu!logbridge.uoregon.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: satprof@altavista.com (satprof) Newsgroups: comp.protocols.kermit.misc Subject: Experience with K95 over satellite links Date: 14 Mar 2002 09:31:43 -0800 Organization: http://groups.google.com/ Lines: 56 Message-ID: NNTP-Posting-Host: 158.232.67.138 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1016127103 11357 127.0.0.1 (14 Mar 2002 17:31:43 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 14 Mar 2002 17:31:43 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13265 Following my posting at the end of Jan, 2002 about evaluating Kermit for a project to transfer ~70MB of data nightly via a double(!) satellite hop, it might be useful for others in the future to hear of my experiences. The requirement was for a highly reliable, automated multi-megabyte file transfer between two sites (in Africa) connected by IP over satellite links, with a theoretical bandwidth above 300Kb/s. Each link goes to a hub in Denmark, meaning that the connection has a _minimum_ ping time of around 1300mSec. Both ends of the link would be running Windows NT4.0. To begin, the data turned out to be around 180MB rather than 70MB, but that is not all that significant, but goes to show the capability of the system. The approach I adopted was to set up the K95D.EXE 'daemon' on the machine holding the data & to script the file transfer on the machine to which the data was to be sent. Before leaving for Africa, I tested the script (based on the 'reliable file transfer' script in the K95 'scripts' folder) between my home in France & my office in Geneva. With an ADSL link at home (& T3 at the office) my tests showed around 20KB/second. (Ping time ~ 40mSec) However, on arrival in Africa, I couldn't achieve more than about 3KB/second in practice. The receiving end showed only that a single window was in use, but that is apparently normal at the receiver. The sending end showed that sliding windows were in use, but only 5 out of 30 possible. (Packet size settled down to 4000/3999; streaming was off to ensure block checking & the Fast macro was invoked.) The relatively slow speed was a bit of a disappointment, but it was overcome by initiating 5 concurrent instances of Kermit, and transferring the data in parts. (The data, which is an SQL database dump file, starts out as 800MB uncompressed, but was already compressed and split into sections by ARJ32.) The net throughput achieved is around 15KB/sec. which means the job can easily be done overnight, which plenty of spare capacity for retries. I also tried 6 concurrent instances, but found that this gave no practical improvement in total throughput. As it happens, ARJ-created file segments are suffixed .ARJ, then .A01 through to .Ann, so my 5 scripts look for segments ending 0 & 1, 2 & 3, and so on, bypassing .A00, which doesn't exist. The scripts terminate when no more files are found, which allows the data to change in size over time. The prime reason for the post is to record this for others, but I'd also like to thank Frank & the others in the group for their input at the beginning of the project. If anyone has any ideas about how to increase the no. of windows actually used, I'd like to try that out. I also tried to get K95D.EXE to run as a WINNT service, but without success, so would be interested to know if anyone has managed this elsewhere. Thanks again for all your help. From jaltman@watsun.cc.columbia.edu Thu Mar 14 13:31:37 EST 2002 Article: 13266 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!jaltman From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman) Newsgroups: comp.protocols.kermit.misc Subject: Re: Experience with K95 over satellite links Date: 14 Mar 2002 18:26:32 GMT Organization: Columbia University Lines: 25 Message-ID: References: NNTP-Posting-Host: watsun.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1016130392 9999 128.59.39.2 (14 Mar 2002 18:26:32 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 14 Mar 2002 18:26:32 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13266 In article , satprof wrote: : : If anyone has any ideas about how to increase the no. of windows : actually used, I'd like to try that out. I also tried to get K95D.EXE : to run as a WINNT service, but without success, so would be interested : to know if anyone has managed this elsewhere. In order for K95D.exe to be executed as a service you must have the NT Resource Kit which contains instructions for a service called SRVANY.EXE. The accompanying document file in the Resource Kit is called SRVANY.DOC. The instructions provided allow you to configure SRVANY as a service which in turn executes any program of your choice. In this case the process would be K95D.EXE. The Startup directory and Application Program parameters are entered in the Registry. However, if you are using TCP/IP connections then you would be better off using the Windows Internet Kermit Service. Jeffrey Altman * Sr.Software Designer C-Kermit 8.0 available now!!! The Kermit Project @ Columbia University includes Telnet, FTP and HTTP http://www.kermit-project.org/ secured with Kerberos, SRP, and kermit-support@columbia.edu OpenSSL. Interfaces with OpenSSH From fdc@columbia.edu Thu Mar 14 13:31:47 EST 2002 Article: 13267 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Experience with K95 over satellite links Date: 14 Mar 2002 13:31:02 -0500 Organization: Columbia University Lines: 84 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1016130663 10236 128.59.39.139 (14 Mar 2002 18:31:03 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 14 Mar 2002 18:31:03 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13267 In article , satprof wrote: : Following my posting at the end of Jan, 2002 about evaluating Kermit : for a project to transfer ~70MB of data nightly via a double(!) : satellite hop, it might be useful for others in the future to hear of : my experiences. : ... : The approach I adopted was to set up the K95D.EXE 'daemon' on the : machine holding the data & to script the file transfer on the machine : to which the data was to be sent. Before leaving for Africa, I tested : the script (based on the 'reliable file transfer' script in the K95 : 'scripts' folder) between my home in France & my office in Geneva. : With an ADSL link at home (& T3 at the office) my tests showed around : 20KB/second. (Ping time ~ 40mSec) : : However, on arrival in Africa, I couldn't achieve more than about : 3KB/second in practice. The receiving end showed only that a single : window was in use, but that is apparently normal at the receiver. : Right. The reciever's window size goes up only when a packet is missing. When the missing packet eventually shows up, it can write out its window to disk and the window size goes back to one. : The : sending end showed that sliding windows were in use, but only 5 out of : 30 possible. (Packet size settled down to 4000/3999; streaming was off : to ensure block checking & the Fast macro was invoked.) : That means the sender was receiving acknowledgements within five packet times. The window never grows larger than it needs to, and the sender is pushing out packets as fast as it can. My guess is that your modem was flow-controlling the PC, which would happen if the PAD was flow-controlling the answering modem, which is not a stretch. Remember, the PAD is taking each 4K packet and segmenting it into 32 128-byte packets and sending them over an X.25 network with a window size of 7, using go-back-to-n retransmission strategy rather than selective repeat like Kermit. If the satellite links are dirty or lossy, this can result in awful (but still presumably error-free) end-to-end throughput. If you use hardware flow control, the modem lights would tell the tale. If you weren't using modems at all, the same principals would still apply. : The relatively slow speed was a bit of a disappointment, but it was : overcome by initiating 5 concurrent instances of Kermit, and : transferring the data in parts. : That's just the right thing to do in a situation like this. Each connection is its own virtual circuit within the X.25 cloud and so does not affect the others. : The prime reason for the post is to record this for others, but I'd : also like to thank Frank & the others in the group for their input at : the beginning of the project. : Our pleasure :-) : If anyone has any ideas about how to increase the no. of windows : actually used, I'd like to try that out. : See above. Modern Kermits have a default maximum window size of 30, and they use all the slots they need to use at any given moment. If the number of slots used is low and your throughput is also low, it means Kermit is being throttled by the communication medium. If the Kermit-to-Kermit connection was over TCP/IP as I assume it must have been since K95D.EXE is involved, you might have done better to simply allow streaming. On the other hand you might also have done better by making a directly dialed connection so as not to have the differing transport strategies of Kermit, TCP/IP, and X.25 all fighting each other at once. : I also tried to get K95D.EXE : to run as a WINNT service, but without success, so would be interested : to know if anyone has managed this elsewhere. : This is quite straightforward in the new release, which is in its final days of Beta testing: http://www.columbia.edu/kermit/k95next.html Thanks for the terrific report -- I wish everybody would do that! - Frank From not-a-real-address@usa.net Sat Mar 16 10:39:46 EST 2002 Article: 13268 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!pln-e!spln!dex!extra.newsguy.com!newsp.newsguy.com!enews4 From: those who know me have no need of my name Newsgroups: comp.protocols.kermit.misc Subject: Re: Experience with K95 over satellite links Date: 16 Mar 2002 12:05:57 GMT Organization: earthfriends Lines: 17 Message-ID: References: NNTP-Posting-Host: p-884.newsdawg.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.5 (beets, i686-redhat-linux) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13268 divulged: >In article , >satprof wrote: >: The relatively slow speed was a bit of a disappointment, but it was >: overcome by initiating 5 concurrent instances of Kermit, and >: transferring the data in parts. >: >That's just the right thing to do in a situation like this. which seems to present an ideal opportunity to discuss it as an enhancement to the program, along the lines of `if multiple files are to be transferred do so n files at a time, where n is controlled by a variable and perhaps some heuristics.' -- bringing you boring signatures for 17 years From dale@stpsoft.com Mon Mar 18 16:43:17 EST 2002 Article: 13269 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!newsfeed.cwix.com!newsfeed.icl.net!newsfeed00.sul.t-online.de!t-online.de!newsfeed.wirehub.nl!newsfeed.online.be!zur.uu.net!ash.uu.net!spool0900.news.uu.net!reader0901.news.uu.net!not-for-mail From: "Dale Stover" Newsgroups: comp.protocols.kermit.misc Subject: Binary for SCO Openserver with SSL/TLS Date: Mon, 18 Mar 2002 15:05:48 -0600 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Lines: 10 Message-ID: <3c9656ef$0$26808$4c41069e@reader1.ash.ops.us.uu.net> NNTP-Posting-Host: 63.90.168.11 X-Trace: 1016485616 reader1.ash.ops.us.uu.net 26808 63.90.168.11 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13269 Hi everyone, Looking for the binary for c-kermit for SCO OpenSever 5.0.5 that has SSL/TLS & TCP/IP linked in. Can anyone help? Thanks Dale Stover Systems Techniques Abilene, Tx From fdc@columbia.edu Mon Mar 18 16:43:19 EST 2002 Article: 13270 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc,comp.unix.sco.misc Subject: Re: Binary for SCO Openserver with SSL/TLS Date: 18 Mar 2002 16:43:06 -0500 Organization: Columbia University Lines: 19 Message-ID: References: <3c9656ef$0$26808$4c41069e@reader1.ash.ops.us.uu.net> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1016487787 9340 128.59.39.139 (18 Mar 2002 21:43:07 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 18 Mar 2002 21:43:07 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13270 comp.unix.sco.misc:144799 In article <3c9656ef$0$26808$4c41069e@reader1.ash.ops.us.uu.net>, Dale Stover wrote: : Looking for the binary for c-kermit for SCO OpenSever 5.0.5 that has : SSL/TLS & TCP/IP linked in. : Can anyone help? : Not legally. US export law forbids putting binaries that contain strong encryption on FTP and Web sites; that's why we don't do it. You have to download the source code and build it yourself. Also, this is a new combination, so you'll have a bit of work to do: collecting the needed SSL/TLS libraries and header files and constructing a new makefile target. Begin by consulting the Kermit Security Reference: http://www.columbia.edu/kermit/security.html - Frank From dold@98.usenet.us.com Mon Mar 18 17:12:51 EST 2002 Article: 13271 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!out.nntp.be!propagator-SanJose!in.nntp.be!feedwest.news.agis.net!aleron.net!news.mainstreet.net!wasp.rahul.net!samba.rahul.net!rahul.net!a2i!dold.a2i!dold From: dold@98.usenet.us.com Newsgroups: comp.protocols.kermit.misc Subject: Re: Binary for SCO Openserver with SSL/TLS Date: 18 Mar 2002 21:54:26 GMT Organization: Wintercreek Data Lines: 13 Message-ID: References: <3c9656ef$0$26808$4c41069e@reader1.ash.ops.us.uu.net> NNTP-Posting-Host: yellow.rahul.net NNTP-Posting-User: dold User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (FreeBSD/3.5-STABLE (i386)) X-Comment: Encoded From: line allows replies that preserve original subject Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13271 Dale Stover wrote: : Hi everyone, : Looking for the binary for c-kermit for SCO OpenSever 5.0.5 that has : SSL/TLS & TCP/IP linked in. The acronyms don't make sense to me, but have you looked at: < http://www.cc.columbia.edu/kermit/ck80binaries.html#sco > They would almost all have TCP. -- --- Clarence A Dold - dold@email.rahul.net - Pope Valley (Napa County) CA. From xms656@hotmail.com Tue Apr 2 11:17:57 EST 2002 Article: 13276 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!news-out.cwix.com!newsfeed.cwix.com!news.maxwell.syr.edu!sn-xit-03!sn-xit-02!supernews.com!postnews1.google.com!not-for-mail From: xms656@hotmail.com (Computer) Newsgroups: comp.protocols.kermit.misc Subject: Kermit vs FTP Date: 1 Apr 2002 20:53:32 -0800 Organization: http://groups.google.com/ Lines: 7 Message-ID: <5b90c2d0.0204012053.6247528@posting.google.com> NNTP-Posting-Host: 210.84.182.137 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1017723213 26274 127.0.0.1 (2 Apr 2002 04:53:33 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 2 Apr 2002 04:53:33 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13276 Hi, I am a university student who downloads many files for my course >from many ifferent places on the internet and the uni's own servers. Now, everyone keeps telling me things such as FTP is quick and Kermit is slow or Kermit is good and FTP is garbage, and so forth... Can anyone tell me what are their main differences (features?) and/or what is the same about them to clear things up for me? From fdc@columbia.edu Tue Apr 2 11:18:03 EST 2002 Article: 13277 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Kermit vs FTP Date: 2 Apr 2002 11:17:50 -0500 Organization: Columbia University Lines: 109 Message-ID: References: <5b90c2d0.0204012053.6247528@posting.google.com> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1017764271 23583 128.59.39.139 (2 Apr 2002 16:17:51 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 2 Apr 2002 16:17:51 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13277 In article <5b90c2d0.0204012053.6247528@posting.google.com>, Computer wrote: : Hi, I am a university student who downloads many files for my course : from many ifferent places on the internet and the uni's own servers. : Now, everyone keeps telling me things such as FTP is quick and Kermit : is slow or Kermit is good and FTP is garbage, and so forth... : : Can anyone tell me what are their main differences (features?) and/or : what is the same about them to clear things up for me? : We haven't written a detailed comparison of FTP and Kermit at the protocol level, but you can get a fair idea of the functional differences here: http://www.columbia.edu/kermit/iksd.html and in somewhat more detail here: ftp://ftp.isi.edu/in-notes/rfc2839.txt By the way, the instant you say "ftp", some people might say "Don't use ftp, use SCP (or SFTP)!" It's a knee-jerk reaction these days (similar to "Don't use Telnet, use SSH!"), and it's based on the false assumption that FTP and Telnet are inherently insecure. They are not: http://www.columbia.edu/kermit/security.html#servers Of course, neither is Kermit: http://www.columbia.edu/kermit/security.html However, an advantage shared by both FTP and Kermit over SCP and SFTP is that they are intrinsically platform-neutral, in the spirit of proper network application protocols. For eompleteness, I should mention that modern Kermit software does FTP too: http://www.columbia.edu/kermit/ftpclient.html and for that matter can also act as an SSH service replacing SFTP: http://www.columbia.edu/kermit/skermit.html As for speed, that's a well-worn topic; it's discussed at some length here: http://www.columbia.edu/kermit/kermit.html#notslow FTP has always been fast, because essentially it's no protocol at all -- it just copies the bytes of the file from source to destination. Kermit, on the other hand, is a whole layered communications protocol, itself layered on top of TCP and IP (or any other transport), originally designed more with robustness in mind than speed. By design, the Kermit protocol is also extensible and has indeed been extended to go fast when conditions allow. As an aside, in case you think executing a whole protocol stack on top of another one is silly, you might want to read this: http://www.columbia.edu/kermit/case10.html Modern Kermit programs (i.e. dating from 1998 or so) include a special adaptation to the Internet called "streaming", which makes their data transfer throughput about the same as FTP. Streaming is discussed here: http://www.columbia.edu/kermit/ckermit70.html#x4.20 but bear in mind that the benchmarks and figures in that document are based on equipment and networks that are slow by today's standards. If you want to compare Kermit and FTP performance yourself, you can do so easily. First obtain an up-to-date copy of C-Kermit or Kermit 95: http://www.columbia.edu/kermit/ and then use it to transfer files with Columbia's Internet Kermit Service: http://www.columbia.edu/kermit/cuiksd.html A good mix would be a text file, a compressed file (e.g. Zip or Gzip), and an uncompressed binary file, largish in size. Transfer the same files using your FTP client on the same computer on an FTP connection to: ftp://kermit.columbia.edu/kermit/ which is the same server, and compare the numbers. If you have trouble making an FTP connection, read this: http://www.columbia.edu/kermit/ftphlp.html Obviously there will be statistical variations in your measurements since the network and servers are not steady-state, so your trials should account for that. To make it easy (in case this is a homework assignment), I've set up the following directory: ftp://kermit.columbia.edu/kermit/bench/ It contains three files, each of them about 737K (3/4 MB) in length: x.txt -- Plain ASCII text x.bin -- An uncompressed binary file (an m68k executable) x.tgz -- A tar archive compressed by Gzip Uploading is problemetic since obviously we don't allow wide-open unrestricted public uploads, so I'd recommend you measure upload performance at a site where you have login access. - Frank From fdc@columbia.edu Wed Apr 3 15:33:34 EST 2002 Article: 13278 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: K95 1.1.21 Released Date: 3 Apr 2002 15:32:26 -0500 Organization: Columbia University Lines: 11 Message-ID: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1017865948 12671 128.59.39.139 (3 Apr 2002 20:32:28 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 3 Apr 2002 20:32:28 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13278 See posting on comp.protocols.kermit.announce, or the Web copy: http://www.columbia.edu/kermit/k95_1121.html Or just visit the new Kermit Project web pages: http://www.columbia.edu/kermit/ http://www.columbia.edu/kermit/k95.html - Frank From bob.hewitt@noaa.gov Wed Apr 3 16:35:26 EST 2002 Article: 13279 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!arclight.uoregon.edu!logbridge.uoregon.edu!news.u.washington.edu!140.142.17.34.MISMATCH!news.u.washington.edu!refmntpc050!bob.hewitt From: bob.hewitt@noaa.gov Newsgroups: comp.protocols.kermit.misc Subject: Can IKSD be run under a non-root userid? Date: Wed, 3 Apr 2002 13:06:23 -0800 Organization: University of Washington Lines: 10 Message-ID: NNTP-Posting-Host: refmntpc050.afsc.noaa.gov Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: nntp6.u.washington.edu 1017867996 24740 (None) 140.142.17.35 X-Complaints-To: help@cac.washington.edu X-X-Sender: bob.hewitt@mercury.akctr.noaa.gov Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13279 I would like to have IKSD running under a regular userid, started from xinetd [running under the same userid.] I already have started IKSD from xinetd. But, I have run into difficulty with IKSD authorization [shadow passwords.] Somehow, I would need to deal with the 'shadow' file. Is this whole thing a major effort? Thanks for any advice. -- FAKC3/REFM - BLDG4, 7600 SAND POINT WAY N.E., SEATTLE, WA, 98115-6349 [ Bob Hewitt - mailto:bob.hewitt@noaa.gov (206)526-4208 ] From jaltman@watsun.cc.columbia.edu Wed Apr 3 17:13:25 EST 2002 Article: 13280 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!jaltman From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman) Newsgroups: comp.protocols.kermit.misc Subject: Re: Can IKSD be run under a non-root userid? Date: 3 Apr 2002 22:01:20 GMT Organization: Columbia University Lines: 15 Message-ID: References: NNTP-Posting-Host: watsun.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1017871280 15952 128.59.39.2 (3 Apr 2002 22:01:20 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 3 Apr 2002 22:01:20 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13280 In article , wrote: : I would like to have IKSD running under a regular userid, started from : xinetd [running under the same userid.] I already have started IKSD from : xinetd. But, I have run into difficulty with IKSD authorization [shadow : passwords.] Somehow, I would need to deal with the 'shadow' file. Is this : whole thing a major effort? IKSD must be run as root in order for it to change uid to the logged in user. Jeffrey Altman * Sr.Software Designer C-Kermit 8.0 available now!!! The Kermit Project @ Columbia University includes Telnet, FTP and HTTP http://www.kermit-project.org/ secured with Kerberos, SRP, and kermit-support@columbia.edu OpenSSL. Interfaces with OpenSSH From fdc@columbia.edu Wed Apr 3 17:20:49 EST 2002 Article: 13281 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Can IKSD be run under a non-root userid? Date: 3 Apr 2002 17:20:42 -0500 Organization: Columbia University Lines: 27 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1017872443 16635 128.59.39.139 (3 Apr 2002 22:20:43 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 3 Apr 2002 22:20:43 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13281 In article , Jeffrey Altman wrote: : In article , : wrote: : : I would like to have IKSD running under a regular userid, started from : : xinetd [running under the same userid.] I already have started IKSD from : : xinetd. But, I have run into difficulty with IKSD authorization [shadow : : passwords.] Somehow, I would need to deal with the 'shadow' file. Is this : : whole thing a major effort? : : IKSD must be run as root in order for it to change uid to the logged : in user. : There are lots of ways for a nonroot user to use C-Kermit to give remote access ("set host * nnnn" or any kind of script based on it, similar to Kermit 95 hostmode), but then incoming users are "you". If you want them to authenticate to some other user ID, obviously the process doing the authenticating (in this case K95) must be root. What's the actual problem? That you can't be root or start IKSD under regular inetd? Or that you can do that but you can't get authentication to work? In the former case, there is probably a better approach to the problem than IKSD. - Frank From the.earth.below@cinenet.net Thu Apr 4 09:23:43 EST 2002 Article: 13282 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!newsfeed.cwix.com!newshub.northeast.verio.net!verio!netnews.com!isdnet!sn-xit-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: Dark Moon Newsgroups: comp.protocols.kermit.misc Subject: Building Kermit 8.0.201 on Irix 6.5 Date: Wed, 03 Apr 2002 21:32:01 -0800 Organization: Less and less each day.. Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: Yarn 0.92 with YES 0.22 X-Posting-Agent: UQWK 3.10devel/nntp+auth/nntp posting/scoring X-Complaints-To: newsabuse@supernews.com Lines: 56 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13282 I've tried cc and gcc both. Here are some results: {shell01:1:1} ~>gcc -v Reading specs from /usr/local/lib/gcc-lib/mips-sgi-irix6.5/3.0.2/specs Configured with: ../gcc-3.0.2/configure Thread model: single gcc version 3.0.2 {shell01:2:1} ~>cc -version MIPSpro Compilers: Version 7.30 {shell01:3:1} ~>cd kermit {shell01:4:1} ~/kermit>make irix65 Making C-Kermit "8.0.201" for SGI IRIX 6.5 Includes fullscreen file display and Yellow Pages... Add -mips to specify a particular hardware target. make xermit KTARGET=${KTARGET:-irix6x} \ "CFLAGS = -DSVR4 -DDIRENT -DNOGETUSERSHELL \ -DNOLISTEN -DPWID_T=uid_t -DCK_ANSIC \ -DSELECT -DCK_RTSCTS -O -DIRIX65 -DCK_RTSCTS -DNOLATIN2 -DNOHEBREW -DNOK ANJI -DNOCYRIL -DNOUNICODE -DNOLOCAL -DNONET -DNOHELP -DNODEBUG -DNOFTP -DNOHTTP -OPT:Olimit=0 -woff 1110,1552,1174 " \ "LIBS = " "LNKFLAGS = -s -Wl,-woff,84" cc -DSVR4 -DDIRENT -DNOGETUSERSHELL -DNOLISTEN -DPWID_T=uid_t -DCK_ANSIC -DSELECT -DCK_RTSCTS -O -DIRIX65 -DCK_RTSCTS -DNOLATIN2 -DNOHEBREW -DNOKANJI -D NOCYRIL -DNOUNICODE -DNOLOCAL -DNONET -DNOHELP -DNODEBUG -DNOFTP -DNOHTTP -OPT:O limit=0 -woff 1110,1552,1174 -DKTARGET=\"irix65\" -c ckcmai.c cc-1020 cc: ERROR File = ckcmai.c, Line = 2392 The identifier "CF_CMDL" is undefined. dodo(x,NULL,CF_CMDL); /* set up for macro execution */ ^ 1 error detected in the compilation of "ckcmai.c". *** Error code 2 (bu21) *** Error code 1 (bu21) *** Error code 1 (bu21) {shell01:5:1} ~/kermit>make irix64gcc Making C-Kermit "8.0.201" for Silicon Graphics IRIX 6.4 gcc make xermit KTARGET=${KTARGET:-irix64gcc} "CC = gcc" "CC2 = gcc" \ "CFLAGS= -O4 -DSVR4 -DIRIX65 -DNOLISTEN -DNOLATIN2 -DNOHEBREW \ -DNOKANJI -DNOCYRIL -DNOUNICODE -DNOLOCAL -DNONET -DNOHELP \ -DNODEBUG -DNOFTP -DNOHTTP -DNOCOTFMC \ " "LIBS= -lcrypt" gcc -O4 -DSVR4 -DIRIX65 -DNOLISTEN -DNOLATIN2 -DNOHEBREW -DNOKANJI -DNOC YRIL -DNOUNICODE -DNOLOCAL -DNONET -DNOHELP -DNODEBUG -DNOFTP -DNOHTTP -DNOCOTFM C -DKTARGET=\"irix64gcc\" -c ckcmai.c ckcmai.c: In function `doicp': ckcmai.c:2392: `CF_CMDL' undeclared (first use in this function) ckcmai.c:2392: (Each undeclared identifier is reported only once ckcmai.c:2392: for each function it appears in.) *** Error code 1 (bu21) *** Error code 1 (bu21) {shell01:6:1} ~/kermit> Thanks for your help, Jeff From casimir@roar.com Thu Apr 4 09:50:52 EST 2002 Article: 13284 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!news-hog.berkeley.edu!ucberkeley!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: casimir@roar.com (ALB) Newsgroups: comp.protocols.kermit.misc Subject: kermit scripts, full-duplex Date: 4 Apr 2002 03:27:12 -0800 Organization: http://groups.google.com/ Lines: 22 Message-ID: NNTP-Posting-Host: 141.11.234.61 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1017919632 26479 127.0.0.1 (4 Apr 2002 11:27:12 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 4 Apr 2002 11:27:12 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13284 Hello, Is it possible to write a basic kermit script to perform full-duplex transfer ? The aim is to perform modem tests, without any protocols. Basically, send and receive the "check fox" string in loop, and verify automatically that no character are lost. The constraint is to be really full-duplex, and not sequentially send or receive. it would be something like that: wait_connection() while (true){ how_many_bytes_can_I_send(&nb_bytes_tx) send_fox_string(nb_bytes_tx) get_number_of_bytes_received(&nb_bytes_rx) read_bytes(buff_p, nb_bytes_rx) check_fox_string(buff_p, nb_bytes) } Thanks From not-a-real-address@usa.net Thu Apr 4 09:51:02 EST 2002 Article: 13283 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!pln-e!spln!dex!extra.newsguy.com!newsp.newsguy.com!enews3 From: those who know me have no need of my name Newsgroups: comp.protocols.kermit.misc Subject: Re: Can IKSD be run under a non-root userid? Date: 04 Apr 2002 07:50:30 GMT Organization: earthfriends Lines: 12 Message-ID: References: NNTP-Posting-Host: p-515.newsdawg.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.1 (Cuyahoga Valley, i386-redhat-linux) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13283 divulged: >In the former case, there is probably a better approach to the problem >than IKSD. it would be handy to be able to start an iksd under a non-root uid, with an alternate passwd (and perhaps shadow) file, and there are several possibilities for handling switching uid's, including no switching at all. pam would complicate things. for kerberos5 user-to-user would be implied. -- bringing you boring signatures for 17 years From fdc@columbia.edu Thu Apr 4 09:51:06 EST 2002 Article: 13286 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: kermit scripts, full-duplex Date: 4 Apr 2002 09:50:47 -0500 Organization: Columbia University Lines: 72 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1017931849 19503 128.59.39.139 (4 Apr 2002 14:50:49 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 4 Apr 2002 14:50:49 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13286 In article , ALB wrote: : : Is it possible to write a basic kermit script to perform full-duplex : transfer ? : : The aim is to perform modem tests, without any protocols. Basically, : send and receive the "check fox" string in loop, and verify : automatically that no character are lost. The constraint is to be : really full-duplex, and not sequentially send or receive. : Kermit scripts are single-process, single-thread. But that should not be an impediment; the underlying operating system's device drivers take care of full-duplex i/o (interrupt handling, buffering) for you. : it would be something like that: : wait_connection() : while (true){ : how_many_bytes_can_I_send(&nb_bytes_tx) : send_fox_string(nb_bytes_tx) : get_number_of_bytes_received(&nb_bytes_rx) : read_bytes(buff_p, nb_bytes_rx) : check_fox_string(buff_p, nb_bytes) : } : You'd set up the connection like this: set port /dev/ttyS0 ; Or other device if fail exit 1 Can't get port: \v(errstring) set speed 57600 ; or other desired speed set carrier-watch off ; you might need this set flow rts/cts ; or other appropriate flow control Then your echo checking loop could be like this (send a character, read back its echo): .string = "check fox" ; Define test string .len := \flen(\m(string)) ; Its length while true { for \%i 1 \m(len) 1 { output \s(string[\%i:1]) ; Send a character if fail exit 1 Fatal i/o error on output: \v(errstring) input 2 \s(string[\%i:1]) ; Wait 2 sec for echo if fail { echo [\s(string[\%i:1])] TIMED OUT: \v(inwait) sec echo Restarting... pause 1 clear input break } else { echo [\s(string[\%i:1])] OK: \v(intime) msec } } output \13 ; Send a carriage return } \s(blah[i:n]) means the substring of the string defined by the macro whose name is "blah", starting at (1-based) position "i", length "n" bytes. \v(intime) is the number of milliseconds it took for the echo to arrive. \v(inwait) is the timeout interval on the INPUT command in seconds (it needn't be hardwired -- you can use a variable). Of course you could be more fancy -- send the whole string, read back the echo a character at a time, etc, whatever you want. More about Kermit script programming here: http://www.columbia.edu/kermit/ckscripts.html - Frank From fdc@columbia.edu Thu Apr 4 09:51:11 EST 2002 Article: 13285 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Building Kermit 8.0.201 on Irix 6.5 Date: 4 Apr 2002 09:23:41 -0500 Organization: Columbia University Lines: 31 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1017930222 18554 128.59.39.139 (4 Apr 2002 14:23:42 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 4 Apr 2002 14:23:42 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13285 In article , Dark Moon wrote: : I've tried cc and gcc both. Here are some results: : I built it on IRIX 6.5 too, using the regular "make irix65" target, with no errors; you can find the resulting binary at: http://www.columbia.edu/kermit/ck80binaries.html : cc -DSVR4 -DDIRENT -DNOGETUSERSHELL -DNOLISTEN -DPWID_T=uid_t -DCK_ANSIC : -DSELECT -DCK_RTSCTS -O -DIRIX65 -DCK_RTSCTS -DNOLATIN2 -DNOHEBREW -DNOKANJI : -DNOCYRIL -DNOUNICODE -DNOLOCAL -DNONET -DNOHELP -DNODEBUG -DNOFTP -DNOHTTP : -OPT:Olimit=0 -woff 1110,1552,1174 -DKTARGET=\"irix65\" -c ckcmai.c : cc-1020 cc: ERROR File = ckcmai.c, Line = 2392 : The identifier "CF_CMDL" is undefined. : : dodo(x,NULL,CF_CMDL); /* set up for macro execution */ : ^ It looks like you added a bunch of CFLAGS. Sometimes unforeseen combinations of feature-related defintions can cause problems like this, although in this case I don't see what the problem could be: CF_CMDL is defined unconditionally in ckuusr.h, which is included by ckcmai.c unless NOSPL is defined, which it is not in this case. It looks to me like you are trying to build the smallest possible version of C-Kermit by disabling as many features as possible. Maybe it would be easier to just use G-Kermit: http://www.columbia.edu/kermit/gkermit.html - Frank From jaltman@watsun.cc.columbia.edu Thu Apr 4 12:41:34 EST 2002 Article: 13287 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!jaltman From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman) Newsgroups: comp.protocols.kermit.misc Subject: Re: Can IKSD be run under a non-root userid? Date: 4 Apr 2002 16:15:06 GMT Organization: Columbia University Lines: 32 Message-ID: References: NNTP-Posting-Host: watsun.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1017936906 22645 128.59.39.2 (4 Apr 2002 16:15:06 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 4 Apr 2002 16:15:06 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13287 In article , those who know me have no need of my name wrote: : divulged: : : >In the former case, there is probably a better approach to the problem : >than IKSD. : : it would be handy to be able to start an iksd under a non-root uid, with an : alternate passwd (and perhaps shadow) file, and there are several : possibilities for handling switching uid's, including no switching at all. : pam would complicate things. for kerberos5 user-to-user would be implied. : This is not the problem that IKSD attempts to solve. Users have for years before IKSD was released used C-Kermit for user to user transfers. If you do not need to switch userid then you can create your own Kermit server using SET SERVER LOGIN SET HOST /SERVER * /TELNET If you wish to use Kerberos 5 user to user mode, use SET HOST * /K5USER2USER IF NOT EQ \v(authname) "name of expected user" CLOSE CONNECTION SERVER Jeffrey Altman * Sr.Software Designer C-Kermit 8.0 available now!!! The Kermit Project @ Columbia University includes Telnet, FTP and HTTP http://www.kermit-project.org/ secured with Kerberos, SRP, and kermit-support@columbia.edu OpenSSL. Interfaces with OpenSSH From the.earth.below@cinenet.net Thu Apr 4 12:41:39 EST 2002 Article: 13288 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!news-out.nuthinbutnews.com!feed-ev1!propagator-sterling!news-in.nuthinbutnews.com!isdnet!sn-xit-02!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: Dark Moon Newsgroups: comp.protocols.kermit.misc Subject: Re: Building Kermit 8.0.201 on Irix 6.5 Date: Thu, 04 Apr 2002 09:16:49 -0800 Organization: Less and less each day.. Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit References: X-Newsreader: Yarn 0.92 with YES 0.22 X-Posting-Agent: UQWK 3.10devel/nntp+auth/nntp posting/scoring X-Complaints-To: newsabuse@supernews.com Lines: 39 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13288 As seen from comp.protocols.kermit.misc, on 4 Apr 2002 09:23:41 -0500, fdc@columbia.edu (Frank da Cruz) wrote: >In article , >Dark Moon wrote: >: I've tried cc and gcc both. Here are some results: >: >I built it on IRIX 6.5 too, using the regular "make irix65" target, >with no errors; you can find the resulting binary at: > > http://www.columbia.edu/kermit/ck80binaries.html It will likely be too large. I'm building it for my shell account, and I have a disk quota to consider. >It looks to me like you are trying to build the smallest possible version of >C-Kermit by disabling as many features as possible. Well, by disabling the features I won't be using, anyway. > Maybe it would be easier >to just use G-Kermit: > > http://www.columbia.edu/kermit/gkermit.html If G-Kermit has the features that I'll want? This Kermit will be used as a remote only, but I'll want the interactive command parser and the full scripting language, also all the latest enhancements to the protocol. Does G-Kermit offer those? 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 fdc@columbia.edu Thu Apr 4 12:42:30 EST 2002 Article: 13289 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Building Kermit 8.0.201 on Irix 6.5 Date: 4 Apr 2002 12:42:20 -0500 Organization: Columbia University Lines: 25 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1017942143 26148 128.59.39.139 (4 Apr 2002 17:42:23 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 4 Apr 2002 17:42:23 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13289 In article , Dark Moon wrote: > If G-Kermit has the features that I'll want? This Kermit will be used > as a remote only... > So far so good. > but I'll want the interactive command parser and the > full scripting language, also all the latest enhancements to the > protocol. Does G-Kermit offer those? > No. I take it you've read: http://www.columbia.edu/kermit/ckccfg.html#x6 Anyway I can't guarantee that every combination of feature-selection switches will produce a clean compile on every platform -- if you run into glitches that you can fix, by all means send patches. What does the admin of the machine have against installing Kermit in a public place? - Frank From the.earth.below@play.net Fri Apr 5 09:13:50 EST 2002 Article: 13292 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.cs.columbia.edu!peerfeed.news.psi.net!unlisys!news.snafu.de!isdnet!sn-xit-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: the.earth.below@play.net (Dark Moon) Newsgroups: comp.protocols.kermit.misc Subject: Re: Building Kermit 8.0.201 on Irix 6.5 Date: Thu, 04 Apr 2002 21:42:10 -0800 Organization: Less and less each day.. Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit References: X-Newsreader: Yarn 0.92 with YES 0.22 X-Posting-Agent: UQWK 3.10devel/nntp+auth/nntp posting/scoring X-Complaints-To: newsabuse@supernews.com Lines: 74 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13292 As seen from comp.protocols.kermit.misc, on 4 Apr 2002 09:23:41 -0500, fdc@columbia.edu (Frank da Cruz) wrote: >In article , >Dark Moon wrote: >: I've tried cc and gcc both. Here are some results: >: >I built it on IRIX 6.5 too, using the regular "make irix65" target, >with no errors; you can find the resulting binary at: Well, I found the source of that problem, and it was a little surprising: I can only guess that extracting the kermit archive put me over quota (though du shows otherwise), so a number of files came out 0-byte. There is enough room in /tmp to build in, though. Now for the next problem. The SGI 'cc' can't seem to find 'wopt.so', which it needs for optimizing options such as -O and -O3. When I build I get: {shell01:19:1} /var/tmp/kermit>make irix65 Making C-Kermit "8.0.201" for SGI IRIX 6.5 Includes fullscreen file display and Yellow Pages... Add -mips to specify a particular hardware target. make xermit KTARGET=${KTARGET:-irix6x} \ "CFLAGS = -O3 -DSVR4 \ -DDIRENT -DNOGETUSERSHELL \ -DPWID_T=uid_t -DCK_ANSIC -DNOLISTEN -DIRIX65 -DNOLATIN2 -DNOHEBREW -DN OKANJI -DNOCYRIL -DNOUNICODE -DNOLOCAL -DNONET -DNOHELP -DNODEBUG -DNOFTP -DNOHT TP -OPT:Olimit=0 -woff 1110,1552,1174 " cc -O3 -DSVR4 -DDIRENT -DNOGETUSERSHELL -DPWID_T=uid_t -DCK_ANSIC -DNOLI STEN -DIRIX65 -DNOLATIN2 -DNOHEBREW -DNOKANJI -DNOCYRIL -DNOUNICODE -DNOLOCAL - DNONET -DNOHELP -DNODEBUG -DNOFTP -DNOHTTP -OPT:Olimit=0 -woff 1110,1552,1174 - DKTARGET=\"irix65\" -c ckcmai.c Error loading wopt.so: 4318075:/usr/lib32/cmplrs/be: rld: Fatal Error: Cannot Su ccessfully map soname 'wopt.so' under any of the filenames /usr/lib32/wopt.so:/u sr/lib32/internal/wopt.so:/lib32/wopt.so:/opt/lib32/wopt.so: *** Error code 2 (bu21) *** Error code 1 (bu21) *** Error code 1 (bu21) {shell01:20:1} /var/tmp/kermit> Now, I was able to find wopt.so in another directory. Tech support told me to use -rpath to tell the compiler where it is, but that didn't seem to work, as I got the same exact error. I also tried with the makefile entry unmodified as it comes "out of the box", with the same results. I've asked tech support to create a symlink so that the compiler can find this library-- I don't know if they will do it, or if it will help if they do. I then tried the irix64gcc entry, both unmodified and like this: irix65gcc: @echo 'Making C-Kermit $(CKVER) for Silicon Graphics IRIX 6.5 gcc' $(MAKE) xermit KTARGET=$${KTARGET:-$(@)} "CC = gcc" "CC2 = gcc" \ "CFLAGS= -O3 -DSVR4 -DIRIX65 -DNOCOTFMC -DNOLISTEN -DNOGREEK \ -DNOLATIN2 -DNOHEBREW -DNOKANJI -DNOFTP -DNOHTTP -DNOHELP \ -DNOCYRIL -DNOUNICODE -DNOLOCAL -DNONET -DNODEBUG -DSELECT \ -DFNFLOAT $(KFLAGS)" LIBS="-lm" I tried without -DSELECT and -DFNFLOAT, then added them in. In all cases Kermit built successfully and without errors, but I noticed some problems right away with the ICP: the 'dir' command doesn't work, and neither does tab-filename completion. Just to be sure, I built this same verson (201) on Solaris 2.6 with gcc, and these features worked just fine. The file transfer protocol engine seems to work fine, at least. I haven't yet tried running my scripts on it-- I'm hoping no strangeness turns up there. Thanks again for all of your help, both with this problem and over the years. Jeff From fdc@columbia.edu Fri Apr 5 09:19:45 EST 2002 Article: 13293 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Building Kermit 8.0.201 on Irix 6.5 Date: 5 Apr 2002 09:19:19 -0500 Organization: Columbia University Lines: 49 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1018016360 434 128.59.39.139 (5 Apr 2002 14:19:20 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 5 Apr 2002 14:19:20 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13293 In article , Dark Moon wrote: : As seen from comp.protocols.kermit.misc, on : 4 Apr 2002 09:23:41 -0500, fdc@columbia.edu (Frank da Cruz) wrote: : : >In article , : >Dark Moon wrote: : >: I've tried cc and gcc both. Here are some results: : >: : >I built it on IRIX 6.5 too, using the regular "make irix65" target, : >with no errors; you can find the resulting binary at: : : Well, I found the source of that problem, and it was a little : surprising: I can only guess that extracting the kermit archive put me : over quota (though du shows otherwise), so a number of files came out : 0-byte. There is enough room in /tmp to build in, though. : : Now for the next problem. The SGI 'cc' can't seem to find 'wopt.so'... : This is something strange about your site. No such problem at other sites. The easy way around this one is to remove the optimize directive (-O3 in this case) from the target. : Now, I was able to find wopt.so in another directory. Tech support : told me to use -rpath to tell the compiler where it is, but that didn't : seem to work, as I got the same exact error... : Most cc's have a -L switch that lets you give the path for libraries. : I tried without -DSELECT and -DFNFLOAT, then added them in. In all : cases Kermit built successfully and without errors, but I noticed some : problems right away with the ICP: the 'dir' command doesn't work, and : neither does tab-filename completion. Just to be sure, I built this : same verson (201) on Solaris 2.6 with gcc, and these features worked : just fine. : All bets are off if you don't use the appropriate makefile target. What happens if you FTP the prebuilt IRIX 6.5 binary to your site (/tmp if you don't have space in your own directory)? http://www.columbia.edu/kermit/ck80binaries.html#sgi It should work. Then just ask the sysadmins to install it. If they want more detailed instructions, they can look at: http://www.columbia.edu/kermit/ckuins.html - Frank From entfred@hotmail.com Fri Apr 5 17:07:33 EST 2002 Article: 13294 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!nntp1.roc.gblx.net!nntp.gblx.net!nntp.gblx.net!news-out.visi.com!hermes.visi.com!hub1.meganetnews.com!hub1.nntpserver.com!cox.net!sn-xit-02!supernews.com!postnews1.google.com!not-for-mail From: entfred@hotmail.com (Entfred) Newsgroups: comp.protocols.kermit.misc Subject: How to get return code from external Unix box running simple shell script? Date: 5 Apr 2002 13:29:53 -0800 Organization: http://groups.google.com/ Lines: 38 Message-ID: NNTP-Posting-Host: 140.147.127.146 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1018042194 24786 127.0.0.1 (5 Apr 2002 21:29:54 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 5 Apr 2002 21:29:54 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13294 I saw an old post that Frank da Cruz said about using IF SUCCESS or IF FAILURE to test the success or failure reported by an external command. What I want to do is something a little different: 1. Kermit script (on a Windows 2000 PC) telnets to an external Sun Unix box. The Kermit script is in a file called test.ksc: set term type at386 set network tcp/ip set host test.machine.com output \13 input 5 login: output testuser\13 input 5 password: output testpassword\13 input 5 $ output testscript\13 connect if fail (I am not sure what do do right here to get Unix return code) Exit End ; 2. On the Unix box, a simple script is run: (call the script, testscript) echo This is a test date exit 9 3. I would like the result code of 9 to be sent back to the kermit script residing on the Windows 2000 PC. How would this be done? Any tips to doing this would be appreciated! -- Entfred From fdc@columbia.edu Fri Apr 5 17:07:38 EST 2002 Article: 13295 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: How to get return code from external Unix box running simple shell script? Date: 5 Apr 2002 17:07:26 -0500 Organization: Columbia University Lines: 85 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1018044447 17555 128.59.39.139 (5 Apr 2002 22:07:27 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 5 Apr 2002 22:07:27 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13295 In article , Entfred wrote: : I saw an old post that Frank da Cruz said about using IF SUCCESS or : IF FAILURE to test the success or failure reported by an external command. : : What I want to do is something a little different: : : 1. Kermit script (on a Windows 2000 PC) telnets to an external Sun : Unix box. The Kermit script is in a file called test.ksc: : : set term type at386 : : set network tcp/ip : set host test.machine.com : output \13 : input 5 login: : output testuser\13 : input 5 password: : output testpassword\13 : input 5 $ : output testscript\13 : connect : if fail (I am not sure what do do right here to get Unix return code) : Exit : End ; : : 2. On the Unix box, a simple script is run: : (call the script, testscript) : : echo This is a test : date : exit 9 : : 3. I would like the result code of 9 to be sent back to the kermit : script residing on the Windows 2000 PC. : : How would this be done? Any tips to doing this would be : appreciated! : You would use Kermit's client/server features, something like this: ; Part 1: Make connection, authenticate, start Kermit server set network tcp/ip set host test.machine.com if fail exit 1 Can't reach host set exit warning off lineout input 5 login: if fail exit 1 No login prompt lineout testuser input 5 password: if fail exit 1 No password prompt lineout testpassword input 5 $ if fail exit 1 No shell prompt lineout kermit -x input 5 KERMIT READY TO SERVE... if fail echo WARNING: missing server message - continuing... ; Part 2: The real work remote host testscript query kermit pexitstat echo testscript return code = \v(query) bye End ; Notes: 1. Always remember to test critical commands for failure. 2. "lineout blah" is equivalent to "output blah\13", but better, since it adjusts the line terminator according to the connection type. 3. \v(pexitstat) is the Kermit built-in variable that contains the exit status code of the most recently invoked inferior process. 4. Part 1 is a lot easier and less reliant on changeable prompts and strings if a Kermit server is already there waiting for you, as would be the case with an Internet Kermit Service: http://www.columbia.edu/kermit/cuiksd.html - Frank From msapiro@value.net Sat Apr 6 11:41:03 EST 2002 Article: 13296 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!news-xfer.newsread.com!bad-news.newsread.com!netaxs.com!newsread.com!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!bcandid.telisphere.com!not-for-mail Message-ID: <3CAE6AD5.F70DD5C8@value.net> From: Mark Sapiro Organization: Not Very Much X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en,en-US,en-GB MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Re: How to get return code from external Unix box running simple shell script? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 53 Date: Sat, 06 Apr 2002 03:16:08 GMT NNTP-Posting-Host: 209.182.169.133 X-Complaints-To: abuse@telisphere.com X-Trace: bcandid.telisphere.com 1018062968 209.182.169.133 (Fri, 05 Apr 2002 19:16:08 PST) NNTP-Posting-Date: Fri, 05 Apr 2002 19:16:08 PST Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13296 Entfred wrote: > 1. Kermit script (on a Windows 2000 PC) telnets to an external Sun > Unix box. The Kermit script is in a file called test.ksc: > > set term type at386 > > set network tcp/ip > set host test.machine.com > output \13 > input 5 login: > output testuser\13 > input 5 password: > output testpassword\13 > input 5 $ > output testscript\13 > connect You can't connect. Connect mode suspends your script until the mode is exited by the user. You almost never want to connect in a script unless it's maybe the last thing in a login type script. > if fail (I am not sure what do do right here to get Unix return code) > Exit > End ; > > 2. On the Unix box, a simple script is run: > (call the script, testscript) > > echo This is a test > date > exit 9 > > 3. I would like the result code of 9 to be sent back to the kermit > script residing on the Windows 2000 PC. > > How would this be done? Any tips to doing this would be > appreciated! You could try something like the following: {login stuff} output kermit -x\13 ; start remote kermit server input 5 {READY TO SERVE...} if failure ... remote host testscript ; run testscript via remote kermit remote query kermit pexitstat ; query the exit status ; at this point \v(query) contains the return code from testscript finish ; terminate the remote server ; test \v(query) and proceed accordingly -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From ishikawa@yk.rim.or.jp Sun Apr 7 14:28:41 EDT 2002 Article: 13297 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed.rim.or.jp!news.rim.or.jp!not-for-mail From: Ishikawa Newsgroups: comp.protocols.kermit.misc Subject: a bug on GNU/linux: speed reset to unintended value occasionally. Date: Sun, 07 Apr 2002 16:41:16 +0900 Organization: Ye 'Ol Disorganized NNTPCache groupie Lines: 265 Message-ID: <3CAFF81C.8039CBF8@yk.rim.or.jp> NNTP-Posting-Host: pl493.nas911.n-yokohama.nttpc.ne.jp Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Trace: news.rim.or.jp 1018165279 99035 210.139.38.237 (7 Apr 2002 07:41:19 GMT) X-Complaints-To: root@rim.or.jp NNTP-Posting-Date: Sun, 7 Apr 2002 07:41:19 +0000 (UTC) X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.17 i686) X-Accept-Language: ja, en Cache-Post-Path: duron!unknown@localhost X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13297 Hello, I have been an occasional user of Kermit over the years. Thank you for making the great package available. (Occassional may not be quite correct. Our Cisco router at the office is hooked to a Solaris box using a serial line and monitored by a kermit program on solaris. Not that I monitor cisco from this console all the time.) Recently I noticed a bug of kermit on GNU/linux. So I would like to report this and see if others have seen the same bug. The problem is that the connection speed is reset occasionally to an unintended setting upon return to kermit prompt a la "control-\ C" sequence. Usually this transition happens to a slower speed. (Well, come to think of the speed may have been set to unintended speed already when I issue "connect" command. I have no idea if this was why connections failed when the bug appeared.) I first noticed this on RedHat GNU/linux 7.2 that uses linux kernel 2.4.x (x being lower than 10, I think). The bug was noticed with the Kermit redhat binary/RPM available >from Columbia university web page. (Now come to think of it, I *may* have downloaded a version from somewhere where new kermit RPM package was made available. But the bug persists with a Columbia-built binary on Debian GNU/Linux, too. See below.) Today I rechecked the existence of the bug on a Debian GNU/Linux (that uses 2.4.17 kernel. I subustituted the kernel on my own.) and using the binary from Columbia university. I downloaded the kermit fresh from the web page. I could capture a log that shows the bug. Here is a relevant part of the log captured using "script" command on GNU/linux. I sanitized the log a little bit by deleting the misspelled command lines, etc.. Since the bug (resetting to an unintended speed) appears on two different GNU/Linux platforms I suspect that the bug is very likely to be in the GNU/linux version of KERMIT, but I will not rule out the possibility of linux tty driver. (I recall that solaris v7 kermit had a bug in that it used the wrong path in the source code about two years ago. It had something to do with either using TERMINFO or POSIX style tty handling. This was fixed with my discovery and input. Thank you for fixing the bug very quickly back then. I hope this new bug on GNU/linux can be fixed in a similar manner.) REPEAT-BY: I am not sure if this is truely reproducibile. I have not checked if the bug is history-sensitive. It might as well be. On RedHat GNU/Linux, when I noticed the bug, usually I tried to set the speed to 38400 or 19200 and tweak the parity setting using "set parity hardware" to obtain full 8bit data and even parity. (8E1). While I tweak these settings and find the communication failure and come back to the prompt I found that the speed is reset inadvertedly. (I had thought that resetting parity or data bytesize may be responsible, but >from what I see in the following short log, simply connecting and reverting to the prompt may reset the speed occasionally under certain conditions. And the speed may be reset upon connection if I am not mistaken when the bug appears.) Please note in the following log the connection speed was found to be 1800 upon exit to kermit prompt near the end. It had been set to 19200 previously. So it could have been reset when the connection was made or when the connection was temporarily suspended and kermit prompt appeared. On my experience on RedHat GNU/Linux 7.2, the speed was often reset to 2400 from 38400/19200. Something IS wrong in GNU/linux and kermit combination. ishikawa@duron$ su Password: duron:/home/ishikawa# kermit C-Kermit 8.0.201, 8 Feb 2002, for Linux Copyright (C) 1985, 2002, Trustees of Columbia University in the City of New York. Type ? or HELP for help. (/home/ishikawa/) C-Kermit>set line /dev/ttyS0 (/home/ishikawa/) C-Kermit>show Show what? (Type "show ?" for a list of possiblities.) (/home/ishikawa/) C-Kermit>show communications Communications Parameters: Line: /dev/ttyS0, speed: 9600, mode: local, modem: generic Parity: none, stop-bits: (default) (8N1) Duplex: full, flow: rts/cts, handshake: none Carrier-watch: auto, close-on-disconnect: off Lockfile: /var/lock/LCK..0 Terminal bytesize: 8, escape character: 28 (^\) Carrier Detect (CD): Off Dataset Ready (DSR): Off Clear To Send (CTS): Off 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. (/home/ishikawa/) C-Kermit>set speed 38400 /dev/ttyS0, 38400 bps (/home/ishikawa/) C-Kermit>set parity hardware (/home/ishikawa/) C-Kermit>set flow-control none (/home/ishikawa/) C-Kermit>set parity none (/home/ishikawa/) C-Kermit>show comm Communications Parameters: Line: /dev/ttyS0, speed: 38400, mode: local, modem: generic Parity: none, stop-bits: (default) (8N1) Duplex: full, flow: none, handshake: none Carrier-watch: auto, close-on-disconnect: off Lockfile: /var/lock/LCK..0 Terminal bytesize: 8, escape character: 28 (^\) Carrier Detect (CD): Off Dataset Ready (DSR): Off Clear To Send (CTS): Off 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. (/home/ishikawa/) C-Kermit>conn Connecting to /dev/ttyS0, speed 38400 Escape character: Ctrl-\ (ASCII 28, FS): enabled Type the escape character followed by C to get back, or followed by ? to see other options. ?Carrier required but not detected. *********************************** Hint: To CONNECT to a serial device that is not presenting the Carrier Detect signal, first tell C-Kermit to: SET CARRIER-WATCH OFF *********************************** (/home/ishikawa/) C-Kermit>(/home/ishikawa/) C-Kermit>set carrier-watch off (/home/ishikawa/) C-Kermit>conn Connecting to /dev/ttyS0, speed 38400 Escape character: Ctrl-\ (ASCII 28, FS): enabled Type the escape character followed by C to get back, or followed by ? to see other options. ---------------------------------------------------- (Back at duron) ---------------------------------------------------- (*CI comment: The speed was OK by looking at "show comm" output which was omitted here. *) (/home/ishikawa/) C-Kermit>set parity hardware (/home/ishikawa/) C-Kermit>conn Connecting to /dev/ttyS0, speed 38400 Escape character: Ctrl-\ (ASCII 28, FS): enabled Type the escape character followed by C to get back, or followed by ? to see other options. ---------------------------------------------------- (Back at duron) ---------------------------------------------------- (*CI comment: The speed was OK by looking at "show comm" output which was omitted here. *) (/home/ishikawa/) C-Kermit>set speed 19200 /dev/ttyS0, 19200 bps (/home/ishikawa/) C-Kermit>conn Connecting to /dev/ttyS0, speed 19200 Escape character: Ctrl-\ (ASCII 28, FS): enabled Type the escape character followed by C to get back, or followed by ? to see other options. ---------------------------------------------------- (Back at duron) ---------------------------------------------------- (/home/ishikawa/) C-Kermit>show comm ***************************************************************** Aiiiieeee (CI comment: Please note the speed here. It is reset to 1800 !!! ) ***************************************************************** Communications Parameters: Line: /dev/ttyS0, speed: 1800, mode: local, modem: generic <===!!! HERE Parity: hardware even, stop-bits: (default) (8E1) Duplex: full, flow: none, handshake: none Carrier-watch: off, close-on-disconnect: off Lockfile: /var/lock/LCK..0 Terminal bytesize: 8, escape character: 28 (^\) Carrier Detect (CD): Off Dataset Ready (DSR): Off Clear To Send (CTS): Off 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. (/home/ishikawa/) C-Kermit>echo ? Text to be echoed (/home/ishikawa/) C-Kermit>echo (/home/ishikawa/) C-Kermit>quit Closing /dev/ttyS0...OK duron:/home/ishikawa# exit PS: The above log was recorded when there was no connection to /dev/ttyS0. The bug on RedHat 7.2 was noticied when a digital hardware serial port was directly connected to a serial port. As a matter of fact, I checked the speed setting by "show comm" output after each command of the above sequence, and I am not entirely sure what triggers the bug. But the bug is real. I have been bitten with this many times in the past several weeks. My guess is that the change of speed from the prompt and/or parity setting may trigger the bug, but maybe others might have seen the same bug on GNU/Linux and input from other people might help us in pinpointing the cause of the bug. PPS: Or maybe certain data structure change in the linux kernel might have made the previously correct kermit code no longer valid, etc.. From fdc@columbia.edu Sun Apr 7 14:28:56 EDT 2002 Article: 13298 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: a bug on GNU/linux: speed reset to unintended value occasionally. Date: 7 Apr 2002 14:28:38 -0400 Organization: Columbia University Lines: 118 Message-ID: References: <3CAFF81C.8039CBF8@yk.rim.or.jp> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1018204119 9015 128.59.39.139 (7 Apr 2002 18:28:39 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 7 Apr 2002 18:28:39 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13298 In article <3CAFF81C.8039CBF8@yk.rim.or.jp>, Ishikawa wrote: [ ...a long and detailed posting about a possible bug in C-Kermit 8.0 in Linux, in which the serial-port speed seems to change to some random and unwanted value when CONNECTing or escaping back from CONNECT mode, if hardware parity (8 data bits + parity) has been requested. ] Thank you for the excellent report. I was ready to start a big debugging session, only to find that my Linux PC won't turn on any more. There's not much I can do at the moment without a Linux PC where I have hands-on access to the serial port and can hook up test equipment. Hardware parity was added in C-Kermit 7.0 at the request of a small number of people who claimed it was necessary to use 8 data bits plus a parity bit to communicate with certain devices. I have never had access to such a device so I could not test it myself, but rather, relied on the test reports of these people. This is the first indication I have had of a problem with it. Since I can't investigate your report right now, let's see what else can be done. Has anybody else noticed symptoms like this? Example: set port /dev/ttyS0 set speed 38400 set parity hardware even set carrier-watch off ; if necessary connect (have a session, then escape back) show comm Did the speed change? If so, the next question is: Does this happen only in Linux, or does it also happen on other operating systems, such as Solaris? We know already that the problem has been observed in two different kinds of Linux: Red Hat 7.2 and Debian (release unknown). : PPS: Or maybe certain data structure change : in the linux kernel might have made the : previously correct kermit code no longer valid, etc.. : This kind of thing has happened many times over the history of Linux, i.e. Linux changes out from underneath Kermit, thus breaking Kermit (other OS's are not necessarily any better in this department). You said you have been doing the same thing in Solaris; did the problem ever happen there? If the problem happens only in Linux, I would tend to blame the Linux serial driver. If it happens in other OS's, the bug is more likely to be in Kermit. : I first noticed this on RedHat GNU/linux 7.2 : that uses linux kernel 2.4.x (x being lower than 10, I think). : The bug was noticed with the Kermit redhat binary/RPM available : from Columbia university web page. : Unfortunately, the C-Kermit RPMs have not been updated to version 8.0. Personally, I don't have time to learn how to make packages on 200 different Unix varieties and versions, so I generally rely on experts in each platform to make packages of new C-Kermit releases. So far nobody has done this for C-Kermit 8.0. For package-making considerations, see: http://www.columbia.edu/kermit/ckpackages.html : The above log was recorded when there was no : connection to /dev/ttyS0. : >From your log: : Communications Parameters: : Line: /dev/ttyS0, speed: 1800, mode: local, modem: generic : Parity: hardware even, stop-bits: (default) (8E1) : Duplex: full, flow: none, handshake: none : Carrier-watch: off, close-on-disconnect: off : Lockfile: /var/lock/LCK..0 : Terminal bytesize: 8, escape character: 28 (^\) : : Carrier Detect (CD): Off : Dataset Ready (DSR): Off : Clear To Send (CTS): Off : Ring Indicator (RI): Off : Data Terminal Ready (DTR): On : Request To Send (RTS): On : it appears that C-Kermit has the device open, but the device is not presenting carrier (CD), or Dataset Ready (DSR), or Clear to Send (CTS). Is that what you mean by "no connection"? In my experience, Unix serial drivers often act strangely when the serial port is not receiving any signals from the "modem". Here are two suggestions: 1. In C-Kermit 8.0, the default modem type was changed from "none" to "generic". Since you did not give a "set modem type" command, you are using the "generic" modem type. Try telling C-Kermit to "set modem type none" BEFORE you give the "set line" command. 2. I wonder what would happen if you used a true null modem cable (or adapter), which feeds the other device's DTR signal into the PC's CD signal, and similarly for the DSR and CTS signals. Maybe then the problem would go away. Finally, I'm curious: does the Cisco router really need 8E1? If that were true, I suspect that very few communications packages could communicate with it. - Frank From ishikawa@yk.rim.or.jp Mon Apr 8 16:49:57 EDT 2002 Article: 13299 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!jfk3-feed1.news.algx.net!dca6-feed2.news.algx.net!allegiance!newsfeed1.cidera.com!Cidera!newsfeed.media.kyoto-u.ac.jp!newsfeed.rim.or.jp!news.rim.or.jp!not-for-mail From: Ishikawa Newsgroups: comp.protocols.kermit.misc Subject: Re: a bug on GNU/linux: speed reset to unintended value occasionally. Date: Tue, 09 Apr 2002 02:35:48 +0900 Organization: Ye 'Ol Disorganized NNTPCache groupie Lines: 347 Message-ID: <3CB1D4F3.10D79B1F@yk.rim.or.jp> References: <3CAFF81C.8039CBF8@yk.rim.or.jp> NNTP-Posting-Host: pl251.nas911.n-yokohama.nttpc.ne.jp Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Trace: news.rim.or.jp 1018287351 58894 210.139.98.251 (8 Apr 2002 17:35:51 GMT) X-Complaints-To: root@rim.or.jp NNTP-Posting-Date: Mon, 8 Apr 2002 17:35:51 +0000 (UTC) X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.17 i686) X-Accept-Language: ja, en Cache-Post-Path: duron!unknown@localhost X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13299 > > Thank you for the excellent report. I was ready to start > a big debugging session, only to find that my Linux PC won't > turn on any more. There's not much I can do at the moment > without a Linux PC where I have hands-on access to the serial > port and can hook up test equipment. Murphy's law strikes! Anyway, here is an additional report I prepared... --- Thank you for quick response. I posted the repot on the weekend, and so I thought I needed to wait until later Monday, etc.. A pleasant surprise to see a quick reply on weekend. Anyway, I should not have mentioned CISCO in the bug report. CISCO router DOES use the traditional bytesize, parity setting, etc. and has nothing to do with the reported bug that seems to be triggered by "set parity hardware". You are right. If CISCO uses such strange communcation setting, a lot more people would have requested the 8E1 settings in KERMIT long before. Anyway, to give a better background information, here is a brief description of the hardware configuration where the problem was observed. The proprietary hardware box that is connected to a linux PC at the office uses the 8E1 datasize setting. At the office: PC <----- serial cable --------------> HW box. RedHat 7.2 8E1 (19200/38400 bps) ( It seems the kernel is 2.4.7). At home PC <--- serial port ---> nothing is connected at the moment. Debian 2.2rx (x bein 5 or 6: I have upgraded from r2 on my own.) Kernel is 2.4.17. Too bad that your linux PC no longer boots? Murphy's law strikes at the most inconvenient time. While you try to resurrect your linux PC, I have dug into the problem on my own. The following discovery might help you in locating the cause of the bug. Here are a few findings. (Debugging was done on the RedHat linux PC at the office.) - The kermit binary on my RedHat PC seems to be the one downloaded from Columbia. (Not someone's RPM.) - I have found a certain command sequence that shows the bug repeatedly. (Shown below.) [ Also, nice thing is that I also found that if I don't enable "set parity hardware", the flipping of speed didn't occur with the above mentioned sequence. A key clue to find out where the bug might be. ] - I ran "strace" to trace the system calls during the above mentioned command sequence and found that a call to ioctl() indeed switches speed to 2400 (B2400)!!! (Shown below.) - Since I have forgotten how to invoke the debug features of kermit, I inserted fprintf(stderr, ...) statements in strategic places and found the statement that invokes ioctl with incorrect speed setting. I think we are very close to finding the cause of the bug. Now the details. 1. The simplest sequence to find the bug on RedHat 7.2 PC (I may have a .kermitrc file for the root account. I am not sure, but the speed setting of 38400 might suggest so.) The following command sequence repeatedly showed the flipping of speed on RedHat 7.2. # strace -o /tmp/t.out ./wermit C-Kermit 8.0.201, 8 Feb 2002, for Linux Copyright (C) 1985, 2002, Trustees of Columbia University in the City of New York. Type ? or HELP for help. (/home/ishikawa/KERMIT/) C-Kermit>set modem none (/home/ishikawa/KERMIT/) C-Kermit>set line /dev/ttyS0 (/home/ishikawa/KERMIT/) C-Kermit>show comm Communications Parameters: Line: /dev/ttyS0, speed: 38400, mode: local, modem: none Parity: none, stop-bits: (default) (8N1) Duplex: full, flow: none, handshake: none Carrier-watch: auto, close-on-disconnect: off Lockfile: /var/lock/LCK..ttyS0 Terminal bytesize: 8, escape character: 28 (^\) Carrier Detect (CD): Off 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. Type SHOW MODEM to see modem-related items. (/home/ishikawa/KERMIT/) C-Kermit>set parity hardware (/home/ishikawa/KERMIT/) C-Kermit>show comm show comm Communications Parameters: Line: /dev/ttyS0, speed: 38400, mode: local, modem: none Parity: hardware even, stop-bits: (default) (8E1) Duplex: full, flow: none, handshake: none Carrier-watch: auto, close-on-disconnect: off Lockfile: /var/lock/LCK..ttyS0 Terminal bytesize: 8, escape character: 28 (^\) Carrier Detect (CD): Off 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. Type SHOW MODEM to see modem-related items. (/home/ishikawa/KERMIT/) C-Kermit>connect Connecting to /dev/ttyS0, speed 38400 Escape character: Ctrl-\ (ASCII 28, FS): enabled Type the escape character followed by C to get back, or followed by ? to see other options. CONNECT speed=38400 <--- a debug output of my own. ?Carrier required but not detected. *********************************** Hint: To CONNECT to a serial device that is not presenting the Carrier Detect signal, first tell C-Kermit to: SET CARRIER-WATCH OFF *********************************** CI: error return here ckucns.c 1367 <--- a debug output of my own. (/home/ishikawa/KERMIT/) C-Kermit>show comm ***** Now the speed is flipped into 2400 !!! **** ***** See below! Communications Parameters: Line: /dev/ttyS0, speed: 2400, mode: local, modem: none Parity: hardware even, stop-bits: (default) (8E1) Duplex: full, flow: none, handshake: none Carrier-watch: auto, close-on-disconnect: off Lockfile: /var/lock/LCK..ttyS0 Terminal bytesize: 8, escape character: 28 (^\) Carrier Detect (CD): Off 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. Type SHOW MODEM to see modem-related items. (/home/ishikawa/KERMIT/) C-Kermit>quit quit Closing /dev/ttyS0...OK [root@dell-w2k-note KERMIT]# 2. The strace output. The strace output captured during the above command run. I only show the relevant portion. Please note the line marked with "*=>", i.e, *=> ioctl(3, 0x5403, {B2400 -opost -isig -icanon -echo ...}) = 0 ... read(0, "connect", 1024) = 7 write(1, "connect", 7) = 7 read(0, "\n", 1024) = 1 write(1, "\n", 1) = 1 time(NULL) = 1018263977 ioctl(0, 0x5401, {B38400 opost isig -icanon -echo ...}) = 0 ioctl(0, 0x5401, {B38400 opost isig -icanon -echo ...}) = 0 ioctl(0, 0x5403, {B38400 opost isig icanon -echo ...}) = 0 alarm(0) = 0 rt_sigaction(SIGALRM, {SIG_IGN}, {SIG_IGN}, 8) = 0 write(1, "Connecting to /dev/ttyS0, speed "..., 39) = 39 write(1, " Escape character: Ctrl-\\ (ASCII"..., 51) = 51 write(1, "Type the escape character follow"..., 54) = 54 write(1, "or followed by ? to see other op"..., 40) = 40 ioctl(0, 0x5401, {B38400 opost isig icanon -echo ...}) = 0 ioctl(0, 0x5401, {B38400 opost isig icanon -echo ...}) = 0 ioctl(0, 0x5403, {B38400 -opost -isig -icanon -echo ...}) = 0 write(2, "CONNECT speed=38400\n", 20) = 20 ioctl(3, 0x5401, {B38400 -opost -isig -icanon -echo ...}) = 0 ioctl(3, 0x5403, {B38400 -opost -isig -icanon -echo ...}) = 0 ioctl(3, 0x5401, {B38400 -opost -isig -icanon -echo ...}) = 0 ioctl(3, 0x5402, {B38400 -opost -isig -icanon -echo ...}) = 0 ioctl(3, 0x5401, {B38400 -opost -isig -icanon -echo ...}) = 0 *=> ioctl(3, 0x5403, {B2400 -opost -isig -icanon -echo ...}) = 0 rt_sigaction(SIGINT, {SIG_IGN}, {0x80e666c, [INT], SA_RESTART|0x4000000}, 8) = 0 rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_IGN}, 8) = 0 ioctl(3, 0x5415, [TIOCM_DTR|TIOCM_RTS|TIOCM_CTS|0x4000]) = 0 ioctl(0, 0x5401, {B38400 -opost -isig -icanon -echo ...}) = 0 ioctl(0, 0x5403, {B38400 opost isig icanon -echo ...}) = 0 write(1, "?Carrier required but not detect"..., 36) = 36 write(1, "********************************"..., 36) = 36 write(1, " Hint: To CONNECT to a serial de"..., 42) = 42 write(1, " is not presenting the Carrier D"..., 46) = 46 write(1, " first tell C-Kermit to:\n\n", 26) = 26 write(1, " SET CARRIER-WATCH OFF\n\n", 26) = 26 write(1, "********************************"..., 37) = 37 write(2, "CI: error return here ckucns.c 1"..., 36) = 36 ioctl(0, 0x5401, {B38400 opost isig icanon -echo ...}) = 0 ioctl(0, 0x5403, {B38400 opost isig -icanon -echo ...}) = 0 getpgrp() = 30970 ioctl(1, 0x540f, [30970]) = 0 ... 3. Where the call takes place. After I captured the above log, I tried inserting fprintf() in some places and see if I can identify the statement that calls the ioctl() with incorrect speed setting. It was a trial and error efforts, but in the end, I could identify the statement. Near the end of function ttvt() in the file ckutio.c, there is a code that looks like the following The code below is AFTER my insertion of fprintf() and my own comment. The "tcsetattr(ttyfd, TCSADRAIN, &tttvt)" call is the problematic one. ... #endif /* VEOL */ #ifdef Plan9 if (p9ttyparity('n') < 0) return -1; #else fprintf(stderr,"CI: ttvt called %s, %d\n", __FILE__, __LINE__); #ifdef BSD44ORPOSIX errno = 0; #ifdef BEOSORBEBOX tttvt.c_cc[VMIN] = 0; /* DR7 can only poll. */ #endif /* BEOSORBEBOX */ fprintf(stderr,"CI: ttvt called %s, %d\n", __FILE__, __LINE__); /* CI suspicious. */ x = tcsetattr(ttyfd,TCSADRAIN,&tttvt); fprintf(stderr,"CI: ttvt called %s, %d\n", __FILE__, __LINE__); debug(F101,"ttvt BSD44ORPOSIX tcsetattr","",x); if (x < 0) { debug(F101,"ttvt BSD44ORPOSIX tcsetattr errno","",errno); return(-1); } #else /* ATTSV */ fprintf(stderr,"CI: tthflow called %s, %d\n", __FILE__, __LINE__); The tcsetattr() call that follows "Suspicous" comment is the culprit. 4. My educated guess. Either (a) tttvt is not initialized correctly, or (b) when the hardware parity is on, a few places where the variable hwparity is referenced and tttvt is updated may corrupt the data in tttvt in an unexpected way. Since the bug appears only when "set parity hardware" (well, at least on RedHat), I guess the cause (b) is more likely although I don't rule out (a) also. Maybe both? Hope this helps. PS: BTW, one of these days, we can probably use one instance of Kermit to simulate a device that uses 8E1 datasize setting. The implementation seems to work more or less correctly albeit some bugs like the one I have found out. The current implementaions is good enough to test 8E1 data setting on another platform, I think. Actually, this is how I tested the solaris 7 problems a couple of years ago. I connected the two ports of a solaris 7 for x86 PC and tested file transfer, etc. and found that Solaris needed to use POSIX tty handling or something. PPS: Your suggestion of connecting the live device at the end of the cable may be a valid one. Unfortunately, the particular hardware box has a nasty habit of not initializing the serial terminal until about 40 or 50 seconds after power up. And the only way for me to tell if the hardware box booted successfully is to see a short greeting message that appears on the serial line. ONLY THEN I can begin typing certain commands from kermit into the hardware. So I needed to monitor this greeting message and in so doing, I was forced to monitor the serial line BEFORE the signals from the hardware box come alive... Hmm... From fdc@columbia.edu Mon Apr 8 16:51:48 EDT 2002 Article: 13300 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: a bug on GNU/linux: speed reset to unintended value occasionally. Date: 8 Apr 2002 16:51:42 -0400 Organization: Columbia University Lines: 12 Message-ID: References: <3CAFF81C.8039CBF8@yk.rim.or.jp> <3CB1D4F3.10D79B1F@yk.rim.or.jp> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1018299103 28124 128.59.39.139 (8 Apr 2002 20:51:43 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 8 Apr 2002 20:51:43 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13300 In article <3CB1D4F3.10D79B1F@yk.rim.or.jp>, Ishikawa wrote: : : Murphy's law strikes! : : Anyway, here is an additional report I prepared... : [ about hardware parity in Linux and random speed-changing... ] We are handling this offline and will report back when we have an answer. - Frank From mperkins@lbmc.com Fri Apr 12 11:09:08 EDT 2002 Article: 13301 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: mperkins@lbmc.com (Matt Perkins) Newsgroups: comp.protocols.kermit.misc Subject: Get command with Wildcards Date: 12 Apr 2002 07:56:24 -0700 Organization: http://groups.google.com/ Lines: 11 Message-ID: <8423928c.0204120656.64db2dbf@posting.google.com> NNTP-Posting-Host: 209.177.198.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1018623385 21712 127.0.0.1 (12 Apr 2002 14:56:25 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 12 Apr 2002 14:56:25 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13301 I have unsuccessfully tried to use the get command with wildcards. >From the Kermit> prompt, I have tried the following command to get all files that have "upd" in the file name: ftp get *upd* ftp get [upd] Kermit returns "System cannot find the file specified" I can use the send command with wildcards. Does send and get have different wildcards? From fdc@columbia.edu Fri Apr 12 11:09:14 EDT 2002 Article: 13302 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Get command with Wildcards Date: 12 Apr 2002 11:09:00 -0400 Organization: Columbia University Lines: 18 Message-ID: References: <8423928c.0204120656.64db2dbf@posting.google.com> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1018624145 16299 128.59.39.139 (12 Apr 2002 15:09:05 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 12 Apr 2002 15:09:05 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13302 In article <8423928c.0204120656.64db2dbf@posting.google.com>, Matt Perkins wrote: : I have unsuccessfully tried to use the get command with wildcards. : From the Kermit> prompt, I have tried the following command to get all : files that have "upd" in the file name: : : ftp get *upd* : ftp get [upd] : : Kermit returns "System cannot find the file specified" : : I can use the send command with wildcards. Does send and get have : different wildcards? : You have to use the MGET command to get multiple files (just like with other FTP clients). - Frank From fdc@columbia.edu Sun Apr 14 15:45:25 EDT 2002 Article: 13305 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: C-Kermit 8.0 - Last call for binaries Date: 14 Apr 2002 15:26:00 -0400 Organization: Columbia University Lines: 27 Message-ID: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1018812361 26380 128.59.39.139 (14 Apr 2002 19:26:01 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 14 Apr 2002 19:26:01 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13305 We'd like to start getting the C-Kermit 8.0 CDROM together, to replace the C-Kermit 7.0 CDROM: http://www.columbia.edu/kermit/ck70cd.html But first I'd like to ask those of you that have hardware/OS combinations for which C-Kermit 8.0 has not been built yet to please make binaries and send them in. The list of current binaries is here: http://www.columbia.edu/kermit/ck80binaries.html Instructions for making and submitting binaries are here: http://www.columbia.edu/kermit/cksendbin.html And in case you want to make an install package (e.g. RPM) for your favorite platform (so far we don't have any since C-Kermit 7.0), see: http://www.columbia.edu/kermit/ckpackages.html So far we have 495 C-Kermit binaries, 270 of them for version 8.0. Let's see how many more we can accumulate. Thanks! - Frank From eric672@carolina.rr.comTRASH Mon Apr 22 19:29:42 EDT 2002 Article: 13323 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cyclone.tampabay.rr.com!news-post.tampabay.rr.com!typhoon.southeast.rr.com.POSTED!not-for-mail From: "Eric Almond" Newsgroups: comp.protocols.kermit.misc References: <3CC09982.60804@columbia.edu> <3CC0FD46.7090500@nyc.rr.com> Subject: Re: FTP w/SSL Problem using C-Kermit 8.0.201 Lines: 108 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: Date: Mon, 22 Apr 2002 23:15:46 GMT NNTP-Posting-Host: 66.56.121.121 X-Complaints-To: abuse@rr.com X-Trace: typhoon.southeast.rr.com 1019517346 66.56.121.121 (Mon, 22 Apr 2002 19:15:46 EDT) NNTP-Posting-Date: Mon, 22 Apr 2002 19:15:46 EDT Organization: RoadRunner - Carolina Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13323 Well that worked!!! Thanks so much for your help!!!! Still not sure why it keeps spitting back the "?Cannot set protection level" message but since "PRIVATE" is the default and what I want...I'm happy. "Jeffrey Altman [Road Runner]" wrote in message news:3CC0FD46.7090500@nyc.rr.com... > You do not want to be using the /SSL in the FTP OPEN. Not if you > want to be using FTP AUTH SSL as the authentication mechanism. > > > Eric Almond wrote: > > > Thanks for responding!!! I added the lines below and this is the debug > > output: > > > > ?Cannot set protection level to SAFE > > ?Cannot set protection level to SAFE > > SSL DEBUG ACTIVE > > =>START SSL/TLS connect on COMMAND > > SSL_handshake:UNKWN before/connect initialization > > SSL_connect:UNKWN before/connect initialization > > SSL_connect:3WCH_A SSLv3 write client hello A > > SSL_write_alert SSL_connect:error in 3RSH_A SSLv3 read server hello A > > ftp: SSL/TLS connect COMMAND error: error:1408F10B:SSL > > routines:SSL3_GET_RECORD:wrong version number > > =>DONE SSL/TLS connect on COMMAND > > ?Can't FTP connect to ftp.xxxxxx.com:10021 > > Connection failed > > > > > > -Eric > > > > > > "Jeffrey Altman [Kermit Project]" wrote in message > > news:3CC09982.60804@columbia.edu... > > > >>I don't know what your server is negotiating since you didn't provide > >>any debug output: > >> > >> SET AUTH TLS VERBOSE ON > >> SET AUTH TLS DEBUG ON > >> SET FTP VERBOSE ON > >> SET FTP DEBUG ON > >> > >>Also, I would suggest you use > >> > >> SET FTP AUTHTYPE TLS SSL > >> > >> > >> > >>Eric Almond wrote: > >> > >> > >>>I'm a newbie to Kermit so I hope this isn't something dumb but I'm > >>> > > having a > > > >>>problem connecting to a remote FTP server that is secured via SSL. I'm > >>> > > not > > > >>>sure if its OpenSSL that's causing the problem or Kermit. I know the > >>> > > server > > > >>>is working correctly because I can connect securely using CuteFTP and > >>>WS_FTP. > >>> > >>>I'm running on AIX 4.3.3, OpenSSL 0.9.6c, C-Kermit 8.0.201 > >>> > >>>The error I'm getting is as follows: > >>> > >>>?Cannot set protection level to PRIVATE > >>>?Cannot set protection level to PRIVATE > >>>ftp: SSL/TLS connect COMMAND error: error:1408F10B:SSL > >>>routines:SSL3_GET_RECORD:wrong version number ?Can't FTP connect to > >>>ftp.xxxxxx.com:10021 Connection failed > >>> > >>>Here's a copy of my script: > >>> > >>>#!/opt/kermit/bin/kermit + > >>>SET FTP AUTOLOGIN ON > >>>SET FTP AUTHTYPE SSL > >>>SET FTP AUTOAUTHENTICATION ON > >>>SET FTP AUTOENCRYPTION ON > >>>SET FTP COMMAND-PROTECTION-LEVEL PRIVATE > >>>SET FTP DATA-PROTECTION-LEVEL PRIVATE > >>>if not defined \%1 exit 1 Usage: \%0 filename > >>>if not exist \%1 exit 1 \%1: File not found > >>>if not readable \%1 exit 1 \%1: File not readable > >>>ftp open /SSL ftp.xxxxxx.com 10021 /user:xxxxxxxx /password:xxxxxxxx > >>>if fail exit 1 Connection failed > >>>if not \v(ftp_loggedin) exit 1 Login failed > >>>ftp cd upload > >>>if fail exit 1 ftp cd upload: \v(ftp_message) > >>>ftp put \%1 if fail exit 1 > >>>ftp put \%1: \v(ftp_message) > >>>ftp bye exit > >>> > > > > > From jaltman@watsun.cc.columbia.edu Tue Apr 23 09:27:42 EDT 2002 Article: 13324 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!jaltman From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman) Newsgroups: comp.protocols.kermit.misc Subject: Re: FTP w/SSL Problem using C-Kermit 8.0.201 Date: 23 Apr 2002 04:02:01 GMT Organization: Columbia University Lines: 18 Message-ID: References: <3CC0FD46.7090500@nyc.rr.com> NNTP-Posting-Host: watsun.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1019534521 26710 128.59.39.2 (23 Apr 2002 04:02:01 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 23 Apr 2002 04:02:01 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13324 SAFE means that the data is checksum'd but not encrypted. That is not possible when using SSL/TLS. In article , Eric Almond wrote: : Well that worked!!! Thanks so much for your help!!!! : : Still not sure why it keeps spitting back the "?Cannot set protection level" : message but since "PRIVATE" is the default and what I want...I'm happy. : : Jeffrey Altman * Sr.Software Designer Kermit 95 1.1.21 available now!!! The Kermit Project @ Columbia University SSH plus Telnet, FTP and HTTP http://www.kermit-project.org/ secured with Kerberos, SRP, and kermit-support@columbia.edu OpenSSL. From eric.ortego@cctechnol.com Tue Apr 23 12:06:51 EDT 2002 Article: 13325 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!nntp.abs.net!uunet!dca.uu.net!ash.uu.net!spool0900.news.uu.net!reader0901.news.uu.net!not-for-mail Message-ID: <3CC58340.EAA21412@cctechnol.com> Date: Tue, 23 Apr 2002 10:52:32 -0500 From: EG Ortego X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.17 i686) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: How to Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 11 NNTP-Posting-Host: 65.208.62.81 X-Trace: 1019577089 reader1.ash.ops.us.uu.net 8456 65.208.62.81 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13325 Im looking for help using and understanding Kermit, Im using Version 8, and cannot get it to display anything other than stats and settings when I connect it simply hangs there I get no local echo, I get no input from the device im trying to connect to... I simply would like to use it to view data comming in on /dev/ttyS0 kermit -l /dev/ttyS0 -b 19200 set carrier-watch off connect ???? wtf From fdc@columbia.edu Tue Apr 23 12:06:54 EDT 2002 Article: 13326 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: How to Date: 23 Apr 2002 12:06:49 -0400 Organization: Columbia University Lines: 24 Message-ID: References: <3CC58340.EAA21412@cctechnol.com> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1019578010 19224 128.59.39.139 (23 Apr 2002 16:06:50 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 23 Apr 2002 16:06:50 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13326 In article <3CC58340.EAA21412@cctechnol.com>, EG Ortego wrote: : Im looking for help using and understanding Kermit, Im using Version 8, : and cannot get it to display anything other than stats and settings when : I connect it simply hangs there I get no local echo, I get no input from : the device im trying to connect to... : I simply would like to use it to view data comming in on /dev/ttyS0 : kermit -l /dev/ttyS0 -b 19200 : set carrier-watch off : connect : Before you give the CONNECT command, what does "show comm" say? What is plugged in to /dev/ttyS0? With what kind of cable? If it's a null-modem cable, which signals are connected (and which signals are cross-connected or faked out)? Maybe it needs to see certain signals, like CTS or DSR, before it will send anything, and your cable is not providing them. At what speed is it transmitting? Are you sure it's 19200? How do you know it's transmitting anything at all? - Frank From svd_box_5@hotpop.com Tue Apr 23 14:15:25 EDT 2002 Article: 13327 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!howland.erols.net!logbridge.uoregon.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: svd_box_5@hotpop.com (Scott Davis) Newsgroups: comp.protocols.kermit.misc Subject: What is wrong with this macro Date: 23 Apr 2002 11:05:41 -0700 Organization: http://groups.google.com/ Lines: 37 Message-ID: <97b4e474.0204231005.3bf7bc3e@posting.google.com> NNTP-Posting-Host: 208.192.214.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1019585141 32017 127.0.0.1 (23 Apr 2002 18:05:41 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 23 Apr 2002 18:05:41 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13327 This macro worked fine under kermit 7, but under 8 it gives the message: ?Unbalanced braces define get-a-3com-modem - { local \%i local got-line echo Finding a 3com modem. set input echo off assign got-line 0 for \%i 2 9 1 - { xecho {Trying \%i : } set line /dev/tty\%i xif failure - { echo This line cannot be accessed continue } set speed 38400 set flow rts output \{13} pause 1 output AT\{13} input 2 OK xif failure - { echo This line seems to be hung continue } assign got-line \%i break } if equal \m(got-line) 0 end 1 Error: all resources in use. echo Available echo Acquired a 3com modem. } From fdc@columbia.edu Tue Apr 23 14:15:28 EDT 2002 Article: 13328 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: What is wrong with this macro Date: 23 Apr 2002 14:15:17 -0400 Organization: Columbia University Lines: 25 Message-ID: References: <97b4e474.0204231005.3bf7bc3e@posting.google.com> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1019585718 23887 128.59.39.139 (23 Apr 2002 18:15:18 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 23 Apr 2002 18:15:18 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13328 In article <97b4e474.0204231005.3bf7bc3e@posting.google.com>, Scott Davis wrote: : This macro worked fine under kermit 7, but under 8 it gives the message: : ?Unbalanced braces : : define get-a-3com-modem - : { : .... : output \{13} <-- this is the culprit : .... : } : It's a bug, fixed in the current sources: http://www.columbia.edu/kermit/ckdaily.html Workaround: output \13 or more simply: lineout - Frank From svd_box_5@hotpop.com Tue Apr 23 17:04:14 EDT 2002 Article: 13330 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!news-out.cwix.com!newsfeed.cwix.com!logbridge.uoregon.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: svd_box_5@hotpop.com (Scott Davis) Newsgroups: comp.protocols.kermit.misc Subject: Nevermind that last post Date: 23 Apr 2002 13:53:15 -0700 Organization: http://groups.google.com/ Lines: 5 Message-ID: <97b4e474.0204231253.6e1d46dd@posting.google.com> NNTP-Posting-Host: 12.29.89.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1019595196 4503 127.0.0.1 (23 Apr 2002 20:53:16 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 23 Apr 2002 20:53:16 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13330 Well... It looks like my problems were with the "echo" and "xecho" statements. I really should have encased their arguments entirely in {}. Didn't think that was required, but that did the trick. Perhaps kermit 8 is more finicky about dubious syntax than kermit 7 is. From svd_box_5@hotpop.com Wed Apr 24 11:15:26 EDT 2002 Article: 13331 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: svd_box_5@hotpop.com (Scott Davis) Newsgroups: comp.protocols.kermit.misc Subject: Re: What is wrong with this macro - THANKS Date: 24 Apr 2002 08:06:38 -0700 Organization: http://groups.google.com/ Lines: 30 Message-ID: <97b4e474.0204240706.7d0a4fde@posting.google.com> References: <97b4e474.0204231005.3bf7bc3e@posting.google.com> NNTP-Posting-Host: 12.29.89.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1019660799 2053 127.0.0.1 (24 Apr 2002 15:06:39 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 24 Apr 2002 15:06:39 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13331 Yeah - I took another option and changed it to output {\13} - that worked too. Thanks. I really shouldn't have coded it that way in the first place. fdc@columbia.edu (Frank da Cruz) wrote in message news:... > In article <97b4e474.0204231005.3bf7bc3e@posting.google.com>, > Scott Davis wrote: > : This macro worked fine under kermit 7, but under 8 it gives the message: > : ?Unbalanced braces > : > : define get-a-3com-modem - > : { > : .... > : output \{13} <-- this is the culprit > : .... > : } > : > It's a bug, fixed in the current sources: > > http://www.columbia.edu/kermit/ckdaily.html > > Workaround: > > output \13 > > or more simply: > > lineout > > - Frank From ishikawa@yk.rim.or.jp Wed Apr 24 14:13:11 EDT 2002 Article: 13332 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!howland.erols.net!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed.rim.or.jp!news.rim.or.jp!not-for-mail From: Ishikawa Newsgroups: comp.protocols.kermit.misc Subject: Re: a bug on GNU/linux: speed reset to unintended value occasionally. Date: Thu, 25 Apr 2002 02:22:31 +0900 Organization: Ye 'Ol Disorganized NNTPCache groupie Lines: 50 Message-ID: <3CC6E9D7.F4F2C624@yk.rim.or.jp> References: <3CAFF81C.8039CBF8@yk.rim.or.jp> <3CB1D4F3.10D79B1F@yk.rim.or.jp> <3CBAB0BC.1D3ABF7B@yk.rim.or.jp> NNTP-Posting-Host: pl1447.nas911.n-yokohama.nttpc.ne.jp Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Trace: news.rim.or.jp 1019668953 68363 210.139.44.167 (24 Apr 2002 17:22:33 GMT) X-Complaints-To: root@rim.or.jp NNTP-Posting-Date: Wed, 24 Apr 2002 17:22:33 +0000 (UTC) X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.18 i686) X-Accept-Language: ja, en Cache-Post-Path: duron!unknown@localhost X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13332 >Has anyone noticed this sub-optimal speed >using Kermit on two closely >placed PCs at 38400 bps? It turned out that the apparent slowdown was an artifact of sending binary file, namely wermit. I got a much better throughput when I tried to send largish ascii file such as /etc/termcap. This was again the two ports connected directly by cross/null cable. It puzzled me for a while, but finally I figured it was a slowdown caused by the prefixing or quoting of binary characters: If I disable the prefixing via set control-character unprefixed all then I got an improved throughput. (With prefixing I got sub-3KB/sec throughput. Without prefixing I got over-3KB/sec throughput.) One would not usually remove prefixing unless we know the transmission occurs via clean direct connection. Kermit has a reason to be conservative. It is one of the best file transfer program under a noisy/lossy/disruptive environment. The reason I got interested in the throughput was that I was curious to learn if the throughput improves when I use full 8 bits connection instead of 7 bits connection. Obviously at this speed (38400), we are already close to the limit of serial port, and whether we use 7 bits or 8 bits isn't that important. Other overhead such as prefixing masks the improvement, if any, of using full 8 bit character transmission path. Thank you again for the great software package. Happy Hacking! From fdc@columbia.edu Wed Apr 24 14:13:16 EDT 2002 Article: 13333 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: a bug on GNU/linux: speed reset to unintended value occasionally. Date: 24 Apr 2002 14:13:05 -0400 Organization: Columbia University Lines: 114 Message-ID: References: <3CAFF81C.8039CBF8@yk.rim.or.jp> <3CBAB0BC.1D3ABF7B@yk.rim.or.jp> <3CC6E9D7.F4F2C624@yk.rim.or.jp> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1019671988 341 128.59.39.139 (24 Apr 2002 18:13:08 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 24 Apr 2002 18:13:08 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13333 In article <3CC6E9D7.F4F2C624@yk.rim.or.jp>, Ishikawa wrote: : >Has anyone noticed this sub-optimal speed : >using Kermit on two closely : >placed PCs at 38400 bps? : : It turned out that the apparent slowdown : was an artifact of : sending binary file, namely wermit. : I got a much better throughput when : I tried to send largish ascii file such as : /etc/termcap. : : This was again the two ports connected : directly by cross/null cable. : For best results, make sure the cable has RTS and CTS crossed and that both Kermit programs have been told to: set flow rts/cts : It puzzled me for a while, but : finally I figured it was a slowdown : caused by the prefixing or quoting of : binary characters: : : If I disable the prefixing via : : set control-character unprefixed all : : then I got an improved throughput. : (With prefixing I got sub-3KB/sec throughput. : Without prefixing I got over-3KB/sec throughput.) : : One would not usually remove prefixing : unless we know the transmission occurs via : clean direct connection. : Kermit has a reason to be conservative. It is one of : the best file transfer program : under a noisy/lossy/disruptive : environment. : Thanks :-) It is difficult to find the right defaults. If we try too hard to go fast, then transfers don't work on certain kinds of connections or with certain hosts. If we try to hard to work under ALL conditions (as we did in the early years), people complain that Kermit is slow. Kermit can adapt to practically any situation, and achieve the greatest possible thoughput, but since most people don't care to find out about this, the defaults are all that matter. Control-character "unprefixing" is a relatively new development (12 years ago?) that is somewhat risky but, like everything else in Kermit, you can control it in great detail: down to each individual C0 and C1 control character ("help set control" for details). You can also tell Kermit, when sending a file, to double selected characters, which is necessary when passing through certain non-transparent devices such as terminal servers. And when receiving files, Kermit can be told to discard selected characters that might have been added by "something" that sits between the two Kermit programs (for example, something that adds a linefeed every time it sees a carriage return). : The reason I got interested in the throughput was : that I was curious to learn if : the throughput improves when I use full 8 bits : connection instead of 7 bits connection. : Of course it does. But control characters have nothing to do with 7 versus 8 bits. On a 7-bit connection, ALL 8-bit characters are prefixed, yet 7-bit (C0) control characters can still be unprefixed. : Obviously at this speed (38400), we are already close : to the limit of serial port, and : whether we use 7 bits or 8 bits isn't that important. : Other overhead such as prefixing masks : the improvement, if any, of using full 8 bit character : transmission path. : If you have a truly transparent 8-bit path, then you can use "set parity none" (which is the default anyway, or "set parity hardware" if you need it) and "set prefixing minimal" or "set prefixing none" and get very close to the maximum physical speed of the port; sometimes faster, because Kermit also does some compression. : Thank you again for the great software package. : Our pleasure :-) Since you like Kermit and you are in Japan, maybe now you can play with Kermit's character-set conversion. Did you know that when transferring a file in text mode (like email, netnews, source code, etc), Kermit can translate between any pair of EUC-JP (JIS X 0208), ISO-2022-JP, Shift-JIS, JIS-7, DEC Kanji, and Unicode? For example, to send a Japanese text file from a PC that uses Shift-JIS to a Linux system that uses EUC-JP... On the PC: set file character-set shift-jis set transfer character-set utf8 send On the Linux system: set file character-set euc-jp receive - Frank From casimir@roar.com Thu Apr 25 13:42:08 EDT 2002 Article: 13334 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!howland.erols.net!logbridge.uoregon.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: casimir@roar.com (ALB) Newsgroups: comp.protocols.kermit.misc Subject: output command and flow control Date: 25 Apr 2002 09:31:43 -0700 Organization: http://groups.google.com/ Lines: 16 Message-ID: NNTP-Posting-Host: 141.11.234.61 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1019752303 8200 127.0.0.1 (25 Apr 2002 16:31:43 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 25 Apr 2002 16:31:43 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13334 Hello, What happens when I do an "output" command when the remote modem is not able to receive data (its RTS is ON, and intermediate buffers are all full)? (I suppose the flow control is operational on both sides.) data lost ? Is there a solution to know before performing the output, how many bytes can be sent ? Is it the same with "transmit" command ? Thanks (sorry for grammatical mistakes, English is not my mother tongue) From fdc@columbia.edu Thu Apr 25 13:42:11 EDT 2002 Article: 13335 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: output command and flow control Date: 25 Apr 2002 13:41:42 -0400 Organization: Columbia University Lines: 29 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1019756504 15188 128.59.39.139 (25 Apr 2002 17:41:44 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 25 Apr 2002 17:41:44 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13335 In article , ALB wrote: : What happens when I do an "output" command when the remote modem is not : able to receive data (its RTS is ON, and intermediate buffers are all : full)? (I suppose the flow control is operational on both sides.) : It depends on many factors: the computer, the operating system, the type of modem (internal or external), if external the modem cable, the type of flow control. If both the modem and Kermit have been configured for RTS/CTS flow control, and the modem is not asserting CTS, the OUTPUT command will not return until the modem turns on CTS so the device driver can send the data. If CTS is on, the OS will send the data and the OUTPUT command will return immediately. : Is there a solution to know before performing the output, how many : bytes can be sent ? : Kermit does not have any feature like this, and most operating systems don't have it either. Anyway, it can depend on factors outside the computer. CTS from the modem means "it's OK to send". But the modem might have a buffer of only 40 bytes. If you send 60 bytes, either 20 will be lost, or the modem will turn off CTS after 40. It depends on the modem, but Kermit and the computer have no way of knowing what the modem will do, because it is a separate device. - Frank From ishikawa@yk.rim.or.jp Thu Apr 25 14:47:26 EDT 2002 Article: 13336 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed.rim.or.jp!news.rim.or.jp!not-for-mail From: Ishikawa Newsgroups: comp.protocols.kermit.misc Subject: Re: a bug on GNU/linux: speed reset to unintended value occasionally. Date: Fri, 26 Apr 2002 03:36:22 +0900 Organization: Ye 'Ol Disorganized NNTPCache groupie Lines: 151 Message-ID: <3CC84CA6.D49F85EC@yk.rim.or.jp> References: <3CAFF81C.8039CBF8@yk.rim.or.jp> <3CBAB0BC.1D3ABF7B@yk.rim.or.jp> <3CC6E9D7.F4F2C624@yk.rim.or.jp> NNTP-Posting-Host: pl133.nas911.n-yokohama.nttpc.ne.jp Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Trace: news.rim.or.jp 1019759787 5002 210.139.98.133 (25 Apr 2002 18:36:27 GMT) X-Complaints-To: root@rim.or.jp NNTP-Posting-Date: Thu, 25 Apr 2002 18:36:27 +0000 (UTC) X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.18 i686) X-Accept-Language: ja, en Cache-Post-Path: duron!unknown@localhost X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13336 Hi, > > Control-character "unprefixing" is a relatively new > development (12 years ago?) that is somewhat risky but, > like everything else in Kermit, you can control it in > great detail: down to each individual C0 and C1 control > character ("help set control" for details). > > You can also tell Kermit, when sending a file, to double > selected characters, which is necessary when passing > through certain non-transparent devices such as terminal > servers. And when receiving files, Kermit can be told > to discard selected characters that might have been added > by "something" that sits between the two Kermit programs > (for example, something that adds a linefeed every time > it sees a carriage return). > ... > If you have a truly transparent 8-bit path, then you can > use "set parity none" (which is the default anyway, or > "set parity hardware" if you need it) and "set prefixing > minimal" or "set prefixing none" and get very close to > the maximum physical speed of the port; sometimes faster, > because Kermit also does some compression. > I tried your suggestion, and found "set prefixing none" somehow produces slightly lower throughput than "set control unprefixed all". Hmm. Could be an artifact or something. The real kicker is the use of "/transparent" as in send /binary /transparent ./wermit ./wermit.tmp Using the 8N1 connection at 38400 bps, I got about 3800 bps. This is close to the bare line speed. Isn't this great? I have been unaware of "/transparent" for a long time, but then I was interested in using KERMIT as terminal emulator and a `reliable' file transfer engine. > : Thank you again for the great software package. > : > Our pleasure :-) > > Since you like Kermit and you are in Japan, maybe now you > can play with Kermit's character-set conversion. Did you > know that when transferring a file in text mode (like > email, netnews, source code, etc), Kermit can translate > between any pair of EUC-JP (JIS X 0208), ISO-2022-JP, > Shift-JIS, JIS-7, DEC Kanji, and Unicode? For example, > to send a Japanese text file from a PC that uses > Shift-JIS to a Linux system that uses EUC-JP... On the PC: > You tempt me :-) But having done some coding for Japanese character processing, I tend to shy away from the complex code conversion thingy, especially since the underlying code standards may change >from now and then. You are probably aware of the tome by Ken Lunde: CJKV Information Processing - Chinese, Japanese, Korean & Vietnamese Computing. The author needs to update online FAQ/errata sheet sometimes due to the changes in the standard or errata in the published starndards! So I usually rely on the latest character conversion utilities available on each platform which I use at the momement. (Sun has one. Usually Linux distribution comes with one. For that matter, I think Ken Lunde publishes one such program.) When all else fails, I read the file using web browsers since these browsers often contain automatic code conversion for different Japanese character coding standards. They take care of the end of line idiosyncrasies rather well. The last trick works rather well indeed. (Unless, of course, I need to convert a largish MB files into a different Japanese character code system. Often, we can't control the character code system used for saving a file from browser!) Oh, I forgot about Macs, too, but since I don't use Mac often that doesn't count in my mind at this moment :-) > set file character-set shift-jis > set transfer character-set utf8 > send > > On the Linux system: > > set file character-set euc-jp > receive > Thank you for the tips, I will try this later on when I am in need of such feature, but are you sure that the second topmost command is to specify "utf8"? Is this like specifying the intermediate presentation? That is, the shift-JIS -> utf8 -> euc-jp I am very unfamiliar with this character code processing thing in KERMIT. I read the help messages and it seems that we do need to specify the intermediate character code used inside the packet using "set transfer character-set utf8". In any case, the inclusion of these capability into KERMIT must have been deemed necessary upon popular demands, and I hope you had a nice feedback from the users of KERMIT. I have a nagging feeling, though, that KERMIT is now suffering from "Everything except for the kitchen sink" syndrome. Emacs is often cited for this creeping featurism. This is not a harsh criticism, but coming from a Kermit user for quite a long while, it is a comment to express the wonder of seeing a simple communication program being transformed into a powerful program with so many features over two decades. I suspect that KERMIT DOES need to grow up along with its surroundings. We no longer use ONLY serial line for communication as in the early 1980's. For that matter, the inclusion of ssh/scp functions, I heartily welcome and think of it appropriate for Internet usage! So again please keep up the good work going! Happy Hacking. PS: I have a feeling that KERMIT will live on until Frank retires from Columbia university and/or the last KERMIT devotee will die on the earth. (But then someone comes along and find a copy of KERMIT being used for monitoring remote router/remote scientific station, etc. and then that someone might become hooked and become a KERMIT user again...) From fdc@columbia.edu Thu Apr 25 15:23:41 EDT 2002 Article: 13337 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: a bug on GNU/linux: speed reset to unintended value occasionally. Date: 25 Apr 2002 15:23:29 -0400 Organization: Columbia University Lines: 131 Message-ID: References: <3CAFF81C.8039CBF8@yk.rim.or.jp> <3CC6E9D7.F4F2C624@yk.rim.or.jp> <3CC84CA6.D49F85EC@yk.rim.or.jp> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1019762612 18841 128.59.39.139 (25 Apr 2002 19:23:32 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 25 Apr 2002 19:23:32 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13337 In article <3CC84CA6.D49F85EC@yk.rim.or.jp>, Ishikawa wrote: : > If you have a truly transparent 8-bit path, then you can : > use "set parity none" (which is the default anyway, or : > "set parity hardware" if you need it) and "set prefixing : > minimal" or "set prefixing none" and get very close to : > the maximum physical speed of the port; sometimes faster, : > because Kermit also does some compression. : > : I tried your suggestion, and found : "set prefixing none" somehow produces slightly lower : throughput than "set control unprefixed all". : Hmm. Could be an artifact or something. : They should be equivalent. Probably a statistical fluctuation. : The real kicker is the use of "/transparent" : as in : send /binary /transparent ./wermit ./wermit.tmp : : Using the 8N1 connection at 38400 bps, I got : about 3800 bps. This is close to the bare line speed. : Isn't this great? : : I have been unaware of "/transparent" for a long time, but : then I was interested in using KERMIT as terminal emulator : and a `reliable' file transfer engine. : It should not make any different. It applies only to text-mode transfers (it means "don't convert character sets"), and is therefore ignored when you give it with /BINARY. Any difference you observed must be another statistical fluctuation. : But having done some coding for Japanese character processing, : I tend to shy away from the complex code conversion thingy, : especially since the underlying code standards may change : from now and then. You are probably aware of the tome by Ken Lunde: : Yes, I have it. Very thick! And yes, CJK standards change all the time. Soon the world will be filled up by Kanjis :-) For example, special Kanjis for the names of race horses in Hong Kong. And what about DoCoMos -- is this a new kind of Kanji? :-) : > set file character-set shift-jis : > set transfer character-set utf8 : > send : > : > On the Linux system: : > : > set file character-set euc-jp : > receive : > : Thank you for the tips, I will try : this later on when I am in need of such feature, but : are you sure that the second topmost command is : to specify "utf8"? : Yes. Actually, it could also have been "ucs2" or "euc-jp". You can use any standard character set as intermediate, that contains the characters used in your text; thus "ucs2", "utf8", and "euc-jp" are all suitable. : In any case, the inclusion of these capability into : KERMIT must have been deemed necessary upon popular demands, : and I hope you had a nice feedback from the users of KERMIT. : It comes from a conference we attended in Tokyo in 1987. We worked with people from NTT, DEC Japan, and KEK on this and it was widely used in Japan for some years. It makes sense to convert the character set as part of the file transfer, and to do so using an intermediate standard character set. This way, each program needs to know only its own local character sets and the standard ones, and not the character sets used by every other kind of computer. When you consider all the Kanji encodings used on IBM, Hitachi, Fujitsu, and other computers, this begins to make sense. Kermit solved that problem more than 10 years ago. See: http://www.columbia.edu/kermit/papers.html To illustrate, you can use Kermit 95 on a PC to send a Shift-JIS Kanji text file to a mainframe that uses IBM, Hitachi, or Fujitsu "EBCDIC" Kanji (three different mainframe Kanji codes). By the same principal, you can use C-Kermit on Linux to send an ISO2022JP Kanji file to any of those mainframes. Or vice versa. How else could you do such a thing? Perhaps the need is not so great now, because since 1987 many platforms and character sets have disappeared, so the "n" in "n * n" is much smaller than before (for all practical purposes, only Windows and Unix survive), and because Unicode was developed to address the problem in another way: over time, all text will be converted to Unicode. Of course Kermit knows Unicode too, and therefore is part of this process: http://www.columbia.edu/kermit/unicode.html : I have a nagging feeling, though, that KERMIT is : now suffering from "Everything except for the kitchen sink" : syndrome. Emacs is often cited for this : creeping featurism. : Yes, this is the fate of all popular software. In fact, for a while, the icon for the Windows version of EMACS *was* a kitchen sink ;-) I think C-Kermit handles this better than many other packages, by allowing itself to be built with any desired set of features included or excluded, as described here: http://www.columbia.edu/kermit/ckccfg.html And of course we also supply a very small, bare-bones "lean and mean" alternative, G-Kermit: http://www.columbia.edu/kermit/gkermit.html : PS: I have a feeling that KERMIT will live on until : Frank retires from Columbia university : and/or the last KERMIT devotee will die on the earth. : (But then someone comes along and find a copy of : KERMIT being used for monitoring remote router/remote : scientific station, etc. and then that someone : might become hooked and become a KERMIT user again...) : I confess, it can be fun. It's like a laboratory in which we experiment with protocols and algorithms, and at the same time produce something useful that helps people in real life, and grows with them and with the times so those who like it don't have to leave it behind. - Frank From ishikawa@yk.rim.or.jp Fri Apr 26 14:31:18 EDT 2002 Article: 13338 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed.rim.or.jp!news.rim.or.jp!not-for-mail From: Ishikawa Newsgroups: comp.protocols.kermit.misc Subject: Re: a bug on GNU/linux: speed reset to unintended value occasionally. Date: Sat, 27 Apr 2002 02:34:56 +0900 Organization: Ye 'Ol Disorganized NNTPCache groupie Lines: 264 Message-ID: <3CC98FC0.AADA5130@yk.rim.or.jp> References: <3CAFF81C.8039CBF8@yk.rim.or.jp> <3CC6E9D7.F4F2C624@yk.rim.or.jp> <3CC84CA6.D49F85EC@yk.rim.or.jp> NNTP-Posting-Host: pl1612.nas911.n-yokohama.nttpc.ne.jp Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Trace: news.rim.or.jp 1019842500 38098 210.139.45.76 (26 Apr 2002 17:35:00 GMT) X-Complaints-To: root@rim.or.jp NNTP-Posting-Date: Fri, 26 Apr 2002 17:35:00 +0000 (UTC) X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.18 i686) X-Accept-Language: ja, en Cache-Post-Path: duron!unknown@localhost X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13338 Frank da Cruz wrote: > : In any case, the inclusion of these capability into > : KERMIT must have been deemed necessary upon popular demands, > : and I hope you had a nice feedback from the users of KERMIT. > : > It comes from a conference we attended in Tokyo in 1987. We worked > with people from NTT, DEC Japan, and KEK on this and it was widely > used in Japan for some years. I remember Fujii-san from KEK helped the popularization of Kermit on Japanese PC. Me, however, was probably in minority in that I was attracted to Kermit because it had a nice emulation of DG DASHER terminal. The real mess caused by competing character code standards are now handled by exisitng systems in more or less satisfactory manner. Many existing systems now come with their own code conversion facilities. This is the only way the systems would be viable in Japanese market. > http://www.columbia.edu/kermit/papers.html I found some papers there very interesting. Especially the one comparing UUCP and Kermit. (I supported UUCP at the office using stock Sun UUCP, then TaylerUUCP for some years until we switched over to IP-connection in 1994 or 1995.) > Yes, this is the fate of all popular software. In fact, for a > while, the icon for the Windows version of EMACS *was* a kitchen > sink ;-) Wow. This is probably a oft-asked question, but I wonder why noone seems to have bothered to obtain permission to use Kermit the frog for, say, X-window icon for kermit? (If windows version of Kermit uses such icon, I stand corrected. I don't use kermit under windows, or for that matter Windoze unless I am forced to...) > I confess, it can be fun. It's like a laboratory in which we > experiment with protocols and algorithms, and at the same time > produce something useful that helps people in real life, and > grows with them and with the times so those who like it don't > have to leave it behind. I hope you will find supporting Kermit fun. Anyway, below is the result of a little experiment I did to clear up my understanding of some options, etc.. Hope some people might find this useful. I got curious and I measured the CPS rate reported on the screen into 20% of the transfer of the binary file "wermit". Four cases were considered. The default case, case-1, is set as follows. Other three sets add some control tweaks. Case-2 was just to check that /binary and /transparnet was a synonym. The setting. case-1: default setting + modification using a startup file set modem type none set line /dev/ttyS0 (on the receiving side ttyS1) set speed 38400 set carrier-watch off set flow rts Transfer was done as send /binary ./wermit ./wermit.tmp case-2: `case-1' setting + /transparent in send command as in Transfer was done as send /binary /transparent ./wermit ./wermit.tmp case-3: `case-1` setting + "set control unprefixed all" Transfer was done as send /binary ./wermit ./wermit.tmp case-4: `case-1` setting + "set prefixing none" (BTW, Completion doesn't show "none" as a valid third argument.) Transfer was done as send /binary ./wermit ./wermit.tmp I measured CPS during a binary file transfer of "wermit" itself with profiled version of wermit (Compiled with gcc -pg ...original flags ...) This is on linux, kernel 2.4.18. ("make linux" was used to re-create the wermit binary after "-pg" was added to linuxa target.) TABLE-1 CPS (measured into 20% of the transfer. The file is 2183313 bytes.) ============================================================================ CPS: case-1 case-2 case-3 case-4 --------------------------------------------------------------------------- send: 3010 3009 3835 3621 receive: 2973 2972 3786 3568 =========================================================================== >From TABLE-1, Case-3 is the fastest on my PC. As pointed out by Frank, >from the measurement, it is obvious that "/binary" only and "/binary" plus "/transparent" is equivalent for binary file transfer by comparing case-1 and case-2. My observation of subtle difference between the CPS in case-3 and case-4 still seems to be valid. (The numbers are more or less repeatable.) I had no idea why. So I ran the profiled version of wermit and below I append the top-10 functions found in profiled data during the run. Someone might be able to figure out if there IS a reason for the subtle difference. Again, thank you for the great software. Appendix. The profile data is as follows. I show the top 10 functions on the receiving and sending side. I am not entirely sure if gprof is useful in this particular analysis, but if someone is interested, I can send the full output including the part that starts with "Call graph (explanation follows)". Case-3: Here are the top-10 functions in case 3 (fastest): Sending side: Each sample counts as 0.01 seconds. % cumulative self self total time seconds seconds calls ms/call ms/call name 50.00 0.04 0.04 147 0.27 0.27 bgetpkt 25.00 0.06 0.02 150 0.13 0.17 spack 12.50 0.07 0.01 281 0.04 0.04 chk3 12.50 0.08 0.01 133 0.08 0.11 rpack 0.00 0.08 0.00 650 0.00 0.00 makestr 0.00 0.08 0.00 567 0.00 0.00 in_chk 0.00 0.08 0.00 411 0.00 0.00 ckstrcmp 0.00 0.08 0.00 321 0.00 0.00 conbgt 0.00 0.08 0.00 302 0.00 0.00 ckscreen 0.00 0.08 0.00 302 0.00 0.00 screenc Receiving side. Receiving side. Each sample counts as 0.01 seconds. % cumulative self self total time seconds seconds calls ms/call ms/call name 50.00 0.01 0.01 151 0.07 0.07 ttinl 50.00 0.02 0.01 16 0.62 0.62 docmd 0.00 0.02 0.00 13030 0.00 0.00 myfillbuf 0.00 0.02 0.00 13030 0.00 0.00 mygetbuf 0.00 0.02 0.00 653 0.00 0.00 makestr 0.00 0.02 0.00 475 0.00 0.00 ckstrcmp 0.00 0.02 0.00 327 0.00 0.00 conbgt 0.00 0.02 0.00 320 0.00 0.00 ckstrncpy 0.00 0.02 0.00 307 0.00 0.00 ckscreen 0.00 0.02 0.00 307 0.00 0.00 in_chk Case-4: Here are the top-10 functions in case 4 (slightly lower): Sending side (The presence of gtword could be attributed some retyping of commands to the prompt. But I am not sure.) Each sample counts as 0.01 seconds. % cumulative self self total time seconds seconds calls ms/call ms/call name 63.64 0.07 0.07 150 0.47 0.47 bgetpkt 18.18 0.09 0.02 49 0.41 0.41 gtword 9.09 0.10 0.01 287 0.03 0.03 chk3 9.09 0.11 0.01 136 0.07 0.11 rpack 0.00 0.11 0.00 652 0.00 0.00 makestr 0.00 0.11 0.00 575 0.00 0.00 in_chk 0.00 0.11 0.00 494 0.00 0.00 ckstrcmp 0.00 0.11 0.00 316 0.00 0.00 conbgt 0.00 0.11 0.00 296 0.00 0.00 ckscreen 0.00 0.11 0.00 296 0.00 0.00 screenc Receiving side: (I think something is wrong in the 100.00 % count in the first column...) Each sample counts as 0.01 seconds. % cumulative self self total time seconds seconds calls ms/call ms/call name 100.00 0.01 0.01 13317 0.00 0.00 myfillbuf 0.00 0.01 0.00 13317 0.00 0.00 mygetbuf 0.00 0.01 0.00 645 0.00 0.00 makestr 0.00 0.01 0.00 331 0.00 0.00 conbgt 0.00 0.01 0.00 323 0.00 0.00 ckstrcmp 0.00 0.01 0.00 313 0.00 0.00 ckscreen 0.00 0.01 0.00 313 0.00 0.00 in_chk 0.00 0.01 0.00 313 0.00 0.00 screenc cf. CASE-1: base line setting. 38400, 8N1 rts/cts, no prefix tweaking. no control tweaking. send /binary Output of show comm, and show control. Communications Parameters: Line: /dev/ttyS0, speed: 38400, mode: local, modem: none Parity: none, stop-bits: (default) (8N1) Duplex: full, flow: rts/cts, handshake: none Carrier-watch: off, close-on-disconnect: off Lockfile: /var/lock/LCK..0 Terminal bytesize: 8, escape character: 28 (^\) Type SHOW MODEM to see modem-related items. (/home/ishikawa/KERMIT/new-kermit/send/) C-Kermit>show control control quote = 35, applied to (0 = unprefixed, 1 = prefixed): 0: 1 16: 1 128: 0 144: 1 1: 1 17: 1 129: 1 145: 1 2: 0 18: 0 130: 0 146: 0 3: 1 19: 1 131: 1 147: 1 4: 1 20: 0 132: 1 148: 0 5: 0 21: 1 133: 0 149: 1 6: 0 22: 0 134: 0 150: 0 7: 0 23: 0 135: 0 151: 0 8: 0 24: 1 136: 0 152: 0 9: 0 25: 1 137: 0 153: 0 10: 1 26: 1 138: 1 154: 1 11: 0 27: 0 139: 0 155: 0 12: 0 28: 1 140: 0 156: 1 13: 1 29: 1 141: 1 157: 1 14: 1 30: 1 142: 0 158: 1 15: 1 31: 0 127: 0 143: 0 159: 0 255: 1 (/home/ishikawa/KERMIT/new-kermit/send/) C-Kermit> From fdc@columbia.edu Fri Apr 26 14:31:23 EDT 2002 Article: 13339 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: a bug on GNU/linux: speed reset to unintended value occasionally. Date: 26 Apr 2002 14:30:55 -0400 Organization: Columbia University Lines: 118 Message-ID: References: <3CAFF81C.8039CBF8@yk.rim.or.jp> <3CC84CA6.D49F85EC@yk.rim.or.jp> <3CC98FC0.AADA5130@yk.rim.or.jp> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1019845858 22373 128.59.39.139 (26 Apr 2002 18:30:58 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 26 Apr 2002 18:30:58 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13339 In article <3CC98FC0.AADA5130@yk.rim.or.jp>, Ishikawa wrote: : Frank da Cruz wrote: : : > : In any case, the inclusion of these capability into : > : KERMIT must have been deemed necessary upon popular demands, : > : and I hope you had a nice feedback from the users of KERMIT. : > : : > It comes from a conference we attended in Tokyo in 1987. We worked : > with people from NTT, DEC Japan, and KEK on this and it was widely : > used in Japan for some years. : : I remember Fujii-san from KEK helped : the popularization of Kermit on Japanese PC. : Yes, the NEC PC-9801. This was in the pre-Windows days, when PCs ran only DOS (or very early forms of Unix). I found it quite amazing. The keyboard driver -- which lets you type Romaji, puts up little menus, learns from you, guesses which Kanji you mean, etc -- seemed to be about 100 times more powerful than the PC itself :-) Fujii-san wrote a book, "MS-Kermit Nyumon": http://www.columbia.edu/kermit/manuals.html About the PC-9801 version of MS-DOS Kermit. I suppose this is now a rare collector's item. It is definitely the thinnest of all Kermit books. An advantage of Japanese writing: you don't have to use as much paper! : This is probably a oft-asked question, but : I wonder why noone seems to have bothered to obtain : permission to use Kermit the frog for, say, : X-window icon for kermit? : The lawyers of Henson Associates Inc ("Ha!") allowed us to use the name Kermit but forbade us to use frog images or Muppets allusions. I'm not sure that we would have wanted to -- We didn't pick the name "Kermit" with any expectation that people outside Columbia University would see it. If we knew then what we know today, we might have picked a different name ("Kermit" might seem a bit too cute for serious work), but it's too late now. A bit more about the name Kermit here: http://www.columbia.edu/kermit/k95faq.html (third item) : Anyway, below is the result of : a little experiment I did to clear up : my understanding of some options, etc.. : Hope some people might find this useful. : : I got curious and : I measured the CPS rate reported on the screen : into 20% of the transfer of the binary file "wermit". : : Four cases were considered. : ... : Transfer was done as : send /binary ./wermit ./wermit.tmp : You don't need to include "/binary" because Kermit will always send this file in binary mode anyway; see: http://www.columbia.edu/kermit/ckermit80.html#x4 (but it doesn't hurt either.) : TABLE-1 : : CPS (measured into 20% of the transfer. The file is 2183313 bytes.) : =================================================================== : CPS: case-1 case-2 case-3 case-4 : ------------------------------------------------------------------- : send: 3010 3009 3835 3621 : receive: 2973 2972 3786 3568 : =================================================================== : So Cases 1 and 2 are the same, but "set control unprefix all" is a bit faster than "set unprefix none". OK, I believe it. Both commands work on the same table, but perhaps over the years the code for the two commands has gotten slightly out of sync. It might well be that prefixing or not prefixing just one certain character (such as NUL, ASCII 0) can make a significant difference in this case, since executable binaries tend contain lots of NULs. Maybe that's the difference between the two commands. The profiling is not going to explain this difference. Control- character (un)prefixing is controlled by an array, indexed by the control character value (0-31, 127-159, 255). The only difference in the two cases is the values stored in the array and the subsequent overhead when prefixing is done. As you discovered, the array is displayed by: : (/home/ishikawa/KERMIT/new-kermit/send/) C-Kermit>show control : : control quote = 35, applied to (0 = unprefixed, 1 = prefixed): : : 0: 1 16: 1 128: 0 144: 1 : 1: 1 17: 1 129: 1 145: 1 : 2: 0 18: 0 130: 0 146: 0 : 3: 1 19: 1 131: 1 147: 1 : 4: 1 20: 0 132: 1 148: 0 : 5: 0 21: 1 133: 0 149: 1 : 6: 0 22: 0 134: 0 150: 0 : 7: 0 23: 0 135: 0 151: 0 : 8: 0 24: 1 136: 0 152: 0 : 9: 0 25: 1 137: 0 153: 0 : 10: 1 26: 1 138: 1 154: 1 : 11: 0 27: 0 139: 0 155: 0 : 12: 0 28: 1 140: 0 156: 1 : 13: 1 29: 1 141: 1 157: 1 : 14: 1 30: 1 142: 0 158: 1 : 15: 1 31: 0 127: 0 143: 0 159: 0 255: 1 I'll make a note to fix between the two unprefixing command in the next release. - Frank From ishikawa@yk.rim.or.jp Sat Apr 27 10:48:43 EDT 2002 Article: 13340 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!newsfeed.media.kyoto-u.ac.jp!newsfeed.rim.or.jp!news.rim.or.jp!not-for-mail From: Ishikawa Newsgroups: comp.protocols.kermit.misc Subject: Re: a bug on GNU/linux: speed reset to unintended value occasionally. Date: Sat, 27 Apr 2002 10:49:21 +0900 Organization: Ye 'Ol Disorganized NNTPCache groupie Lines: 160 Message-ID: <3CCA03A1.59EF10C9@yk.rim.or.jp> References: <3CAFF81C.8039CBF8@yk.rim.or.jp> <3CC84CA6.D49F85EC@yk.rim.or.jp> <3CC98FC0.AADA5130@yk.rim.or.jp> NNTP-Posting-Host: pl940.nas911.n-yokohama.nttpc.ne.jp Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Trace: news.rim.or.jp 1019872163 43612 210.139.42.172 (27 Apr 2002 01:49:23 GMT) X-Complaints-To: root@rim.or.jp NNTP-Posting-Date: Sat, 27 Apr 2002 01:49:23 +0000 (UTC) X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.18 i686) X-Accept-Language: ja, en Cache-Post-Path: duron!unknown@localhost X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13340 Frank da Cruz wrote: > : I remember Fujii-san from KEK helped > : the popularization of Kermit on Japanese PC. > : > Yes, the NEC PC-9801. This was in the pre-Windows days, when PCs > ran only DOS (or very early forms of Unix). I found it quite > amazing. The keyboard driver -- which lets you type Romaji, puts up > little menus, learns from you, guesses which Kanji you mean, etc -- > seemed to be about 100 times more powerful than the PC itself :-) > Oh, those were the days. I used to get a kick out of showing these features in one of our home-brew programs at the office to visiting overseas dignitaries and hearing the "Oh" and "Wow". > Fujii-san wrote a book, "MS-Kermit Nyumon": > > http://www.columbia.edu/kermit/manuals.html > > About the PC-9801 version of MS-DOS Kermit. I suppose this is now a > rare collector's item. Yes, it is. The next time I see it at a second hand book store, I will grab it right away. > It is definitely the thinnest of all Kermit > books. An advantage of Japanese writing: you don't have to use as > much paper! Until seeing the page, I didn't know books in languages other than in English and Japanese existed. Kermit, the program, seems to be used all over the world! > http://www.columbia.edu/kermit/k95faq.html (third item) Product naming is full of pitfalls. I understand. > : Anyway, below is the result of > : a little experiment I did to clear up > : my understanding of some options, etc.. > : Hope some people might find this useful. > So Cases 1 and 2 are the same, but "set control unprefix all" is a > bit faster than "set unprefix none". OK, I believe it. Both > commands work on the same table, but perhaps over the years the code > for the two commands has gotten slightly out of sync. It might well > be that prefixing or not prefixing just one certain character (such > as NUL, ASCII 0) can make a significant difference in this case, > since executable binaries tend contain lots of NULs. Maybe that's > the difference between the two commands. > ... > I'll make a note to fix between the two unprefixing command in the > next release. > Thank you for studying the data. To give you some more data point, I did one more experiment. [This is going to be the final test result until probably the next year when I need to use Kermit on a different platform and use different feature :-) ] Based on your observation that the executable wermit may have skewed distribution of octet values (very likely indeed), I counted the frequency of each octet value. To make a long story short, I found that 0 is most frequent as you guessed correctly. In the data below, value:frequency pairs are shown. ishikawa@duron$ ./count < wermit 0:500744 1:14331 2:7721 3:6147 4:12153 5:13718 6:6117 7:8356 ******** Almost 1/4 of the total!!! 8:94806 9:4413 10:6944 11:2882 12:6407 13:3256 14:2521 15:18694 16:16293 17:3848 18:7288 19:2430 20:4744 21:4601 22:6197 23:4869 24:3524 25:2223 26:2685 27:5758 28:7488 29:8009 30:3761 31:20317 32:80939 33:6472 34:2670 35:4321 36:4350 37:7897 38:6274 39:3488 40:5673 41:3466 42:1745 43:1952 44:4746 45:4373 46:6375 47:2859 48:4359 49:4954 50:2970 51:1510 52:2852 53:7989 54:1523 55:1883 ... Of the approximately 2MB ( 2183313 bytes to be exact), close to one fourth (1/4) is byte with value 0! So again, I got curious and created a gzipped file from wermit. cp wermit /tmp/wermit ishikawa@duron$ gzip --best -v /tmp/wermit /tmp/wermit: 63.3% -- replaced with /tmp/wermit.gz ishikawa@duron$ ls -l /tmp/wermit* -rwxr-xr-x 1 ishikawa users 800501 Apr 27 10:26 /tmp/wermit.gz* Why compression? Since compressed file usually have more balanced, close to uniform byte value distribution, I tried sending the compressed file and measured CPS to see if the uniform distirbution closes the gap between observed CPS values in case-3 and case-4. (The uniformity is like this. It is indeed very good. ishikawa@duron$ ./count < /tmp/wermit.gz 0:2903 1:3066 2:2973 3:3186 4:2985 5:2881 6:3127 7:3284 8:2993 9:3010 10:2990 11:2996 12:2944 13:3282 14:3016 15:3456 16:2729 17:2907 18:2784 19:3009 20:2820 21:2889 22:3073 23:3147 24:2945 25:3013 26:3033 27:3129 28:2889 29:3015 30:3113 31:3700 32:2844 33:2866 34:2722 35:3060 36:2838 37:2790 38:2891 39:3220 40:2948 41:2901 42:2798 43:3017 44:3006 45:3199 46:2923 47:3343 ... The new CPS values are shown below appended to the original table. >CPS (measured into 20% of the transfer. The file is 2183313 bytes.) >============================================================================ >CPS: case-1 case-2 case-3 case-4 >--------------------------------------------------------------------------- >send: 3010 3009 3835 3621 >receive: 2973 2972 3786 3568 CPS measured for compressed wermit file. (wermit.gz) I only measurement for case-3 and case-4. (Also, the measurement was done into 50% (approximately 400KB) of transfer.) case-3 case-4 3796 3721 3753 3702 =========================================================================== So as you have again correctly guessed, the skewed distribution of octet values (0 being dominant) had something to with the CPS under different control/prefix setting, i.e., "set control unprefixed all" vs "set prefixing none". With the uniform distribution of octet values, the difference decreases very much. (So maybe the code path is indeed similar(?) and has not diverged very much??? The slight difference about 50 could be indeed a statistical fluke, but... ) Hope this helps. Thank you again for the great support. Always hoping to send back feedback to improve KERMIT. Ishikawa, Chiaki PS: >case-4: `case-1` setting > + "set prefixing none" > (BTW, Completion doesn't show "none" as a valid third argument.) I noticed a few cases where an accepted option is not shown in the response to "?" completion helper listing. The above is such a case. I found the effect of "minimal" and "none" is slightly different and so "none" ought to be listed IMHO. To wit, (/home/ishikawa/KERMIT/new-kermit/receive/) C-Kermit>set prefixing ? control-character prefixing option, one of the following: all cautious minimal (/home/ishikawa/KERMIT/new-kermit/receive/) C-Kermit>set prefixing From jaltman2@nyc.rr.com Sat Apr 27 10:48:49 EDT 2002 Article: 13341 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsfeed.arcor-online.net!noris.net!feedme.news.mediaways.net!newsfeed.r-kom.de!newsfeed.stueberl.de!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!typhoon.nyc.rr.com.POSTED!not-for-mail Message-ID: <3CCA17FF.7010409@nyc.rr.com> From: "Jeffrey Altman [Road Runner]" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2 X-Accept-Language: en-us MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Re: a bug on GNU/linux: speed reset to unintended value occasionally. References: <3CAFF81C.8039CBF8@yk.rim.or.jp> <3CC84CA6.D49F85EC@yk.rim.or.jp> <3CC98FC0.AADA5130@yk.rim.or.jp> <3CCA03A1.59EF10C9@yk.rim.or.jp> Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Lines: 24 Date: Sat, 27 Apr 2002 03:13:10 GMT NNTP-Posting-Host: 66.108.142.59 X-Complaints-To: abuse@rr.com X-Trace: typhoon.nyc.rr.com 1019877190 66.108.142.59 (Fri, 26 Apr 2002 23:13:10 EDT) NNTP-Posting-Date: Fri, 26 Apr 2002 23:13:10 EDT Organization: Road Runner - NYC Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13341 Ishikawa wrote: > > Why compression? > Since compressed file usually have more balanced, close to uniform > byte value distribution, I tried sending the compressed file and > measured CPS to see if the uniform distirbution > closes the gap between observed CPS values in case-3 and case-4. > (The uniformity is like this. It is indeed very good. > ishikawa@duron$ ./count < /tmp/wermit.gz > 0:2903 1:3066 2:2973 3:3186 4:2985 5:2881 6:3127 7:3284 > 8:2993 9:3010 10:2990 11:2996 12:2944 13:3282 14:3016 15:3456 > 16:2729 17:2907 18:2784 19:3009 20:2820 21:2889 22:3073 23:3147 > 24:2945 25:3013 26:3033 27:3129 28:2889 29:3015 30:3113 31:3700 > 32:2844 33:2866 34:2722 35:3060 36:2838 37:2790 38:2891 39:3220 > 40:2948 41:2901 42:2798 43:3017 44:3006 45:3199 46:2923 47:3343 > ... To generate a uniform random distribution of data to transmit use: SEND /CALIBRATE: From ishikawa@yk.rim.or.jp Sat Apr 27 10:49:04 EDT 2002 Article: 13342 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.media.kyoto-u.ac.jp!Q.T.Honey!newsfeed.rim.or.jp!news.rim.or.jp!not-for-mail From: Ishikawa Newsgroups: comp.protocols.kermit.misc Subject: Re: a bug on GNU/linux: speed reset to unintended value occasionally. Date: Sat, 27 Apr 2002 12:31:04 +0900 Organization: Ye 'Ol Disorganized NNTPCache groupie Lines: 17 Message-ID: <3CCA1B78.C5801DE6@yk.rim.or.jp> References: <3CAFF81C.8039CBF8@yk.rim.or.jp> <3CC84CA6.D49F85EC@yk.rim.or.jp> <3CC98FC0.AADA5130@yk.rim.or.jp> <3CCA03A1.59EF10C9@yk.rim.or.jp> <3CCA17FF.7010409@nyc.rr.com> NNTP-Posting-Host: pl940.nas911.n-yokohama.nttpc.ne.jp Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Trace: news.rim.or.jp 1019878266 46843 210.139.42.172 (27 Apr 2002 03:31:06 GMT) X-Complaints-To: root@rim.or.jp NNTP-Posting-Date: Sat, 27 Apr 2002 03:31:06 +0000 (UTC) X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.18 i686) X-Accept-Language: ja, en Cache-Post-Path: duron!unknown@localhost X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13342 "Jeffrey Altman [Road Runner]" wrote: > > To generate a uniform random distribution of data to transmit use: > > SEND /CALIBRATE: Wow. It only shows that I have using the modern KERMIT with the old knowledge of KERMIT more than a decade old! Thank you for your tips and thank you and Frank for the continueing support of the great software! Incidentally, this /CALIBRATE is not shown in the "help send" listing because it is not usually necessary for an ordinary user and only meant for testing. Corret? From jaltman@watsun.cc.columbia.edu Sat Apr 27 10:49:07 EDT 2002 Article: 13343 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!jaltman From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman) Newsgroups: comp.protocols.kermit.misc Subject: Re: a bug on GNU/linux: speed reset to unintended value occasionally. Date: 27 Apr 2002 04:25:38 GMT Organization: Columbia University Lines: 22 Message-ID: References: <3CAFF81C.8039CBF8@yk.rim.or.jp> <3CCA03A1.59EF10C9@yk.rim.or.jp> <3CCA17FF.7010409@nyc.rr.com> <3CCA1B78.C5801DE6@yk.rim.or.jp> NNTP-Posting-Host: watsun.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1019881538 13192 128.59.39.2 (27 Apr 2002 04:25:38 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 27 Apr 2002 04:25:38 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13343 In article <3CCA1B78.C5801DE6@yk.rim.or.jp>, Ishikawa wrote: : : Incidentally, this /CALIBRATE is not shown : in the "help send" listing because : it is not usually necessary for an ordinary user and : only meant for testing. Corret? It is only meant for testing purposes. You can also use RECEIVE /CALIBRATE The idea is to allow you to test full speed transfers without the performance penalties of file i/o Jeffrey Altman * Sr.Software Designer Kermit 95 1.1.21 available now!!! The Kermit Project @ Columbia University SSH plus Telnet, FTP and HTTP http://www.kermit-project.org/ secured with Kerberos, SRP, and kermit-support@columbia.edu OpenSSL. From fdc@columbia.edu Sat Apr 27 10:50:38 EDT 2002 Article: 13345 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: a bug on GNU/linux: speed reset to unintended value occasionally. Date: 27 Apr 2002 10:47:47 -0400 Organization: Columbia University Lines: 57 Message-ID: References: <3CAFF81C.8039CBF8@yk.rim.or.jp> <3CC98FC0.AADA5130@yk.rim.or.jp> <3CCA03A1.59EF10C9@yk.rim.or.jp> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1019918868 28685 128.59.39.139 (27 Apr 2002 14:47:48 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 27 Apr 2002 14:47:48 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13345 In article <3CCA03A1.59EF10C9@yk.rim.or.jp>, Ishikawa wrote: : Frank da Cruz wrote: : > Fujii-san wrote a book, "MS-Kermit Nyumon": : > : > http://www.columbia.edu/kermit/manuals.html : > ... : : Until seeing the page, I didn't know books in languages other than : in English and Japanese existed. Kermit, the program, seems to : be used all over the world! : There would have been Kermit books in Russian too. We signed a contract with the USSR state publishing house in Moscow in 1989, but before the translations were complete, the Soviet Union disappeared. : Based on your observation that the executable wermit may have skewed : distribution of octet values (very likely indeed), I counted the : frequency of each octet value. To make a long story short, I found : that 0 is most frequent as you guessed correctly. : And of course long runs of NUL bytes (or any other repeated bytes) are compressed by Kermit, so this adds another variable to the equation. If you precompress the same file and send it with Kermit, the result might not be very different from sending it uncompressed (depending on the file -- this is true mostly for binary executables). : >case-4: `case-1` setting : > + "set prefixing none" : > (BTW, Completion doesn't show "none" as a valid third argument.) : : I noticed a few cases where an accepted option is not shown in the : response to "?" completion helper listing. The above is such a case. : I found the effect of "minimal" and "none" is slightly : different and so "none" ought to be listed IMHO. : I made it "invisible" because it is dangerous in most situations, but in honor of your thorough investigations, maybe I can make it visible in the next release (but it will still be dangerous). Reading ahead... : Incidentally, this /CALIBRATE is not shown : in the "help send" listing because : it is not usually necessary for an ordinary user and : only meant for testing. Corret? : Yes (as Jeff said). The purpose is to send any desired amount of random uncompressible data without having to do disk i/o, and using only a minimum of calculation, so we can measure the performance of the protocol on different kinds of connections with different parameters (streaming vs window, window size, packet length, (un)prefixing, 7/8 bit, single/locking shifts, etc), and also profile the software. Developing an algorithm to generate unlimited amounts of non-repeating uniform random data was a fun project. - Frank From tom.horsley@att.net Sat Apr 27 11:24:49 EDT 2002 Article: 13344 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.cs.columbia.edu!peerfeed.news.psi.net!unlisys!news.snafu.de!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.news.rcn.net!rcn!wn1feed!worldnet.att.net!135.173.83.54!bgtnsc04-news.ops.worldnet.att.net.POSTED!not-for-mail Sender: tom@SPIKE Newsgroups: comp.protocols.kermit.misc Subject: suggestion for future gui From: tom.horsley@att.net (Thomas A. Horsley) Message-ID: Lines: 29 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: 9232ce98c920d27766a97baeaf53cd53 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc04-news.ops.worldnet.att.net 1019906761 9232ce98c920d27766a97baeaf53cd53 (Sat, 27 Apr 2002 11:26:01 GMT) NNTP-Posting-Date: Sat, 27 Apr 2002 11:26:01 GMT Organization: AT&T Worldnet Date: Sat, 27 Apr 2002 11:26:01 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13344 One of the things I find difficult about kermit is that it can do so much, it is hard to dig through all the docs to find the settings and commands you are looking for (hard to avoid, I know :-). I've seen a gui interface technique that seems to be used more and more by folks with lots of different settings to keep track of, and I thought I'd recommend it for consideration as a way for kermit to go (eventually). The interface uses a "tree" control on the left side with a heirarchal organization of all the settings (like a table of contents). You can expand and collapse entries to see or hide detail, and click on entries to bring up the screen (on the right side) for controlling that setting. Tools like the Windows XP "tweak ui" (from the XP powertools off microsoft.com) use it and seems to work out pretty well (at least my brain kind of likes the way the interface works - other brains may differ :-). By the way, thanks for the latest and greatest kermit 95. I just discovered I can update my web page via SSL/TLS secure ftp, so it is handy to have that supported in k95!. I've been setting up my XP boot partition, and reinstalled k95 from my original 1.1 floppies (still have the floppies and the label with the registration code :-), and then upgraded (in three stages) to 1.1.21, and it all seems to work fine under XP. -- >>==>> The *Best* political site >>==+ email: Tom.Horsley@worldnet.att.net icbm: Delray Beach, FL | Free Software and Politics <<==+ From fdc@columbia.edu Sat Apr 27 11:31:15 EDT 2002 Article: 13346 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: suggestion for future gui Date: 27 Apr 2002 11:24:29 -0400 Organization: Columbia University Lines: 91 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1019921070 29897 128.59.39.139 (27 Apr 2002 15:24:30 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 27 Apr 2002 15:24:30 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13346 In article , Thomas A. Horsley wrote: : One of the things I find difficult about kermit is that it can do so much, : it is hard to dig through all the docs to find the settings and commands : you are looking for (hard to avoid, I know :-). : We try to make it easy, but that can be hard :-) Kermit users fall into several classes -- at one extreme, those who use it only for the occasional file transfer (and with modern Kermit programs, you need to know virtually nothing for this); at the other, those who write complicated procedures in Kermit language. At that extreme, books make sense, just as they do for any other programming language. Still, what other programming language lets you type "?" at any point in a statement to get a menu of what's allowed in the current position? But you're talking about something else... For example, people who use it mainly (or exclusively) for terminal emulation, in which settings must usually be dealt with -- which kind of terminal to emulate, what does the backspace key send, is the connection 7 or 8 bits, what screen dimensions, what character set, etc. : I've seen a gui interface technique that seems to be used more and more by : folks with lots of different settings to keep track of, and I thought I'd : recommend it for consideration as a way for kermit to go (eventually). : : The interface uses a "tree" control on the left side with a heirarchal : organization of all the settings (like a table of contents). You can : expand and collapse entries to see or hide detail, and click on entries : to bring up the screen (on the right side) for controlling that setting. : Right, this is pretty standard these days in Windows applications that have lots of settings, as well as in file/directory browsers, etc. Just so we're clear -- we do not intend to change the entire Kermit user interface into a GUI. That would be silly, and it would grow the program to beyond all reasonable bounds of decency. Besides, the Dialer already lets you at almost every conceivable setting in a graphical manner. As noted on the website, the first GUI release is just a transplantation of K95.EXE-as-you-know-and-love-it into a GUI window, with a few GUI controls added, like: . A dialog for setting up and making serial-port, modem, and network connections (both regular and secure). . Visible indicators and dropdown menus for terminal emulation, font, font size, and maybe character set. . Scroll bars for scrolling back and forth in the Command and Terminal windows. . Stretch/Squeeze doohickeys to change the window or font size. . A minimal menu bar. . A toolbar with buttons to perform common actions or parameter toggles. . A status bar. . Maybe GUI-format popups and alerts. . A way to specify the startup position, font, font size, and color pallette. . A GUI settings page in the Dialer whatever we can do between now and June. What we do after that, as it says on the website, depends on what people want -- features or user interface. For example, would people rather have us work on (say) Tektronix graphics and/or IBM 3270 terminal emulation or add GUI dialogs to access the same features that are already there? : By the way, thanks for the latest and greatest kermit 95. I just : discovered I can update my web page via SSL/TLS secure ftp, so it is : handy to have that supported in k95!. : Spread the word! And if you want to, write up how you did it as a case study that we can post on website. We think this is a fairly useful new feature, and would like to have some testimony from neutral third parties. That goes for everybody who's using the new K95 or C-Kermit for something new or interesting. : I've been setting up my XP boot partition, and reinstalled k95 from my : original 1.1 floppies (still have the floppies and the label with the : registration code :-), and then upgraded (in three stages) to 1.1.21, : and it all seems to work fine under XP. : Hey, that makes you a charter member! I wonder how many other products let you patch your way up through 20 new releases :-) - Frank From fdc@columbia.edu Sat Apr 27 11:47:43 EDT 2002 Article: 13347 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.unix.programmer,comp.protocols.kermit.misc Subject: Re: serial port programming Date: 27 Apr 2002 11:46:55 -0400 Organization: Columbia University Lines: 49 Message-ID: References: <4789aa76.0204270447.6f0a8436@posting.google.com> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1019922416 566 128.59.39.139 (27 Apr 2002 15:46:56 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 27 Apr 2002 15:46:56 GMT Xref: newsmaster.cc.columbia.edu comp.unix.programmer:145396 comp.protocols.kermit.misc:13347 In article <4789aa76.0204270447.6f0a8436@posting.google.com>, Tomas wrote: : I'm trying to send some binary data through the serial port to a : microcontroller asyncronously. : : I found a lot of informations on how to send characters but not binary : data. : : Is it possible to do this? : Yes, you can use C-Kermit: http://www.columbia.edu/kermit/ckermit.html If the microcontroller supports Kermit protocol, you're done. If not... C-Kermit includes a TRANSMIT command to send a file "bare" out the selected communication device or network connection, even a binary file: set modem type none set port /dev/ttyS0 set speed 57600 ; or whatever set flow rts/cts ; if possible -- xon/xoff can't be used here transmit /binary /noecho /nowait Now the question is: how does the microcontroller know when the transmission is finished, when any byte sequence at all might be found in the file data? Only you know the answer to that question. In one common scenario, the device accepts data until a certain interval of "silence" has passed. In another, the sender "hangs up" the connection by dropping DTR. In Kermit this would be done with: set modem hangup dtr hangup If this sequence doesn't work, the speed, flow, and various other parameters can be adjusted until it does. The technique described here is used with increasing frequency to load image, audio, or video data into players or recorders. Obviously it requires a clean, transparent, error-free connnection; otherwise you need an error- detecting and correcting protocol (such as Kermit). By the way, you don't want to program this kind of thing yourself in C. Serial-port programming is quite tricky and totally nonportable. Each release of each Unix variation (Linux, *BSD, Solaris, HP-UX, AIX, etc) is different. That's why it's a good idea to use software whose job it is to keep up with all this so you don't have to. - Frank From tom.horsley@att.net Sat Apr 27 16:57:19 EDT 2002 Article: 13348 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!nntp.abs.net!feed2.news.rcn.net!rcn!wn14eed!worldnet.att.net!135.173.83.55!bgtnsc05-news.ops.worldnet.att.net.POSTED!not-for-mail Sender: tom@SPIKE Newsgroups: comp.protocols.kermit.misc Subject: Re: suggestion for future gui References: From: tom.horsley@att.net (Thomas A. Horsley) Message-ID: Lines: 30 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: 23d8a7e9feed3e6e1899d0bf6322eeda X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1019940938 23d8a7e9feed3e6e1899d0bf6322eeda (Sat, 27 Apr 2002 20:55:38 GMT) NNTP-Posting-Date: Sat, 27 Apr 2002 20:55:38 GMT Organization: AT&T Worldnet Date: Sat, 27 Apr 2002 20:55:38 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13348 >But you're talking about something else... For example, people who use >it mainly (or exclusively) for terminal emulation, in which settings must >usually be dealt with -- which kind of terminal to emulate, what does the >backspace key send, is the connection 7 or 8 bits, what screen dimensions, >what character set, etc. And not only terminal emulation settings. My biggest problem with getting to my web host server was figuring out exactly how to use which ftp settings as well. I think the one that confused me most was the "autologin" (which is apparently on by default). I kept expecting to find some way to tell it the user name to "autologin" as, but eventually figured out I could turn it off and use the "user" command. (For all I know there is some way to tell it the user name, but I never found it :-). >Just so we're clear -- we do not intend to change the entire Kermit user >interface into a GUI. That would be silly I certainly agree with that. >Hey, that makes you a charter member! I wonder how many other products >let you patch your way up through 20 new releases :-) I've never seen another commercial product that lets me do that (though I think I've gone through that many releases of Gnu Emacs :-). Everyone else seems to wait for there to be some really nifty new feature, then they change the product name, and charge you for an "upgrade". -- >>==>> The *Best* political site >>==+ email: Tom.Horsley@worldnet.att.net icbm: Delray Beach, FL | Free Software and Politics <<==+ From fdc@columbia.edu Sat Apr 27 16:59:50 EDT 2002 Article: 13349 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: suggestion for future gui Date: 27 Apr 2002 16:59:10 -0400 Organization: Columbia University Lines: 23 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1019941151 10934 128.59.39.139 (27 Apr 2002 20:59:11 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 27 Apr 2002 20:59:11 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13349 In article , Thomas A. Horsley wrote: : >But you're talking about something else... For example, people who use : >it mainly (or exclusively) for terminal emulation, in which settings must : >usually be dealt with -- which kind of terminal to emulate, what does the : >backspace key send, is the connection 7 or 8 bits, what screen dimensions, : >what character set, etc. : : And not only terminal emulation settings. My biggest problem with getting to : my web host server was figuring out exactly how to use which ftp settings as : well. I think the one that confused me most was the "autologin" (which is : apparently on by default). I kept expecting to find some way to tell it the : user name to "autologin" as, but eventually figured out I could turn it off : and use the "user" command. : I think this behavior is pretty much like regular FTP clients. : (For all I know there is some way to tell it the : user name, but I never found it :-). : FTP OPEN foo.bar.baz /USER:blah - Frank From jaltman@watsun.cc.columbia.edu Sun Apr 28 12:21:25 EDT 2002 Article: 13350 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!jaltman From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman) Newsgroups: comp.protocols.kermit.misc Subject: Re: suggestion for future gui Date: 27 Apr 2002 23:06:56 GMT Organization: Columbia University Lines: 17 Message-ID: References: NNTP-Posting-Host: watsun.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1019948816 15646 128.59.39.2 (27 Apr 2002 23:06:56 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 27 Apr 2002 23:06:56 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13350 In article , Frank da Cruz wrote: : In article , : I think this behavior is pretty much like regular FTP clients. : : : (For all I know there is some way to tell it the : : user name, but I never found it :-). : : : FTP OPEN foo.bar.baz /USER:blah : SET LOGIN USER .... Jeffrey Altman * Sr.Software Designer Kermit 95 1.1.21 available now!!! The Kermit Project @ Columbia University SSH plus Telnet, FTP and HTTP http://www.kermit-project.org/ secured with Kerberos, SRP, and kermit-support@columbia.edu OpenSSL. From ishikawa@yk.rim.or.jp Sun Apr 28 13:59:43 EDT 2002 Article: 13351 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!howland.erols.net!enews.sgi.com!Q.T.Honey!newsfeed.rim.or.jp!news.rim.or.jp!not-for-mail From: Ishikawa Newsgroups: comp.protocols.kermit.misc Subject: Re: a bug on GNU/linux: speed reset to unintended value occasionally. Date: Sun, 28 Apr 2002 10:24:03 +0900 Organization: Ye 'Ol Disorganized NNTPCache groupie Lines: 129 Message-ID: <3CCB4F33.4F2B2C62@yk.rim.or.jp> References: <3CAFF81C.8039CBF8@yk.rim.or.jp> <3CC98FC0.AADA5130@yk.rim.or.jp> <3CCA03A1.59EF10C9@yk.rim.or.jp> NNTP-Posting-Host: pl473.nas911.n-yokohama.nttpc.ne.jp Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Trace: news.rim.or.jp 1019957046 80992 210.139.38.217 (28 Apr 2002 01:24:06 GMT) X-Complaints-To: root@rim.or.jp NNTP-Posting-Date: Sun, 28 Apr 2002 01:24:06 +0000 (UTC) X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.18 i686) X-Accept-Language: ja, en Cache-Post-Path: duron!unknown@localhost X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13351 Frank da Cruz wrote: > There would have been Kermit books in Russian too. We signed a contract > with the USSR state publishing house in Moscow in 1989, but before the > translations were complete, the Soviet Union disappeared. A software that lives for more than 20 years sees many things happen in its life time, indeed. (If cold war didn't stop, maybe you would have tough time today to release KERMIT with Kerberos support in it???) > : >case-4: `case-1` setting > : > + "set prefixing none" > : > (BTW, Completion doesn't show "none" as a valid third argument.) > : > : I noticed a few cases where an accepted option is not shown in the > : response to "?" completion helper listing. The above is such a case. > : I found the effect of "minimal" and "none" is slightly > : different and so "none" ought to be listed IMHO. > : > I made it "invisible" because it is dangerous in most situations, but in > honor of your thorough investigations, maybe I can make it visible in > the next release (but it will still be dangerous). Oh, my comment was purely out of curiosity and I was thinking that "none" was missing simply due to oversight, and I didn't pay attention to the consequences of showing "none" to users without clue. But I realize now the danger of it and your conscious decision to hide it. So I think it could be left invisible after all. I will always pick up "reliable" transfer over "speed" when it comes to selecting KERMIT features if I have a voice on the decision:-) > : Incidentally, this /CALIBRATE is not shown > : in the "help send" listing because > : it is not usually necessary for an ordinary user and > : only meant for testing. Corret? > : > Yes (as Jeff said). The purpose is to send any desired amount of random > uncompressible data without having to do disk i/o, and using only a > minimum of calculation, so we can measure the performance of the protocol > on different kinds of connections with different parameters (streaming vs > window, window size, packet length, (un)prefixing, 7/8 bit, single/locking > shifts, etc), and also profile the software. Developing an algorithm to > generate unlimited amounts of non-repeating uniform random data was a > fun project. Pseudo random generation for testing purposes. You know I am impressed with the KERMIT, the software, more as I learn more about it (after reading first about it in BYTE in the early 1980's.) Maybe you should promote the study of source code of KERMIT among software engineering courses at colleges, etc.. Being portable over as many platforms as KERMIT is requires careful design (the decision to support many platforms could be an added after-thought like the KERMIT name :-), still it is impressive.) I am saying this because LINUX is all the rage as open source software and it is quite interesting to see the different coding styles adopted for portability. Linux uses different directories to support different architecture because Linux Torvalds decided at the early stage to do away with "#ifdef/#else/#endif#" as a means of supporting different CPU architecture. But KERMIT uses "#if/#else" heavily in order to support different platforms. Surely the difference has to do with the sheer number of source files and the distributed nature of developers. Aside from Linus, there are core hackers other who are specialists for certain CPUs. So separation of files make sense. For a beginning programmers who would grow to be a professional programmer (or for that matter, who would not be a professional programmer) to learn the different styles and the analyzing the rational of such styles would be very instrumental. Programming in the small and programming in the large is very different and seeing large live code such as KERMIT in action is a good thing IMHO. Free Software Foundation of GNU fame used to mention in its documentation about calling for volunteers and college teachers who may use GNU software as a course material to train students (and at the same time to debug and improve the code). KERMIT probably is a very good source material for an advanced programming course today. Handling serial I/O on various systems (I learned how to set various serial I/O characteristics on Solaris from KERMIT source code at the same time reading Stevens's Advanced UNIX programming.), and today now the inclusion of Kerberos and scp/ssh functionalities would be very instructive for secure Internet programming. (This is just an idle thought from someone who has done programming over the two decades, and who spends a sleepy morning during a long Japanese holiday week....) If I have time, I will study how the "/CALIBRATE" data is generated, but there are only so many hours in a day. (Psuedo random number generation is an important topic on its own and is quite a valuable topic in today's e-business software packages.) Thank you again. PS: BTW, I am not sure if this is the right place, but my sympathies to those whose life were affected by the event in last September over there. The other day I saw the picture on the web page of KERMIT and thought about it for a moment, and noticed the small letters next to the photo. ";LOGIN", the monthly newsletter of Usenix carries a monthly column of Rik Farrow (spelling?) and the recent installment mentions a speech given by Bill LeFevre (spelling?) who is today a senior software person at CNN.COM about the surge of web hits after the event. That much I had known. But the subsequent surge at a children's web site operated by the same company, I didn't know. In Japan, we saw the news that conveyed the big picture, but and the scenes near the site. But I could not readily imagine the life of people immediately after the event until I read the column. From fdc@columbia.edu Sun Apr 28 13:59:50 EDT 2002 Article: 13352 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: a bug on GNU/linux: speed reset to unintended value occasionally. Date: 28 Apr 2002 13:59:13 -0400 Organization: Columbia University Lines: 184 Message-ID: References: <3CAFF81C.8039CBF8@yk.rim.or.jp> <3CCA03A1.59EF10C9@yk.rim.or.jp> <3CCB4F33.4F2B2C62@yk.rim.or.jp> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1020016755 18069 128.59.39.139 (28 Apr 2002 17:59:15 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 28 Apr 2002 17:59:15 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13352 In article <3CCB4F33.4F2B2C62@yk.rim.or.jp>, : ... : Pseudo random generation for testing purposes. : You know I am impressed with the KERMIT, the software, more as I learn : more about it (after reading first about it in BYTE in the early : 1980's.) : In English or Japanese? (Was there a Japanese edition of BYTE?) : Maybe you should promote the study of source code of KERMIT among : software engineering courses at colleges, etc.. : Kermit has been, and maybe still is, taught in some university telecommunications and software engineering courses. One of the main uses for the original Kermit book was as a textbook. If we knew how to promote Kermit any better than we do already, we would do it :-) The C-Kermit CDROM page: http://www.columbia.edu/kermit/ck70cd.html suggests that the enormous source-code base might be a useful object of study. At least one other programming textbook was written, using Kermit source code as a base: Kelly-Bootle, Stan, "680x0 Programming By Example", Howard W Sams & Co, Indianapolis IN (1988), ISBN 0-672-22544-1. In this case it was the Alpha Micro version written by Rob Rubendunst: ftp://kermit.columbia.edu/kermit/c/am*.* Of course other books have featured Kermit protocol and/or code too, including: Kientzle, Tim, "The Working Programmer's Guide to Serial Protocols", Coriolis Group Books, Scottsdale AZ (1995), ISBN 1-883577-20-9 Quarterman, John, "The Matrix: Computer Networks and Conferencing Systems Worldwide", Digital Press, Bedford MA (1990), ISBN 1-55558-033-5 McNamara, John, "Technical Aspects of Data Communication", Third Edition, Digital Press, Bedford MA (1988), ISBN 1-55558-007-6 Campbell, Joe, "C Programmer's Guide to Serial Communications", Howard W Sams & Co, Indianapolis IN (1987), ISBN 0-672-22584-0 Gofton, Peter W. "Mastering Serial Communications", SYBEX, Berkeley CA (1986), ISBN 0-89588-180-2 And somewhat more sensationally: Stoll, Clifford: "The Cuckoo's Egg: Tracking a Spy Through the Maze of Computer Espionage", Doubleday, New York (1989), ISBN 0-385-24946-2 Most of the books listed above speak of Kermit as a "serial protocol", i.e. to be used only with serial ports and modems. In fact, Kermit is a well-structured layered protocol that can be used over any medium or connection type (e.g. Telnet, SSH). In particular, it is perfect for use over UDP, and you might see some interesting applications for this arising in the future. : I am saying this because LINUX is all the rage as open source software : and it is quite interesting to see the different coding styles adopted : for portability. Linux uses different directories to support : different architecture... : There are many approaches to portability, none of them perfect. There are also different definitions of portability. These days many people think portability means that the same code can be built for Linux and maybe one or two other Unix varieties, using GNU tools (autoconfig, etc). Although there was a Kermit program for Unix as early as 1982, C-Kermit did not appear until 1985. I decided to start over, with a modular design and portability as a top priority: C-Kermit would consist of a totally portable Kermit protocol core, a "C-Library" portable user interface (but one that could be replaced with any other kind of user interface, e.g. GUI as on the Macintosh, which was actually done), and platform-dependent modules for input/output (file i/o, communications i/o, and CONNECT (terminal) mode). As the years went by, we ported C-Kermit to 12 distinct operating system families: Unix, VMS, AOS/VS, VOS, OS-9, Apollo Aegis, the Atari ST, the Commodore Amiga, the Macintosh, Plan 9 from Bell Labs, Microsoft Windows, and IBM OS/2. The platform-specific modules for most of these platforms -- VMS, AOS/VS, OS-9, VOS, Mac -- fit the model quite well, and contain very few #ifdefs. The Unix modules, on the other hand, are amazing to behold because the differences among Unix variations (Linux, BSD, AIX, Solaris, SCO, etc) and the releases of each one (AIX 2.1, AIX 3.2.5, AIX 4.1, AIX 4.3, AIX 5.1) are far greater than we ever foresaw in 1985 -- in those days, Unix was known as a portable operating system, and in fact there were only two main branches: BSD and System V. But the i/o modules are quite large. This presents a dilemma: should we create separate i/o modules for AIX, Solaris, HP-UX, IRIX, SCO, and so on? If so, there would be tens of thousands of lines of duplicated code that would have to be changed in many places if a bug needed to be fixed or the API updated. Or do we keep all the shared code in one place and handle the product-specific differences with #ifdefs? : ... because Linux Torvalds decided at the early stage to do away with : "#ifdef/#else/#endif#" as a means of supporting different CPU : architecture. But KERMIT uses "#if/#else" heavily in order to support : different platforms. : Linus had one operating system and one compiler to consider: that's a much smaller problem space. : Surely the difference has to do with the sheer : number of source files and the distributed nature of developers. : We chose #ifdefs for the reasons explained here: http://www.columbia.edu/kermit/ckcplm.html#x3 : For a beginning programmers who would grow to be a professional : programmer (or for that matter, who would not be a professional : programmer) : to learn the different styles and the analyzing the rational of such : styles would be very instrumental. Programming in the small and : programming in the large is very different and seeing : large live code such as KERMIT in action is a good thing IMHO. : I think so too, but most people don't care any more now that, for most developers, only Windows and Linux exist. Nevertheless, there are still a few other projects besides Kermit that try to be portable to as many platforms as possible, both old and new, such as: http://www.info-zip.org/pub/infozip/ : Free Software Foundation of GNU fame used to mention : in its documentation about calling for volunteers and : college teachers who may use GNU software as a course material to : train students (and at the same time to debug and improve the code). : KERMIT probably is a very good source material for an advanced : programming course today. : I agree. In a software engineering course with a laboratory, it can certainly fit into a semester's project, perhaps along with other projects. Its behavior can be studied -- performance, error recovery, and so on. Also, since the protocol is extensible, it can form the basis for more ambitious projects -- for example, a network layer can be added for routing (I know of a case where this was done quite successfully). I have a few other ideas for software engineering projects too. : ... and today now the inclusion of Kerberos and : scp/ssh functionalities would be very : instructive for secure Internet programming. : We like to think so, and if we did not have to focus constantly on raising money to pay for the continued existence of the Kermit Project, we would spend more time writing books and papers on topics like this (and for that matter we would even spend more time writing software :-) Unfortunately there is no other support for the kind of work we do, especially not in these hard economic times. : PS: BTW, I am not sure if this is the right place, but my sympathies to : those whose life were affected by the event in last September over : there. The other day I saw the picture on the web page of KERMIT and : thought about it for a moment, and noticed the small letters next to the : photo. : Thanks for the kind thoughts. A few people suggested we remove the images of the World Trade Center, but most people are supportive of keeping them. - Frank From not-a-real-address@usa.net Mon Apr 29 09:43:44 EDT 2002 Article: 13353 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news-out.nuthinbutnews.com!propagator-sterling!news-in.nuthinbutnews.com!newsfeed.nyc.globix.net!newsfeed.sjc.globix.net!cyclone-sf.pbi.net!199.106.71.17!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!enews1 From: those who know me have no need of my name Newsgroups: comp.protocols.kermit.misc Subject: option presentation Date: 29 Apr 2002 08:47:49 GMT Organization: earthfriends Lines: 19 Message-ID: References: <3CAFF81C.8039CBF8@yk.rim.or.jp> <3CC98FC0.AADA5130@yk.rim.or.jp> <3CCA03A1.59EF10C9@yk.rim.or.jp> NNTP-Posting-Host: p-618.newsdawg.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.4 (Common Lisp, i686-redhat-linux) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13353 divulged: >In article <3CCA03A1.59EF10C9@yk.rim.or.jp>, >Ishikawa wrote: >: I noticed a few cases where an accepted option is not shown in the >: response to "?" completion helper listing. The above is such a case. >: I found the effect of "minimal" and "none" is slightly >: different and so "none" ought to be listed IMHO. >: >I made it "invisible" because it is dangerous in most situations, but in >honor of your thorough investigations, maybe I can make it visible in >the next release (but it will still be dangerous). perhaps there should be a user expertise level setting, that would present such options when sufficient, but which would default so that the display would be as today. -- bringing you boring signatures for 17 years From fdc@columbia.edu Wed May 1 09:23:41 EDT 2002 Article: 13354 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Kermit Bibliography Date: 30 Apr 2002 18:14:03 -0400 Organization: Columbia University Lines: 11 Message-ID: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1020204845 23751 128.59.39.139 (30 Apr 2002 22:14:05 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 30 Apr 2002 22:14:05 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13354 A recent thread prompted me to list books about Kermit, which in turn prompted me to put a proper bibliography up on the website: http://www.columbia.edu/kermit/biblio.html The fun part is the Russian and Japanese text, which you can see if your browser supports Unicode (UTF-8) and you have fonts with the needed glyphs. - Frank From ishikawa@yk.rim.or.jp Wed May 1 09:24:04 EDT 2002 Article: 13355 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!news-xfer.newsread.com!netaxs.com!newsread.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!newsfeed.media.kyoto-u.ac.jp!newsfeed.rim.or.jp!news.rim.or.jp!not-for-mail From: Ishikawa Newsgroups: comp.protocols.kermit.misc Subject: Re: a bug on GNU/linux: speed reset to unintended value occasionally. Date: Wed, 01 May 2002 10:37:56 +0900 Organization: Ye 'Ol Disorganized NNTPCache groupie Lines: 203 Message-ID: <3CCF46F4.DE916308@yk.rim.or.jp> References: <3CAFF81C.8039CBF8@yk.rim.or.jp> <3CCA03A1.59EF10C9@yk.rim.or.jp> <3CCB4F33.4F2B2C62@yk.rim.or.jp> NNTP-Posting-Host: pl1371.nas911.n-yokohama.nttpc.ne.jp Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Trace: news.rim.or.jp 1020217080 85690 210.139.44.91 (1 May 2002 01:37:59 GMT) X-Complaints-To: root@rim.or.jp NNTP-Posting-Date: Wed, 1 May 2002 01:37:59 +0000 (UTC) X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.18 i686) X-Accept-Language: ja, en Cache-Post-Path: duron!unknown@localhost X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13355 Frank da Cruz wrote: > In article <3CCB4F33.4F2B2C62@yk.rim.or.jp>, > : ... > : Pseudo random generation for testing purposes. > : You know I am impressed with the KERMIT, the software, more as I learn > : more about it (after reading first about it in BYTE in the early > : 1980's.) > : > In English or Japanese? (Was there a Japanese edition of BYTE?) The issue of Byte where I read about KERMIT was the original one. There used to be (and may be still) a Japanese publication which borrowed heavily on American BYTE magazine including Chaos Manor column. But I didn't read it often. (It was a subscription only publication. The office reading room had one.) I was going to write that too bad BYTE went out of print business. But a surprise? I didn't know, but an annual version is printed even today. Please see http://www.BYTE.com/ These infrequent magazines that hits newsstand are unlikely to be imported to Japan and the chance of such one-time issue being shown at bookstores where I frequent in Japan is again low so, that is why I may have overlooked it. Byte and former McGrawhil's Electronics are two magazines I miss. About the list of books, I noticed that you have put up a web page of bibliography and announced it in the news group. Yes, Fujii-san and other Japanese names came out correctly in my netscape browser under linux! > Kelly-Bootle, Stan, > "680x0 Programming By Example", > Howard W Sams & Co, Indianapolis IN (1988), > ISBN 0-672-22544-1. > > In this case it was the Alpha Micro version written by Rob Rubendunst: > > ftp://kermit.columbia.edu/kermit/c/am*.* I have not looked at assembly programs often lately. (Not that I don't use assembly programming, but usually I use only a small piece in timing critical or need to use very exotic cpu instruction for synchronization, etc..) So I was quite impressed at the assembly program listed above. Never realized that the directory contains source code files for a totally different architecture... > And somewhat more sensationally: > > Stoll, Clifford: > "The Cuckoo's Egg: Tracking a Spy Through the Maze of Computer Espionage", > Doubleday, New York (1989), > ISBN 0-385-24946-2 I have read this book. But it was quite some time ago, and can't recall KERMIT mentioned in this book. Oh well. > In particular, it is perfect for use over UDP, and you might see some > interesting applications for this arising in the future. I will look forward to it and may contribute it if I have time. These days, a certain large software company decided to regard serial ports as "legacy hardware" and seem to discourage the use of them. Problem is that some hardware makers take the words from this software vendor too seriously and I have seen now notebooks without serial ports. I am afraid that desktop PCs may not be far behind in this regard. The software vendor looks at only the office use. But serial ports have been used in industrial application very often, and unlike the software vendor's software, the industrial application tend to stay for a long time (15 years or more). So serial ports ought to be available for a long time to come. I can imagine a peddler selling PCs with "legacy" serial ports to desperate engineers at hawker's price in 15 years from now. > : I am saying this because LINUX is all the rage as open source software > : and it is quite interesting to see the different coding styles adopted > : for portability. Linux uses different directories to support > : different architecture... > There are many approaches to portability, none of them perfect. There are > also different definitions of portability. These days many people think > portability means that the same code can be built for Linux and maybe one > or two other Unix varieties, using GNU tools (autoconfig, etc). > ... > We chose #ifdefs for the reasons explained here: > > http://www.columbia.edu/kermit/ckcplm.html#x3 > I read the page and it was quite refreshing to read these do's and dont's. I think programming KERMIT is quite comparable to embedded computer programming today. Often the development tools for embedded computer systems are under preparation for a new embedded systems and so assembler/compiler/linker and realtime OS kernel itself (if it exists at all!) is somewhat unreliable, and so we need to take a very careful and conservative approach in coding. (When I talk of embedded computer systems, I mean computer systems embedded in *small* appliances such as toaster, microwave oven, refrigerator, TV, VCR, and many other home appliances as well as automotive engine control system and other industrical controller. Some embedded systems for industry control system may use, say, Sun ULTRA pizza box, but most of these small systems use a tiny single printed circuit board with a version of 8, 16 or 32 bit computers.) Now I know why I don't seem to find #if defined(FOO) && defined (BAR) in KERMIT code often if any. Japanese computer industry has a sizable population working in the embedded market and they will immediately see the similarities of constraints under which you work to their own constraints. As for the minor and yet obnoxious differences among different UNIX flavors, all I can do is quote "Isn't standard wonderful? There are so many to choose from!". There is now SUS (single unix specification) coming out, but as you and I found out that sometimes vendors silently changes the adherence to one standard to the other (in the case of Sun) or the implementation is very tricky using reserved bit field for storing something and misleading to unwary users. >We like to think so, and if we did not have to focus constantly on raising >money to pay for the continued existence of the Kermit Project, we would >spend more time writing books and papers on topics like this (and for that >matter we would even spend more time writing software :-) Unfortunately >there is no other support for the kind of work we do, especially not in >these hard economic times. One thing that I have been wondering is this. How is KERMIT project sustained. One software project with which I have been familiar is GNU. I have used Emacs and GNU tools form quite some time now. GNU project of FSF sustained itself by offering free programs on magnetic tapes initially. I recall buying a few tapes long time ago. They sell the manuals to programs they distribute freely. (The manual text is free in the sense of GNU documentation license, but often it is more convenient to buy the printed manual. It has nice binding.) They also accept donations. I understand that Windows version of KERMIT is licenced at a fee. (Aha, for that matter, long time ago, I think we bought a KERMIT tape from you. For a few years, we received hardcopy annual newsletter if I recall correctly. This was before the INTERNET, and even before UUCP network was in wide spread use. We could not copy KERMIT easily and I think I read that the tape is available from Columibia and bought it.) But you obviously offer C-KERMIT for free to users like me. Does Columbia University accept/solicit donations to Kermit project? (And I am curious and nosy. What is your, er, regular job at Columbia? Is supporting KERMIT the only job over there??? I suspect no, you need to do other dayily tasks and then devote what free time left to Kermit...) Sorry it is not strictly a technical topic I raise in the last few articles, but if users can obtain binary/source copy over the net very easily then, paying for upkeep of the project is certainly difficult unless a proper "business model" is there. KERMIT is one of the few (if any) powerful serial terminal program on UNIX with good track record under noisy and flakey connection. (tip is a joke as a terminal program. UUCP is only for batch transfer/invocation remotely.) So having KERMIT project afloat is clearly a merit to a sizable number of programmers all over the world. (Right, many now use Windows and there are good terminal emulators with KERIMT protocol support. But as far as I can tell UNIX has KERMIT only. Maybe KERMIT was so good that nobody bothered to write other serial terminal program.) From fdc@columbia.edu Wed May 1 10:37:19 EDT 2002 Article: 13356 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: a bug on GNU/linux: speed reset to unintended value occasionally. Date: 1 May 2002 10:37:10 -0400 Organization: Columbia University Lines: 175 Message-ID: References: <3CAFF81C.8039CBF8@yk.rim.or.jp> <3CCB4F33.4F2B2C62@yk.rim.or.jp> <3CCF46F4.DE916308@yk.rim.or.jp> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1020263832 13865 128.59.39.139 (1 May 2002 14:37:12 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 1 May 2002 14:37:12 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13356 In article <3CCF46F4.DE916308@yk.rim.or.jp>, Ishikawa wrote: : Frank da Cruz wrote: : > ... : > Kelly-Bootle, Stan, : > "680x0 Programming By Example", : > Howard W Sams & Co, Indianapolis IN (1988), : > ISBN 0-672-22544-1. : > : > In this case it was the Alpha Micro version written by Rob Rubendunst: : > : > ftp://kermit.columbia.edu/kermit/c/am*.* : : So I was quite impressed at the assembly program listed above. : Never realized that the directory contains source code files : for a totally different architecture... : Most of the early Kermit programs (CP/M, DEC-20, PDP-11, IBM 370, MS-DOS) were written in assembler, I don't think I have ever counted the number of different assembly languages represented in the archive, but it is a good sampling. We used to keep lists of Kermit programs sorted by various categories: date, platform, OS, language, etc, but these lists do not always distinguish different assemblers: ftp://kermit.columbia.edu/kermit/a/aavlng.txt : > And somewhat more sensationally: : > : > Stoll, Clifford: : > "The Cuckoo's Egg: Tracking a Spy Through the Maze of Computer Espionage", : > Doubleday, New York (1989), : > ISBN 0-385-24946-2 : : I have read this book. But it was quite some time ago, and can't recall : KERMIT mentioned in this book. Oh well. : In the hardcover edition: pages 45 ("The hacker wasted no time. He issued commands to show all the active users and any background jobs running. Then he fired up Kermit." [Paragraph explaining what Kermit is... "the Esperanto of computers"] ... "I watched as the hacker used Kermit to transfer a short program into our Unix computer..."]; pages 90-93 [a more detailed explanation of Kermit protocol, and the measurement of round-trip time of Kermit packets to estimate the hacker's distance]; 149-156 [the keychain gambit]. : These days, a certain large software company decided to : regard serial ports as "legacy hardware" and seem to : discourage the use of them. : Of course this is unfortunate, but on the other hand it leaves a niche for makers of software and devices that are good for something besides shopping and making pie charts. : > http://www.columbia.edu/kermit/ckcplm.html#x3 : > : I read the page and it was quite refreshing to read : these do's and dont's. : : I think programming KERMIT is quite comparable to embedded computer : programming today. Often the development tools for embedded computer : systems are under preparation for a new embedded systems and so : assembler/compiler/linker and realtime OS kernel itself (if it exists at : all!) is somewhat unreliable, and so we need to take a very careful and : conservative approach in coding. : Quite true. Even today we try to make C-Kermit compatible with old compilers and linkers, because many people still have them. It was only recently that we had to give up on supporting 16-bit architectures in C-Kermit (but of course G-Kermit still supports them, not to mention MS-DOS Kermit and many others). : (When I talk of embedded computer systems, I mean computer systems : embedded in *small* appliances such as toaster, microwave oven, : refrigerator, TV, VCR, and many other home appliances as well as : automotive engine control system and other industrical controller. Some : embedded systems for industry control system may use, say, Sun ULTRA : pizza box, but most of these small systems use a tiny single printed : circuit board with a version of 8, 16 or 32 bit computers.) : Right, and as you say, the programming requirements are quite rigid; not what you learned in school :-) We often get requests for an embeddable Kermit protocol implementation, and I'm happy to say that soon we will have one. : One thing that I have been wondering is this. : How is KERMIT project sustained. : Whenever this topic comes up, it results in a flame war. Everybody has strong opinions about licensing. In the early days, we had a group of programmers who were paid to write Kermit software, so of course we gave it away (but we retained copyright). Soon other sites began to write their own Kermit programs and send them back to us. Naturally, we worked with them to ensure interoperability, a compatible command language, etc. This was great, but it was also more work for us. Later, it was no longer our job to develop Kermit software or coordinate developers at other sites, or take care of the archive. But the world still wanted and expected us to do the work, and we enjoyed it. So Kermit work was done nights and weekends. This might be OK for students, but it's not good for grown-ups with families. Eventually (1986) we convinced our management to create the Kermit Project. It would coordinate development, take care of the archive, package and distribute the software, run a mailing list, publish a newsletter/journal, but NOT write software. The project was to pay for itself by charging a distribution fee for Kermit tapes and disks. Later, as the demand for mail-order tapes and disks dimished, we wrote some books, and our business model became something like: "the software is free for your own use but please buy the book, and if you want to sell or give the software to customers or clients, you *must* include the book". This worked for a few years, but people didn't like it because in most cases they did not want a book. Finally in 1995, I joined the Kermit Project full time and we hired another full time developer, Jeff Altman, with the understanding that the Kermit Project must pay for itself out of revenue. We released Kermit 95 as a commercial product that year. People understand this much better; no lengthy explanations are required, no arguing about "save a tree", etc; it's quite straightforward. Except for Kermit 95, most Kermit software is still "free" in the sense that you can download it -- source code and all -- for your own use or use within your company, but you can not make a product out of it or include it with a product without a license; in other words, if you make money (or otherwise gain commercial advantage) from our work, we deserve a share. We believe this is fair and reasonable. Our current business model is spelled out here: http://www.columbia.edu/kermit/commercial.html : Does Columbia University accept/solicit donations to : Kermit project? : We would like to have donations, but this is not an adequate business model, especially in these hard times. : And I am curious and nosy. What is your, er, regular : job at Columbia?... : Now it is Kermit, but many others before that; you can read a little bit about this here: http://www.columbia.edu/acis/history/ : KERMIT is one of the few (if any) powerful serial terminal program on : UNIX with good track record under noisy and flakey connection. (tip is : a joke as a terminal program. UUCP is only for batch transfer/invocation : remotely.) : Thanks. Of course Kermit is much more than a serial-port terminal program. Unfortunately many people don't know that; their conception of Kermit has not changed since they first looked at it 10 or 20 years ago. It's hard to change first impressions. : So having KERMIT project afloat is clearly a merit to a sizable number : of programmers all over the world. (Right, many now use Windows and : there are good terminal emulators with KERIMT protocol support. : But aside from Kermit 95, I don't think there are any good Windows terminal emulators with *good* Kermit protocol support! : But as : far as I can tell UNIX has KERMIT only. Maybe KERMIT was so good that : nobody bothered to write other serial terminal program.) : There are a couple others; see: http://www.columbia.edu/kermit/kermit.html for a discussion of this topic, and also for more about licensing. - Frank From dz@mir.glasnet.ru Thu May 2 09:59:33 EDT 2002 Article: 13357 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!news.tele.dk!small.news.tele.dk!195.54.122.107!newsfeed1.bredband.com!bredband!newsfeed.sovam.com!sovam!dz From: dz@mir.glasnet.ru (Dmitry the Zuryanovich) Newsgroups: comp.protocols.kermit.misc Subject: kermit for palmos? Date: Thu, 2 May 2002 12:08:24 +0000 (UTC) Organization: Golden Telecom Lines: 6 Message-ID: NNTP-Posting-Host: mir.glasnet.ru X-Trace: news.sovam.com 1020341304 15954 194.154.76.131 (2 May 2002 12:08:24 GMT) X-Complaints-To: abuse@online.ru NNTP-Posting-Date: Thu, 2 May 2002 12:08:24 +0000 (UTC) X-Newsreader: TIN [version 1.2 PL2] Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13357 Just curious if this thing exists? -- DtZ (homepage:http://come.to/dtz,AIM:DreadBit,ICQ:5132840,Fido: 2:5020/730.730, email:dz.at.mir.glasnet.ru,SMS:+79026244113(NO VOICE CALLS ACCEPTED!)//HPG From fdc@columbia.edu Thu May 2 10:05:13 EDT 2002 Article: 13358 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: kermit for palmos? Date: 2 May 2002 10:04:54 -0400 Organization: Columbia University Lines: 18 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1020348296 26647 128.59.39.139 (2 May 2002 14:04:56 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 2 May 2002 14:04:56 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13358 In article , Dmitry the Zuryanovich wrote: : Just curious if this thing exists? : No, sorry, we don't have time to do it and nobody else has written one either. Back in the old days, when people wanted Kermit for some new platform, they would write it themselves and send it in to the archive. There's plenty of Kermit source code to use as a model. It is unfortunate that the Palm has a unique and bizarre architecture and development model. The Sharp Zaurus takes a better approach -- its OS is Linux, so Kermit runs on it automatically; you can find a prebuilt binary in the archive: http://www.columbia.edu/kermit/ck80binaries.html - Frank From bob.jones@usg.edu Thu May 2 11:38:06 EDT 2002 Article: 13359 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!bloom-beacon.mit.edu!newsfeed.utk.edu!news.uky.edu!news-feed-1!not-for-mail From: Bob Jones Newsgroups: comp.protocols.kermit.misc Subject: Problem getting enter key to work Date: Thu, 02 May 2002 11:26:51 -0400 Organization: PeachNet Lines: 33 Message-ID: <3CD15ABB.3020709@usg.edu> NNTP-Posting-Host: loaf.tss.peachnet.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news-feed-1.peachnet.edu 1020353211 28450 168.24.245.136 (2 May 2002 15:26:51 GMT) X-Complaints-To: usenet@news-feed-1.peachnet.edu NNTP-Posting-Date: Thu, 2 May 2002 15:26:51 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020310 X-Accept-Language: en-us, en Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13359 Okay folks, I have a problem here and hopefully one of you will be able to help me. I have just installed the latest version of kermit on my Red Hat 7.2 box. I have connected a serial cable from that box to a new Sun Netra T1. I start the Sun up and connect kermit using the following commands: set modem type none ; There is no modem set line /dev/ttyS0 ; Specify device name set carrier-watch off ; If DTR CD are not cross-connected set speed 9600 ; Or other desired speed set flow rts/cts ; If RTS and CTS are cross-connected set parity even ; (or "mark" or "space", if necessary) set stop-bits 1 ; (rarely necessary) connect ; Enter Connect (terminal) state I then send a ^\B to emulate the stop-a and get to the ok prompt. Now this is where my problem begins. I cannot execute any command at the ok prompt. I type in the command (let's say .version) and then hit the enter key and nothing happens. I've tried ^m which does nothing and ^j which would give an error of .version ? and so on. So, anyone know what's going on? Is there something I can do to get the enter key to work or is there a control sequence to emulate the enter key. Any and all help is greatly appreciated. Thanks, Bob Jones bob.jones@usg.edu From fdc@columbia.edu Thu May 2 11:38:13 EDT 2002 Article: 13360 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Problem getting enter key to work Date: 2 May 2002 11:37:47 -0400 Organization: Columbia University Lines: 35 Message-ID: References: <3CD15ABB.3020709@usg.edu> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1020353883 29960 128.59.39.139 (2 May 2002 15:38:03 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 2 May 2002 15:38:03 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13360 In article <3CD15ABB.3020709@usg.edu>, Bob Jones wrote: : Okay folks, I have a problem here and hopefully one of you will be : able to help me. I have just installed the latest version of kermit : on my Red Hat 7.2 box. I have connected a serial cable from that box : to a new Sun Netra T1. I start the Sun up and connect kermit using : the following commands: : : set modem type none ; There is no modem : set line /dev/ttyS0 ; Specify device name : set carrier-watch off ; If DTR CD are not cross-connected : set speed 9600 ; Or other desired speed : set flow rts/cts ; If RTS and CTS are cross-connected : set parity even ; (or "mark" or "space", if necessary) : set stop-bits 1 ; (rarely necessary) : connect ; Enter Connect (terminal) state : : I then send a ^\B to emulate the stop-a and get to the ok prompt. Now : this is where my problem begins. : : I cannot execute any command at the ok prompt. I type in the command : (let's say .version) and then hit the enter key and nothing happens. : I've tried ^m which does nothing and ^j which would give an error of : .version ? and so on. : : So, anyone know what's going on? Is there something I can do to get : the enter key to work or is there a control sequence to emulate the : enter key. : Are you sure you need even parity? Enter sends Carriage Return, ASCII 13 = 00001101. With even parity, this becomes 10001101. If the Sun console does not expect even parity, it won't recognize the character. Try it with SET PARITY NONE. - Frank From nospam@foo.com Tue May 14 09:37:39 EDT 2002 Article: 13363 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!howland.erols.net!newsfeed.mindspring.net.MISMATCH!newsfeed0.news.atl.earthlink.net!news.atl.earthlink.net!stamper.news.pas.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail Reply-To: "nospam" From: "nospam" Newsgroups: comp.protocols.kermit.misc Subject: autodownload over direct connection? Lines: 5 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: Date: Tue, 14 May 2002 13:29:10 GMT NNTP-Posting-Host: 65.234.138.66 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.prod.itd.earthlink.net 1021382950 65.234.138.66 (Tue, 14 May 2002 06:29:10 PDT) NNTP-Posting-Date: Tue, 14 May 2002 06:29:10 PDT Organization: EarthLink Inc. -- http://www.EarthLink.net Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13363 Does "set terminal autodownload on" work over direct serial connections? From fdc@columbia.edu Tue May 14 09:37:41 EDT 2002 Article: 13364 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: autodownload over direct connection? Date: 14 May 2002 09:37:33 -0400 Organization: Columbia University Lines: 8 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1021383455 29978 128.59.39.139 (14 May 2002 13:37:35 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 14 May 2002 13:37:35 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13364 In article , nospam wrote: : Does "set terminal autodownload on" work over direct serial connections? : It should be independent of the connection type. Are you having a problem with it? If so, please give specifics. - Frank From jhill@sawmillmanager.com Tue May 14 11:08:21 EDT 2002 Article: 13365 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!newsxfer.eecs.umich.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cyclone.maine.rr.com!typhoon.maine.rr.com.POSTED!not-for-mail From: "John Hill" Newsgroups: comp.protocols.kermit.misc Subject: Problem using remote host command Lines: 16 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Message-ID: Date: Tue, 14 May 2002 14:22:24 GMT NNTP-Posting-Host: 24.198.99.184 X-Complaints-To: abuse@rr.com X-Trace: typhoon.maine.rr.com 1021386144 24.198.99.184 (Tue, 14 May 2002 10:22:24 EDT) NNTP-Posting-Date: Tue, 14 May 2002 10:22:24 EDT Organization: Road Runner - Portland, Maine Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13365 Hello, I am running MS-Kermit 3.15 on a DOS computer that dials into a PC running K95 v1.1.20. Once the DOS unit connects the PC is put into server mode so that the DOS unit can control the file transfer. I can use the remote cd command, send and receive files without a problem. When I try to use the remote host mkdir command to create a directory on the Win95 PC the DOS unit locks up. The command is displayed on the DOS unit and the directory is created on the Win95 PC but the DOS unit does not return to the Kermit prompt. This has worked for me in the past. I don't know of anything that has changed but need some guidance on where to look. Thanks. John Hill From fdc@columbia.edu Tue May 14 11:14:33 EDT 2002 Article: 13367 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Problem using remote host command Date: 14 May 2002 11:08:17 -0400 Organization: Columbia University Lines: 17 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1021388898 3865 128.59.39.139 (14 May 2002 15:08:18 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 14 May 2002 15:08:18 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13367 In article , John Hill wrote: : I am running MS-Kermit 3.15 on a DOS computer that dials into a PC running : K95 v1.1.20. Once the DOS unit connects the PC is put into server mode so : that the DOS unit can control the file transfer. I can use the remote cd : command, send and receive files without a problem. When I try to use the : remote host mkdir command to create a directory on the Win95 PC the DOS unit : locks up. The command is displayed on the DOS unit and the directory is : created on the Win95 PC but the DOS unit does not return to the Kermit : prompt. This has worked for me in the past. I don't know of anything that : has changed but need some guidance on where to look. Thanks. : Pretty mysterious. It used to work, now it doesn't. Obviously something must have changed. Try collecting a debug log from Kermit 95 and sending it to us -- maybe it will give a clue. - Frank From fdc@columbia.edu Tue May 14 11:14:47 EDT 2002 Article: 13368 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: anybody here? Date: 14 May 2002 11:14:23 -0400 Organization: Columbia University Lines: 42 Message-ID: References: <3K9E8.355$Ec.40403@newsread2.prod.itd.earthlink.net> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1021389264 4889 128.59.39.139 (14 May 2002 15:14:24 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 14 May 2002 15:14:24 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13368 In article <3K9E8.355$Ec.40403@newsread2.prod.itd.earthlink.net>, nospam wrote: : Trying to write an automated transfer using serial cable.... The online : documentation is not complete. : Using what software, what version, on what OS, what version? : Where is the reference manual for the scripting language ( ie: variable : scoping, etc)? : Depends on what software you are using. : Where is the reference manual for all of the kermit commands ( ie: set : terminal autodownload on/off)? : Each of the major Kermit programs has its own web page that explains what its documentation is and how to get it. Everything can be found by starting at the primary Kermit site: http://www.columbia.edu/kermit/ You might be interested in the tutorials, the script library, and the many scripting examples. You can also use Kermit's built-in HELP command (assuming you're talking about a mainstream Kermit program, like C-Kermit), e.g. "help set terminal". : How do I init a connection via serial direct connection without using the : "connection" command? What is the "SET HOST " equivalent for direct : connection? : SET LINE or SET PORT, depending on what program you are using. See the examples in the script library for the other parameters you might need to set (speed, flow control, parity, carrier-watch, etc). : Anyone read this news group? : You can review the traffic at Google: http://groups.google.com/groups?hl=en&group=comp.protocols.kermit.misc - Frank From sonicechoesWithNoSpam@hotmail.com Thu May 16 15:07:20 EDT 2002 Article: 13369 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.cs.columbia.edu!peerfeed.news.psi.net!unlisys!news.snafu.de!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!peer1-sjc1.usenetserver.com!usenetserver.com!sn-xit-04!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: dgk Newsgroups: comp.protocols.kermit.misc Subject: Ask with timeout? Input? help! Date: Thu, 16 May 2002 09:59:28 -0400 Organization: Posted via Supernews, http://www.supernews.com Message-ID: Reply-To: sonicechoesWithNoSpam@hotmail.com X-Newsreader: Forte Agent 1.91/32.564 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: newsabuse@supernews.com Lines: 19 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13369 I'm trying to write a script to answer a modem and send and receive files. Pretty simple stuff. It will be running on a PC using Kermit95. I'm pretty much just using the existing hostmode.ksc and hostmdm.ksc and simplifying them a bit to get rid of the menus and just answer the phone and connect. Then I want to ask for a username and password, select a directory based on that, and send and receive files. I want to be the host. I am confused over a lot of stuff, but particularly ASK and INPUT. The documentation says that ASK reads input from the keyboard and INPUT appears to be used for remote sessions, so I guess I need to use input. But that is looking for specific input, not just reading into a variable. I guess I can examine the \vbuffer or whatever it is to see what actually came in, but I think I'm missing something here. Is there a timeout that works with ASK? Does ASK work with a serial connection? Any pointers greatly appreciated. From fdc@columbia.edu Thu May 16 15:07:24 EDT 2002 Article: 13370 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Ask with timeout? Input? help! Date: 16 May 2002 15:07:14 -0400 Organization: Columbia University Lines: 47 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1021576036 10078 128.59.39.139 (16 May 2002 19:07:16 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 16 May 2002 19:07:16 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13370 In article , dgk wrote: : I'm trying to write a script to answer a modem and send and receive : files. Pretty simple stuff. It will be running on a PC using Kermit95. : I'm pretty much just using the existing hostmode.ksc and hostmdm.ksc : and simplifying them a bit to get rid of the menus and just answer the : phone and connect. Then I want to ask for a username and password, : select a directory based on that, and send and receive files. I want : to be the host. : : I am confused over a lot of stuff, but particularly ASK and INPUT. The : documentation says that ASK reads input from the keyboard and INPUT : appears to be used for remote sessions, so I guess I need to use : input. : Right. : But that is looking for specific input, not just reading into a : variable. I guess I can examine the \vbuffer or whatever it is to see : what actually came in, but I think I'm missing something here. : INPUT can be made to work approximately like ASK as follows: clear input output { Prompt: } minput xx {\10} {\13} if fail ... Replace "Prompt:" with whatever you want the prompt to be, replace xx with the number of seconds you want to wait, and then code the IF FAIL command to do whatever you want if the INPUT times out. If the INPUT succeeds, the \v(input) variable contains what the user typed. However, it's still not exactly like ASK because (a) the terminating carriage return or linefeed is included in the result, and (b) so are any editing characters, like Delete or Backspace. You'll note that the hostmode script includes a function that takes care of this. : Is there a timeout that works with ASK? : Yes; for info see "help set ask-timer". : Does ASK work with a serial connection? : No, you'll have to use the method described above. - Frank From fdc@columbia.edu Fri May 17 10:25:44 EDT 2002 Article: 13371 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Recent e-mail viruses Date: 17 May 2002 10:14:27 -0400 Organization: Columbia University Lines: 18 Message-ID: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1021644868 4037 128.59.39.139 (17 May 2002 14:14:28 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 17 May 2002 14:14:28 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13371 It should not be necessary to say this, but for the record... Any email received from a Kermit-related address that contains viruses, spam, or pornography is forged. The latest round of email viruses copies the From: address from messages it finds in the infected user's mailbox, and this is a source of much of the forged mail in current circulation. In any case, it is ridiculously easy for spammers and hackers to "customize" the From: address on their messages so you can expect ever-increasing amounts of forged mail, to the point where it will be so hard to sift out the real messages that many people won't bother. But for what it's worth, you will never get infected email from us because we use only Unix-based text-mode email clients, and send only plain-text messages with no enclosures or attachments, as described here: http://www.columbia.edu/kermit/safe.html - Frank From not-a-real-address@usa.net Sat May 18 13:58:11 EDT 2002 Article: 13372 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!howland.erols.net!cyclone-sf.pbi.net!199.106.71.17!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!enews2 From: those who know me have no need of my name Newsgroups: alt.unix.wizards,comp.protocols.kermit.misc Subject: Re: Shell Scripts Followup-To: comp.protocols.kermit.misc Date: 18 May 2002 01:17:54 GMT Organization: earthfriends Lines: 16 Message-ID: References: <3ce31c4a.257745888@loomi.telstra.net> NNTP-Posting-Host: p-270.newsdawg.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Gnus/5.090007 (Oort Gnus v0.07) XEmacs/21.4 (Honest Recruiter, i686-redhat-linux) Xref: newsmaster.cc.columbia.edu alt.unix.wizards:22944 comp.protocols.kermit.misc:13372 [fu-t set] <3ce31c4a.257745888@loomi.telstra.net> divulged: >Is there way to write a script that will run C-kermit and then will >answer prompt, (such SET MODEM, SET LINE, etc) that are needed to send >and retrieve files from another server. Also the type of file to be >receive/sent is a variable, so the script must read parameters, (type >of file to retrieve or file to be sent) passed by the user. c-kermit already has all the scripting you need. the project maintains a library of scripts, at , perhaps `deliver' is what you need. -- bringing you boring signatures for 17 years From caf@omen.omen.com Mon May 20 10:23:52 EDT 2002 Article: 13373 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!nycmny1-snh1.gtei.net!news.gtei.net!bloom-beacon.mit.edu!newsfeed.stanford.edu!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: Chuck Forsberg WA7KGX Newsgroups: comp.protocols.kermit.misc Subject: Re: ZModem Problems Date: Sun, 19 May 2002 18:23:40 -0000 Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: <336f652d.0111141329.b5d3ad@posting.google.com> <9suos6$puh$1@newsmaster.cc.columbia.edu> <336f652d.0111150732.18b42f4f@posting.google.com> <9t0p2t$cjk$1@newsmaster.cc.columbia.edu> <9t0t31$flk$1@newsmaster.cc.columbia.edu> <336f652d.0111160701.5032fb78@posting.google.com> User-Agent: slrn/0.9.7.4 (SCO_SV) X-Complaints-To: newsabuse@supernews.com Lines: 13 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13373 In article <336f652d.0111160701.5032fb78@posting.google.com>, Shifeux wrote: > No such luck. Niether of these settings helped the issue. The rz and sz programs are servers, not designed to be called from Kermit. Crz/csz (client rz/sz) are designed for client operation and should be used. -- Chuck Forsberg WA7KGX N2469R caf@omen.COM www.omen.com Widget need a Brain Drain? Check out Industrial ZMODEM(Tm) Omen Technology Inc "The High Reliability Software" 10255 NW Old Cornelius Pass Portland OR 97231 503-614-0430 From dold@01.usenet.us.com Mon May 20 10:24:06 EDT 2002 Article: 13374 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.cs.columbia.edu!peerfeed.news.psi.net!unlisys!news.snafu.de!newsfeed.media.kyoto-u.ac.jp!Q.T.Honey!enews.sgi.com!newspeer2.tds.net!feeder.nmix.net!news.mainstreet.net!wasp.rahul.net!samba.rahul.net!rahul.net!a2i!dold.a2i!dold From: dold@01.usenet.us.com Newsgroups: comp.dcom.telecom.tech,comp.protocols.kermit.misc Subject: Re: Procomm Aspect Scripts Date: 19 May 2002 18:56:35 GMT Organization: Wintercreek Data Lines: 20 Message-ID: References: NNTP-Posting-Host: yellow.rahul.net NNTP-Posting-User: dold User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (FreeBSD/3.5-STABLE (i386)) X-Comment: Encoded From: line allows replies that preserve original subject Xref: newsmaster.cc.columbia.edu comp.dcom.telecom.tech:70149 comp.protocols.kermit.misc:13374 K lLemoine wrote: : I'm new to this newsgroup. I'm looking for anyone that uses Procomm : Aspect in a Nortel DMS-10 office. If you are starting from scratch, you might want to look at Kermint instead. It runs on Unix, and other platofrms, as well as Windows, and has a powerful scripting language that is portable across the platforms. I've used it for Worldcom, SMS-800, Stromberg-Carlsen, and Dex-600 switches. A simple Unix kermit transfer agent (free): http://www.cc.columbia.edu/kermit/gkermit.html The full Unix kermit (free): http://www.cc.columbia.edu/kermit/ckermit.html Kermit 95, a commercial product for Windows: http://www.columbia.edu/kermit/k95.html -- --- Clarence A Dold - dold@email.rahul.net - Pope Valley (Napa County) CA. From dkcombs@panix.com Mon May 20 17:35:53 EDT 2002 Article: 13375 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!panix3.panix.com!not-for-mail From: dkcombs@panix.com (David Combs) Newsgroups: comp.protocols.kermit.misc Subject: kermit has a "resend"; I need a "reget". How? Date: 20 May 2002 17:31:56 -0400 Organization: PANIX -- Public Access Networks Corp. Lines: 15 Message-ID: NNTP-Posting-Host: panix3.panix.com X-Trace: reader1.panix.com 1021930146 13045 166.84.1.3 (20 May 2002 21:29:06 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Mon, 20 May 2002 21:29:06 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13375 Can't find my kermit-c book -- and I need to do a "reget". (eg, 3/4 of a large .gz file has been uploaded, and (as usual) panix.com communications or whatever crapped out on me. Any way to continue from where I am now? (That resend cmd has sure been a godsend!) Thanks David From fdc@columbia.edu Mon May 20 17:35:57 EDT 2002 Article: 13376 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: kermit has a "resend"; I need a "reget". How? Date: 20 May 2002 17:35:49 -0400 Organization: Columbia University Lines: 19 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1021930551 16519 128.59.39.139 (20 May 2002 21:35:51 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 20 May 2002 21:35:51 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13376 In article , David Combs wrote: : Can't find my kermit-c book -- and I need : to do a "reget". : : (eg, 3/4 of a large .gz file has been uploaded, : and (as usual) panix.com communications or : whatever crapped out on me. : : Any way to continue from where I am now? : : (That resend cmd has sure been a godsend!) : If you're uploading, as you said, "resend" is what you need. If you're downloading, you can use "reget". - Frank From dkcombs@panix.com Mon May 20 18:04:56 EDT 2002 Article: 13377 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!panix3.panix.com!not-for-mail From: dkcombs@panix.com (David Combs) Newsgroups: comp.protocols.kermit.misc Subject: REGET not as clever as RESEND? Date: 20 May 2002 17:47:09 -0400 Organization: PANIX -- Public Access Networks Corp. Lines: 28 Message-ID: NNTP-Posting-Host: panix3.panix.com X-Trace: reader1.panix.com 1021931059 14085 166.84.1.3 (20 May 2002 21:44:19 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Mon, 20 May 2002 21:44:19 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13377 RESEND does a pretty good job of almost instantly recovering up to the %done that it had been at when the prior transfer crapped out. REGET seems to me so far to do a much POORER job of doing that, like recovering up to only maybe 1/3 of how far the prior get had gotten, and then rereading a whole lot of stuff that had (presumably) already been read in the prior kermit-run. Am I the only one who has seen this? (NOTE: I was using -i) QUESTION: what is the SIZE of the blocks that kermit sends? (by default) --- Now, kermit registers 100%, but starts getting errors (two per second) trying to get the last several bytes, it seems. Thanks, David From fdc@columbia.edu Mon May 20 18:04:59 EDT 2002 Article: 13378 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: REGET not as clever as RESEND? Date: 20 May 2002 18:04:44 -0400 Organization: Columbia University Lines: 57 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1021932286 17489 128.59.39.139 (20 May 2002 22:04:46 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 20 May 2002 22:04:46 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13378 In article , David Combs wrote: : RESEND does a pretty good job of almost instantly : recovering up to the %done that it had been : at when the prior transfer crapped out. : : REGET seems to me so far to do a much POORER : job of doing that, like recovering up to only : maybe 1/3 of how far the prior get had gotten, : and then rereading a whole lot of stuff that : had (presumably) already been read in the prior : kermit-run. : : Am I the only one who has seen this? : It doesn't ring a bell. Are you saying it corrupts the file, or just takes longer to resynchronize before resuming the download? : (NOTE: I was using -i) : : QUESTION: what is the SIZE of the blocks : that kermit sends? (by default) : The sender sends blocks (packets) of whatever length the receiver tells it to. SHOW PROTOCOL at the receiver, see the receive packet length. : Now, kermit registers 100%, but starts getting : errors (two per second) trying to get the last : several bytes, it seems. : That doesn't have anything to do with RESEND or REGET. If it happens, it's because of transmission errors, which could happen with any kind of file transfer. Is this a straight dialup connection or a Telnet connection or what? If straight dialup, what kind of modem? What serial speed? Are you using RTS/CTS (hardware) flow control? If Telnet, the same questions about the underlying PPP driver. What version of Kermit do you have on your end? (Panix has the latest, 8.0.201, on its end, at least if we're talking about the same Panix). Just now I tried downloading a 3MB file from Panix, interrupting the download, REGET'ing the file, and repeating the process several times until it was fully downloaded. There were no delays, no errors, no failures. This was using Kermit 95 1.1.21 as a client. - Frank From sonicechoesWithNoSpam@hotmail.com Tue May 21 08:58:22 EDT 2002 Article: 13379 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.cs.columbia.edu!peerfeed.news.psi.net!unlisys!news.snafu.de!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-out.nuthinbutnews.com!propagator-sterling!news-in.nuthinbutnews.com!feed.cgocable.net!news.sprintnetops.net!sjc-peer.news.verio.net!news.verio.net!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: dgk Newsgroups: comp.protocols.kermit.misc Subject: Why does my script exit? Date: Tue, 21 May 2002 08:32:06 -0400 Organization: Posted via Supernews, http://www.supernews.com Message-ID: Reply-To: sonicechoesWithNoSpam@hotmail.com X-Newsreader: Forte Agent 1.91/32.564 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: newsabuse@supernews.com Lines: 90 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13379 This loop, from hostmdm.ksc, exits and returns to the command prompt after running my MM1 script: while 1 { answer if > \v(dialstatus) 0 if < \v(dialstatus) 22 stop 1 Fatal modem error if = \v(dialstatus) 0 take MM1.ksc echo Type Ctrl-C to exit... ; Give user a chance to cancel sleep 2 } This is the MM1 script. It isn't complete, but after executing the IFAIL code (hangup, exit), the above loop just exits and doesn't stick around for another call. Any help appreciated. Just as an aside, I was going to use the INTEXT macro to read a line but that seems designed for terminal emulation and this is just being used by another computer with its script so I don't think that I need to worry about backspaces and cursor positions. OUTPUT WELCOME TO THE MM1 SCRIPT\13\10\10 DEF \%C 0 :GETUSER CLEAR INPUT INC \%C 1 IF = \%C 6 GOTO IFAIL OUTPUT \13\10Username: INPUT 10 \13 DEF \%U DEF \%Z \V(INPUT) DEF \%I \v(incount) DECREMENT \%I 1 ;IF > \%I 1 DEF \%U \fsub(\%Z,1,\%I) IF > \%I 1 ASG %U \fsubSTR(\%Z,1,\%I) ASG \%B \%U IF EQUAL {\%U} MMUSER FORWARD INITPW IF EQUAL {\%U} JOHN FORWARD INITPW GOTO GETUSER :INITPW DEF \%C 0 :GETPW CLEAR INPUT INC \%C 1 IF = \%C 5 GOTO IFAIL OUTPUT \13\10Password: INPUT 10 \13 DEF \%p DEF \%Z \V(INPUT) DEF \%I \v(incount) DECREMENT \%I 1 IF > \%I 1 DEF \%p \fsubSTR(\%Z,1,\%I) IF EQUAL {\%p} PAUL FORWARD CHECK IF EQUAL {\%p} MMPW FORWARD CHECK GOTO GETUSER :IFAIL HANGUP EXIT :CHECK IF EQUAL \%B JOHN IF EQUAL \%P PAUL FORWARD CHGDIR IF EQUAL \%B MMUSER IF EQUAL \%P MMPW FORWARD CHGDIR GOTO GETPW :CHGDIR ; Change directory here :GETCMDP ; ASG \%T 0 :GETCMD ; What does the user want to do anyway? OUTPUT \13\10Command:\13\10 CLEAR INPUT INPUT 10 \13 DEF \%C DEF \%Z \V(INPUT) DEF \%I \v(incount) DECREMENT \%I 1 IF > \%I 1 ASG %C \fsubSTR(\%Z,1,\%I) IF EQUAL {\%C} SND OUTPUT \13\10OK, GOTO RECEIVE IF EQUAL {\%C} {RCV R} OUTPUT \13\10OK, GOTO SEND IF EQUAL {\%C} BYE HANGUP,QUIT INC \%T 1 IF = \%T 4 GOTO IFAIL GOTO GETCMD :RECEIVE RECEIVE GOTO GETCMDP :SEND OUTPUT WE ARE SENDING A FILE OUTPUT RTS ; IF THERE IS ANYTHING TO SEND OUTPUT NTS ; IF THERE IS NOTHING TO SEND ; After send we need to wait for another {RCV R} ? GOTO GETCMDP From fdc@columbia.edu Tue May 21 09:04:08 EDT 2002 Article: 13380 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Why does my script exit? Date: 21 May 2002 09:04:04 -0400 Organization: Columbia University Lines: 34 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1021986246 11947 128.59.39.139 (21 May 2002 13:04:06 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 21 May 2002 13:04:06 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13380 In article , dgk wrote: : This loop, from hostmdm.ksc, exits and returns to the command prompt : after running my MM1 script: : : while 1 { : answer : if > \v(dialstatus) 0 if < \v(dialstatus) 22 stop 1 Fatal modem error : if = \v(dialstatus) 0 take MM1.ksc : echo Type Ctrl-C to exit... ; Give user a chance to cancel : sleep 2 : } : : This is the MM1 script. It isn't complete, but after executing the : IFAIL code (hangup, exit), the above loop just exits and doesn't stick : around for another call. Any help appreciated. : It exits because it contains an EXIT command: :IFAIL HANGUP EXIT : Just as an aside, I was going to use the INTEXT macro to read a line : but that seems designed for terminal emulation and this is just being : used by another computer with its script so I don't think that I need : to worry about backspaces and cursor positions. : Right, in that case you would not need to handle editing. But if it works with the editing, you might as well leave it, because then you can always use or test it manually without having to worry about perfect typing. - Frank From fdc@columbia.edu Tue May 21 16:53:19 EDT 2002 Article: 13381 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: K95 Try-and-Buy Download Needs Testing Date: 21 May 2002 16:49:33 -0400 Organization: Columbia University Lines: 48 Message-ID: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1022014175 28998 128.59.39.139 (21 May 2002 20:49:35 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 21 May 2002 20:49:35 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13381 The Kermit Project has contracted with e-academy.com in Ottawa to provide automated Internet sale and delivery of Kermit 95, including a full-featured time-limited trial version. The new service is available starting today: http://www.e-academy.com/kermit At first, the Try-and-Buy downloads and fully automated payment and delivery are available only to people affiliated with universities. In the coming weeks, this service will be expanded to the full marketplace. While work is progressing on expanding the service, I'm announcing it only here so academically-connected Kermit newsgroup readers can try it out and make sure it's OK on all versions of Windows, all different PC hardware, and so on. Note that: . If you already have Kermit 95 installed on your PC, you won't be able to use or test this service without first uninstalling. . The K95 version that is delivered is the current one: 1.1.21. . Both the secure and regular versions are available. The secure version includes the new SSH v1/v2 client. . Pending US export license, the secure version is available only in the USA and Canada. . Electronically delivered copies have no physical component -- no packaging, no shipping, no CDs. C-Kermit is not included, nor is the C-Kermit manual. For this reason, electronically delivered copies from e-academy are heavily discounted. . The Try-and-Buy evaluation period is 21 days. . Single copies and multiple copies can be purchased. Multiple copies are discounted on a sliding scale. . Academic site licenses are also available, including the new "lifetime" license. If you encounter any problems with this service -- and especially with the Try-and-Buy version -- please report them by e-mail to: kermit-support@columbia.edu Thanks! - Frank From dkcombs@panix.com Wed May 22 10:56:41 EDT 2002 Article: 13382 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!not-for-mail From: dkcombs@panix.com (David Combs) Newsgroups: comp.protocols.kermit.misc Subject: Re: REGET not as clever as RESEND? Date: Wed, 22 May 2002 07:25:42 +0000 (UTC) Organization: Public Access Networks Corp. Lines: 96 Message-ID: References: NNTP-Posting-Host: panix2.panix.com X-Trace: reader1.panix.com 1022052342 14669 166.84.1.2 (22 May 2002 07:25:42 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Wed, 22 May 2002 07:25:42 +0000 (UTC) X-Newsreader: trn 4.0-test74 (May 26, 2000) Originator: dkcombs@panix.com (David Combs) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13382 In article , Frank da Cruz wrote: >In article , >David Combs wrote: >: RESEND does a pretty good job of almost instantly >: recovering up to the %done that it had been >: at when the prior transfer crapped out. >: >: REGET seems to me so far to do a much POORER >: job of doing that, like recovering up to only >: maybe 1/3 of how far the prior get had gotten, >: and then rereading a whole lot of stuff that >: had (presumably) already been read in the prior >: kermit-run. >: >: Am I the only one who has seen this? >: >It doesn't ring a bell. Are you saying it corrupts >the file, or just takes longer to resynchronize before >resuming the download? > >: (NOTE: I was using -i) >: >: QUESTION: what is the SIZE of the blocks >: that kermit sends? (by default) >: >The sender sends blocks (packets) of whatever length >the receiver tells it to. SHOW PROTOCOL at the >receiver, see the receive packet length. > >: Now, kermit registers 100%, but starts getting >: errors (two per second) trying to get the last >: several bytes, it seems. >: >That doesn't have anything to do with RESEND or REGET. >If it happens, it's because of transmission errors, >which could happen with any kind of file transfer. > >Is this a straight dialup connection or a Telnet >connection or what? > >If straight dialup, what kind of modem? What serial >speed? Are you using RTS/CTS (hardware) flow control? usr faxmodem > >If Telnet, the same questions about the underlying PPP >driver. > >What version of Kermit do you have on your end? (Panix >has the latest, 8.0.201, on its end, at least if we're >talking about the same Panix). > >Just now I tried downloading a 3MB file from Panix, >interrupting the download, REGET'ing the file, and >repeating the process several times until it was fully >downloaded. There were no delays, no errors, no >failures. This was using Kermit 95 1.1.21 as a >client. > >- Frank Thanks, Frank, for the long answer, and suggestions for finding out some more info. I'm the same guy that has *always* have had difficulty using kermit on panix (worked *fine* with netcom!). I just got a blade-100, and it also has the sun PCI co-processor (besides the sparc), so I can load up win2k on that, Solaris8 on the other. Once I get that all done, perhaps I could grab that *large* pizza-box, drive it in to NYC, and somehow get it up to your office? Then, once and for all, we'll find out what the problem is. (Maybe also get kermit95 working on the other cpu, too?) As long as you have a screen that can plug into a sun (and I have cables that connect one kind of connector to the smaller one that the Blade uses.) --- No emergency -- I just do downloads at 3am if I want them to work (and if they are eg > 5mb or so). David From fdc@columbia.edu Wed May 22 10:56:48 EDT 2002 Article: 13383 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: REGET not as clever as RESEND? Date: 22 May 2002 10:56:38 -0400 Organization: Columbia University Lines: 53 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1022079400 20271 128.59.39.139 (22 May 2002 14:56:40 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 22 May 2002 14:56:40 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13383 In article , David Combs wrote: [ problems with REGET ] : >If straight dialup, what kind of modem? What serial : >speed? Are you using RTS/CTS (hardware) flow control? : : usr faxmodem : Again: Are you using RTS/CTS (hardware) flow control? If not, then you should be. : I'm the same guy that has *always* have had difficulty : using kermit on panix (worked *fine* with netcom!). : : I just got a blade-100, and it also has the sun : PCI co-processor (besides the sparc), so : I can load up win2k on that, Solaris8 on the : other. : : Once I get that all done, perhaps I could grab that : *large* pizza-box, drive it in to NYC, and somehow : get it up to your office? : There should be no need for that. If you are having trouble downloading, the problem is almost certainly a lack of effective flow control. This can occur: (a) Between Panix and its modem. (b) Between the two modems. (c) Between your modem and your computer. Effective flow control (which these days means RTS/CTS) must be enabled at (a) and (c), and the connection between the two modems (b) must be error-corrected, or else the flow control at (a) and (b) won't have any effect. When you have a Panix connection active and Kermit is in CONNECT mode, do this: . Type nothing for at least one second . Type three consecutive + signs . Type nothing for at least one second You should see an OK response. Now type ATI4 (and then press the Return or Enter key) to see the modem's current settings and ATI6 to get statistics about the connection. This information should give you some hints about what is going wrong. Consult the USR manual and Appendix II of Using C-Kermit for details. To go back online type ATO. - Frank From not-a-real-address@usa.net Thu May 23 11:50:57 EDT 2002 Article: 13384 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!jfk3-feed1.news.algx.net!allegiance!news.maxwell.syr.edu!pln-e!spln!dex!extra.newsguy.com!newsp.newsguy.com!enews2 From: those who know me have no need of my name Newsgroups: comp.protocols.kermit.misc Subject: Re: REGET not as clever as RESEND? Date: 23 May 2002 01:35:42 GMT Organization: earthfriends Lines: 16 Message-ID: References: NNTP-Posting-Host: p-798.newsdawg.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Gnus/5.090007 (Oort Gnus v0.07) XEmacs/21.4 (Honest Recruiter, i686-redhat-linux) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13384 divulged: >In article , >David Combs wrote: >: I'm the same guy that has *always* have had difficulty >: using kermit on panix (worked *fine* with netcom!). >There should be no need for that. If you are having >trouble downloading, the problem is almost certainly >a lack of effective flow control. in addition to collecting ati4 and ati6 information ati11 should provide useful data about the link itself. -- bringing you boring signatures for 17 years From robatwork@REMOVEmail.com Thu May 23 12:14:17 EDT 2002 Article: 13385 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!newsfeed.stueberl.de!newspeer1-gui.server.ntli.net!ntli.net!diablo.theplanet.net!news.theplanet.net!not-for-mail From: Rob S Newsgroups: comp.protocols.kermit.misc Subject: Kerm 3.15 to Kerm95 Date: Thu, 23 May 2002 17:00:13 +0100 Lines: 21 Message-ID: <3ced1166.381318@news.ision.net.uk> NNTP-Posting-Host: webcachem01b.cache.pol.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news8.svr.pol.co.uk 1022169550 11387 195.92.194.11 (23 May 2002 15:59:10 GMT) NNTP-Posting-Date: 23 May 2002 15:59:10 GMT X-Complaints-To: abuse@theplanet.net X-Trace-PostClient-IP: 195.7.228.132 X-Newsreader: Forte Agent 1.8/32.548 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13385 Hi, Just a small annoyance has crept into our upgrade to K95. We use a script that puts a modem into server mode containing the command: OUTPUT ATS0=1\13 Using the MSDOS kermit, you can see ATS0=1 OK on screen during initialisation, which provides very useful feedback that the modem is working. Now using K95, the command still seems to work, but we don't actually see it on screen. Any way round this? regards -Rob robatwork at mail dot com From fdc@columbia.edu Thu May 23 12:14:22 EDT 2002 Article: 13386 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Kerm 3.15 to Kerm95 Date: 23 May 2002 12:14:12 -0400 Organization: Columbia University Lines: 27 Message-ID: References: <3ced1166.381318@news.ision.net.uk> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1022170455 10797 128.59.39.139 (23 May 2002 16:14:15 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 23 May 2002 16:14:15 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13386 In article <3ced1166.381318@news.ision.net.uk>, Rob S wrote: : Just a small annoyance has crept into our upgrade to K95. We use a script : that puts a modem into server mode containing the command: : : OUTPUT ATS0=1\13 : : Using the MSDOS kermit, you can see : ATS0=1 : OK : : on screen during initialisation, which provides very useful feedback that : the modem is working. : : Now using K95, the command still seems to work, but we don't actually see : it on screen. Any way round this? : OUTPUT ATSO=1\13 But note that one of many big differences between MS-DOS Kermit and K95 is that K95 handles modems itself, instead of requiring you to write scripts to do it. Read about all the modern conveniences (SET MODEM TYPE command, DIAL command, ANSWER command, dialing directory, and many many configuration options) in Chapters 4 and 5 of Using C-Kermit, which comes as a PDF file with Kermit 95 shrinkwraps. - Frank From dkcombs@panix.com Tue May 28 09:07:38 EDT 2002 Article: 13387 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!panix3.panix.com!not-for-mail From: dkcombs@panix.com (David Combs) Newsgroups: comp.protocols.kermit.misc Subject: set retry-limit 5 ; show retry-limit ==> NO_CAN_DO! Date: 28 May 2002 03:40:07 -0400 Organization: PANIX -- Public Access Networks Corp. Lines: 1 Message-ID: NNTP-Posting-Host: panix3.panix.com X-Trace: reader1.panix.com 1022571412 13823 166.84.1.3 (28 May 2002 07:36:52 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Tue, 28 May 2002 07:36:52 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13387 From fdc@columbia.edu Tue May 28 09:07:41 EDT 2002 Article: 13388 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: set retry-limit 5 ; show retry-limit ==> NO_CAN_DO! Date: 28 May 2002 09:07:35 -0400 Organization: Columbia University Lines: 13 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1022591256 18751 128.59.39.139 (28 May 2002 13:07:36 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 28 May 2002 13:07:36 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13388 In article , David Combs wrote: : : set retry-limit 5 ; show retry-limit ==> NO_CAN_DO! : SET RETRY-LIMIT 5 is a valid command. SHOW RETRY-LIMIT is not a valid command. There is not a SHOW for every SET. SHOW's are grouped by category; in this case SHOW PROTOCOL. - Frank From dkcombs@panix.com Tue May 28 16:58:01 EDT 2002 Article: 13389 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!not-for-mail From: dkcombs@panix.com (David Combs) Newsgroups: comp.protocols.kermit.misc Subject: Re: set retry-limit 5 ; show retry-limit ==> NO_CAN_DO! Date: Tue, 28 May 2002 20:49:03 +0000 (UTC) Organization: Public Access Networks Corp. Lines: 35 Message-ID: References: NNTP-Posting-Host: panix3.panix.com X-Trace: reader1.panix.com 1022618943 6673 166.84.1.3 (28 May 2002 20:49:03 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Tue, 28 May 2002 20:49:03 +0000 (UTC) X-Newsreader: trn 4.0-test74 (May 26, 2000) Originator: dkcombs@panix.com (David Combs) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13389 In article , Frank da Cruz wrote: >In article , >David Combs wrote: >: >: set retry-limit 5 ; show retry-limit ==> NO_CAN_DO! >: >SET RETRY-LIMIT 5 is a valid command. > >SHOW RETRY-LIMIT is not a valid command. > >There is not a SHOW for every SET. SHOW's are grouped by category; >in this case SHOW PROTOCOL. Thanks! SUGGESTION: As a casual user, how would I have known that? "show retry-limit" would *seem* to be the obvious thing to do -- just as obvious, I suppose, as (when using products that run under M$) expecting "F1" to give help. Perhaps as a way of (a) helping and also (b) teaching the user, *if* he types show retry-limit then reply back: please do "show protocol". Comments? David From fdc@columbia.edu Tue May 28 16:58:04 EDT 2002 Article: 13390 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: set retry-limit 5 ; show retry-limit ==> NO_CAN_DO! Date: 28 May 2002 16:57:57 -0400 Organization: Columbia University Lines: 23 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1022619479 5158 128.59.39.139 (28 May 2002 20:57:59 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 28 May 2002 20:57:59 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13390 In article , David Combs wrote: : : SUGGESTION: As a casual user, how would I have : known that? "show retry-limit" would *seem* : to be the obvious thing to do -- just : as obvious, I suppose, as (when using products : that run under M$) expecting "F1" to give : help. : : Perhaps as a way of (a) helping and also (b) : teaching the user, *if* he types : show retry-limit : then reply back: : please do "show protocol". : : Comments? : It's just code. C-Kermit has nearly a million lines of it already. Our to-do list stretches on until infinity. Anyway, there *is* a manual... - Frank From repost@nospam.innate2create.com Thu May 30 13:57:41 EDT 2002 Article: 13391 of comp.protocols.kermit.misc Newsgroups: comp.protocols.kermit.misc Subject: getting error: A specified file does not support the ioctl system call From: repost@nospam.innate2create.com Date: Wed, 29 May 2002 01:52:37 GMT X-Newsreader: News Rover 7.4.3 (http://www.NewsRover.com) NNTP-Posting-Host: 127.0.0.1 Message-ID: <3cf432a3_5@corp-goliath.newsgroups.com> Lines: 55 X-Authenticated-User: 1004109813 X-Comments: This message was posted through Newsfeeds.com - http://www.newsfeeds.com X-Comments2: IMPORTANT: newsfeeds.com does not condone, nor support, spam or any illegal or copyrighted postings. X-Report: Please report abuse to Organization: Posted Via Newsfeeds.com = SPEED+RETENTION+COMPLETION = http://www.newsfeeds.com Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-out.nuthinbutnews.com!propagator-sterling!news-in.nuthinbutnews.com!corp-goliath.newsgroups.com!not-for-mail Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13391 Been trying to convert a Kermit job to cron but get the following error output to stderr: tcgetattr: A specified file does not support the ioctl system call The kermit script is simple and works just fine manually, ie with a terminal session and downloading a file via xmodem from the remote host. However, in making it a cron job, it fails at the very moment the xmodem file transfer begins with a 0 byte file rcv'd. Dialing the modem works fine, getting carrier works fine and dialog to login with username and password works fine in cron mode, however, manual mode is successful in receiving the file via xmodem and cron is not. Running kermit version 8 under AIX version 4.3.3. I realize that running under cron is slightly different that running a terminal session, ie stdin and stdout, but not sure if I'm missing a switch or parameter when in comes to the xmodem file transfer. Any comments or suggestions would be appreciated... Snipet of the script is as follows: define DIALGE { if not defined MODEM end 1 {\%0: Modem type not defined.} set modem type \m(MODEM) if fail end 1 {\%0: \m(MODEM): Unsupported modem type.} if not defined PORT end 1 {\%0: Communication port not defined.} set port \m(PORT) if fail end 1 {\%0: SET PORT \m(PORT) failed.} if defined FLOW set flow \m(FLOW) if fail end 1 {\%0: SET FLOW \m(FLOW) failed.} If defined SPEED set speed \m(SPEED) if fail end 1 {\%0: SET SPEED \m(SPEED) failed.} set protocol xmodem {} {} {} {} {} {xmodem -r %s} set file type text dial 91336... input 5 Enter Client I.D. Number OUTPUT 1...\{13} input 5 Enter Password OUTPUT C...\{13} input 5 > OUTPUT 2\{13} input 5 Enter file name to download OUTPUT pcpy1.dat\{13} input 5 Set up to receive the file. #if failure end 1 LEAVE pause 2 receive pcpy1.dat OUTPUT 4\{13} end \v(status) } -----------== Posted via Newsfeed.Com - Uncensored Usenet News ==---------- http://www.newsfeed.com The #1 Newsgroup Service in the World! -----= Over 100,000 Newsgroups - Unlimited Fast Downloads - 19 Servers =----- From fdc@columbia.edu Thu May 30 13:57:45 EDT 2002 Article: 13392 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: getting error: A specified file does not support the ioctl system call Date: 30 May 2002 13:57:34 -0400 Organization: Columbia University Lines: 24 Message-ID: References: <3cf432a3_5@corp-goliath.newsgroups.com> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1022781455 18278 128.59.39.139 (30 May 2002 17:57:35 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 30 May 2002 17:57:35 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13392 In article <3cf432a3_5@corp-goliath.newsgroups.com>, wrote: : Been trying to convert a Kermit job to cron but get the following error : output to stderr: : : tcgetattr: A specified file does not support the ioctl system call : : The kermit script is simple and works just fine manually, ie with a terminal : session and downloading a file via xmodem from the remote host. However, in : making it a cron job, it fails at the very moment the xmodem file transfer : begins with a 0 byte file rcv'd. Dialing the modem works fine, getting : carrier works fine and dialog to login with username and password works fine : in cron mode, however, manual mode is successful in receiving the file via : xmodem and cron is not. : Probably the error message is coming from your Xmodem program. Some of these programs were not designed to be used as "clients" but only as "servers" (these words have slightly different meanings in the XYZMODEM world). The standard advice is to get an Xmodem program that was intended for client use, such as crzsz: http://www.omen.com/unixp.html - Frank From eric672@carolina.rr.comTRASH Thu May 30 18:53:50 EDT 2002 Article: 13393 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.cs.columbia.edu!peerfeed.news.psi.net!unlisys!news.snafu.de!isdnet!nntp.abs.net!dca6-feed2.news.algx.net!allegiance!newsfeed1.cidera.com!Cidera!cyclone.tampabay.rr.com!news-post.tampabay.rr.com!twister.southeast.rr.com.POSTED!53ab2750!not-for-mail From: "Eric Almond" Newsgroups: comp.protocols.kermit.misc Subject: Kermit SSL/TLS Error?? Lines: 91 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: Date: Thu, 30 May 2002 22:46:35 GMT NNTP-Posting-Host: 66.56.121.121 X-Complaints-To: abuse@rr.com X-Trace: twister.southeast.rr.com 1022798795 66.56.121.121 (Thu, 30 May 2002 18:46:35 EDT) NNTP-Posting-Date: Thu, 30 May 2002 18:46:35 EDT Organization: RoadRunner - Carolina Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13393 I'm using C-Kermit 8.0.201 on an AIX 4.3.3 box. I'm getting an error while trying to negotiate a TLS or SSL connection. I'm not sure if there is an issue with how I've got C-Kermit & OpenSSL configured or if its a problem with WS_FTP Server or something misconfigured between us. Could it be a problem with the SSL connection trying to traverse through firewalls?? As you can see below its sending the file but its not encrypting it as it should be. I've tested this same script with on another Secure FTP server and it works like a champ...but its not a WS_FTP Server and its on the internal network. I'm very new to Kermit so any help is appreciated. Any ideas?? Thanks in Advance! Eric Connected to ftp.xxxxx.com. 220-ftp.xxxxx.com X2 WS_FTP Server 3.00 (3623669156) 220-Welcome to the Xxxxx FTP server. 220-Authorized users only. 220-All access is logged and unathorized access will be reported to your ISP. 220 ftp.xxxxx.com X2 WS_FTP Server 3.00 (3623669156) ---> AUTH TLS 234 SSL enabled and waiting for negotiation TLS accepted as authentication type SSL DEBUG ACTIVE =>START SSL/TLS connect on COMMAND SSL_handshake:UNKWN before/connect initialization SSL_connect:UNKWN before/connect initialization SSL_connect:3WCH_A SSLv3 write client hello A SSL_connect:error in 3RSH_A SSLv3 read server hello A ftp: SSL/TLS connect COMMAND error: error:00000000:lib(0):func(0):reason(0) =>DONE SSL/TLS connect on COMMAND TLS authentication failed Connected to ftp.xxxxx.com. 220-ftp.xxxxx.com X2 WS_FTP Server 3.00 (3623669985) 220-Welcome to the Xxxxx FTP server. 220-Authorized users only. 220-All access is logged and unathorized access will be reported to your ISP. 220 ftp.xxxxx.com X2 WS_FTP Server 3.00 (3623669985) ---> AUTH SSL 234 SSL enabled and waiting for negotiation SSL accepted as authentication type SSL DEBUG ACTIVE =>START SSL/TLS connect on COMMAND SSL_handshake:UNKWN before/connect initialization SSL_connect:UNKWN before/connect initialization SSL_connect:3WCH_A SSLv3 write client hello A SSL_connect:error in 3RSH_A SSLv3 read server hello A ftp: SSL/TLS connect COMMAND error: error:00000000:lib(0):func(0):reason(0) =>DONE SSL/TLS connect on COMMAND SSL authentication failed Connected to ftp.xxxxx.com. 220-ftp.xxxxx.com X2 WS_FTP Server 3.00 (3623670719) 220-Welcome to the Xxxxx FTP server. 220-Authorized users only. 220-All access is logged and unathorized access will be reported to your ISP. 220 ftp.xxxxx.com X2 WS_FTP Server 3.00 (3623670719) ---> USER anonymous 331 Password required ---> PASS xxx@xxxxx.com 230 user logged in ---> REST 0 350 setting restart marker to 0 ---> SYST 215 UNIX Remote system type is UNIX. ---> TYPE I 200 Type set to IMAGE. Default transfer mode is BINARY ---> MODE S 200 transfer mode set to Stream ---> STRU F 200 structure set to FILE Logged in as anonymous (xxx@xxxxx.com) ---> CWD /upload 250 CWD successful PUT test.txt (text) (1216 bytes)---> TYPE A 200 Type set to ASCII. ---> PASV 227 Entering Passive Mode (66,77,65,190,5,126). ---> STOR test.txt 150 Opening ASCII data connection for test.txt 226 transfer complete : OK (0.424 sec, 2867 cps) ---> QUIT 221 Good-Bye From kidwell@hotrmail.com Fri May 31 09:22:59 EDT 2002 Article: 13394 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.cs.columbia.edu!peerfeed.news.psi.net!unlisys!news.snafu.de!eusc.inter.net!newsfeed.r-kom.de!newsfeed.stueberl.de!teaser.fr!freenix!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: John Kidwell Newsgroups: comp.protocols.kermit.misc Subject: Redhat 7.3 and the "Alt" key Date: Thu, 30 May 2002 19:34:37 -0600 Organization: Posted via Supernews, http://www.supernews.com Message-ID: User-Agent: Pan/0.11.3 (Unix) Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Comment-To: ALL X-Complaints-To: newsabuse@supernews.com Lines: 13 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13394 I recently upgraded my Redhat Linux box from 7.2 and 7.3. Prior to the upgrade I was able to define the alt keys, for instance "ALt-k" was \225. Now when a do a "SET KEY" and press "Alt-k", it looks like this: C-Kermit> show key Press key: Key code \27 => Character: \27 (self, no translation) C-Kermit> k I'm using C-Kermit 8.0.200 and I recompiled it for the test. I also downloaded 8.0.201, compiled it and had the same results. From jaltman@watsun.cc.columbia.edu Fri May 31 09:30:26 EDT 2002 Article: 13396 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!jaltman From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman) Newsgroups: comp.protocols.kermit.misc Subject: Re: Redhat 7.3 and the "Alt" key Date: 31 May 2002 02:38:33 GMT Organization: Columbia University Lines: 25 Message-ID: References: NNTP-Posting-Host: watsun.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1022812713 6571 128.59.39.2 (31 May 2002 02:38:33 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 31 May 2002 02:38:33 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13396 Definition of Alt keys on Unix is something I have never seen. They must have tried something in the kernel used in 7.2 and realized it broke too many applications and switched it back. In article , John Kidwell wrote: : I recently upgraded my Redhat Linux box from 7.2 and 7.3. Prior to : the upgrade I was able to define the alt keys, for instance "ALt-k" : was \225. : : Now when a do a "SET KEY" and press "Alt-k", it looks like this: : : C-Kermit> show key : Press key: : Key code \27 => Character: \27 (self, no translation) : C-Kermit> k : : I'm using C-Kermit 8.0.200 and I recompiled it for the test. I also : downloaded 8.0.201, compiled it and had the same results. Jeffrey Altman * Sr.Software Designer Kermit 95 1.1.21 available now!!! The Kermit Project @ Columbia University SSH plus Telnet, FTP and HTTP http://www.kermit-project.org/ secured with Kerberos, SRP, and kermit-support@columbia.edu OpenSSL. From fdc@columbia.edu Fri May 31 09:31:59 EDT 2002 Article: 13399 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Redhat 7.3 and the "Alt" key Date: 31 May 2002 09:30:05 -0400 Organization: Columbia University Lines: 39 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1022851806 12775 128.59.39.139 (31 May 2002 13:30:06 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 31 May 2002 13:30:06 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13399 In article , John Kidwell wrote: : I recently upgraded my Redhat Linux box from 7.2 and 7.3. Prior to : the upgrade I was able to define the alt keys, for instance "ALt-k" : was \225. : : Now when a do a "SET KEY" and press "Alt-k", it looks like this: : : C-Kermit> show key : Press key: : Key code \27 => Character: \27 (self, no translation) : C-Kermit> k : : I'm using C-Kermit 8.0.200 and I recompiled it for the test. I also : downloaded 8.0.201, compiled it and had the same results. : I have only a little bit to add to Jeff's answer. I believe his theory is right -- your previous Linux version was treating the Alt key like a "meta" key (turning on the 8th bit); in your new version, Alt-key sequences are generating escape sequences. This means that when you press, say, Alt-k, Kermit gets multiple characters. Of course it has no way of knowing whether you typed each character individually, or they was generated by the terminal driver. In any case, C-Kermit can map only single 7- or 8-bit characters. The late, lamented NeXT workstation had an Alternate key which let you type 8-bit characters (in this case, accented letters from the NeXT Multinational character set), and these could be mapped by Kermit. It was a handy arrangement, but an uncommon one. You can read more about such phenomena here: http://www.columbia.edu/kermit/ckfaq.html#term and here: http://www.columbia.edu/kermit/ckubwr.html#x3.3.3 - Frank From jaltman@watsun.cc.columbia.edu Fri May 31 09:32:03 EDT 2002 Article: 13395 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!jaltman From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman) Newsgroups: comp.protocols.kermit.misc Subject: Re: Kermit SSL/TLS Error?? Date: 31 May 2002 02:37:02 GMT Organization: Columbia University Lines: 31 Message-ID: References: NNTP-Posting-Host: watsun.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1022812622 6538 128.59.39.2 (31 May 2002 02:37:02 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 31 May 2002 02:37:02 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13395 In article , Eric Almond wrote: : I'm using C-Kermit 8.0.201 on an AIX 4.3.3 box. I'm getting an error while : trying to negotiate a TLS or SSL connection. I'm not sure if there is an : issue with how I've got C-Kermit & OpenSSL configured or if its a problem : with WS_FTP Server or something misconfigured between us. Could it be a : problem with the SSL connection trying to traverse through firewalls?? As : you can see below its sending the file but its not encrypting it as it : should be. I've tested this same script with on another Secure FTP server : and it works like a champ...but its not a WS_FTP Server and its on the : internal network. I'm very new to Kermit so any help is appreciated. Any : ideas?? : Thanks in Advance! : Eric : =>START SSL/TLS connect on COMMAND : SSL_handshake:UNKWN before/connect initialization : SSL_connect:UNKWN before/connect initialization : SSL_connect:3WCH_A SSLv3 write client hello A : SSL_connect:error in 3RSH_A SSLv3 read server hello A : ftp: SSL/TLS connect COMMAND error: error:00000000:lib(0):func(0):reason(0) : =>DONE SSL/TLS connect on COMMAND The TLS handshake is failing. What commands are you executing? What cipher suites does the WS_FTP server support? Jeffrey Altman * Sr.Software Designer Kermit 95 1.1.21 available now!!! The Kermit Project @ Columbia University SSH plus Telnet, FTP and HTTP http://www.kermit-project.org/ secured with Kerberos, SRP, and kermit-support@columbia.edu OpenSSL. From eric672@carolina.rr.comTRASH Fri May 31 09:32:12 EDT 2002 Article: 13397 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cyclone.tampabay.rr.com!news-post.tampabay.rr.com!twister.southeast.rr.com.POSTED!53ab2750!not-for-mail From: "Eric Almond" Newsgroups: comp.protocols.kermit.misc References: Subject: Re: Kermit SSL/TLS Error?? Lines: 94 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: Date: Fri, 31 May 2002 03:48:03 GMT NNTP-Posting-Host: 66.56.121.121 X-Complaints-To: abuse@rr.com X-Trace: twister.southeast.rr.com 1022816883 66.56.121.121 (Thu, 30 May 2002 23:48:03 EDT) NNTP-Posting-Date: Thu, 30 May 2002 23:48:03 EDT Organization: RoadRunner - Carolina Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13397 As far as the cipher suites go...I'm not sure and I couldn't find anything in the release notes or manual for WS_FTP denoting specific ciphers. I did find this document on their knowledgebase...don't know if it helps any. Question/Problem: What RFC is implemented for the SSL support in WS_FTP Pro and WS_FTP Server? Answer/Solution: The mechanism that can be used by FTP clients and servers to implement security and authentication using the TLS protocol is defined by [RFC-2246] and the extensions to the FTP protocol defined by [RFC-2228] as described by Ford-Hutchinson, Carpenter, Hudson, Murray & Wiegand in their internet draft dated January 26, 2000. I'll call IPSwitch's support line tomorrow to see if I can get specific info for you... Here is the script I'm running. As you can see its pretty basic stuff... #!/opt/kermit/bin/kermit + SET AUTH TLS VERBOSE ON SET AUTH SSL VERBOSE ON SET AUTH TLS DEBUG ON SET AUTH SSL DEBUG ON SET FTP VERBOSE ON SET FTP DEBUG ON SET AUTH SSL VERIFY-FILE /opt/kermit/certs/ca_certs.pem SET FTP AUTOLOGIN ON ; default setting SET FTP AUTHTYPE TLS SSL ;SET FTP AUTOAUTHENTICATION ON ; default setting ;SET FTP AUTOENCRYPTION ON ; default setting ;SET FTP COMMAND-PROTECTION-LEVEL PRIVATE ; default setting ;SET FTP DATA-PROTECTION-LEVEL PRIVATE ; default setting if not defined \%1 exit 1 Usage: \%0 filename if not exist \%1 exit 1 \%1: File not found if not readable \%1 exit 1 \%1: File not readable ftp open ftp.xxxxx.com 21 /user:Anonymous /password:xxx@xxxxx.com if fail exit 1 Connection failed if not \v(ftp_loggedin) exit 1 Login failed ftp cd /upload if fail exit 1 ftp cd upload: \v(ftp_message) ftp put \%1 if fail exit 1 ftp put \%1: \v(ftp_message) ftp bye exit "Jeffrey Altman" wrote in message news:ad6nke$6ca$1@newsmaster.cc.columbia.edu... > In article , > Eric Almond wrote: > : I'm using C-Kermit 8.0.201 on an AIX 4.3.3 box. I'm getting an error while > : trying to negotiate a TLS or SSL connection. I'm not sure if there is an > : issue with how I've got C-Kermit & OpenSSL configured or if its a problem > : with WS_FTP Server or something misconfigured between us. Could it be a > : problem with the SSL connection trying to traverse through firewalls?? As > : you can see below its sending the file but its not encrypting it as it > : should be. I've tested this same script with on another Secure FTP server > : and it works like a champ...but its not a WS_FTP Server and its on the > : internal network. I'm very new to Kermit so any help is appreciated. Any > : ideas?? > : Thanks in Advance! > : Eric > > : =>START SSL/TLS connect on COMMAND > : SSL_handshake:UNKWN before/connect initialization > : SSL_connect:UNKWN before/connect initialization > : SSL_connect:3WCH_A SSLv3 write client hello A > : SSL_connect:error in 3RSH_A SSLv3 read server hello A > : ftp: SSL/TLS connect COMMAND error: error:00000000:lib(0):func(0):reason(0) > : =>DONE SSL/TLS connect on COMMAND > > The TLS handshake is failing. What commands are you executing? > > What cipher suites does the WS_FTP server support? > > Jeffrey Altman * Sr.Software Designer Kermit 95 1.1.21 available now!!! > The Kermit Project @ Columbia University SSH plus Telnet, FTP and HTTP > http://www.kermit-project.org/ secured with Kerberos, SRP, and > kermit-support@columbia.edu OpenSSL. From jaltman@watsun.cc.columbia.edu Fri May 31 09:32:17 EDT 2002 Article: 13398 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!jaltman From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman) Newsgroups: comp.protocols.kermit.misc Subject: Re: Kermit SSL/TLS Error?? Date: 31 May 2002 10:27:45 GMT Organization: Columbia University Lines: 68 Message-ID: References: NNTP-Posting-Host: watsun.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1022840865 7333 128.59.39.2 (31 May 2002 10:27:45 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 31 May 2002 10:27:45 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13398 The problem is in the processing of their SSL/TLS Server Hello message so they probably have a bug in their implementation of RFC 2246. We are never getting to the point in the SSL/TLS handshake where certificates are used. We are simply waiting for them to indicate which cipher suites to negotiate. You are going to have to figure out this problem with their technical support in conjunction with the openssl-users@openssl.org mailing list. Subscribe at http://www.openssl.org. The problem you are facing is not in C-Kermit. It is apparently an incompatibility between the version of OpenSSL you are using and the SSL/TLS implementation used by WS_FTPD. In article , Eric Almond wrote: : As far as the cipher suites go...I'm not sure and I couldn't find anything : in the release notes or manual for WS_FTP denoting specific ciphers. I did : find this document on their knowledgebase...don't know if it helps any. : : Question/Problem: What RFC is implemented for the SSL support in WS_FTP Pro : and WS_FTP Server? : : Answer/Solution: The mechanism that can be used by FTP clients and servers : to implement security and authentication using the TLS protocol is defined : by [RFC-2246] and the extensions to the FTP protocol defined by [RFC-2228] : as described by Ford-Hutchinson, Carpenter, Hudson, Murray & Wiegand in : their internet draft dated January 26, 2000. : : I'll call IPSwitch's support line tomorrow to see if I can get specific info : for you... : : Here is the script I'm running. As you can see its pretty basic stuff... : : #!/opt/kermit/bin/kermit + : : SET AUTH TLS VERBOSE ON : SET AUTH SSL VERBOSE ON : SET AUTH TLS DEBUG ON : SET AUTH SSL DEBUG ON : SET FTP VERBOSE ON : SET FTP DEBUG ON : SET AUTH SSL VERIFY-FILE /opt/kermit/certs/ca_certs.pem : SET FTP AUTOLOGIN ON ; default setting : SET FTP AUTHTYPE TLS SSL : ;SET FTP AUTOAUTHENTICATION ON ; default setting : ;SET FTP AUTOENCRYPTION ON ; default setting : ;SET FTP COMMAND-PROTECTION-LEVEL PRIVATE ; default setting : ;SET FTP DATA-PROTECTION-LEVEL PRIVATE ; default setting : : if not defined \%1 exit 1 Usage: \%0 filename : if not exist \%1 exit 1 \%1: File not found : if not readable \%1 exit 1 \%1: File not readable : : ftp open ftp.xxxxx.com 21 /user:Anonymous /password:xxx@xxxxx.com : if fail exit 1 Connection failed : if not \v(ftp_loggedin) exit 1 Login failed : ftp cd /upload : if fail exit 1 ftp cd upload: \v(ftp_message) : ftp put \%1 : if fail exit 1 ftp put \%1: \v(ftp_message) : ftp bye : exit : Jeffrey Altman * Sr.Software Designer Kermit 95 1.1.21 available now!!! The Kermit Project @ Columbia University SSH plus Telnet, FTP and HTTP http://www.kermit-project.org/ secured with Kerberos, SRP, and kermit-support@columbia.edu OpenSSL. From kidwell@hotmail.com Sat Jun 1 11:10:48 EDT 2002 Article: 13400 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!nycmny1-snh1.gtei.net!news.gtei.net!bloom-beacon.mit.edu!newsfeed.stanford.edu!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: John Kidwell Newsgroups: comp.protocols.kermit.misc Subject: Re: Redhat 7.3 and the "Alt" key Date: Fri, 31 May 2002 19:08:30 -0600 Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: User-Agent: KNode/0.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: newsabuse@supernews.com Lines: 22 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13400 First of thanks Jeff and Frank for your answers. I appreciate your taking the time to help. After reading Jeff's reply I did a bi t more investigating. I've been using Linux since 1997 and pretty much used Kermit the whole time. I'd used Kermit under DOS since the late 80's. I apparentl y just happened to be using the correct combination under Linux. The AL T keys worked in X Windows using Xterm with the VT100 termcap. I tested this on some older Linux boxes today and found that even under older Linux versions the ALT keys did not work with the console or using Konsole, RXVT or KVT. But I'm certain the ALT keys worked with my setup since RH V4.2. I thought the change might be due to something in KDE V3, but th e same behavior is seen with Ice, Gnome, Blackbox and Fluxbox window managers. All I have to say is... Oh well. I'd amassed a good collection of shortcuts using the Alt key, looks like its back to the drawing board - nothing I can't get around with a few scripts. :-) Thanks again, John Kidwell From fdc@columbia.edu Sat Jun 1 11:10:52 EDT 2002 Article: 13402 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Redhat 7.3 and the "Alt" key Date: 1 Jun 2002 11:10:44 -0400 Organization: Columbia University Lines: 25 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1022944245 27745 128.59.39.139 (1 Jun 2002 15:10:45 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 1 Jun 2002 15:10:45 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13402 In article , John Kidwell wrote: : First of thanks Jeff and Frank for your answers. I appreciate your : taking the time to help. After reading Jeff's reply I did a bi : t more investigating. : : I've been using Linux since 1997 and pretty much used Kermit the : whole time. I'd used Kermit under DOS since the late 80's. I apparently : just happened to be using the correct combination under Linux. The ALT keys : worked in X Windows using Xterm with the VT100 termcap. I tested this on : some older Linux boxes today and found that even under older Linux versions : the ALT keys did not work with the console or using Konsole, RXVT or KVT. : But I'm certain the ALT keys worked with my setup since RH V4.2. : I realize it's confusing, but in Linux (and on Unix workstations in general), when you are using an xterm window, key mapping is not done in Kermit, but in X, in the .xmodmap file. The reasons are explained in the documents I referred you to yesterday. There is no way a standard i/o application like Kermit can see your actual keystrokes. I suppose there might be a middle ground, in which you tell X that the Alt key should be a "meta" key, in which case Alt-x, etc, produce single 8-bit bytes. In that case, Kermit can map them. - Frank From senthilb@comneti.com Mon Jun 3 09:42:58 EDT 2002 Article: 13403 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: senthilb@comneti.com (senthil) Newsgroups: comp.protocols.kermit.misc Subject: Help needed Date: 3 Jun 2002 03:21:51 -0700 Organization: http://groups.google.com/ Lines: 21 Message-ID: <26ca8a8f.0206030221.6d332e7f@posting.google.com> NNTP-Posting-Host: 203.199.198.210 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1023099712 30647 127.0.0.1 (3 Jun 2002 10:21:52 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 3 Jun 2002 10:21:52 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13403 Hi, I have one remote board whose serial port is connected(locally) to HP unix servex's MUX. Iam using C-Kermit8 to establish connection to the port. My board has a firmware which indicates the status of CTS , CD of the serial ports through LED's. Intially i had problems with CD not coming up, but after using SET CARRIER-WATCH OFF , the CD came up when i connected the ckermit and the CD went down when i disconnected. I require the same behaviour for CTS signal too. But it didnt happen. Intially cts was not up at all. Then setting FLOW to RTS/CTS , the CTS came up and it remains high even when the Ckermit session is closed. This is my problem. Iam using proper nullmodem cables, with cts/rts crossed and (dsr+cd) tied to dtr. My doubt is how can i make both CD and CTS behave such that, when i connect the C-Kermit the CD and CTS should come up and when i disconnect the C-Kermit, the cd and cts should go low. Since my testing at remote end is madatory, please give me your ideas on this issue. Regards Senthil From fdc@columbia.edu Mon Jun 3 09:43:01 EDT 2002 Article: 13404 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Help needed Date: 3 Jun 2002 09:42:55 -0400 Organization: Columbia University Lines: 35 Message-ID: References: <26ca8a8f.0206030221.6d332e7f@posting.google.com> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1023111776 5190 128.59.39.139 (3 Jun 2002 13:42:56 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 3 Jun 2002 13:42:56 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13404 In article <26ca8a8f.0206030221.6d332e7f@posting.google.com>, senthil wrote: : I have one remote board whose serial port is connected(locally) to : HP unix servex's MUX. Iam using C-Kermit8 to establish connection to : the port. : My board has a firmware which indicates the status of CTS , CD of : the serial ports through LED's. Intially i had problems with CD not : coming up, but after using SET CARRIER-WATCH OFF , the CD came up when : i connected the ckermit and the CD went down when i disconnected. I : require the same behaviour for CTS signal too. But it didnt happen. : Intially cts was not up at all. Then setting FLOW to RTS/CTS , the CTS : came up and it remains high even when the Ckermit session is closed. : This is my problem. Iam using proper nullmodem cables, with cts/rts : crossed and (dsr+cd) tied to dtr. : When Kermit exits or closes the device, the device driver should turn off CTS. If it doesn't, I'd say that was a bug in HP-UX. : My doubt is how can i make both CD and CTS behave such that, when : i connect the C-Kermit the CD and CTS should come up and when i : disconnect the C-Kermit, the cd and cts should go low. Since my : testing at remote end is madatory, please give me your ideas on this : issue. : Make sure no other process (such as a getty) claims the device as soon Kermit closes it. Detailed control of individual modem signals is not a standard function of Unix. Some specific Unix varieties might have their own unique APIs for this. If you want to look through the HP-UX APIs for an ioctl() that explicitly turns CTS off and add it to the C-Kermit source, that would be one approach. Another would be to file a bug report with HP -- Why doesn't CTS go off when you close the device? - Frank From david.neau@dial.oleane.com Mon Jun 3 12:19:05 EDT 2002 Article: 13405 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: david.neau@dial.oleane.com (david) Newsgroups: comp.protocols.kermit.misc Subject: kermit file Date: 3 Jun 2002 09:03:43 -0700 Organization: http://groups.google.com/ Lines: 42 Message-ID: NNTP-Posting-Host: 193.251.151.12 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1023120224 15074 127.0.0.1 (3 Jun 2002 16:03:44 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 3 Jun 2002 16:03:44 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13405 Hi, When I do on Kermit prompt set dial display on set local-echo on set input echo on set modem type usrobotics set port /dev/ttyS0 set speed 9600 set carrier-watch off set modem command predial-init ATF1&D1\{13} dial number It work well, connection and terminal echo are OK but when i put it un a kermit script or in file ( kermit -y file ) it return at the kermit prompt after connexion but nothing is display on my terminal ... my simple kermit script : #!/usr/bin/kermit + set dial display on set local-echo on set disconnect off set input echo on set modem type usrobotics set port /dev/ttyS0 set speed 9600 set carrier-watch off set modem command predial-init ATF1&D1\{13} dial #number Could somebody help me regards david From fdc@columbia.edu Mon Jun 3 12:19:07 EDT 2002 Article: 13406 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: kermit file Date: 3 Jun 2002 12:18:53 -0400 Organization: Columbia University Lines: 28 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1023121135 10822 128.59.39.139 (3 Jun 2002 16:18:55 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 3 Jun 2002 16:18:55 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13406 In article , david wrote: : When I do on Kermit prompt : : ... : dial number : : It work well, connection and terminal echo are OK : : but when i put it un a kermit script or in file ( kermit -y file ) : it return at the kermit prompt after connexion but nothing is display : on my terminal ... : ... : Could somebody help me : As explained in the manual, when the DIAL command is given at the prompt, it enters CONNECT mode automatically if the call was successful, whereas if it is given in a script, it remains in command mode. Your script should say: dial number if success connect Or: set dial connect on dial number - Frank From howag@bluewin.ch Mon Jun 3 15:33:39 EDT 2002 Article: 13407 of comp.protocols.kermit.misc Message-ID: <3CFBC39F.5D5F7A4E@bluewin.ch> Date: Mon, 03 Jun 2002 21:29:35 +0200 From: "Thomas F. Howald" Reply-To: howag@bluewin.ch Organization: Garage Otto Howald AG, Solothurn Switzerland X-Mailer: Mozilla 4.7 [en] (Win95; I) X-Accept-Language: en,de-CH MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Kermit 95 on Win ME connecting to a VAX Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 213.3.106.249 X-Trace: news.bluewin.ch 1023132523 213.3.106.249 (3 Jun 2002 21:28:43 +0200) Lines: 39 X-Complaints-To: abuse@bluewin.ch Path: newsmaster.cc.columbia.edu!panix!nycmny1-snh1.gtei.net!washdc3-snh1.gtei.net!nycmny1-snf1.gtei.net!news.gtei.net!newsfeed-zh.ip-plus.net!news.ip-plus.net!news.bluewin.ch!not-for-mail Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13407 Hi this might be a Windoze problem, but maybe not. When I connect via com1 to our MicroVax I get connected but after 3 or 4 's Kermit crashes as if it didn't have enough memory. I'm using Kermit 95 1.1.21 and it always worked perfect for me on previous operating systems such as Win95 and Win98. BTW another terminal emulation program also crashes the same way, but can only be recovered by pressing "ctrl" "alt" and "del". Kermit will recover with "alt-x". The ini file looks like this: ; FILE K95CUSTOM.INI -- Kermit 95 Customizations ; Created by SETUP.EXE set modem type none set port com1 set speed 19200 set flow xon ; (Fill in your other customization commands here...) set carrier off ; connect End ; of K95CUSTOM.INI Thank you for any help. Thomas F. Howald -- ------------------------------------------------------------------------ T.F. Howald |It's difficult to soar with eagles,|Ph:+41 32 686 61 86 Otto Howald AG | when you work with turkeys.| http://www.garagehowald.ch Engestrasse 13, 4500 Solothurn, Switzerland | howag@bluewin.ch From fdc@columbia.edu Mon Jun 3 15:33:42 EDT 2002 Article: 13408 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Kermit 95 on Win ME connecting to a VAX Date: 3 Jun 2002 15:33:34 -0400 Organization: Columbia University Lines: 16 Message-ID: References: <3CFBC39F.5D5F7A4E@bluewin.ch> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1023132815 18395 128.59.39.139 (3 Jun 2002 19:33:35 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 3 Jun 2002 19:33:35 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13408 In article <3CFBC39F.5D5F7A4E@bluewin.ch>, Thomas F. Howald wrote: : this might be a Windoze problem, but maybe not. When I connect via com1 : to our MicroVax I get connected but after 3 or 4 's Kermit crashes : as if it didn't have enough memory. : : I'm using Kermit 95 1.1.21 and it always worked perfect for me on : previous operating systems such as Win95 and Win98. BTW another terminal : emulation program also crashes the same way, but can only be recovered : by pressing "ctrl" "alt" and "del". Kermit will recover with "alt-x". : This would seem to contradict your assertion that Kermit crashed. It must still be there if it responds to Alt-x. What made you think it crashed? What did you see on your screen before you Alt-x'd? - Frank From fdc@columbia.edu Mon Jun 3 15:47:17 EDT 2002 Article: 13409 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: K95 2.0 to be announced shortly Date: 3 Jun 2002 15:40:38 -0400 Organization: Columbia University Lines: 33 Message-ID: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1023133239 18681 128.59.39.139 (3 Jun 2002 19:40:39 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 3 Jun 2002 19:40:39 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13409 With the conclusion of a successful closed Beta test, Kermit 95 2.0, the first GUI release for Windows, will be announced shortly: http://www.columbia.edu/kermit/k95gui.htm It will be available initially as an upgrade patch to existing versions, and will take a while to find its way into other delivery channels: new Bulk and Academic Site licenses, retail shrinkwraps, and overseas distributors. When we are in a position to ship the new release, the price will go up to reflect our increased costs. Exactly how each format is affected (shrinkwraps, bulk licenses, academic licenses, electronic deliveries >from e-academy.com, etc) remains to be determined, but prices will rise. Meanwhile, as soon as K95 2.0 is announced, you can patch up to it at no cost if you have a valid license. A valid license is any one of the following: . A shrinkwrapped copy . An electronically delivered copy purchased from e-academy.com . A bulk or academic site license in its first year . A bulk or academic site license whose maintenance payments are current . A lifetime academic site license Therefore, if you were planning to purchase the K95 but were waiting for the GUI version, you can save money by buying K95 now and then patching. Current (soon to change) K95 pricing and licensing information are here: http://www.columbia.edu/kermit/k95pricing.html - Frank From msapiro@ccsf.edu Tue Jun 4 10:06:24 EDT 2002 Article: 13410 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.cs.columbia.edu!peerfeed.news.psi.net!unlisys!news.snafu.de!isdnet!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-out.nuthinbutnews.com!propagator-sterling!news-in.nuthinbutnews.com!usc.edu!newshub.csu.net!sand.ccsf.cc.ca.us!fog.ccsf.cc.ca.us!msapiro From: Mark Sapiro Newsgroups: comp.protocols.kermit.misc Subject: Re: kermit file Date: Mon, 3 Jun 2002 15:43:56 -0700 Organization: City College of San Francisco Lines: 40 Message-ID: References: NNTP-Posting-Host: fog.ccsf.cc.ca.us Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Sender: msapiro@fog.ccsf.cc.ca.us In-Reply-To: Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13410 On 3 Jun 2002, Frank da Cruz wrote: > In article , > david wrote: > : When I do on Kermit prompt > : > : ... > : dial number > : > : It work well, connection and terminal echo are OK > : > : but when i put it un a kermit script or in file ( kermit -y file ) > : it return at the kermit prompt after connexion but nothing is display > : on my terminal ... > : ... > : Could somebody help me > : > As explained in the manual, when the DIAL command is given at the prompt, > it enters CONNECT mode automatically if the call was successful, whereas if > it is given in a script, it remains in command mode. Your script should say: > > dial number > if success connect > > Or: > > set dial connect on > dial number Frank's reply may be what you're looking for, but if what you want is to see the script commands as they are executed, add "set take echo on" at the beginning of the script. Note that this setting is primarily intended for debugging. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From david.neau@dial.oleane.com Tue Jun 4 10:08:55 EDT 2002 Article: 13411 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!news-hog.berkeley.edu!ucberkeley!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: david.neau@dial.oleane.com (david) Newsgroups: comp.protocols.kermit.misc Subject: Re: kermit file Date: 4 Jun 2002 00:29:21 -0700 Organization: http://groups.google.com/ Lines: 58 Message-ID: References: NNTP-Posting-Host: 193.251.151.12 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1023175761 27025 127.0.0.1 (4 Jun 2002 07:29:21 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 4 Jun 2002 07:29:21 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13411 Mark Sapiro wrote in message news:... > On 3 Jun 2002, Frank da Cruz wrote: > > > In article , > > david wrote: > > : When I do on Kermit prompt > > : > > : ... > > : dial number > > : > > : It work well, connection and terminal echo are OK > > : > > : but when i put it un a kermit script or in file ( kermit -y file ) > > : it return at the kermit prompt after connexion but nothing is display > > : on my terminal ... > > : ... > > : Could somebody help me > > : > > As explained in the manual, when the DIAL command is given at the prompt, > > it enters CONNECT mode automatically if the call was successful, whereas if > > it is given in a script, it remains in command mode. Your script should say: > > > > dial number > > if success connect > > > > Or: > > > > set dial connect on > > dial number > > Frank's reply may be what you're looking for, but if what you want is to > see the script commands as they are executed, add "set take echo on" at > the beginning of the script. Note that this setting is primarily intended > for debugging. Thanks all for yours answers, it works well with the command set dial connect on, but I have a other bug. I try to run this script by a perl program, I do somthething like that system ( " kermit_script & ") ---> in background because perl program need to continue .. connection work but just after it disconnect , why ? thanks This is what appens : CONNECT 9600/ARQ/V34/MNP Connecting to /dev/ttyS0, speed 9600. 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. (Session logged to /home/ippm/robot/LOG/kermit.log, text) ---------------------------------------------------- (Back at "my computer" ) Closing /dev/ttyS0...OK From david.neau@dial.oleane.com Tue Jun 4 10:09:02 EDT 2002 Article: 13412 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!news-peer.gip.net!news.gsl.net!gip.net!newsfeed.mathworks.com!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: david.neau@dial.oleane.com (david) Newsgroups: comp.protocols.kermit.misc Subject: passing argument to a script Date: 4 Jun 2002 02:23:49 -0700 Organization: http://groups.google.com/ Lines: 30 Message-ID: NNTP-Posting-Host: 193.251.151.12 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1023182629 31943 127.0.0.1 (4 Jun 2002 09:23:49 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 4 Jun 2002 09:23:49 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13412 hello all this is my simple sript : #!/usr/bin/kermit log session /home/ippm/robot/LOG/kermit.log log cx /home/ippm/robot/LOG/cx.log log packets /home/ippm/robot/LOG/packets.log log debugging /home/ippm/robot/LOG/debugging.log log transactions /home/ippm/robot/LOG/debugging.log set dial display on set local-echo on set input echo on set take echo on set modem type usrobotics set port /dev/ttyS0 set speed 9600 set carrier-watch off set modem command predial-init ATF1&D1\{13} set dial connect on dial "number" how i can pass number in argument to the script to do "exec kermit_script "number" "? thanks for your help regards david From fdc@columbia.edu Tue Jun 4 10:10:45 EDT 2002 Article: 13413 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: kermit file Date: 4 Jun 2002 10:08:52 -0400 Organization: Columbia University Lines: 21 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1023199733 20941 128.59.39.139 (4 Jun 2002 14:08:53 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 4 Jun 2002 14:08:53 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13413 In article , david wrote: : ... : Thanks all for yours answers, it works well with the command set dial : connect on, but I have a other bug. I try to run this script by a perl : program, I do somthething like that : : system ( " kermit_script & ") ---> in background because perl program : need to continue .. : : connection work but just after it disconnect , why ? : Because you can't have a terminal session in the background. A terminal session needs access to the keyboard and screen. It sounds like you need a manual. Perhaps if you state what you are trying to accomplish, we can suggest a method. - Frank From fdc@columbia.edu Tue Jun 4 10:10:47 EDT 2002 Article: 13414 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: passing argument to a script Date: 4 Jun 2002 10:10:38 -0400 Organization: Columbia University Lines: 14 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1023199839 20980 128.59.39.139 (4 Jun 2002 14:10:39 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 4 Jun 2002 14:10:39 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13414 In article , david wrote: : hello all : : this is my simple sript : : ... : how i can pass number in argument to the script to do "exec : kermit_script "number" "? : See: http://www.columbia.edu/kermit/ckscripts.html#tut - Frank From david.neau@dial.oleane.com Wed Jun 5 10:41:56 EDT 2002 Article: 13417 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!nycmny1-snh1.gtei.net!news.gtei.net!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: david.neau@dial.oleane.com (david) Newsgroups: comp.protocols.kermit.misc Subject: Re: kermit file Date: 5 Jun 2002 04:53:35 -0700 Organization: http://groups.google.com/ Lines: 28 Message-ID: References: NNTP-Posting-Host: 193.251.151.12 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1023278015 32549 127.0.0.1 (5 Jun 2002 11:53:35 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 5 Jun 2002 11:53:35 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13417 fdc@columbia.edu (Frank da Cruz) wrote in message news:... > In article , > david wrote: > : ... > : Thanks all for yours answers, it works well with the command set dial > : connect on, but I have a other bug. I try to run this script by a perl > : program, I do somthething like that > : > : system ( " kermit_script & ") ---> in background because perl program > : need to continue .. > : > : connection work but just after it disconnect , why ? > : > Because you can't have a terminal session in the background. A terminal > session needs access to the keyboard and screen. > > It sounds like you need a manual. > > Perhaps if you state what you are trying to accomplish, we can suggest a > method. I just want to use kermit to make several RTC connections to cisco routeur and past with a perl script some command and find the answer in the kermit.log file. So i just want that kermit script ( the connection ) run at the same time that my perl script.. thank for your help ... my boss is angry ... From Paul.Chadwick@Albion-Auto.co.uk Wed Jun 5 10:43:10 EDT 2002 Article: 13418 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!newsxfer.eecs.umich.edu!logbridge.uoregon.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: Paul.Chadwick@Albion-Auto.co.uk (Paul Chadwick) Newsgroups: comp.protocols.kermit.misc Subject: File name character substitution Date: 5 Jun 2002 05:55:40 -0700 Organization: http://groups.google.com/ Lines: 14 Message-ID: <4cf9413d.0206050455.1c062e36@posting.google.com> NNTP-Posting-Host: 62.253.240.36 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1023281740 3150 127.0.0.1 (5 Jun 2002 12:55:40 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 5 Jun 2002 12:55:40 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13418 Hi, I'm new to Kermit, we have purchased and setup Kermit 95 on a Windows 95 PC, it is running in server mode and working ok with the client. The client is embedded in a production machine on our shop floor I don't know what the OS is on this client but it allows "/" in the file names. The implementation requires the client to send files to the server but the server creates directories when it sees a "/", what I would like to happen is for the "/" to be substituted for a "-" in the file name on the server. Is this possible? The only information on the screen of the client is: 85000 Kermit 0.004 30-Jan-89 Thanks, Paul. From fdc@columbia.edu Wed Jun 5 10:43:14 EDT 2002 Article: 13419 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: File name character substitution Date: 5 Jun 2002 10:42:53 -0400 Organization: Columbia University Lines: 42 Message-ID: References: <4cf9413d.0206050455.1c062e36@posting.google.com> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1023288175 26631 128.59.39.139 (5 Jun 2002 14:42:55 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 5 Jun 2002 14:42:55 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13419 In article <4cf9413d.0206050455.1c062e36@posting.google.com>, Paul Chadwick wrote: > I'm new to Kermit, we have purchased and setup Kermit 95 on a Windows > 95 PC, it is running in server mode and working ok with the client. > The client is embedded in a production machine on our shop floor I > don't know what the OS is on this client but it allows "/" in the file > names. The implementation requires the client to send files to the > server but the server creates directories when it sees a "/", what I > would like to happen is for the "/" to be substituted for a "-" in the > file name on the server. Is this possible? > Yes. And I doubt you'd find another package on the planet that could handle a situation like this :-) > The only information on the screen of the client is: > 85000 Kermit 0.004 30-Jan-89 > Another "mystery Kermit"... To solve the filename problem, see: http://www.columbia.edu/kermit/ckermit70.html#x4.1.1 The fly in the ointment is that you have K95 acting as server, so there is no opportunity to supply the "as-name". For this you would have to restructure the K95 to do something like this: cd blah while true { receive /as-name:\freplace(\v(filename),/,-) } You might get some error messages if the machine sends a FINISH or BYE command, but you can either ignore them (and stay in the loop) or exit >From the loop if that is what happens with the server: cd blah while success { receive /as-name:\freplace(\v(filename),/,-) } - Frank From fdc@columbia.edu Wed Jun 5 10:50:23 EDT 2002 Article: 13420 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: kermit file Date: 5 Jun 2002 10:50:19 -0400 Organization: Columbia University Lines: 33 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1023288620 26927 128.59.39.139 (5 Jun 2002 14:50:20 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 5 Jun 2002 14:50:20 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13420 In article , david wrote: : ... : > Perhaps if you state what you are trying to accomplish, we can suggest a : > method. : : I just want to use kermit to make several RTC connections to cisco : routeur and past with a perl script some command and find the answer : in the kermit.log file. : : So i just want that kermit script ( the connection ) run at the same : time that my perl script.. : Perhaps you are approaching the problem in the wrong way. You don't have to script Kermit with Perl. You can script Kermit with Kermit. That's what it is designed for; it is not designed to be scripted by an external scripting agent like Perl, Python, etc. You can find dozens of examples of how to do this in the C-Kermit script library: http://www.columbia.edu/kermit/ckscripts.html I still don't know exactly what you want to do, but I think it is: make a connection to a router, give some commands, and log the results to a file. This is very simple. You can use Kermit to make any kind of connection to the router: direct serial, dialed, Telnet, secure Telnet, SSH, etc. Then, once connected, you tell Kermit to "log session xxx" where xxx is the name of the logfile you want to create. Then you use INPUT, OUTPUT, and IF SUCCESS commands to carry on the dialog. See the examples in the script library. Or read the manual. Have your angry boss buy you a copy. - Frank From ray.ascani@rossswiss.com Wed Jun 5 20:30:27 EDT 2002 Article: 13421 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: ray.ascani@rossswiss.com (Ray) Newsgroups: comp.protocols.kermit.misc Subject: Generic Modems Date: 5 Jun 2002 17:14:54 -0700 Organization: http://groups.google.com/ Lines: 19 Message-ID: NNTP-Posting-Host: 63.202.119.194 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1023322494 5463 127.0.0.1 (6 Jun 2002 00:14:54 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 6 Jun 2002 00:14:54 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13421 I am using a vb6 program to generate script for Kermit to dial. Some of the modems Kermit will only recognize as generic. eg. Compa1 presario 56K Kermit considers it generic. When I set the modem type I can dial but kermit disconnects immediately. I have not had any trouble connecting with the machines that I am testing the programs on. But, a couple of compaqs and a usrobotics Kermit does not recognize the modem (Win 98 and 2000). Is there something else I need to include in the script to properly connect when I need to specify the modem type? Also what is "Kerberos 5 error: Credentials cache I/O operation failed XXX while getting default cache". I am getting this on only one machine. Thanks in advance. Ray From fdc@columbia.edu Wed Jun 5 20:30:30 EDT 2002 Article: 13422 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Generic Modems Date: 5 Jun 2002 20:30:24 -0400 Organization: Columbia University Lines: 32 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1023323425 17310 128.59.39.139 (6 Jun 2002 00:30:25 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 6 Jun 2002 00:30:25 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13422 In article , Ray wrote: : I am using a vb6 program to generate script for Kermit to dial. : Kermit 95, right? : Some : of the modems Kermit will only recognize as generic. eg. Compa1 : presario 56K Kermit considers it generic. When I set the modem type I : can dial but kermit disconnects immediately. I have not had any : trouble connecting with the machines that I am testing the programs : on. But, a couple of compaqs and a usrobotics Kermit does not : recognize the modem (Win 98 and 2000). : Instead of setting a specific modem type or the "generic" modem type plus a specific COM port, just use: SET PORT TAPI which uses the Windows API to the modem. If you have any trouble after that, follow up to: kermit-support@columbia.edu : Also what is "Kerberos 5 error: Credentials cache I/O operation failed : XXX while getting default cache". I am getting this on only one : machine. : When dialing a modem??? You must have an inappropriate command in your script. - Frank From jaltman@watsun.cc.columbia.edu Thu Jun 6 08:55:04 EDT 2002 Article: 13423 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!jaltman From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman) Newsgroups: comp.protocols.kermit.misc Subject: Re: Generic Modems Date: 6 Jun 2002 01:59:02 GMT Organization: Columbia University Lines: 25 Message-ID: References: NNTP-Posting-Host: watsun.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1023328742 20376 128.59.39.2 (6 Jun 2002 01:59:02 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 6 Jun 2002 01:59:02 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13423 In article , Frank da Cruz wrote: : In article , : Ray wrote: : : Also what is "Kerberos 5 error: Credentials cache I/O operation failed : : XXX while getting default cache". I am getting this on only one : : machine. : : This error is occuring during K95 startup as Kermit loads the Kerberos library and it tries to acquire the default cache using the Credential Cache API. The Credential Cache is accessed using named pipes. This usually is caused because you do not have appropriate permissions to access an already running krbcc32s.exe that was started in a previous session. A reboot of the computer should clear away this error. Of course, if you are not using Kerberos for your connections you should not have installed it. Jeffrey Altman * Sr.Software Designer Kermit 95 1.1.21 available now!!! The Kermit Project @ Columbia University SSH plus Telnet, FTP and HTTP http://www.kermit-project.org/ secured with Kerberos, SRP, and kermit-support@columbia.edu OpenSSL. From jaltman@watsun.cc.columbia.edu Thu Jun 6 11:33:29 EDT 2002 Article: 13426 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!jaltman From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman) Newsgroups: comp.protocols.kermit.misc Subject: Re: Kermit95 on WinMe crashes Date: 6 Jun 2002 15:15:15 GMT Organization: Columbia University Lines: 27 Message-ID: References: <3CFF7582.7192C72A@bluewin.ch> NNTP-Posting-Host: watsun.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1023376515 13066 128.59.39.2 (6 Jun 2002 15:15:15 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 6 Jun 2002 15:15:15 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13426 I believe that most people reading this list would define a "program crash" as a fatal error that causes the program to terminate unexpectedly. That is not what you are describing. What you do describe is a communication problem between your Windows ME system and your MicroVAX. Since this problem occurs with many different communication programs on the same computer, you will need to determine what is wrong with your serial port, your communication settings, or your serial cable. In article <3CFF7582.7192C72A@bluewin.ch>, Thomas F. Howald wrote: : : Hi : : this might be a Windoze problem, but maybe not. When I connect via com1 : to our MicroVax I get connected but after 3 or 4 's Kermit crashes : as if it didn't have enough memory. : : I'm using Kermit 95 1.1.21 and it always worked perfect for me on : previous operating systems such as Win95 and Win98. BTW another terminal : emulation program also crashes the same way, but can only be recovered : by pressing "ctrl" "alt" and "del". Kermit will recover with "alt-x". Jeffrey Altman * Sr.Software Designer Kermit 95 1.1.21 available now!!! The Kermit Project @ Columbia University SSH plus Telnet, FTP and HTTP http://www.kermit-project.org/ secured with Kerberos, SRP, and kermit-support@columbia.edu OpenSSL. From fdc@columbia.edu Thu Jun 6 13:53:22 EDT 2002 Article: 13427 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Kermit 95 2.0 Released Date: 6 Jun 2002 13:17:24 -0400 Organization: Columbia University Lines: 7 Message-ID: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1023383845 17324 128.59.39.139 (6 Jun 2002 17:17:25 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 6 Jun 2002 17:17:25 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13427 The full announcement appears on comp.protocols.kermit.announce. Here's the Web version: http://www.columbia.edu/kermit/k95_20_ann.html - Frank From nrjlamp@nrj.ericsson.se Fri Jun 7 09:50:38 EDT 2002 Article: 13428 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!newsfeed.vmunix.org!newsfeed.online.be!news.algonet.se!newsfeed1.telenordia.se!algonet!uab.ericsson.se!erinews.ericsson.se!newshost.eed.ericsson.se!sqc097!nrjlamp From: Werner Lamping Newsgroups: comp.protocols.kermit.misc Subject: monitor seriell port Date: Fri, 7 Jun 2002 10:42:46 +0900 Organization: Ericsson Eurolab Germany Lines: 25 Message-ID: NNTP-Posting-Host: sqc097.nrj.ericsson.se Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: aken.eed.ericsson.se 1023414170 17029 150.236.130.97 (7 Jun 2002 01:42:50 GMT) X-Complaints-To: newsmaster@eed.ericsson.se NNTP-Posting-Date: 7 Jun 2002 01:42:50 GMT X-X-Sender: Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13428 Hello , I'm planning to monitor a seriell port which pipes out a lot lot of logging data and looking for suitable tool . I only have very little experience with kermit . But I'm wondering if it could do the job . It must be a kind of script which - open a a seriell port - open a file - read data writes it into the file - after a certain time closes the file - (preferably can zip the data before stored) - open new file - : - : - close manually last file - stop Can someone tell me if kermit can do it ???? thanks a lot /werner From fdc@columbia.edu Fri Jun 7 09:56:41 EDT 2002 Article: 13429 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: monitor seriell port Date: 7 Jun 2002 09:56:26 -0400 Organization: Columbia University Lines: 48 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1023458188 13314 128.59.39.139 (7 Jun 2002 13:56:28 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 7 Jun 2002 13:56:28 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13429 In article , Werner Lamping wrote: : I'm planning to monitor a seriell port which pipes out a lot lot : of logging data and looking for suitable tool . : I only have very little experience with kermit . But I'm wondering if it : could do the job . It must be a kind of script which : : - open a a seriell port : Yes. : - open a file : Yes. : - read data writes it into the file : Yes. : - after a certain time closes the file : Yes. : - (preferably can zip the data before stored) : It can run an inferior process to do this. : Can someone tell me if kermit can do it ???? : Yes. Here's an outline: log session filename ; Open log file if fail exit 1 Can't open log set carrier-watch off ; only if necessary set line /dev/ttyS0 ; or other device name if fail exit 1 Can't open device set speed 38400 ; or other speed set flow rts/cts ; or other flow-control method input 11:59:59 STRING_THAT_WILL_NEVER_COME close session !zip -l filename.zip filename exit See the Kermit script library for more examples: http://www.columbia.edu/kermit/ckscripts.html - Frank From ebuttice@rbbx.com Sat Jun 8 10:38:04 EDT 2002 Article: 13430 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.telusplanet.net!news0.telusplanet.net.POSTED!53ab2750!not-for-mail From: "Emanuele Buttice" Newsgroups: comp.protocols.kermit.misc Subject: site Not a command ? Lines: 31 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: <88bM8.3489$Aa4.99474@news0.telusplanet.net> Date: Fri, 07 Jun 2002 23:15:16 GMT NNTP-Posting-Host: 142.173.104.20 X-Trace: news0.telusplanet.net 1023491716 142.173.104.20 (Fri, 07 Jun 2002 17:15:16 MDT) NNTP-Posting-Date: Fri, 07 Jun 2002 17:15:16 MDT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13430 Hello, Kermit does not seem to understand the "site" command and returns the following error : C-Kermit>site ? Not a command or macro name: "site" I also get the following error when connecting to the ftp server : 331 Enter Password ---> PASS XXX 230 Ready. ---> REST 0 502 Command not supported. ---> SYST 502 Command not supported. When performing a get : ----> MDTM "filename blah bla" 500 Command not recognized. I am using ckermit (8.0 latest) as an ftp client using SSL on Redhat 7.2 From jaltman@watsun.cc.columbia.edu Sat Jun 8 10:38:12 EDT 2002 Article: 13431 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!jaltman From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman) Newsgroups: comp.protocols.kermit.misc Subject: Re: site Not a command ? Date: 7 Jun 2002 23:27:27 GMT Organization: Columbia University Lines: 44 Message-ID: References: <88bM8.3489$Aa4.99474@news0.telusplanet.net> NNTP-Posting-Host: watsun.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1023492447 2831 128.59.39.2 (7 Jun 2002 23:27:27 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 7 Jun 2002 23:27:27 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13431 Use FTP SITE ..... In article <88bM8.3489$Aa4.99474@news0.telusplanet.net>, Emanuele Buttice wrote: : Hello, : : Kermit does not seem to understand the "site" command : and returns the following error : : : C-Kermit>site : ? Not a command or macro name: "site" : : I also get the following error when connecting to the ftp server : : : 331 Enter Password : ---> PASS XXX : 230 Ready. : ---> REST 0 : 502 Command not supported. : ---> SYST : 502 Command not supported. : : When performing a get : : ----> MDTM "filename blah bla" : 500 Command not recognized. : : I am using ckermit (8.0 latest) as an ftp client using SSL on Redhat 7.2 : : : : : : : : Jeffrey Altman * Sr.Software Designer Kermit 95 2.0 GUI available now!!! The Kermit Project @ Columbia University SSH, Secure Telnet, Secure FTP, HTTP http://www.kermit-project.org/ Secured with MIT Kerberos, SRP, and kermit-support@columbia.edu OpenSSL. From fdc@columbia.edu Sat Jun 8 10:40:13 EDT 2002 Article: 13432 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: site Not a command ? Date: 8 Jun 2002 10:40:06 -0400 Organization: Columbia University Lines: 41 Message-ID: References: <88bM8.3489$Aa4.99474@news0.telusplanet.net> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1023547207 28043 128.59.39.139 (8 Jun 2002 14:40:07 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 8 Jun 2002 14:40:07 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13432 In article , Jeffrey Altman wrote: > In article <88bM8.3489$Aa4.99474@news0.telusplanet.net>, > Emanuele Buttice wrote: > : > : Kermit does not seem to understand the "site" command > : and returns the following error : > : > : C-Kermit>site > : ? Not a command or macro name: "site" > As Jeff said, use "ftp site". > : I also get the following error when connecting to the ftp server : > : > : 331 Enter Password > : ---> PASS XXX > : 230 Ready. > : ---> REST 0 > : 502 Command not supported. > : ---> SYST > : 502 Command not supported. > : > : I am using ckermit (8.0 latest) as an ftp client using SSL on Redhat 7.2 > The server does not understand the REST and SYST commands. To avoid this, use: ftp [ open ] /noinit > : When performing a get : > : ----> MDTM "filename blah bla" > : 500 Command not recognized. > I think you should only see this if you have SET FTP VERBOSE ON. In any case, you can avoid the error message with SET FTP DATES OFF. Never let it be said that Kermit doesn't have a setting for everything :-) What is the FTP server? Evidently a fairly primitive one. - Frank From howag@bluewin.ch Sun Jun 9 11:51:16 EDT 2002 Article: 13433 of comp.protocols.kermit.misc Message-ID: <3D031E44.4257A219@bluewin.ch> Date: Sun, 09 Jun 2002 11:22:12 +0200 From: "Thomas F. Howald" Reply-To: howag@bluewin.ch Organization: Garage Otto Howald AG, Solothurn Switzerland X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en,de-CH MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Re: Kermit95 on WinMe crashes] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 62.202.117.245 X-Trace: news.bluewin.ch 1023614577 62.202.117.245 (9 Jun 2002 11:22:57 +0200) Lines: 38 X-Complaints-To: abuse@bluewin.ch Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!nycmny1-snh1.gtei.net!nycmny1-snf1.gtei.net!news.gtei.net!newsfeed-zh.ip-plus.net!news.ip-plus.net!news.bluewin.ch!not-for-mail Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13433 Jeffrey Altman schrieb in im Newsbeitrag: ... > I believe that most people reading this list would define a "program > crash" as a fatal error that causes the program to terminate > unexpectedly. That is not what you are describing. > > What you do describe is a communication problem between your Windows ME > system and your MicroVAX. Since this problem occurs with many different > communication programs on the same computer, you will need to determine > what is wrong with your serial port, your communication settings, or your > serial cable. > > In article <3CFF7582.7192C72A@bluewin.ch>, > Thomas F. Howald wrote: > : > : Hi > : > : this might be a Windoze problem, but maybe not. When I connect via com1 > : to our MicroVax I get connected but after 3 or 4 's Kermit crashes > : as if it didn't have enough memory. > : > : I'm using Kermit 95 1.1.21 and it always worked perfect for me on > : previous operating systems such as Win95 and Win98. BTW another terminal > : emulation program also crashes the same way, but can only be recovered > : by pressing "ctrl" "alt" and "del". Kermit will recover with "alt-x". > Jeffrey Altman * Sr.Software Designer Kermit 95 1.1.21 available now!!! > The Kermit Project @ Columbia University SSH plus Telnet, FTP and HTTP > http://www.kermit-project.org/ secured with Kerberos, SRP, and > kermit-support@columbia.edu OpenSSL. Yes it seems to be just what you mention. It's only the screen that freezes. I can still escape back to the Kermit prompt. I'm working on flow control and handshakes now. Thomas From fdc@columbia.edu Sun Jun 9 15:11:45 EDT 2002 Article: 13434 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.unix.solaris,comp.protocols.kermit.misc Subject: C-Kermit 8.0 for Solaris 9? Date: 9 Jun 2002 15:03:47 -0400 Organization: Columbia University Lines: 31 Message-ID: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1023649428 18424 128.59.39.139 (9 Jun 2002 19:03:48 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 9 Jun 2002 19:03:48 GMT Xref: newsmaster.cc.columbia.edu comp.unix.solaris:395047 comp.protocols.kermit.misc:13434 Has anyone built C-Kermit 8.0: http://www.columbia.edu/kermit/ckermit.html for Solaris 9 yet? I don't have access to Solaris 9 yet, so I have not been able to try it. I added "solaris9" (cc) and "solaris9g" (gcc) targets to the makefile and supporting code for the designer banner. The new targets work OK on Solaris 8 (and 2.5.1). The updated tarball is here: ftp://kermit.columbia.edu/kermit/archives/ckx201.tar.gz If you can build it on Solaris 9 and upload the resulting binar(y,ies) to: ftp://kermit.columbia.edu/kermit/incoming as cku201.solaris9-sparc (cc) or cku201.solaris9g-sparc (gcc), I can add it to the C-Kermit binaries archive: http://www.columbia.edu/kermit/ck80binaries.html In the More Interesting department, I did not try adding a 64-bit target, nor any secure targets (Kerberos, SSL, etc). The latter are particularly interesting since Solaris 9 comes with bundled libraries (but reportedly not header files?). Thanks. - Frank From andrew@cucumber.demon.co.uk Sun Jun 9 18:02:09 EDT 2002 Article: 13435 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!nycmny1-snh1.gtei.net!news.gtei.net!newsfeed.mathworks.com!btnet-peer0!btnet-feed5!btnet!carbon.eu.sun.com!new-usenet.uk.sun.com!not-for-mail From: andrew@cucumber.demon.co.uk (Andrew Gabriel) Newsgroups: comp.unix.solaris,comp.protocols.kermit.misc Subject: Re: C-Kermit 8.0 for Solaris 9? Date: 9 Jun 2002 20:37:08 GMT Organization: Sun Microsystems Lines: 39 Message-ID: References: NNTP-Posting-Host: vpn-129-156-96-16.emea.sun.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: new-usenet.uk.sun.com 1023655028 1622 129.156.96.16 (9 Jun 2002 20:37:08 GMT) X-Complaints-To: usenet@new-usenet.uk.sun.com NNTP-Posting-Date: 9 Jun 2002 20:37:08 GMT X-Newsreader: knews 1.0b.1 Xref: newsmaster.cc.columbia.edu comp.unix.solaris:395054 comp.protocols.kermit.misc:13435 In article , fdc@columbia.edu (Frank da Cruz) writes: > > Has anyone built C-Kermit 8.0: > > http://www.columbia.edu/kermit/ckermit.html > > for Solaris 9 yet? I don't have access to Solaris 9 yet, so I have > not been able to try it. Frank, this shouldn't be necessary for Solaris (or any commercial UNIX). Just pick the oldest OS release you are going to support (e.g. Solaris 2.5.1) and build under that. Binary compatability guarantees mean this will work on all future releases providing you are not using unsupported or EOL'ed features (at least in Solaris - I can't speak for all commercial UNIXs). This is one of the really nice things about commercial UNIXs, and is absolutely essential for deployment of commercial applications on such platforms. Thus you can list your 2.5.1 binaries as suitable for Solaris 2.5.1 -> Solaris 8 (or Solaris 9 when you get a chance to test in it). This should make your life much simpler, and avoid the all-too-common misnomer that people have to rebuild application binaries for each OS release, which continuously leaks across from the open-source OS's. You only need to introduce binary support at another release if you are intending to use features which are not present in your base support release. > In the More Interesting department, I did not try adding a 64-bit target, > nor any secure targets (Kerberos, SSL, etc). The latter are particularly > interesting since Solaris 9 comes with bundled libraries (but reportedly > not header files?). Now that might be a reason to add a Solaris 9 target. -- Andrew Gabriel Consultant Software Engineer From cypher@punk.net Sun Jun 9 18:11:50 EDT 2002 Article: 13436 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsfeed.mathworks.com!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!not-for-mail From: cypher@punk.net Fromage: cypher@punk.net goes to /dev/null Subject: Re: C-Kermit 8.0 for Solaris 9? Newsgroups: comp.unix.solaris,comp.protocols.kermit.misc References: X-No-Archive: yes Lines: 10 Message-ID: Date: Sun, 09 Jun 2002 21:25:41 GMT NNTP-Posting-Host: 66.108.5.170 X-Complaints-To: abuse@rr.com X-Trace: twister.nyc.rr.com 1023657941 66.108.5.170 (Sun, 09 Jun 2002 17:25:41 EDT) NNTP-Posting-Date: Sun, 09 Jun 2002 17:25:41 EDT Organization: Road Runner - NYC Xref: newsmaster.cc.columbia.edu comp.unix.solaris:395061 comp.protocols.kermit.misc:13436 In comp.unix.solaris Frank da Cruz wrote: # # Has anyone built C-Kermit 8.0: # # http://www.columbia.edu/kermit/ckermit.html # # for Solaris 9 yet? I don't have access to Solaris 9 yet, so I have # not been able to try it. Then how are you going to test it before releasing it for Solaris 9? From fdc@columbia.edu Sun Jun 9 18:11:54 EDT 2002 Article: 13437 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.unix.solaris,comp.protocols.kermit.misc Subject: Re: C-Kermit 8.0 for Solaris 9? Date: 9 Jun 2002 18:11:23 -0400 Organization: Columbia University Lines: 48 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1023660684 25175 128.59.39.139 (9 Jun 2002 22:11:24 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 9 Jun 2002 22:11:24 GMT Xref: newsmaster.cc.columbia.edu comp.unix.solaris:395062 comp.protocols.kermit.misc:13437 In article , Andrew Gabriel wrote: : In article , : fdc@columbia.edu (Frank da Cruz) writes: : > : > Has anyone built C-Kermit 8.0: : > : > http://www.columbia.edu/kermit/ckermit.html : > : > for Solaris 9 yet? I don't have access to Solaris 9 yet, so I have : > not been able to try it. : : Frank, this shouldn't be necessary for Solaris (or any commercial : UNIX). Just pick the oldest OS release you are going to support : (e.g. Solaris 2.5.1) and build under that. Binary compatability : guarantees mean this will work on all future releases ... : Yes, I'm well aware of these claims but: . Experience has taught me not to rely on them. AIX is case in point. HP-UX is another one. Solaris is indeed another (although, granted, I am not aware of problems in this regard since 2.5.1). . Until I have heard that C-Kermit 8.0.201 can be built and run successfully on Solaris 9, I won't be able to claim that it does. . As proof that C-Kermit 8.0.201 builds successfully on Solaris 9 or any other hardware / OS / OS version combination, I like to be able to offer a binary that was built on that exact platform. . Since I offer a binary for every hardware / OS / OS version that I can find, I might as well include a "designer herald" for it, to show those who run the binary which platform and OS version it was built for. . This is especially helpful when C-Kermit misbehaves -- the majority of problem reports can be addressed with a recommendation to try a more appropriate (usually later) binary. I wouldn't go to all this trouble if I didn't think it was worthwhile based on 21 years of experience supporting Kermit on many platforms. Here is the current list of just the C-Kermit ones: http://www.columbia.edu/kermit/ck80binaries.html - Frank From andrew@cucumber.demon.co.uk Mon Jun 10 09:48:34 EDT 2002 Article: 13438 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!btnet-peer0!btnet-feed5!btnet!carbon.eu.sun.com!new-usenet.uk.sun.com!not-for-mail From: andrew@cucumber.demon.co.uk (Andrew Gabriel) Newsgroups: comp.unix.solaris,comp.protocols.kermit.misc Subject: Re: C-Kermit 8.0 for Solaris 9? Date: 9 Jun 2002 23:27:23 GMT Organization: Sun Microsystems Lines: 41 Message-ID: References: NNTP-Posting-Host: vpn-129-156-96-16.emea.sun.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: new-usenet.uk.sun.com 1023665243 4445 129.156.96.16 (9 Jun 2002 23:27:23 GMT) X-Complaints-To: usenet@new-usenet.uk.sun.com NNTP-Posting-Date: 9 Jun 2002 23:27:23 GMT X-Newsreader: knews 1.0b.1 Xref: newsmaster.cc.columbia.edu comp.unix.solaris:395067 comp.protocols.kermit.misc:13438 In article , fdc@columbia.edu (Frank da Cruz) writes: > In article , > Andrew Gabriel wrote: >: In article , >: fdc@columbia.edu (Frank da Cruz) writes: >: > >: > Has anyone built C-Kermit 8.0: >: > for Solaris 9 yet? I don't have access to Solaris 9 yet, so I have >: > not been able to try it. >: >: Frank, this shouldn't be necessary for Solaris (or any commercial >: UNIX). Just pick the oldest OS release you are going to support >: (e.g. Solaris 2.5.1) and build under that. Binary compatability >: guarantees mean this will work on all future releases ... >: > Yes, I'm well aware of these claims but: > > . Experience has taught me not to rely on them. AIX is case > in point. HP-UX is another one. Solaris is indeed another > (although, granted, I am not aware of problems in this regard > since 2.5.1). OK, I'll stop speaking for other commercial UNIXs, but Solaris at least guarantees this. If you find some case where it fails, you should raise a bug on it. This is a good point to mention Appcert, a tool which examines Solaris binaries, and warns you of any non-supported features you are using, which might leave you with a binary which will stop working in a future release of the OS. This works for all Solaris releases from Solaris 2.3, and both sparc and x86. It's something 3rd-party software authors are well advised to run their software through to look for use of non-supported features. You can download it for free from: http://www.sun.com/developers/tools/appcert/ -- Andrew Gabriel Consultant Software Engineer From rickert+nn@cs.niu.edu Mon Jun 10 10:12:15 EDT 2002 Article: 13439 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsswitch.lcs.mit.edu!news.uchicago.edu!vixen.cso.uiuc.edu!husk.cso.niu.edu!not-for-mail From: Neil W Rickert Newsgroups: comp.unix.solaris,comp.protocols.kermit.misc Subject: Re: C-Kermit 8.0 for Solaris 9? Date: 9 Jun 2002 23:54:58 GMT Organization: Northern Illinois University Lines: 14 Message-ID: References: NNTP-Posting-Host: euclid.cs.niu.edu User-Agent: nn/6.6.1 Xref: newsmaster.cc.columbia.edu comp.unix.solaris:395069 comp.protocols.kermit.misc:13439 andrew@cucumber.demon.co.uk (Andrew Gabriel) writes: >Frank, this shouldn't be necessary for Solaris (or any commercial >UNIX). Just pick the oldest OS release you are going to support >(e.g. Solaris 2.5.1) and build under that. Binary compatability >guarantees mean this will work on all future releases providing >you are not using unsupported or EOL'ed features (at least in >Solaris - I can't speak for all commercial UNIXs). This is a very nice theory. Unfortunately, practice is different. For example "qpopper", compiled on solaris 7, will not run on solaris 8. From fdc@columbia.edu Mon Jun 10 10:12:21 EDT 2002 Article: 13440 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.unix.solaris,comp.protocols.kermit.misc Subject: Re: C-Kermit 8.0 for Solaris 9? Date: 10 Jun 2002 10:12:10 -0400 Organization: Columbia University Lines: 53 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1023718331 13574 128.59.39.139 (10 Jun 2002 14:12:11 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 10 Jun 2002 14:12:11 GMT Xref: newsmaster.cc.columbia.edu comp.unix.solaris:395121 comp.protocols.kermit.misc:13440 In article , Andrew Gabriel wrote: : : OK, I'll stop speaking for other commercial UNIXs, but Solaris : at least guarantees this. If you find some case where it fails, : you should raise a bug on it. : Yes, but we don't know yet whether it works because we have spent more time discussing why it should not be tested than it would have taken to test it. Trusting a new operating system to be free of bugs -- or even incompatibilities with previous releases -- is an act of blind faith. The fact is, nobody can possibly know whether a complex application like C-Kermit (over 280,000 lines of source at last count), with its fingers in every nook and cranny of the file system, network code, serial device code, and who knows what else, will build and work in Solaris 9 without trying it. In my experience with Unix, every new release of every Unix variety (a) capriciously moves header files around and creates conflicts among them that did not exist before; (b) messes with the UUCP lockfile conventions; (c) changes how the serial driver works (usually with respect to ill-defined Unix concepts such as hardware flow control or high serial speeds), (d) changes the data type of some critical quantity (e.g. from short to int, int to long), and on and on. Even if Solaris were perfect in preserving backwards compatibility of binaries, we still want to make sure the application compiles and links; otherwise if we need to make changes and old Solaris versions are no longer available to build on, we're stuck. Even if the Sun development environment were perfect in preserving backwards compatibility of source code, we'd still have gcc to worry about, thanks to Sun's enlightened policy of not including developer tools with Solaris. Even if all that was guaranteed worry-free, why make a special case of Solaris when we must make new builds for every new release of every other operating system because, in general, they can't be trusted to preserve backwards compatibility? So again: if somebody would please take the trouble to try building C-Kermit on Solaris 9 with cc and/or gcc and give it a run-through, I'd appreciate it: ftp://kermit.columbia.edu/kermit/archives/ckx201.tar.gz Alternatively, if I can get a guest ID on a Solaris 9 system, I'll do the testing and any needed adaptation myself. Thanks. - Frank From bobp@theworld.com Mon Jun 10 12:31:32 EDT 2002 Article: 13441 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!nycmny1-snh1.gtei.net!cpk-news-hub1.bbnplanet.com!news.gtei.net!news.maxwell.syr.edu!elk.ncren.net!news.umass.edu!world!shell01.TheWorld.com!bobp From: Bob Parkhurst Newsgroups: comp.unix.solaris,comp.protocols.kermit.misc Subject: Re: C-Kermit 8.0 for Solaris 9? Date: Mon, 10 Jun 2002 11:56:21 -0400 Organization: The World : www.TheWorld.com : Since 1989 Lines: 67 Sender: bobp@shell01.theworld.com Message-ID: References: NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: pcls4.std.com 1023724584 4573 199.172.62.241 (10 Jun 2002 15:56:24 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Mon, 10 Jun 2002 15:56:24 +0000 (UTC) In-Reply-To: Xref: newsmaster.cc.columbia.edu comp.unix.solaris:395138 comp.protocols.kermit.misc:13441 On 10 Jun 2002, Frank da Cruz wrote: > In article , > Andrew Gabriel wrote: > : > : OK, I'll stop speaking for other commercial UNIXs, but Solaris > : at least guarantees this. If you find some case where it fails, > : you should raise a bug on it. > : > Yes, but we don't know yet whether it works because we have spent > more time discussing why it should not be tested than it would have > taken to test it. Trusting a new operating system to be free of > bugs -- or even incompatibilities with previous releases -- is an > act of blind faith. The fact is, nobody can possibly know whether > a complex application like C-Kermit (over 280,000 lines of source at > last count), with its fingers in every nook and cranny of the file > system, network code, serial device code, and who knows what else, > will build and work in Solaris 9 without trying it. > > In my experience with Unix, every new release of every Unix variety > (a) capriciously moves header files around and creates conflicts > among them that did not exist before; (b) messes with the UUCP > lockfile conventions; (c) changes how the serial driver works > (usually with respect to ill-defined Unix concepts such as hardware > flow control or high serial speeds), (d) changes the data type of > some critical quantity (e.g. from short to int, int to long), and > on and on. > > Even if Solaris were perfect in preserving backwards compatibility > of binaries, we still want to make sure the application compiles > and links; otherwise if we need to make changes and old Solaris > versions are no longer available to build on, we're stuck. > > Even if the Sun development environment were perfect in preserving > backwards compatibility of source code, we'd still have gcc to > worry about, thanks to Sun's enlightened policy of not including > developer tools with Solaris. > > Even if all that was guaranteed worry-free, why make a special > case of Solaris when we must make new builds for every new release > of every other operating system because, in general, they can't be > trusted to preserve backwards compatibility? > > So again: if somebody would please take the trouble to try building > C-Kermit on Solaris 9 with cc and/or gcc and give it a run-through, > I'd appreciate it: > > ftp://kermit.columbia.edu/kermit/archives/ckx201.tar.gz > > Alternatively, if I can get a guest ID on a Solaris 9 system, I'll > do the testing and any needed adaptation myself. > > Thanks. > > - Frank > I agree with Frank who has more experience with this problem than just about all of us. It would be nice if new versions of operating systems were compatible with old ones, but we can't assume anything. It doesn't take much to cause a problem. At least we're talking about unix here and not windoze. Kermit is a great product and we can't take it for granted. -- Bob Parkhurst Data Intelligence Systems Corp. From gerryt@gtconnect.net Mon Jun 10 12:37:38 EDT 2002 Article: 13442 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsswitch.lcs.mit.edu!sunqbc.risq.qc.ca!news.uunet.ca!localhost!not-for-mail Mime-Version: 1.0 X-Newsreader: knews 1.0b.1 References: From: gerryt@gtconnect.net () Subject: Re: C-Kermit 8.0 for Solaris 9? Newsgroups: comp.unix.solaris,comp.protocols.kermit.misc Content-Type: text/plain; charset=us-ascii Lines: 47 Message-ID: <4d4N8.318$SR3.149492@localhost> Date: Mon, 10 Jun 2002 16:11:44 GMT NNTP-Posting-Host: 209.17.184.165 X-Trace: localhost 1023725504 209.17.184.165 (Mon, 10 Jun 2002 10:11:44 MDT) NNTP-Posting-Date: Mon, 10 Jun 2002 10:11:44 MDT Xref: newsmaster.cc.columbia.edu comp.unix.solaris:395140 comp.protocols.kermit.misc:13442 In article , fdc@columbia.edu (Frank da Cruz) writes: > In article , > Andrew Gabriel wrote: >: In article , >: fdc@columbia.edu (Frank da Cruz) writes: >: > >: > Has anyone built C-Kermit 8.0: >: > >: > http://www.columbia.edu/kermit/ckermit.html >: > >: > for Solaris 9 yet? I don't have access to Solaris 9 yet, so I have >: > not been able to try it. >: >: Frank, this shouldn't be necessary for Solaris (or any commercial >: UNIX). Just pick the oldest OS release you are going to support >: (e.g. Solaris 2.5.1) and build under that. Binary compatability >: guarantees mean this will work on all future releases ... >: > Yes, I'm well aware of these claims but: > > . Experience has taught me not to rely on them. AIX is case > in point. HP-UX is another one. Solaris is indeed another > (although, granted, I am not aware of problems in this regard > since 2.5.1). > > . Until I have heard that C-Kermit 8.0.201 can be built and > run successfully on Solaris 9, I won't be able to claim > that it does. > > . As proof that C-Kermit 8.0.201 builds successfully on Solaris 9 > or any other hardware / OS / OS version combination, I like to > be able to offer a binary that was built on that exact platform. > > . Since I offer a binary for every hardware / OS / OS version that > I can find, I might as well include a "designer herald" for it, > to show those who run the binary which platform and OS version > it was built for. > > . This is especially helpful when C-Kermit misbehaves -- the majority > of problem reports can be addressed with a recommendation to try > a more appropriate (usually later) binary. Yes it builds using make rule "solaris8g", and gcc3.1 in 32 bit mode on an Ultra 1 200E. What next..? : > From fdc@columbia.edu Mon Jun 10 12:37:41 EDT 2002 Article: 13443 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.unix.solaris,comp.protocols.kermit.misc Subject: Re: C-Kermit 8.0 for Solaris 9? Date: 10 Jun 2002 12:37:15 -0400 Organization: Columbia University Lines: 21 Message-ID: References: <4d4N8.318$SR3.149492@localhost> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1023727036 19003 128.59.39.139 (10 Jun 2002 16:37:16 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 10 Jun 2002 16:37:16 GMT Xref: newsmaster.cc.columbia.edu comp.unix.solaris:395144 comp.protocols.kermit.misc:13443 In article <4d4N8.318$SR3.149492@localhost>, wrote: : Yes it builds using make rule "solaris8g", : and gcc3.1 in 32 bit mode on an Ultra 1 200E. : What next..? : > : OK, but it would be nice if you used this source: ftp://kermit.columbia.edu/kermit/archives/ckx201.tar.gz and built it with "make solaris9g" (not "make solaris8g"), and then if all is OK, upload the resulting "wermit" binary to: ftp://kermit.columbia.edu/kermit/incoming/cku201.solaris9g-sparc Some testing would be good too -- some random commands, maybe make a Telnet or FTP connection, etc. Thanks! - Frank From jaltman@watsun.cc.columbia.edu Tue Jun 11 10:21:09 EDT 2002 Article: 13445 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!jaltman From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman) Newsgroups: comp.protocols.kermit.misc Subject: ssh0agent Date: 11 Jun 2002 05:23:02 GMT Organization: Columbia University Lines: 24 Message-ID: NNTP-Posting-Host: watsun.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1023772982 13747 128.59.39.2 (11 Jun 2002 05:23:02 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 11 Jun 2002 05:23:02 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13445 Thomas H. posted a query to the newsgroup on June 7th which apparently never made it to Columbia or any other News server that I have access to, but that did get found by Google. He asked whether or not ssh-agent.exe worked and if so how. Yes it works. Simply start it without any options. It does not use sockets for communication with Kermit but instead uses Named Pipes on the local machine. As for its security, it is not as secure as I would like it yet. My long term intention is to merge its functionality into the Kerberos Credential Cache daemon. This uses Windows Security to ensure that no other process other than one running in the same Desktop group is able to access the contents of the Credentials Cache. We just did not have time for this release. Jeffrey Altman * Sr.Software Designer Kermit 95 2.0 GUI available now!!! The Kermit Project @ Columbia University SSH, Secure Telnet, Secure FTP, HTTP http://www.kermit-project.org/ Secured with MIT Kerberos, SRP, and kermit-support@columbia.edu OpenSSL. From not-a-real-address@usa.net Tue Jun 11 10:21:26 EDT 2002 Article: 13446 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!sn-xit-05!sn-post-01!supernews.com!news.supernews.com!not-for-mail From: those who know me have no need of my name Newsgroups: comp.protocols.kermit.misc Subject: Re: ssh0agent Date: 11 Jun 2002 08:38:44 GMT Organization: earthfriends Message-ID: References: User-Agent: Gnus/5.090007 (Oort Gnus v0.07) XEmacs/21.4 (Informed Management (RC1), i686-redhat-linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: newsabuse@supernews.com Lines: 11 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13446 in comp.protocols.kermit.misc i read: >Thomas H. posted a query to the newsgroup on June 7th which >apparently never made it to Columbia or any other News server >that I have access to, but that did get found by Google. fyi: two free (but r/o) servers i checked have it: dp-news.maxwell.syr.edu and news.readfreenews.net. (as do several pay servers, e.g., supernews.) -- bringing you boring signatures for 17 years From fdc@columbia.edu Tue Jun 11 11:51:18 EDT 2002 Article: 13447 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: New K95 electronic ordering and delivery Date: 11 Jun 2002 11:48:30 -0400 Organization: Columbia University Lines: 37 Message-ID: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1023810511 978 128.59.39.139 (11 Jun 2002 15:48:31 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 11 Jun 2002 15:48:31 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13447 Effective today, 11 June 2002, you can purchase version 1.1.21 of Kermit 95 electronically on the Web from e-academy.com. If you are in the USA or Canada, you can purchase the secure version that includes SSH, Kerberos, SSL/TLS, and SRP security. If you are not in the USA or Canada, you can purchase the regular version. The e-academy price is heavily discounted, since (a) C-Kermit and its manual are not included, and (b) there is no physical package. If you purchase K95 1.1.21 from e-academy, then after you install it, you can upgrade to version 2.0 at no extra cost. e-academy is in the process of replacing version 1.1.21 with 2.0 on its site. When this is done, e-academy's prices will rise. We expect this to occur within about a week. Meanwhile, this is the cheapest way to get new copies of Kermit 95 2.0. To purchase K95 1.1.21 from e-academy, visit: http://www.columbia.edu/kermit/e-academy.html To upgrade any 1.1.xx version to to 2.0, visit: http://www.columbia.edu/kermit/k95upgrade.html The e-academy link now appears on the Kermit 95 web page: http://www.columbia.edu/kermit/k95.html Watch this newsgroup or the website for further news. When you visit the e-academy site, you'll notice there is also a free trial download. Please don't do this yet; wait a week or so for version 2.0 to be available in trial form. If you install the 1.1.21 trial version, you won't be able to install the 2.0 trial. - Frank From Tom.Horsley@att.net Tue Jun 11 12:24:18 EDT 2002 Article: 13448 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!wn3feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!not-for-mail From: "Tom Horsley" Newsgroups: comp.protocols.kermit.misc References: Subject: Re: ssh0agent Lines: 16 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Message-ID: NNTP-Posting-Host: 2abbd70e262b892806c0cb5f348e50d5 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1023812502 2abbd70e262b892806c0cb5f348e50d5 (Tue, 11 Jun 2002 16:21:42 GMT) NNTP-Posting-Date: Tue, 11 Jun 2002 16:21:42 GMT Organization: AT&T Worldnet Date: Tue, 11 Jun 2002 16:21:42 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13448 > Thomas H. posted a query to the newsgroup on June 7th which > apparently never made it to Columbia or any other News server > that I have access to, but that did get found by Google. And I was about to check google to see if maybe there was a reply that didn't make it to my news server. > Yes it works. Simply start it without any options. It does not > use sockets for communication with Kermit but instead uses Named Pipes > on the local machine. Ah-HA! The one procedure that is so simple I didn't think of trying it that way :-). You should add a mention of that in the SSH section of the manual. From tom.horsley@att.net Tue Jun 11 19:58:31 EDT 2002 Article: 13449 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.cs.columbia.edu!peerfeed.news.psi.net!news-peer.gip.net!news.gsl.net!gip.net!newsfeed.mathworks.com!news.maxwell.syr.edu!router1.news.adelphia.net!router2.news.adelphia.net!news2.news.adelphia.net.POSTED!not-for-mail From: "Tom Horsley" Newsgroups: comp.protocols.kermit.misc References: Subject: Re: ssh0agent Lines: 28 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: Date: Tue, 11 Jun 2002 23:21:18 GMT NNTP-Posting-Host: 24.54.160.190 X-Complaints-To: abuse@adelphia.net X-Trace: news2.news.adelphia.net 1023837678 24.54.160.190 (Tue, 11 Jun 2002 19:21:18 EDT) NNTP-Posting-Date: Tue, 11 Jun 2002 19:21:18 EDT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13449 > Thomas H. posted a query to the newsgroup on June 7th which > apparently never made it to Columbia or any other News server > that I have access to, but that did get found by Google. I'll try replying on the Adelphia server instead of the Worldnet server and see if this shows up :-). > Yes it works. Simply start it without any options. It does not > use sockets for communication with Kermit but instead uses Named Pipes > on the local machine. I tried this, and there is an ssh-agent running now, and kermit will accept an ssh agent add command which prompts me for my passphrase, then always says SSH_AGENT_FAILURE. If I try to run the add command again, it says it could not open a connection to the agent (yet task manager shows it still running). If I just open the ssh connection, it prompts for the passphrase again (but this time with a dialog box rather than a text mode like prompt), and that works fine. I tried it several times, and I don't think I could have mis-typed my passphrase every time :-). I'm still on Windows XP Pro. From ishikawa@yk.rim.or.jp Wed Jun 12 10:14:32 EDT 2002 Article: 13450 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!jfk3-feed1.news.algx.net!allegiance!newsfeed.wirehub.nl!newsfeed.media.kyoto-u.ac.jp!Q.T.Honey!newsfeed.rim.or.jp!news.rim.or.jp!not-for-mail From: Ishikawa Newsgroups: comp.unix.solaris,comp.protocols.kermit.misc Subject: Re: C-Kermit 8.0 for Solaris 9? Date: Wed, 12 Jun 2002 09:17:49 +0900 Organization: Ye 'Ol Disorganized NNTPCache groupie Lines: 26 Message-ID: <3D06932D.841D7201@yk.rim.or.jp> References: NNTP-Posting-Host: pl1334.nas911.n-yokohama.nttpc.ne.jp Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Trace: news.rim.or.jp 1023841159 88009 210.139.44.54 (12 Jun 2002 00:19:19 GMT) X-Complaints-To: root@rim.or.jp NNTP-Posting-Date: Wed, 12 Jun 2002 00:19:19 +0000 (UTC) X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.18 i686) X-Accept-Language: ja, en Cache-Post-Path: duron!unknown@localhost X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/) Xref: newsmaster.cc.columbia.edu comp.unix.solaris:395391 comp.protocols.kermit.misc:13450 Neil W Rickert wrote: > > andrew@cucumber.demon.co.uk (Andrew Gabriel) writes: > > >Frank, this shouldn't be necessary for Solaris (or any commercial > >UNIX). Just pick the oldest OS release you are going to support > >(e.g. Solaris 2.5.1) and build under that. Binary compatability > >guarantees mean this will work on all future releases providing > >you are not using unsupported or EOL'ed features (at least in > >Solaris - I can't speak for all commercial UNIXs). > > This is a very nice theory. > > Unfortunately, practice is different. For example "qpopper", > compiled on solaris 7, will not run on solaris 8. I concur. As I found it hard way, Solaris changed the way the hardware flow control is enabled sometime between 2.3 and 2.5.1 and so C-Kermit compiled for previous versions didn't work as expected on later versions. It is true that the compatibility support is getting better now that the Solaris(sunos 5.x) is very mature, but who knows? From jaltman@watsun.cc.columbia.edu Wed Jun 12 10:14:52 EDT 2002 Article: 13451 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!jaltman From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman) Newsgroups: comp.protocols.kermit.misc Subject: Re: ssh0agent Date: 12 Jun 2002 06:03:17 GMT Organization: Columbia University Lines: 29 Message-ID: References: NNTP-Posting-Host: watsun.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1023861797 29935 128.59.39.2 (12 Jun 2002 06:03:17 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 12 Jun 2002 06:03:17 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13451 In article , Tom Horsley wrote: : I tried this, and there is an ssh-agent running now, and kermit will accept : an ssh agent add command which prompts me for my passphrase, then : always says SSH_AGENT_FAILURE. If I try to run the add command : again, it says it could not open a connection to the agent (yet task manager : shows it still running). As it turns out there is a bug in the release SSH-AGENT.EXE that prevents the proper processing of SSHv2 keys. There is also a bug in K95[G].EXE that prevents K95 from communicating with the SSH-AGENT more than once. There is another bug in the K95 parser that prevents the SSH AGENT LIST command from being executed. All in all this pretty much makes all of the SSH AGENT support in 1.1.21 and 2.0 non-functional. None of these bugs were picked up during the beta period for 1.1.21 (three months) or 2.0 (two weeks). I have fixed these problems in the source code. The next release will contain the working functionality. Jeffrey Altman * Sr.Software Designer Kermit 95 2.0 GUI available now!!! The Kermit Project @ Columbia University SSH, Secure Telnet, Secure FTP, HTTP http://www.kermit-project.org/ Secured with MIT Kerberos, SRP, and kermit-support@columbia.edu OpenSSL. From tom.horsley@att.net Wed Jun 12 17:03:33 EDT 2002 Article: 13453 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!jfk3-feed1.news.algx.net!allegiance!news.maxwell.syr.edu!router1.news.adelphia.net!router2.news.adelphia.net!news2.news.adelphia.net.POSTED!not-for-mail From: "Tom Horsley" Newsgroups: comp.protocols.kermit.misc References: Subject: Re: ssh0agent Lines: 10 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: Date: Wed, 12 Jun 2002 20:54:11 GMT NNTP-Posting-Host: 24.54.160.190 X-Complaints-To: abuse@adelphia.net X-Trace: news2.news.adelphia.net 1023915251 24.54.160.190 (Wed, 12 Jun 2002 16:54:11 EDT) NNTP-Posting-Date: Wed, 12 Jun 2002 16:54:11 EDT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13453 > All in all this pretty much makes all of the SSH AGENT support in 1.1.21 > and 2.0 non-functional. None of these bugs were picked up during the > beta period for 1.1.21 (three months) or 2.0 (two weeks). Didn't you know? Beta releases exist only to make developers feel good when they release software just before going on vacation so the users can find the pile of critical bugs while they are gone :-). From jaltman@watsun.cc.columbia.edu Wed Jun 12 17:27:23 EDT 2002 Article: 13454 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!jaltman From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman) Newsgroups: comp.protocols.kermit.misc Subject: Re: ssh0agent Date: 12 Jun 2002 21:26:42 GMT Organization: Columbia University Lines: 13 Message-ID: References: NNTP-Posting-Host: watsun.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1023917202 21640 128.59.39.2 (12 Jun 2002 21:26:42 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 12 Jun 2002 21:26:42 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13454 In article , Tom Horsley wrote: : Didn't you know? Beta releases exist only to make developers feel good : when they release software just before going on vacation so the users : can find the pile of critical bugs while they are gone :-). Tell me about it!!! :-) Jeffrey Altman * Sr.Software Designer Kermit 95 2.0 GUI available now!!! The Kermit Project @ Columbia University SSH, Secure Telnet, Secure FTP, HTTP http://www.kermit-project.org/ Secured with MIT Kerberos, SRP, and kermit-support@columbia.edu OpenSSL. From larut@yahoo.com Thu Jun 13 09:52:27 EDT 2002 Article: 13455 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: larut@yahoo.com (L Arut) Newsgroups: comp.protocols.kermit.misc Subject: K95 GUI keyboard map and selecting text for cut&paste on VMS Date: 13 Jun 2002 00:08:38 -0700 Organization: http://groups.google.com/ Lines: 7 Message-ID: <73f00c8f.0206122308.79fe1884@posting.google.com> NNTP-Posting-Host: 203.39.58.90 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1023952118 30902 127.0.0.1 (13 Jun 2002 07:08:38 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 13 Jun 2002 07:08:38 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13455 Just tried out the new K95GUI upgrade from existing K95. Seems to have problems too with mapping of central Page Down/Pg Up key map. Still can't do a select using mouse left button down like on other VT emulators whilst on a VMS login session. How does one do a keyboard remapping to allow VMS to recognise this ? TIA From Edreset@REMOVEMEhotmail.com Thu Jun 13 09:59:32 EDT 2002 Article: 13456 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!newsfeed.stueberl.de!news2.euro.net!transit.news.xs4all.nl!195.129.110.18.MISMATCH!bnewspeer00.bru.ops.eu.uu.net!emea.uu.net!wwwserv3.shell.nl!not-for-mail From: "Eddie" Newsgroups: comp.protocols.kermit.misc Subject: how autostart kermit 95 server after remote command. Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: Date: Thu, 13 Jun 2002 14:41:35 +0200 NNTP-Posting-Host: 134.143.37.58 X-Complaints-To: newsmaster@is.shell.com X-Trace: wwwserv3.shell.nl 1023972143 134.143.37.58 (Thu, 13 Jun 2002 14:42:23 MET DST) NNTP-Posting-Date: Thu, 13 Jun 2002 14:42:23 MET DST Organization: Shell Services International Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13456 We were previously using a kermit server on VAX/VMS systems. Due the phse out of these vaxes we need a replacement for the kermit server. We ordered kermit 95 and installed it on a NT server. Now we discoverded that the remote computer sends after login a "KERMIT SERVER" string to startup the kermit server on the vaxes Because the remote machine is a process machine we prefer nothing to change at it. Thus i like to know how I can make script wherin after receiving the string the server part of kermit start automaticly. regards, Eddie From fdc@columbia.edu Thu Jun 13 09:59:36 EDT 2002 Article: 13457 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: K95 GUI keyboard map and selecting text for cut&paste on VMS Date: 13 Jun 2002 09:52:21 -0400 Organization: Columbia University Lines: 36 Message-ID: References: <73f00c8f.0206122308.79fe1884@posting.google.com> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1023976342 19320 128.59.39.139 (13 Jun 2002 13:52:22 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 13 Jun 2002 13:52:22 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13457 In article <73f00c8f.0206122308.79fe1884@posting.google.com>, L Arut wrote: : Just tried out the new K95GUI upgrade from existing K95. Seems to have : problems too with mapping of central Page Down/Pg Up key map. : As noted in the documentation, this key (like most others) can do various things. You can map it to do whatever you want. But it must have a default assignment, and no default pleases everybody. The default assignment is to scroll Kermit's screen up and down locally. If you want it to send Next and Previous sequences to the host, you can put the following commands in your K95CUSTOM.INI file: set term key \4385 \KdecPrev ; Page Up set term key \4386 \KdecNext ; Page Down To read the documentation, use Help -> Kermit 95 Manual. Go to Chapter 7, and then in the Chapter 7 Contents, choose "Using the Keyboard" and then read that section and the several sections that follow it regarding key mapping. : Still can't do a select using mouse left button down like on other VT : emulators whilst on a VMS login session. : As noted in the documentation and the help screens, the K95 mouse works in a more powerful and less labor-intensive way than the regular Windows way. To read the documentation, use Help -> Kermit 95 Manual. Go to Chapter 7, and then in the Chapter 7 Contents, choose "Using the Mouse". You can also type "help set mouse" at the K-95> prompt. This shows you what kinds of things the mouse can do, how you can assign different tasks to specific mouse actions, and what the default settings are. To see what the current assignments, type "show mouse" or use Alt-x in the Terminal screen (and go to the 3rd screen in the sequence). - Frank From fdc@columbia.edu Thu Jun 13 09:59:39 EDT 2002 Article: 13458 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: how autostart kermit 95 server after remote command. Date: 13 Jun 2002 09:59:30 -0400 Organization: Columbia University Lines: 36 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1023976771 19496 128.59.39.139 (13 Jun 2002 13:59:31 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 13 Jun 2002 13:59:31 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13458 In article , Eddie wrote: : We were previously using a kermit server on VAX/VMS systems. Due the phse : out of these vaxes we need a replacement for the kermit server. : : We ordered kermit 95 and installed it on a NT server. : : Now we discoverded that the remote computer sends after login a "KERMIT : SERVER" string to startup the kermit server on the vaxes : : Because the remote machine is a process machine we prefer nothing to change : at it. : : Thus i like to know how I can make script wherin after receiving the string : the server part of kermit start automaticly. : By now you have realized that VMS and NT are radically different platforms. VMS lets people come in by various methods (serial port, dialup, Telnet, LAT, DECnet) and presents them with a DCL prompt so that commands can be issued and results displayed in an ordinary text window. Starting a Kermit server on VMS (or Unix, or any other traditional operating system) is perfectly straightforward -- just type "kermit -x" or whatever. To do something like this with Windows NT requires at least a Telnet server, which might be available only from third parties. As for dialing in to get an NT Command prompt, I don't even know if it's possible. In any case you can't make such a radical change and expect everything to work the same way. Of course we'll be glad to help you but you'll need to tell us how the remote users coming in to NT. Incidentally, your message suggests you were using Kermit-32, not C-Kermit, on VMS. Kermit-32 has not been supported since 1987 -- that's two decades in the past. - Frank From nt9991@hotmail.com Thu Jun 13 13:39:23 EDT 2002 Article: 13459 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: nt9991@hotmail.com (Chris) Newsgroups: comp.protocols.kermit.misc Subject: File transfer Date: 13 Jun 2002 10:24:35 -0700 Organization: http://groups.google.com/ Lines: 16 Message-ID: NNTP-Posting-Host: 64.29.43.195 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1023989076 5483 127.0.0.1 (13 Jun 2002 17:24:36 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 13 Jun 2002 17:24:36 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13459 We need to set a simple automated file transfer over standard phonelines using kermit between wintel systems. We attemtpted to do this via scripting and the included hostmode.bat file, but apparently dirty phone lines are causing extra characters to be included and blows up the script after 2 or 3 runs, and hangs the hostmaode system. Is there a better way to do this while still requiring authentication for the remote system? Also, are their particular setting though kermit to optimize it for dirty lines? If so, what are they? Speed is not important, as it is a small file. Thanks, Chris From rollo@gmx.net Mon Jun 17 11:50:32 EDT 2002 Article: 13461 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsmm01.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail From: "Roland Höpfner" Newsgroups: comp.protocols.kermit.misc Subject: voice connection question! Date: Sat, 15 Jun 2002 20:24:16 +0200 Organization: T-Online Lines: 26 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.t-online.com 1024165433 01 7195 tsjQbDwSSLY4wv 020615 18:23:53 X-Complaints-To: abuse@t-online.com X-Sender: 0308176444-0001@t-dialin.net X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13461 Hi all! I am very new in writing scripts in kermit, thats why my question must be very simple to answer! ;-) I wrote a script, that will estabilish a voice-connection from my ISDN card to a telephone! That works, here it is: set line /dev/ttyI0 set carrier-watch off output AT z &e50579002\13 input 3 OK output ats18=1\13 input 3 OK output atd50579002\13 exit Now I want, that if the voice connection is canceled or the connection couldn't established, the script will try to redial or to make a new connection until I stop the script! Many thanx for your help! Roland P.S. Sorry for my bad english! From fdc@columbia.edu Mon Jun 17 11:50:38 EDT 2002 Article: 13464 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: voice connection question! Date: 17 Jun 2002 11:50:27 -0400 Organization: Columbia University Lines: 43 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1024329028 25770 128.59.39.139 (17 Jun 2002 15:50:28 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 17 Jun 2002 15:50:28 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13464 In article , Roland Höpfner wrote: : I am very new in writing scripts in kermit, thats why my question must be : very simple to answer! ;-) : I wrote a script, that will estabilish a voice-connection from my ISDN card : to a telephone! That works, here it is: : : set line /dev/ttyI0 : set carrier-watch off : output AT z &e50579002\13 : input 3 OK : output ats18=1\13 : input 3 OK : output atd50579002\13 : : Now I want, that if the voice connection is canceled or the connection : couldn't established, the script will try to redial or to make a new : connection until I stop the script! : What is the modem's response to the ATD command when the voice call is successful? What does the modem say when the modem call is unsuccessful or is canceled? What does the modem say when the connection hangs up? Under what circumstances do you want the script to stop redialing? Write your script to look for these strings and do the appropriate thing for each one. I don't know the answers to these questions so I can't write your script for you, but you could use a WHILE loop containing an MINPUT command to look for the various response, like this: ... output ats18=1\13 input 3 OK while true { output atd50579002\13 minput -1 "VOICE" "BUSY" "NO ANSWER" ... switch \v(minput) { :1, (wait for message indicating hangup), continue :2, sleep 30, continue :3, stop 1 "Number does not answer" (etc etc) } } - Frank From fdc@columbia.edu Wed Jun 19 17:36:07 EDT 2002 Article: 13465 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Kermit 95 and file receiving. Date: 19 Jun 2002 17:32:50 -0400 Organization: Columbia University Lines: 64 Message-ID: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1024522371 28477 128.59.39.139 (19 Jun 2002 21:32:51 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 19 Jun 2002 21:32:51 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13465 On 2002-06-10 04:35:02 PST, Eddie (Edreset@REMOVEMEhotmail.com) wrote: : I have a question regarding the following setup: : I found your posting on Google just now; it never made it to the Columbia news server. This is the second time something like this has happened recently. If you are posting to the Kermit newsgroup to get tech support -- which is fine -- and you don't receive an answer within a day or two, please send us mail at kermit-support@columbia.edu, because apparently some news postings are not getting through. : I need to transfer files from a process(scada) machine to a NT server with : kermit 95 running on a regular base. : : This should go fully automaticly. : : Currently the process machine is transfering data to a VAX/VMS machine with : Kermit installed and that works fine. : So Kermit 95 on Windows is to replace C-Kermit on the VAX? : I installed Kermit 95 and open up a vt100 terminal session with : auto-download on. However when the remote site send its dat i only get a : "KERMIT SERVER" message. : Where do you see this message? In Kermit 95's Terminal screen? Or in its Command screen? What is supposed to make the process machine start sending? Did you give it a command? It sounds like maybe you gave it a command to put it in server mode rather than a command to make it send a file? : The auto download won't work. When i connect a pc : on the remote site and to kermit transfer to the server it is working. (the : connection is just a direct serial connection) : : When I get the "KERMIT SERVER"message I can start a transfer by hitting : [ESC] and [enter]. Then the file will be downloaded. : I have no idea what this means. The Esc-Enter sequence is meaningless to Kermit 95. This suggests that Kermit is in Terminal mode, and the Esc-Enter sequence was needed by the process machine. : What i want is to get an online server which is listening to the Comport and : go automaticly in receive mode as soon data comes in. After receiving is : should go back to listening mode. : : Does anybody knows a script for it which works with KERMIT 95. : Normally you should be able to do this simply by putting K95 in terminal mode. As soon as the device starts to send a file, K95 receives it automatically, and then re-enters terminal mode. But you say this is not happening. It's not clear from your posting what is happening instead. If K95 is popping back to its Command screen and printing "KERMIT SERVER", that means the process machine is not sending a file, but is either asking K95 to send a file, or doing something else to put it in server mode. Try this: Tell K95 to "log packets" before making the connection. Then follow your scenario and send the packet log to kermit-support@columbia.edu and we'll take it from there. - Frank From fdc@columbia.edu Thu Jun 20 17:18:19 EDT 2002 Article: 13466 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: K95 2.0 now downloadable Date: 20 Jun 2002 16:40:35 -0400 Organization: Columbia University Lines: 14 Message-ID: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1024605636 12590 128.59.39.139 (20 Jun 2002 20:40:36 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 20 Jun 2002 20:40:36 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13466 Kermit 95 2.0 (both the GUI and Console version) is now available for download at: http://www.e-academy.com/kermit This includes both a full-featured 21-day trial version and electronic purchase and delivery of the registered version. Both crypto and export versions are available. Follow the link above or any of the DOWNLOAD links on the main Kermit 95 page, or the headline on the Kermit Project home page. - Frank From alpuzz@comcast.net Fri Jun 21 09:59:08 EDT 2002 Article: 13467 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!ord-feed.news.verio.net!stl-feed.news.verio.net!newsreader.wustl.edu!gumby.it.wmich.edu!aanews.merit.edu!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!213.56.195.71!fr.usenet-edu.net!usenet-edu.net!teaser.fr!wanadoo.fr!proxad.net!proxad.net!border1.nntp.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!bin8.nnrp.aus1.giganews.com.POSTED!not-for-mail From: Al Puzzuoli Newsgroups: comp.protocols.kermit.misc Subject: can MS Kermit display a 25 line terminal? Message-ID: Reply-To: alpuzz@comcast.net X-Newsreader: MicroPlanet Gravity v2.60 X-GC-Trace: gv1-Ze/aU1c6tzGWFnSpGPhwY0+pSfNT13bB8Gjbw== Lines: 9 NNTP-Posting-Date: Thu, 20 Jun 2002 19:49:36 CDT Organization: Giganews.Com - Premium News Outsourcing X-Trace: sv3-WEwUPlOxlvkiSPUff4tyHo3FridTcrwXWR1QTGylbipXcpBB2ZHXVcgiUsbgwU7daCw6jr25FviQ4a3!33RsYjZ74+gohM69UCHtQ0N6fKVdN+h8JUt+8GD/T9wUw1G/W5rH7ptgORCwZglt1J6KI6+fT34R!L0kirGi3KD1W1hOJT79D5j3aX9ni5BAqIWk= X-Complaints-To: abuse@comcast.com X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly Date: Fri, 21 Jun 2002 00:49:36 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13467 Hello, I am using MS Kermit to telnet into a Linux box with emulation set to vt100. By default, I am getting a 24 line 80 col display with a status line at the bottom. However, I want to be able to play the ADOm, which is a text mode game that requires a 25 line, 77 col display. Is it possible to set MS Kermit to do this and if so, how? Thanks for any info. From alpuzz@comcast.net Fri Jun 21 10:00:32 EDT 2002 Article: 13467 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!ord-feed.news.verio.net!stl-feed.news.verio.net!newsreader.wustl.edu!gumby.it.wmich.edu!aanews.merit.edu!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!213.56.195.71!fr.usenet-edu.net!usenet-edu.net!teaser.fr!wanadoo.fr!proxad.net!proxad.net!border1.nntp.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!bin8.nnrp.aus1.giganews.com.POSTED!not-for-mail From: Al Puzzuoli Newsgroups: comp.protocols.kermit.misc Subject: can MS Kermit display a 25 line terminal? Message-ID: Reply-To: alpuzz@comcast.net X-Newsreader: MicroPlanet Gravity v2.60 X-GC-Trace: gv1-Ze/aU1c6tzGWFnSpGPhwY0+pSfNT13bB8Gjbw== Lines: 9 NNTP-Posting-Date: Thu, 20 Jun 2002 19:49:36 CDT Organization: Giganews.Com - Premium News Outsourcing X-Trace: sv3-WEwUPlOxlvkiSPUff4tyHo3FridTcrwXWR1QTGylbipXcpBB2ZHXVcgiUsbgwU7daCw6jr25FviQ4a3!33RsYjZ74+gohM69UCHtQ0N6fKVdN+h8JUt+8GD/T9wUw1G/W5rH7ptgORCwZglt1J6KI6+fT34R!L0kirGi3KD1W1hOJT79D5j3aX9ni5BAqIWk= X-Complaints-To: abuse@comcast.com X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly Date: Fri, 21 Jun 2002 00:49:36 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13467 Hello, I am using MS Kermit to telnet into a Linux box with emulation set to vt100. By default, I am getting a 24 line 80 col display with a status line at the bottom. However, I want to be able to play the ADOm, which is a text mode game that requires a 25 line, 77 col display. Is it possible to set MS Kermit to do this and if so, how? Thanks for any info. From stephen@inisant.actrix.gen.nz.x Fri Jun 21 14:09:55 EDT 2002 Article: 13469 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!ord-feed.news.verio.net!stl-feed.news.verio.net!news.cc.ukans.edu!logbridge.uoregon.edu!news.uchicago.edu!yellow.newsread.com!netaxs.com!newsread.com!news-out.spamkiller.net!propagator2-maxim!propagator-maxim!news-in.spamkiller.net!news02.tsnz.net!news.actrix.gen.nz!inisant.jsw.gen.nz!127.0.0.1 From: stephen@inisant.actrix.gen.nz.x (Stephen Worthington) Message-ID: Newsgroups: comp.protocols.kermit.misc Subject: Script dropping out to command prompt User-Agent: ProNews/2 V1.51.ib110 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8bit X-Original-NNTP-Posting-Host: 127.0.0.1 X-Original-Trace: 22 Jun 2002 05:40:17 +1200, 127.0.0.1 Lines: 91 X-Original-NNTP-Posting-Host: 203.96.55.3 Date: 22 Jun 2002 05:40:17 +1200 NNTP-Posting-Host: 203.96.16.33 X-Complaints-To: abuse@tsnz.net X-Trace: news02.tsnz.net 1024681220 203.96.16.33 (Sat, 22 Jun 2002 05:40:20 NZST) NNTP-Posting-Date: Sat, 22 Jun 2002 05:40:20 NZST Organization: TelstraClear Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13469 I am trying to write a script to automate changing some settings on my Cisco 827 router via a telnet connection. I am using Kermit 1.1.20 for OS/2. This is my first attempt a real Kermit script, so please let me know if I am doing stupid things :-) When I run the script, at a certain point I get dropped out of the script to a Kermit command prompt. Doing an Alt-X from there causes the script to continue to completion. What I do not understand is what causes Kermit to go to a command prompt. I can see nothing different at that point in the script, or in the interaction with the router. This is the script at present: ====================================================================== == take {E:\U\K2\SCRIPTS\router_1.ksc} if fail end 1 {router login failed} lineout conf t input 20 {router(config)#} if fail end 1 {conf t failed (1)} set input timeout-action proceed lineout no ip inspect name DIALER-CBAC smtp input 50 {router(config)#} if fail end 1 {conf t failed (2)} clear input lineout exit set input timeout-action proceed set exit on-disconnect off input 60 {router#} xif fail { echo failed echo "\v(input)" end 1 } echo succeeded lineout exit end 0 ====================================================================== == The router_1.ksc script called at the start is a slight variation on the standard login.ksc script that logs in to the router. It works without problems. This is what I see when I run the script: ====================================================================== == User Access Verification Password: router>enable Password: router#conf t Enter configuration commands, one per line. End with CNTL/Z. router(config)#no ip inspect name DIALER-CBAC smtp %entry not found router(config)#exit router#succeeded Kermit 95 1.1.20, 31 Mar 2000, for 32-bit OS/2 Copyright (C) 1985, 2000, Trustees of Columbia University in the City of New York. Registered to: J S Worthington Serial number: K95-00007210131-1.1 Type ? or HELP for help. [E:\U\K2\] K-95> ====================================================================== == The final "lineout exit" line is not executed until I do Alt-X, but the previous "echo succeeded" line works as "succeeded" is seen in the output just before the command line appears. So what have I missed here? -- Anti-spam: Remove the .x to reply From fdc@columbia.edu Fri Jun 21 14:09:58 EDT 2002 Article: 13470 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Script dropping out to command prompt Date: 21 Jun 2002 14:09:50 -0400 Organization: Columbia University Lines: 74 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1024682991 13502 128.59.39.139 (21 Jun 2002 18:09:51 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 21 Jun 2002 18:09:51 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13470 In article , Stephen Worthington wrote: : I am trying to write a script to automate changing some settings on my Cisco : 827 router via a telnet connection. I am using Kermit 1.1.20 for OS/2. : This is my first attempt a real Kermit script, so please let me : : know if I am doing stupid things :-) : : When I run the script, at a certain point I get dropped out of the script to : a Kermit command prompt. Doing an Alt-X from there causes the script to : continue to completion. What I do not understand is what causes Kermit to : go to a command prompt. I can see nothing different at that point in the : script, or in the interaction with the router. : : This is the script at present: : Actually it looks quite good. You're checking INPUTs for failure, etc; which not doing is a common mistake. : ====================================================================== : : take {E:\U\K2\SCRIPTS\router_1.ksc} : if fail end 1 {router login failed} : lineout conf t : input 20 {router(config)#} : if fail end 1 {conf t failed (1)} : set input timeout-action proceed : lineout no ip inspect name DIALER-CBAC smtp : input 50 {router(config)#} : if fail end 1 {conf t failed (2)} : clear input : lineout exit : set input timeout-action proceed : set exit on-disconnect off : input 60 {router#} : xif fail { : echo failed : echo "\v(input)" : end 1 : } : echo succeeded : lineout exit : end 0 : : ====================================================================== : : The router_1.ksc script called at the start is a slight variation on the : standard login.ksc script that logs in to the router. It works without : problems. This is what I see when I run the script: : : ====================================================================== : : User Access Verification : : Password: : router>enable : Password: : router#conf t : Enter configuration commands, one per line. End with CNTL/Z. : router(config)#no ip inspect name DIALER-CBAC smtp : %entry not found : : router(config)#exit : router#succeeded : Kermit 95 1.1.20, 31 Mar 2000, for 32-bit OS/2 : Copyright (C) 1985, 2000, : It looks to me like your script is working fine, but the "exit" command, when given to the router, makes it close the connection; thus you return to K95 command mode. Since there are no more commands in the script, and since the script did not include an EXIT command (for K95), you get the prompt. - Frank From alpuzz@comcast.net Fri Jun 21 16:22:35 EDT 2002 Article: 13471 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!ord-feed.news.verio.net!stl-feed.news.verio.net!newsreader.wustl.edu!gumby.it.wmich.edu!aanews.merit.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!nntp-relay.ihug.net!ihug.co.nz!cox.net!nntp2.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!bin5.nnrp.aus1.giganews.com.POSTED!not-for-mail From: Al Puzzuoli Newsgroups: comp.protocols.kermit.misc Subject: Re: can MS Kermit display a 25 line terminal? Message-ID: References: Reply-To: alpuzz@comcast.net X-Newsreader: MicroPlanet Gravity v2.60 X-GC-Trace: gv1-U9ydp80wGN3hKv+sW+0XuqbLHhKKzY5/215UQ== Lines: 22 NNTP-Posting-Date: Fri, 21 Jun 2002 14:58:07 CDT Organization: Giganews.Com - Premium News Outsourcing X-Trace: sv3-emdr3i7f7Ixe+jPP82wE+x5mE3oUrAPbgq+ldHVU7KfkP+gFS+/sljLQoZ1czKKuXN57CWgEZz4qpRC!CoV56Vdbu8z8tYIGWkEuBMw+o+wPQ/YgfD20V+nGkooUXlRzm7pfnmDnJiTE5ddwnGSCZZ/fkJiB!mc4EGPPUStRtfEHeTzrUiC0OD70vPrk6vw== X-Complaints-To: abuse@comcast.com X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly Date: Fri, 21 Jun 2002 19:58:07 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13471 In article , fdc@columbia.edu says... > In article , > Al Puzzuoli wrote: > : I am using MS Kermit to telnet into a Linux box with emulation set to > : vt100. By default, I am getting a 24 line 80 col display with a status > : line at the bottom. However, I want to be able to play the ADOm, which > : is a text mode game that requires a 25 line, 77 col display. Is it > : possible to set MS Kermit to do this and if so, how? > : > SET MODE-LINE OFF > > - Frank > Hi Frank, Thanks for this. The set mode-line off does get rid of the status line; However, Kermit is still only writing to the first 24 lines of the screen, and leaving the 25th line blank. I'm no terminal emulation expert so I'm wondering if this is due to some setting at the Linux end of the connection. From fdc@columbia.edu Fri Jun 21 16:22:39 EDT 2002 Article: 13472 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: can MS Kermit display a 25 line terminal? Date: 21 Jun 2002 16:22:33 -0400 Organization: Columbia University Lines: 33 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1024690954 17885 128.59.39.139 (21 Jun 2002 20:22:34 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 21 Jun 2002 20:22:34 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13472 In article , Al Puzzuoli wrote: : In article , fdc@columbia.edu : says... : > In article , : > Al Puzzuoli wrote: : > : I am using MS Kermit to telnet into a Linux box with emulation set to : > : vt100. By default, I am getting a 24 line 80 col display with a status : > : line at the bottom. However, I want to be able to play the ADOm, which : > : is a text mode game that requires a 25 line, 77 col display. Is it : > : possible to set MS Kermit to do this and if so, how? : > : : > SET MODE-LINE OFF : : Thanks for this. The set mode-line off does get rid of the status line; : However, Kermit is still only writing to the first 24 lines of the : screen, and leaving the 25th line blank. I'm no terminal emulation : expert so I'm wondering if this is due to some setting at the Linux end : of the connection. : MS-DOS Kermit does not include Linux console emulation. VT emulation uses 24 lines. The 25th line can be either Kermit's status line or a host-controlled status line, addressable directly, but not via scrolling. Try changing the terminal emulation to ANSI. It's not a perfect match but it allows the 25th line to be a like the other 24. Windows users, of course, would use Kermit 95, which supports Linux Console emulation directly: http://www.columbia.edu/kermit/k95.html - Frank From jrd@cc.usu.edu Fri Jun 21 19:33:18 EDT 2002 Article: 13473 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!nycmny1-snh1.gtei.net!news.gtei.net!newsfeed.mathworks.com!newsxfer.eecs.umich.edu!news.cc.utah.edu!cc.usu.edu!jrd From: jrd@cc.usu.edu (Joe Doupnik) Newsgroups: comp.protocols.kermit.misc Subject: Re: can MS Kermit display a 25 line terminal? Message-ID: Date: 21 Jun 02 17:15:50 MDT References: Organization: Utah State University Lines: 26 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13473 In article , Al Puzzuoli writes: > In article , fdc@columbia.edu > says... >> In article , >> Al Puzzuoli wrote: >> : I am using MS Kermit to telnet into a Linux box with emulation set to >> : vt100. By default, I am getting a 24 line 80 col display with a status >> : line at the bottom. However, I want to be able to play the ADOm, which >> : is a text mode game that requires a 25 line, 77 col display. Is it >> : possible to set MS Kermit to do this and if so, how? >> : >> SET MODE-LINE OFF >> >> - Frank >> > Hi Frank, > Thanks for this. The set mode-line off does get rid of the status line; > However, Kermit is still only writing to the first 24 lines of the > screen, and leaving the 25th line blank. I'm no terminal emulation > expert so I'm wondering if this is due to some setting at the Linux end > of the connection. -------- VTxxx terminals use only 24 lines for user data. The 25th line belongs to the terminal for status. Thus the answer is no, you can't get 25 lines of user data. Joe D. From charles_angelichNOSPAM@hotmail.com Mon Jun 24 09:35:04 EDT 2002 Article: 13474 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!fu-berlin.de!uni-berlin.de!2v120dialin88.famvid.COM!not-for-mail From: charles_angelichNOSPAM@hotmail.com (Charles Angelich) Newsgroups: comp.protocols.kermit.misc Subject: MSK zmodem Date: 24 Jun 2002 06:12:25 GMT Organization: none Lines: 17 Message-ID: References: NNTP-Posting-Host: 2v120dialin88.famvid.com (63.108.47.88) Mime-Version: 1.0 Content-Type: Text/Plain; charset=US-ASCII X-Trace: fu-berlin.de 1024899145 12397531 63.108.47.88 (16 [128113]) X-Newsreader: WinVN 0.99.9 (Released Version) (16bit) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13474 Hello Prof. Doupnik - Any chance you will be adding zmodem to MSK now that K95 has a zmodem transfer? -- Take Care - > > __ > | / \ \ USA, MI // \\ > \_\\ //_/ Crawling on The Web _\\()//_ > .'/()\'. Charles Angelich / // \\ \ > \\ // | \__/ | > www.undercoverdesign.com/dosghost > From arthur.marsh@adelaide.edu.au Tue Jun 25 09:33:07 EDT 2002 Article: 13475 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!nycmny1-snh1.gtei.net!news.gtei.net!news-out.visi.com!hermes.visi.com!news1.optus.net.au!optus!news0.optus.net.au!yorrell.saard.net!arthur-4100.its.adelaide.edu.au Message-ID: <3D17B494.6070106@adelaide.edu.au> From: Arthur Marsh User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Re: MSK zmodem References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Original-NNTP-Posting-Host: arthur-4100.its.adelaide.edu.au X-Original-Trace: 25 Jun 2002 09:38:43 +0950, arthur-4100.its.adelaide.edu.au Lines: 29 Date: Tue, 25 Jun 2002 00:08:46 GMT NNTP-Posting-Host: 203.21.37.20 X-Trace: news0.optus.net.au 1024963726 203.21.37.20 (Tue, 25 Jun 2002 10:08:46 EST) NNTP-Posting-Date: Tue, 25 Jun 2002 10:08:46 EST Organization: Optus Customer - reports relating to abuse should be sent to abuse@optus.net.au Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13475 Hi, I remember getting DSZ to be called from MSK. A free alternative like GSZ would also work. As for MSK, I believe that there was to be a release of the source code of the most recent beta but no further development. What applications are you still using MSK for? I can imagine that it still makes for an excellent single floppy terminal emulator (and I still have it installed on my BBS running MS-DOS software under Win95OSR2), but haven't seen MS-DOS in action for quite a while. Regards, Arthur. Charles Angelich wrote: > Hello Prof. Doupnik - > > Any chance you will be adding zmodem to MSK now that K95 > has a zmodem transfer? > -- 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 flo@uk.thalesgroup.com Tue Jun 25 09:33:13 EDT 2002 Article: 13477 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!news!not-for-mail From: Paul Williams Newsgroups: comp.protocols.kermit.misc Subject: Re: can MS Kermit display a 25 line terminal? Date: Tue, 25 Jun 2002 10:42:38 +0100 Organization: speaking for myself Lines: 10 Message-ID: <3D183B0E.E0F02282@uk.thalesgroup.com> References: NNTP-Posting-Host: sswc019.int.rdel.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: rdel.co.uk 1024998158 20104 172.21.150.60 (25 Jun 2002 09:42:38 GMT) X-Complaints-To: postmaster@uk.thalesgroup.com NNTP-Posting-Date: 25 Jun 2002 09:42:38 GMT X-Mailer: Mozilla 4.76 [en] (X11; U; SunOS 5.6 sun4m) X-Accept-Language: en Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13477 Joe Doupnik wrote: > > VTxxx terminals use only 24 lines for user data. The 25th line > belongs to the terminal for status. Thus the answer is no, you can't > get 25 lines of user data. Until you start emulating the VT500 series! They offer the choice between Local Status, Host-Writable and None. - Paul From deanrichardson @ yahoo.com Tue Jun 25 09:35:47 EDT 2002 Article: 13476 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!jfk3-feed1.news.algx.net!allegiance!news-out.visi.com!hermes.visi.com!cox.net!p01!news2.west.cox.net.POSTED!53ab2750!not-for-mail From: "Dean Richardson" Newsgroups: comp.protocols.kermit.misc Subject: Terminal personality change setup Lines: 7 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: Date: Tue, 25 Jun 2002 03:00:39 GMT NNTP-Posting-Host: 68.2.44.78 X-Complaints-To: abuse@cox.net X-Trace: news2.west.cox.net 1024974039 68.2.44.78 (Mon, 24 Jun 2002 23:00:39 EDT) NNTP-Posting-Date: Mon, 24 Jun 2002 23:00:39 EDT Organization: Cox Communications Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13476 How is kermit 95 configured to allow the host computer that you are connecting to, to switch your terminal emulation mode from vt100 to vt220 when it recieves CSI 62 1 " p or CSI 61 2 " p respectively? I know this should be simple, but I am just not getting it. Also what is this host based terminal mode switching called? From jaltman2@nyc.rr.com Tue Jun 25 09:57:34 EDT 2002 Article: 13478 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!news.stealth.net!news.stealth.net!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!not-for-mail Message-ID: <3D1875B4.10701@nyc.rr.com> From: "Jeffrey Altman [Road Runner]" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.4.1) Gecko/20020508 Netscape6/6.2.3 X-Accept-Language: en-us MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Re: can MS Kermit display a 25 line terminal? References: <3D183B0E.E0F02282@uk.thalesgroup.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 30 Date: Tue, 25 Jun 2002 13:49:18 GMT NNTP-Posting-Host: 66.108.138.151 X-Complaints-To: abuse@rr.com X-Trace: twister.nyc.rr.com 1025012958 66.108.138.151 (Tue, 25 Jun 2002 09:49:18 EDT) NNTP-Posting-Date: Tue, 25 Jun 2002 09:49:18 EDT Organization: Road Runner - NYC Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13478 The VT5xx supports terminal screens of arbitrary height. It is independent of the state of the Status Line. Status Line: None simply means the space allocated to the status line is empty. It does not mean the line can be written to by the host application. Why is that? Because the host application can switch the state of the Status Line at any time by use of a CSI sequence. Activation of the status line is a non-destructive operation to the rest of the display page. With the VT5xx you also have CSI sequences that allow the screen height to be resized not only the width as is found on terminals prior to the VT4xx series. Paul Williams wrote: > Joe Doupnik wrote: > >>VTxxx terminals use only 24 lines for user data. The 25th line >>belongs to the terminal for status. Thus the answer is no, you can't >>get 25 lines of user data. >> > > Until you start emulating the VT500 series! They offer the choice > between Local Status, Host-Writable and None. > > - Paul > From charles_angelichNOSPAM@hotmail.com Wed Jun 26 10:45:18 EDT 2002 Article: 13479 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!fu-berlin.de!uni-berlin.de!2v120dialin102.famvid.COM!not-for-mail From: charles_angelichNOSPAM@hotmail.com (Charles Angelich) Newsgroups: comp.protocols.kermit.misc Subject: Re: MSK zmodem Date: 26 Jun 2002 04:50:22 GMT Organization: none Lines: 52 Message-ID: References: <3D17B494.6070106@adelaide.edu.au> NNTP-Posting-Host: 2v120dialin102.famvid.com (63.108.47.102) Mime-Version: 1.0 Content-Type: Text/Plain; charset=US-ASCII X-Trace: fu-berlin.de 1025067022 13382521 63.108.47.102 (16 [128113]) X-Newsreader: WinVN 0.99.9 (Released Version) (16bit) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13479 >Hi, I remember getting DSZ to be called from MSK. > >A free alternative like GSZ would also work. I want to use MSK and zmodem on the Internet. GSZ won't do that but FDSZ will download but not upload. MSK has to be in _binary_ telnet mode (I think) before you shell out for FDSZ to work properly. >As for MSK, I believe that there was to be a release of the source code >of the most recent beta but no further development. I've never heard that development was to stop. Who told you that? >What applications are you still using MSK for? I can imagine that it >still makes for an excellent single floppy terminal emulator (and I >still have it installed on my BBS running MS-DOS software under >Win95OSR2), but haven't seen MS-DOS in action for quite a while. I use MSK as a telnet app. It's the most stable telnet app I have for DOS. You see MSDOS in action in Linux echos as dosemu and for system rescue, maintenance, and even some install routines. >Charles Angelich wrote: >> Hello Prof. Doupnik - >> >> Any chance you will be adding zmodem to MSK now that K95 >> has a zmodem transfer? >> > > >-- >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 > -- Take Care - > > __ > | / \ \ USA, MI // \\ > \_\\ //_/ Crawling on The Web _\\()//_ > .'/()\'. Charles Angelich / // \\ \ > \\ // | \__/ | > www.undercoverdesign.com/dosghost > From flo@uk.thalesgroup.com Wed Jun 26 10:45:26 EDT 2002 Article: 13480 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsfeed.arcor-online.net!newsfeed01.sul.t-online.de!newsfeed00.sul.t-online.de!t-online.de!kibo.news.demon.net!demon!lnewspeer01.lnd.ops.eu.uu.net!emea.uu.net!news!not-for-mail From: Paul Williams Newsgroups: comp.protocols.kermit.misc Subject: Re: can MS Kermit display a 25 line terminal? Date: Wed, 26 Jun 2002 09:26:40 +0100 Organization: speaking for myself Lines: 43 Message-ID: <3D197AC0.18C0E572@uk.thalesgroup.com> References: <3D183B0E.E0F02282@uk.thalesgroup.com> <3D1875B4.10701@nyc.rr.com> NNTP-Posting-Host: sswc019.int.rdel.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: rdel.co.uk 1025080000 26342 172.21.150.60 (26 Jun 2002 08:26:40 GMT) X-Complaints-To: postmaster@uk.thalesgroup.com NNTP-Posting-Date: 26 Jun 2002 08:26:40 GMT X-Mailer: Mozilla 4.76 [en] (X11; U; SunOS 5.6 sun4m) X-Accept-Language: en Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13480 "Jeffrey Altman [Road Runner]" wrote: > > The VT5xx supports terminal screens of arbitrary height. It is > independent of the state of the Status Line. Status Line: None > simply means the space allocated to the status line is empty. It > does not mean the line can be written to by the host application. > > Why is that? Because the host application can switch the state > of the Status Line at any time by use of a CSI sequence. Activation > of the status line is a non-destructive operation to the rest of the > display page. No, you are describing the behaviour of some older terminals. If it was always true for the VT500 Series, I wouldn't have mentioned it! On the VT500 Series, screen height is a function of page height as well as visibility of the status line. Please try the following experiment: 1. Set up "Lines per page" to just one page, so you get the largest possible scrollback buffer. 2. Set "Lines per screen" to "24, 25 or 26" 3. Set "Status display" to "Local status". How many lines on the main screen are now host-writable? 25. 4. Set "Status display" to "None". How many lines on the main screen are now host-writable? 26. The space formerly occupied by the status line has become part of the main screen. Activation of the status lines is *not* "non-destructive" to the rest of the display page. If you activate it again with the cursor on line 26, you'll see that the screen scrolls up one line so that the bottom line in the old display is still the bottom line, but the top line has now scrolled off. The behaviour you describe only occurs if the page size is limited to the screen size because in that case there is no more page data to put on the screen. Regards, Paul From test@test.com Wed Jun 26 10:46:52 EDT 2002 Article: 13481 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!nycmny1-snh1.gtei.net!cpk-news-hub1.bbnplanet.com!news.gtei.net!fu-berlin.de!uni-berlin.de!thc128.honors.arizona.EDU!not-for-mail From: "Jim Bayers" Newsgroups: comp.protocols.kermit.misc Subject: Install Disks Date: Wed, 26 Jun 2002 07:18:55 -0700 Lines: 12 Message-ID: NNTP-Posting-Host: thc128.honors.arizona.edu (128.196.52.128) X-Trace: fu-berlin.de 1025101136 13969335 128.196.52.128 (16 [78828]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13481 My install floppies for K95 v1.1 finally gave out. Is there a way I can get replacement disks? I am a registered user. I wouldn't be surprised if you asked for proof. I have the original floppies. email: bayers#honors#arizona#edu -- http://sf-f.org - SF, fantasy weblog and workshop. From fdc@columbia.edu Wed Jun 26 10:46:55 EDT 2002 Article: 13482 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Install Disks Date: 26 Jun 2002 10:46:45 -0400 Organization: Columbia University Lines: 9 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1025102806 14616 128.59.39.139 (26 Jun 2002 14:46:46 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 26 Jun 2002 14:46:46 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13482 In article , Jim Bayers wrote: : My install floppies for K95 v1.1 finally gave out. Is there a way I can get : replacement disks? I am a registered user. I wouldn't be surprised if you : asked for proof. I have the original floppies. : Send email to kermit-orders@columbia.edu. - Frank From jjpatteeuw@peoplepc.com Thu Jun 27 09:55:46 EDT 2002 Article: 13483 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!ord-feed.news.verio.net!stl-feed.news.verio.net!news.cc.ukans.edu!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cyclone.socal.rr.com!cyclone3.kc.rr.com!news3.kc.rr.com!twister.columbus.rr.com.POSTED!not-for-mail Message-ID: <3D1A60DB.ECDECAB2@peoplepc.com> From: Jack Patteeuw X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: K95 vs C-Kermit option Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 8 Date: Thu, 27 Jun 2002 00:46:31 GMT NNTP-Posting-Host: 24.208.250.56 X-Complaints-To: abuse@rr.com X-Trace: twister.columbus.rr.com 1025138791 24.208.250.56 (Wed, 26 Jun 2002 20:46:31 EDT) NNTP-Posting-Date: Wed, 26 Jun 2002 20:46:31 EDT Organization: Road Runner High Speed Online -- Columbus Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13483 The C-Kermit book doesn't list the SET TRANSACTION-LOG BRIEF/VERBOSE as a valid command. Is it and if so, can someone show an example of a BRIEF versus VERBOSE log file. Thanks !! -- Jack Patteeuw From msapiro@value.net Thu Jun 27 10:01:24 EDT 2002 Article: 13484 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!howland.erols.net!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!bcandid.telisphere.com!not-for-mail Message-ID: <3D1A870B.84FDABB4@value.net> From: Mark Sapiro Organization: Not Very Much X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en,en-US,en-GB MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Re: K95 vs C-Kermit option References: <3D1A60DB.ECDECAB2@peoplepc.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 24 Date: Thu, 27 Jun 2002 03:20:31 GMT NNTP-Posting-Host: 209.182.169.133 X-Complaints-To: abuse@telisphere.com X-Trace: bcandid.telisphere.com 1025148031 209.182.169.133 (Wed, 26 Jun 2002 20:20:31 PDT) NNTP-Posting-Date: Wed, 26 Jun 2002 20:20:31 PDT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13484 Jack Patteeuw wrote: > > The C-Kermit book doesn't list the SET TRANSACTION-LOG BRIEF/VERBOSE as a valid > command. Is it and if so, can someone show an example of a BRIEF versus VERBOSE > log file. Using C-Kermit, second edition (the latest available) covers C-Kermit through version 6.0. The new transaction log formats were added in version 7.0 and are documented in section 4.17 of the C-Kermit 7.0 update document. The verbose format is as described in the book and the brief format is described in the update. There is a link to the update document in the "Index to Reference Materials" section of the K95 online manual. This link is called either "Supplement to Using C-Kermit, 2nd Edition" or "Supplement to Using C-Kermit, 2nd Edition for C-Kermit 7.0" depending on which K95 version you have. The update is also on the Columbia website. The section on Transaction Log Formats is http://www.columbia.edu/kermit/ckermit70.html#x4.17 -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From entfred@hotmail.com Thu Jun 27 15:16:59 EDT 2002 Article: 13485 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: entfred@hotmail.com (Entfred) Newsgroups: comp.protocols.kermit.misc Subject: Please Help! Possible Windows 2000 bug interacting with K95 Date: 27 Jun 2002 11:55:27 -0700 Organization: http://groups.google.com/ Lines: 47 Message-ID: NNTP-Posting-Host: 140.147.127.146 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1025204129 31171 127.0.0.1 (27 Jun 2002 18:55:29 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 27 Jun 2002 18:55:29 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13485 Have Kermit Version 1.1.20. I looked at the K95 bug list and could not find this problem I am having. When I type k95 at the DOS prompt (under Windows 2000), weird things happen: 1. Microsoft Location information box is displayed prompting me like this: Before you can make any phone or modem connections, Windows needs the following information about your current location. What country/region are you in now? What area code (or city code) are you in now? if you dial a number to access an outside line, what is it? The phone system at this location uses: Tone dialing Pulse dialing OK Cancel I press the cancel button and there is a Confirm Cancel box: Windows needs telephone information about the location from which you will be dialing. If you cancel without providing this information, this program may not function correctly when dialing. In addition, some applications respond to your canceling this dialog box by immediatly re-posting it. Are you sure you want to cancel? Yes No I press Yes and the Location Information box, I mentioned earlier, comes up again. I repeat the cancel and Yes button pushes and then k95 runs fine. The above works whether I am at the DOS prompt or running a k95 script. Does anyone know what might be wrong? Thanks! Entfred From fdc@columbia.edu Thu Jun 27 15:17:02 EDT 2002 Article: 13486 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Please Help! Possible Windows 2000 bug interacting with K95 Date: 27 Jun 2002 15:16:55 -0400 Organization: Columbia University Lines: 33 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1025205417 23850 128.59.39.139 (27 Jun 2002 19:16:57 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 27 Jun 2002 19:16:57 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13486 In article , Entfred wrote: : Have Kermit Version 1.1.20. : The current version is 2.0 (not that it matters for this report): http://www.columbia.edu/kermit/k95.html : I looked at the K95 bug list and could not find this problem I am having. : It's related bug number 215: http://www.columbia.edu/kermit/k95bugs.html#b215 : When I type k95 at the DOS prompt (under Windows 2000), : weird things happen: : : 1. Microsoft Location information box is displayed prompting me : like this: : : Before you can make any phone or modem connections, : Windows needs the following information about your current : location. : : What country/region are you in now? : : What area code (or city code) are you in now? : etc... If you answer these questions, Windows will stop asking them. - Frank From jaltman2@nyc.rr.com Thu Jun 27 16:38:45 EDT 2002 Article: 13487 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!ord-feed.news.verio.net!stl-feed.news.verio.net!newsreader.wustl.edu!gumby.it.wmich.edu!aanews.merit.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!not-for-mail Message-ID: <3D1B76EF.3090902@nyc.rr.com> From: "Jeffrey Altman [Road Runner]" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.4.1) Gecko/20020508 Netscape6/6.2.3 X-Accept-Language: en-us MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Re: Please Help! Possible Windows 2000 bug interacting with K95 References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 57 Date: Thu, 27 Jun 2002 20:32:27 GMT NNTP-Posting-Host: 66.108.138.151 X-Complaints-To: abuse@rr.com X-Trace: twister.nyc.rr.com 1025209947 66.108.138.151 (Thu, 27 Jun 2002 16:32:27 EDT) NNTP-Posting-Date: Thu, 27 Jun 2002 16:32:27 EDT Organization: Road Runner - NYC Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13487 Kermit 95 uses the Windows Telephony API (TAPI). When the first TAPI aware application is started on the computer, Windows will prompt the user for information so that the TAPI Subsystem can be initialized. Entfred wrote: > Have Kermit Version 1.1.20. > > I looked at the K95 bug list and could not find this problem I am having. > > When I type k95 at the DOS prompt (under Windows 2000), > weird things happen: > > 1. Microsoft Location information box is displayed prompting me > like this: > > Before you can make any phone or modem connections, > Windows needs the following information about your current > location. > > What country/region are you in now? > > What area code (or city code) are you in now? > > if you dial a number to access an outside line, what is it? > > The phone system at this location uses: > Tone dialing Pulse dialing > > OK Cancel > > I press the cancel button and there is a Confirm Cancel box: > > Windows needs telephone information about the location from which > you will be dialing. If you cancel without providing this > information, this program may not function correctly when > dialing. In addition, some applications respond to your > canceling this dialog box by immediatly re-posting it. > Are you sure you want to cancel? > > Yes No > > I press Yes and the Location Information > box, I mentioned earlier, comes up again. > > I repeat the cancel and Yes button pushes and > then k95 runs fine. > > The above works whether I am at the DOS prompt or running a k95 script. > > Does anyone know what might be wrong? Thanks! > > Entfred > From tspivey8@telus.net Sun Jun 30 11:13:15 EDT 2002 Article: 13490 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: tspivey8@telus.net (Tyler Spivey) Newsgroups: comp.protocols.kermit.misc Subject: ms-kermit and alt keys Date: 29 Jun 2002 12:55:49 -0700 Organization: http://groups.google.com/ Lines: 16 Message-ID: NNTP-Posting-Host: 66.183.51.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1025380550 26144 127.0.0.1 (29 Jun 2002 19:55:50 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 29 Jun 2002 19:55:50 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13490 hello. how do i get my alt keys to work under ms-dos kermit 3.14? if i do an alt-r in kermit, with: set term by 8 set term cont 8 it doesn't work. it's set at the default vt320, and i did: export TERM=vt320 the machine i'm connecting to is linux, through a null modem cable. so basicly my question is: how do i send alt (or meta) keys through the serial port on an 8 bit (stty cs8) connection? and can i send alt-f keys? sorry for all the questions - but how would i check if vt320 is defined in my system at all? From fdc@columbia.edu Sun Jun 30 11:13:18 EDT 2002 Article: 13491 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: ms-kermit and alt keys Date: 30 Jun 2002 11:13:08 -0400 Organization: Columbia University Lines: 39 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1025449989 16798 128.59.39.139 (30 Jun 2002 15:13:09 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 30 Jun 2002 15:13:09 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13491 In article , Tyler Spivey wrote: : how do i get my alt keys to work under ms-dos kermit 3.14? : It depends on what you want them to do. : if i do an alt-r in kermit, with: : set term by 8 : set term cont 8 : it doesn't work. : it's set at the default vt320, : and i did: : export TERM=vt320 : the machine i'm connecting to is linux, through a null modem cable. : Alt-r is Reset Terminal, as you can see by giving a SHOW KEY command and then entering Alt-r. : so basicly my question is: : how do i send alt (or meta) keys through the serial port on an 8 bit : (stty cs8) connection? : and can i send alt-f keys? : You can map any key to send whatever you want. By default Alt keys are mapped to various functions. There is no Alt = Meta option in MS-DOS Kermit. You can find a selection of sample key mapping files in MS-DOS Kermit's KEYBOARD subdirectory. : sorry for all the questions - but how would i check if vt320 is : defined in my system at all? export term=vt320 emacs If EMACS starts up normally, vt320 is supported. - Frank From jjpatteeuw@peoplepc.com Sun Jun 30 13:53:41 EDT 2002 Article: 13492 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsfeed.mathworks.com!newsfeed.cwix.com!newsfeed1.cidera.com!Cidera!cyclone.socal.rr.com!cyclone3.kc.rr.com!news3.kc.rr.com!twister.columbus.rr.com.POSTED!not-for-mail Message-ID: <3D1F3AFE.FC0D1092@peoplepc.com> From: Jack Patteeuw X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Re: REPEAT COUNTS References: <3D1DCAEE.18B634CC@peoplepc.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 81 Date: Sun, 30 Jun 2002 17:06:12 GMT NNTP-Posting-Host: 24.208.250.56 X-Complaints-To: abuse@rr.com X-Trace: twister.columbus.rr.com 1025456772 24.208.250.56 (Sun, 30 Jun 2002 13:06:12 EDT) NNTP-Posting-Date: Sun, 30 Jun 2002 13:06:12 EDT Organization: Road Runner High Speed Online -- Columbus Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13492 Frank da Cruz wrote: . . . > It's a byte-oriented variation of run-length encoding. Simple but sometimes > remarkably effective. Like everything else in Kermit, the user can control > it -- turn it on or off, choose the repeat-count prefix, etc, although there > is rarely a need to bother. It's on by default. You guys keep making it easier and easier !! Speaking of "High-Speed Kermit FIle Transfer", we have been doing some benchmarks and the defaults for C-Kermit 7.x and K95 2.x seem to have all of the "tricks" discussed in Chapter 12 turned on. However, when downloading out test case (lptest 127 8192) from a VAX/VMS V7.2, STA /VERBOSE says it used 0 windows ? Why ? And is there anything we are missing to get maximum performance ? C-Kermit>stat /verb protocol : Kermit status : SUCCESS remote system type : Windows-32 files transferred : 1 files not transferred : 0 characters last file : 1056769 total file characters : 0 communication line in : 33 communication line out : 34 packets sent : 2 packets received : 2 damaged packets rec'd : 0 timeouts : 0 retransmissions : 0 parity : none control characters : 0 prefixed, 0 unprefixed 8th bit prefixing : no locking shifts : no window slots used : 0 of 30 reliable: : not negotiated clearchannel: : not negotiated packet length : 3999 (send), 4000 (receive) compression : yes [~] (0) block check type used : 1 elapsed time : 00:04:47 (286.577 sec) effective data rate : 3687 cps K-95> stat /verb protocol : Kermit status : SUCCESS remote system type : VMS files transferred : 1 files not transferred : 0 characters last file : 1056768 total file characters : 1056768 communication line in : 1097983 communication line out : 2336 packets sent : 288 packets received : 288 damaged packets rec'd : 0 timeouts : 0 retransmissions : 0 parity : none control characters : 16384 prefixed, 0 unprefixed 8th bit prefixing : no locking shifts : no window slots used : 1 of 30 reliable: : not negotiated clearchannel: : not negotiated packet length : 3999 (send), 4000 (receive) compression : yes [~] (0) block check type used : 3 elapsed time : 00:04:47 (286.582 sec) transmission rate : 57600 bps effective data rate : 3687 cps -- Jack Patteeuw From fdc@columbia.edu Sun Jun 30 13:53:44 EDT 2002 Article: 13493 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: REPEAT COUNTS Date: 30 Jun 2002 13:53:32 -0400 Organization: Columbia University Lines: 30 Message-ID: References: <3D1DCAEE.18B634CC@peoplepc.com> <3D1F3AFE.FC0D1092@peoplepc.com> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1025459613 22878 128.59.39.139 (30 Jun 2002 17:53:33 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 30 Jun 2002 17:53:33 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13493 In article <3D1F3AFE.FC0D1092@peoplepc.com>, Jack Patteeuw wrote: : Frank da Cruz wrote: : > It's a byte-oriented variation of run-length encoding. Simple but : > sometimes remarkably effective. Like everything else in Kermit, the user : > can control it -- turn it on or off, choose the repeat-count prefix, etc, : > although there is rarely a need to bother. It's on by default. : : You guys keep making it easier and easier !! : : Speaking of "High-Speed Kermit FIle Transfer", we have been doing some : benchmarks and the defaults for C-Kermit 7.x and K95 2.x seem to have all : of the "tricks" discussed in Chapter 12 turned on. However, when : downloading out test case (lptest 127 8192) from a VAX/VMS V7.2, STA : /VERBOSE says it used 0 windows ? Why ? And is there anything we are : missing to get maximum performance ? : When using modern Kermit versions (like the ones you have), the protocol automatically switches to streaming mode instead of sliding windows if either of the Kermit programs knows that it has a reliable connection: http://www.columbia.edu/kermit/ckermit70.html#x4.20 Even when sliding windows are used, the receiver is not conscious of them unless there have been transmission errors, and the sender uses only as many window slots as it actually needs. The sender's window grows only when there is a long round-trip delay, or when there are transmission errors. - Frank From fdc@columbia.edu Sun Jun 30 15:11:45 EDT 2002 Article: 13494 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Typing Cyrillic on a Roman keyboard Date: 30 Jun 2002 14:05:16 -0400 Organization: Columbia University Lines: 28 Message-ID: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1025460317 23483 128.59.39.139 (30 Jun 2002 18:05:17 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 30 Jun 2002 18:05:17 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13494 Those of you who have been experimenting with Kermit 95's character-set features might have stumbled upon something called Russian Keyboard Mode, which is explained in the online Kermit 95 manual. This lets you type Russian text even if you don't have a Cyrillic keyboard or a Russian (or Ukrainian, etc) keyboard driver. K95's built-in Russian keyboard mode uses the normal Russian layout, which is not especially handy for people who have Roman (Latin, English, West European, etc) keyboards. Here's a new key map for K95 Russian Keyboard Mode that lets you type Russian "by sound" on a Roman Keyboard: Roman A sends Cyrillic A, Roman B sends Cyrillic Be, Roman C sends Cyrillic Tse, and so on, according to the mappings of KOI8 (USSR GOST 19768-76): ftp://kermit.columbia.edu/kermit/k95/koikeys It's quite easy to pick up, and it works for any TERMINAL CHARACTER-SET that is (or includes) Cyrillic, such as KOI8, KOI8R, KOI8U, ISO Latin/Cyrillic, or Unicode UTF-8. Just download this file, TAKE it, and then whenever you switch to Russian Keyboard Mode (Ctrl-Alt-Shift-R), you'll have the ASCII-friendly mappings rather than the Russian keyboard layout. Obviously the host you are viewing through your terminal window must allow the use of 8-bit characters, but that's the rule these days (and for those that don't, there is still 7-bit SHORT-KOI). - Frank From fdc@columbia.edu Tue Jul 2 15:17:38 EDT 2002 Article: 13495 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.sys.hp.hpux,comp.protocols.kermit.misc Subject: Need Kermit Diskette for HP-9816 200/300 BASIC Workstation Date: 2 Jul 2002 15:14:47 -0400 Organization: Columbia University Lines: 19 Message-ID: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1025637289 10895 128.59.39.139 (2 Jul 2002 19:14:49 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 2 Jul 2002 19:14:49 GMT Xref: newsmaster.cc.columbia.edu comp.sys.hp.hpux:149774 comp.protocols.kermit.misc:13495 On behalf of a user who badly needs to get some scientific data into and out of an HP 9816 Series 200/300 BASIC workstation. We have the Kermit program for his computer here: ftp://kermit.columbia.edu/kermit/c/hpb*.* but there is no good way to get it onto the workstation. We have only the HP BASIC source, which is in some kind of weird tokenized binary format (our copy of which is hexified), so it's not even possible to key in the program. In fact, we never did have a good way of distributing this program; the only practical way to get it in days of yore was from user groups who could make native diskettes. If you have, or can make, an HP-9816 Kermit diskette and send it to the user (in Germany) or to us (in New York) for forwarding, please let me know. - Frank From john@unixnerd.demon.co.uk Tue Jul 2 19:44:03 EDT 2002 Article: 13496 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!howland.erols.net!peer-feed.news.demon.net.MISMATCH!kibo.news.demon.net!news.demon.co.uk!demon!unixnerd.demon.co.uk!not-for-mail From: John Burns Newsgroups: comp.sys.hp.hpux,comp.protocols.kermit.misc Subject: Re: Need Kermit Diskette for HP-9816 200/300 BASIC Workstation Date: Tue, 02 Jul 2002 23:08:09 +0100 Organization: Cyber Services Ltd. Message-ID: <3D222449.7488@unixnerd.demon.co.uk> References: NNTP-Posting-Host: unixnerd.demon.co.uk X-NNTP-Posting-Host: unixnerd.demon.co.uk:194.222.120.152 X-Trace: news.demon.co.uk 1025647926 nnrp-13:4860 NO-IDENT unixnerd.demon.co.uk:194.222.120.152 X-Complaints-To: abuse@demon.net X-Mailer: Mozilla 3.01Gold (X11; I; HP-UX B.10.10 9000/712) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 14 Xref: newsmaster.cc.columbia.edu comp.sys.hp.hpux:149778 comp.protocols.kermit.misc:13496 > On behalf of a user who badly needs to get some scientific data into and > out of an HP 9816 Series 200/300 BASIC workstation. We have the Kermit > program for his computer here: Why not put it on floppy and read it using lifcp on unix? We use SRM-UX to network 382s into newer unix boxes but I'm not sure if that'll run on a 9816. -- Who needs a life when you've got Unix? :-) Email: john@unixnerd.demon.co.uk, John G.Burns B.Eng, Bonny Scotland Web : http://www.unixnerd.demon.co.uk - The Ultimate BMW Homepage! Need Sun or HP Unix kit? http://www.unixnerd.demon.co.uk/unix.html From fdc@columbia.edu Tue Jul 2 19:44:05 EDT 2002 Article: 13497 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.sys.hp.hpux,comp.protocols.kermit.misc Subject: Re: Need Kermit Diskette for HP-9816 200/300 BASIC Workstation Date: 2 Jul 2002 19:43:56 -0400 Organization: Columbia University Lines: 16 Message-ID: References: <3D222449.7488@unixnerd.demon.co.uk> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1025653437 22196 128.59.39.139 (2 Jul 2002 23:43:57 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 2 Jul 2002 23:43:57 GMT Xref: newsmaster.cc.columbia.edu comp.sys.hp.hpux:149780 comp.protocols.kermit.misc:13497 In article <3D222449.7488@unixnerd.demon.co.uk>, John Burns wrote: : > On behalf of a user who badly needs to get some scientific data into and : > out of an HP 9816 Series 200/300 BASIC workstation. We have the Kermit : > program for his computer here: : : Why not put it on floppy and read it using lifcp on unix? : I don't believe the HP 9816 has Unix. All the user sees is a BASIC interpreter. I have no first-hand experience with the HP 9816 but I'm pretty sure it has a unique diskette format, and would be surprised if it had a tool to read DOS-format diskettes. - Frank From mikko.nahkola@nokia.com Thu Jul 4 14:53:45 EDT 2002 Article: 13498 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!ord-feed.news.verio.net!stl-feed.news.verio.net!news.cc.ukans.edu!logbridge.uoregon.edu!newsfeed1.bredband.com!bredband!uio.no!newsfeed.song.fi!nntp.inet.fi!inet.fi!newsfeed1.nokia.com!news1.nokia.com!mnahkola Newsgroups: comp.sys.hp.hpux,comp.protocols.kermit.misc From: mnahkola@aurinko.ntc.nokia.com Subject: Re: Need Kermit Diskette for HP-9816 200/300 BASIC Workstation References: <3D222449.7488@unixnerd.demon.co.uk> Reply-To: mikko.nahkola@nokia.com User-Agent: slrn/0.9.7.0 (NetBSD) Lines: 33 Message-ID: Date: Wed, 03 Jul 2002 06:42:18 GMT NNTP-Posting-Host: 172.22.105.49 X-Complaints-To: newsmaster@nokia.com X-Trace: news1.nokia.com 1025678538 172.22.105.49 (Wed, 03 Jul 2002 09:42:18 EET DST) NNTP-Posting-Date: Wed, 03 Jul 2002 09:42:18 EET DST Organization: Nokia Xref: newsmaster.cc.columbia.edu comp.sys.hp.hpux:149789 comp.protocols.kermit.misc:13498 In article , Frank da Cruz wrote: > John Burns wrote: >: > On behalf of a user who badly needs to get some scientific data into and >: > out of an HP 9816 Series 200/300 BASIC workstation. We have the Kermit >: > program for his computer here: >: Why not put it on floppy and read it using lifcp on unix? > I don't believe the HP 9816 has Unix. All the user sees is a BASIC > interpreter. > I have no first-hand experience with the HP 9816 but I'm pretty sure it > has a unique diskette format, and would be surprised if it had a tool to > read DOS-format diskettes. Well, I'd be surprised too if such a beast could do DOS floppies, but John wasn't talking about DOS floppies either. He probably only misspelled "write" as "read" up there... Several of HP's proprietary boxes used LIF floppies. Those can be handled by HP-UX tools - indeed, the HP-UX on-disk boot area is a LIF "filesystem" too. So you might have some luck in writing the stuff to a floppy on a HP-UX box using lifcp. And there's a Linux LIF-utility set too somewhere on the 'net, if you don't have a HP-UX box available. -- Mikko Nahkola My ideas, not my employer's. No warranty. YMMV. #include From tt+gn20020703T145610@it.jyu.fi Thu Jul 4 14:54:21 EDT 2002 Article: 13499 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!nycmny1-snh1.gtei.net!cpk-news-hub1.bbnplanet.com!news.gtei.net!news.maxwell.syr.edu!uio.no!newsfeed.song.fi!newsfeed.kolumbus.fi!mordred.cc.jyu.fi!not-for-mail From: tt+gn20020703T145610@it.jyu.fi Newsgroups: comp.sys.hp.hpux,comp.protocols.kermit.misc Subject: Re: Need Kermit Diskette for HP-9816 200/300 BASIC Workstation Date: 03 Jul 2002 15:00:56 +0300 Organization: University of Jyvaskyla, Finland Lines: 27 Message-ID: References: <3D222449.7488@unixnerd.demon.co.uk> NNTP-Posting-Host: thorion.it.jyu.fi Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: mordred.cc.jyu.fi 1025697634 9218 130.234.160.129 (3 Jul 2002 12:00:34 GMT) X-Complaints-To: newsmaster@cc.jyu.fi NNTP-Posting-Date: Wed, 3 Jul 2002 12:00:34 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: newsmaster.cc.columbia.edu comp.sys.hp.hpux:149793 comp.protocols.kermit.misc:13499 mnahkola@aurinko.ntc.nokia.com writes: > In article , Frank da Cruz wrote: > > John Burns wrote: > > >: > On behalf of a user who badly needs to get some scientific data into and > >: > out of an HP 9816 Series 200/300 BASIC workstation. We have the Kermit > >: > program for his computer here: > Several of HP's proprietary boxes used LIF floppies. Those can be handled > by HP-UX tools - indeed, the HP-UX on-disk boot area is a LIF > "filesystem" too. So you might have some luck in writing the stuff to a > floppy on a HP-UX box using lifcp. Yep, that should work, although unless I'm badly mistaken the 9816 only understands 720kB floppies. Finding an HP-UX box with floppy drive may not be trivial however. > And there's a Linux LIF-utility set too somewhere on the 'net, if you > don't have a HP-UX box available. The one such utility I'm familiar with is designed for HP9144 floppy drive using somewhat unusual format (256-byte sectors) which may not work in the 9121 drive used in the 9816. -- Tapani Tarvainen From john@seaway.demon.co.uk Thu Jul 4 14:55:05 EDT 2002 Article: 13501 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsfeed.arcor-online.net!newsfeed01.sul.t-online.de!newsfeed00.sul.t-online.de!t-online.de!kibo.news.demon.net!news.demon.co.uk!demon!seaway.demon.co.uk!not-for-mail From: "John G.Burns" Newsgroups: comp.sys.hp.hpux,comp.protocols.kermit.misc Subject: Re: Need Kermit Diskette for HP-9816 200/300 BASIC Workstation Date: Wed, 03 Jul 2002 15:06:27 +0100 Organization: SCS Message-ID: <3D2304E3.7C95@seaway.demon.co.uk> References: <3D222449.7488@unixnerd.demon.co.uk> NNTP-Posting-Host: seaway.demon.co.uk X-NNTP-Posting-Host: seaway.demon.co.uk:158.152.9.101 X-Trace: news.demon.co.uk 1025705026 nnrp-01:14614 NO-IDENT seaway.demon.co.uk:158.152.9.101 X-Complaints-To: abuse@demon.net X-Mailer: Mozilla 3.01Gold (X11; I; HP-UX B.10.20 9000/782) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 21 Xref: newsmaster.cc.columbia.edu comp.sys.hp.hpux:149800 comp.protocols.kermit.misc:13501 > Yep, that should work, although unless I'm badly mistaken the 9816 > only understands 720kB floppies. Finding an HP-UX box with floppy > drive may not be trivial however. > The one such utility I'm familiar with is designed for HP9144 floppy > drive using somewhat unusual format (256-byte sectors) which may > not work in the 9121 drive used in the 9816. There are some HP floppies (9122C/D?) which will do 1.44Mb, an external HPIB box is maybe the best idea. I wonder if you can plug a normal floppy drive into an HP 9122 to upgrade it? -- "It is better to remain silent & be thought a fool than to open your mouth in a meeting with users & prove it." Ancient programming proverb Views expressed here are not those of Stolt Offshore. Aberdeen, Bonny Scotland Business john@seaway.demon.co.uk Home page http://www.unixnerd.demon.co.uk john@unixnerd.demon.co.uk From mikko.nahkola@nokia.com Thu Jul 4 14:55:34 EDT 2002 Article: 13502 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.mailgate.org!fr.usenet-edu.net!usenet-edu.net!deine.net!news.stealth.net!news.stealth.net!newsfeed.song.fi!nntp.inet.fi!inet.fi!newsfeed1.nokia.com!news1.nokia.com!news2.nokia.com.POSTED!mnahkola Newsgroups: comp.sys.hp.hpux,comp.protocols.kermit.misc From: mnahkola@aurinko.ntc.nokia.com Subject: Re: Need Kermit Diskette for HP-9816 200/300 BASIC Workstation References: <3D222449.7488@unixnerd.demon.co.uk> Reply-To: mikko.nahkola@nokia.com User-Agent: slrn/0.9.7.0 (NetBSD) Lines: 50 Message-ID: Date: Thu, 04 Jul 2002 08:31:17 GMT NNTP-Posting-Host: 172.22.105.49 X-Complaints-To: newsmaster@nokia.com X-Trace: news2.nokia.com 1025771477 172.22.105.49 (Thu, 04 Jul 2002 11:31:17 EET DST) NNTP-Posting-Date: Thu, 04 Jul 2002 11:31:17 EET DST Organization: Nokia Xref: newsmaster.cc.columbia.edu comp.sys.hp.hpux:149819 comp.protocols.kermit.misc:13502 In article , tt+gn20020703T145610@it.jyu.fi wrote: > mnahkola@aurinko.ntc.nokia.com writes: >> In article , Frank da Cruz wrote: >> > John Burns wrote: >> >: > On behalf of a user who badly needs to get some scientific data into and >> >: > out of an HP 9816 Series 200/300 BASIC workstation. We have the Kermit >> >: > program for his computer here: > >> Several of HP's proprietary boxes used LIF floppies. Those can be handled >> by HP-UX tools - indeed, the HP-UX on-disk boot area is a LIF >> "filesystem" too. So you might have some luck in writing the stuff to a >> floppy on a HP-UX box using lifcp. > > Yep, that should work, although unless I'm badly mistaken the 9816 > only understands 720kB floppies. Finding an HP-UX box with floppy > drive may not be trivial however. But finding one that has an empty connector for a PC floppy drive should be quite easy... easier than finding a working SCSI floppy drive, I'd say. >> And there's a Linux LIF-utility set too somewhere on the 'net, if you >> don't have a HP-UX box available. > The one such utility I'm familiar with is designed for HP9144 floppy > drive using somewhat unusual format (256-byte sectors) which may > not work in the 9121 drive used in the 9816. The one at http://www.hpcc.org/hpil/lif_utils.html ? Oh well ... I didn't see that mentioned on the page, and indeed, I can't seem to read a HP-UX -written LIF floppy with those. And the stuff at http://www.uni-karlsruhe.de/Uni/RZ/Betriebssysteme/HP-UX/lif/ don't seem to work right for me, I managed to mangle my test LIF floppy pretty bad with them but that may be due to the laptop's odd floppy drive too... and besides there's no lifinit there. In any case, _reading_ from a HP-UX-created LIF floppy seems to work, it's the writing part that has problems... if it were the other way round this might have been sort of a solution. In any case, the DOS utility set seems to be still available at ftp://ftp.mcc.ac.uk/pub/dos/ ... wonder if it would run under dosemu... -- Mikko Nahkola My ideas, not my employer's. No warranty. YMMV. #include From franks@support.neth.hp.com Thu Jul 4 14:55:49 EDT 2002 Article: 13500 of comp.protocols.kermit.misc From: Frank Slootweg Newsgroups: comp.sys.hp.hpux,comp.protocols.kermit.misc Subject: Re: Need Kermit Diskette for HP-9816 200/300 BASIC Workstation Date: 3 Jul 2002 11:34:46 GMT Organization: HP's Dutch Customer Response Center Lines: 36 Message-ID: References: <3D222449.7488@unixnerd.demon.co.uk> Reply-To: Frank Slootweg NNTP-Posting-Host: support.neth.hp.com User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (HP-UX/B.10.20 (9000/800)) Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsfeed.mathworks.com!news.mathworks.com!uunet!nyc.uu.net!ash.uu.net!news.compaq.com!hpb10302.boi.hp.com!news.cup.hp.com!support.neth.hp.com!not-for-mail Xref: newsmaster.cc.columbia.edu comp.sys.hp.hpux:149794 comp.protocols.kermit.misc:13500 Frank da Cruz wrote: > In article <3D222449.7488@unixnerd.demon.co.uk>, > John Burns wrote: > : > On behalf of a user who badly needs to get some scientific data into and > : > out of an HP 9816 Series 200/300 BASIC workstation. We have the Kermit > : > program for his computer here: > : > : Why not put it on floppy and read it using lifcp on unix? > : > I don't believe the HP 9816 has Unix. All the user sees is a BASIC > interpreter. > > I have no first-hand experience with the HP 9816 but I'm pretty sure it > has a unique diskette format, and would be surprised if it had a tool to > read DOS-format diskettes. Adding to Miikko's reply: The HP 9816's "unique diskette format" is HP LIF (Logical Interchange Format), hence the reference to lifcp (LIF copy). lifcp is mainly available on *HP-UX* systems. So you need *someone* (you?) who has an *HP-UX* (not "unix") system *with* a floppy drive. If you have that, then: - Get the needed files onto that system. - Use lifcp(1) on that system to copy the files to diskette in *HP LIF*. Make sure that you copy the files in binary mode. ("-b" or "-r"). Copy the files back to HP-UX so you know you did it correctly. - Read the LIF diskette on the HP 9816 (the HP 9816 understands LIF). BTW, there are also LIF utilities for (non-UNIX/non-HP-UX) PCs. (Google) Search comp.sys.hp.* on "LIF" and my name and you will find many pointers. From franks@support.neth.hp.com Thu Jul 4 14:57:13 EDT 2002 Article: 13503 of comp.protocols.kermit.misc From: Frank Slootweg Newsgroups: comp.sys.hp.hpux,comp.protocols.kermit.misc Subject: Re: Need Kermit Diskette for HP-9816 200/300 BASIC Workstation Date: 4 Jul 2002 12:04:42 GMT Organization: HP's Dutch Customer Response Center Lines: 61 Message-ID: References: <3D222449.7488@unixnerd.demon.co.uk> Reply-To: Frank Slootweg NNTP-Posting-Host: support.neth.hp.com User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (HP-UX/B.10.20 (9000/800)) Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!paloalto-snf1.gtei.net!news.gtei.net!news.compaq.com!hpb10302.boi.hp.com!news.cup.hp.com!support.neth.hp.com!not-for-mail Xref: newsmaster.cc.columbia.edu comp.sys.hp.hpux:149826 comp.protocols.kermit.misc:13503 Yesterday I wrote: > Adding to Mikko's reply: > > The HP 9816's "unique diskette format" is HP LIF (Logical Interchange > Format), hence the reference to lifcp (LIF copy). lifcp is mainly > available on *HP-UX* systems. > > So you need *someone* (you?) who has an *HP-UX* (not "unix") system > *with* a floppy drive. If you have that, then: [deleted] I have an HP-UX system with a (1.44MB/720KB) floppy drive, so if I can help, let me know. Whoever does the work, I think it is best if: - The 'target' sends hir *two* HP 9816 format diskettes: - One with some ASCII and binary files to be used for testing, with information about these files, i.e. content (for the ASCII one), sizes in bytes, (if possible) (UNIX) checksums, like "sum", "sum -r", "cksume", etc.. If possible include (a) file(s) of the same type as the needed files, so that the right type can be checked when the work is (being) done. - One 'empty', but already (HP 9816) formatted, one. - You send hir the files to be put on the empty diskette. Files should be in ready-to-use format, i.e. not "hexified". I advice to us a shar(1) archive, so that transmission/unpacking errors can be prevented/detected. - The person doing the work sends both diskettes back to the 'target'. Note: Coming to think of it, you do not really need an HP-UX system with a diskette drive. You could also do it with: - lifinit and lifcp on any system. (Other posters have mentioned that there are Linux versions as well. And there are DOS versions as well, at least like lifcp. Do not know if these (DOS) versions can write LIF archive *files*.) - Any UNIX/Linux system with a diskette drive of the right type. You can then lifinit/lifcp stuff to a LIF archive *file* and dd(1) the LIF archive file to the diskette. Note 2: I see that the original problem statement was: > On behalf of a user who badly needs to get some scientific data into and > out of an HP 9816 Series 200/300 BASIC workstation. If this data fits on one diskette (at a time), then perhaps Kermit is not needed at all, and all data transfer can be done by using HP 9816 format diskettes on the HP 9816 and a lifcp-like program on the source/ target platform. BTW, what *is* the source/target platform (i.e. hardware?, OS?, diskette drive?, etc.). From mikko.nahkola@nokia.com Thu Jul 4 15:59:28 EDT 2002 Article: 13504 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!newsfeed.vmunix.org!uio.no!newsfeed.song.fi!nntp.inet.fi!inet.fi!newsfeed1.nokia.com!news1.nokia.com!mnahkola Newsgroups: comp.sys.hp.hpux,comp.protocols.kermit.misc From: mnahkola@aurinko.ntc.nokia.com Subject: Re: Need Kermit Diskette for HP-9816 200/300 BASIC Workstation References: <3D222449.7488@unixnerd.demon.co.uk> Reply-To: mikko.nahkola@nokia.com User-Agent: slrn/0.9.7.0 (NetBSD) Lines: 84 Message-ID: Date: Thu, 04 Jul 2002 13:07:31 GMT NNTP-Posting-Host: 172.22.105.49 X-Complaints-To: newsmaster@nokia.com X-Trace: news1.nokia.com 1025788051 172.22.105.49 (Thu, 04 Jul 2002 16:07:31 EET DST) NNTP-Posting-Date: Thu, 04 Jul 2002 16:07:31 EET DST Organization: Nokia Xref: newsmaster.cc.columbia.edu comp.sys.hp.hpux:149828 comp.protocols.kermit.misc:13504 In article , Frank Slootweg wrote: > Yesterday I wrote: >> Adding to Mikko's reply: >> The HP 9816's "unique diskette format" is HP LIF (Logical Interchange >> Format), hence the reference to lifcp (LIF copy). lifcp is mainly >> available on *HP-UX* systems. >> So you need *someone* (you?) who has an *HP-UX* (not "unix") system >> *with* a floppy drive. If you have that, then: > [deleted] > I have an HP-UX system with a (1.44MB/720KB) floppy drive, so if I can > help, let me know. > > Whoever does the work, I think it is best if: > > - The 'target' sends hir *two* HP 9816 format diskettes: > > - One with some ASCII and binary files to be used for testing, with > information about these files, i.e. content (for the ASCII one), > sizes in bytes, (if possible) (UNIX) checksums, like "sum", > "sum -r", "cksume", etc.. > If possible include (a) file(s) of the same type as the needed > files, so that the right type can be checked when the work is > (being) done. > > - One 'empty', but already (HP 9816) formatted, one. > > - You send hir the files to be put on the empty diskette. Files should > be in ready-to-use format, i.e. not "hexified". I advice to us a > shar(1) archive, so that transmission/unpacking errors can be > prevented/detected. > > - The person doing the work sends both diskettes back to the 'target'. That sounds like a good plan. There's just one catch ... does a BASIC-running workstation know how to use a shar file? The hexified file might actually be easier to handle, but even better if it could be converted to the native format already ... if that can be verified to be done correctly. > Note: Coming to think of it, you do not really need an HP-UX system with > a diskette drive. You could also do it with: > > - lifinit and lifcp on any system. (Other posters have mentioned that > there are Linux versions as well. And there are DOS versions as well, > at least like lifcp. Do not know if these (DOS) versions can write LIF > archive *files*.) > - Any UNIX/Linux system with a diskette drive of the right type. > You can then lifinit/lifcp stuff to a LIF archive *file* and dd(1) the > LIF archive file to the diskette. There's another problem - the only lifinit I was able to find that works at all is the one in HP-UX. And I couldn't successfully _write_ to the LIF on Linux either - reading did work though... so this only eliminates the part about shipping the floppies to where the HP-UX box is, unless someone else can get the other parts to work. Can the LIF image indeed be written to a regular file and then dd'd to a floppy elsewhere, reliably? I know that doing such a thing with HP fbackup would be asking for trouble... oh, sorry, silly me, Ignite-UX already does this... > Note 2: > > I see that the original problem statement was: > >> On behalf of a user who badly needs to get some scientific data into and >> out of an HP 9816 Series 200/300 BASIC workstation. > > If this data fits on one diskette (at a time), then perhaps Kermit is > not needed at all, and all data transfer can be done by using HP 9816 > format diskettes on the HP 9816 and a lifcp-like program on the source/ > target platform. BTW, what *is* the source/target platform (i.e. > hardware?, OS?, diskette drive?, etc.). -- Mikko Nahkola My ideas, not my employer's. No warranty. YMMV. #include From franks@support.neth.hp.com Thu Jul 4 15:59:34 EDT 2002 Article: 13505 of comp.protocols.kermit.misc From: Frank Slootweg Newsgroups: comp.sys.hp.hpux,comp.protocols.kermit.misc Subject: Re: Need Kermit Diskette for HP-9816 200/300 BASIC Workstation Date: 4 Jul 2002 14:29:49 GMT Organization: HP's Dutch Customer Response Center Lines: 103 Message-ID: References: <3D222449.7488@unixnerd.demon.co.uk> Reply-To: Frank Slootweg NNTP-Posting-Host: support.neth.hp.com User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (HP-UX/B.10.20 (9000/800)) Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!news-hog.berkeley.edu!ucberkeley!enews.sgi.com!paloalto-snf1.gtei.net!news.gtei.net!news.compaq.com!hpb10302.boi.hp.com!news.cup.hp.com!support.neth.hp.com!not-for-mail Xref: newsmaster.cc.columbia.edu comp.sys.hp.hpux:149842 comp.protocols.kermit.misc:13505 mnahkola@aurinko.ntc.nokia.com wrote: > In article , Frank Slootweg wrote: > >> Yesterday I wrote: >>> Adding to Mikko's reply: > >>> The HP 9816's "unique diskette format" is HP LIF (Logical Interchange >>> Format), hence the reference to lifcp (LIF copy). lifcp is mainly >>> available on *HP-UX* systems. >>> So you need *someone* (you?) who has an *HP-UX* (not "unix") system >>> *with* a floppy drive. If you have that, then: >> [deleted] > >> I have an HP-UX system with a (1.44MB/720KB) floppy drive, so if I can >> help, let me know. >> >> Whoever does the work, I think it is best if: >> >> - The 'target' sends hir *two* HP 9816 format diskettes: >> >> - One with some ASCII and binary files to be used for testing, with >> information about these files, i.e. content (for the ASCII one), >> sizes in bytes, (if possible) (UNIX) checksums, like "sum", >> "sum -r", "cksume", etc.. >> If possible include (a) file(s) of the same type as the needed >> files, so that the right type can be checked when the work is >> (being) done. >> >> - One 'empty', but already (HP 9816) formatted, one. >> >> - You send hir the files to be put on the empty diskette. Files should >> be in ready-to-use format, i.e. not "hexified". I advice to us a >> shar(1) archive, so that transmission/unpacking errors can be >> prevented/detected. >> >> - The person doing the work sends both diskettes back to the 'target'. > > That sounds like a good plan. There's just one catch ... does a > BASIC-running workstation know how to use a shar file? The hexified file > might actually be easier to handle, but even better if it could be > converted to the native format already ... if that can be verified to be > done correctly. I assume(d) that Frank (da Cruz) has the (Kermit program) file(s) to be put on the (HP 9816 format) diskette, and I assume(d) that he has access to a 'UNIX' system and 'hence' to shar(1). So if I was "the person doing the work" then 1) Frank (da Cruz) would make the shar archive and e-mail it to me, 2) I would put the files on the diskette I got from 'the target' (i.e. the user in Germany) and I would (normal) mail the diskette to the target. >> Note: Coming to think of it, you do not really need an HP-UX system with >> a diskette drive. You could also do it with: >> >> - lifinit and lifcp on any system. (Other posters have mentioned that >> there are Linux versions as well. And there are DOS versions as well, >> at least like lifcp. Do not know if these (DOS) versions can write LIF >> archive *files*.) >> - Any UNIX/Linux system with a diskette drive of the right type. >> You can then lifinit/lifcp stuff to a LIF archive *file* and dd(1) the >> LIF archive file to the diskette. > > There's another problem - the only lifinit I was able to find that works > at all is the one in HP-UX. And I couldn't successfully _write_ to the > LIF on Linux either - reading did work though... so this only eliminates > the part about shipping the floppies to where the HP-UX box is, unless > someone else can get the other parts to work. Yes, ain't HP-UX systems great! :-) > Can the LIF image indeed be written to a regular file and then dd'd to a > floppy elsewhere, reliably? I know that doing such a thing with HP > fbackup would be asking for trouble... oh, sorry, silly me, Ignite-UX > already does this... Yes, that can be done, but you have to make sure that the target can read the *physical* media. That is why I proposed a 'reference' diskette, so the person doing the work knows whether it is HD or DD, DS or SS, or an even more 'obscure' geometry (AFAIK, there were also 270KB 3.5" LIF diskettes, which *may* be more of a problem (because of a 'non-standard' [1] number of sectors per track or/and tracks per side.). [1] I always find it somewhat funny that it is actually the 'IBM PC' 'standard' 3.5" diskettes which are 'non-standard'. Why? Because the HP 3.5" diskettes *pre-date* the IBM PC ones. >> Note 2: >> >> I see that the original problem statement was: >> >>> On behalf of a user who badly needs to get some scientific data into and >>> out of an HP 9816 Series 200/300 BASIC workstation. >> >> If this data fits on one diskette (at a time), then perhaps Kermit is >> not needed at all, and all data transfer can be done by using HP 9816 >> format diskettes on the HP 9816 and a lifcp-like program on the source/ >> target platform. BTW, what *is* the source/target platform (i.e. >> hardware?, OS?, diskette drive?, etc.). > > -- > Mikko Nahkola > My ideas, not my employer's. No warranty. YMMV. > #include From fdc@columbia.edu Thu Jul 4 15:59:39 EDT 2002 Article: 13506 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.sys.hp.hpux,comp.protocols.kermit.misc Subject: Re: Need Kermit Diskette for HP-9816 200/300 BASIC Workstation Date: 4 Jul 2002 15:59:19 -0400 Organization: Columbia University Lines: 84 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1025812760 23043 128.59.39.139 (4 Jul 2002 19:59:20 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 4 Jul 2002 19:59:20 GMT Xref: newsmaster.cc.columbia.edu comp.sys.hp.hpux:149852 comp.protocols.kermit.misc:13506 In article , Frank Slootweg wrote: : : I see that the original problem statement was: : : > On behalf of a user who badly needs to get some scientific data into and : > out of an HP 9816 Series 200/300 BASIC workstation. : : If this data fits on one diskette (at a time), then perhaps Kermit is : not needed at all, and all data transfer can be done by using HP 9816 : format diskettes on the HP 9816 and a lifcp-like program on the source/ : target platform. BTW, what *is* the source/target platform (i.e. : hardware?, OS?, diskette drive?, etc.). : The scientist in question has, besides the HP 9816, a DOS PC and a Windows PC. He's not a computer guy, so most of the suggestions here won't help much. Unless we can hand him an HP 9816 BASIC Kermit diskette that is immediately usable, or a DOS/HP diskette interchange solution like this one, we're tilting at windmills. Since other messages in this thread seem to indicate that "lifcp" can write diskettes only on HP-UX, this seems to rule the latter approach. For the record, the datasets are similar to card images with columns of floating-point numbers, about 16000 "cards" per set, 65 columns each: 1 1 1 1 2 7 2 68 166.598 0 12.1114 0 0 1 1 1 1 2 7 3 62 128.721 0 13.5718 0 0 1 1 1 1 2 8 1 16 19.8439 0 10.8263 0 0 or 1040000 bytes, which fits on a HD diskette. But if other datasets are larger than this, they will need to be broken up or else transferred with Kermit. Also I don't know the density of his diskette drive; maybe it's only 720K. All he knows is that it's a "dual disk drive connected by HP-IB interface". As for reconstructing the HP BASIC files from the hexified versions on the Kermit FTP site, I managed to dig up the original files from 12 years ago and put them in a ZIP archive: ftp://kermit.columbia.edu/kermit/archives/hp9816.zip and I updated the HP Kermit web page so any future searchers will have an easier time getting this version: http://www.columbia.edu/kermit/hp.html Incidentally, I do have two HP-UX workstations: an aging but still mostly functional HP/Apollo 715/33 with some kind of weird mini-tape-cartridge drive but no diskette drive, and a new B2000 that has a diskette drive but I can't use it at the moment for a reason that is embarrassing but maybe one of you kind souls could help me get it back: I originally had the B2000 connected to a regular PC VGA monitor and it worked OK. Later I moved it to a big NEC Multisync and had to fiddle with it to make it work. Still later I needed to put back the original PC monitor. But now when booting, the screen was just plain black. Well at this point, I had both monitors at hand, so I put it back on the NEC monitor, where I could see the boot dialog, got into the configuration menu and typed "MO GRAPHICS(0) x", where x was some small integer, and then switched to the PC monitor -- no good, screen still black. I repeated this step a bunch of times with ascending x's until I reached a number that made BOTH monitors stop working. So at this point I'm flying blind, and unfortunately have not memorized the boot dialog. First (?) I have to choose between two SCSI disks to boot from, and then at some point I need to lean on the Tab key... It's always something. > I always find it somewhat funny that it is actually the 'IBM PC' > 'standard' 3.5" diskettes which are 'non-standard'. Why? Because the HP > 3.5" diskettes *pre-date* the IBM PC ones. > Yes indeed! We had HP-150s here in 1984. Hmmm, looking at my chronology: http://www.columbia.edu/acis/history/#1980 something is amiss (see April 1984 and September 1984). I distinctly remember the HP-150 having the first 3.5" diskette I ever saw, yet my notes say that our first Macintoshes arrived before the HP-150s... - Frank From john.santos@post.harvard.edu Fri Jul 5 09:35:39 EDT 2002 Article: 13507 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsfeed.mathworks.com!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cyclone1.gnilink.net!spamfinder.gnilink.net!nwrddc02.gnilink.net.POSTED!53ab2750!not-for-mail From: John Santos Newsgroups: comp.protocols.kermit.misc Subject: Re: can MS Kermit display a 25 line terminal? Message-ID: References: <3D183B0E.E0F02282@uk.thalesgroup.com> <3D1875B4.10701@nyc.rr.com> <3D197AC0.18C0E572@uk.thalesgroup.com> Reply-To: john.santos@post.harvard.edu X-Newsreader: MicroPlanet Gravity v2.60 Lines: 64 Date: Thu, 04 Jul 2002 23:05:48 GMT NNTP-Posting-Host: 151.203.105.48 X-Complaints-To: abuse@verizon.net X-Trace: nwrddc02.gnilink.net 1025823948 151.203.105.48 (Thu, 04 Jul 2002 19:05:48 EDT) NNTP-Posting-Date: Thu, 04 Jul 2002 19:05:48 EDT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13507 In article <3D197AC0.18C0E572@uk.thalesgroup.com>, flo@uk.thalesgroup.com says... > "Jeffrey Altman [Road Runner]" wrote: > > > > The VT5xx supports terminal screens of arbitrary height. It is > > independent of the state of the Status Line. Status Line: None > > simply means the space allocated to the status line is empty. It > > does not mean the line can be written to by the host application. > > > > Why is that? Because the host application can switch the state > > of the Status Line at any time by use of a CSI sequence. Activation > > of the status line is a non-destructive operation to the rest of the > > display page. > > No, you are describing the behaviour of some older terminals. If it was > always true for the VT500 Series, I wouldn't have mentioned it! On the > VT500 Series, screen height is a function of page height as well as > visibility of the status line. Please try the following experiment: > > 1. Set up "Lines per page" to just one page, so you get the largest > possible scrollback buffer. > > 2. Set "Lines per screen" to "24, 25 or 26" > > 3. Set "Status display" to "Local status". > > How many lines on the main screen are now host-writable? 25. > > 4. Set "Status display" to "None". > > How many lines on the main screen are now host-writable? 26. The space > formerly occupied by the status line has become part of the main screen. > > Activation of the status lines is *not* "non-destructive" to the rest of > the display page. If you activate it again with the cursor on line 26, > you'll see that the screen scrolls up one line so that the bottom line > in the old display is still the bottom line, but the top line has now > scrolled off. > > The behaviour you describe only occurs if the page size is limited to > the screen size because in that case there is no more page data to put > on the screen. > > Regards, > Paul VT420's behave similarly. I don't have one in front of me right now, so I can't replicate your tests, but I routinely set the ones at work to 25*80, which works fine for most apps. (Some things seem to force the screen back to 24*80 when they exit, and you have to either go into SETUP and hit recall? (or restore or reset, near the end of the second line) to get it back to 25*80. I think there is also an escape sequence that resets it to 25*80. I think that VT320's and earlier only supported 24*80 and 24*132, but it's been a long time since I used one. I don't know if you can set the screen size to 25 lines in MS Kermit. In K-95, it looks like you can set it to anything you want. (I usually have it set to about 32 lines, which mostly fills the screen when using a font that is large enough to be readable on my monitor. -- John From urle@rz.uni-karlsruhe.de Fri Jul 5 09:36:03 EDT 2002 Article: 13508 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!ord-feed.news.verio.net!stl-feed.news.verio.net!newsreader.wustl.edu!unlnews.unl.edu!headwall.stanford.edu!newsfeed.esat.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!news-fra.pop.de!schlund.de!rz.uni-karlsruhe.de!news.rz.uni-karlsruhe.de!not-for-mail From: urle Newsgroups: comp.sys.hp.hpux,comp.protocols.kermit.misc Subject: Re: Need Kermit Diskette for HP-9816 200/300 BASIC Workstation Date: 5 Jul 2002 04:27:50 GMT Organization: University of Karlsruhe, Germany Lines: 50 Message-ID: References: NNTP-Posting-Host: urlebs.rz.uni-karlsruhe.de Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.rz.uni-karlsruhe.de 1025843270 15867 172.21.101.100 X-Complaints-To: usenet@rz.uni-karlsruhe.de User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (HP-UX/B.11.00 (9000/785)) Xref: newsmaster.cc.columbia.edu comp.sys.hp.hpux:149856 comp.protocols.kermit.misc:13508 In comp.sys.hp.hpux Frank da Cruz wrote: > Since other messages in this thread seem to indicate that "lifcp" can > write diskettes only on HP-UX, this seems to rule the latter approach. I wrote those linux-tools in 1995 if I remember correctly. I never had to create lif-files under linux, we only had to read them. (I for myself have more than enough HP-boxes with floppies and lif-utils working). It shouldn't be that big problem to write a lifinit for linux to. I'll look for some spare time to do it. > I originally had the B2000 connected to a regular PC VGA monitor and it > worked OK. Later I moved it to a big NEC Multisync and had to fiddle with > it to make it work. Still later I needed to put back the original PC > monitor. But now when booting, the screen was just plain black. > Well at this point, I had both monitors at hand, so I put it back on the > NEC monitor, where I could see the boot dialog, got into the configuration > menu and typed "MO GRAPHICS(0) x", where x was some small integer, and > then switched to the PC monitor -- no good, screen still black. > I repeated this step a bunch of times with ascending x's until I reached a > number that made BOTH monitors stop working. So at this point I'm flying > blind, and unfortunately have not memorized the boot dialog. First (?) I > have to choose between two SCSI disks to boot from, and then at some point > I need to lean on the Tab key... If you can login remotely use setmon to set the monitor type to something useful. > something is amiss (see April 1984 and September 1984). I distinctly > remember the HP-150 having the first 3.5" diskette I ever saw, yet my > notes say that our first Macintoshes arrived before the HP-150s... I think they came out nearly at the same time. But the HP150 disks started sector counting with 1 when IBM used sector 0. So there was no way to exchange disks between both systems, even when they both used the same DOS version. Btw. if there is no other way I could go downstairs and try to reanimate my 200/300 HP systems with their floppy drives. In those elder days I installed both HP-UX and basic on the same system and used the HP-UX to transfer the files (until I wrote those linux utils). urle -- Uli Betzler (urle) urle@rz.uni-karlsruhe.de Universitaet Karlsruhe, Rechenzentrum IRA/VERA/SR, Zirkel 2, 76128 Karlsruhe phone: +49 721 608-4039 FAX: +49 721 608-9013 alternate FAX: +49 721 32550 urle = URL-Emanation = http://www.uni-karlsruhe.de/~Ulrich.Betzler/urle.html From mikko.nahkola@nokia.com Fri Jul 5 09:51:57 EDT 2002 Article: 13509 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!news.maxwell.syr.edu!uio.no!newsfeed.song.fi!nntp.inet.fi!inet.fi!newsfeed1.nokia.com!news1.nokia.com!mnahkola Newsgroups: comp.sys.hp.hpux,comp.protocols.kermit.misc From: mnahkola@aurinko.ntc.nokia.com Subject: Re: Need Kermit Diskette for HP-9816 200/300 BASIC Workstation References: Reply-To: mikko.nahkola@nokia.com User-Agent: slrn/0.9.7.0 (NetBSD) Lines: 49 Message-ID: Date: Fri, 05 Jul 2002 07:00:22 GMT NNTP-Posting-Host: 172.22.105.49 X-Complaints-To: newsmaster@nokia.com X-Trace: news1.nokia.com 1025852422 172.22.105.49 (Fri, 05 Jul 2002 10:00:22 EET DST) NNTP-Posting-Date: Fri, 05 Jul 2002 10:00:22 EET DST Organization: Nokia Xref: newsmaster.cc.columbia.edu comp.sys.hp.hpux:149857 comp.protocols.kermit.misc:13509 In article , Frank da Cruz wrote: > In article , > Frank Slootweg wrote: >: I see that the original problem statement was: >: > On behalf of a user who badly needs to get some scientific data into and >: > out of an HP 9816 Series 200/300 BASIC workstation. >: If this data fits on one diskette (at a time), then perhaps Kermit is >: not needed at all, and all data transfer can be done by using HP 9816 >: format diskettes on the HP 9816 and a lifcp-like program on the source/ >: target platform. BTW, what *is* the source/target platform (i.e. >: hardware?, OS?, diskette drive?, etc.). > The scientist in question has, besides the HP 9816, a DOS PC and a > Windows PC. He's not a computer guy, so most of the suggestions here won't > help much. Unless we can hand him an HP 9816 BASIC Kermit diskette that > is immediately usable, or a DOS/HP diskette interchange solution like this > one, we're tilting at windmills. > Since other messages in this thread seem to indicate that "lifcp" can > write diskettes only on HP-UX, this seems to rule the latter approach. Note that I didn't try the DOS LIFUTIL (not having a DOS or even Win9x box around), which is a genuine HP thing and can still be found on the 'net even if all the referenced HP download sites seem to have disappeared... so that just might still be a workable solution. > drive but no diskette drive, and a new B2000 that has a diskette drive but > I can't use it at the moment for a reason that is embarrassing but maybe > one of you kind souls could help me get it back: ....................... > I repeated this step a bunch of times with ascending x's until I reached a > number that made BOTH monitors stop working. So at this point I'm flying > blind, and unfortunately have not memorized the boot dialog. First (?) I > have to choose between two SCSI disks to boot from, and then at some point > I need to lean on the Tab key... OK. What I'd do in that case ... go serial. I understand the B2000 should be one of the models that bounce the console to the first serial port if there is no input device... like, if the keyboard and mouse aren't connected. (but OTOH on a C360 I had to physically remove the graphics card, for some reason.) -- Mikko Nahkola My ideas, not my employer's. No warranty. YMMV. #include From franks@support.neth.hp.com Fri Jul 5 09:52:38 EDT 2002 Article: 13510 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!ord-feed.news.verio.net!stl-feed.news.verio.net!newsreader.wustl.edu!unlnews.unl.edu!headwall.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!mango.news.easynet.net!easynet.net!news-peer.gradwell.net!murdoch.hpl.hp.com!support.neth.hp.com!not-for-mail From: Frank Slootweg Newsgroups: comp.sys.hp.hpux,comp.protocols.kermit.misc Subject: LIF utilities for (DOS) PC (was: Need Kermit Diskette for HP-9816 200/300 BASIC Workstation) Date: 5 Jul 2002 07:34:04 GMT Organization: HP's Dutch Customer Response Center Lines: 112 Sender: franks@support.neth.hp.com Message-ID: References: Reply-To: Frank Slootweg NNTP-Posting-Host: support.neth.hp.com X-Trace: murdoch.hpl.hp.com 1025856088 6779 15.163.15.249 (5 Jul 2002 08:01:28 GMT) X-Complaints-To: usenet@murdoch.hpl.hp.com NNTP-Posting-Date: 5 Jul 2002 08:01:28 GMT User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (HP-UX/B.10.20 (9000/800)) Xref: newsmaster.cc.columbia.edu comp.sys.hp.hpux:149858 comp.protocols.kermit.misc:13510 Note: Subject changed in order to 'attract' people who may have some practical experience in *this* (LIF) area (instead of in Kermit). Frank da Cruz wrote: > In article , > Frank Slootweg wrote: > : > : I see that the original problem statement was: > : > : > On behalf of a user who badly needs to get some scientific data into and > : > out of an HP 9816 Series 200/300 BASIC workstation. > : > : If this data fits on one diskette (at a time), then perhaps Kermit is > : not needed at all, and all data transfer can be done by using HP 9816 > : format diskettes on the HP 9816 and a lifcp-like program on the source/ > : target platform. BTW, what *is* the source/target platform (i.e. > : hardware?, OS?, diskette drive?, etc.). > : > The scientist in question has, besides the HP 9816, a DOS PC and a > Windows PC. He's not a computer guy, so most of the suggestions here won't > help much. Unless we can hand him an HP 9816 BASIC Kermit diskette that > is immediately usable, or a DOS/HP diskette interchange solution like this > one, we're tilting at windmills. > > Since other messages in this thread seem to indicate that "lifcp" can > write diskettes only on HP-UX, this seems to rule the latter approach. Well, I think I have some good news!!!!! I re-checked some of the old pointers from old comp.sys.hp.* postings about LIF and came up with the following: Best ==== I did a Google "I'm Feeling Lucky search on "LIFUTIL", which comes up with: http://www.cyto.purdue.edu/flowcyt/software/DATA/LIFUTIL/LIFUTIL.EXE This is the HP "LIF Utilities for the PC. Version A.00.01" product E2080A, which is (unsupported) freeware (since October 1994). I can not try this (yet), because this is for DOS (I am now on NT) and my home DOS PC's diskette drive is broken. However on NT it does start, has a nice CUI menu and works somewhat (i.e. can tell that a diskette is DOS, even if I try to list it as LIF). Perhaps others (You, Frank (da Cruz)?) can (also) try this utility. Medium ====== ftp://ftp.mcc.ac.uk/pub/dos/lif2dos.readme ftp://ftp.mcc.ac.uk/pub/dos/lif2dos.zip ftp://ftp.mcc.ac.uk/pub/dos/lif2dos2.readme ftp://ftp.mcc.ac.uk/pub/dos/lif2dos2.zip but these are only LIF to DOS, *not* the other way around. Unknown ======= I had some pointers to "HPWUTIL", so I did Google "I'm Feeling Lucky search on "HPWUTIL", which comes up with: http://ftp.agilent.com/pub/mpusup/pc/binfiles/old/mcp/hpwutil.exe This is HP "HPW utility program version 3.00. 12-13-1989", which, AFAIK, is also (unsupported) freeware. Agilent is the "instrument" part which was split off from HP. This LIF stuff was mainly used with instruments, so (apparently) the software also went to Agilent. I do not know what the "W" in "HPW" stands for, and do not know whether this utility helps with the 9816 <--> transfer, hence my "Unknown" qualification. > For the record, the datasets are similar to card images with columns of > floating-point numbers, about 16000 "cards" per set, 65 columns each: > > 1 1 1 1 2 7 2 68 166.598 0 12.1114 0 0 > 1 1 1 1 2 7 3 62 128.721 0 13.5718 0 0 > 1 1 1 1 2 8 1 16 19.8439 0 10.8263 0 0 > > or 1040000 bytes, which fits on a HD diskette. But if other datasets are > larger than this, they will need to be broken up or else transferred with > Kermit. Also I don't know the density of his diskette drive; maybe it's > only 720K. All he knows is that it's a "dual disk drive connected by > HP-IB interface". I think that he may have to find out more details about the diskette, because for initializing a disk, the above LIFUTIL utility wants to know about disk type (SS ('blue'), DS ('gray') and HD ('black')), sector size (256 or 1024 bytes) and interleave (1 to 15). Disk type should be easy and interleave is probably only relevant for 'speed', but sector size might be more difficult. However, maybe/hopefully all these 'details' are only needed for *initializing* *new* disks, and he can workaround that problem by initializing new disks on the HP 9816, instead of on the PC. Bottom line: If you, Frank (da Cruz) have a DOS PC, then I advise to follow the procedure I mentioned in my 4 Jul 2002 12:04:42 GMT response (), but now with you as "he person doing the work" and using LIFUTIL on your DOS PC instead of lifcp on HP-UX. That way you can give the user *both* the HP 9816 Kermit program (on a diskette) *and* LIFUTIL for DOS to copy HP 9816 diskettes to a DOS PC and vice versa. [deleted] From urle@rz.uni-karlsruhe.de Fri Jul 5 09:52:45 EDT 2002 Article: 13508 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!ord-feed.news.verio.net!stl-feed.news.verio.net!newsreader.wustl.edu!unlnews.unl.edu!headwall.stanford.edu!newsfeed.esat.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!news-fra.pop.de!schlund.de!rz.uni-karlsruhe.de!news.rz.uni-karlsruhe.de!not-for-mail From: urle Newsgroups: comp.sys.hp.hpux,comp.protocols.kermit.misc Subject: Re: Need Kermit Diskette for HP-9816 200/300 BASIC Workstation Date: 5 Jul 2002 04:27:50 GMT Organization: University of Karlsruhe, Germany Lines: 50 Message-ID: References: NNTP-Posting-Host: urlebs.rz.uni-karlsruhe.de Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.rz.uni-karlsruhe.de 1025843270 15867 172.21.101.100 X-Complaints-To: usenet@rz.uni-karlsruhe.de User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (HP-UX/B.11.00 (9000/785)) Xref: newsmaster.cc.columbia.edu comp.sys.hp.hpux:149856 comp.protocols.kermit.misc:13508 In comp.sys.hp.hpux Frank da Cruz wrote: > Since other messages in this thread seem to indicate that "lifcp" can > write diskettes only on HP-UX, this seems to rule the latter approach. I wrote those linux-tools in 1995 if I remember correctly. I never had to create lif-files under linux, we only had to read them. (I for myself have more than enough HP-boxes with floppies and lif-utils working). It shouldn't be that big problem to write a lifinit for linux to. I'll look for some spare time to do it. > I originally had the B2000 connected to a regular PC VGA monitor and it > worked OK. Later I moved it to a big NEC Multisync and had to fiddle with > it to make it work. Still later I needed to put back the original PC > monitor. But now when booting, the screen was just plain black. > Well at this point, I had both monitors at hand, so I put it back on the > NEC monitor, where I could see the boot dialog, got into the configuration > menu and typed "MO GRAPHICS(0) x", where x was some small integer, and > then switched to the PC monitor -- no good, screen still black. > I repeated this step a bunch of times with ascending x's until I reached a > number that made BOTH monitors stop working. So at this point I'm flying > blind, and unfortunately have not memorized the boot dialog. First (?) I > have to choose between two SCSI disks to boot from, and then at some point > I need to lean on the Tab key... If you can login remotely use setmon to set the monitor type to something useful. > something is amiss (see April 1984 and September 1984). I distinctly > remember the HP-150 having the first 3.5" diskette I ever saw, yet my > notes say that our first Macintoshes arrived before the HP-150s... I think they came out nearly at the same time. But the HP150 disks started sector counting with 1 when IBM used sector 0. So there was no way to exchange disks between both systems, even when they both used the same DOS version. Btw. if there is no other way I could go downstairs and try to reanimate my 200/300 HP systems with their floppy drives. In those elder days I installed both HP-UX and basic on the same system and used the HP-UX to transfer the files (until I wrote those linux utils). urle -- Uli Betzler (urle) urle@rz.uni-karlsruhe.de Universitaet Karlsruhe, Rechenzentrum IRA/VERA/SR, Zirkel 2, 76128 Karlsruhe phone: +49 721 608-4039 FAX: +49 721 608-9013 alternate FAX: +49 721 32550 urle = URL-Emanation = http://www.uni-karlsruhe.de/~Ulrich.Betzler/urle.html From fdc@columbia.edu Fri Jul 5 09:52:54 EDT 2002 Article: 13511 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.sys.hp.hpux,comp.protocols.kermit.misc Subject: Re: Need Kermit Diskette for HP-9816 200/300 BASIC Workstation Date: 5 Jul 2002 09:51:51 -0400 Organization: Columbia University Lines: 48 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1025877112 23314 128.59.39.139 (5 Jul 2002 13:51:52 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 5 Jul 2002 13:51:52 GMT Xref: newsmaster.cc.columbia.edu comp.sys.hp.hpux:149870 comp.protocols.kermit.misc:13511 In article , urle wrote: : In comp.sys.hp.hpux Frank da Cruz wrote: : ... : > I repeated this step a bunch of times with ascending x's until I reached a : > number that made BOTH monitors stop working. So at this point I'm flying : > blind, and unfortunately have not memorized the boot dialog. First (?) I : > have to choose between two SCSI disks to boot from, and then at some point : > I need to lean on the Tab key... : : If you can login remotely use setmon to set the monitor type to something : useful. : Nope, can't log in remotely because the B2000 does not boot by itself. It issues prompts at the console and waits forever for answers. : Btw. if there is no other way I could go downstairs and try to reanimate my : 200/300 HP systems with their floppy drives. : I hope that won't be necessary! : In those elder days I installed : both HP-UX and basic on the same system and used the HP-UX to transfer the : files (until I wrote those linux utils). : What version of HP-UX? I take a rather perverse pride in being able to build C-Kermit -- even the lastest release -- on every conceivable version of HP-UX; currently this goes back to 5.21: http://www.columbia.edu/kermit/ck80binaries.html#hp Yes, somewhere an HP-9000 Model 550 "stack machine" still lives. Later, Mikko Nahkola wrote: > OK. What I'd do in that case ... go serial. I understand the B2000 should > be one of the models that bounce the console to the first serial port if > there is no input device... like, if the keyboard and mouse aren't > connected. (but OTOH on a C360 I had to physically remove the graphics > card, for some reason.) > Now that sounds promising -- I'll give it a try; thanks! After reading my morning's mail of spam, scams, viruses, chain letters, webcam come-ons, e-business newsletters I never asked for, and bounce notices for virus-laden mail I never sent, this discussion almost restores my faith in the Internet -- maybe some small corner of it is worth saving :-) - Frank From sobrado@string1.ciencias.uniovi.es Mon Jul 8 09:17:43 EDT 2002 Article: 13514 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.tele.dk!small.news.tele.dk!130.59.214.20!news-ge.switch.ch!news.rediris.es!newsfeed.uniovi.es!not-for-mail From: Igor Sobrado Newsgroups: comp.protocols.kermit.misc Subject: announcing C-Kermit for SINIX-P Date: Mon, 8 Jul 2002 07:15:17 +0000 (UTC) Organization: Universidad de Oviedo Lines: 16 Message-ID: NNTP-Posting-Host: string1.ciencias.uniovi.es X-Trace: localhost.localdomain 1026112517 24313 156.35.97.40 (8 Jul 2002 07:15:17 GMT) X-Complaints-To: abuse@si.uniovi.es NNTP-Posting-Date: Mon, 8 Jul 2002 07:15:17 +0000 (UTC) User-Agent: tin/1.4.3-20000502 ("Marian") (UNIX) (Linux/2.2.16 (i586)) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13514 Hi to all the people in this newsgroup! We want to announce the first time availability of C-Kermit binaries for the Siemens Nixdorf RM 600-xx servers running SINIX-P 5.42 A10 at http://www.columbia.edu/kermit/ck80binaries.html. We have added an entry to the C-Kermit makefile to allow building C-Kermit from source code using gcc on those servers that runs other SINIX-P releases. (The native C Compiler provided by SNI was required in the past.) Olaf Goettel, Wolfgang Mielke, Manuel Ramos-Arroyo, Ronell Scholtz, and me worked to make this port of C-Kermit possible. -- Igor Sobrado, UK34436 - sobrado@acm.org From franks@support.neth.hp.com Fri Jul 12 09:12:04 EDT 2002 Article: 13516 of comp.protocols.kermit.misc From: Frank Slootweg Newsgroups: comp.sys.hp.hpux,comp.protocols.kermit.misc Subject: Re: LIF utilities for (DOS) PC Date: 12 Jul 2002 08:11:43 GMT Organization: HP's Dutch Customer Response Center Lines: 57 Message-ID: References: Reply-To: Frank Slootweg NNTP-Posting-Host: support.neth.hp.com User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (HP-UX/B.10.20 (9000/800)) Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!ord-feed.news.verio.net!stl-feed.news.verio.net!newsreader.wustl.edu!unlnews.unl.edu!headwall.stanford.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed.mesh.ad.jp!uunet!osa.uu.net!sea.uu.net!ash.uu.net!news.compaq.com!hpb10302.boi.hp.com!news.cup.hp.com!support.neth.hp.com!not-for-mail Xref: newsmaster.cc.columbia.edu comp.sys.hp.hpux:150052 comp.protocols.kermit.misc:13516 A week ago, I wrote: > Frank da Cruz wrote: [deleted] >> The scientist in question has, besides the HP 9816, a DOS PC and a >> Windows PC. He's not a computer guy, so most of the suggestions here won't >> help much. Unless we can hand him an HP 9816 BASIC Kermit diskette that >> is immediately usable, or a DOS/HP diskette interchange solution like this >> one, we're tilting at windmills. [deleted] > > Well, I think I have some good news!!!!! > > I re-checked some of the old pointers from old comp.sys.hp.* postings > about LIF and came up with the following: > > Best > ==== > > I did a Google "I'm Feeling Lucky search on "LIFUTIL", which comes up > with: > > http://www.cyto.purdue.edu/flowcyt/software/DATA/LIFUTIL/LIFUTIL.EXE > > This is the HP "LIF Utilities for the PC. Version A.00.01" product > E2080A, which is (unsupported) freeware (since October 1994). [deleted] "The scientist in question" was going to report back to the group, but since I have not seen his report, I might as well give it: With our help, the (scientist) user has been able to use the above mentioned LIFUTIL utility on his DOS PC to copy files from LIF/ the_HP9816 to DOS and vice versa, so his problem is solved! Some more details/information: ============================== The diskette drive on his HP9816 is an HP9121D or HP9121S and his LIF diskettes were probably in "270KB" format (3.5", Double-Density, (probably) *Single*-Sided). I have advised him to try with higher capacities (i.e. Double-Sided, bigger sector sizes, High-Density), but have not heard back about that part. LIFUTIL is intended for DOS-based PCs, i.e. *real* DOS, not a 'DOS box' in MS-Windows. However I have had some success using LIFUTIL in a 'DOS box' (i.e. "MSDOS Command Prompt" window) on MS-Windows NT (4.0 SP5). It is *very* slow on such a system - a directory access/list takes some 30+ seconds, even if there is only one or two files on the LIF diskette -, but directory list and copy LIF to DOS and vice versa, etc. work. *Initializing* a LIF diskette on NT does not work because the low- level format routines are not available in a 'DOS box', but that is normally not a problem, because initializing can be done on the LIF platform (i.e. in the user's case his HP9816+HP9121). If anyone has any questions, comments, etc., then feel free to ask/ post. From jpatteeu@ford.com Fri Jul 12 17:22:02 EDT 2002 Article: 13517 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!arclight.uoregon.edu!logbridge.uoregon.edu!newsxfer3.itd.umich.edu!jobone!dailyplanet.srl.ford.com!eccws12.dearborn.ford.com!not-for-mail From: Jack Patteeuw Newsgroups: comp.protocols.kermit.misc Subject: Security too tight on VMS Date: Fri, 12 Jul 2002 17:08:17 -0400 Organization: Ford Motor Company Lines: 37 Message-ID: <3D2F4541.C3C282FC@ford.com> NNTP-Posting-Host: 19.3.21.94 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.79 [en]C-CCK-MCD cf478 (Windows NT 5.0; U) X-Accept-Language: en,en-GB,de,fr,ja,ko,zh Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13517 We have a captive account on VMS that runs C-Kermit 8.0.201. The login.com is as follows $ SET DEFAULT DEVICE:[DIRECTORY] $ DEFINE/USER SYS$INPUT SYS$COMMAND $ KERMIT "-H" "-E" "-q" "-x" $ EXIT SYS$LOGIN:CKERMIT.INI contains the following log transactions sys$login:ckermit.log append set server idle 120 set transaction-log brief disable assign disable cd disable delete disable directory enable get disable host disable mail disable rename disable retrieve disable send disable set disable space disable type disable who Obviously the only thing we want the use to do is use the GET command !! The problem is, the user is receiving the error "insufficient privilege or file protection violation". Deleting CKERMIT.INI eliminates this problem. Why ? Jack Patteeuw From fdc@columbia.edu Fri Jul 12 17:22:06 EDT 2002 Article: 13518 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Security too tight on VMS Date: 12 Jul 2002 17:21:54 -0400 Organization: Columbia University Lines: 29 Message-ID: References: <3D2F4541.C3C282FC@ford.com> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1026508915 8093 128.59.39.139 (12 Jul 2002 21:21:55 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 12 Jul 2002 21:21:55 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13518 In article <3D2F4541.C3C282FC@ford.com>, Jack Patteeuw wrote: : We have a captive account on VMS that runs C-Kermit 8.0.201. : : The login.com is as follows : : $ SET DEFAULT DEVICE:[DIRECTORY] : $ DEFINE/USER SYS$INPUT SYS$COMMAND : $ KERMIT "-H" "-E" "-q" "-x" : $ EXIT : : SYS$LOGIN:CKERMIT.INI contains the following : : enable get : ... : disable send : : Obviously the only thing we want the use to do is use the GET command !! : : The problem is, the user is receiving the error "insufficient privilege or : file protection violation". Deleting CKERMIT.INI eliminates this problem. : : Why ? : DISABLE and ENABLE are from the server's point of view, not the client's. You probably want DISABLE GET (don't let the server GET -- i.e. receive files) and ENABLE SEND (let it send files). - Frank From jjpatteeuw@peoplepc.com Sat Jul 13 10:26:09 EDT 2002 Article: 13519 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cyclone.socal.rr.com!cyclone3.kc.rr.com!news3.kc.rr.com!twister.columbus.rr.com.POSTED!not-for-mail Message-ID: <3D2F6572.A8B9D8BA@peoplepc.com> From: Jack Patteeuw X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Re: Security too tight on VMS References: <3D2F4541.C3C282FC@ford.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 44 Date: Fri, 12 Jul 2002 23:23:57 GMT NNTP-Posting-Host: 24.208.250.56 X-Complaints-To: abuse@rr.com X-Trace: twister.columbus.rr.com 1026516237 24.208.250.56 (Fri, 12 Jul 2002 19:23:57 EDT) NNTP-Posting-Date: Fri, 12 Jul 2002 19:23:57 EDT Organization: Road Runner High Speed Online -- Columbus Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13519 Frank da Cruz wrote: > > In article <3D2F4541.C3C282FC@ford.com>, > Jack Patteeuw wrote: > : We have a captive account on VMS that runs C-Kermit 8.0.201. > : > : The login.com is as follows > : > : $ SET DEFAULT DEVICE:[DIRECTORY] > : $ DEFINE/USER SYS$INPUT SYS$COMMAND > : $ KERMIT "-H" "-E" "-q" "-x" > : $ EXIT > : > : SYS$LOGIN:CKERMIT.INI contains the following > : > : enable get > : ... > : disable send > : > : Obviously the only thing we want the use to do is use the GET command !! > : > : The problem is, the user is receiving the error "insufficient privilege or > : file protection violation". Deleting CKERMIT.INI eliminates this problem. > : > : Why ? > : > DISABLE and ENABLE are from the server's point of view, not the client's. > You probably want DISABLE GET (don't let the server GET -- i.e. receive > files) and ENABLE SEND (let it send files). > > - Frank Seem plausible but now I get Transfer canceled by sender. Sender's message: "GET disabled" One other hint. The file in DEVICE:[DIRECTORY} are not owned ny the user. The user has access to them via an ACE that grants READ. -- Jack Patteeuw From jjpatteeuw@peoplepc.com Sat Jul 13 10:26:21 EDT 2002 Article: 13520 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cyclone.socal.rr.com!cyclone3.kc.rr.com!news3.kc.rr.com!twister.columbus.rr.com.POSTED!not-for-mail Message-ID: <3D2F7167.4BCFC095@peoplepc.com> From: Jack Patteeuw X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Re: Security too tight on VMS References: <3D2F4541.C3C282FC@ford.com> <3D2F6572.A8B9D8BA@peoplepc.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 7 Date: Sat, 13 Jul 2002 00:14:58 GMT NNTP-Posting-Host: 24.208.250.56 X-Complaints-To: abuse@rr.com X-Trace: twister.columbus.rr.com 1026519298 24.208.250.56 (Fri, 12 Jul 2002 20:14:58 EDT) NNTP-Posting-Date: Fri, 12 Jul 2002 20:14:58 EDT Organization: Road Runner High Speed Online -- Columbus Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13520 Looks like you need enable cd enable get disable Jack From fdc@columbia.edu Sat Jul 13 10:27:54 EDT 2002 Article: 13523 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Security too tight on VMS Date: 13 Jul 2002 10:27:46 -0400 Organization: Columbia University Lines: 12 Message-ID: References: <3D2F4541.C3C282FC@ford.com> <3D2F6572.A8B9D8BA@peoplepc.com> <3D2F7167.4BCFC095@peoplepc.com> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1026570467 15438 128.59.39.139 (13 Jul 2002 14:27:47 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 13 Jul 2002 14:27:47 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13523 In article <3D2F7167.4BCFC095@peoplepc.com>, Jack Patteeuw wrote: : Looks like you need : : enable cd : enable get : disable : Right, you need ENABLE CD if the client is to be able to refer files outside the server's current (default) directory. - Frank From ralf.strandell@silja.com Wed Jul 17 10:38:05 EDT 2002 Article: 13526 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsfeed.mathworks.com!news.maxwell.syr.edu!news.stealth.net!news.stealth.net!newsfeed.song.fi!nntp.inet.fi!central.inet.fi!inet.fi!read2.inet.fi.POSTED!not-for-mail From: "ralf.strandell" Newsgroups: comp.protocols.kermit.misc Subject: How to check that voicemail responds? Lines: 19 X-Newsreader: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Message-ID: Date: Wed, 17 Jul 2002 09:50:16 GMT NNTP-Posting-Host: 193.143.8.128 X-Trace: read2.inet.fi 1026899416 193.143.8.128 (Wed, 17 Jul 2002 12:50:16 EET DST) NNTP-Posting-Date: Wed, 17 Jul 2002 12:50:16 EET DST Organization: Sonera corp Internet services Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13526 Hello, Is it possible to use Kermit to check that a computer-based voicemail system (those "press one to ..., press two to..." -systems) is responding? The dial command returns "NO CARRIER" both when I answer the call and when I do not answer the call. I need some method of detecting the answer when there is no dial-in service on the other end. (I need to detect incoming "voice") Then it would be possible to tell if it's local modem, the phone line / the remote modem or the remote system that has failed. Ralf Strandell From fdc@columbia.edu Wed Jul 17 10:38:08 EDT 2002 Article: 13527 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: How to check that voicemail responds? Date: 17 Jul 2002 10:37:59 -0400 Organization: Columbia University Lines: 81 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1026916681 4402 128.59.39.139 (17 Jul 2002 14:38:01 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 17 Jul 2002 14:38:01 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13527 In article , ralf.strandell wrote: : Is it possible to use Kermit to check that a computer-based voicemail system : (those "press one to ..., press two to..." -systems) is responding? : Although Kermit was not intended for voice telephony work, you might be able to use it. : The dial command returns "NO CARRIER" both when I answer the call and when I : do not answer the call. : There's no carrier on a voice call. If you want Kermit to place a voice call, you'll need to change the modem commands: show modem set modem command ... to do whatever your modem requires to make a voice, rather than data, call. Since Kermit was not designed to interact with a voice-mode call-processing system, you might need write a script to send commands to the modem and read and act on its responses. : I need some method of detecting the answer when : there is no dial-in service on the other end. (I need to detect incoming : "voice") : You'll have to read your modem manual about this. Some modems have voice features; some don't. Voice-mode commands and responses might differ from modem to modem. Examples for Lucent VENUS chipset modems: AT+FCLASS=8 Enter voice mode AT+VLS=n Set analong source/destination AT+VTD=n Set DTMF tone generation duration AT+VTR Start voice transmission and reception : Then it would be possible to tell if it's local modem, the phone line / the : remote modem or the remote system that has failed. : The Lucent manual says "The modem will return OK when going off-hook in voice mode. After answering in voice mode the modem may send any of the following shielded event codes to the DTE, as appropriate: 0-9, A-D, #, * DTMF tones a Answer tone b Busy tone c Fax calling tone d Dial tone e Data calling tone h Local phone on-hook H Local phone off-hook R Ring s Silence timer expired End of voice data transmission" That's just a sample, but it gives the flavor of how you might be able to control a voice call through a dialog with your modem. However, I'm not sure this is going to help much in your case. If the called party is not returning DTMF tones or generating other events detectable by the modem (the ones listed above), Kermit is not going to get any signals or prompts from the modem to act on. There's no way Kermit can "listen" to a voice on the far end saying "press One, press Two, ..." and know exactly when to send "ATDT2" (e.g., to press Two). On the other hand, most call processing systems let you "type ahead", so you don't necessarily have to wait. If you always want to do the same thing, maybe it's sufficient to use something like this: AT+FCLASS=8 ATDTxxxxxxx ; Dial the phone number wait for the response, e.g. a, allowing for all possible responses and handling them appropriately. Then if the call is answered, PAUSE for the appropriate number of seconds, then send the desired DTMF tone. Questions about voice calls are becoming more frequent; maybe somebody who develops a working application could submit it to the Kermit script library: http://www.columbia.edu/kermit/ckscripts.html - Frank From fdc@columbia.edu Wed Jul 17 11:24:19 EDT 2002 Article: 13528 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.unix.programmer,comp.protocols.kermit.misc Subject: Re: FTP and multiple rename Date: 17 Jul 2002 11:22:36 -0400 Organization: Columbia University Lines: 57 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1026919357 6272 128.59.39.139 (17 Jul 2002 15:22:37 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 17 Jul 2002 15:22:37 GMT Xref: newsmaster.cc.columbia.edu comp.unix.programmer:149197 comp.protocols.kermit.misc:13528 In article , UomoOmbra wrote: : I would like to ftp a server and rename all file in a directory to : filename.old Hw can I do it? : It's best done with a scriptable FTP client: http://www.columbia.edu/kermit/ftpclient.html Here's a tutorial on FTP scripting: http://www.columbia.edu/kermit/ftpscripts.html Here's a script that does what you want: ---(cut here)--- ; Kermit FTP script to add ".old" suffix to all files in a server directory. ; ; Requires C-Kermit 8.0 (Unix) or Kermit 95 2.0 (Windows): ; http://www.columbia.edu/kermit/ ; ; Change these as appropriate or convert them to command-line parameters. ; See: http://www.columbia.edu/kermit/ckscripts.html for an explanation. ; define user olga ; Username define host ftp.xyzcorp.com ; Hostname define dir invoices ; Remote directory name define rfs * ; Remote file specification define tmp filelist ; Local temp file name ; The rest of the script doesn't need to be changed ftp \m(host) /user:\m(user) ; Open the connection if fail stop 1 ftp open \m(host) failed ; Check for failure ftp cd \m(dir) ; CD to remote directory if fail stop 1 ftp cd \m(dir) failed ; Check for failure ftp mget /namelist:\m(tmp) \m(rfs) ; Get list of filenames if fail stop 1 ftp mget /namelist failed ; Check for failure fopen /read \%c \m(tmp) ; Open the namelist file if fail stop 1 Open \m(tmp) failed: \f_errmsg() ; Check for failure .\%n = 0 ; Initialize file counter set flag off ; Error indication while not flag { ; Loop through files fread \%c filename ; Read next filename if fail break ; Failure is EOF increment \%n ; Count the file echo \%n. \m(filename) ; Give feedback ftp rename \m(filename) \m(filename).old ; Rename this file if fail set flag on ; Check for failure } ftp dir ; Done - Show remote files ftp bye ; Disconnect from server if flag stop 1 ftp rename failed: \m(filename) ; Report any failure echo Files renamed: \%n ; Or report success end From shuford@list.stratagy.REM0VE-TH1S-PART.com Wed Jul 17 12:21:52 EDT 2002 Article: 13529 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!cyclone.swbell.net!easynews!crtntx1-snh1.gtei.net!cambridge1-snf1.gtei.net!news.gtei.net!transfer.stratus.com!stratagy.com!not-for-spam From: "Richard S. Shuford" Newsgroups: comp.terminals,comp.protocols.kermit.misc Subject: Re: pc as a terminal Date: Wed, 17 Jul 2002 11:11:11 -0400 (EDT) Organization: Stratagy Users Group Lines: 39 Expires: 18 Aug 2002 23:59:59 GMT Message-ID: References: <3D2F1AA3.32F62A76@telia.se> NNTP-Posting-Host: list.stratagy.com Xref: newsmaster.cc.columbia.edu comp.terminals:17260 comp.protocols.kermit.misc:13529 On 2002-07-12, Tobias Lindblom wrote: > > Is there any "terminal-emulator operating system" for x86 around? > say.. one floppy-bootable. > I'd like to use an old pc with only 2 MB ram as a terminal on my > Linux server. You didn't say what kind of terminal. If you want an X Server for remote display of X applications (such as xterm), then I suspect that 2 megabytes of RAM is insufficient memory, although a 16-MB 486-based PC running a minimized Linux can be used this way, as seen here: http://www.menet.umn.edu/~kaszeta/unix/xterminal/index.html On the other hand, if you want a character-cell screen, perhaps emulating a VT100 or VT320 terminal, then you don't need a complex operating system. I suggest you get plain old MS-DOS (or Lineo's DR-DOS, or, if you are adventurous, attempt using Jim Hall's FreeDOS) http://www.drdos.com/ http://www.freedos.org/ and then get the Kermit program for MS-DOS: http://www.columbia.edu/kermit/mskermit.html which is a good emulator of the VT100, VT320, and other types. I have booted an old Toshiba laptop from one floppy disk and run MS-DOS and Kermit successfully on it. Other video-terminal resources are available via: http://www.cs.utk.edu/~shuford/terminal_index.html -- Richard S. Shuford shuford(at)list.stratagy.com From dold@76.usenet.us.com Wed Jul 17 12:44:22 EDT 2002 Article: 13530 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!newsfeed.stanford.edu!paloalto-snf1.gtei.net!crtntx1-snh1.gtei.net!sanjose1-snf1.gtei.net!news.gtei.net!news.mainstreet.net!wasp.rahul.net!samba.rahul.net!rahul.net!a2i!dold.a2i!dold From: dold@76.usenet.us.com Newsgroups: comp.terminals,comp.protocols.kermit.misc Subject: Re: pc as a terminal Date: 17 Jul 2002 16:36:57 GMT Organization: Wintercreek Data Lines: 30 Message-ID: References: <3D2F1AA3.32F62A76@telia.se> NNTP-Posting-Host: yellow.rahul.net NNTP-Posting-User: dold User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (FreeBSD/3.5-STABLE (i386)) X-Comment: Encoded From: line allows replies that preserve original subject Xref: newsmaster.cc.columbia.edu comp.terminals:17261 comp.protocols.kermit.misc:13530 In comp.protocols.kermit.misc Richard S. Shuford wrote: : On 2002-07-12, Tobias Lindblom wrote: :> :> Is there any "terminal-emulator operating system" for x86 around? :> say.. one floppy-bootable. :> I'd like to use an old pc with only 2 MB ram as a terminal on my :> Linux server. : and then get the Kermit program for MS-DOS: : http://www.columbia.edu/kermit/mskermit.html When our Digital Equipment VT100 terminal died, we put an 8088 PC in its place, running DOS, just like it did years ago. I set it to autoexec to Kermit. We even put a monochrome monitor on it. The dedicated Stromberg Carlsen software didn't seem to notice the difference ;-) MSKermit on a bootable DOS 5.x floppy can be a fully capable system, including file transfers over ethernet. It certainly does an outstanding job of VT-xxx emulation, as well as some others, including the Wyse50 that we needed for the Octel voicemail. Once it boots, it doesn't access the floppy, so there's little worry about long term floppy wear. -- --- Clarence A Dold - dold@email.rahul.net - Hidden Valley (Lake County) CA. From ruvenakiash@hotmail.com Wed Jul 17 15:57:07 EDT 2002 Article: 13531 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!arclight.uoregon.edu!logbridge.uoregon.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: ruvenakiash@hotmail.com (ruvena) Newsgroups: comp.protocols.kermit.misc Subject: Automating Scripts to run at a certain time Date: 17 Jul 2002 12:30:07 -0700 Organization: http://groups.google.com/ Lines: 8 Message-ID: NNTP-Posting-Host: 198.165.98.111 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1026934207 8526 127.0.0.1 (17 Jul 2002 19:30:07 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 17 Jul 2002 19:30:07 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13531 Hi! I am writing a script that will download from a remote site at a certain time. How would you be able to run a kermit script .ksc automatically based on what the system time is? Thanks, Ruvena From fdc@columbia.edu Wed Jul 17 15:57:11 EDT 2002 Article: 13532 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Automating Scripts to run at a certain time Date: 17 Jul 2002 15:57:04 -0400 Organization: Columbia University Lines: 21 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1026935825 18041 128.59.39.139 (17 Jul 2002 19:57:05 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 17 Jul 2002 19:57:05 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13532 In article , ruvena wrote: : I am writing a script that will download from a remote site at a : certain time. How would you be able to run a kermit script .ksc : automatically based on what the system time is? : How you do that outside Kermit depends on the operating system. To do it inside Kermit, use the PAUSE command. Here's the "help sleep" text: Syntax: PAUSE [ { number-of-seconds, hh:mm:ss } ] Example: PAUSE 3 or PAUSE 14:52:30 Do nothing for the specified number of seconds or until the given time of day in 24-hour hh:mm:ss notation. If the time of day is earlier than the current time, it is assumed to be tomorrow. If no argument given, one second is used. The pause can be interrupted by typing any character on the keyboard unless SLEEP CANCELLATION is OFF. If interrupted, PAUSE fails, otherwise it succeeds. Synonym: SLEEP. - Frank From not-a-real-address@usa.net Wed Jul 17 18:43:06 EDT 2002 Article: 13533 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!sn-xit-05!sn-xit-06!sn-post-01!supernews.com!news.supernews.com!not-for-mail From: those who know me have no need of my name Newsgroups: comp.protocols.kermit.misc Subject: Re: How to check that voicemail responds? Date: 17 Jul 2002 22:02:23 GMT Organization: earthfriends Message-ID: References: User-Agent: Gnus/5.090007 (Oort Gnus v0.07) XEmacs/21.4 (Informed Management (RC1), i686-redhat-linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: newsabuse@supernews.com Lines: 17 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13533 in comp.protocols.kermit.misc i read: >In article , >ralf.strandell wrote: >: Is it possible to use Kermit to check that a computer-based voicemail >: system [...] is responding? >: >Although Kermit was not intended for voice telephony work, you might be able >to use it. a modem that can (or presumes to) sense voice energy might be useful, in that they can return a `VOICE' response which a kermit script could handle. whether the detection mechanism used works well enough to trust would be a significant issue. -- bringing you boring signatures for 17 years From fdc@columbia.edu Wed Jul 17 18:43:22 EDT 2002 Article: 13534 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: C-Kermit FTP Client Bugs Fixed Date: 17 Jul 2002 18:42:41 -0400 Organization: Columbia University Lines: 93 Message-ID: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1026945762 25054 128.59.39.139 (17 Jul 2002 22:42:42 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 17 Jul 2002 22:42:42 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13534 The following bugs in C-Kermit's FTP client have been identified and fixed since C-Kermit 8.0.201 was released: . Security-related command-line option (-z) parsing. . Some problems with secure host authentication. . User authentication failure error messages were sometimes skipped. . FTP PUT /SERVER-RENAME:, /RENAME-TO:, /MOVE-TO: switches were sticky. . If you SET FTP DEB ON and then OFF, the MGET temp file is still kept. . In FTP MGET /UPDATE, equal times spuriously caused download. . SET TRANSFER MODE MANUAL didn't work for FTP. . The FTP client never handled SET FILE INCOMPLETE DISCARD. . Some spurious error messages. Plus the following, which are more than one-liners: . There was no good way to extract FTP protocol messages from a debug log. Now you can "grep ^FTP debug.log", just as you can "grep ^TELNET debug.log" for Telnet protocol messages. . In FTP MGET /RECOVER, recovery was skipped if the local file was newer than the remote. This would seem to make sense, but when a download is interrupted, the partial file never gets the date of the remote file, so the partial file is always newer, and recovery never works. Fixed by removing the date check. . When FTP DATES is ON, we set an incoming file's date only if the file was received successfully. This was changed to set the file's date even if the file was received only partially (assuming we can get the date from server). This would seem to address the /RECOVER date problem but not really, since not all partial files will have been downloaded with the fixed Kermit. . In FTP MGET /RECOVER ..., the first file in each group was always downloaded. Diagnosis: Kermit sends "TYPE A" prior to NLST (as it must). Then when it sends its first SIZE command, it's still in ASCII mode, so the server sends the "ASCII size" rather than the binary size, which is greater than the size of the local file (which was downloaded in binary mode), so recovery is always attempted even when the files are identical. Fixed by switching to the desired type before sending the first SIZE command. . In FTP MGET /EXCEPT: used with SET XFER DISPLAY brief, files that were skipped just said ERROR instead of saying why they were skipped. . If an FTP transfer was in progress but the FTP connection dropped and automatic locus switching was enabled (as it is by default), the locus did not change; thus (for example) a subsequent DELETE command made Kermit send a REMOTE DELETE packet on stdout, rather than deleting local files as you would expect. . Suppose we were doing FTP MGET /UPDATE from a server directory of 1500 files. Kermit would send a SIZE command for every file unconditionally. On some connections, e.g. to the Red Hat Rawhide server, each one could take up to 30 seconds. That would be half a day. Fix: Don't send a SIZE command during the selection phase unless a /SMALLER or /LARGER selector was given. Similarly, don't send an MDTM command unless a date-related selection switch was given. Also fixed FTP MGET to not send a SIZE command when there is a name collision and FILE COLLISION is DISCARD, even if /SMALLER or /LARGER were also specified. . Made [M]GET and [M]PUT /UPDATE switch imply FTP DATES ON, since they didn't work unless it was. . Added the code to safely detect if the server supports the MDTM command, which made it safe to change the default for FTP DATES from OFF to ON. . Added FTP [M]GET /DATES-DIFFER, which is like /UPDATE except it selects files that are newer or older, rather than only newer. This allows updates from sources where files might be rolled back to earlier versions. It's a bit dangerous if you use it without knowing what it's for, since it allows older files to overwrite newer ones. . Increased max number of /EXCEPT: patterns from 8 to 64 for file transfer (not necessarily for other things). . If an MGET with selection clauses results in no files transferred simply because no files were selected, MGET now succeeds instead of failing. . Interruption of MGET and MPUT by Ctrl-C generally would interrupt only the current file, but then go on to the next one and would not break out of a command file or macro. This should be fixed now. The updated code for Unix is here: http://www.columbia.edu/kermit/ckdaily.html and a couple new FTP scripts were added to the library: http://www.columbia.edu/kermit/ckscripts.html#inet - Frank From tgilber1@netscape.net Thu Jul 18 20:16:03 EDT 2002 Article: 13535 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!arclight.uoregon.edu!logbridge.uoregon.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: tgilber1@netscape.net (tgilber1) Newsgroups: comp.protocols.kermit.misc Subject: telnet Date: 18 Jul 2002 16:49:18 -0700 Organization: http://groups.google.com/ Lines: 11 Message-ID: <44022a60.0207181549.2e1207a9@posting.google.com> NNTP-Posting-Host: 63.114.108.89 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1027036158 11956 127.0.0.1 (18 Jul 2002 23:49:18 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 18 Jul 2002 23:49:18 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13535 I have alarms messages coming from remote units that only use telnet protocol. Is there anyway I could use c-kermit? In the c-kermit manual I just purchased, it states that c-kermit is not a telnet server (c-kermit 6.0). If not, can I route these alarm messages from a linux telnet server unto kermit by the way of routing it to a serial port? If so, how is this done? If not, is there any plans to add telnet server capabilities to the kermit suite? Thanks, tgilber1 From fdc@columbia.edu Thu Jul 18 20:16:08 EDT 2002 Article: 13536 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: telnet Date: 18 Jul 2002 20:15:39 -0400 Organization: Columbia University Lines: 27 Message-ID: References: <44022a60.0207181549.2e1207a9@posting.google.com> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1027037741 25861 128.59.39.139 (19 Jul 2002 00:15:41 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 19 Jul 2002 00:15:41 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13536 In article <44022a60.0207181549.2e1207a9@posting.google.com>, tgilber1 wrote: : I have alarms messages coming from remote units that only use telnet : protocol. Is there anyway I could use c-kermit? In the c-kermit : manual I just purchased, it states that c-kermit is not a telnet : server (c-kermit 6.0). : Not in the sense of telnetd. But it can accept incoming telnet connections: set host * 23 tells it to wait for an incoming connection. You can also have it wait on any other port: set host * 3000 /telnet The /telnet switch should be included when specifying a non-Telnet port, but you still want it to do Telnet protocol negotiations. Once a connection arrives, you can use the regular scripting techniques described in the manual and here: http://www.columbia.edu/kermit/ckscripts.html to process the messages. - Frank From ruvenakiash@hotmail.com Fri Jul 19 09:26:24 EDT 2002 Article: 13537 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: ruvenakiash@hotmail.com (ruvena) Newsgroups: comp.protocols.kermit.misc Subject: HELP!!!! How do you automate a kermit script? Date: 19 Jul 2002 05:00:17 -0700 Organization: http://groups.google.com/ Lines: 8 Message-ID: NNTP-Posting-Host: 198.165.121.24 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1027080017 5882 127.0.0.1 (19 Jul 2002 12:00:17 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 19 Jul 2002 12:00:17 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13537 Hi! I am trying to run a kermit script that will download data from a remote site automatically based on the time of day on the system clock. What do you do to be able to automate the .ksc file so that it will run at a certain time every day? From fdc@columbia.edu Fri Jul 19 09:26:28 EDT 2002 Article: 13538 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: HELP!!!! How do you automate a kermit script? Date: 19 Jul 2002 09:26:20 -0400 Organization: Columbia University Lines: 27 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1027085182 16071 128.59.39.139 (19 Jul 2002 13:26:22 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 19 Jul 2002 13:26:22 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13538 In article , ruvena wrote: : I am trying to run a kermit script that will download data from a : remote site automatically based on the time of day on the system : clock. : : What do you do to be able to automate the .ksc file so that it will : run at a certain time every day? : You can do it outside of Kermit or inside. How you do it outside depends on the operating system. In Unix, you would use a cron or at job. In VMS, the batch system lets you run jobs at specified times. Some versions of Windows might have something for this but I'm not familiar with them. To do it inside Kermit, use the PAUSE command in your script: Syntax: PAUSE [ { number-of-seconds, hh:mm:ss } ] Example: PAUSE 3 or PAUSE 14:52:30 Do nothing for the specified number of seconds or until the given time of day in 24-hour hh:mm:ss notation. If the time of day is earlier than the current time, it is assumed to be tomorrow. If no argument given, one second is used. The pause can be interrupted by typing any character on the keyboard unless SLEEP CANCELLATION is OFF. If interrupted, PAUSE fails, otherwise it succeeds. Synonym: SLEEP. - Frank From ruvenakiash@hotmail.com Fri Jul 19 13:50:30 EDT 2002 Article: 13539 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: ruvenakiash@hotmail.com (ruvena) Newsgroups: comp.protocols.kermit.misc Subject: Re: HELP!!!! How do you automate a kermit script? Date: 19 Jul 2002 10:46:19 -0700 Organization: http://groups.google.com/ Lines: 35 Message-ID: References: NNTP-Posting-Host: 198.165.121.24 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1027100779 3836 127.0.0.1 (19 Jul 2002 17:46:19 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 19 Jul 2002 17:46:19 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13539 fdc@columbia.edu (Frank da Cruz) wrote in message news:... > In article , > ruvena wrote: > : I am trying to run a kermit script that will download data from a > : remote site automatically based on the time of day on the system > : clock. > : > : What do you do to be able to automate the .ksc file so that it will > : run at a certain time every day? > : > You can do it outside of Kermit or inside. How you do it outside > depends on the operating system. In Unix, you would use a cron or at > job. In VMS, the batch system lets you run jobs at specified times. > Some versions of Windows might have something for this but I'm not > familiar with them. > > To do it inside Kermit, use the PAUSE command in your script: > > Syntax: PAUSE [ { number-of-seconds, hh:mm:ss } ] > Example: PAUSE 3 or PAUSE 14:52:30 > Do nothing for the specified number of seconds or until the given time of > day in 24-hour hh:mm:ss notation. If the time of day is earlier than the > current time, it is assumed to be tomorrow. If no argument given, one > second is used. The pause can be interrupted by typing any character on > the keyboard unless SLEEP CANCELLATION is OFF. If interrupted, PAUSE > fails, otherwise it succeeds. Synonym: SLEEP. > > - Frank Hi! Thanks very much for the post. What if i were to do it in UNIX/QNX how would i use the cron? *Ruvena* From fdc@columbia.edu Fri Jul 19 13:50:36 EDT 2002 Article: 13540 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: HELP!!!! How do you automate a kermit script? Date: 19 Jul 2002 13:50:23 -0400 Organization: Columbia University Lines: 9 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1027101027 27078 128.59.39.139 (19 Jul 2002 17:50:27 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 19 Jul 2002 17:50:27 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13540 In article , ruvena wrote: : : Thanks very much for the post. What if i were to do it in UNIX/QNX how : would i use the cron? : Give a "man cron" command at the Unix shell prompt to get an explanation. - Frank From fdc@columbia.edu Tue Jul 23 09:20:57 EDT 2002 Article: 13542 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: question on kermit protocol Date: 23 Jul 2002 09:20:48 -0400 Organization: Columbia University Lines: 44 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1027430451 16148 128.59.39.139 (23 Jul 2002 13:20:51 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 23 Jul 2002 13:20:51 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13542 In article , B.M.J. wrote: : Hello, I'm unexperienced with serial programming but : I do know C, C++ and x86ASM. What I want to do is : write a program that will communicate with the survey : data collectors where I work. I have info on the descriptor : headers and such for the collectors and we have a : program already that downloads data from the collector : to my computer using either kermit , or Zmodem. : However we use number codes sometimes instead of : actual descriptions and I would like to filter and react : to these codes as the download is taking place to my : computer. : What is your computer? If it is any form of Unix (such as Linux), you can use C-Kermit for this: receive /filter:name-of-filter-program in which "name-of-filter-program" is the name of a program you would supply or write to to filter and react to codes in the data. You might be able to do it in Windows too, but it's not so straightforward (since Windows is not easily programmable). : 1. What do I need to know? The minimum specs for kermit ? : Just tell us what operating system you have and we'll tell you which software you can use. : 2. And where can on get this, hopefully for little of no money? : All Kermit software costs little or no money :-) : 3. Are there any websites that have minimum code samples : for using kermit protocol on serial ports ? : You should not need to write your own Kermit (or any other) protocol implementation. The Kermit website is here: http://www.columbia.edu/kermit/ - Frank From steve@baus-systems.com Tue Jul 23 14:20:25 EDT 2002 Article: 13543 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!cyclone.swbell.net!easynews!sn-xit-02!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: "SEB" Newsgroups: comp.protocols.kermit.misc Subject: Server mode current directory Date: Tue, 23 Jul 2002 10:53:49 -0700 Organization: Posted via Supernews, http://www.supernews.com Message-ID: X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Complaints-To: newsabuse@supernews.com Lines: 14 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13543 I am running into a problem when I send a file to a PC running K95 in server mode. I need the file to go into a specific directory and I have a cwd line in the .ini file I am calling to specify that directory but when I talk to the person at the other PC, they are claiming that the file is not in the directory specified and when we do a find file, sure enough it is in some other unrelated folder such as \windows\system32\adobe... If I use a cwd line in my .ini file before my server line, should I expect the file I transfer to go into that directory? Thanks, Steve From fdc@columbia.edu Tue Jul 23 14:25:25 EDT 2002 Article: 13544 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Server mode current directory Date: 23 Jul 2002 14:25:19 -0400 Organization: Columbia University Lines: 22 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1027448721 29418 128.59.39.139 (23 Jul 2002 18:25:21 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 23 Jul 2002 18:25:21 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13544 In article , SEB wrote: : I am running into a problem when I send a file to a PC running K95 in server : mode. I need the file to go into a specific directory and I have a cwd : line in the .ini file I am calling to specify that directory but : when I talk to the person at the other PC, they are claiming that the file : is not in the directory specified and when we do a find file, sure enough it : is in some other unrelated folder such as \windows\system32\adobe... : Evidently the CWD command is failing, or the INI file was skipped or not found, or errored out before the CWD command. : If I use a cwd line in my .ini file before my server line, should I expect : the file I transfer to go into that directory? : Yes. Of course there are lots of other ways to control where files go. You could use SET FILE DOWNLOAD DIRECTORY to specify the directory in which all incoming files are stored, regardless of current directory. Or the client of the server could give a REMOTE CD command to get to the right server directory before sending the file. - Frank From Nospam@NoEmail Wed Jul 24 09:50:21 EDT 2002 Article: 13545 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!pln-e!spln!dex!extra.newsguy.com!newsp.newsguy.com!enews1 From: "B.M.J." Newsgroups: comp.protocols.kermit.misc Subject: Re: question on kermit protocol Date: Tue, 23 Jul 2002 17:40:49 -0400 Organization: http://extra.newsguy.com Lines: 14 Message-ID: References: NNTP-Posting-Host: p-740.newsdawg.com Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13545 ...What is your computer? If it is any form of Unix (such as Linux), ....you can use C-Kermit for this: answer, We are running Win98 on two machines and WinXP on one. Appreciate any info you can give me. ...You should not need to write your own Kermit (or any other) protocol ...implementation. answer, Ok , I figured you would have to write some sort of send / Ack / Nak code of possibly some sort of front end stack information ? From fdc@columbia.edu Wed Jul 24 09:50:25 EDT 2002 Article: 13546 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: question on kermit protocol Date: 24 Jul 2002 09:50:13 -0400 Organization: Columbia University Lines: 26 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1027518618 4296 128.59.39.139 (24 Jul 2002 13:50:18 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 24 Jul 2002 13:50:18 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13546 In article , B.M.J. wrote: : ...What is your computer? If it is any form of Unix (such as Linux), : ....you can use C-Kermit for this: : answer, : We are running Win98 on two machines and WinXP on one. : Appreciate any info you can give me. : The Kermit software for Windows 98 is Kermit 95: http://www.columbia.edu/kermit/k95.html : ...You should not need to write your own Kermit (or any other) protocol : ...implementation. : answer, : Ok , I figured you would have to write some sort of send / Ack / Nak code : of possibly some sort of front end stack information ? : Your data collector already supports Kermit and Zmodem protocols, and so does Kermit 95, so you don't have to do that. As noted previously, if you want to pass the data through a filter during download, Kermit 95 allows that, but you'll have to write the filter. See: http://www.columbia.edu/kermit/ckermit70.html#x4.2 - Frank From fdc@columbia.edu Wed Jul 24 18:14:27 EDT 2002 Article: 13547 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Cryptographic K95 Now Exportable to Most Countries Date: 24 Jul 2002 18:12:43 -0400 Organization: Columbia University Lines: 41 Message-ID: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1027548764 25775 128.59.39.139 (24 Jul 2002 22:12:44 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 24 Jul 2002 22:12:44 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13547 It has long been a source of frustration that Kermit 95's security features such as Kerberos, SSL/TLS, and now SSH could not leave the confines of the USA and Canada. As of now, that's history; we now have permission to export the cryptographic version of Kermit 95 to most of the world's countries. The United States Department of Commerce Bureau of Industry and Security (BIS), via CCATS # G025631 dated 07/16/2002, has granted to Kermit 95: . Export Control Classification Number (ECCN) 5D002 (Telecommunications and Information Security - Software), Paragraph C.1. . Export License Exception ENC (Encryption Commodities and Software) under Sections 740.17(A) and 740.17(B)(3) of the US Export Administration Regulations (EAR). The License Exception allows export of the cryptographic version of K95 (i.e. the one that includes SSH, Kerberos, SSL/TLS, and other security methods) to all countries except Cuba, Iran, Iraq, North Korea, Libya, Sudan, and Syria (this list of countries is specified in the applicable sections of the EAR, and not chosen by us). This means that: . The "crypto" demo may now be downloaded in most countries: http://www.columbia.edu/kermit/k95demo.html . Bulk and Academic Site License orders from most countries will now be filled by the cryptographic version: http://www.columbia.edu/kermit/academic.html http://www.columbia.edu/kermit/k95pricing.html#bulk . We can begin to put together the K95 2.x shrinkwrapped package; however, this will still take some time due to other factors. The Kermit website and download pages have been updated to reflect the new situation; the e-academy site will follow shortly. - Frank From danny.lu@mail.pouchen.com.tw Thu Jul 25 09:13:34 EDT 2002 Article: 13548 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!ctu-gate!spring.edu.tw!news.nctu.edu.tw!netnews.eranet.net!news.ttn.net!netnews.hinet.net!news From: "dannynews" Newsgroups: comp.protocols.kermit.misc Subject: C-kermit hanged... Date: Thu, 25 Jul 2002 14:35:14 +0800 Organization: DCI HiNet Lines: 17 Message-ID: NNTP-Posting-Host: home.acronexus.com X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13548 I make the C-kermit 8.0.201 on my linux, but when I %kermit -c ... ----------------------------------- and then hanged, I try to press Ctrl-? and Ctrl-\C and there is no response, and cannot go back kermit prompt, how to solve this problem?? -- Best Regard Danny Lu Pou-Yuen Tech. Inc. TEL: 886-4-23580345 #311 FAX: 886-4-23580333 danny.lu@mail.pouchen.com.tw From fdc@columbia.edu Thu Jul 25 09:24:04 EDT 2002 Article: 13549 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: C-kermit hanged... Date: 25 Jul 2002 09:23:57 -0400 Organization: Columbia University Lines: 23 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1027603438 1114 128.59.39.139 (25 Jul 2002 13:23:58 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 25 Jul 2002 13:23:58 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13549 In article , dannynews wrote: : I make the C-kermit 8.0.201 on my linux, but when I : %kermit -c : ... : ----------------------------------- : and then hanged, I try to press Ctrl-? : and Ctrl-\C and there is no response, and cannot go back kermit prompt, how : to solve this problem?? : If you want Kermit to enter CONNECT mode (which is what "-c" means), you have to tell it what to connect to. If I type "kermit -c" at the shell prompt, I get: $ kermit -c -l or -j or -X required $ See "man kermit" for details about command-line options, or visit: http://www.columbia.edu/kermit/ckututor.html - Frank From fdc@columbia.edu Thu Jul 25 14:11:44 EDT 2002 Article: 13550 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.os.vms,comp.protocols.kermit.misc Subject: Re: HowTo delete a remote file via FTP without user interaction? Date: 25 Jul 2002 14:03:44 -0400 Organization: Columbia University Lines: 45 Message-ID: References: <75be4573.0207240007.6257f41f@posting.google.com> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1027620226 12820 128.59.39.139 (25 Jul 2002 18:03:46 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 25 Jul 2002 18:03:46 GMT Xref: newsmaster.cc.columbia.edu comp.os.vms:343938 comp.protocols.kermit.misc:13550 In article <75be4573.0207240007.6257f41f@posting.google.com>, Geert Marttin wrote: : I'm maintaining a (DEC Pascal) program that will download updates on a : regular basis. The program consists of a loop within which it will: : - check if new files have been created on a remote directory : - copy these files to a local directory : - delete the files on the remote directory : This worked fine with DecNet but in the future we'll be using FTP for : this. : : The first two were easy to modify utilizing DIR/FTP and COPY/FTP in : command files which are 'called' from the program (using $CREPRC). But : I seem unable to find a (DCL) command that will delete files via FTP?! : I am able to set up a FTP connection manually and delete the files : (with the FTP utility) but, well, that's not something my users want : to be bothered with/I want to bother my users with. : : Anybody have any idea how to automate this task? : Gee, too bad C-Kermit's FTP module has not been ported to VMS, because it's perfect for this: http://www.columbia.edu/kermit/ftpscripts.html With Kermit, it's done with a single command: mget /delete This means: get all the files whose names match the given filespec pattern, and each time a file arrives successfully, tell the server to delete the source file. You can think of this as *moving* the files >from the server to the client. If a file can't be downloaded completely for any reason, it is not deleted from the server. By the way, you can do exactly the same if you use Kermit protocol, so if the FTP host can run C-Kermit, you could use Kermit instead of FTP and get the same effect: http://www.columbia.edu/kermit/ckermit.html This topic is also covered in some depth here: http://www.columbia.edu/kermit/case10.html - Frank From dold@67.usenet.us.com Fri Jul 26 15:35:06 EDT 2002 Article: 13551 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!ord-feed.news.verio.net!stl-feed.news.verio.net!newsreader.wustl.edu!gumby.it.wmich.edu!aanews.merit.edu!newsfeed.stanford.edu!paloalto-snf1.gtei.net!crtntx1-snh1.gtei.net!sanjose1-snf1.gtei.net!news.gtei.net!news.mainstreet.net!wasp.rahul.net!samba.rahul.net!rahul.net!a2i!dold.a2i!dold From: dold@67.usenet.us.com Newsgroups: comp.protocols.kermit.misc Subject: CD to a UNC name Date: 26 Jul 2002 19:28:45 GMT Organization: Wintercreek Data Lines: 15 Message-ID: NNTP-Posting-Host: yellow.rahul.net NNTP-Posting-User: dold User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (FreeBSD/3.5-STABLE (i386)) X-Comment: Encoded From: line allows replies that preserve original subject Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13551 I managed to puzzle this out once, and it was so obvious that I've forgotten it ;-) I want to change directory to a remote volume on WindowsME. I want to do cd {\\otherpc\someplace\} I know I can "map" that location to a drive letter in Windows, and then cd to that drive, but I thought I had done this directly, and wound up with some strange path like c://otherpc/someplace, but that could be my fuzzy memory. Running Kermit 95 2.0.1, on a WindowsME machine. -- --- Clarence A Dold - dold@email.rahul.net - Hidden Valley (Lake County) CA. From greg180@aol.com Fri Jul 26 17:15:35 EDT 2002 Article: 13552 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!newsxfer.eecs.umich.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: greg180@aol.com (chuck) Newsgroups: comp.protocols.kermit.misc Subject: Help needed in setup of Host - dialin client Date: 26 Jul 2002 14:09:27 -0700 Organization: http://groups.google.com/ Lines: 83 Message-ID: <71dc564d.0207261309.7bfa937a@posting.google.com> NNTP-Posting-Host: 152.163.188.227 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1027717768 19677 127.0.0.1 (26 Jul 2002 21:09:28 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 26 Jul 2002 21:09:28 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13552 Stuck on a seemingly simple problem. We want to use KERMIT to transfer files between two dialed up machines. The client will dail the host and have a set of files to send and will , in the same session want to receive files from the host. I believe I have the HOST side setup. I used the scripts HOSTMDM.KSC, HOSTMODE.KSC (with mods to skip the prompts) and HOST.KSC. I seem to be missing something. The clients call gets answered, HOST.ksc is started by HOSTMDM then both sides hang until host times out and disconnects. Client attempts reconnect after a waiting period. The detail of the dialoge on both machines is shown below. I need help as to what I need to look at. I'm not even sure if my issue is on the host side or client side. (OR BOTH!) Some diagnostic thinking/direction would be appreciated. This thing is killing me and getting urgent as well. Thanks, Chuck --------------------------------------------------- HOST MACHINE (Kermit 2.0, Windows 95) Using hostmode.ksc (modified to eliminate some confirmation prompts) Invokes HOSTMDM.ksc as expected, call is answered HOST.ksc entered and reports 13:43:25 - Current directory: C:/PROGRA~1/KERMIT~1.0/ 13:43:25 - Connection from Boca_V90_Tidalwave_External_FD 13:43:25 - Auth State = [rejected] 13:43:25 - Auth Name = [] 13:43:25 - Auth Type = [X_509_CERTIFICATE] 13:43:25 - User name = [C.P.S., Inc.] Why is the user name set, no log in dialog has been done yet? Why the X_509_CERTIFICATE auth? Host.ksc waits on input: clear device-buffer ; Don't allow typeahead intext 3 {Username: } 32 90 INTEXT times out, FAILs (at or near line 480) and disconnects --------------------------------------------------------------------------------------- CLIENT Machine (Kermit 2.0, Windows 95) Client who has dialed in, never sees a request for the username or any other prompt I am using the recover.ksc with modest changes to preserve modem (tapi) settings established in my custom.ini. I also use a script which was gen'ed by the dialer. I dropped the dial/connect stmts and take it at the start of my process as a std setup procedure. I have used that setup script productively to dial up to a mainframe for kermit file transfers. hence k95 > take cpssetup.ksc k95 > take sender.ksc (son of recover) I get the following on the client screen: CARRIER 26400 Protocol: LAP-M COMPRESSION: V.42bis This followed by an unknown (to me) hex data stream. Perhaps some sort of handshaking the client side is not dealing with. Command line is functional until I try to something remotish. From fdc@columbia.edu Fri Jul 26 17:15:55 EDT 2002 Article: 13553 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Help needed in setup of Host - dialin client Date: 26 Jul 2002 17:15:31 -0400 Organization: Columbia University Lines: 36 Message-ID: References: <71dc564d.0207261309.7bfa937a@posting.google.com> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1027718133 8584 128.59.39.139 (26 Jul 2002 21:15:33 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 26 Jul 2002 21:15:33 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13553 In article <71dc564d.0207261309.7bfa937a@posting.google.com>, chuck wrote: : Stuck on a seemingly simple problem. We want to use KERMIT to : transfer files between two dialed up machines. The client will dail : the host : and have a set of files to send and will , in the same session : want to receive files from the host. : : I believe I have the HOST side setup. : I used the scripts HOSTMDM.KSC, HOSTMODE.KSC (with mods to skip the : prompts) : and HOST.KSC. : : I seem to be missing something. : You're probably doing too much. Just have your server-side script set the appropriate communication parameters, wait for the call to come in (ANSWER 0), then enter server mode. Then you can drive everything from the client. Example: cd some-directory set port tapi set speed 57600 answer 0 if success server If you want to keep accepting calls: while true { answer 0 if success server } Further elaborations are possible. - Frank From jaltman@watsun.cc.columbia.edu Sat Jul 27 10:58:19 EDT 2002 Article: 13554 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!jaltman From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman) Newsgroups: comp.protocols.kermit.misc Subject: Re: CD to a UNC name Date: 27 Jul 2002 03:32:31 GMT Organization: Columbia University Lines: 20 Message-ID: References: NNTP-Posting-Host: watsun.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1027740751 23055 128.59.39.2 (27 Jul 2002 03:32:31 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 27 Jul 2002 03:32:31 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13554 In article , wrote: : I managed to puzzle this out once, and it was so obvious that I've : forgotten it ;-) : : I want to change directory to a remote volume on WindowsME. : I want to do : cd {\\otherpc\someplace\} : I know I can "map" that location to a drive letter in Windows, and then : cd to that drive, but I thought I had done this directly, and wound up : with some strange path like c://otherpc/someplace, but that could be my : fuzzy memory. Running Kermit 95 2.0.1, on a WindowsME machine. CD \\\\OTHERPC\\someplace you must double quote backslashes Jeffrey Altman * Sr.Software Designer Kermit 95 2.0 GUI available now!!! The Kermit Project @ Columbia University SSH, Secure Telnet, Secure FTP, HTTP http://www.kermit-project.org/ Secured with MIT Kerberos, SRP, and kermit-support@columbia.edu OpenSSL. From dold@67.usenet.us.com Sun Jul 28 11:21:54 EDT 2002 Article: 13556 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!news-in.mts.net!logbridge.uoregon.edu!news-feed.riddles.org.uk!gail.ripco.com!wasp.rahul.net!samba.rahul.net!rahul.net!a2i!dold.a2i!dold From: dold@67.usenet.us.com Newsgroups: comp.protocols.kermit.misc Subject: Re: CD to a UNC name Date: 27 Jul 2002 23:24:39 GMT Organization: Wintercreek Data Lines: 11 Message-ID: References: NNTP-Posting-Host: yellow.rahul.net NNTP-Posting-User: dold User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (FreeBSD/3.5-STABLE (i386)) X-Comment: Encoded From: line allows replies that preserve original subject Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13556 Jeffrey Altman wrote: : CD \\\\OTHERPC\\someplace : you must double quote backslashes See... so simple that I couldn't remember it. Thanks. -- --- Clarence A Dold - dold@email.rahul.net - Hidden Valley (Lake County) CA. From fdc@columbia.edu Sun Jul 28 12:38:13 EDT 2002 Article: 13557 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.unix.bsd.openbsd.misc,comp.protocols.kermit.misc Subject: Re: logging input from com/serial port in OpenBSD 2.9 Date: 28 Jul 2002 11:46:45 -0400 Organization: Columbia University Lines: 35 Message-ID: References: <2f177cd8.0207251119.782a5643@posting.google.com> <2f177cd8.0207251954.3ae1df51@posting.google.com> <3D431E29.5070505@ostecs.com> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1027871214 13607 128.59.39.139 (28 Jul 2002 15:46:54 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 28 Jul 2002 15:46:54 GMT Xref: newsmaster.cc.columbia.edu comp.unix.bsd.openbsd.misc:29120 comp.protocols.kermit.misc:13557 In article <3D431E29.5070505@ostecs.com>, mkhomo wrote: : Frank da Cruz wrote: : > In article <2f177cd8.0207251954.3ae1df51@posting.google.com>, : > Danathar wrote: : > : Ahh Kermit, there's something I have'nt heard in a while. Must of been : > : 10 years since I messed around with that. It must of not crossed my : > : mind due to the extreme age of the neurons holding that info :) : > : : > Yes, time marches on, but we've been busy all those years. Take a look : > at the website to see what I mean: : > : > http://www.columbia.edu/kermit/ : : Out of curiosity, are they still using kermit for space communications, : and if so how wide were the sliding windows for say the voyager/rover : transmissions to Mars, back in '98? : Kermit, TCP, X.25, or any other protocol that requires signaling in both directions is not suitable for space communications. The medium is noisy and the penalty for retransmissions is prohibitive. When data is sent from deep space back to earth, the transmission is one-way and it embodies serious redundancy and error correction codes, which expand the size of the transmission far beyond what we would tolerate for realtime terrestrial protocols. Large volumes of data arrive from the spacecraft mangled almost beyond recognition, and then are reconstructed after the fact not only from the built-in redundancy of the data (which is not perfect) but also image-processing or similar techniques. Kermit sliding windows are fine for satellite communication, out to and including the moon, and for this it's better than protocols like TCP that don't support selective retransmission of damaged packets. The greater the distance, the greater the advantage of selective retransmission. - Frank From fdc@columbia.edu Sun Jul 28 15:53:58 EDT 2002 Article: 13558 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Automated SSH sessions Date: 28 Jul 2002 15:52:51 -0400 Organization: Columbia University Lines: 11 Message-ID: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1027885972 23645 128.59.39.139 (28 Jul 2002 19:52:52 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 28 Jul 2002 19:52:52 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13558 A new sample script, autossh, has been posted to the Kermit script library: http://www.columbia.edu/kermit/ckscripts.html It conducts an automated ssh session and can be executed by both K95 2.0 or the Unix version of C-Kermit 8.0: ftp://kermit.columbia.edu/kermit/scripts/ckermit/autossh - Frank From greg180@aol.com Mon Jul 29 11:32:23 EDT 2002 Article: 13559 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!nycmny1-snh1.gtei.net!news.gtei.net!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: greg180@aol.com (chuck) Newsgroups: comp.protocols.kermit.misc Subject: Re: Help needed in setup of Host - dialin client Date: 29 Jul 2002 08:29:12 -0700 Organization: http://groups.google.com/ Lines: 69 Message-ID: <71dc564d.0207290729.32a9d6cb@posting.google.com> References: <71dc564d.0207261309.7bfa937a@posting.google.com> NNTP-Posting-Host: 152.163.188.227 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1027956552 18598 127.0.0.1 (29 Jul 2002 15:29:12 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 29 Jul 2002 15:29:12 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13559 fdc@columbia.edu (Frank da Cruz) wrote in message news:... > In article <71dc564d.0207261309.7bfa937a@posting.google.com>, > chuck wrote: > : Stuck on a seemingly simple problem. We want to use KERMIT to > : transfer files between two dialed up machines. The client will dail > : the host > : and have a set of files to send and will , in the same session > : want to receive files from the host. > : > : I believe I have the HOST side setup. > : I used the scripts HOSTMDM.KSC, HOSTMODE.KSC (with mods to skip the > : prompts) > : and HOST.KSC. > : > : I seem to be missing something. > : > You're probably doing too much. Just have your server-side script > set the appropriate communication parameters, wait for the call to > come in (ANSWER 0), then enter server mode. Then you can drive > everything from the client. Example: > > cd some-directory > set port tapi > set speed 57600 > answer 0 > if success server > > If you want to keep accepting calls: > > while true { > answer 0 > if success server > } > > Further elaborations are possible. > > - Frank Frank: Thanks for simplifing my problem, less IS indeed more. Further, Chapter 11 is my new best friend. I had not Read The Fine Manual to that point. It seems my problem is on the client side now. Some subtle point or set command I am missing? Further elaboration seems to be needed... On the host side call, is answered, the server reports itself present and displays the messages below (I set server display off) Speed changed to 26400 Call complete: "CONNECT 26400". Entering server mode on Boca V90 Tidalwave External FD Type Ctrl-C to quit. -------------- Client seems unable to talk to the server however After I dial it connects, and I Alt-X to command screen. I issue an RDIR (to test the connection) and I receive the message Press X or E key to cancel. E of course cancels, X errors out after 60+ seconds. When I quit the client session, host sees it as well and sets up for next call as hoped. From fdc@columbia.edu Mon Jul 29 11:43:45 EDT 2002 Article: 13560 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Help needed in setup of Host - dialin client Date: 29 Jul 2002 11:43:38 -0400 Organization: Columbia University Lines: 50 Message-ID: References: <71dc564d.0207261309.7bfa937a@posting.google.com> <71dc564d.0207290729.32a9d6cb@posting.google.com> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1027957420 28835 128.59.39.139 (29 Jul 2002 15:43:40 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 29 Jul 2002 15:43:40 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13560 In article <71dc564d.0207290729.32a9d6cb@posting.google.com>, chuck wrote: : ... : Thanks for simplifing my problem, less IS indeed more. : : Further, Chapter 11 is my new best friend. I had : not Read The Fine Manual to that point. : : It seems my problem is on the client side now. : Some subtle point or set command I am missing? : Further elaboration seems to be needed... : : On the host side call, is answered, the server reports itself : present and displays the messages below (I set server display off) : : Speed changed to 26400 : Call complete: "CONNECT 26400". : Entering server mode on Boca V90 Tidalwave External FD : Type Ctrl-C to quit. : : -------------- : Client seems unable to talk to the server however : : After I dial it connects, and I Alt-X to command screen. : I issue an RDIR (to test the connection) and I receive the message : : Press X or E key to cancel. : : E of course cancels, X errors out after 60+ seconds. : : When I quit the client session, host sees it as well : and sets up for next call as hoped. : The call is answered, the connection is made, but no useful communication is happening. Usually this is explained by one of the basic serial communication parameters discussed in Chapter 3: . Interface speed . Flow control . Parity It's almost certainly not parity. My guess is interface speed: : Speed changed to 26400 : Call complete: "CONNECT 26400". Try adding "set modem speed-matching off" to your script. Also make sure both sends have RTS/CTS flow control. - Frank From fdc@columbia.edu Mon Jul 29 17:47:31 EDT 2002 Article: 13561 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.unix.aix,comp.protocols.kermit.misc Subject: Re: replacing ftp with kermit Date: 29 Jul 2002 17:26:31 -0400 Organization: Columbia University Lines: 39 Message-ID: References: <334f538e.0207290731.724db7ec@posting.google.com> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1027977997 13211 128.59.39.139 (29 Jul 2002 21:26:37 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 29 Jul 2002 21:26:37 GMT Xref: newsmaster.cc.columbia.edu comp.unix.aix:238137 comp.protocols.kermit.misc:13561 In article <334f538e.0207290731.724db7ec@posting.google.com>, steven wrote: : I am looking for a secure alternative to ftp in order to transfer : files between AIX and NT. I am looking at kermit but it may not be the : answer. : : I need to ftp files from an AIX machine to a NT machine,so the NT : machine is the server and AIX is a client. This is dependant on batch : runs on the AIX machine. From what I can gather kermit95 for windows : is only a client package. : For FTP connections, it's only a client. For Internet Kermit Service: http://www.columbia.edu/kermit/iksd.html it can be a server OR a client. : Is is possible to have a kermit server : running on the NT machine and use the AIX machine to initiate ftp : sessions? : Yes. For Windows NT, the new secure Windows Internet Kermit Service: http://www.columbia.edu/kermit/wiksd.html As you can see, this is installed as a Windows NT service and accepts incoming connections from the Internet, authenticating securely against the Windows ID system. You can also allow anonymous access if you wish. For AIX, use C-Kermit 8.0 as the client: http://www.columbia.edu/kermit/ckermit.html As you can see from the RFC, you actually gain quite a bit by using Kermit rather than FTP: ftp://ftp.isi.edu/in-notes/rfc2839.txt - Frank From LeslieCharles@comcast.net Tue Jul 30 10:01:53 EDT 2002 Article: 13562 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!howland.erols.net!cyclone-sf.pbi.net!216.166.71.10!border1.nntp.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!bin4.nnrp.aus1.giganews.com.POSTED!not-for-mail From: "Charles Peterson" Newsgroups: comp.protocols.kermit.misc Subject: Strange Windows Platform Issue Lines: 29 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-GC-Trace: gv1-0dS5BwxPpMYFNdoI9A3eBvkzny1v68xPf4= Message-ID: NNTP-Posting-Date: Mon, 29 Jul 2002 17:18:10 CDT Organization: Giganews.Com - Premium News Outsourcing X-Trace: sv3-HnpAxZukbmCzXozj2ue68/1QpAgk9fE5i0tglcfdUiFkAiG1qupz3D+Tn+hsKFjsl6UfkKLHVYtiClf!6txBF6FpMqvEdDX448ZdKGACHC64U1eyd1Hp0hTlbrHc2PGxNo4bMWAxr0d8a4sTSI4xT4N8Rt26!M4yrw0xNAtRSVlmBFco= X-Complaints-To: abuse@comcast.com X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.1 Date: Mon, 29 Jul 2002 22:18:10 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13562 I have been working on a host server - client dial in on two windows machines. Invaluable help from this group (aka Frank) simplified the host side. Server was running on a Win95 machine, the client was dialing in from a Win98 box. I couldn't get the client to talk to the server. For no good reason, I switched the roles of the two machines (server on Win98, client on Win95). Just moved the script files and it all worked. Full remote services available on the client, file gets and puts, etc. Good news it works, bad news I have no idea why. Both systems running Kermit 95 2.0. Its scary, as we envision deployment of the client code to a variety of Windows machines and have no idea of what the show stopper is, or even it was in the client or the server. I hope the original issue was the server side. I can try some other permutations and other hardware, but that really I'm just thrashing without a clue. Any ideas anyone?. Modem? Missing some windows prerequisite? Character set/code page issues? (the 98 box is 850, 95 is 437 as I recall. I'm off site now) From jaltman@watsun.cc.columbia.edu Tue Jul 30 10:02:04 EDT 2002 Article: 13563 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!jaltman From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman) Newsgroups: comp.protocols.kermit.misc Subject: Re: Strange Windows Platform Issue Date: 29 Jul 2002 23:02:32 GMT Organization: Columbia University Lines: 20 Message-ID: References: NNTP-Posting-Host: watsun.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1027983752 17090 128.59.39.2 (29 Jul 2002 23:02:32 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 29 Jul 2002 23:02:32 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13563 In article , Charles Peterson wrote: : : I can try some other permutations and other hardware, but that really I'm : just thrashing without a clue. : : Any ideas anyone?. : Modem? : Missing some windows prerequisite? : Character set/code page issues? (the 98 box is 850, 95 is 437 as I : recall. I'm off site now) What is the modem? How are you connecting to it? Jeffrey Altman * Sr.Software Designer Kermit 95 2.0 GUI available now!!! The Kermit Project @ Columbia University SSH, Secure Telnet, Secure FTP, HTTP http://www.kermit-project.org/ Secured with MIT Kerberos, SRP, and kermit-support@columbia.edu OpenSSL. From fdc@columbia.edu Tue Jul 30 10:06:15 EDT 2002 Article: 13564 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Strange Windows Platform Issue Date: 30 Jul 2002 10:06:10 -0400 Organization: Columbia University Lines: 28 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1028037971 20600 128.59.39.139 (30 Jul 2002 14:06:11 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 30 Jul 2002 14:06:11 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13564 In article , Jeffrey Altman wrote: : In article , : Charles Peterson wrote: : : : : I can try some other permutations and other hardware, but that really I'm : : just thrashing without a clue. : : : : Any ideas anyone?. : : Modem? : : Missing some windows prerequisite? : : Character set/code page issues? (the 98 box is 850, 95 is 437 as I : : recall. I'm off site now) : It's not the code page. : What is the modem? : How are you connecting to it? : The best course is to send a copy of your script to us at: kermit-support@columbia.edu and we'll go through it and see what we can suggest. If the script looks OK but you're still having trouble on some PCs, we can help you with the troubleshooting. - Frank From Use-Author-Address-Header@[127.1] Wed Jul 31 09:54:24 EDT 2002 Article: 13566 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsfeed.mathworks.com!oleane.net!oleane!esplande3000.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!newsrouter.chello.at!newsfeed.Austria.EU.net!newsfeed.kpnqwest.at!anon.lcs.mit.edu!nym.alias.net!mail2news Subject: Case Study: Lynx/Kermit Coordination (Part II) Message-ID: From: "Dallas E. Legan" Author-Address: dallasii kincyb com Date: Wed, 31 Jul 2002 04:44:57 -0700 Mail-To-News-Contact: postmaster@nym.alias.net Organization: mail2news@nym.alias.net Newsgroups: comp.protocols.kermit.misc Lines: 378 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13566 Case Study: Lynx/Kermit Coordination (Part II) - Kermit Finds Jobs **************************************************************************** Note: This article is not intended either to endorse or disparage http://www.dice.com, but simply to describe the author's use of the service. **************************************************************************** I had one of the leaders of the local USENIX chapter review my resume for suggested changes and he urged me to check for jobs on www.dice.com. At first I looked at Dice a little, somewhat discouraged by previous experiences with online job boards. Then I had the idea of automating the process of sending resumes to the finds that came up, and really get after things. Sophisticated time/motion studies weren't needed to realize that only 3 or 4 keystrokes were needed to navigate >from one search find to another. In vi cursor control mode these were barely more than finger twitches. To actually send information to to the firm in question though, chewed up several times that many keystrokes and constituted the real bottleneck in using the service. Just see the commented-out 'mailto:' sequence for Lynx in the script below. Then there were editor commands to read in a resume. One thing I noticed was that the 'mailto:' links were not truly 'mailto:'s. While displaying as mail addresses, in fact they were http:...cgi?... style links apparently doing some things in the background. What I didn't exactly know. Trying to go to one directly from a command line invocation of the browsers I have seemed to paralyze the browser. The first stab at this was a Rexx script (using the Regina GPL'd interpreter) to be run as a Lynx Extern program, (see http://www.columbia.edu/kermit/case20.html, Part I of this series.) tearing apart the CGI URL and mailing a resume to the firm listing the position. (See the comments in the listing below.) The reason for picking this language was that it seemed like a simple minded use of the Rexx Parse command. I tried running this a few days on what turned up, but the mailings seemed to do nothing whatever. Maybe something important was going on with the CGI script at the server? The next try at this would use the actual http URL going through the whole process of punching in the browser questions for sending mail. Working on this a Friday afternoon, I would run Lynx inside a C-Kermit pseudoterminal session, (C-Kermit 8.0.200, 12 Dec 2001, running on Debian Linux 2.2) and rough out the first version of a script that would set and react when Kermit detected a 'trigger string' in the browsing session. In this first version, I would activate the 'mail' CGI link, and and the trigger string 'Using mailto:' would show up on the Lynx advanced user mode status line. At this point the C-Kermit script would take over, making sure my name was correctly entered, adding some to the subject line, erasing my address from the 'Cc:' option, and then reading in my resume to the vi edit session my Lynx configuration was set up to use for editing tasks. To my delight it worked! Being encouraged, sometime that afternoon, I decided to go for broke. I brought up the Dice.com advanced query page, set it to hunt for jobs in the last 30 days, 50 hits per page, first 2000 hits, for the keyword 'Perl', hit the 'search' link and 1,399 finds popped up. 1,399, a number I will never forget. :-) I proceeded plowing away. At Dice 'perl' hit 700, I disconnected my dialup connection, leaving the browser on the page left off at, and went to pick up a couple of newspapers, my mail, get a meal, and some of my daily reading. Returning, I decided to make an improvement to the script, so that I didn't have to manually activate the 'mailto:' CGI link. Instead, I used part of the CGI link URL, which would show up on the Lynx status line, as the trigger string, so that all I had to do was move the browser cursor over the link, and then C-Kermit would take over and send the e-mail. A little bit of experimentation was needed for this, documented in the commented-out tries. With this change, I pushed ahead until finishing all of the finds, sometime Saturday morning. The script below is presented warts and all, only with some email addresses mangled to prevent their being spam targets, and comments added later denoted with '# *'. Typically, you might start the session with: pty lynx -your -choice -of -switches -here http://www.dice.com at the Kermit command line and you will be put in interactive mode with Lynx. There was an accompanying macro, define dicecgi take /home..../dicedgi.ksc to get it started with the script. This could be put in the Kermit startup files. >From the interactive Lynx session, hit 'C-\ c' to return to the Kermit command line and use the macro 'dicecgi', instead of the usual 'connect' command to go interactive with browsing again. The script might be made a bit cleaner using the '/trigger:' switch on the 'connect' command, instead of setting it with 'set terminal ...'. As it is, the string is cleared as soon as it triggers return from the connect session, and not reset until Lynx is moved to the end of the page before reconnecting. All of this to avoid going into an infinite loop if it returned directly to the page as it was before triggering, where the same string would still be on the status line. There are probably many parallels with the handling of interrupts and signals. One obvious improvement would be to have it bookmark the links it processes, so a log of what was done could easily be kept. Of course the whole thing could be automated even more, taking on 50 find chunks (per web page) a time would probably fairly easy. On the other hand, leaving things only semi-automated allowed seeing a lot of what would probably be good to have seen before trying to automate even more. Some find pages pulled up a server error message when I tried to view them. Some had no mail link. Some seem to have had mangled email addresses as far as Lynx was concerned. Some pages had the mail link as the first link on the page, and so immediately started sending a resume. By Saturday night, I estimate about 70 responses of various kinds had showed up. Some were mangled address results. Some were automated responses from the ad placers. Some were duplicate responses. Some the address no longer existed. Etc. A few seemed to actually be from people. :-) Not too bad for a weekend. As of this writing nothing definite, but the resume changes suggested by the local USENIX program manager are will have an effect in the longrun. The main thing is the resume is out there. All over, out there. In order to bring this up to a mandatory buzzword content level, I thought of using the term 'Client Side Dynamic HTML' for the idea. The server provides it's normal content, but the client is able to carry out the wishes of the user, not even having to wait for him to activate links. But the plain fact is that HTML was only peripherally involved in the process. A more accurate discription is 'Automated client response'. The various servers being interacted with are all 'automated', and this simply equalizes the other, client side of the equation with them some. # * <= indicates comments added for this article # script for automating Dice.com resume submission # * Start of the original Rexx script, here for documentation purposes # * # #!/usr/local/bin/rexx # /* ReXX */ # # /* # http://www.dice.com/mailto.cgi?xxxxxx@xxxxx.com&tttttt.EEE1111111191 # Subject: Job EEE1111 on DICE # */ # # # PARSE ARG URL '?' eddress '&' corpcode '.' jobid '&' somenumber ; # # # IF 'http://www.dice.com/mailto.cgi' >< URL THEN # DO # SAY 'invalid URL ='URL'=' ; # exit ; # END ; # # # /* Testing stuff: # SAY "mailx -s 'Subject: Job "jobid" on DICE or any other appropriate job' " , # || " "eddress" < /home/dallas/download/resume12x.txt " # 'cat /home/dallas/download/resume12x.txt ' # # For real: # */ # # SAY "mailx -s 'Subject: Job "jobid" on DICE or any other appropriate job' " , # || " "eddress" < /home/dallas/download/resume12x.txt " # # EXIT ; # * End of the Rexx script # * Listing of what Lynx queries on when processing a 'mailto:' link: # # # You are sending a comment to: # xxxx.xxxxx@xxxxxxxxxxxxxx.com # # Use Ctrl-G to cancel if you do not want to send a message # # Please enter your name, or leave it blank to remain anonymous # Personal Name: Dallas E. Legan II # # Please enter a mail address or some other # means to contact you, if you desire a response. # Use Control-U to erase the default. # From: xxxxxxx@xxxxxxx.com # # Please enter a subject line. # Use Control-U to erase the default. # Subject: Job MMMM_CCCC_Mrr. on DICE # # Enter a mail address for a CC of your message. # Use Control-U to erase the default. # (Leave blank if you don't want a copy.) # Cc: xxxxxxx@xxxxxxx.com # # * End of Lynx console interactions for 'mailto:'s # * Real start of the Kermit script: :recycle clear input-buffer # set terminal trigger {Using mailto:} # set terminal trigger {www\.dice\.com/mailto\.cgi} # set terminal trigger {www\.dice\.com/mailto\.cgi} # set terminal trigger {http://www\.dice\.com/mailto\.cgi\?} # set terminal trigger {www.dice.com/mailto.cgi} set terminal trigger {ailto.cgi} # something, escape sequences or double 'mm' in string, # seemed to through this trigger string off when # 'mailto.cgi' # * When working on final version of the script, went through # * quite a few desperate tries at the trigger string # * before realizing that Lynx was only sending a fragment # * of the CGI script URL wrapped in ANSI terminal escape # * escape sequences - just what was needed to change the displayed # * URL on the status line. # * Escaping the periods should normally never be needed. # * (Like I said, this script is presented warts and all! :-) ) # set terminal trigger {mailto.cgi} connect # * -- Here is where the browsing session starts, # * and when the trigger string is encountered, # * it pops back 'up' to this Kermit command line # * session and this script resumes execution set terminal trigger # -- turn off the trigger if equal {\v(trigger)} {} end 0 else output \013 # * -- If leaving the browsing session via 'C-\ c' # * end this script, otherwise activate the link # * that was under the cursor with a carriage return # * Normally, the 'input' commands, such as follow from here on out # * in this script, should be accompanied by 'if success ...' or # * 'if failure ...', taking appropriate actions to build a robust script. # * I skipped this on this project for several reasons: # * 1) I was in a hurry # * 2) The interacting entities, in this case, were two programs # * running on my computer. When these prompts come up, # * the CGI script has already run and fed a 'mailto:' to the # * local browser, and it is feeding these query prompts # * locally, not over the net. If there is a communication # * foulup, it is indicative of a local problem. # * 3) The 15 seconds alloted for to wait for responses # * in most cases was an eternity # * compared with how fast things were actually happening. # * If anything went wrong, I could just 'C-C' and abort the script, # * and try over. This never proved necessary after things were # * debugged. The purpose of the 'input's are to wait for strings # * from Lynx to the 'console' (really Kermit in this case, # * through the pseudo-terminal connecting them) # * to keep the commands Lynx is *given* synchronized # * with what it is in a state to receive and act on. # * # * Anyway, these checks would probably be a good thing to add before # * moving to higher levels of automation. input 15 {Personal Name:} pause 1 output \021Dallas E. Legan II\013 # input 15 {From: xxxxxxx@xxxxxxx.com} input 15 {From:} input 15 {xxxxxxx.com} output \13 input 15 {Subject:} input 15 {on DICE} output {\ or any position\13} input 15 {Cc} # input 15 {com} # temp to test: output \021\013 output \021\013 # output \013 # Do you wish to include the original message? (y/n) input 15 {(y/n)} output n # * verify that vi is started up: input 15 {~} pause 1 # * The next few commands, 'output ....\13' # * can be replaced with simply 'lineout ....' : output {:read /home/dallas/download/resume12x.txt\13} # pause 2 pause 1 output {:wq\!\013} # Send this comment? (y/n) input 15 {(y/n)} output y # Append '/home/dallas/.lynxsig'? (y/n) input 15 {(y/n)} output y input 1 qqq # pause 5 # * clearing Lynx/pty to accept a command, with an unlikely string output \005 # -- move to the end of the web page # * with C-E input 1 qqq # pause 1 output \012 # -- resetting the console # * with C-L goto recycle # * End of the script Regards, Dallas E. Legan II / leganii@surfree.com / dallasii@kincyb.com Powered by......Lynx, the Internet at hyperkinetic speed. From fdc@columbia.edu Wed Jul 31 11:14:08 EDT 2002 Article: 13567 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.os.linux.misc,comp.protocols.kermit.misc Subject: Re: utf-8 translator Date: 31 Jul 2002 11:13:23 -0400 Organization: Columbia University Lines: 34 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1028128407 12672 128.59.39.139 (31 Jul 2002 15:13:27 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 31 Jul 2002 15:13:27 GMT Xref: newsmaster.cc.columbia.edu comp.os.linux.misc:556882 comp.protocols.kermit.misc:13567 In article , =?ISO-8859-1?Q?Xos=E9?= wrote: : I'm looking for a programme that can translate files, mostly HTML and MySQL : dump files, to utf-8, as I'm trying to move everything into that direction. : : Do they exist? What I've found is specific to certain development : environments (vg. xml-i18n-tools). : One such tool is C-Kermit: http://www.columbia.edu/kermit/ in which the command is: translate For example: translate foo.txt latin2 utf8 foo.utf8 This is just a side benefit of having character-set conversion built into Kermit's communications. In other words, you could just as easily convert a file's character set as part of the download or upload operation using Kermit or FTP protocol. See: http://www.columbia.edu/kermit/case14.html for a tutorial about Kermit's character-set conversion features, and: http://www.columbia.edu/kermit/case08.html about Unicode. - Frank From eric672@carolina.rr.comTRASH Wed Jul 31 16:59:08 EDT 2002 Article: 13568 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsfeed.mathworks.com!nntp.abs.net!dca6-feed2.news.algx.net!allegiance!newsfeed1.cidera.com!Cidera!cyclone.tampabay.rr.com!news-post.tampabay.rr.com!twister.southeast.rr.com.POSTED!53ab2750!not-for-mail From: "Eric Almond" Newsgroups: comp.protocols.kermit.misc Subject: SSL/TLS Scripting Question Lines: 20 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: Date: Wed, 31 Jul 2002 20:35:32 GMT NNTP-Posting-Host: 24.74.65.255 X-Complaints-To: abuse@rr.com X-Trace: twister.southeast.rr.com 1028147732 24.74.65.255 (Wed, 31 Jul 2002 16:35:32 EDT) NNTP-Posting-Date: Wed, 31 Jul 2002 16:35:32 EDT Organization: RoadRunner - Carolina Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13568 I'm scripting out a Secure FTP session using SSL/TLS and I'm getting the following messages that's causing the script to pause for user input: Warning: Server has a self-signed certificate Continue? (Y/N) Warning: Hostname ("ftp.xxxxxx.com") does not match server's certificate ("xxxxxx") Continue? (Y/N) Is there a way to automatically accept these "Warnings"? I know the server is valid and I'm not concerned about these messages. I looked in the documentation but can't find anything specifically talking about these messages. I need this script to be automated and with no user intervention. Thanks in Advance! Eric From jaltman@watsun.cc.columbia.edu Wed Jul 31 17:59:18 EDT 2002 Article: 13569 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!jaltman From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman) Newsgroups: comp.protocols.kermit.misc Subject: Re: SSL/TLS Scripting Question Date: 31 Jul 2002 21:54:49 GMT Organization: Columbia University Lines: 40 Message-ID: References: NNTP-Posting-Host: watsun.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1028152489 29332 128.59.39.2 (31 Jul 2002 21:54:49 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 31 Jul 2002 21:54:49 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13569 SET AUTH TLS VERIFY NO or SET AUTH TLS CERTS-OK YES However, the appropriate thing to do is place the Root Certificate that was used to sign the host's cert into your ca_certs.pem file; or load it into Kermit with SET AUTH TLS VERIFY-FILE filename In article , Eric Almond wrote: : I'm scripting out a Secure FTP session using SSL/TLS and I'm getting the : following messages that's causing the script to pause for user input: : : Warning: Server has a self-signed certificate : Continue? (Y/N) : : Warning: Hostname ("ftp.xxxxxx.com") does not match server's certificate : ("xxxxxx") : Continue? (Y/N) : : Is there a way to automatically accept these "Warnings"? I know the server : is valid and I'm not concerned about these messages. I looked in the : documentation but can't find anything specifically talking about these : messages. I need this script to be automated and with no user intervention. : : Thanks in Advance! : Eric : : : Jeffrey Altman * Sr.Software Designer Kermit 95 2.0 GUI available now!!! The Kermit Project @ Columbia University SSH, Secure Telnet, Secure FTP, HTTP http://www.kermit-project.org/ Secured with MIT Kerberos, SRP, and kermit-support@columbia.edu OpenSSL. From fdc@columbia.edu Wed Jul 31 18:27:06 EDT 2002 Article: 13570 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: K95 2.0 noncrypto-to-crypto upgrade now available Date: 31 Jul 2002 18:12:42 -0400 Organization: Columbia University Lines: 15 Message-ID: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1028153563 147 128.59.39.139 (31 Jul 2002 22:12:43 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 31 Jul 2002 22:12:43 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13570 As announced here a week ago, the cryptographic version of Kermit 95 can now be exported to all but a few countries. Until today, however, there was no way for those who had the non-cryptographic version of K95 2.0 to upgrade it to the cryptographic version. Just follow the regular link ("The Cryptographic Version") from here: http://www.columbia.edu/kermit/k95upgrade.html and then you can choose between upgrading from K95 1.1.xx to the cryptographic version of K95 2.0 (which you could do before) and upgrading >from the noncryptographic version of K95 2.0 to the cryptographic version (which is new). - Frank From fdc@columbia.edu Thu Aug 1 15:10:56 EDT 2002 Article: 13572 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Security too tight on VMS Date: 1 Aug 2002 15:10:49 -0400 Organization: Columbia University Lines: 22 Message-ID: References: <3D2F4541.C3C282FC@ford.com> <3D2F6572.A8B9D8BA@peoplepc.com> <3D2F7167.4BCFC095@peoplepc.com> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1028229051 20336 128.59.39.139 (1 Aug 2002 19:10:51 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 1 Aug 2002 19:10:51 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13572 In article , Frank da Cruz wrote: : In article <3D2F7167.4BCFC095@peoplepc.com>, : Jack Patteeuw wrote: : : Looks like you need : : : : enable cd : : enable get : : disable : : : Right, you need ENABLE CD if the client is to be able to refer files outside : the server's current (default) directory. : For those who were following this thread: turns out there was a feature in the VMS version of C-Kermit that was not completely implemented (a function that checks whether a given file is in the default directory). This is now fixed -- a community effort amongst a group of Old Kermit Hands -- and the fixed version is now available (source code only) in the daily ZIP file: http://www.columbia.edu/kermit/ckdaily.html - Frank From hairyveggie@yahoo.com Fri Aug 2 10:11:18 EDT 2002 Article: 13573 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: hairyveggie@yahoo.com (Luke Weese) Newsgroups: comp.protocols.kermit.misc Subject: Renaming a file after receiving Date: 1 Aug 2002 16:51:48 -0700 Organization: http://groups.google.com/ Lines: 71 Message-ID: NNTP-Posting-Host: 12.148.134.9 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1028245909 14956 127.0.0.1 (1 Aug 2002 23:51:49 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 1 Aug 2002 23:51:49 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13573 Hi. So we all know, I am a newbie to C-Kermit scripting. I have written some scripts to dial in to a Wildcat BBS system, choose some menu options, and receive a file using the Zmodem protocol (they support Kermit protocol, but they highly recommend Zmodem because they obviously havent read the Performance chapter in the Kermit manual, judging by the 3.8% efficiency of the download). All of this goes through fine, but the only problem I had is that when using Zmodem, the "as-name" argument to the receive command is apparently ignored. I worked around this with some rather silly scripting involving redirecting an "ls" command, parsing the filename and renaming, but I was hoping someone could suggest a less clumsy way to rename the downloaded file. Here's the excerpt of my script: -------------START---------------- mkdir tmpdir ; Make "tmpdir" to store this download if fail goto mkdirfailed ; Bail if permissions messed up cd tmpdir ; Move into "tmpdir" set take error on ; Set the error detection set terminal autodownload off ; Turn auto download off ; Use Zmodem protocol set protocol zmodem rz {rz -a} {sz %s} {sz -a %s} rz {rz -a} -------------DIALING, etc...------ receive hndyinvc.dat ; Download the file If fail goto downloadfailure ; Error receiving file .\%x := \Ffiles(*) ; Count the files in tmpdir If = 1 \%x ls > ../dir.txt ; If only 1, list to parent dir else goto oldfilesoutthere ; More than one file, bail cd .. ; Go back to "hndmodem" open read dir.txt ; Open list file if fail goto nodirfile ; Bail if nonexistent read \%o ; Read first line, "total n" if fail goto nodirfile ; Bail if nonexistent read \%o ; Read 2nd line with filename if fail goto nodirfile ; Bail if nonexistent .\%d := \Fsubstring(\%o,57) ; Get filename from pos 57 on cd tmpdir ; Go back to "tmpdir" If exist \%d mv \%d ../hndyinvc.dat ; If there, move back and rename cd .. ; Go back to "hndmodem" rmdir tmpdir ; Remove "tmpdir" for next time If fail echo Could not remove "tmpdir" automatically. Please remove manually. rm dir.txt ; Remove "dir.txt" If fail echo Could not remove "dir.txt" automatically. Please remove manually. ------------FINISH---------------- Please excuse any newbie mistakes in the coding, but feel free to point them out. Thanks in advance for any help. From fdc@columbia.edu Fri Aug 2 10:11:23 EDT 2002 Article: 13574 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Renaming a file after receiving Date: 2 Aug 2002 10:11:09 -0400 Organization: Columbia University Lines: 92 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1028297471 25070 128.59.39.139 (2 Aug 2002 14:11:11 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 2 Aug 2002 14:11:11 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13574 In article , Luke Weese wrote: : Hi. So we all know, I am a newbie to C-Kermit scripting. I have : written some scripts to dial in to a Wildcat BBS system, choose some : menu options, and receive a file using the Zmodem protocol (they : support Kermit protocol, but they highly recommend Zmodem because they : obviously havent read the Performance chapter in the Kermit manual, : judging by the 3.8% efficiency of the download). All of this goes : through fine, but the only problem I had is that when using Zmodem, : the "as-name" argument to the receive command is apparently ignored. : Because Zmodem is an external program. In this scenario a file arrives and Zmodem receives it. Kermit doesn't know the name of the file, so has no way to rename it. This probably should be clarified in the documentation. : I worked around this with some rather silly scripting involving : redirecting an "ls" command, parsing the filename and renaming, but I : was hoping someone could suggest a less clumsy way to rename the : downloaded file. Here's the excerpt of my script: : : -------------START---------------- : mkdir tmpdir ; Make "tmpdir" to store this download : if fail goto mkdirfailed ; Bail if permissions messed up : cd tmpdir ; Move into "tmpdir" : : set take error on ; Set the error detection : This is the default anyway. : set terminal autodownload off ; Turn auto download off : : set protocol zmodem rz {rz -a} {sz %s} {sz -a %s} rz {rz -a} ; Use Zmodem : So far so good. Btw, "set protocol zmodem" is sufficient -- the additional parameters are the default ones for Zmodem anyway. : -------------DIALING, etc...------ : : receive hndyinvc.dat ; Download the file : If fail goto downloadfailure ; Error receiving file : At this point you should have only newly downloaded files in your directory, since you just created and cd'd to it. : .\%x := \Ffiles(*) ; Count the files in tmpdir : If = 1 \%x ls > ../dir.txt ; If only 1, list to parent dir : else goto oldfilesoutthere ; More than one file, bail : This could happen if Zmodem received more than one file. : cd .. ; Go back to "hndmodem" : open read dir.txt ; Open list file : if fail goto nodirfile ; Bail if nonexistent : : read \%o ; Read first line, "total n" : if fail goto nodirfile ; Bail if nonexistent : read \%o ; Read 2nd line with filename : if fail goto nodirfile ; Bail if nonexistent : : .\%d := \Fsubstring(\%o,57) ; Get filename from pos 57 on : cd tmpdir ; Go back to "tmpdir" : If exist \%d mv \%d ../hndyinvc.dat ; If there, move back & rename : cd .. ; Go back to "hndmodem" : : rmdir tmpdir ; Remove "tmpdir" for next time : If fail echo Could not remove "tmpdir" automatically. Please remove manually. : rm dir.txt ; Remove "dir.txt" : If fail echo Could not remove "dir.txt" automatically. Pls remove manually. : : ------------FINISH---------------- : : Please excuse any newbie mistakes in the coding, but feel free to : point them out. Thanks in advance for any help. : \ffiles() not only returns the number of files that match its argument pattern, but also builds a list of files that you can cycle through with \fnextfile(), so you don't have to run an external directory-listing program or parse its output: if > \Ffiles(*) 1 stop 1 Multiple files received. .filename := \fnextfile() rename \m(filename) ../hndyinvc.dat if fail stop 1 rename \m(filename) ../hndyinvc.dat failed. cd .. rmdir tmpdir If fail stop 1 rmdir \v(dir)tmpdir failed. Assigning \fnextfile() to a variable is necessary because every time you refer to \fnextfile() it returns the next filename. - Frank From fdc@columbia.edu Fri Aug 2 10:54:19 EDT 2002 Article: 13575 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.unix.aix,comp.protocols.kermit.misc Subject: Re: Secure resumable file transfer on AIX Date: 2 Aug 2002 10:38:27 -0400 Organization: Columbia University Lines: 48 Message-ID: References: <97n29.21591$vg.830729@bin2.nnrp.aus1.giganews.com> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1028299115 26287 128.59.39.139 (2 Aug 2002 14:38:35 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 2 Aug 2002 14:38:35 GMT Xref: newsmaster.cc.columbia.edu comp.unix.aix:238361 comp.protocols.kermit.misc:13575 In article <97n29.21591$vg.830729@bin2.nnrp.aus1.giganews.com>, George Saylor wrote: : We have a requirement to copy moderate sized files ( up to 1.5 GB) over a : WAN between two H80's 1000 miles apart. I am trying to find a good product : that supports AIX and can perform resumable file transfers, compression is a : plus, and secure is a guaranteed sale...The whole operation must be : non-interactive of course. : : Does anyone use or know of such a product? : C-Kermit: http://www.columbia.edu/kermit/ckermit.html . It can perform resumable transers. . It does compression on the fly when you use Kermit protocol. . You have your choice of Kerberos, SSL/TLS, or SRP security. . It is fully scriptable using its own built-in scripting language. You can use it any of various ways: . Kermit client to Kermit server (Dialup, Telnet, Rlogin, X.25). . Kermit client to Internet Kermit server (Internet only). . Kermit client to secure FTP server (Internet only). The latter two are preferable, to sidestep peculiarities of the AIX telnet server, and for better performance. Furthermore, since Kermit supports all sorts of different connection methods and protocols, you can fall back (e.g.) to modem dialup in case the Internet connection is down. Here are some links to further information: http://www.columbia.edu/kermit/security.html Kermit's security methods. http://www.columbia.edu/kermit/iksd.html Internet Kermit service. http://www.columbia.edu/kermit/ckscripts.html The Kermit script library. http://www.columbia.edu/kermit/ftpclient.html The Kermit FTP client. http://www.columbia.edu/kermit/ftpscripts.html FTP scripting tutorial. - Frank From dold@06.usenet.us.com Fri Aug 2 12:56:18 EDT 2002 Article: 13576 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsfeed.mathworks.com!nycmny1-snh1.gtei.net!sanjose1-snf1.gtei.net!news.gtei.net!news.mainstreet.net!wasp.rahul.net!samba.rahul.net!rahul.net!a2i!dold.a2i!dold From: dold@06.usenet.us.com Newsgroups: comp.unix.aix,comp.protocols.kermit.misc Subject: Re: Secure resumable file transfer on AIX Date: 2 Aug 2002 16:36:44 GMT Organization: Wintercreek Data Lines: 40 Message-ID: References: <97n29.21591$vg.830729@bin2.nnrp.aus1.giganews.com> NNTP-Posting-Host: yellow.rahul.net NNTP-Posting-User: dold User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (FreeBSD/3.5-STABLE (i386)) X-Comment: Encoded From: line allows replies that preserve original subject Xref: newsmaster.cc.columbia.edu comp.unix.aix:238374 comp.protocols.kermit.misc:13576 : In article <97n29.21591$vg.830729@bin2.nnrp.aus1.giganews.com>, : George Saylor wrote: : : We have a requirement to copy moderate sized files ( up to 1.5 GB) over a : : WAN between two H80's 1000 miles apart. I am trying to find a good product : : that supports AIX and can perform resumable file transfers, compression is a : : plus, and secure is a guaranteed sale...The whole operation must be : : non-interactive of course. In comp.protocols.kermit.misc Frank da Cruz wrote: : C-Kermit: : http://www.columbia.edu/kermit/ckermit.html : . It can perform resumable transers. : . It does compression on the fly when you use Kermit protocol. : . You have your choice of Kerberos, SSL/TLS, or SRP security. : . It is fully scriptable using its own built-in scripting language. Easily scriptable. The simple task of resumable transfers is so automatic, I don't really consider it scripting. More like a batch file. The automatic compression is not intense. I wouldn't compare it to zip/unzip. When I was transferring a 20-30MB file on a 14400 line, I made zip/unzip part of the script at each end. Unattended? I never noticed the kermit part of the process at all. The batch job that created the file at one end invoked kermit as its final step. At the other end, when the file appeared, it was processed. At one end, the guy would load a tape on a PC-based tape reader, and walk out the door for the evening as soon as the zip started. His only concern was a good tape read. At the other end, it just fell in to the process flow... no one noticed when. I've used Kermit on AIX, Solaris, Linux, DOS and Windows95+ interchangeably, with perfect interoperability. -- --- Clarence A Dold - dold@email.rahul.net - Hidden Valley (Lake County) CA. From fdc@columbia.edu Fri Aug 2 12:56:21 EDT 2002 Article: 13577 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.unix.aix,comp.protocols.kermit.misc Subject: Re: Secure resumable file transfer on AIX Date: 2 Aug 2002 12:55:41 -0400 Organization: Columbia University Lines: 56 Message-ID: References: <97n29.21591$vg.830729@bin2.nnrp.aus1.giganews.com> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1028307343 2148 128.59.39.139 (2 Aug 2002 16:55:43 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 2 Aug 2002 16:55:43 GMT Xref: newsmaster.cc.columbia.edu comp.unix.aix:238375 comp.protocols.kermit.misc:13577 In article , wrote: : : In article <97n29.21591$vg.830729@bin2.nnrp.aus1.giganews.com>, : : George Saylor wrote: : : : We have a requirement to copy moderate sized files ( up to 1.5 GB) over : : : a WAN between two H80's 1000 miles apart. I am trying to find a good : : : product that supports AIX and can perform resumable file transfers, : : : compression is a plus, and secure is a guaranteed sale...The whole : : : operation must be non-interactive of course. : : In comp.protocols.kermit.misc Frank da Cruz wrote: : : C-Kermit: : : : http://www.columbia.edu/kermit/ckermit.html : : : . It can perform resumable transers. : : . It does compression on the fly when you use Kermit protocol. : : . You have your choice of Kerberos, SSL/TLS, or SRP security. : : . It is fully scriptable using its own built-in scripting language. : : Easily scriptable. The simple task of resumable transfers is so : automatic, I don't really consider it scripting. More like a batch file. : : The automatic compression is not intense. I wouldn't compare it to : zip/unzip. When I was transferring a 20-30MB file on a 14400 line, : I made zip/unzip part of the script at each end. : True, Kermit protocol compression is usually not as effective a zip or gzip, but C-Kermit lets you use compression/decompression (or any other kind of) filters on either end of the transfer, so you can use your favorite utility in the pipeline to compress/decompress on the fly. See: http://www.columbia.edu/kermit/ckermit70.html#x4.2 This is true for both Kermit protocol and FTP transfers (except of course there the ability of an FTP server to compress or decompress using the same method -- such as gzip/gunzip -- depends on the server). Also, I forgot to mention previously that you can find out about secure FTP servers here: http://www.columbia.edu/kermit/security.html#servers : Unattended? I never noticed the kermit part of the process at all. The : batch job that created the file at one end invoked kermit as its final : step. At the other end, when the file appeared, it was processed. At : one end, the guy would load a tape on a PC-based tape reader, and walk : out the door for the evening as soon as the zip started. His only concern : was a good tape read. At the other end, it just fell in to the process : flow... no one noticed when. : : I've used Kermit on AIX, Solaris, Linux, DOS and Windows95+ : interchangeably, with perfect interoperability. : Another satisfied customer :-) - Frank From fdc@columbia.edu Mon Aug 5 10:20:17 EDT 2002 Article: 13580 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.unix.solaris,comp.protocols.kermit.misc Subject: Re: Reliable File Transfer Utility Date: 5 Aug 2002 10:12:26 -0400 Organization: Columbia University Lines: 50 Message-ID: References: <3D4D86B4.4E2E2162@adelphia.net> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1028556748 27790 128.59.39.139 (5 Aug 2002 14:12:28 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 5 Aug 2002 14:12:28 GMT Xref: newsmaster.cc.columbia.edu comp.unix.solaris:402713 comp.protocols.kermit.misc:13580 In article <3D4D86B4.4E2E2162@adelphia.net>, Doug Capellman wrote: : I have a requirement for a reliable file transfer utility which must : ensure complete and accurate data transfer. Is there a commercial : product available? The product must be compatible with Solaris 2.6 and : 2.8, operate in a client-server model, and have low administrative : overhead. : C-Kermit should do the trick: http://www.columbia.edu/kermit/ckermit.html It has distinct advantages over most of the other alternatives: . It is transport independent, so if (for example) your TCP/IP connection is down you can fall back to dialup (or even X.25). . It is innately programmable so you can test every operation for success or failure and react appropriately. . It's portable to all other Unix platforms and to Windows, so in case you change platforms your application still works. . The underlying protocol can be either Kermit (any transport) or FTP (Internet only). When you use Kermit over TCP/IP, you get an extra level of error checking. . It supports recovery, update, and other time-saving features on both FTP and Kermit connections. . It supports SSL/TLS, Kerberos, and other strong security methods on Internet connections (both FTP and Kermit). These features make it ideally suited for applications such as transaction processing and EDI, in which each file must be transferred reliably and securely, once and only once, rain or shine. See the following page for a detailed discussion: http://www.columbia.edu/kermit/case10.html The Kermit protocol equivalent of an FTP server is Internet Kermit Service: http://www.columbia.edu/kermit/iksd.html Also see: http://www.columbia.edu/kermit/ckscripts.html - The Kermit script library http://www.columbia.edu/kermit/ftpscripts.html - FTP scripting tutorial - Frank From nospam@foo.com Mon Aug 5 15:23:50 EDT 2002 Article: 13581 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsfeed.mathworks.com!wn3feed!worldnet.att.net!208.49.253.98!newsfeed.news2me.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail Reply-To: "nospam" From: "nospam" Newsgroups: comp.protocols.kermit.misc Subject: direct connect using Digimon multiplex Lines: 25 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: Date: Mon, 05 Aug 2002 19:07:14 GMT NNTP-Posting-Host: 66.32.228.77 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.prod.itd.earthlink.net 1028574434 66.32.228.77 (Mon, 05 Aug 2002 12:07:14 PDT) NNTP-Posting-Date: Mon, 05 Aug 2002 12:07:14 PDT Organization: EarthLink Inc. -- http://www.EarthLink.net Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13581 Hello, I've been using the direct connect feature to transfer files from SCO Unix to W2k. This has been working fine. Now for the curve ball.. I'm told that a client has a Digiman peripheral attached to his SCO com1 ( dev/tty1a) in order to multiplex multiple connections to the SCO box. Given I have a correct cable ( RS232 - serial NULL modem cable), will the direct connection still work? That is, starting wermit on SCO with direct connection via /dev/tty1a, can I still send files to the Windows machine? The RS-232 plugged into the Digiman box (which is plugged into the SCO comm port) and the other end to the W2k comm port. My colleague assures me that "this is transparent", however, I always worry when I hear that :-) ( Like the famous last words: This is the backup!) Much thanks in advance, bruce From fdc@columbia.edu Mon Aug 5 15:23:53 EDT 2002 Article: 13582 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc,comp.unix.sco.misc Subject: Re: direct connect using Digimon multiplex Date: 5 Aug 2002 15:23:39 -0400 Organization: Columbia University Lines: 28 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1028575426 10855 128.59.39.139 (5 Aug 2002 19:23:46 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 5 Aug 2002 19:23:46 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13582 comp.unix.sco.misc:148320 In article , nospam wrote: : I've been using the direct connect feature to transfer files from SCO Unix : to W2k. This has been working fine. Now for the curve ball.. : : I'm told that a client has a Digiman peripheral attached to his SCO com1 ( : dev/tty1a) in order to multiplex multiple connections to the SCO box. : : Given I have a correct cable ( RS232 - serial NULL modem cable), will the : direct connection still work? That is, starting wermit on SCO with direct : connection via /dev/tty1a, can I still send files to the Windows machine? : The RS-232 plugged into the Digiman box (which is plugged into the SCO comm : port) and the other end to the W2k comm port. : : My colleague assures me that "this is transparent", however, I always worry : when I hear that :-) ( Like the famous last words: This is the backup!) : You'll have to try it and see. If you are dialing from Windows to SCO, it should work, because Kermit on the remote end of a connection does all of its work on stdin/stdout. If you are dialing out from SCO, it might be a problem because in that case, C-Kermit has to do all sorts of fancy system and driver calls on the dialout device. These work as advertised with SCO drivers, but all bets are off with third-party drivers, which tend to have (sometimes not so) subtle differences. - Frank From fdc@columbia.edu Tue Aug 6 10:29:31 EDT 2002 Article: 13585 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.unix.programmer,comp.protocols.kermit.misc Subject: Re: connecting to MD110 with tip Date: 6 Aug 2002 10:24:01 -0400 Organization: Columbia University Lines: 35 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1028643845 25010 128.59.39.139 (6 Aug 2002 14:24:05 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 6 Aug 2002 14:24:05 GMT Xref: newsmaster.cc.columbia.edu comp.unix.programmer:150025 comp.protocols.kermit.misc:13585 In article , Adam Atkinson wrote: : I'm trying to write an expect script to connect to an MD110 : PABX and get logging information from it. : : I do "spawn tip modem" and am able to get into the tracker : modem attached to the MD110, and put it in talkthrough mode. : : At this point, I'm supposed to send a bunch of Ss and a semicolon. : : On a telnet connection to suitably equipped MD110, this works. : : Via dial-up, it doesn't. It doesn't work when I use tip : by hand either. : : What am I doing wrong? : Suggest you use C-Kermit to replace Telnet, Tip, and Expect: http://www.columbia.edu/kermit/ckermit.html Then you don't have to worry about interaction among three different programs, and the fact that you have one program for network connections but another one for serial connections. Maybe there is some kind of coordination between input and output that you are missing. In situations like this, it is often necessary to wait for a prompt before issuing a command; not all devices buffer up typeahead. The Telnet connection might have disguised this. Start by reading the Kermit scripting tutorial: http://www.columbia.edu/kermit/ckscripts.html - Frank From ca98am79@hotmail.com Tue Aug 6 11:12:17 EDT 2002 Article: 13586 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!arclight.uoregon.edu!logbridge.uoregon.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: ca98am79@hotmail.com (Mike Carson) Newsgroups: comp.protocols.kermit.misc Subject: K95 SSH screen screws up Date: 6 Aug 2002 07:34:40 -0700 Organization: http://groups.google.com/ Lines: 18 Message-ID: NNTP-Posting-Host: 160.94.66.150 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1028644480 16999 127.0.0.1 (6 Aug 2002 14:34:40 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 6 Aug 2002 14:34:40 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13586 Hi, I have many windows 95 machines that were all using K95 for telnet and working fine. I patched these from 1.1.16 to 1.1.17 to 1.1.21 so that I could use as SSH clients instead. Some work fine, but others connect but are missing the right third of the screen - the terminal emulation seems screwy. Once I quit out and run it and connect again, the emulation is fine. A couple are also coming up with a blank black screen - when I ctrl+alt+del and quit out and run and connect again, the screen is fine. Is this a bug in the patches or is it something about the transition from telnet client to ssh? Or is it a problem with my old k95custom.ini script which was for telnet? set parity none set terminal type vt100 set telnet terminal-type vt100 set terminal status off set terminal bytesize 8 set terminal keypad-mode numeric ssh From fdc@columbia.edu Tue Aug 6 11:14:50 EDT 2002 Article: 13587 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: K95 SSH screen screws up Date: 6 Aug 2002 11:14:44 -0400 Organization: Columbia University Lines: 27 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1028646886 27159 128.59.39.139 (6 Aug 2002 15:14:46 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 6 Aug 2002 15:14:46 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13587 In article , Mike Carson wrote: : Hi, I have many windows 95 machines that were all using K95 for telnet : and working fine. I patched these from 1.1.16 to 1.1.17 to 1.1.21 so : that I could use as SSH clients instead. Some work fine, but others : connect but are missing the right third of the screen - the terminal : emulation seems screwy. Once I quit out and run it and connect again, : the emulation is fine. A couple are also coming up with a blank black : screen - when I ctrl+alt+del and quit out and run and connect again, : the screen is fine. Is this a bug in the patches or is it something : about the transition from telnet client to ssh? Or is it a problem : with my old k95custom.ini script which was for telnet? : : set parity none : set terminal type vt100 : set telnet terminal-type vt100 : set terminal status off : set terminal bytesize 8 : set terminal keypad-mode numeric : ssh : This one was also sent to our tech-support address and we're following up by e-mail. (It's usually best if people send trouble reports to kermit-support@columbia.edu; it's OK to post them on the newsgroup, but one or the other please, not both.) - Frank From LeslieCharles@comcast.net Wed Aug 7 10:07:30 EDT 2002 Article: 13588 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsfeed.arcor-online.net!nntp-relay.ihug.net!ihug.co.nz!border1.nntp.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!bin2.nnrp.aus1.giganews.com.POSTED!not-for-mail From: "Charles Peterson" Newsgroups: comp.protocols.kermit.misc Subject: Remote set file collision overwrite? Lines: 25 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-GC-Trace: gv1-s1KKyBqJRncAeJMPg9YxGoYhi05vw0trnI= Message-ID: <_L_39.97579$vg.3790164@bin2.nnrp.aus1.giganews.com> NNTP-Posting-Date: Tue, 06 Aug 2002 20:31:38 CDT Organization: Giganews.Com - Premium News Outsourcing X-Trace: sv3-D20J3V1soyCEZYpOvIirSqybt3yH0tJEjZUCfeghq1+UqDU4HSQ1+tPKu3sTNxTlCO5pLrdbwowrZpF!tKz4gV0YDfJHupLhFBlqOrpLFkh34lZmgca9g5jERHlDMM7etxV7tprP137plP33kzqbLCNPRjbV!L135ht3S6tes/nQ= X-Complaints-To: abuse@comcast.com X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.1 Date: Wed, 07 Aug 2002 01:31:38 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13588 After spot on help from you I have my client-server file transfer scripting working. I have one open issue. The client issues REMOTE SET FILE COLLISION OVERWRITE, as this is our intent. The server rejects the request with the mesg.... ?Unknown remote set parameter If I use REMOTE SET FILE COLLISION BACKUP, the existing file is backed up and the replaced by the new file. Not a show stopper, but does require subsequent clean up of the resulting .~n~ files. I also am rereading the manual to find out why it only works when throttled. ie client sets speed 14 and speed-matching off. Seems like we could do better with our boca 33.6 Thanks for your help. Chuck From fdc@columbia.edu Wed Aug 7 10:07:33 EDT 2002 Article: 13596 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Remote set file collision overwrite? Date: 7 Aug 2002 10:06:34 -0400 Organization: Columbia University Lines: 37 Message-ID: References: <_L_39.97579$vg.3790164@bin2.nnrp.aus1.giganews.com> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1028729195 11306 128.59.39.139 (7 Aug 2002 14:06:35 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 7 Aug 2002 14:06:35 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13596 In article <_L_39.97579$vg.3790164@bin2.nnrp.aus1.giganews.com>, Charles Peterson wrote: : After spot on help from you I have my client-server file transfer : scripting working. I have one open issue. : : The client issues REMOTE SET FILE COLLISION OVERWRITE, as this is our : intent. The server rejects the request with the mesg.... ?Unknown remote : set parameter : The message is a bit misleading. Actually the parameter is known, but forbidden by default to protect the server from client-initiated file deletions. If you allow incoming files to overwrite files of the same name, that is tantamount to allowing the client to delete files. If you wish to allow the client to delete files, you have configure the server for it with the command: ENABLE DELETE See pages 228-231 of Chapter 11. : If I use REMOTE SET FILE COLLISION BACKUP, the existing file is backed up : and the replaced by the new file. Not a show stopper, but does require : subsequent clean up of the resulting .~n~ files. : : I also am rereading the manual to find out why it only works when throttled. : ie client sets speed 14 and speed-matching off. Seems like we could do : better with our boca 33.6 : Try this on each end: set port tapi ; Picks up modem definition from Windows. set flow rts/cts ; Override any misconfigurations set modem speed-matching off ; in the Windows modem database. set speed 57600 ; Use a reasonable speed. - Frank From ghira@mistral.co.uk Wed Aug 7 10:07:35 EDT 2002 Article: 13595 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!howland.erols.net!logbridge.uoregon.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: ghira@mistral.co.uk (Adam Atkinson) Newsgroups: comp.unix.programmer,comp.protocols.kermit.misc Subject: Re: connecting to MD110 with tip Date: 7 Aug 2002 03:38:24 -0700 Organization: http://groups.google.com/ Lines: 13 Message-ID: References: NNTP-Posting-Host: 193.130.25.71 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1028716705 26005 127.0.0.1 (7 Aug 2002 10:38:25 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 7 Aug 2002 10:38:25 GMT Xref: newsmaster.cc.columbia.edu comp.unix.programmer:150079 comp.protocols.kermit.misc:13595 fdc@columbia.edu (Frank da Cruz) wrote: > : What am I doing wrong? > : > Suggest you use C-Kermit to replace Telnet, Tip, and Expect: > > http://www.columbia.edu/kermit/ckermit.html > > Then you don't have to worry about interaction among three different > programs, and the fact that you have one program for network connections > but another one for serial connections. Thanks. I'll give that a go. From oahlefel@metz.une.edu.au Thu Aug 8 12:42:15 EDT 2002 Article: 13598 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!ord-feed.news.verio.net!stl-feed.news.verio.net!newsreader.wustl.edu!gumby.it.wmich.edu!aanews.merit.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news1.optus.net.au!optus!news.usyd.edu.au!news.une.edu.au!not-for-mail From: Erik Ahlefeldt Newsgroups: comp.protocols.kermit.misc Subject: Query: IKSD and VMS. Date: 8 Aug 2002 04:25:01 GMT Organization: University of New England, NSW, Australia Lines: 5 Message-ID: NNTP-Posting-Host: metz.une.edu.au User-Agent: tin/1.4-19991113 ("No Labels") (UNIX) (OSF1/V4.0 (alpha)) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13598 I would like to run an IKSD service on a VMS machine. Does anyone know if the Internet Kermit Service Daemon has been implemented in the VMS version of C-Kermit? If so, any pointers to docs on how to set it up would be appreciated. Thanks. From fdc@columbia.edu Thu Aug 8 12:42:20 EDT 2002 Article: 13600 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc,comp.os.vms Subject: Re: Query: IKSD and VMS. Date: 8 Aug 2002 12:42:02 -0400 Organization: Columbia University Lines: 20 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1028824924 16978 128.59.39.139 (8 Aug 2002 16:42:04 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 8 Aug 2002 16:42:04 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13600 comp.os.vms:345189 In article , Erik Ahlefeldt wrote: : I would like to run an IKSD service on a VMS machine. Does anyone know if : the Internet Kermit Service Daemon has been implemented in the VMS version : of C-Kermit? If so, any pointers to docs on how to set it up would be : appreciated. : Like FTP, SSL/TLS, Kerberos, SRP, and other recent additions, IKSD has not been implemented in VMS C-Kermit due to lack of VMS programmers who are both willing and able to do the work. In the case of IKSD, the main task would be to write code to authenticate against the VMS user database. If secure connections were desired, it would also be necessary to adapt one or more of the aforementioned security methods from the Unix version. At least in the case of SSL/TLS, this might not be so difficult since the OpenSSL library is already available for VMS; the code to use it would have to be ported from the Unix-specific modules to the VMS-specific ones. Anybody who might interested in working on any of these items should contact me. - Frank From fdc@columbia.edu Thu Aug 8 12:42:23 EDT 2002 Article: 13599 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: New C-Kermit Uninstall Procedure Date: 8 Aug 2002 11:16:34 -0400 Organization: Columbia University Lines: 12 Message-ID: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1028819795 13116 128.59.39.139 (8 Aug 2002 15:16:35 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 8 Aug 2002 15:16:35 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13599 Longtime Kermit friend Peter Eichhorn of assyst GmbH in Munich has added an 'uninstall' target to the Unix C-Kermit makefile. When you use the 'install' target to install C-Kermit, it writes an UNINSTALL shell script in the same directory as the makefile. You can run the UNINSTALL script at any later time to remove all the C-Kermit pieces from wherever the 'install' target put them. In case you want to test it, the new makefile is available with the daily C-Kermit builds: http://www.columbia.edu/kermit/ckdaily.html - Frank From bonomi@c-ns. Sat Aug 10 16:28:32 EDT 2002 Article: 13603 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!jfk3-feed1.news.algx.net!allegiance!news.maxwell.syr.edu!news.xnet.com!dfw-peer!news.verio.net!ord-read.news.verio.net.POSTED!not-for-mail Newsgroups: comp.protocols.kermit.misc Subject: Re: direct connect using Digimon multiplex References: Organization: Not Much X-Newsreader: trn 4.0-test69 (20 September 1998) From: bonomi@c-ns. (Robert Bonomi) Lines: 37 Message-ID: <4je59.23696$A%3.292456@ord-read.news.verio.net> Date: Sat, 10 Aug 2002 20:02:08 GMT NNTP-Posting-Host: 207.241.52.60 X-Complaints-To: abuse@verio.net X-Trace: ord-read.news.verio.net 1029009728 207.241.52.60 (Sat, 10 Aug 2002 20:02:08 GMT) NNTP-Posting-Date: Sat, 10 Aug 2002 20:02:08 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13603 In article , nospam wrote: >Hello, > >I've been using the direct connect feature to transfer files from SCO Unix >to W2k. This has been working fine. Now for the curve ball.. > >I'm told that a client has a Digiman peripheral attached to his SCO com1 ( >dev/tty1a) in order to multiplex multiple connections to the SCO box. > >Given I have a correct cable ( RS232 - serial NULL modem cable), will the >direct connection still work? That is, starting wermit on SCO with direct >connection via /dev/tty1a, can I still send files to the Windows machine? >The RS-232 plugged into the Digiman box (which is plugged into the SCO comm >port) and the other end to the W2k comm port. > >My colleague assures me that "this is transparent", however, I always worry >when I hear that :-) ( Like the famous last words: This is the backup!) > >Much thanks in advance, No experience with the specific device. However, kermit can _usually_ be configured to work (albiet not necessarily painlessly) in virtually any environment. The requisite contortions depend greatly on intimate details of the particular set-up one finds oneself dealing with. Example: one may not be able to "dial", but if you "output" appropriate incantation, the equivalent of dialing happens, and the 'modem-like' device connects to the remote device. Sometimes you have to 'prefix' *lots* of stuff, and/or change the 'start of packet' character. or reduce the packet size to something _tiny_ to prevent buffer overflows. And/or add inter-packet 'wait states' to enable the far end to 'catch up'. With sufficent knowledge of the characteristics and/or quirks of the data channel, one can get kermit working over practically anything. From tom.horsley@att.net Sun Aug 11 18:20:11 EDT 2002 Article: 13604 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newspump.monmouth.com!newspeer.monmouth.com!newsfeed.mathworks.com!wn3feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!not-for-mail Sender: tom@SPIKE Newsgroups: comp.protocols.kermit.misc Subject: No percent done graphic? From: tom.horsley@att.net (Thomas A. Horsley) Message-ID: Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: 2fa55c3f509e89d7e8dc02e872ca9a83 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1029083097 2fa55c3f509e89d7e8dc02e872ca9a83 (Sun, 11 Aug 2002 16:24:57 GMT) NNTP-Posting-Date: Sun, 11 Aug 2002 16:24:57 GMT Organization: AT&T Worldnet Date: Sun, 11 Aug 2002 16:24:57 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13604 Using kermit 2.0 gui (crypto version) on Windows XP Pro with an SSH connection: When I send a file from my computer to the remote computer with kermit protocol, the normal kermit file transfer screen comes up showing the progress, but the line in the middle with the 1 .. 100 labels on it where it normally shows the percent done graphically never changes its appearance. It acts like it is using the same foreground and background colors for both the done and not done parts of the line. Obviously this is no big deal, but it seemed worth reporting. The numeric percent done field does update as the file is sent (and the file gets sent correctly). On another possibly related invisible graphic topic: I had a script that was using the "askq /popup" command, and the first time I tried it, I didn't see any popup, but eventually I tried just typing in my password, and it worked fine. Subsequent runs of the script never exhibited this problem, the popup was visible every time I've tried it since then. -- >>==>> The *Best* political site >>==+ email: Tom.Horsley@worldnet.att.net icbm: Delray Beach, FL | Free Software and Politics <<==+ From pryan_st@hotmail.com Mon Aug 12 10:08:59 EDT 2002 Article: 13605 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!news.stealth.net!news.stealth.net!194.168.222.61.MISMATCH!newspeer1-gui.server.ntli.net!ntli.net!newsfep2-gui.POSTED!53ab2750!not-for-mail From: "Paul Ryan" Newsgroups: comp.protocols.kermit.misc Subject: older free version of Windows Kermit Lines: 5 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: <_2A59.30611$U44.1589580@newsfep2-gui> Date: Sun, 11 Aug 2002 21:46:18 +0100 NNTP-Posting-Host: 213.104.48.238 X-Complaints-To: abuse@ntlworld.com X-Trace: newsfep2-gui 1029098810 213.104.48.238 (Sun, 11 Aug 2002 21:46:50 BST) NNTP-Posting-Date: Sun, 11 Aug 2002 21:46:50 BST Organization: ntlworld News Service Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13605 Where can I download older, free versions of Windows Kermit? Paul From jaltman@watsun.cc.columbia.edu Mon Aug 12 10:09:09 EDT 2002 Article: 13608 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!jaltman From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman) Newsgroups: comp.protocols.kermit.misc Subject: Re: older free version of Windows Kermit Date: 12 Aug 2002 02:25:16 GMT Organization: Columbia University Lines: 20 Message-ID: References: <_2A59.30611$U44.1589580@newsfep2-gui> NNTP-Posting-Host: watsun.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1029119116 15912 128.59.39.2 (12 Aug 2002 02:25:16 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 12 Aug 2002 02:25:16 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13608 In article <_2A59.30611$U44.1589580@newsfep2-gui>, Paul Ryan wrote: : Where can I download older, free versions of Windows Kermit? : : Paul : : Columbia University never distributed a free Kermit program for Windows 95/98/ME/NT/2000/XP. The first version of Kermit developed by Columbia University for these platforms was Kermit 95 http://www.kermit-project.org/k95.html Jeffrey Altman * Sr.Software Designer Kermit 95 2.0 GUI available now!!! The Kermit Project @ Columbia University SSH, Secure Telnet, Secure FTP, HTTP http://www.kermit-project.org/ Secured with MIT Kerberos, SRP, and kermit-support@columbia.edu OpenSSL. From tom.horsley@att.net Mon Aug 12 10:09:14 EDT 2002 Article: 13606 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!wn3feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!not-for-mail Sender: tom@SPIKE Newsgroups: comp.protocols.kermit.misc Subject: Re: No percent done graphic? References: From: tom.horsley@att.net (Thomas A. Horsley) Message-ID: Lines: 14 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: 485d79ba185e299a40e667960db1086e X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc04-news.ops.worldnet.att.net 1029117125 485d79ba185e299a40e667960db1086e (Mon, 12 Aug 2002 01:52:05 GMT) NNTP-Posting-Date: Mon, 12 Aug 2002 01:52:05 GMT Organization: AT&T Worldnet Date: Mon, 12 Aug 2002 01:52:05 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13606 >On another possibly related invisible graphic topic: I had a script that was >using the "askq /popup" command, and the first time I tried it, I didn't see >any popup, but eventually I tried just typing in my password, and it worked >fine. Subsequent runs of the script never exhibited this problem, the popup >was visible every time I've tried it since then. Upon further review, maybe something reproducable is going on here. I've just realized that the color scheme of the popup seems to be different every time I run the script. If the colors are random, maybe it picked some that looked invisible once. -- >>==>> The *Best* political site >>==+ email: Tom.Horsley@worldnet.att.net icbm: Delray Beach, FL | Free Software and Politics <<==+ From jaltman@watsun.cc.columbia.edu Mon Aug 12 10:09:18 EDT 2002 Article: 13607 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!jaltman From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman) Newsgroups: comp.protocols.kermit.misc Subject: Re: No percent done graphic? Date: 12 Aug 2002 02:23:50 GMT Organization: Columbia University Lines: 28 Message-ID: References: NNTP-Posting-Host: watsun.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1029119030 15843 128.59.39.2 (12 Aug 2002 02:23:50 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 12 Aug 2002 02:23:50 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13607 In article , Thomas A. Horsley wrote: : >On another possibly related invisible graphic topic: I had a script that was : >using the "askq /popup" command, and the first time I tried it, I didn't see : >any popup, but eventually I tried just typing in my password, and it worked : >fine. Subsequent runs of the script never exhibited this problem, the popup : >was visible every time I've tried it since then. : : Upon further review, maybe something reproducable is going on here. : I've just realized that the color scheme of the popup seems to be : different every time I run the script. If the colors are random, : maybe it picked some that looked invisible once. This is a bug that will be fixed in the next release. To workaround the problem SET GUI DIALOGS OFF before calling ASKQ /POPUP. However, I wonder why you are using /POPUP in the GUI version when you could be using /GUI instead. /GUI generates a GUI dialog instead of the console text box. Jeffrey Altman * Sr.Software Designer Kermit 95 2.0 GUI available now!!! The Kermit Project @ Columbia University SSH, Secure Telnet, Secure FTP, HTTP http://www.kermit-project.org/ Secured with MIT Kerberos, SRP, and kermit-support@columbia.edu OpenSSL. From Tom.Horsley@att.net Mon Aug 12 10:09:22 EDT 2002 Article: 13609 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cyclone1.gnilink.net!wn3feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!not-for-mail From: "Tom Horsley" Newsgroups: comp.protocols.kermit.misc References: Subject: Re: No percent done graphic? Lines: 14 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Message-ID: NNTP-Posting-Host: 1f4b0d51e93c164352197f50f4a2145a X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc04-news.ops.worldnet.att.net 1029153639 1f4b0d51e93c164352197f50f4a2145a (Mon, 12 Aug 2002 12:00:39 GMT) NNTP-Posting-Date: Mon, 12 Aug 2002 12:00:39 GMT Organization: AT&T Worldnet Date: Mon, 12 Aug 2002 12:00:40 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13609 > This is a bug that will be fixed in the next release. To workaround > the problem > > SET GUI DIALOGS OFF > > before calling ASKQ /POPUP. However, I wonder why you are using /POPUP > in the GUI version when you could be using /GUI instead. /GUI generates > a GUI dialog instead of the console text box. Cause I did a "help askq" and saw the /popup option, but didn't see /gui. I'll have to get home where my copy of kermit lives to tell if that's because I can't read or because /gui isn't in the help text :-). From fdc@columbia.edu Mon Aug 12 11:47:00 EDT 2002 Article: 13610 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.os.linux.misc,comp.protocols.kermit.misc,comp.unix.xenix.sco Subject: Re: How to transfer data from Xenix 2.3.4 harddisk to Linux 2.4.19 Date: 12 Aug 2002 10:28:13 -0400 Organization: Columbia University Lines: 50 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1029162495 3614 128.59.39.139 (12 Aug 2002 14:28:15 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 12 Aug 2002 14:28:15 GMT Xref: newsmaster.cc.columbia.edu comp.os.linux.misc:558264 comp.protocols.kermit.misc:13610 comp.unix.xenix.sco:18629 In article , Lutz Michaelsen wrote: : Xenix 2.3.4 box having a harddisk with lots of data (600Mb) : Xenix box does not have a network card nor a CD-ROM : : Linux box with SuSE 7.3 and 2.4.19 Kernel : : Goal: I want to transfer the data from Xenix to the linux box. : : I tried to mount the harddisk on my linux box, but it wasn't successful. : sysv-module is there, but the partition on the Xenix hardisk is splitted : with "divvy". : : I installed a second harddisk in the xenix box and created a single : partition with "mkdev hd". I was able to put the Xenix data on this new : harddisk, but Linux was still not able to mount the new harddisk. : : Question: What else can I try to transfer the data from Xenix to Linux? : Obviously it would be best if you can just move the disk, but if that's not possible... TCP/IP based methods are out of the question unless your Xenix system happens to be one of the few that includes the SCO Xenix TCP/IP option. As a last resort you could use Kermit to transfer the data through the serial port with a null modem cable. Up-to-date Kermit versions are available for both Xenix 2.3.4 and Linux: http://www.columbia.edu/kermit/ I think the highest serial speed supported by Xenix is 38400bps = 3840cps. You'd have to use Xon/Xoff flow control because Xenix doesn't support RTS/CTS. At that speed it would take about: (/ 600000000.0 3840.0 3600.0) 43.4 hours to move 600MB. That's a long time, but you can set Kermit up to be super-persistent about getting the data across, so you can go away for the weekend and reasonably expect to find the transfer done when you return; see, for example, the "deliver" script in the Kermit script library: http://www.columbia.edu/kermit/ckscripts.html I'm including the Xenix newsgroup in this reply in case anybody there has a better idea. - Frank From dold@81.usenet.us.com Mon Aug 12 13:18:12 EDT 2002 Article: 13611 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!newsfeed.stueberl.de!cox.net!gail.ripco.com!wasp.rahul.net!samba.rahul.net!rahul.net!a2i!dold.a2i!dold From: dold@81.usenet.us.com Newsgroups: comp.protocols.kermit.misc Subject: Re: older free version of Windows Kermit Date: 12 Aug 2002 16:34:03 GMT Organization: Wintercreek Data Lines: 18 Message-ID: References: <_2A59.30611$U44.1589580@newsfep2-gui> NNTP-Posting-Host: yellow.rahul.net NNTP-Posting-User: dold User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (FreeBSD/3.5-STABLE (i386)) X-Comment: Encoded From: line allows replies that preserve original subject Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13611 Paul Ryan wrote: : Where can I download older, free versions of Windows Kermit? If you strike the word "Windows", the older, free versions of MSDOS kermit are still available. They don't play well with recent versions of Windows serial ports. (free ckermit) Communications for Unix, VMS, and other platforms, Kermit 95, a commercial product for Windows: http://www.kermit-project.org Simple, Portable, Free kermit File Transfer Software for UNIX http://www.kermit-project.org/gkermit.html The old free MSDOS Kermit: http://www.kermit-project.org/mskermit.html -- --- Clarence A Dold - dold@email.rahul.net - Hidden Valley (Lake County) CA. From pryan_st@hotmail.com Mon Aug 12 15:28:46 EDT 2002 Article: 13612 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!newsfeed.vmunix.org!newspeer1-gui.server.ntli.net!ntli.net!newsfep2-win.server.ntli.net.POSTED!53ab2750!not-for-mail From: "Paul Ryan" Newsgroups: comp.protocols.kermit.misc References: <_2A59.30611$U44.1589580@newsfep2-gui> Subject: Re: older free version of Windows Kermit Lines: 12 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: Date: Mon, 12 Aug 2002 20:18:21 +0100 NNTP-Posting-Host: 213.104.177.2 X-Complaints-To: abuse@ntlworld.com X-Trace: newsfep2-win.server.ntli.net 1029179941 213.104.177.2 (Mon, 12 Aug 2002 20:19:01 BST) NNTP-Posting-Date: Mon, 12 Aug 2002 20:19:01 BST Organization: ntlworld News Service Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13612 > If you strike the word "Windows", the older, free versions of MSDOS kermit > are still available. They don't play well with recent versions of Windows > serial ports. Oh yes, I have a couple of DOS version, and very good they are too. I also have Kermit on my Amstrad PCW 8256, and on my Sirius. Paul PS. Thanks for the links. From jdanskinner@jdanskinner.com Mon Aug 12 18:01:07 EDT 2002 Article: 13613 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: jdanskinner@jdanskinner.com (Dan Skinner) Newsgroups: comp.protocols.kermit.misc Subject: Re: older free version of Windows Kermit Date: 12 Aug 2002 14:33:13 -0700 Organization: http://groups.google.com/ Lines: 15 Message-ID: <4c1ea541.0208121333.4ee49e80@posting.google.com> References: <_2A59.30611$U44.1589580@newsfep2-gui> NNTP-Posting-Host: 24.159.192.106 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1029187993 23209 127.0.0.1 (12 Aug 2002 21:33:13 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 12 Aug 2002 21:33:13 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13613 "Paul Ryan" wrote in message news:<_2A59.30611$U44.1589580@newsfep2-gui>... > Where can I download older, free versions of Windows Kermit? > > Paul Paul are you looking for the MSDOS version which is still (I believe) freely downloadable. If so look on the Kermit site for the Dos version. If you are using W95 or later Microsoft I strongly recommend the Kermit 95 product which is not free but is far-far-far superior to the Dos version and is cheap by any measurement. The new GUI version got rid of the last of the glitchiness. Highly recommended, it's almost perfect now. Regards...Dan. From tom.horsley@att.net Mon Aug 12 18:01:12 EDT 2002 Article: 13614 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!wn3feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!not-for-mail Sender: tom@SPIKE Newsgroups: comp.protocols.kermit.misc Subject: Re: No percent done graphic? References: From: tom.horsley@att.net (Thomas A. Horsley) Message-ID: Lines: 14 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: caa5b488e62f2cf0d89ba0ae4465faef X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1029188088 caa5b488e62f2cf0d89ba0ae4465faef (Mon, 12 Aug 2002 21:34:48 GMT) NNTP-Posting-Date: Mon, 12 Aug 2002 21:34:48 GMT Organization: AT&T Worldnet Date: Mon, 12 Aug 2002 21:34:48 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13614 >Cause I did a "help askq" and saw the /popup option, but didn't see /gui. I'll >have to get home where my copy of kermit lives to tell if that's because >I can't read or because /gui isn't in the help text :-). OK, I think I can read :-). There doesn't seem to be anything in the help text for askq about /gui (and I haven't yet memorized all the supplements to the using C-kermit book :-). However, /gui does seem to work well, so I think I'll solve my problem by switching to it. Thanks. -- >>==>> The *Best* political site >>==+ email: Tom.Horsley@worldnet.att.net icbm: Delray Beach, FL | Free Software and Politics <<==+ From tom.horsley@att.net Wed Aug 14 09:19:08 EDT 2002 Article: 13616 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!wn3feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!not-for-mail Sender: tom@SPIKE Newsgroups: comp.protocols.kermit.misc Subject: stdin/stdout busted? From: tom.horsley@att.net (Thomas A. Horsley) Message-ID: Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: 742c94722c964547df7bf55c2fb4875d X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1029290327 742c94722c964547df7bf55c2fb4875d (Wed, 14 Aug 2002 01:58:47 GMT) NNTP-Posting-Date: Wed, 14 Aug 2002 01:58:47 GMT Organization: AT&T Worldnet Date: Wed, 14 Aug 2002 01:58:47 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13616 I'm trying to see if I can run k95.exe (version 2.0) under emacs in a shell buffer on Windows XP. The command line docs say the -64 and -32 options can be used to force it to talk to stdin and stdout, but whenever I try to get it to start in a shell (with the emacs make-comint function), it just beeps a couple of system error sounds at me and then emacs says the process abnormally terminated with exit code 1. Is the stdin/stdout stuff supposed to work? Should I be trying to figure out what is wrong with emacs or with kermit? (This is all just testing to see if I want to try and generate something like ange-ftp or tramp that uses kermit for the connections and file transfer operations under emacs, so there is method to this madness :-). -- >>==>> The *Best* political site >>==+ email: Tom.Horsley@worldnet.att.net icbm: Delray Beach, FL | Free Software and Politics <<==+ From fdc@columbia.edu Wed Aug 14 09:46:34 EDT 2002 Article: 13617 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: K95 within EMACS (was: stdin/stdout busted?) Date: 14 Aug 2002 09:45:23 -0400 Organization: Columbia University Lines: 42 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1029332750 15608 128.59.39.139 (14 Aug 2002 13:45:50 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 14 Aug 2002 13:45:50 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13617 In article , Thomas A. Horsley wrote: : I'm trying to see if I can run k95.exe (version 2.0) under emacs in a shell : buffer on Windows XP. The command line docs say the -64 and -32 options can : be used to force it to talk to stdin and stdout, but whenever I try to get : it to start in a shell (with the emacs make-comint function), it just beeps : a couple of system error sounds at me and then emacs says the process : abnormally terminated with exit code 1. : You have to use the Console version (K95.EXE, not K95G.EXE). Try this: k95 -# 96 It works for me; it even transfers files. The only fly in the ointment is that stuff like command-line editing (e.g. Ctrl-U), completion (Esc or Tab), ?-help, don't work as expected. Escaping back from CONNECT mode is a bit tricky too; you have to type: Ctrl-Q Ctrl-] c CR That's Ctrl-Q followed by Ctrl-Rightbracket, then the letter C, then press the Enter key. In fact, every control character is intercepted by EMACS, so to pass it through to Kermit you have to quote it with Ctrl-Q, and you probably also have to hit Enter afterwards. And of course, when K95 is using stdio, there is no terminal emulation, so you can't (for example) run EMACS in your CONNECT session to the host :-) But on the plus side, your CONNECT session *is* an EMACS buffer, so you can move around in it, edit it, etc, with regular EMACS commands. : (This is all just testing to see if I want to try and generate something : like ange-ftp or tramp that uses kermit for the connections and file : transfer operations under emacs, so there is method to this madness :-). : It's a fiendish idea. Let us hear more! Speaking of file transfer under EMACS, see: ftp://kermit.columbia.edu/kermit/b/emkermit.el - Frank From Tom.Horsley@att.net Wed Aug 14 11:24:06 EDT 2002 Article: 13618 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!wn1feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!not-for-mail From: "Tom Horsley" Newsgroups: comp.protocols.kermit.misc References: Subject: Re: K95 within EMACS (was: stdin/stdout busted?) Lines: 13 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Message-ID: NNTP-Posting-Host: b43b4581163638026c3d43ac0fedda1c X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc04-news.ops.worldnet.att.net 1029337298 b43b4581163638026c3d43ac0fedda1c (Wed, 14 Aug 2002 15:01:38 GMT) NNTP-Posting-Date: Wed, 14 Aug 2002 15:01:38 GMT Organization: AT&T Worldnet Date: Wed, 14 Aug 2002 15:01:38 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13618 > You have to use the Console version (K95.EXE, not K95G.EXE). Try this: > > k95 -# 96 OK, there is my problem - misinterpreted documentation :-). Looks like I have to literally type the # in the option string. I assumed the stuff in the documentation was using # to mean the number goes there, so I tried things like "k95 -96" I'll try again with the # and I bet it works better. Thanks! From jaltman@watsun.cc.columbia.edu Thu Aug 15 09:30:27 EDT 2002 Article: 13619 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!jaltman From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman) Newsgroups: comp.protocols.kermit.misc Subject: Re: stdin/stdout busted? Date: 15 Aug 2002 13:24:04 GMT Organization: Columbia University Lines: 32 Message-ID: References: NNTP-Posting-Host: watsun.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1029417844 11703 128.59.39.2 (15 Aug 2002 13:24:04 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 15 Aug 2002 13:24:04 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13619 stdio works just fine. However, you want to use k95.exe instead of k95g.exe and you are mis-interpretting the docs k95.exe -# 96 is the command you want to use. In article , Thomas A. Horsley wrote: : I'm trying to see if I can run k95.exe (version 2.0) under emacs in a shell : buffer on Windows XP. The command line docs say the -64 and -32 options can : be used to force it to talk to stdin and stdout, but whenever I try to get : it to start in a shell (with the emacs make-comint function), it just beeps : a couple of system error sounds at me and then emacs says the process : abnormally terminated with exit code 1. : : Is the stdin/stdout stuff supposed to work? Should I be trying to figure out : what is wrong with emacs or with kermit? : : (This is all just testing to see if I want to try and generate something : like ange-ftp or tramp that uses kermit for the connections and file : transfer operations under emacs, so there is method to this madness :-). : -- : >>==>> The *Best* political site >>==+ : email: Tom.Horsley@worldnet.att.net icbm: Delray Beach, FL | : Free Software and Politics <<==+ Jeffrey Altman * Sr.Software Designer Kermit 95 2.0 GUI available now!!! The Kermit Project @ Columbia University SSH, Secure Telnet, Secure FTP, HTTP http://www.kermit-project.org/ Secured with MIT Kerberos, SRP, and kermit-support@columbia.edu OpenSSL. From tom.horsley@att.net Fri Aug 16 15:33:44 EDT 2002 Article: 13620 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!wn4feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!not-for-mail Sender: tom@SPIKE Newsgroups: comp.protocols.kermit.misc Subject: Re: K95 within EMACS (was: stdin/stdout busted?) References: From: tom.horsley@att.net (Thomas A. Horsley) Message-ID: Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: 59f1ada3aeb64c6cff6e1629072dd470 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc04-news.ops.worldnet.att.net 1029464973 59f1ada3aeb64c6cff6e1629072dd470 (Fri, 16 Aug 2002 02:29:33 GMT) NNTP-Posting-Date: Fri, 16 Aug 2002 02:29:33 GMT Organization: AT&T Worldnet Date: Fri, 16 Aug 2002 02:29:33 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13620 >Escaping back from CONNECT mode is a bit >tricky too; you have to type: > > Ctrl-Q Ctrl-] c CR Just as a small step on the road, here is a highly alpha version of a "kermit" interaction mode for emacs which at least spiffs up the Ctrl-] c interaction a bit (no doubt needs tweaking for others to use in their environment): http://home.att.net/~Tom.Horsley/kermit-shell.el Suggestions for the 10,000 additional features people want will be accepted, but not necessarily acted upon :-). P.S. It did work much better once I used the literal -# option... -- >>==>> The *Best* political site >>==+ email: Tom.Horsley@worldnet.att.net icbm: Delray Beach, FL | Free Software and Politics <<==+ From kenr@compu-trol.com Fri Aug 16 15:54:27 EDT 2002 Article: 13621 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!howland.erols.net!logbridge.uoregon.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: kenr@compu-trol.com (ken) Newsgroups: comp.protocols.kermit.misc Subject: using kermit to initiate update scripts on website Date: 16 Aug 2002 07:30:34 -0700 Organization: http://groups.google.com/ Lines: 4 Message-ID: <5e716c77.0208160630.7190afdc@posting.google.com> NNTP-Posting-Host: 141.157.209.29 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1029508234 13366 127.0.0.1 (16 Aug 2002 14:30:34 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 16 Aug 2002 14:30:34 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13621 we use kermit to automatically upload data to a miva website, and would like to be able to automate the running of the scripts that update the xbase database by hitting a url. how do i do this? thanks. From fdc@columbia.edu Fri Aug 16 15:54:29 EDT 2002 Article: 13623 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: using kermit to initiate update scripts on website Date: 16 Aug 2002 15:54:04 -0400 Organization: Columbia University Lines: 21 Message-ID: References: <5e716c77.0208160630.7190afdc@posting.google.com> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1029527645 16448 128.59.39.139 (16 Aug 2002 19:54:05 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 16 Aug 2002 19:54:05 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13623 In article <5e716c77.0208160630.7190afdc@posting.google.com>, ken wrote: : we use kermit to automatically upload data to a miva website, and : would like to be able to automate the running of the scripts that : update the xbase database by hitting a url. how do i do this? : Let's say you are talking about Kermit 95 on Windows 9x/ME/NT/2000/XP. In that case it's super-easy. Give the script the ".ksc" extension, which is associated with Kermit 95. Have the URL point to the script, e.g.: ftp://kermit.columbia.edu/kermit/scripts/ckermit/helper.ksc or: http://www.columbia.edu/kermit/helper.ksc Then clicking on the URL runs the script. If the latter form doesn't work, check your browser's helper application list. - Frank From fdc@columbia.edu Fri Aug 16 15:54:45 EDT 2002 Article: 13622 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: K95 within EMACS (was: stdin/stdout busted?) Date: 16 Aug 2002 15:36:33 -0400 Organization: Columbia University Lines: 24 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1029526594 15840 128.59.39.139 (16 Aug 2002 19:36:34 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 16 Aug 2002 19:36:34 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13622 In article , Thomas A. Horsley wrote: : >Escaping back from CONNECT mode is a bit : >tricky too; you have to type: : > : > Ctrl-Q Ctrl-] c CR : : Just as a small step on the road, here is a highly alpha version of a : "kermit" interaction mode for emacs which at least spiffs up the Ctrl-] c : interaction a bit (no doubt needs tweaking for others to use in their : environment): : : http://home.att.net/~Tom.Horsley/kermit-shell.el : Very cool, thanks! Let us know when it's less alpha and we'll stick in the archive. : Suggestions for the 10,000 additional features people want will be accepted, : but not necessarily acted upon :-). : Maybe those who love both K95 and EMACS will get some community development going, like in the old days. - Frank From tom.horsley@att.net Sat Aug 17 10:02:43 EDT 2002 Article: 13624 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!ord-feed.news.verio.net!stl-feed.news.verio.net!newsreader.wustl.edu!news.mv.net!newsfeed.mathworks.com!wn3feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!not-for-mail Sender: tom@SPIKE Newsgroups: comp.protocols.kermit.misc Subject: ssh passphrase prompt? From: tom.horsley@att.net (Thomas A. Horsley) Message-ID: Lines: 29 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: 2595b334058729ba2d96c5a87e681262 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc04-news.ops.worldnet.att.net 1029541950 2595b334058729ba2d96c5a87e681262 (Fri, 16 Aug 2002 23:52:30 GMT) NNTP-Posting-Date: Fri, 16 Aug 2002 23:52:30 GMT Organization: AT&T Worldnet Date: Fri, 16 Aug 2002 23:52:30 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13624 Quoting from the html docs from my kermit 2.0 directory: >As with all Kermit's other features, the SSH client is configurable by the >user in every conceivable way (so anybody who doesn't like its defaults or >behavior can change them) and it includes built-in key creation and >management tools so no external "helper applications" are required. So where is the command I haven't found yet to customize the way ssh prompts for a passphrase when using public key authorization? (I can conceive of this, so it must be possible, right? :-). Alternatively, is there something like a /passphrase: switch I can use on the ssh command when making a connection? Or a set ssh passphrase command? (That way I could customize the prompt with askq and just pass the answer on). I ask because I'm working on my master plan for interfacing emacs and kermit and my current brainstorm is that everything would be simpler if I could write kermit scripts that interact with emacs in known fixed format ways without needing to build too many special cases into the lisp part of things and let the kermit scripts do the magic they do best with scripts to talk to wildly divergent systems and feedback things like password prompts to emacs in a standard form, but then I realized that I didn't know how to do anything about "standardizing" that very first passphrase prompt when using ssh since it is coming from kermit, not the remote system. -- >>==>> The *Best* political site >>==+ email: Tom.Horsley@worldnet.att.net icbm: Delray Beach, FL | Free Software and Politics <<==+ From jaltman@watsun.cc.columbia.edu Sat Aug 17 10:02:53 EDT 2002 Article: 13625 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!jaltman From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman) Newsgroups: comp.protocols.kermit.misc Subject: Re: ssh passphrase prompt? Date: 17 Aug 2002 12:24:19 GMT Organization: Columbia University Lines: 41 Message-ID: References: NNTP-Posting-Host: watsun.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1029587059 24100 128.59.39.2 (17 Aug 2002 12:24:19 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 17 Aug 2002 12:24:19 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13625 In article , Thomas A. Horsley wrote: : Quoting from the html docs from my kermit 2.0 directory: : : >As with all Kermit's other features, the SSH client is configurable by the : >user in every conceivable way (so anybody who doesn't like its defaults or : >behavior can change them) and it includes built-in key creation and : >management tools so no external "helper applications" are required. : : So where is the command I haven't found yet to customize the way ssh prompts : for a passphrase when using public key authorization? (I can conceive of : this, so it must be possible, right? :-). : : Alternatively, is there something like a /passphrase: switch I can use on : the ssh command when making a connection? Or a set ssh passphrase command? : (That way I could customize the prompt with askq and just pass the answer : on). SSH hostname /PASSWORD: : I ask because I'm working on my master plan for interfacing emacs and kermit : and my current brainstorm is that everything would be simpler if I could : write kermit scripts that interact with emacs in known fixed format ways : without needing to build too many special cases into the lisp part of things : and let the kermit scripts do the magic they do best with scripts to talk to : wildly divergent systems and feedback things like password prompts to emacs : in a standard form, but then I realized that I didn't know how to do : anything about "standardizing" that very first passphrase prompt when using : ssh since it is coming from kermit, not the remote system. But what you really want is to use SSH AGENT ADD except that the SSH-AGENT.EXE program in 2.0 is broken. This will be fixed in 2.1. Jeffrey Altman * Sr.Software Designer Kermit 95 2.0 GUI available now!!! The Kermit Project @ Columbia University SSH, Secure Telnet, Secure FTP, HTTP http://www.kermit-project.org/ Secured with MIT Kerberos, SRP, and kermit-support@columbia.edu OpenSSL. From tom.horsley@att.net Sat Aug 17 10:02:56 EDT 2002 Article: 13626 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!wn1feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!not-for-mail Sender: tom@SPIKE Newsgroups: comp.protocols.kermit.misc Subject: Re: ssh passphrase prompt? References: From: tom.horsley@att.net (Thomas A. Horsley) Message-ID: Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: 1c82bc05674a244af9801a39ada119c2 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1029591167 1c82bc05674a244af9801a39ada119c2 (Sat, 17 Aug 2002 13:32:47 GMT) NNTP-Posting-Date: Sat, 17 Aug 2002 13:32:47 GMT Organization: AT&T Worldnet Date: Sat, 17 Aug 2002 13:32:47 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13626 >SSH hostname /PASSWORD: Yep. That works all right. Somehow I had it in my head that was only for a "real" password it sends to the remote system, not the passphrase it uses on the local system. Thanks! >But what you really want is to use > > SSH AGENT ADD Probably, but the nifty thing about my fiendish emacs scheme is that emacs should be able to operate like ssh-agent, only for all kinds of passwords, not just ssh (of couse it will only work when operating kermit under emacs, but you can't have everything :-). -- >>==>> The *Best* political site >>==+ email: Tom.Horsley@worldnet.att.net icbm: Delray Beach, FL | Free Software and Politics <<==+ From tom.horsley@att.net Sat Aug 17 12:36:23 EDT 2002 Article: 13627 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!howland.erols.net!news-out.worldnet.att.net.MISMATCH!wn3feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!not-for-mail Sender: tom@SPIKE Newsgroups: comp.protocols.kermit.misc Subject: local access to encryption? From: tom.horsley@att.net (Thomas A. Horsley) Message-ID: Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: 8660a2d00cae5b15b1574ce724290497 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1029596221 8660a2d00cae5b15b1574ce724290497 (Sat, 17 Aug 2002 14:57:01 GMT) NNTP-Posting-Date: Sat, 17 Aug 2002 14:57:01 GMT Organization: AT&T Worldnet Date: Sat, 17 Aug 2002 14:57:01 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13627 Another question from that emacs pest (they'll die down when I have to go back to doing real work on Monday :-). I occured to me that k95 has all kinds of nifty cipher algorithms built into it these days (at least the crypto version does) for encrypting communications. Is there any way I can use that encryption locally to do things like encrypt and decrypt strings, or encrypt and decrypt files on disk? If foolish folk want to store their passwords on disk, it might be nice if they could at least use the best encryption kermit has to offer when they do it (or would access to that violate terms of the export license you just got?). I didn't notice anything obvious in "show functions" or in the security.htm doc file (but if nothing else, I am serving as a good example of how many different ways one person can overlook or misinterpret the docs - not that I always have problems with them, I just don't ask here when I manage to dig things up myself :-). -- >>==>> The *Best* political site >>==+ email: Tom.Horsley@worldnet.att.net icbm: Delray Beach, FL | Free Software and Politics <<==+ From fdc@columbia.edu Sat Aug 17 14:30:16 EDT 2002 Article: 13628 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: New K95 FAQ Date: 17 Aug 2002 12:54:40 -0400 Organization: Columbia University Lines: 11 Message-ID: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1029603281 4040 128.59.39.139 (17 Aug 2002 16:54:41 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 17 Aug 2002 16:54:41 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13628 Updated to answer the most common and/or interesting questions we've been getting since K95 2.0 was released: http://www.columbia.edu/kermit/k95faq.html plus some new hints and tips. If you have other questions you'd like to see answered there, or other hints and tips to offer, please send them in. - Frank From jaltman@watsun.cc.columbia.edu Sun Aug 18 10:54:30 EDT 2002 Article: 13629 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!jaltman From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman) Newsgroups: comp.protocols.kermit.misc Subject: Re: local access to encryption? Date: 17 Aug 2002 23:26:26 GMT Organization: Columbia University Lines: 33 Message-ID: References: NNTP-Posting-Host: watsun.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1029626786 20099 128.59.39.2 (17 Aug 2002 23:26:26 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 17 Aug 2002 23:26:26 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13629 What you want is not built into k95. Spend some time learning the OpenSSL.exe command. Docs at http://www.openssl.org In article , Thomas A. Horsley wrote: : Another question from that emacs pest (they'll die down when I have to go : back to doing real work on Monday :-). : : I occured to me that k95 has all kinds of nifty cipher algorithms built into : it these days (at least the crypto version does) for encrypting : communications. : : Is there any way I can use that encryption locally to do things like encrypt : and decrypt strings, or encrypt and decrypt files on disk? If foolish folk : want to store their passwords on disk, it might be nice if they could at : least use the best encryption kermit has to offer when they do it (or would : access to that violate terms of the export license you just got?). : : I didn't notice anything obvious in "show functions" or in the security.htm : doc file (but if nothing else, I am serving as a good example of how many : different ways one person can overlook or misinterpret the docs - not that I : always have problems with them, I just don't ask here when I manage to dig : things up myself :-). : -- : >>==>> The *Best* political site >>==+ : email: Tom.Horsley@worldnet.att.net icbm: Delray Beach, FL | : Free Software and Politics <<==+ Jeffrey Altman * Sr.Software Designer Kermit 95 2.0 GUI available now!!! The Kermit Project @ Columbia University SSH, Secure Telnet, Secure FTP, HTTP http://www.kermit-project.org/ Secured with MIT Kerberos, SRP, and kermit-support@columbia.edu OpenSSL. From tom.horsley@att.net Sun Aug 18 10:54:35 EDT 2002 Article: 13630 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!news.stealth.net!news.stealth.net!204.127.161.2.MISMATCH!wn2feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!not-for-mail Sender: tom@SPIKE Newsgroups: comp.protocols.kermit.misc Subject: Re: local access to encryption? References: From: tom.horsley@att.net (Thomas A. Horsley) Message-ID: Lines: 9 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: 7399663fec55d14937ec077ebaf95282 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc04-news.ops.worldnet.att.net 1029633919 7399663fec55d14937ec077ebaf95282 (Sun, 18 Aug 2002 01:25:19 GMT) NNTP-Posting-Date: Sun, 18 Aug 2002 01:25:19 GMT Organization: AT&T Worldnet Date: Sun, 18 Aug 2002 01:25:19 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13630 >What you want is not built into k95. Spend some time learning the >OpenSSL.exe command. Docs at http://www.openssl.org That looks pretty good. I'll have to make sure I have enough hooks defined so I can figure out openssl and add encryption later. Thanks. -- >>==>> The *Best* political site >>==+ email: Tom.Horsley@worldnet.att.net icbm: Delray Beach, FL | Free Software and Politics <<==+ From dold@45.usenet.us.com Mon Aug 19 09:44:08 EDT 2002 Article: 13631 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!newsfeed.stueberl.de!cox.net!news.lightlink.com!wasp.rahul.net!samba.rahul.net!rahul.net!a2i!dold.a2i!dold From: dold@45.usenet.us.com Newsgroups: comp.protocols.kermit.misc Subject: Re: local access to encryption? Date: 19 Aug 2002 02:46:11 GMT Organization: Wintercreek Data Lines: 26 Message-ID: References: NNTP-Posting-Host: yellow.rahul.net NNTP-Posting-User: dold User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (FreeBSD/3.5-STABLE (i386)) X-Comment: Encoded From: line allows replies that preserve original subject Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13631 Thomas A. Horsley wrote: : Another question from that emacs pest (they'll die down when I have to go : back to doing real work on Monday :-). I wish I had some work to do on Monday ;-( : Is there any way I can use that encryption locally to do things like encrypt : and decrypt strings, or encrypt and decrypt files on disk? If foolish folk : want to store their passwords on disk, it might be nice if they could at : least use the best encryption kermit has to offer when they do it (or would : access to that violate terms of the export license you just got?). If you use the dialer to create a .ksc file for an ssh connection, and you provide the login name and password to the dialer, the .ksc file contains a password in something less than readable form. The "rahul.ksc" on my home machine doesn't prompot for a password, as it's stored in the .ksc. The "rahul.ksc" on my laptop has my username, but not my password, so I get the ssh-challenge from the remote system fo a password. -- --- Clarence A Dold - dold@email.rahul.net - Hidden Valley (Lake County) CA. From robatwork@REMOVEmail.com Mon Aug 19 11:42:25 EDT 2002 Article: 13632 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!kibo.news.demon.net!demon!diablo.theplanet.net!news.theplanet.net!not-for-mail From: Rob S Newsgroups: comp.protocols.kermit.misc Subject: Dialing dir on K95 v 2 Date: Mon, 19 Aug 2002 16:16:10 +0100 Lines: 11 Message-ID: <3d620953.24136536@news.ision.net.uk> NNTP-Posting-Host: webcachem01b.cache.pol.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news7.svr.pol.co.uk 1029769980 14907 195.92.194.11 (19 Aug 2002 15:13:00 GMT) NNTP-Posting-Date: 19 Aug 2002 15:13:00 GMT X-Complaints-To: abuse@theplanet.net X-Trace-PostClient-IP: 195.7.225.148 X-Newsreader: Forte Agent 1.91/32.564 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13632 Hi, Quick question(s): Why has the K95v2 evaluation install overwritten the dialling directory I had in 1.1.21, and how do I get my original back as the default (it appears to still be in C:\K95\DIALUSR.DAT) tia -Rob robatwork at mail dot com From fdc@columbia.edu Mon Aug 19 11:44:08 EDT 2002 Article: 13633 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Dialing dir on K95 v 2 Date: 19 Aug 2002 11:43:54 -0400 Organization: Columbia University Lines: 15 Message-ID: References: <3d620953.24136536@news.ision.net.uk> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1029771837 13662 128.59.39.139 (19 Aug 2002 15:43:57 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 19 Aug 2002 15:43:57 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13633 In article <3d620953.24136536@news.ision.net.uk>, Rob S wrote: : Quick question(s): Why has the K95v2 evaluation install overwritten the : dialling directory I had in 1.1.21, and how do I get my original back as the : default (it appears to still be in C:\K95\DIALUSR.DAT) : K95 2.0 is a free upgrade to 1.1.21; you did not have to download a trial version, you could have downloaded the upgrade: http://www.columbia.edu/kermit/k95upgrade.html The URL explains how to migrate your customizations from one to the other (basically, just copy the files from old directory to the new one). - Frank From tom.horsley@att.net Tue Aug 20 09:57:58 EDT 2002 Article: 13634 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!isdnet!news.stealth.net!news.stealth.net!logbridge.uoregon.edu!arclight.uoregon.edu!wn4feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!not-for-mail Sender: tom@SPIKE Newsgroups: comp.protocols.kermit.misc Subject: k95 crash setting command width From: tom.horsley@att.net (Thomas A. Horsley) Message-ID: Lines: 28 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: ab99aa64d27e05ac299e88804433ef12 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1029806411 ab99aa64d27e05ac299e88804433ef12 (Tue, 20 Aug 2002 01:20:11 GMT) NNTP-Posting-Date: Tue, 20 Aug 2002 01:20:11 GMT Organization: AT&T Worldnet Date: Tue, 20 Aug 2002 01:20:11 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13634 While experimenting to see what the most useful file transfer disply mode is when running kermit in an emacs shell (with the -# 96 option), I tried the command: set command width 80 This seems to get kermit very upset. It just seems to hang forever, then if I try to prod it by doing something like: echo fred I get the Windows XP dialog about k95.exe abnormally terminating and do I want to send a bug report to Microsoft (I declined :-). Perhaps this command is trying to talk to the console even though there is no console in this case? (I was just trying to get it to change its idea of the screen width to see if it would affect the serial file transfer display which seems to just print one dot per line when running under emacs :-). For the curious, I'll be occasionally updating my web page with snapshots of the work I'm doing. You can find it at: http://home.att.net/~Tom.Horsley/kermacs.tar.gz -- >>==>> The *Best* political site >>==+ email: Tom.Horsley@worldnet.att.net icbm: Delray Beach, FL | Free Software and Politics <<==+ From dkcombs@panix.com Tue Aug 20 09:58:04 EDT 2002 Article: 13635 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!news.stealth.net!news.stealth.net!panix!not-for-mail From: dkcombs@panix.com (David Combs) Newsgroups: comp.protocols.kermit.misc Subject: Re: Strange Windows Platform Issue Date: Tue, 20 Aug 2002 02:24:43 +0000 (UTC) Organization: Public Access Networks Corp. Lines: 32 Message-ID: References: NNTP-Posting-Host: panix2.panix.com X-Trace: reader2.panix.com 1029810283 7916 166.84.1.2 (20 Aug 2002 02:24:43 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Tue, 20 Aug 2002 02:24:43 +0000 (UTC) X-Newsreader: trn 4.0-test74 (May 26, 2000) Originator: dkcombs@panix.com (David Combs) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13635 In article , Frank da Cruz wrote: >In article , >: snip >The best course is to send a copy of your script to us at: > > kermit-support@columbia.edu > >and we'll go through it and see what we can suggest. If the script looks >OK but you're still having trouble on some PCs, we can help you with the >troubleshooting. If you'd ask people to send scrips to you via posting them here, and subsequent communication on the problem was also via this group, then we'd all be able see everything, with the chance that many of us would learn something they previously didn't know, or even know of. (Obviously not if the OP wanted it kept confidential, but how many cases are like that?) --- Just something to consider. Thanks! David From fdc@columbia.edu Tue Aug 20 10:02:24 EDT 2002 Article: 13636 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Strange Windows Platform Issue Date: 20 Aug 2002 10:02:19 -0400 Organization: Columbia University Lines: 30 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1029852141 236 128.59.39.139 (20 Aug 2002 14:02:21 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 20 Aug 2002 14:02:21 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13636 In article , David Combs wrote: : In article , : Frank da Cruz wrote: : >In article , : >: snip : >The best course is to send a copy of your script to us at: : > : > kermit-support@columbia.edu : > : >and we'll go through it and see what we can suggest. If the script looks : >OK but you're still having trouble on some PCs, we can help you with the : >troubleshooting. : : If you'd ask people to send scrips to you : via posting them here, and subsequent : communication on the problem was also : via this group, then we'd all be able : see everything, with the chance that : many of us would learn something they : previously didn't know, or even know of. : Some people become furious when multi-megabyte logs are posted to newsgroups. If we remember to follow up to the newsgroup with the results of log analysis (which often require many exchanges of suggestions and logs), then you'll know what happened. If an interesting case seems to have vanished from sight, don't be shy about sending us mail to remind us to post the resolution. - Frank From dkcombs@panix.com Tue Aug 20 13:07:15 EDT 2002 Article: 13637 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!panix1.panix.com!not-for-mail From: dkcombs@panix.com (David Combs) Newsgroups: comp.protocols.kermit.misc,comp.unix.solaris Subject: Problem switching from (ancient) shelltool to CDE's dttool (sol 9!) Date: 20 Aug 2002 12:53:42 -0400 Organization: PANIX -- Public Access Networks Corp. Lines: 109 Message-ID: NNTP-Posting-Host: panix1.panix.com X-Trace: reader2.panix.com 1029862422 21841 166.84.1.1 (20 Aug 2002 16:53:42 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Tue, 20 Aug 2002 16:53:42 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13637 comp.unix.solaris:405028 (NOTE: I first intended this to go only to the Kermit people (my problem with dttool is only when I dial out to my isp, for which Kermit is how I dial out). Just now, as I post this, I decided to add the solaris group, because if anyone knows the ins and outs of dttool, they do. Just so you know, shelltool is what I've been using ever since I started using sun gui's, way back when, and for dialing out into an isp (first netcom (shell), then panix (shell)), it's worked just fine -- well, at least I could read the screen, and use vi, trn, emacs, etc. ) By the way, my problem is *urgent* -- I can't switch over to the blade100, with its just-installed solaris 9, until I can successfully dttool (or xtool or whatever, with sun having finally swiped suntool). Now, here's what I've prepared to post to the kermit newsgroup: ------ On my (said to be "behind-the-times") sparcstation-5, I'm running Solaris 7, which still supports Sun's ancient original terminal-emulator, "shelltool". It's always worked just fine for me. I just got a sunblade100, and have installed on it the just-released Solaris 9. Nice OS, lots of nifty features, I'm told. However, one big problem: no more support for shelltool, which, after years of threats >from Sun, doesn't exist on 9. (I'm now wearing a black armband!) (I've read, in comp.unix.solaris, that you can't (either easily, or at all), move the solaris-7 (or 8) shelltool executable to 9 and have it work, because Sun has also removed various other things that are needed for shelltool to run.) Anyway, it doesn't work too well; I think the immediate problems can be boiled down to solving this one problem: (1) You say "ls -ls", and the screen (at my "shell account" at the other end, to which I'm dialing into via kermit) fills with, uh, ls-lines. Now do "vi some-file" -- all those ls-lines are still there, just overlaid by the "black" chars in some-file. You hit ^L -- nothing happens. You exit or ^Z vi, and try ^L again; still nothing. You type the cmd "clear"; nothing happens. --- (Could I 'research" this myself? Doubtful -- I've *never* yet been able to comprehend the ins and outs of serial communications, so much so that even after a few years of using kermit for my isp connection, I still get neither color nor eg french accents. Maybe you have a cookbook way to enable that stuff, *without* my having to understand what's behind it?) (Oh -- all those problems I was having with Panix, lines dropping after 30 seconds, etc -- after two years of *loud denials*, it turned out to be *their* problem (telco), which I have worked-around by simply dialing into 718 or 212 (phone company tells me that with my "plan", the cost is identical to dialing 914; is, is a "local" call. (Why did I wait so long to try 212 or 718? Stupidity, I guess, but aided by their continuing protestations that it was all my fault, which I believed -- just more evidence of stupidity!)) Thanks! David Combs PS: am now using sparcstation 5, will switch to blade (has solaris 9) once I can successfully dial into the isp (successfully). From fdc@columbia.edu Tue Aug 20 13:07:18 EDT 2002 Article: 13638 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc,comp.unix.solaris Subject: Re: Problem switching from (ancient) shelltool to CDE's dttool (sol 9!) Date: 20 Aug 2002 13:07:03 -0400 Organization: Columbia University Lines: 69 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1029863224 9316 128.59.39.139 (20 Aug 2002 17:07:04 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 20 Aug 2002 17:07:04 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13638 comp.unix.solaris:405037 In article , David Combs wrote: : I just got a sunblade100, and have installed on it : the just-released Solaris 9. Nice OS, lots of : nifty features, I'm told. : : However, one big problem: no more support : for shelltool, which, after years of threats : from Sun, doesn't exist on 9. (I'm now wearing : a black armband!) : : (I've read, in comp.unix.solaris, that you can't (either : easily, or at all), move the solaris-7 (or 8) shelltool : executable to 9 and have it work, because Sun has also : removed various other things that are needed for : shelltool to run.) : : Anyway, it doesn't work too well; I think the : immediate problems can be boiled down to solving : this one problem: : Define "it". First you said you could not use shell tool on Solaris 9, so what are you using instead? dttool? xtool? ... : (1) You say "ls -ls", and the screen (at my "shell : account" at the other end, to which I'm dialing into via : kermit) fills with, uh, ls-lines. : : Now do "vi some-file" -- all those ls-lines are still : there, just overlaid by the "black" chars in some-file. : : You hit ^L -- nothing happens. : : You exit or ^Z vi, and try ^L again; still nothing. : : You type the cmd "clear"; nothing happens. : This would suggest that whatever you are using for a terminal emulator on Solaris 9 is not the same terminal type as the one you get with shell tool. AND/OR that the host doesn't know what type of terminal it is (what does "echo $TERM" on the host say?) OR that the host has the terminal name but doesn't support it. Or it supports it, but not correctly, etc etc. : (Could I 'research" this myself? Doubtful -- : I've *never* yet been able to comprehend the : ins and outs of serial communications, so much : so that even after a few years of using kermit : for my isp connection, I still get neither color : nor eg french accents. Maybe you have a cookbook : way to enable that stuff, *without* my having to : understand what's behind it?) : C-Kermit has a manual that explains this stuff in great detail, complete with pictures. For French accents, you have to get C-Kermit to (a) use 8-bit characters ("set terminal byte 8") and (b) convert whatever character-set the remote host uses for French to whatever character-set your terminal emulator uses. For color, your terminal emulator (blah tool) has to support it and the host needs to be told what kind of terminal you have and needs to have a termcap/terminfo entry that knows about its color capabilities AND applications that use that termcap/terminfo (e.g. color ls) to do color presentations. - Frank From alanc@CSUA.Berkeley.EDU Tue Aug 20 14:10:10 EDT 2002 Article: 13639 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!news-hog.berkeley.edu!ucberkeley!agate.berkeley.edu!agate!not-for-mail From: alanc@CSUA.Berkeley.EDU (Alan Coopersmith) Newsgroups: comp.protocols.kermit.misc,comp.unix.solaris Subject: Re: Problem switching from (ancient) shelltool to CDE's dttool (sol 9!) Date: Tue, 20 Aug 2002 17:29:33 +0000 (UTC) Organization: University of California, Berkeley Lines: 43 Message-ID: References: NNTP-Posting-Host: soda.csua.berkeley.edu X-Trace: agate.berkeley.edu 1029864573 32668 128.32.112.233 (20 Aug 2002 17:29:33 GMT) X-Complaints-To: usenet@agate.berkeley.edu NNTP-Posting-Date: Tue, 20 Aug 2002 17:29:33 +0000 (UTC) Originator: alanc@CSUA.Berkeley.EDU (Alan Coopersmith) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13639 comp.unix.solaris:405042 dkcombs@panix.com (David Combs) writes in comp.unix.solaris: |By the way, my problem is *urgent* -- I can't |switch over to the blade100, with its just-installed |solaris 9, until I can successfully dttool |(or xtool or whatever, with sun having finally |swiped suntool). Do you mean dtterm & xterm? There is no dttool & xtool. ( *tool was the OpenLook Deskset naming convention. CDE uses dt* for standard CDE programs and sdt* for Solaris CDE extensions. X simply uses x* for program names.) |(I've read, in comp.unix.solaris, that you can't (either |easily, or at all), move the solaris-7 (or 8) shelltool |executable to 9 and have it work, because Sun has also |removed various other things that are needed for |shelltool to run.) Actually, I think it might, if you install the SUNWol* packages. I've heard of people doing it, but never tried myself. |(1) You say "ls -ls", and the screen (at my "shell |account" at the other end, to which I'm dialing into via |kermit) fills with, uh, ls-lines. | |Now do "vi some-file" -- all those ls-lines are still |there, just overlaid by the "black" chars in some-file. | |You hit ^L -- nothing happens. | |You exit or ^Z vi, and try ^L again; still nothing. | |You type the cmd "clear"; nothing happens. Are you setting your terminal type correctly on the other end? It should be dtterm or xterm or vt100. If I remember correctly shelltool used a TERM of "sun". -- ________________________________________________________________________ Alan Coopersmith alanc@alum.calberkeley.org http://soar.Berkeley.EDU/~alanc/ aka: Alan.Coopersmith@Sun.COM Working for, but definitely not speaking for, Sun Microsystems, Inc. From gerg@panix.com Wed Aug 21 10:14:02 EDT 2002 Article: 13640 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!not-for-mail From: gerg@panix.com (Greg Andrews) Newsgroups: comp.protocols.kermit.misc,comp.unix.solaris Subject: Re: Problem switching from (ancient) shelltool to CDE's dttool (sol 9!) Date: Tue, 20 Aug 2002 22:17:09 +0000 (UTC) Organization: I have a map of the United States that's actual size Lines: 22 Message-ID: References: NNTP-Posting-Host: panix3.panix.com X-Trace: reader2.panix.com 1029881829 27626 166.84.1.3 (20 Aug 2002 22:17:09 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Tue, 20 Aug 2002 22:17:09 +0000 (UTC) X-Newsreader: trn 4.0-test74 (May 26, 2000) Originator: gerg@panix.com (Greg Andrews) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13640 comp.unix.solaris:405098 dkcombs@panix.com (David Combs) writes: > >(1) You say "ls -ls", and the screen (at my "shell >account" at the other end, to which I'm dialing into via >kermit) fills with, uh, ls-lines. > >Now do "vi some-file" -- all those ls-lines are still >there, just overlaid by the "black" chars in some-file. > >You hit ^L -- nothing happens. > >You exit or ^Z vi, and try ^L again; still nothing. > >You type the cmd "clear"; nothing happens. > Incorrect TERM value. -Greg -- Do NOT reply via e-mail. Reply in the newsgroup. From dkcombs@panix.com Wed Aug 21 12:41:47 EDT 2002 Article: 13641 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!not-for-mail From: dkcombs@panix.com (David Combs) Newsgroups: comp.protocols.kermit.misc,comp.unix.solaris Subject: Re: Problem switching from (ancient) shelltool to CDE's dttool (sol 9!) Date: Wed, 21 Aug 2002 16:14:52 +0000 (UTC) Organization: Public Access Networks Corp. Lines: 173 Message-ID: References: NNTP-Posting-Host: panix3.panix.com X-Trace: reader2.panix.com 1029946492 20224 166.84.1.3 (21 Aug 2002 16:14:52 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Wed, 21 Aug 2002 16:14:52 +0000 (UTC) X-Newsreader: trn 4.0-test74 (May 26, 2000) Originator: dkcombs@panix.com (David Combs) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13641 comp.unix.solaris:405193 Thanks for the reply, Frank! I'll reply to your questions *as* I read it: In article , Frank da Cruz wrote: >In article , >David Combs wrote: >: I just got a sunblade100, and have installed on it >: the just-released Solaris 9. Nice OS, lots of >: nifty features, I'm told. >: >: However, one big problem: no more support >: for shelltool, which, after years of threats >: from Sun, doesn't exist on 9. (I'm now wearing >: a black armband!) >: >: (I've read, in comp.unix.solaris, that you can't (either >: easily, or at all), move the solaris-7 (or 8) shelltool >: executable to 9 and have it work, because Sun has also >: removed various other things that are needed for >: shelltool to run.) >: >: Anyway, it doesn't work too well; I think the >: immediate problems can be boiled down to solving >: this one problem: >: >Define "it". First you said you could not use shell tool >on Solaris 9, so what are you using instead? dttool? >xtool? ... Modem, extra disks, tape drive, etc, still hooked to sparc5 (has solaris 7), and was trying the dtterm there, to see what problems I'd have when I did move modem, etc, over to the blade100. >: (1) You say "ls -ls", and the screen (at my "shell >: account" at the other end, to which I'm dialing into via >: kermit) fills with, uh, ls-lines. >: >: Now do "vi some-file" -- all those ls-lines are still >: there, just overlaid by the "black" chars in some-file. >: >: You hit ^L -- nothing happens. >: >: You exit or ^Z vi, and try ^L again; still nothing. >: >: You type the cmd "clear"; nothing happens. >: >This would suggest that whatever you are using for a terminal >emulator on Solaris 9 is not the same terminal type as the >one you get with shell tool. AND/OR that the host doesn't know >what type of terminal it is (what does "echo $TERM" on the >host say?) OR that the host has the terminal name but doesn't >support it. Or it supports it, but not correctly, etc etc. >: (Could I 'research" this myself? Doubtful -- >: I've *never* yet been able to comprehend the >: ins and outs of serial communications, so much >: so that even after a few years of using kermit >: for my isp connection, I still get neither color >: nor eg french accents. Maybe you have a cookbook >: way to enable that stuff, *without* my having to >: understand what's behind it?) >: >C-Kermit has a manual that explains this stuff in great detail, >complete with pictures. And it's one super book, has everything in it, features I've never heard of, nor (and here's how little I know) what use you'd make of such a feature. Plus there's those addendums you've come out with. But it seems to me that the stuff (to me) is so hairy that you'd have to know a fair bit just to read certain (many) parts. Now, I do have these books by Stevens -- maybe it's high time that I learn some of this stuff, and then I might actually *understand* some of what your program is doing for me. >For French accents, you have to get C-Kermit to (a) use 8-bit >characters ("set terminal byte 8") and (b) convert whatever >character-set the remote host uses for French to whatever >character-set your terminal emulator uses. > >For color, your terminal emulator (blah tool) has to support >it and the host needs to be told what kind of terminal you have >and needs to have a termcap/terminfo entry that knows about its >color capabilities AND applications that use that >termcap/terminfo (e.g. color ls) to do color presentations. > >- Frank So I've got some studying to do, I guess. You're saying that if I can get 8bit ascii being communicated, I can see the french stuff, and will see an e-accented-acute instead of the "i" I now get for it? And the termcap/terminfo -- I guess that would be on the isp's machine, not mine? If you had your druthers, what kind of ..term would *you* use: dtterm vs xterm? What do you suppose the problem is with the control-L not having the otherwise-universal effect of re-displaying the screen? Oh, and one more thing -- what chapters or page-ranges would you have me work on (in your c-kermit book)? For someone like me who seems to know nothing, any particular order in which to read the chapters/sections or page-ranges you suggest? And FINALLY -- finally -- here's what I'm running now (sort of ancient; maybe not really): ----- show version Versions: C-Kermit 6.0.192, 6 Sep 96 Numeric: 600192 UNIX Communications support, 6.0.169, 6 Sep 96 for Solaris 2.x UNIX File support, 6.0.115 6 Sep 96 for Solaris 2.x C-Kermit Protocol Module 6.0.095, 6 Sep 96 C-Kermit functions, 6.0.133, 6 Sep 96 Command package 6.0.088, 6 Sep 96 User Interface 6.0.177, 6 Sep 96 Character Set Translation 6.0.024, 4 Jul 96 CONNECT Command for UNIX, 6.0.083, 6 Sep 96 Dial Command, 6.0.091, 6 Sep 96 Script Command, 6.0.028, 8 Feb 96 Network support, 6.0.078, 6 Sep 1996 /myexternals/home/dkc] C-Kermit> Oh -- a few months ago I did download this: drwxr-xr-x 2 dkc staff 2048 \ Jul 28 2001 8.0-beta--cku200b02 , but never built it. Would you prefer that I try to get that running, instead of using the v6? Or maybe something even newer? Thanks! David Combs From fdc@columbia.edu Wed Aug 21 12:41:53 EDT 2002 Article: 13642 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc,comp.unix.solaris Subject: Re: Problem switching from (ancient) shelltool to CDE's dttool (sol 9!) Date: 21 Aug 2002 12:41:32 -0400 Organization: Columbia University Lines: 93 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1029948093 18319 128.59.39.139 (21 Aug 2002 16:41:33 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 21 Aug 2002 16:41:33 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13642 comp.unix.solaris:405195 In article , David Combs wrote: : ... : You're saying that if I can get 8bit ascii : being communicated, I can see the french : stuff, and will see an e-accented-acute instead : of the "i" I now get for it? : Yes. Read Chapter 16 of the manual. : And the termcap/terminfo -- I guess that : would be on the isp's machine, not mine? : Correct. : If you had your druthers, what kind of : ..term would *you* use: dtterm vs xterm? : People on the Sun newsgroup can answer this better than I can, but xterm is pretty standard and close to vt100 (vt102 actually). So if you use xterm and then tell the host that your terminal type is "xterm" or "vt102" or "vt100" (try them in that order) and you are using an up-to-date copy of Kermit (8.0.201), everything should work fine. In case a phrase such as "tell the host your terminal type" means nothing to you, then try giving a command like the following at the host's shell prompt: export TERM=xterm or: TERM=xterm export TERM or: setenv TERM xterm or: tset xterm Which form to use depends on the host and your shell. : What do you suppose the problem is with the : control-L not having the otherwise-universal : effect of re-displaying the screen? : What happens when you send Control-L to the host depends on the application that gets the Ctrl-L. Assuming you have terminal-type agreement between emulator and host, it should either clear the screen (e.g. in bash), redisplay the screen (e.g. in EMACS), act line a linefeed, etc. : Oh, and one more thing -- what chapters or page-ranges : would you have me work on (in your c-kermit book)? : For serial ports, modems, etc, start by reading Appendix II: A Condensed Guide to Serial Communications. : For someone like me who seems to know nothing, : any particular order in which to read the : chapters/sections or page-ranges you suggest? : Once you understand Appendix II you should be able to read the chapters in order. Obviously you can skip the chapters that don't apply to you -- for example if you only make serial connections, you don't need to know about networking. : And FINALLY -- finally -- here's what I'm : running now (sort of ancient; maybe not : really): : : C-Kermit 6.0.192, 6 Sep 96 : Time marches on. The current version is 8.0: http://www.columbia.edu/kermit/ckermit.html If you visit the Kermit home page occasionally: http://www.columbia.edu/kermit/ you can see what's new, what's current, etc. - Frank From dkcombs@panix.com Wed Aug 21 13:03:27 EDT 2002 Article: 13643 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!not-for-mail From: dkcombs@panix.com (David Combs) Newsgroups: comp.protocols.kermit.misc,comp.unix.solaris Subject: Re: Problem switching from (ancient) shelltool to CDE's dttool (sol 9!) Date: Wed, 21 Aug 2002 16:45:37 +0000 (UTC) Organization: Public Access Networks Corp. Lines: 60 Message-ID: References: NNTP-Posting-Host: panix3.panix.com X-Trace: reader2.panix.com 1029948337 20901 166.84.1.3 (21 Aug 2002 16:45:37 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Wed, 21 Aug 2002 16:45:37 +0000 (UTC) X-Newsreader: trn 4.0-test74 (May 26, 2000) Originator: dkcombs@panix.com (David Combs) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13643 comp.unix.solaris:405197 In article , Alan Coopersmith wrote: >dkcombs@panix.com (David Combs) writes in comp.unix.solaris: >|By the way, my problem is *urgent* -- I can't >|switch over to the blade100, with its just-installed >|solaris 9, until I can successfully dttool >|(or xtool or whatever, with sun having finally >|swiped suntool). > >Do you mean dtterm & xterm? There is no dttool & xtool. ( *tool was >the OpenLook Deskset naming convention. CDE uses dt* for standard CDE >programs and sdt* for Solaris CDE extensions. X simply uses x* for ^---- Thank you for *that* information! >program names.) > >|(I've read, in comp.unix.solaris, that you can't (either >|easily, or at all), move the solaris-7 (or 8) shelltool >|executable to 9 and have it work, because Sun has also >|removed various other things that are needed for >|shelltool to run.) > >Actually, I think it might, if you install the SUNWol* packages. I've >heard of people doing it, but never tried myself. > >|(1) You say "ls -ls", and the screen (at my "shell >|account" at the other end, to which I'm dialing into via >|kermit) fills with, uh, ls-lines. >| >|Now do "vi some-file" -- all those ls-lines are still >|there, just overlaid by the "black" chars in some-file. >| >|You hit ^L -- nothing happens. >| >|You exit or ^Z vi, and try ^L again; still nothing. >| >|You type the cmd "clear"; nothing happens. > >Are you setting your terminal type correctly on the other end? It >should be dtterm or xterm or vt100. If I remember correctly shelltool >used a TERM of "sun". (Haven't yet tried vt100.) Strange -- one time I said echo $TERM and it said "sun-cmd"; this shelltool says "sun", and emacs, from *shell*, says "dumb". The dtterm says "dtterm". When I answer Panix's (the isp) "terminal? " prompt, it doesn't complain at "sun-cmd" -- although right now I cannot remember where I got that from. Any idea what the "-cmd" suffix adds to it? Thanks David From dkcombs@panix.com Wed Aug 21 13:07:45 EDT 2002 Article: 13644 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!not-for-mail From: dkcombs@panix.com (David Combs) Newsgroups: comp.protocols.kermit.misc Subject: Re: K95 within EMACS (was: stdin/stdout busted?) Date: Wed, 21 Aug 2002 16:54:37 +0000 (UTC) Organization: Public Access Networks Corp. Lines: 36 Message-ID: References: NNTP-Posting-Host: panix3.panix.com X-Trace: reader2.panix.com 1029948877 20901 166.84.1.3 (21 Aug 2002 16:54:37 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Wed, 21 Aug 2002 16:54:37 +0000 (UTC) X-Newsreader: trn 4.0-test74 (May 26, 2000) Originator: dkcombs@panix.com (David Combs) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13644 In article , Frank da Cruz wrote: >In article , >Thomas A. Horsley wrote: >: >Escaping back from CONNECT mode is a bit >: >tricky too; you have to type: >: > >: > Ctrl-Q Ctrl-] c CR >: >: Just as a small step on the road, here is a highly alpha version of a >: "kermit" interaction mode for emacs which at least spiffs up the Ctrl-] c >: interaction a bit (no doubt needs tweaking for others to use in their >: environment): >: >: http://home.att.net/~Tom.Horsley/kermit-shell.el >: >Very cool, thanks! Let us know when it's less alpha and we'll stick in the >archive. > >: Suggestions for the 10,000 additional features people want will be accepted, >: but not necessarily acted upon :-). >: >Maybe those who love both K95 and EMACS will get some community development >going, like in the old days. > >- Frank Possibly a *really* stupid question, but would this "very cool" stuff apply to C-Kermit too? And that kermit-shell.el -- would it be useful under unix, or is it purely to get around some problem inherent in windows? David From dkcombs@panix.com Wed Aug 21 13:08:00 EDT 2002 Article: 13645 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!not-for-mail From: dkcombs@panix.com (David Combs) Newsgroups: comp.protocols.kermit.misc Subject: Re: stdin/stdout busted? Date: Wed, 21 Aug 2002 16:58:04 +0000 (UTC) Organization: Public Access Networks Corp. Lines: 21 Message-ID: References: NNTP-Posting-Host: panix3.panix.com X-Trace: reader2.panix.com 1029949084 20901 166.84.1.3 (21 Aug 2002 16:58:04 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Wed, 21 Aug 2002 16:58:04 +0000 (UTC) X-Newsreader: trn 4.0-test74 (May 26, 2000) Originator: dkcombs@panix.com (David Combs) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13645 In article , Jeffrey Altman wrote: >stdio works just fine. However, you want to use k95.exe instead of >k95g.exe and you are mis-interpretting the docs If the student fails to learn, ... Maybe add something to both the errata sheet and to the next release-notes, pointing out that the #-sign is to be typed-in literally? > > k95.exe -# 96 > >is the command you want to use. > David (same pbm in c-kermit book?) From not-a-real-address@usa.net Wed Aug 21 17:41:11 EDT 2002 Article: 13646 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!sn-xit-05!sn-xit-06!sn-post-01!supernews.com!news.supernews.com!not-for-mail From: those who know me have no need of my name Newsgroups: comp.protocols.kermit.misc,comp.unix.solaris Subject: Re: Problem switching from (ancient) shelltool to CDE's dttool (sol 9!) Date: 21 Aug 2002 21:21:32 GMT Organization: earthfriends Message-ID: References: User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Informed Management (RC1), i686-redhat-linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: newsabuse@supernews.com Lines: 13 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13646 comp.unix.solaris:405247 in comp.protocols.kermit.misc i read: >When I answer Panix's (the isp) "terminal? " prompt, >it doesn't complain at "sun-cmd" -- although right >now I cannot remember where I got that from. > >Any idea what the "-cmd" suffix adds to it? sun-c|sun-cmd|Sun Microsystems Workstation console with scrollable history -- bringing you boring signatures for 17 years From tom.horsley@att.net Wed Aug 21 17:42:08 EDT 2002 Article: 13647 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!nycmny1-snh1.gtei.net!cpk-news-hub1.bbnplanet.com!news.gtei.net!news.maxwell.syr.edu!wn1feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!not-for-mail Sender: tom@SPIKE Newsgroups: comp.protocols.kermit.misc Subject: Re: K95 within EMACS (was: stdin/stdout busted?) References: From: tom.horsley@att.net (Thomas A. Horsley) Message-ID: Lines: 29 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: ebe03cb3df21ac66062f206d81a2aa89 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc04-news.ops.worldnet.att.net 1029965984 ebe03cb3df21ac66062f206d81a2aa89 (Wed, 21 Aug 2002 21:39:44 GMT) NNTP-Posting-Date: Wed, 21 Aug 2002 21:39:44 GMT Organization: AT&T Worldnet Date: Wed, 21 Aug 2002 21:39:44 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13647 >Possibly a *really* stupid question, but would >this "very cool" stuff apply to C-Kermit too? My intention is that it work for any platform that can run both kermit and emacs, but my testing and development is mostly on Windows XP. A few quick tests on some of the Unix systems revealed that I have managed to rely on features that only exist in emacs 21 and kermit 8, so it isn't very portable at the moment (though if you have the latest Unix verion of emacs and kermit, it ought to work). Hopefully I can get it less dependent on latest and greatest stuff by the time I decide to make an "official" release. I'm making periodic snapshots of the collection (which now has more than just kermit-shell.el in it): http://home.att.net/~Tom.Horsley/kermacs.tar.gz >And that kermit-shell.el -- would it be useful >under unix, or is it purely to get around >some problem inherent in windows? Actually most of the problems are due to running on Windows (like no ptys under emacs), but hopefully that's why doing the development on Windows will make it fairly simple to get it working other places. -- >>==>> The *Best* political site >>==+ email: Tom.Horsley@worldnet.att.net icbm: Delray Beach, FL | Free Software and Politics <<==+ From tom.horsley@att.net Mon Aug 26 11:59:11 EDT 2002 Article: 13648 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!news.stealth.net!news.stealth.net!logbridge.uoregon.edu!arclight.uoregon.edu!wn4feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!not-for-mail Sender: tom@SPIKE Newsgroups: comp.protocols.kermit.misc Subject: Absolute filenames are relative in C-Kermit? From: tom.horsley@att.net (Thomas A. Horsley) Message-ID: Lines: 35 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: 966ddb80dd88eb3b8673f8416d42f742 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc04-news.ops.worldnet.att.net 1030323320 966ddb80dd88eb3b8673f8416d42f742 (Mon, 26 Aug 2002 00:55:20 GMT) NNTP-Posting-Date: Mon, 26 Aug 2002 00:55:20 GMT Organization: AT&T Worldnet Date: Mon, 26 Aug 2002 00:55:20 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13648 Running Kermit 95 2.0 on Windows XP talking to C-Kermit 8.0.201 on redhat linux 7.1. C-Kermit is running in server mode. If I issue a command in k95 like: send h:/foo/bar.text /home/tom/bar.txt I wind up with a file on the linux box in /home/tom/home/tom/bar.txt (C-Kermit was started up in the directory /home/tom). Is this really the intended behavior? I sort of hoped an absolute filename spec would be interpreted as really absolute. Easy enough to work around by simply doing "cd /" before I start kermit, but it seemed very strange to me, so I thought I'd ask. P.S. The "kermacs" kermit<->emacs interface is still humming along. I've got remote directory tracking for shell interaction working and simple get and put file transfers functioning. Still bazillions of details left, but I can imagine that it will really get there someday. I'm still sticking snapshots in: http://home.att.net/~Tom.Horsley/kermacs.tar.gz -- >>==>> The *Best* political site >>==+ email: Tom.Horsley@worldnet.att.net icbm: Delray Beach, FL | Free Software and Politics <<==+ From dold@81.usenet.us.com Mon Aug 26 11:59:16 EDT 2002 Article: 13649 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!news.stealth.net!news.stealth.net!central.cox.net!cox.net!gail.ripco.com!wasp.rahul.net!samba.rahul.net!rahul.net!a2i!dold.a2i!dold From: dold@81.usenet.us.com Newsgroups: comp.protocols.kermit.misc Subject: Re: Absolute filenames are relative in C-Kermit? Date: 26 Aug 2002 02:22:14 GMT Organization: Wintercreek Data Lines: 20 Message-ID: References: NNTP-Posting-Host: yellow.rahul.net NNTP-Posting-User: dold User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (FreeBSD/3.5-STABLE (i386)) X-Comment: Encoded From: line allows replies that preserve original subject Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13649 Thomas A. Horsley wrote: : Running Kermit 95 2.0 on Windows XP talking to C-Kermit 8.0.201 on : redhat linux 7.1. : C-Kermit is running in server mode. : If I issue a command in k95 like: : send h:/foo/bar.text /home/tom/bar.txt I have the same behavior, with FreeBSD, so it is not a platform bug. I see that I can "set send path absolute" but that seems to have no effect, and I don't have access to the c-kermit users guide. -- --- Clarence A Dold - dold@email.rahul.net - Hidden Valley (Lake County) CA. From fdc@columbia.edu Mon Aug 26 11:59:23 EDT 2002 Article: 13651 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Absolute filenames are relative in C-Kermit? Date: 26 Aug 2002 11:59:04 -0400 Organization: Columbia University Lines: 45 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1030377546 14724 128.59.39.139 (26 Aug 2002 15:59:06 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 26 Aug 2002 15:59:06 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13651 In article , Thomas A. Horsley wrote: : Running Kermit 95 2.0 on Windows XP talking to C-Kermit 8.0.201 on : redhat linux 7.1. : : C-Kermit is running in server mode. : : If I issue a command in k95 like: : : send h:/foo/bar.text /home/tom/bar.txt : : I wind up with a file on the linux box in : : /home/tom/home/tom/bar.txt : : (C-Kermit was started up in the directory /home/tom). : : Is this really the intended behavior? : Yes. : I sort of hoped an absolute filename spec would be interpreted : as really absolute. : You have to tell the file receiver that you want that: SET RECEIVE PATHNAMES ABSOLUTE See: http://www.columbia.edu/kermit/ckermit70.html#x4.10 : P.S. The "kermacs" kermit<->emacs interface is still humming along. : I've got remote directory tracking for shell interaction working : and simple get and put file transfers functioning. Still bazillions : of details left, but I can imagine that it will really get there : someday. I'm still sticking snapshots in: : : http://home.att.net/~Tom.Horsley/kermacs.tar.gz : Very cool. Do you have any helpers yet? Maybe if you posted a list of tasks that EMACS LISP or Kermit script programmers could help with, it could become a community project. - Frank From howag@bluewin.ch Mon Aug 26 11:59:57 EDT 2002 Article: 13650 of comp.protocols.kermit.misc Message-ID: <3D6A431D.8C495455@bluewin.ch> Date: Mon, 26 Aug 2002 17:02:53 +0200 From: "Thomas F. Howald" Reply-To: howag@bluewin.ch Organization: Garage Otto Howald AG, Solothurn Switzerland X-Mailer: Mozilla 4.7 [en] (Win95; I) X-Accept-Language: en,de-CH MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Re: Kermit 95 on Win ME connecting to a VAX (Solved) References: <3CFBC39F.5D5F7A4E@bluewin.ch> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 213.3.116.56 X-Trace: news.bluewin.ch 1030374127 213.3.116.56 (26 Aug 2002 17:02:07 +0200) Lines: 33 X-Complaints-To: abuse@bluewin.ch Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!news-out.nuthinbutnews.com!propagator-sterling!news-in.nuthinbutnews.com!newsfeed-zh.ip-plus.net!news.ip-plus.net!news.bluewin.ch!not-for-mail Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13650 Frank da Cruz wrote: > > In article <3CFBC39F.5D5F7A4E@bluewin.ch>, > Thomas F. Howald wrote: > : this might be a Windoze problem, but maybe not. When I connect via com1 > : to our MicroVax I get connected but after 3 or 4 's Kermit crashes > : as if it didn't have enough memory. > : > : I'm using Kermit 95 1.1.21 and it always worked perfect for me on > : previous operating systems such as Win95 and Win98. BTW another terminal > : emulation program also crashes the same way, but can only be recovered > : by pressing "ctrl" "alt" and "del". Kermit will recover with "alt-x". > : > This would seem to contradict your assertion that Kermit crashed. It > must still be there if it responds to Alt-x. What made you think it > crashed? What did you see on your screen before you Alt-x'd? > > - Frank Yes just the screen froze. The only way I could get to work was mounting a serial PC Add-On card, that diverted the virtual com ports Window ME uses. I connect now via com6 ! Not many programs will allow that, but KERMIT does. Thomas BTW it took me this long to get this newsgroup going again. -- ------------------------------------------------------------------------ T.F. Howald |It's difficult to soar with eagles,|Ph:+41 32 686 61 86 Otto Howald AG | when you work with turkeys.| http://www.garagehowald.ch Engestrasse 13, 4500 Solothurn, Switzerland | howag@bluewin.ch From Tom.Horsley@att.net Mon Aug 26 15:00:01 EDT 2002 Article: 13652 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!howland.erols.net!news-out.worldnet.att.net.MISMATCH!wn3feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!not-for-mail From: "Tom Horsley" Newsgroups: comp.protocols.kermit.misc References: Subject: Re: Absolute filenames are relative in C-Kermit? Lines: 23 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Message-ID: NNTP-Posting-Host: 2f5645dc21bacc81ca7f9ebc220790cf X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc04-news.ops.worldnet.att.net 1030386681 2f5645dc21bacc81ca7f9ebc220790cf (Mon, 26 Aug 2002 18:31:21 GMT) NNTP-Posting-Date: Mon, 26 Aug 2002 18:31:21 GMT Organization: AT&T Worldnet Date: Mon, 26 Aug 2002 18:31:21 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13652 > You have to tell the file receiver that you want that: > > SET RECEIVE PATHNAMES ABSOLUTE Ah-ha! Another bit of documentation I failed to stumble across. The online help in kermit is great, but it really needs a way I could search all the help text for keywords and tell me which commands mention the keyword. I never know if I should be doing a set file... or a set receive.. or a set something else :-). Sorta like the emacs apropos command. > : http://home.att.net/~Tom.Horsley/kermacs.tar.gz > : > Very cool. Do you have any helpers yet? Not sure I'm ready for helpers yet. I keep tossing out big chunks and changing my mind about the way things ought to work :-). There is a "describe" file in the tar archive which has a tentative TODO list at the bottom. From fdc@columbia.edu Mon Aug 26 15:11:21 EDT 2002 Article: 13653 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Absolute filenames are relative in C-Kermit? Date: 26 Aug 2002 15:11:12 -0400 Organization: Columbia University Lines: 51 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1030389076 24123 128.59.39.139 (26 Aug 2002 19:11:16 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 26 Aug 2002 19:11:16 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13653 In article , Tom Horsley wrote: : > You have to tell the file receiver that you want that: : > : > SET RECEIVE PATHNAMES ABSOLUTE : : Ah-ha! Another bit of documentation I failed to stumble : across. The online help in kermit is great, but it really : needs a way I could search all the help text for : keywords and tell me which commands mention the keyword. : I never know if I should be doing a set file... or : a set receive.. or a set something else :-). : We are a small bunch here. If we could clone ourselves (or had the money to hire more people, or even to feed the clones) we would have lots of features that people have been waiting for, consolidated documentation, etc. Meanwhile just remember that C-Kermit (including K95) has a command for almost anything you can think of, and there are only 3 or 4 (or 5 or 6) places to look: 1. Using C-Kermit, 2nd Edition. Has a good index. 2. The C-Kermit 7.0 supplement to (1): http://www.columbia.edu/kermit/ckermit70.html You can search for strings like "pathnames" in this. 3. The C-Kermit 8.0 supplement to (1): http://www.columbia.edu/kermit/ckermit80.html Ditto about searching. This one includes the FTP client documentation. 4. The Kermit 95 manual that comes with Kermit 95 (only for K95-specific things). This is mostly one big file you can search through, but there are also subfiles. Hint (at the K-95> prompt): kcd exedir cd docs/manual grep pathnames *.htm 5. Several special-topic web pages like: http://www.columbia.edu/kermit/security.html http://www.columbia.edu/kermit/telnet.html http://www.columbia.edu/kermit/ssh.html And of course if you get stuck on something, just ask. - Frank From dold@81.usenet.us.com Mon Aug 26 17:05:45 EDT 2002 Article: 13654 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!news.stealth.net!news.stealth.net!panix!nycmny1-snh1.gtei.net!crtntx1-snh1.gtei.net!sanjose1-snf1.gtei.net!news.gtei.net!news.mainstreet.net!wasp.rahul.net!samba.rahul.net!rahul.net!a2i!dold.a2i!dold From: dold@81.usenet.us.com Newsgroups: comp.protocols.kermit.misc Subject: Re: Absolute filenames are relative in C-Kermit? Date: 26 Aug 2002 21:01:55 GMT Organization: Wintercreek Data Lines: 23 Message-ID: References: NNTP-Posting-Host: yellow.rahul.net NNTP-Posting-User: dold User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (FreeBSD/3.5-STABLE (i386)) X-Comment: Encoded From: line allows replies that preserve original subject Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13654 Frank da Cruz wrote: : : > You have to tell the file receiver that you want that: : : > : : > SET RECEIVE PATHNAMES ABSOLUTE Darn. I found set send, didn't think about receive. : Meanwhile just remember that C-Kermit (including K95) has a : command for almost anything you can think of, and there are : only 3 or 4 (or 5 or 6) places to look: : 1. Using C-Kermit, 2nd Edition. Has a good index. Especially the pdf file, which allows just the search mentioned. look for "pathnames" all over the place. index schmindex ;-) But, I managed to misplace mine when I upgraded to 2.0. I'll have to fetch that old CD again. -- --- Clarence A Dold - dold@email.rahul.net - Hidden Valley (Lake County) CA. From tom.horsley@att.net Mon Aug 26 17:29:38 EDT 2002 Article: 13655 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!wn3feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!not-for-mail Sender: tom@SPIKE Newsgroups: comp.protocols.kermit.misc Subject: Re: Absolute filenames are relative in C-Kermit? References: From: tom.horsley@att.net (Thomas A. Horsley) Message-ID: Lines: 9 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: 5863e818cf0c0d9a3f3d33088199c0fb X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1030396486 5863e818cf0c0d9a3f3d33088199c0fb (Mon, 26 Aug 2002 21:14:46 GMT) NNTP-Posting-Date: Mon, 26 Aug 2002 21:14:46 GMT Organization: AT&T Worldnet Date: Mon, 26 Aug 2002 21:14:46 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13655 > 1. Using C-Kermit, 2nd Edition. Has a good index. Yea, but I keep resisting buying the 2nd edition to replace my 1st edition because I just know as soon as I do a 3rd edition will come out with all the supplements incorporated in it :-). -- >>==>> The *Best* political site >>==+ email: Tom.Horsley@worldnet.att.net icbm: Delray Beach, FL | Free Software and Politics <<==+ From phil+s3@bolthole.no-bots.com Thu Aug 29 09:00:46 EDT 2002 Article: 13656 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!howland.erols.net!peer.news.verio.net.MISMATCH!iad-peer.news.verio.net!news.verio.net!iad-read.news.verio.net.POSTED!phil+s3 From: phil+s3@bolthole.no-bots.com (Philip Brown) Newsgroups: comp.protocols.kermit.misc,comp.unix.solaris Subject: Re: Problem switching from (ancient) shelltool to CDE's dttool (sol 9!) References: Reply-To: phil+s3@bolthole.no-bots.com Message-ID: User-Agent: slrn/0.9.6.3 (FreeBSD) Lines: 18 Date: Thu, 29 Aug 2002 08:05:18 GMT NNTP-Posting-Host: 192.220.72.215 X-Complaints-To: abuse@verio.net X-Trace: iad-read.news.verio.net 1030608318 192.220.72.215 (Thu, 29 Aug 2002 08:05:18 GMT) NNTP-Posting-Date: Thu, 29 Aug 2002 08:05:18 GMT Organization: Verio Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13656 comp.unix.solaris:406419 On Wed, 21 Aug 2002 16:45:37 +0000 (UTC), dkcombs@panix.com wrote: >... >When I answer Panix's (the isp) "terminal? " prompt, >it doesn't complain at "sun-cmd" yes, it IS complaining. Just not right away. It's "complaining" by not displaying your terminal output correctly. So set your term-type to the appropriate value for your terminal, [xterm/dtterm/whatever you're using locally] and you'll get the proper output. -- [Trim the no-bots from my address to reply to me by email!] [ Do NOT email-CC me on posts. Pick one or the other.] S.1618 http://thomas.loc.gov/cgi-bin/bdquery/z?d105:SN01618:@@@D http://www.spamlaws.com/state/ca1.html From arthur.marsh@adelaide.edu.au Thu Aug 29 12:06:51 EDT 2002 Article: 13657 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!jfk3-feed1.news.algx.net!allegiance!news.maxwell.syr.edu!news1.optus.net.au!optus!news.optus.net.au!53ab2750!not-for-mail From: Arthur Marsh Organization: The University of Adelaide User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: scripting capturing of Cisco ARP tables Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Original-NNTP-Posting-Host: dialup46.staffdialup.services.adelaide.edu.au Message-ID: <3d6e39ea@yorrell.saard.net> X-Original-Trace: 30 Aug 2002 00:42:42 +0950, dialup46.staffdialup.services.adelaide.edu.au Lines: 45 Date: Thu, 29 Aug 2002 15:12:46 GMT NNTP-Posting-Host: 203.21.37.20 X-Trace: news.optus.net.au 1030633966 203.21.37.20 (Fri, 30 Aug 2002 01:12:46 EST) NNTP-Posting-Date: Fri, 30 Aug 2002 01:12:46 EST Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13657 Hi, I've been out of practice with writing Kermit scripts and want to do the following: Given one series of IP addresses: telnet to each IP address in turn, send a: show arp command and send a space character as long as a "More" prompt appears For each line that starts with "Internet", log the 4th and 2nd space delimited string to a file. There are a couple of variations. One device needs to be sent the comand session 15 after the initial log-in and before the "show arp" command. Some devices need session 15 followed by a second username/password (identical to the first) after the initial log-in and before the "show arp" command. Are there any particular sample scripts to follow, and hints for scripting checking for a "More" prompt? Although this seems trivial, it's a bit different from the state table I did in 1989 for electronic tax lodgements using MS-Kermit. Regards, Arthur. From fdc@columbia.edu Thu Aug 29 12:06:56 EDT 2002 Article: 13658 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: scripting capturing of Cisco ARP tables Date: 29 Aug 2002 12:06:47 -0400 Organization: Columbia University Lines: 88 Message-ID: References: <3d6e39ea@yorrell.saard.net> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1030637208 6787 128.59.39.139 (29 Aug 2002 16:06:48 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 29 Aug 2002 16:06:48 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13658 In article <3d6e39ea@yorrell.saard.net>, Arthur Marsh wrote: : Hi, I've been out of practice with writing Kermit scripts and want to do : the following: : : Given one series of IP addresses: : Put them in an array, loop thru the array, e.g.: dcl \&a[] = 123.456.789.001 123.456.789.002 123.456.789.003 123.456.789.004 for \%i 1 \fdim(&a) 1 { ... } Or read the addresses into the array from a file, whatever. For more about arrays, see the book and: http://www.columbia.edu/kermit/ckermit70.html#x7.10 For file i/o, see: http://www.columbia.edu/kermit/ckermit70.html#x1.22 : telnet to each IP address in turn, : set host \&a[\%i] if fail ... : send a: : : show arp : : command : : and send a space character as long as a "More" prompt appears : : For each line that starts with "Internet", log the 4th and 2nd space : delimited string to a file. : Something like this: fopen /write \%c outfile if fail ... lineout show arp ; Send "show arp" and CR set flag on ; Loop control while flag { ; Loop clear input ; Clear INPUT buffer minput 10 "\10" "More?" "Prompt>" ; Wait for trigger strings if fail break switch \v(minput) { :1, if equal "\fleft(\v(input),8)" "Internet" { fwrite \%c \v(input) } break :2, output " " break :3, set flag off } } Here you need to get the exact syntax of the More prompt and the Cisco shell prompt. Maybe each Cisco box has a different shell prompt. Then you need parallel arrays for the IP addresses and the shell prompts. See the "mpservers" sample script in the C-Kermit / K95 Script library: http://www.columbia.edu/kermit/ckscripts.html : There are a couple of variations. : : One device needs to be sent the comand : : session 15 : : after the initial log-in and before the "show arp" command. : : Some devices need : : session 15 : : followed by a second username/password (identical to the first) : after the initial log-in and before the "show arp" command. : Use a SWITCH statement on the hostname/address. - Frank From arthur.marsh@adelaide.edu.au Fri Aug 30 09:05:35 EDT 2002 Article: 13659 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!news-out.cwix.com!newsfeed.cwix.com!news1.optus.net.au!optus!news.optus.net.au!53ab2750!not-for-mail From: Arthur Marsh User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Re: scripting capturing of Cisco ARP tables References: <3d6e39ea@yorrell.saard.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Original-NNTP-Posting-Host: arthur-4100.its.adelaide.edu.au Message-ID: <3d6ed522$1@yorrell.saard.net> X-Original-Trace: 30 Aug 2002 11:44:58 +0950, arthur-4100.its.adelaide.edu.au Lines: 72 Date: Fri, 30 Aug 2002 02:15:01 GMT NNTP-Posting-Host: 203.21.37.20 X-Trace: news.optus.net.au 1030673701 203.21.37.20 (Fri, 30 Aug 2002 12:15:01 EST) NNTP-Posting-Date: Fri, 30 Aug 2002 12:15:01 EST Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13659 Thanks, my rough, first working script is (with username, password and ip addresses changed): #!/usr/local/bin/kermit ; open log file fopen /write \%c arp.log if fail exit ; declare router addresses dcl \&a[] = 129.127.134.254 129.127.135.125 for \%i 1 \fdim(&a) 1 { close connection set telnet wait off set host \&a[\%i] if fail break minput 10 "Username:" if fail break lineout myname minput 10 "Password:" if fail break lineout mypassword if equal \&a[\%i] 129.127.135.125 { minput 10 "#" ">" ")" if fail break clear input lineout session 15 minput 10 "router" if fail break } else { minput 10 "#" ">" ")" if fail break } lineout show arp ; Send "show arp" and CR set flag on ; Loop control while flag { ; Loop clear input ; Clear INPUT buffer minput 10 "\10" "--More--" ">" "#" ; Wait for trigger strings if fail break switch \v(minput) { :1, if equal "\fleft(\v(input),8)" "Internet" { fwrite \%c \v(input) } break :2, output " " break :3, set flag off } } } close connection echo echo finished C-Kermit exit A shell script then sorts and cleans the output and a Perl script compares the data it with what was in an Oracle database, updating a "lastarp_date" column of a table containing MAC addreeses of devices in our network. -- 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 not-a-real-address@usa.net Sat Aug 31 18:51:24 EDT 2002 Article: 13660 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!news-out.nuthinbutnews.com!propagator2-sterling!news-in-sterling.newsfeed.com!news-in.nuthinbutnews.com!feed.textport.net!sn-xit-02!sn-xit-01!sn-post-02!sn-post-01!supernews.com!news.supernews.com!not-for-mail From: those who know me have no need of my name Newsgroups: comp.protocols.kermit.misc Subject: Re: scripting capturing of Cisco ARP tables Date: 31 Aug 2002 21:59:41 GMT Organization: earthfriends Message-ID: References: <3d6e39ea@yorrell.saard.net> User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Informed Management (RC1), i686-redhat-linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: newsabuse@supernews.com Lines: 23 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13660 in comp.protocols.kermit.misc i read: >Hi, I've been out of practice with writing Kermit scripts and want to >do the following: > >Given one series of IP addresses: > >telnet to each IP address in turn, > >send a: > >show arp > >command > >and send a space character as long as a "More" prompt appears fyi: send a ``term len 0'' before the ``show arp'', then it won't pause. if the session is to be left dangling you can send a ``term len 24'' after you've coped with the arp output. -- bringing you boring signatures for 17 years From arthur.marsh@adelaide.edu.au Sun Sep 1 10:37:30 EDT 2002 Article: 13661 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!news1.optus.net.au!optus!news.optus.net.au!53ab2750!not-for-mail From: Arthur Marsh Organization: The University of Adelaide User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Re: scripting capturing of Cisco ARP tables References: <3d6e39ea@yorrell.saard.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Original-NNTP-Posting-Host: dialup46.staffdialup.services.adelaide.edu.au Message-ID: <3d721a69@yorrell.saard.net> X-Original-Trace: 1 Sep 2002 23:17:21 +0950, dialup46.staffdialup.services.adelaide.edu.au Lines: 30 Date: Sun, 01 Sep 2002 13:47:24 GMT NNTP-Posting-Host: 203.21.37.20 X-Trace: news.optus.net.au 1030888044 203.21.37.20 (Sun, 01 Sep 2002 23:47:24 EST) NNTP-Posting-Date: Sun, 01 Sep 2002 23:47:24 EST Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13661 Thanks, I'll try that. I have been asked to use SNMP to get the information rather than telnet but Kermit makes it so easy (-:. Arthur. those who know me have no need of my name wrote: > in comp.protocols.kermit.misc i read: > > >>Hi, I've been out of practice with writing Kermit scripts and want to >>do the following: >> >>Given one series of IP addresses: >> >>telnet to each IP address in turn, >> >>send a: >> >>show arp >> >>command >> >>and send a space character as long as a "More" prompt appears > > > fyi: send a ``term len 0'' before the ``show arp'', then it won't pause. > if the session is to be left dangling you can send a ``term len 24'' after > you've coped with the arp output. > From tom.horsley@att.net Mon Sep 2 13:29:23 EDT 2002 Article: 13662 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!logbridge.uoregon.edu!arclight.uoregon.edu!wn4feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!not-for-mail Sender: tom@SPIKE Newsgroups: comp.protocols.kermit.misc Subject: remote dir and /dotfiles? From: tom.horsley@att.net (Thomas A. Horsley) Message-ID: Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: 63b18ddb75657c6ea4685e25f30ee261 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1030918231 63b18ddb75657c6ea4685e25f30ee261 (Sun, 01 Sep 2002 22:10:31 GMT) NNTP-Posting-Date: Sun, 01 Sep 2002 22:10:31 GMT Organization: AT&T Worldnet Date: Sun, 01 Sep 2002 22:10:31 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13662 Is there any way to get "remote directory" to list all the files all the time? I've tried all the combinations of "set options directory /dotfiles" on both the local and server side kermits and the /dotfiles switch on the remote directory command (doesn't seem to act like it is a switch when used with rdir), and nothing seems to work. Am I stuck with always running two command to get the whole list? ("rdir" and "rdir .*"). (This is with kermit 95 2.0 on the local side and C-Kermit 8.0.201 on the remote side, by the way). I suppose I could drop out of server mode and run dir on the remote kermit and capture that output from the terminal session, but running two commands in server mode is probably simpler than that :-). -- >>==>> The *Best* political site >>==+ email: Tom.Horsley@worldnet.att.net icbm: Delray Beach, FL | Free Software and Politics <<==+ From fdc@columbia.edu Mon Sep 2 13:29:27 EDT 2002 Article: 13663 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: remote dir and /dotfiles? Date: 2 Sep 2002 13:29:18 -0400 Organization: Columbia University Lines: 43 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1030987759 17228 128.59.39.139 (2 Sep 2002 17:29:19 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 2 Sep 2002 17:29:19 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13663 In article , Thomas A. Horsley wrote: : Is there any way to get "remote directory" to list all the files all the : time? : : I've tried all the combinations of "set options directory /dotfiles" on both : the local and server side kermits and the /dotfiles switch on the remote : directory command (doesn't seem to act like it is a switch when used with : rdir), and nothing seems to work. : : Am I stuck with always running two command to get the whole list? : ("rdir" and "rdir .*"). : : (This is with kermit 95 2.0 on the local side and C-Kermit 8.0.201 : on the remote side, by the way). : It's a bug, thanks for noticing. It can be fixed by a one-character patch to ckufio.c: *** 6292,6298 **** /* This speeds things up a bit. */ /* If it causes trouble define NOSKIPMATCH and rebuild. */ if (depth == 0 && (s1[0] == '*') && !s1[1]) ! mresult = matchdot ? 1 : (s2[0] != '.'); else #endif /* NOSKIPMATCH */ mresult = ckmatch(s1,s2,1,opts); /* Match */ --- 6292,6298 ---- /* This speeds things up a bit. */ /* If it causes trouble define NOSKIPMATCH and rebuild. */ if (depth == 0 && (s1[0] == '*') && !s1[1]) ! mresult = xmatchdot ? 1 : (s2[0] != '.'); else #endif /* NOSKIPMATCH */ mresult = ckmatch(s1,s2,1,opts); /* Match */ That is, change the "matchdot" reference to "xmatchdot". An updated working copy of C-Kermit with this fix is in: http://www.columbia.edu/kermit/ckdaily.html - Frank From mdd08512@yahooDOT.com Wed Sep 4 13:45:58 EDT 2002 Article: 13664 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!logbridge.uoregon.edu!arclight.uoregon.edu!news.tufts.edu!uunet!dca.uu.net!pnj-news-spl!not-for-mail From: "Michael Di Domenico" Newsgroups: comp.protocols.kermit.misc Subject: Re: scripting capturing of Cisco ARP tables Date: Wed, 4 Sep 2002 10:54:03 -0400 Organization: Princeton eCom Lines: 54 Message-ID: References: <3d6e39ea@yorrell.saard.net> <3d721a69@yorrell.saard.net> NNTP-Posting-Host: pnj-wks-12-105.princetonecom.com X-Trace: pnj-news-spl.princetonecom.com 1031151249 13758 192.168.12.105 (4 Sep 2002 14:54:09 GMT) X-Complaints-To: news@princetonecom.com NNTP-Posting-Date: Wed, 4 Sep 2002 14:54:09 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13664 "Arthur Marsh" wrote in message news:3d721a69@yorrell.saard.net... > Thanks, I'll try that. I have been asked to use SNMP to get the > information rather than telnet but Kermit makes it so easy (-:. > > Arthur. > > those who know me have no need of my name wrote: > > in comp.protocols.kermit.misc i read: > > > > > >>Hi, I've been out of practice with writing Kermit scripts and want to > >>do the following: > >> > >>Given one series of IP addresses: > >> > >>telnet to each IP address in turn, > >> > >>send a: > >> > >>show arp > >> > >>command > >> > >>and send a space character as long as a "More" prompt appears > > > > > > fyi: send a ``term len 0'' before the ``show arp'', then it won't pause. > > if the session is to be left dangling you can send a ``term len 24'' after > > you've coped with the arp output. > > > What's so hard about snmp? Using the UCD-SNMP package, you can simply type the command below and get a list of all the ARP entries in the arp table. Kermit is great, but getting info from routers through snmp is so much easier and much less network load. snmpwalk at.atTable.atEntry.atPhysAddress at.atTable.atEntry.atPhysAddress.2.1.192.168.10.1 = Hex: 00 50 54 FF 2C 39 at.atTable.atEntry.atPhysAddress.2.1.192.168.10.9 = Hex: 08 00 20 AD D7 9E at.atTable.atEntry.atPhysAddress.2.1.192.168.10.10 = Hex: 08 00 20 AE 5C 08 at.atTable.atEntry.atPhysAddress.2.1.192.168.10.17 = Hex: 00 01 42 32 ED 27 at.atTable.atEntry.atPhysAddress.2.1.192.168.10.18 = Hex: 08 00 20 AE 5C 08 at.atTable.atEntry.atPhysAddress.2.1.192.168.10.19 = Hex: 08 00 20 AD D7 9E at.atTable.atEntry.atPhysAddress.2.1.192.168.10.41 = Hex: 08 00 20 B1 93 B3 From not-a-real-address@usa.net Wed Sep 4 17:16:09 EDT 2002 Article: 13665 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!news.stealth.net!news.stealth.net!newsfeed.news2me.com!sn-xit-05!sn-xit-06!sn-post-01!supernews.com!news.supernews.com!not-for-mail From: those who know me have no need of my name Newsgroups: comp.protocols.kermit.misc Subject: Re: scripting capturing of Cisco ARP tables Date: 04 Sep 2002 19:08:50 GMT Organization: earthfriends Message-ID: References: <3d6e39ea@yorrell.saard.net> <3d721a69@yorrell.saard.net> User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Informed Management (RC1), i686-redhat-linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@supernews.com Lines: 13 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13665 in comp.protocols.kermit.misc i read: >What's so hard about snmp? Using the UCD-SNMP package, you can simply type >the command below and get a list of all the ARP entries in the arp table. >Kermit is great, but getting info from routers through snmp is so much >easier and much less network load. depends on what you are going to do with the data ... ever tried to turn those snmp responses back into the line-by-line listing that ``show arp'' provides? -- bringing you boring signatures for 17 years From mdd08512@yahooDOT.com Wed Sep 4 17:16:28 EDT 2002 Article: 13666 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!nycmny1-snh1.gtei.net!news.gtei.net!newsfeed.mathworks.com!news.mathworks.com!uunet!nyc.uu.net!ash.uu.net!pnj-news-spl!not-for-mail From: "Michael Di Domenico" Newsgroups: comp.protocols.kermit.misc Subject: Re: scripting capturing of Cisco ARP tables Date: Wed, 4 Sep 2002 16:15:11 -0400 Organization: Princeton eCom Lines: 22 Message-ID: References: <3d6e39ea@yorrell.saard.net> <3d721a69@yorrell.saard.net> NNTP-Posting-Host: pnj-wks-12-105.princetonecom.com X-Trace: pnj-news-spl.princetonecom.com 1031170518 15805 192.168.12.105 (4 Sep 2002 20:15:18 GMT) X-Complaints-To: news@princetonecom.com NNTP-Posting-Date: Wed, 4 Sep 2002 20:15:18 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13666 "those who know me have no need of my name" wrote in message news:m1ptvtzi8a.gnus@usa.net... > in comp.protocols.kermit.misc i read: > > >What's so hard about snmp? Using the UCD-SNMP package, you can simply type > >the command below and get a list of all the ARP entries in the arp table. > >Kermit is great, but getting info from routers through snmp is so much > >easier and much less network load. > > depends on what you are going to do with the data ... ever tried to turn > those snmp responses back into the line-by-line listing that ``show arp'' > provides? true. your right it does depend on what the data is going to be used for. but setting up the line by line display like 'show arp' is not hard using a shell or perl script. my opinion and personal preferece would be to always do the extra effort on the server side to get the information through snmp and format the data for its intended purpose. From dmacq@erols.com Wed Sep 4 17:26:35 EDT 2002 Article: 13667 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!nycmny1-snh1.gtei.net!cpk-news-hub1.bbnplanet.com!news.gtei.net!feed2.news.rcn.net!feed1.news.rcn.net!rcn!not-for-mail From: "Donald MacQueen" Newsgroups: comp.protocols.kermit.misc Subject: i am sooooo confused Date: Wed, 4 Sep 2002 16:50:48 -0400 Lines: 34 Message-ID: X-Trace: UmFuZG9tSVaeOnuwj2nw19fx6sESQgNmAjMtHCavoYrygasCqP8RCvu6Ju7X9YB4 X-Complaints-To: abuse@rcn.com NNTP-Posting-Date: 4 Sep 2002 20:50:31 GMT X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Priority: 3 X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MSMail-Priority: Normal Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13667 we have a phone system at my kids school that spits out call records. i want to use kermit to capture them for analysis. this works interactively: log session set input echo off set modem type none set line /dev/ttyS0 set carrier-watch off set speed 9600 connect i can then see the records on the screen and they do get logged to a file. what i -really- want to do is to make this a weekly cron job that rotates or renames the log file, mails it off, etc. to the above: i removed the connect i added the line 'set background on' i added '#!/usr/local/bin/kermit' as the first line but it is not running in the background as expected. i am sure the mistake is elementary, and i will feel like a moron when i find it, but i have been messing with this for over a week now, looking at the scripts in the library, etc., and i am thoroughly confused. any help appreciated. thanks in advance donald st agnes school From fdc@columbia.edu Wed Sep 4 17:26:38 EDT 2002 Article: 13668 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: i am sooooo confused Date: 4 Sep 2002 17:26:15 -0400 Organization: Columbia University Lines: 62 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1031174776 13759 128.59.39.139 (4 Sep 2002 21:26:16 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 4 Sep 2002 21:26:16 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13668 In article , Donald MacQueen wrote: : we have a phone system at my kids school that spits out : call records. i want to use kermit to capture them for analysis. : : this works interactively: : log session : set input echo off : set modem type none : set line /dev/ttyS0 : set carrier-watch off : set speed 9600 : connect : : i can then see the records on the screen and they do get logged to a file. : : what i -really- want to do is to make this a weekly cron job that rotates : or renames the log file, mails it off, etc. : : to the above: : i removed the connect : i added the line 'set background on' : i added '#!/usr/local/bin/kermit' as the first line : : but it is not running in the background as expected. i am sure the mistake : is elementary, and i will feel like a moron when i find it, but i have been : messing with this for over a week now, looking at the scripts in the : library, etc., and i am thoroughly confused. : OK, I realize the scripting tutorial says "take the CONNECT command out of your script" but the script still needs *something* to make it read data from the connection. So like the tutorial says, replace the CONNECT with INPUT. The question is, what timeout and search string should you use? You might want to use: INPUT -1 STRING-THAT-WILL-NEVER-COME -1 means wait forever for the string. Then if you specify a string that won't ever come, it waits forever (logging all the while). Or you might want to log for a certain amount of time, or until a certain time ("help input" for more info). Or you might want to terminate when a certain string comes in. Another possibility is to log for (say) one hour, close the log, start a new log. It's easy: set input echo off set modem type none set line /dev/ttyS0 set carrier-watch off set speed 9600 while 1 { if open session-log close session-log log session \v(ndate)_\v(time).log if fail exit 1 Error opening log input 3600 STRING-THAT-WILL-NEVER-COME } - Frank From arthur.marsh@adelaide.edu.au Thu Sep 5 09:54:55 EDT 2002 Article: 13670 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!news1.optus.net.au!optus!news.optus.net.au!53ab2750!not-for-mail From: Arthur Marsh Organization: The University of Adelaide User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Re: scripting capturing of Cisco ARP tables References: <3d6e39ea@yorrell.saard.net> <3d721a69@yorrell.saard.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Original-NNTP-Posting-Host: dialup46.staffdialup.services.adelaide.edu.au Message-ID: <3d775f94@yorrell.saard.net> X-Original-Trace: 5 Sep 2002 23:13:48 +0950, dialup46.staffdialup.services.adelaide.edu.au Lines: 51 Date: Thu, 05 Sep 2002 13:43:50 GMT NNTP-Posting-Host: 203.21.37.20 X-Trace: news.optus.net.au 1031233430 203.21.37.20 (Thu, 05 Sep 2002 23:43:50 EST) NNTP-Posting-Date: Thu, 05 Sep 2002 23:43:50 EST Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13670 I'll try using SNMP for getting the ARP tables. I'll have to move the code to the one machine at our site that is allowed to query switches and routers via SNMP. I'm still looking for something that will obtain the equivalent of: show mac-addr dynamic on C3550 switches (not the same as the C2900XL/C3500XL switches) and show cam dynamic on C6509 switches Having had a fair bit of grief getting the right data out of C3550's, using a Kermit script is looking attractive. Regards, Arthur. Michael Di Domenico wrote: > "those who know me have no need of my name" > wrote in message news:m1ptvtzi8a.gnus@usa.net... > >>in comp.protocols.kermit.misc i read: >> >> >>>What's so hard about snmp? Using the UCD-SNMP package, you can simply >> > type > >>>the command below and get a list of all the ARP entries in the arp table. >>>Kermit is great, but getting info from routers through snmp is so much >>>easier and much less network load. >> >>depends on what you are going to do with the data ... ever tried to turn >>those snmp responses back into the line-by-line listing that ``show arp'' >>provides? > > > true. your right it does depend on what the data is going to be used for. > but setting up the line by line display like 'show arp' is not hard using a > shell or perl script. my opinion and personal preferece would be to always > do the extra effort on the server side to get the information through snmp > and format the data for its intended purpose. > > From gquiring@msn.com Thu Sep 5 11:03:51 EDT 2002 Article: 13671 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!news.stealth.net!news.stealth.net!nntp-relay.ihug.net!ihug.co.nz!border1.nntp.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!bin3.nnrp.aus1.giganews.com.POSTED!not-for-mail From: Gary Quiring Newsgroups: comp.protocols.kermit.misc Subject: Unsupported line speed Message-ID: <91qenukvmmdp311ba89frauuontckrqcm7@4ax.com> X-Newsreader: Forte Agent 1.91/32.564 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Date: Thu, 05 Sep 2002 09:57:36 CDT Organization: Giganews.Com - Premium News Outsourcing Lines: 14 X-Trace: sv3-filTavXfs5SpfUNh5vbW0uk4R4NZnQLyqaZpTLqd5ufmHHrJG+41s2+nrD5loL+K6shXSyZDw9H18qv!2tPTP5d5XhV+s+RVdEA9kX9FFE60f60vlgCmIJV5rC+aYfdMEQNCX/0eU1xpGjPMtuDyVE8oY/I6!7FFHxO0= X-Complaints-To: abuse@GigaNews.Com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.1 Date: Thu, 05 Sep 2002 14:57:36 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13671 I am working with a third party trying to get Kermit 8 running on an AIX 3.2.5 box. I have no AIX experience and have no access to the box. The device name for the serial port is /dev/tty1. The permissions are crw-rw-rw. When the third party types set speed 9600 (Or any other baud rate) it outputs unsupported line speed. We do a set line /dev/tty1 and set modem type multitech prior to issuing the speed command. He is also logged in as root. Does Kermit look at the Devices file in /usr/lib/uucp for the AIX version? Thanks Gary Quiring From fdc@columbia.edu Thu Sep 5 11:03:54 EDT 2002 Article: 13672 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Unsupported line speed Date: 5 Sep 2002 11:03:47 -0400 Organization: Columbia University Lines: 23 Message-ID: References: <91qenukvmmdp311ba89frauuontckrqcm7@4ax.com> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1031238228 29016 128.59.39.139 (5 Sep 2002 15:03:48 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 5 Sep 2002 15:03:48 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13672 In article <91qenukvmmdp311ba89frauuontckrqcm7@4ax.com>, Gary Quiring wrote: : I am working with a third party trying to get Kermit 8 running on an AIX : 3.2.5 box. I have no AIX experience and have no access to the box. : Was C-Kermit built on the box? Or did you download a prebuilt binary? If so, which one? : The device name for the serial port is /dev/tty1. The permissions are : crw-rw-rw. When the third party types set speed 9600 (Or any other baud : rate) it outputs unsupported line speed. We do a set line /dev/tty1 and set : modem type multitech prior to issuing the speed command. He is also logged : in as root. : : Does Kermit look at the Devices file in /usr/lib/uucp for the AIX version? : No. Usually "unsupported line speed" (when it doesn't mean what it says) indicates an inappropriate binary. Sometimes also an un- or mis-configured serial port. - Frank From dmacq@erols.com Thu Sep 5 13:00:54 EDT 2002 Article: 13673 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!nycmny1-snh1.gtei.net!cpk-news-hub1.bbnplanet.com!news.gtei.net!feed2.news.rcn.net!feed1.news.rcn.net!rcn!not-for-mail From: "Donald MacQueen" Newsgroups: comp.protocols.kermit.misc Subject: Re: i am sooooo confused Date: Thu, 5 Sep 2002 12:55:54 -0400 Lines: 74 Message-ID: References: X-Trace: UmFuZG9tSVZHc7gilLGgrRXSpohddZtS0PglcF3Us8SS3je2caOTE0U0+GLXAmlV X-Complaints-To: abuse@rcn.com NNTP-Posting-Date: 5 Sep 2002 16:55:39 GMT X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Priority: 3 X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MSMail-Priority: Normal Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13673 thanks, frank. i'm off to buy the book. "Frank da Cruz" wrote in message news:al5tpn$409$1@watsol.cc.columbia.edu... > In article , > Donald MacQueen wrote: > : we have a phone system at my kids school that spits out > : call records. i want to use kermit to capture them for analysis. > : > : this works interactively: > : log session > : set input echo off > : set modem type none > : set line /dev/ttyS0 > : set carrier-watch off > : set speed 9600 > : connect > : > : i can then see the records on the screen and they do get logged to a file. > : > : what i -really- want to do is to make this a weekly cron job that rotates > : or renames the log file, mails it off, etc. > : > : to the above: > : i removed the connect > : i added the line 'set background on' > : i added '#!/usr/local/bin/kermit' as the first line > : > : but it is not running in the background as expected. i am sure the mistake > : is elementary, and i will feel like a moron when i find it, but i have been > : messing with this for over a week now, looking at the scripts in the > : library, etc., and i am thoroughly confused. > : > OK, I realize the scripting tutorial says "take the CONNECT command out of > your script" but the script still needs *something* to make it read data from > the connection. So like the tutorial says, replace the CONNECT with INPUT. > The question is, what timeout and search string should you use? > > You might want to use: > > INPUT -1 STRING-THAT-WILL-NEVER-COME > > -1 means wait forever for the string. Then if you specify a string that > won't ever come, it waits forever (logging all the while). > > Or you might want to log for a certain amount of time, or until a certain > time ("help input" for more info). Or you might want to terminate when a > certain string comes in. > > Another possibility is to log for (say) one hour, close the log, start > a new log. It's easy: > > set input echo off > set modem type none > set line /dev/ttyS0 > set carrier-watch off > set speed 9600 > > while 1 { > if open session-log close session-log > log session \v(ndate)_\v(time).log > if fail exit 1 Error opening log > input 3600 STRING-THAT-WILL-NEVER-COME > } > > - Frank From gquiring@msn.com Thu Sep 5 17:05:49 EDT 2002 Article: 13674 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!ps01-sjc1!news.webusenet.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!bin2.nnrp.aus1.giganews.com.POSTED!not-for-mail From: Gary Quiring Newsgroups: comp.protocols.kermit.misc Subject: Re: Unsupported line speed Message-ID: References: <91qenukvmmdp311ba89frauuontckrqcm7@4ax.com> X-Newsreader: Forte Agent 1.91/32.564 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Date: Thu, 05 Sep 2002 12:43:41 CDT Organization: Giganews.Com - Premium News Outsourcing Lines: 14 X-Trace: sv3-Lb1+mxh/+H4JfTCoYN8+3o2beSH4CgEPOfeb4YAViAvaTXuLGd28mcnRFtbtKTbVzvqOzHNLGkQN1Ck!yWtYmQi+gCca85KXC8/S/Oxo8ozHt364ZN/SQcOZT/ToSYk0kUo7KHVRVQvexp105uFpFIYhQJJM!5a3p1pY= X-Complaints-To: abuse@GigaNews.Com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.1 Date: Thu, 05 Sep 2002 17:43:41 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13674 On 5 Sep 2002 11:03:47 -0400, fdc@columbia.edu (Frank da Cruz) wrote: Hi Frank, >Was C-Kermit built on the box? Or did you download a prebuilt binary? >If so, which one? > I know he downloaded the prebuilt binary for version 8 last week for AIX 3.2.5. I am trying to determine if the /dev/tty1 is valid. Not being a AIX wiz and not having access to the box makes it difficult to determine if the device is at fault or Kermit. Thanks Gary Quiring From anthony_bacon_uk@yahoo.co.uk Fri Sep 6 09:13:52 EDT 2002 Article: 13676 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: anthony_bacon_uk@yahoo.co.uk (Anthony Bacon) Newsgroups: comp.protocols.kermit.misc Subject: Restricted Dialer & Citrix Date: 6 Sep 2002 03:40:55 -0700 Organization: http://groups.google.com/ Lines: 16 Message-ID: NNTP-Posting-Host: 195.92.130.62 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1031308855 3363 127.0.0.1 (6 Sep 2002 10:40:55 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 6 Sep 2002 10:40:55 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13676 I am look at whether Kermit 95 version 2 can be used with Citrix Metaframe. Has anyone run Kermit 95 v2 under Metaframe, and if so what are your experiences? (Easy to install, performance impacts etc..) The normal policy at work for any application under Metaframe is that any configuration options with the application will be unavailable. Therefore I am looking as to whether I can create the dialer dat files, the run the dialer in a restricted way, so that the user can only select the host to telnet too. Alternatively I am looking for a script that will either show a list of sites (held in a text file) for a user to select from. Any help or information is greatly appreciated. From jaltman@watsun.cc.columbia.edu Fri Sep 6 09:13:58 EDT 2002 Article: 13677 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!jaltman From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman) Newsgroups: comp.protocols.kermit.misc Subject: Re: Restricted Dialer & Citrix Date: 6 Sep 2002 12:09:11 GMT Organization: Columbia University Lines: 35 Message-ID: References: NNTP-Posting-Host: watsun.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1031314151 10865 128.59.39.2 (6 Sep 2002 12:09:11 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 6 Sep 2002 12:09:11 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13677 In article , Anthony Bacon wrote: : I am look at whether Kermit 95 version 2 can be used with Citrix : Metaframe. Kermit 95 version 2 can be used with MS Terminal Server. There is no reason why it cannot be used with Metaframe. : Has anyone run Kermit 95 v2 under Metaframe, and if so what are your : experiences? (Easy to install, performance impacts etc..) : : The normal policy at work for any application under Metaframe is that : any configuration options with the application will be unavailable. : Therefore I am looking as to whether I can create the dialer dat : files, the run the dialer in a restricted way, so that the user can : only select the host to telnet too. There is no method to disable per user configurations in Kermit 95 >from within the dialer. You can create a set of standard read-only connecton definitions for your organization that cannot be altered by the users; but you cannot prevent the users from creating connection definitions of their own. : Alternatively I am looking for a script that will either show a list : of sites (held in a text file) for a user to select from. This can be done easily in the Kermit script language using ECHO and ASK. : Any help or information is greatly appreciated. Jeffrey Altman * Sr.Software Designer Kermit 95 2.0 GUI available now!!! The Kermit Project @ Columbia University SSH, Secure Telnet, Secure FTP, HTTP http://www.kermit-project.org/ Secured with MIT Kerberos, SRP, and kermit-support@columbia.edu OpenSSL. From mdd08512@yahooDOT.com Fri Sep 6 13:37:11 EDT 2002 Article: 13678 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!uunet!sea.uu.net!ash.uu.net!pnj-news-spl!not-for-mail From: "Michael Di Domenico" Newsgroups: comp.protocols.kermit.misc Subject: Re: scripting capturing of Cisco ARP tables Date: Fri, 6 Sep 2002 13:30:06 -0400 Organization: Princeton eCom Lines: 26 Message-ID: References: <3d6e39ea@yorrell.saard.net> <3d721a69@yorrell.saard.net> <3d775f94@yorrell.saard.net> NNTP-Posting-Host: pnj-wks-12-105.princetonecom.com X-Trace: pnj-news-spl.princetonecom.com 1031333413 3139 192.168.12.105 (6 Sep 2002 17:30:13 GMT) X-Complaints-To: news@princetonecom.com NNTP-Posting-Date: Fri, 6 Sep 2002 17:30:13 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13678 "Arthur Marsh" wrote in message news:3d775f94@yorrell.saard.net... > I'll try using SNMP for getting the ARP tables. I'll have to move the > code to the one machine at our site that is allowed to query switches > and routers via SNMP. > > I'm still looking for something that will obtain the equivalent of: > > show mac-addr dynamic > > on C3550 switches (not the same as the C2900XL/C3500XL switches) > > and > > show cam dynamic > > on C6509 switches > > Having had a fair bit of grief getting the right data out of C3550's, > using a Kermit script is looking attractive. i'm going to be getting some 3550's in the next few days, i might be able to help when i get them. From tspivey8@telus.net Sat Sep 7 11:06:48 EDT 2002 Article: 13679 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: tspivey8@telus.net (Tyler Spivey) Newsgroups: comp.protocols.kermit.misc Subject: can ms-kermit help with this illusive problem? Date: 6 Sep 2002 21:50:27 -0700 Organization: http://groups.google.com/ Lines: 28 Message-ID: NNTP-Posting-Host: 64.180.232.130 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1031374227 2737 127.0.0.1 (7 Sep 2002 04:50:27 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 7 Sep 2002 04:50:27 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13679 here goes: i am visually impared, and have a dectalk pc speech synthasizer. it emulated both a serial and a paralel port. i can access it using echo to com2 (i set it up to use com2 instead of com4 for compat.) i can also access it with bios2 under ms-kermit. if i access it with echo, or with any other thing (quickbasic, etc) the responces don't come in. i don't know why, but it's just that way, but it works with kermit's bios2, meaning, i receive the responces on the screen that come through the dectalk. i know this since i used a log file and captured them. my asic question is: i have a linux box on com1, and i would like to use emacspeak with its full capabilities, emulating (as far as possible) a normal dectalk express on my 386 (dectalk box). is there a way i can have: input from com1 go to com2, output from com2 go to com1 and so on? e.g.: if i sent "a" to com1's input, that a would end up at com2. whatever com2 said back (phonemes, etc) would be sent out com1. and the process would repeat, character-by-character, over and over again. can ms-kermit help with this? can it be done? From fdc@columbia.edu Sat Sep 7 11:07:14 EDT 2002 Article: 13680 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: can ms-kermit help with this illusive problem? Date: 7 Sep 2002 11:06:45 -0400 Organization: Columbia University Lines: 53 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1031411206 18964 128.59.39.139 (7 Sep 2002 15:06:46 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 7 Sep 2002 15:06:46 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13680 In article , Tyler Spivey wrote: : here goes: : i am visually impared, and have a dectalk pc speech synthasizer. : it emulated both a serial and a paralel port. : i can access it using echo to com2 (i set it up to use com2 instead of : com4 for compat.) : i can also access it with bios2 under ms-kermit. : : if i access it with echo, or with any other thing : (quickbasic, etc) the responces don't come in. : i don't know why, but it's just that way, but it works with kermit's : bios2, : meaning, i receive the responces on the screen that come through the : dectalk. : I haven't seen DECtalk in many years, but as I recall it was a box that reads English (ASCII) text and produces audible speech from it. The ASCII text comes into DECtalk's serial port. The DECtalk box is external, connected with a regular serial-port cable. I don't know if it is a straight-through cable or a null-modem cable. You send the ASCII text out the PC's serial port, through the cable, to the DECtalk box, and it speaks to you. In the 1980s, it was used (for example) to dial up to your VAX account >from a voice phone, log in with touch-tones, and have your email read to you. : i know this since i used a log file and captured them. : my asic question is: : i have a linux box on com1, : So you have a DOS computer with MS-DOS Kermit, and a second computer with Linux, and you are using the DOS computer as a terminal to access the Linux computer? : and i would like to use emacspeak with its full capabilities, : emulating (as far as possible) : a normal dectalk express on my 386 (dectalk box). : : is there a way i can have: : input from com1 go to com2, : output from com2 go to com1 : and so on? : This is not something Kermit can do. If we are talking about a DOS computer that uses MS-DOS Kermit as a terminal, it is something that would require a TSR to monitor the screen buffer and copy newly arrived characters to the speech device, whether it is connected to a COM port, a printer port, or built in to the computer. This is the normal way that visually impaired people use DOS. - Frank From anthony_bacon_uk@yahoo.co.uk Mon Sep 9 09:43:07 EDT 2002 Article: 13681 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: anthony_bacon_uk@yahoo.co.uk (Anthony Bacon) Newsgroups: comp.protocols.kermit.misc Subject: Re: Restricted Dialer & Citrix Date: 9 Sep 2002 01:08:19 -0700 Organization: http://groups.google.com/ Lines: 1 Message-ID: References: NNTP-Posting-Host: 195.92.130.62 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1031558899 6195 127.0.0.1 (9 Sep 2002 08:08:19 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 9 Sep 2002 08:08:19 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13681 Thank you From system@SendSpamHere.ORG Mon Sep 9 09:43:12 EDT 2002 Article: 13682 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!newsfeed.news2me.com!ps01-sjc1!news.webusenet.com!pc01.webusenet.com!news4.srv.hcvlny.cv.net.POSTED!53ab2750!not-for-mail Newsgroups: comp.protocols.kermit.misc Subject: Can Kermit be used for dialing *IN* to a PC (NT/2000)? From: system@SendSpamHere.ORG Reply-To: system@SendSpamHere.ORG Message-ID: <00A13B6C.8E682BF9@SendSpamHere.ORG> Organization: TMESIS Software Lines: 15 Date: Mon, 09 Sep 2002 13:34:28 GMT NNTP-Posting-Host: 67.81.162.92 X-Trace: news4.srv.hcvlny.cv.net 1031578456 67.81.162.92 (Mon, 09 Sep 2002 09:34:16 EDT) NNTP-Posting-Date: Mon, 09 Sep 2002 09:34:16 EDT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13682 Hello, I have a client that wants to be able to dial into a PC and transfer files. They've been doing so successfully on an Alpha running VMS but would like a "backup" capability at another site that has only a PC. Before I go off into PC insanity trying to implement this, has anybody done this or anything similar with Kermit? -- VAXman- OpenVMS APE certification number: AAA-0001 VAXman(at)TMESIS(dot)COM "Well my son, life is like a beanstalk, isn't it?" From fdc@columbia.edu Mon Sep 9 09:52:12 EDT 2002 Article: 13683 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Can Kermit be used for dialing *IN* to a PC (NT/2000)? Date: 9 Sep 2002 09:44:43 -0400 Organization: Columbia University Lines: 15 Message-ID: References: <00A13B6C.8E682BF9@SendSpamHere.ORG> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1031579084 3198 128.59.39.139 (9 Sep 2002 13:44:44 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 9 Sep 2002 13:44:44 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13683 In article <00A13B6C.8E682BF9@SendSpamHere.ORG>, wrote: : I have a client that wants to be able to dial into a PC and transfer files. : They've been doing so successfully on an Alpha running VMS but would like a : "backup" capability at another site that has only a PC. : : Before I go off into PC insanity trying to implement this, has anybody done : this or anything similar with Kermit? : Sure; there's a Kermit program for (almost) every platform. The one for PCs with Windows is: http://www.columbia.edu/kermit/k95.html - Frank From fdc@columbia.edu Mon Sep 9 09:52:14 EDT 2002 Article: 13684 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Can Kermit be used for dialing *IN* to a PC (NT/2000)? Date: 9 Sep 2002 09:52:06 -0400 Organization: Columbia University Lines: 36 Message-ID: References: <00A13B6C.8E682BF9@SendSpamHere.ORG> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1031579527 3552 128.59.39.139 (9 Sep 2002 13:52:07 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 9 Sep 2002 13:52:07 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13684 In article <00A13B6C.8E682BF9@SendSpamHere.ORG>, wrote: : Hello, : : I have a client that wants to be able to dial into a PC and transfer files. : They've been doing so successfully on an Alpha running VMS but would like a : "backup" capability at another site that has only a PC. : : Before I go off into PC insanity trying to implement this, has anybody done : this or anything similar with Kermit? : Clarification: Of course you can't dial and log in to Windows and get a text-based shell like you can do with VMS, Unix, and other conventional operating systems. But you can still set up Kermit on Windows to accept incoming calls and provide a file-transfer and management service. There are various ways to do this, of which the most user-friendly is described here: http://www.columbia.edu/kermit/k95host.html You can also write a simple Kermit script that awaits and handles incoming calls, something like: set port tapi set speed 57600 set flow rts/cts while true { cd some-directory answer 0 if success server close connection } Obviously many variations and refinements are possible. - Frank From fdelalande@objetdirect.com Mon Sep 9 10:17:00 EDT 2002 Article: 13685 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!oleane.net!oleane!nnrp.oleane.net!not-for-mail From: "fd" Newsgroups: comp.protocols.kermit.misc Subject: looking for c/c++ library Date: Mon, 9 Sep 2002 15:55:24 +0200 Organization: Guest of France Telecom Oleane's newsreading service Lines: 7 Message-ID: NNTP-Posting-Host: 195.101.43.83 X-Trace: s1.read.news.oleane.net 1031579579 17770 195.101.43.83 (9 Sep 2002 13:52:59 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Mon, 9 Sep 2002 13:52:59 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13685 Hello I'm looking for a C or C++ communication library (commercial or not) implementing kermit protocol. Thanks for your help. From fdc@columbia.edu Mon Sep 9 10:17:05 EDT 2002 Article: 13686 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: looking for c/c++ library Date: 9 Sep 2002 10:16:46 -0400 Organization: Columbia University Lines: 8 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1031581008 4655 128.59.39.139 (9 Sep 2002 14:16:48 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 9 Sep 2002 14:16:48 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13686 In article , fd wrote: : I'm looking for a C or C++ communication library (commercial or not) : implementing kermit protocol. : http://www.columbia.edu/kermit/true-embedding.html - Frank From not-a-real-address@usa.net Tue Sep 10 09:33:56 EDT 2002 Article: 13687 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!newsfeed.stueberl.de!cox.net!sn-xit-02!sn-xit-06!sn-post-02!sn-post-01!supernews.com!news.supernews.com!not-for-mail From: those who know me have no need of my name Newsgroups: comp.unix.questions,comp.unix.shell,comp.protocols.kermit.misc Subject: Re: serial port Followup-To: comp.protocols.kermit.misc Date: 10 Sep 2002 08:34:47 GMT Organization: earthfriends Message-ID: References: <3D798EA8.3F024E3F@a.com> User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Informed Management (RC1), i686-redhat-linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@supernews.com Lines: 13 Xref: newsmaster.cc.columbia.edu comp.unix.questions:175464 comp.unix.shell:140765 comp.protocols.kermit.misc:13687 [fu-t set] in comp.unix.questions i read: >I've got a GPS receiver connected to the serial port and want to send a >command to it to start logging data. >Is there a way to send commands to the serial port and write data from >the serial port into a file? do I need to write a prog to do this? you can use kermit. -- bringing you boring signatures for 17 years From dold@05.usenet.us.com Tue Sep 10 18:19:32 EDT 2002 Article: 13688 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!newsfeed.stueberl.de!cox.net!gail.ripco.com!wasp.rahul.net!samba.rahul.net!rahul.net!a2i!dold.a2i!dold From: dold@05.usenet.us.com Newsgroups: comp.protocols.kermit.misc Subject: Re: serial port Date: 10 Sep 2002 21:48:22 GMT Organization: Wintercreek Data Lines: 20 Message-ID: References: <3D798EA8.3F024E3F@a.com> NNTP-Posting-Host: yellow.rahul.net NNTP-Posting-User: dold User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (FreeBSD/3.5-STABLE (i386)) X-Comment: Encoded From: line allows replies that preserve original subject Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13688 In comp.protocols.kermit.misc those who know me have no need of my name wrote: : [fu-t set] : in comp.unix.questions i read: :>I've got a GPS receiver connected to the serial port and want to send a :>command to it to start logging data. :>Is there a way to send commands to the serial port and write data from :>the serial port into a file? do I need to write a prog to do this? : you can use kermit. Not only can you use kermit to capture it, but you can use kermit to play it back later, into some program like Microsoft Streets and Trips, to review your travels. -- --- Clarence A Dold - dold@email.rahul.net - Hidden Valley (Lake County) CA. From fdc@columbia.edu Thu Sep 12 10:16:34 EDT 2002 Article: 13689 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.os.linux.misc,comp.protocols.kermit.misc Subject: Re: Serial port scripting Date: 12 Sep 2002 09:51:50 -0400 Organization: Columbia University Lines: 57 Message-ID: References: <3D7F5E0E.D5370A8C@arcoide.com> <6bb688813ba3e707c91e156a8a0b9004@remailer.privacy.at> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1031838711 1400 128.59.39.139 (12 Sep 2002 13:51:51 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 12 Sep 2002 13:51:51 GMT Xref: newsmaster.cc.columbia.edu comp.os.linux.misc:562263 comp.protocols.kermit.misc:13689 In article <6bb688813ba3e707c91e156a8a0b9004@remailer.privacy.at>, Anonymous wrote: : Gary : : > I don't know that it'll help you but I have a device that : > has it's own serial port (a Max232) setup to send a byte of : > data every X seconds at 96,n,8,1, or alternately respond to : > put out the data after the Max232 receives a 55h. : > : > I need to setup the comm protocols to the above on the PC : > serial port, send 55h, and then read the byte sent back. : > : > The data should never change after the first "valid" read. : > : > In the PC/DOS world I could write it in assembler, but need : > Linux and a script. : : This sounds like a job for 'kermit'. Go to the Kermit Web site: : : http://www.columbia.edu/kermit/ : : and download the sources, or find a binary package for your : distribution. A 10-line kermit script should be sufficient. : Kermit for Linux is here: http://www.columbia.edu/kermit/ckermit.html Binaries are here: http://www.columbia.edu/kermit/ck80binaries.html Here is a script to read one byte from a serial port: set port /dev/ttyS0 ; or whatever if fail stop 1 "Can't open port" set speed 9600 ; or whatever set carrier-watch off ; if device does not assert CD set flow none ; if device does not assert CTS input -1 ; wait forever for one byte if fail stop 1 "INPUT Failed" echo INPUT GOT: \fhexify(\v(inchar)) To send hex 55, use: output \x55 To place a time limit on the INPUT command, replace "-1" with a positive number (of seconds to wait). Embellish as desired for looping, error checking, report writing, statistics gathering, calculation, etc. See: http://www.columbia.edu/kermit/ckscripts.html for examples. - Frank From fdc@columbia.edu Thu Sep 12 10:16:38 EDT 2002 Article: 13690 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.unix.aix,comp.protocols.kermit.misc Subject: Re: renaming files Date: 12 Sep 2002 10:14:36 -0400 Organization: Columbia University Lines: 50 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1031840077 2384 128.59.39.139 (12 Sep 2002 14:14:37 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 12 Sep 2002 14:14:37 GMT Xref: newsmaster.cc.columbia.edu comp.unix.aix:240229 comp.protocols.kermit.misc:13690 In article , Me wrote: : I wonder if anyone can help with a small script file that I need to write. : I need to automatically FTP some files that have the following naming : convention :- : : Day of month : | Hour and minute stamp : | | : \/ \/ : log.11-10-30 : log.11-3-45 : log.11-5-30 : log.9-10-30 : log.9-5-45 : log.10-10-0 : ... : : I'm fine with automating the FTP but the problem is, FTP doesn't like the : '-' in the naming convention and replaces it with a '#' when it writes it to : the other system. : When you say you need to "ftp" them, do you mean PUT or GET? The mechanics are different in the two cases, and also depend on the target system. For example, if you are sending these files to an 8.3 filesystem such as FAT on DOS, Windows, or OS/2, obviously the timestamp will be truncated. I can't imagine why a hyphen might cause trouble but... : What I need to do is run a script that would rename the files, replacing : the '-' with an 'x' or something. : The Kermit FTP client can do this: http://www.columbia.edu/kermit/ftpscripts.html Unlike other FTP clients, it is designed from the beginning to be scripted: http://www.columbia.edu/kermit/ftpscripts.html If you can explain the scenario in a bit more detail I can give more specific help. Assuming that all you need to do is what you say (i.e. convert the hyphen to some other character like 'x'), it's done like this: mput /as-name:\freplace(\v(filename),-,x) log.* The /as-name:xxx switch specifies a template for converting the filenames. The \freplace() function replaces substrings of the given string with another string of your choice; in this case it's replacing all hyphens in each filename with 'x'. - Frank From hwting@yahoo.com Fri Sep 13 12:49:27 EDT 2002 Article: 13691 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!nycmny1-snh1.gtei.net!news.gtei.net!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: hwting@yahoo.com (Ben) Newsgroups: comp.protocols.kermit.misc Subject: Need help: C-Kermit to send message page by using TAP protocol. Date: 13 Sep 2002 09:38:19 -0700 Organization: http://groups.google.com/ Lines: 33 Message-ID: <8f01e2d0.0209130838.38896a2d@posting.google.com> NNTP-Posting-Host: 202.166.126.225 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1031935099 24507 127.0.0.1 (13 Sep 2002 16:38:19 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 13 Sep 2002 16:38:19 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13691 I am using the C-Kermit 6.0.192 that come with the HPUX 11.00. I managed to use the alphapage6 script that I download from ftp://kermit.columbia.edu/kermit/scripts/ckermit/alphapage6 to send a message page. Addition setting has been added in the alphapage6 script, so that Kermit will return back to UNIX prompt after the completion of execution. set exit warning off >From my Unix script, I call the Kermit by the following command. kermit -Y -C "take alphapage, apage Pager# { Test Page }, exit" Question 1: My HP server has five dial-out ports that connected to the 3 USRmodems and 2 generic modems. All the modems have tested and worked fine with C-Kermit. How do I configure the C-Kermit so that the script will check the availability of the modem? For instance, Modem port1 (cul2a1) is in use or no carrier and Kermit program will search for the next available modem to perform the page. What should I need to include in the alphapage script? Question 2: Where can I find the log file for the modem status or modem dialing process, such a no dial tone, no carrier or modem in use? Question 3: Where can I found the documentation of C-Kermit 6.0.192 or guide to write the Kermit script? Thanks. From fdc@columbia.edu Fri Sep 13 12:49:31 EDT 2002 Article: 13692 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Need help: C-Kermit to send message page by using TAP protocol. Date: 13 Sep 2002 12:49:21 -0400 Organization: Columbia University Lines: 60 Message-ID: References: <8f01e2d0.0209130838.38896a2d@posting.google.com> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1031935763 29394 128.59.39.139 (13 Sep 2002 16:49:23 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 13 Sep 2002 16:49:23 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13692 In article <8f01e2d0.0209130838.38896a2d@posting.google.com>, Ben wrote: : I am using the C-Kermit 6.0.192 that come with the HPUX 11.00. : C-Kermit is up to version 8.0 now: http://www.columbia.edu/kermit/ckermit.html : I managed to use the alphapage6 script that I download from : ftp://kermit.columbia.edu/kermit/scripts/ckermit/alphapage6 to send a : message page. : The newer version of alphapage can be used with the current release of Kermit. : Addition setting has been added in the alphapage6 script, so that : Kermit will return back to UNIX prompt after the completion of : execution. : : set exit warning off : : From my Unix script, I call the Kermit by the following command. : : kermit -Y -C "take alphapage, apage Pager# { Test Page }, exit" : : Question 1: : My HP server has five dial-out ports that connected to the 3 USRmodems : and 2 generic modems. All the modems have tested and worked fine with : C-Kermit. How do I configure the C-Kermit so that the script will : check the availability of the modem? For instance, Modem port1 : (cul2a1) is in use or no carrier and Kermit program will search for : the next available modem to perform the page. What should I need to : include in the alphapage script? : See "getline" in the Modem Scripts section of: http://www.columbia.edu/kermit/ckscripts.html : Question 2: : Where can I find the log file for the modem status or modem dialing : process, such a no dial tone, no carrier or modem in use? : Add "set dial display on" to your script. The messages are displayed on your screen. Kermit doesn't have a special log for modem interactions. After dialing, Kermit's \v(dialresult) variable contains the modem's response to the dialing command. : Question 3: : Where can I found the documentation of C-Kermit 6.0.192 or guide to : write the Kermit script? : http://www.columbia.edu/kermit/ck60manual.html The features added in versions 7.0 and 8.0 are documented here: http://www.columbia.edu/kermit/ckermit70.html http://www.columbia.edu/kermit/ckermit80.html - Frank From hwting@yahoo.com Sat Sep 14 11:22:47 EDT 2002 Article: 13693 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: hwting@yahoo.com (Ben) Newsgroups: comp.protocols.kermit.misc Subject: Re: Need help: C-Kermit to send message page by using TAP protocol. Date: 13 Sep 2002 19:30:38 -0700 Organization: http://groups.google.com/ Lines: 66 Message-ID: <8f01e2d0.0209131830.3e874155@posting.google.com> References: <8f01e2d0.0209130838.38896a2d@posting.google.com> NNTP-Posting-Host: 202.166.126.232 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1031970638 28667 127.0.0.1 (14 Sep 2002 02:30:38 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 14 Sep 2002 02:30:38 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13693 Should I need to uninstall the C-kermit6 before install the C-Kermit8. How should I do that in the HP platform (HP-UX 11.0)? Thanks. fdc@columbia.edu (Frank da Cruz) wrote in message news:... > In article <8f01e2d0.0209130838.38896a2d@posting.google.com>, > Ben wrote: > : I am using the C-Kermit 6.0.192 that come with the HPUX 11.00. > : > C-Kermit is up to version 8.0 now: > > http://www.columbia.edu/kermit/ckermit.html > > : I managed to use the alphapage6 script that I download from > : ftp://kermit.columbia.edu/kermit/scripts/ckermit/alphapage6 to send a > : message page. > : > The newer version of alphapage can be used with the current release > of Kermit. > > : Addition setting has been added in the alphapage6 script, so that > : Kermit will return back to UNIX prompt after the completion of > : execution. > : > : set exit warning off > : > : From my Unix script, I call the Kermit by the following command. > : > : kermit -Y -C "take alphapage, apage Pager# { Test Page }, exit" > : > : Question 1: > : My HP server has five dial-out ports that connected to the 3 USRmodems > : and 2 generic modems. All the modems have tested and worked fine with > : C-Kermit. How do I configure the C-Kermit so that the script will > : check the availability of the modem? For instance, Modem port1 > : (cul2a1) is in use or no carrier and Kermit program will search for > : the next available modem to perform the page. What should I need to > : include in the alphapage script? > : > See "getline" in the Modem Scripts section of: > > http://www.columbia.edu/kermit/ckscripts.html > > : Question 2: > : Where can I find the log file for the modem status or modem dialing > : process, such a no dial tone, no carrier or modem in use? > : > Add "set dial display on" to your script. The messages are displayed > on your screen. Kermit doesn't have a special log for modem interactions. > > After dialing, Kermit's \v(dialresult) variable contains the modem's > response to the dialing command. > > : Question 3: > : Where can I found the documentation of C-Kermit 6.0.192 or guide to > : write the Kermit script? > : > http://www.columbia.edu/kermit/ck60manual.html > > The features added in versions 7.0 and 8.0 are documented here: > > http://www.columbia.edu/kermit/ckermit70.html > http://www.columbia.edu/kermit/ckermit80.html > > - Frank From fdc@columbia.edu Sat Sep 14 11:22:49 EDT 2002 Article: 13695 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Need help: C-Kermit to send message page by using TAP protocol. Date: 14 Sep 2002 11:22:35 -0400 Organization: Columbia University Lines: 10 Message-ID: References: <8f01e2d0.0209130838.38896a2d@posting.google.com> <8f01e2d0.0209131830.3e874155@posting.google.com> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1032016956 25501 128.59.39.139 (14 Sep 2002 15:22:36 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 14 Sep 2002 15:22:36 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13695 In article <8f01e2d0.0209131830.3e874155@posting.google.com>, Ben wrote: : Should I need to uninstall the C-kermit6 before install the C-Kermit8. : How should I do that in the HP platform (HP-UX 11.0)? : See the C-Kermit Installation Instructions: http://www.columbia.edu/kermit/ckuins.txt - Frank From mswarbrick@rentokil.com Mon Sep 16 09:54:17 EDT 2002 Article: 13696 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: mswarbrick@rentokil.com (Mark Swarbrick) Newsgroups: comp.protocols.kermit.misc Subject: scripting to a serial sms modem - idiot question! Date: 16 Sep 2002 06:37:17 -0700 Organization: http://groups.google.com/ Lines: 31 Message-ID: NNTP-Posting-Host: 213.2.60.82 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1032183437 3265 127.0.0.1 (16 Sep 2002 13:37:17 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 16 Sep 2002 13:37:17 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13696 Hello all What I am trying to do is this: I have a seimens sms modem connected to /dev/ttyS0 and i can communicate with it fine on the command line. A website is created to allow users on our intranet to sms other users, so it's simply two dialogue boxes with the number and the message. This then gets written to a file which is called in the script and wrapped with the necessary commands. All i need to be run is this script set modem type usr set line /dev/ttyS0 set speed 9600 set carrier-watch off connect at+cmgf=1 at+cmgs="+44123456789" How can i do this as kermit goes into interactive mode as soon as i issue the connect command! How can i automate this? many thanks gurus! mark From fdc@columbia.edu Mon Sep 16 09:54:21 EDT 2002 Article: 13697 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: scripting to a serial sms modem - idiot question! Date: 16 Sep 2002 09:54:14 -0400 Organization: Columbia University Lines: 35 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1032184455 5374 128.59.39.139 (16 Sep 2002 13:54:15 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 16 Sep 2002 13:54:15 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13697 In article , Mark Swarbrick wrote: : I have a seimens sms modem connected to /dev/ttyS0 and i can : communicate with it fine on the command line. : : A website is created to allow users on our intranet to sms other : users, so it's simply two dialogue boxes with the number and the : message. This then gets written to a file which is called in the : script and wrapped with the necessary commands. : : All i need to be run is this script : : : set modem type usr : set line /dev/ttyS0 : set speed 9600 : set carrier-watch off : connect : at+cmgf=1 : at+cmgs="+44123456789" : : : : How can i do this as kermit goes into interactive mode as soon as i : issue the connect command! How can i automate this? : This is definitely THE Most Frequently Asked Question about Kermit scripting. It's answered here: http://www.columbia.edu/kermit/ckscripts.html Read it, finish your script, then send it in and we'll include it in the script library since SMS seems to be such a popular service these days. - Frank From system@SendSpamHere.ORG Mon Sep 16 10:05:29 EDT 2002 Article: 13698 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed.wirehub.nl!news-hub.cableinet.net!blueyonder!newsfeeds-atl1.usenetserver.com!news.webusenet.com!pc01.webusenet.com!news4.srv.hcvlny.cv.net.POSTED!53ab2750!not-for-mail Newsgroups: comp.protocols.kermit.misc Subject: Re: Can Kermit be used for dialing *IN* to a PC (NT/2000)? References: <00A13B6C.8E682BF9@SendSpamHere.ORG> From: system@SendSpamHere.ORG Reply-To: system@SendSpamHere.ORG Message-ID: <00A140EF.8B99A427@SendSpamHere.ORG> Organization: TMESIS Software Lines: 51 Date: Mon, 16 Sep 2002 13:54:43 GMT NNTP-Posting-Host: 67.81.162.92 X-Trace: news4.srv.hcvlny.cv.net 1032184471 67.81.162.92 (Mon, 16 Sep 2002 09:54:31 EDT) NNTP-Posting-Date: Mon, 16 Sep 2002 09:54:31 EDT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13698 In article , fdc@columbia.edu (Frank da Cruz) writes: >In article <00A13B6C.8E682BF9@SendSpamHere.ORG>, > wrote: >: Hello, >: >: I have a client that wants to be able to dial into a PC and transfer files. >: They've been doing so successfully on an Alpha running VMS but would like a >: "backup" capability at another site that has only a PC. >: >: Before I go off into PC insanity trying to implement this, has anybody done >: this or anything similar with Kermit? >: >Clarification: Of course you can't dial and log in to Windows and get a >text-based shell like you can do with VMS, Unix, and other conventional >operating systems. But you can still set up Kermit on Windows to accept >incoming calls and provide a file-transfer and management service. There >are various ways to do this, of which the most user-friendly is described >here: > > http://www.columbia.edu/kermit/k95host.html > >You can also write a simple Kermit script that awaits and handles incoming >calls, something like: > > set port tapi > set speed 57600 > set flow rts/cts > while true { > cd some-directory > answer 0 > if success server > close connection > } > >Obviously many variations and refinements are possible. > >- Frank Frank, Do you know of anybody in the southern NJ (Ocean County) that can figure out this PC Kermit thing and give me a hand? Everytime I click on the "crown" I get a try-before-you-buy screen. If I click on [Buy Now], I get some popup "profile manager" which has my wife's name on it. Grrr. -- VAXman- OpenVMS APE certification number: AAA-0001 VAXman(at)TMESIS(dot)COM "Well my son, life is like a beanstalk, isn't it?" From fdc@columbia.edu Mon Sep 16 10:05:33 EDT 2002 Article: 13699 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Can Kermit be used for dialing *IN* to a PC (NT/2000)? Date: 16 Sep 2002 10:05:26 -0400 Organization: Columbia University Lines: 21 Message-ID: References: <00A13B6C.8E682BF9@SendSpamHere.ORG> <00A140EF.8B99A427@SendSpamHere.ORG> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1032185127 5864 128.59.39.139 (16 Sep 2002 14:05:27 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 16 Sep 2002 14:05:27 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13699 In article <00A140EF.8B99A427@SendSpamHere.ORG>, wrote: : Do you know of anybody in the southern NJ (Ocean County) that can figure : out this PC Kermit thing and give me a hand? Everytime I click on the : "crown" I get a try-before-you-buy screen. : That's normal if you downloaded the try-and-buy version. : If I click on [Buy Now], I : get some popup "profile manager" which has my wife's name on it. Grrr. : Was your computer connected to the Internet at the time? Maybe what you got was Windows's Dial Up Networking dialog. Anyway, in case there IS a problem with the Buy Now dialog on your PC, you should be able to bypass it by going directly to: http://www.e-academy.com/kermit and choosing the appropriate buy option. - Frank From system@SendSpamHere.ORG Mon Sep 16 10:42:17 EDT 2002 Article: 13700 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!newsfeed.news2me.com!ps01-sjc1!news.webusenet.com!pc01.webusenet.com!news4.srv.hcvlny.cv.net.POSTED!53ab2750!not-for-mail Newsgroups: comp.protocols.kermit.misc Subject: Re: Can Kermit be used for dialing *IN* to a PC (NT/2000)? References: <00A13B6C.8E682BF9@SendSpamHere.ORG> <00A140EF.8B99A427@SendSpamHere.ORG> From: system@SendSpamHere.ORG Reply-To: system@SendSpamHere.ORG Message-ID: <00A140F4.B3799C91@SendSpamHere.ORG> Organization: TMESIS Software Lines: 36 Date: Mon, 16 Sep 2002 14:31:37 GMT NNTP-Posting-Host: 67.81.162.92 X-Trace: news4.srv.hcvlny.cv.net 1032186685 67.81.162.92 (Mon, 16 Sep 2002 10:31:25 EDT) NNTP-Posting-Date: Mon, 16 Sep 2002 10:31:25 EDT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13700 In article , fdc@columbia.edu (Frank da Cruz) writes: >In article <00A140EF.8B99A427@SendSpamHere.ORG>, > wrote: >: Do you know of anybody in the southern NJ (Ocean County) that can figure >: out this PC Kermit thing and give me a hand? Everytime I click on the >: "crown" I get a try-before-you-buy screen. >: >That's normal if you downloaded the try-and-buy version. But it always says the Trial is expired. I figured out how to set the time and set it back an entire year and I still get that the Trial is expired. > >: If I click on [Buy Now], I >: get some popup "profile manager" which has my wife's name on it. Grrr. >: >Was your computer connected to the Internet at the time? Maybe what you >got was Windows's Dial Up Networking dialog. Anyway, in case there IS a >problem with the Buy Now dialog on your PC, you should be able to bypass >it by going directly to: > > http://www.e-academy.com/kermit > >and choosing the appropriate buy option. > >- Frank I'd like to know if this will work before I spend my good money on *PC* software. -- VAXman- OpenVMS APE certification number: AAA-0001 VAXman(at)TMESIS(dot)COM "Well my son, life is like a beanstalk, isn't it?" From fdc@columbia.edu Mon Sep 16 10:47:07 EDT 2002 Article: 13701 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Can Kermit be used for dialing *IN* to a PC (NT/2000)? Date: 16 Sep 2002 10:46:39 -0400 Organization: Columbia University Lines: 26 Message-ID: References: <00A13B6C.8E682BF9@SendSpamHere.ORG> <00A140EF.8B99A427@SendSpamHere.ORG> <00A140F4.B3799C91@SendSpamHere.ORG> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1032187600 7601 128.59.39.139 (16 Sep 2002 14:46:40 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 16 Sep 2002 14:46:40 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13701 In article <00A140F4.B3799C91@SendSpamHere.ORG>, wrote: : In article , : fdc@columbia.edu (Frank da Cruz) writes: : >In article <00A140EF.8B99A427@SendSpamHere.ORG>, : > wrote: : >: Do you know of anybody in the southern NJ (Ocean County) that can figure : >: out this PC Kermit thing and give me a hand? Everytime I click on the : >: "crown" I get a try-before-you-buy screen. : >: : >That's normal if you downloaded the try-and-buy version. : : But it always says the Trial is expired. I figured out how to set the : time and set it back an entire year and I still get that the Trial is : expired. : Did you install it more than 21 days ago? If so, that's normal. It expires so people can't use it forever without paying for it, because if they did there would be no more income for the Kermit Project and therefore no more Kermit Project or software. If you're saying it says it's expired before the 21 days are up, then we have some kind of technical problem that can be addressed better by email to kermit-support@columbia.edu. - Frank From system@SendSpamHere.ORG Mon Sep 16 11:12:31 EDT 2002 Article: 13702 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!news.stealth.net!news.stealth.net!newsfeed.news2me.com!ps01-sjc1!news.webusenet.com!pc01.webusenet.com!news4.srv.hcvlny.cv.net.POSTED!53ab2750!not-for-mail Newsgroups: comp.protocols.kermit.misc Subject: Re: Can Kermit be used for dialing *IN* to a PC (NT/2000)? References: <00A13B6C.8E682BF9@SendSpamHere.ORG> <00A140EF.8B99A427@SendSpamHere.ORG> <00A140F4.B3799C91@SendSpamHere.ORG> From: system@SendSpamHere.ORG Reply-To: system@SendSpamHere.ORG Message-ID: <00A140F9.D65D394E@SendSpamHere.ORG> Organization: TMESIS Software Lines: 38 Date: Mon, 16 Sep 2002 15:08:23 GMT NNTP-Posting-Host: 67.81.162.92 X-Trace: news4.srv.hcvlny.cv.net 1032188891 67.81.162.92 (Mon, 16 Sep 2002 11:08:11 EDT) NNTP-Posting-Date: Mon, 16 Sep 2002 11:08:11 EDT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13702 In article , fdc@columbia.edu (Frank da Cruz) writes: >In article <00A140F4.B3799C91@SendSpamHere.ORG>, > wrote: >: In article , >: fdc@columbia.edu (Frank da Cruz) writes: >: >In article <00A140EF.8B99A427@SendSpamHere.ORG>, >: > wrote: >: >: Do you know of anybody in the southern NJ (Ocean County) that can figure >: >: out this PC Kermit thing and give me a hand? Everytime I click on the >: >: "crown" I get a try-before-you-buy screen. >: >: >: >That's normal if you downloaded the try-and-buy version. >: >: But it always says the Trial is expired. I figured out how to set the >: time and set it back an entire year and I still get that the Trial is >: expired. >: >Did you install it more than 21 days ago? If so, that's normal. It expires >so people can't use it forever without paying for it, because if they did >there would be no more income for the Kermit Project and therefore no more >Kermit Project or software. > >If you're saying it says it's expired before the 21 days are up, then we >have some kind of technical problem that can be addressed better by email >to kermit-support@columbia.edu. > >- Frank I checked back on the date of the first posting on this thread. 09-SEP-2002. It was installed shortly before the first posting. (09-SEP-2002 was a Monday. I don't recall if I installed on Saturday or Sunday -- 07 and 08 respectfully.) PS. I loathe PCs. -- VAXman- OpenVMS APE certification number: AAA-0001 VAXman(at)TMESIS(dot)COM "Well my son, life is like a beanstalk, isn't it?" From fdc@columbia.edu Mon Sep 16 11:15:14 EDT 2002 Article: 13703 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Can Kermit be used for dialing *IN* to a PC (NT/2000)? Date: 16 Sep 2002 11:15:10 -0400 Organization: Columbia University Lines: 22 Message-ID: References: <00A13B6C.8E682BF9@SendSpamHere.ORG> <00A140F4.B3799C91@SendSpamHere.ORG> <00A140F9.D65D394E@SendSpamHere.ORG> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1032189312 10316 128.59.39.139 (16 Sep 2002 15:15:12 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 16 Sep 2002 15:15:12 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13703 In article <00A140F9.D65D394E@SendSpamHere.ORG>, wrote: : In article , : fdc@columbia.edu (Frank da Cruz) writes: : >If you're saying it says it's expired before the 21 days are up, then we : >have some kind of technical problem that can be addressed better by email : >to kermit-support@columbia.edu. : : I checked back on the date of the first posting on this thread. 09-SEP-2002. : It was installed shortly before the first posting. (09-SEP-2002 was a Monday. : I don't recall if I installed on Saturday or Sunday -- 07 and 08 : respectfully.) : : PS. I loathe PCs. : They have their ups and downs. We'll contact you offline. Hundreds of people download the try-and-buy version every day and use it without incident; there's something peculiar about your setup. We'll have to figure out what it is. - Frank From mswarbrick@rentokil.com Wed Sep 18 09:27:51 EDT 2002 Article: 13705 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: mswarbrick@rentokil.com (Mark Swarbrick) Newsgroups: comp.protocols.kermit.misc Subject: Re: scripting to a serial sms modem - idiot question! Date: 18 Sep 2002 04:09:11 -0700 Organization: http://groups.google.com/ Lines: 88 Message-ID: References: NNTP-Posting-Host: 213.2.60.82 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1032347351 8578 127.0.0.1 (18 Sep 2002 11:09:11 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 18 Sep 2002 11:09:11 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13705 > Read it, finish your script, then send it in and we'll include it in the > script library since SMS seems to be such a popular service these days. Hello. I have finished the script. I'm very sorry for asking about 'connect' i bet you get fed up of that one. I had realised connect wouldn't work, but wasn't getting any joy out of the output command as i needed to send control chars etc and the modem didn't like the fast char rate either! The modem used is a siemens tc35 terminal. SMS commands may vary. I am now working on two way scripts so that actions can be performed on the pc depending on the text of a message, then a specific message sent back. Eg if i text uptime to the sms box, i want a text message back with the uptime of the server. Now i've just got to learn some more i/o commands! The setup is primative, but it's just to test basic functionality and i'm sure an event based setup would be a lot better but... There is a website which has two dialogue boxes for number and message. This will then write a physical file on the outward facing webserver. This file contains the number and message wrapped with the correct string eg lineout at+cmgs"+44123456789" The internal machine with the sms modem attached runs a script from a cron every minute. ----------- #!/bin/bash #runs ftp commands from the ftpget file to get msg file off remote webserver /bin/cat /tmp/ftpget | /usr/bin/ftp -i -n #runs another script which appends a header and footer to the message file. The #header is just stuff like the kerbang line and setting the modem port/speed #etc. The footer is simply a quit statement. /tmp/batchscript.sh #outbox.sms is created which contains the full command list needed to send the #sms chmod +x /tmp/outbox.sms #Execute the kermit kebang script /tmp/outbox.sms echo y|rm /tmp/outbox.sms ------------- The final outbox.sms file looks like this: #!/usr/bin/kermit set modem type usr set line /dev/ttyS0 set speed 9600 set carrier-watch off set input echo on lineout at input 20 ok lineout AT+CMGF=1 input 20 ok lineout AT+CMGS="+447747603208"^M input 20 >^M lineout 1^M output \26^M input 100 ok lineout AT+CMGS="+447747603208"^M input 20 >^M lineout 2^M output \26^M input 100 ok lineout AT+CMGS="+447747603208"^M input 20 >^M lineout 3^M output \26^M quit In this example 3 messages are sent, with the text '1','2','3' respectively. I'm sure my code is crap and there is an easier way to do it, but i'm new to scripting so go easy! hope this helps someone, let me know what you think frank and if you've got any links that might be useful! From fdc@columbia.edu Wed Sep 18 09:28:28 EDT 2002 Article: 13706 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: scripting to a serial sms modem - idiot question! Date: 18 Sep 2002 09:27:44 -0400 Organization: Columbia University Lines: 149 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1032355665 25626 128.59.39.139 (18 Sep 2002 13:27:45 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 18 Sep 2002 13:27:45 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13706 In article , Mark Swarbrick wrote: : ... : The modem used is a siemens tc35 terminal. SMS commands may vary. I am : now working on two way scripts so that actions can be performed on the : pc depending on the text of a message, then a specific message sent : back. Eg if i text uptime to the sms box, i want a text message back : with the uptime of the server. Now i've just got to learn some more : i/o commands! : INPUT or MINPUT to get text from the device, OUTPUT to send it, and then there are myriad string-processing functions to deal with the text. : There is a website which has two dialogue boxes for number and : message. This will then write a physical file on the outward facing : webserver. This file contains the number and message wrapped with the : correct string : : eg lineout at+cmgs"+44123456789" : : The internal machine with the sms modem attached runs a script from a : cron every minute. : : ----------- : #!/bin/bash : : #runs ftp commands from the ftpget file to get msg file off remote : webserver : /bin/cat /tmp/ftpget | /usr/bin/ftp -i -n : Of course you can use Kermit for this too: http://www.columbia.edu/kermit/ftpscripts.html : #runs another script which appends a header and footer to the message : file. The #header is just stuff like the kerbang line and setting the : modem port/speed #etc. The footer is simply a quit statement. : /tmp/batchscript.sh : You can do this with Kermit too. (So in short, the entire process can be a single Kermit script.) : #outbox.sms is created which contains the full command list needed to : send the #sms : chmod +x /tmp/outbox.sms : : #Execute the kermit kebang script : /tmp/outbox.sms : echo y|rm /tmp/outbox.sms : ------------- : : The final outbox.sms file looks like this: : A few minor comments... : #!/usr/bin/kermit : set modem type usr : Strictly speaking you don't have to tell Kermit what kind of modem it is, since you never issue a DIAL command. : set line /dev/ttyS0 : You need an IF FAILURE clause here in case you can't open the device. This might be a loop that retries periodically. : set speed 9600 : set carrier-watch off : set input echo on : lineout at : input 20 ok : Here again, you want an IF FAILURE clause to make sure the modem is paying attention and answering. Also, note that your INPU command assumes the modem is in verbose response mode, which is not the only possibility. If you want to be certain, use: lineout ATQ0V1 Next you have a series of LINOUT and INPUT commands. You can check each INPUT with IF FAIL, or you can insert: set take error on at this point to have the script fail automatically if any subsequent command fails. : lineout AT+CMGF=1 : input 20 ok : lineout AT+CMGS="+447747603208"^M : I assume the "^M" here and in the following are mistakes... : input 20 >^M : lineout 1^M : output \26^M : input 100 ok : lineout AT+CMGS="+447747603208"^M : input 20 >^M : lineout 2^M : output \26^M : input 100 ok : lineout AT+CMGS="+447747603208"^M : input 20 >^M : lineout 3^M : output \26^M : quit : : In this example 3 messages are sent, with the text '1','2','3' : respectively. : Of course this could be done as a loop, with arrays, e.g.: declare \&m[] = "message one" "message two" "message three" for \%i \fdim(&m) 1 { lineout AT+CMGS="+447747603208" input 20 > if success { lineout AT+CMGS="\&m[\%i]" input 20 > if success { output \26 input 100 OK if success continue } } if > \%i \fdim(&m) exit 0 exit 1 "Message \%i failed: "\&m[\%i]" : hope this helps someone, let me know what you think frank and if : you've got any links that might be useful! : Maybe some other SMS users will jump in. As far as Kermit scripting, there is script tutorial and library: http://www.columbia.edu/kermit/ckscripts.html The manual: http://www.columbia.edu/kermit/ck60manual.html And the C-Kermit 7.0 and 8.0 manual updates: http://www.columbia.edu/kermit/ckermit70.html http://www.columbia.edu/kermit/ckermit80.html - Frank From douglasphorner@hotmail.com Wed Sep 18 12:55:01 EDT 2002 Article: 13707 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: douglasphorner@hotmail.com (Doug) Newsgroups: comp.protocols.kermit.misc Subject: Looking for some help - File transfer difficulties Date: 18 Sep 2002 09:54:16 -0700 Organization: http://groups.google.com/ Lines: 16 Message-ID: <599db3f6.0209180854.5e3ae767@posting.google.com> NNTP-Posting-Host: 207.221.131.174 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1032368056 30919 127.0.0.1 (18 Sep 2002 16:54:16 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 18 Sep 2002 16:54:16 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13707 Hi, Looking for some help. I'm trying to transfer files using C-Kermit 6.0.192 (within Procomm Plus 32) between a Windows95 laptop and a QNX OS via free wave modem. I'm able to transfer files but when I look at the files from a separate UNIX machine (telneting into the QNX machine via ethernet LAN) there is a ^M at the end of each line (and because of this I'm unable to compile them). I thought the problem might be due to C-Kermit having an End of Line setting of 13 (7-Bit control character ^M) and tried resetting it to 0 but that hasn't worked. Any suggestions are gratefully appreciated. Doug From dold@59.usenet.us.com Wed Sep 18 12:59:50 EDT 2002 Article: 13708 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!news-out.visi.com!hermes.visi.com!news.lightlink.com!wasp.rahul.net!samba.rahul.net!rahul.net!a2i!dold.a2i!dold From: dold@59.usenet.us.com Newsgroups: comp.protocols.kermit.misc Subject: Dialing via cell phone Date: 18 Sep 2002 16:56:10 GMT Organization: Wintercreek Data Lines: 17 Message-ID: NNTP-Posting-Host: yellow.rahul.net NNTP-Posting-User: dold User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (FreeBSD/3.5-STABLE (i386)) X-Comment: Encoded From: line allows replies that preserve original subject Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13708 My Nokia 3360 cell phone is supposed to work with the Infrared port on my laptop as a modem. Not quite ;-) When kermit tries to dial, it gets a "no carrier". If I turn off carrier and try to ATDT1232314 I get "no carrier" immediately. If I go to control panel, I can run diags and get responses. Does anyone know the secret? There is no "manual" per se. It is recognized by Win2000 as a "Standard Modem over IR link" mdmirmdm.inf -- --- Clarence A Dold - dold@email.rahul.net - Hidden Valley (Lake County) CA. From fdc@columbia.edu Wed Sep 18 13:01:06 EDT 2002 Article: 13709 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Looking for some help - File transfer difficulties Date: 18 Sep 2002 12:59:41 -0400 Organization: Columbia University Lines: 32 Message-ID: References: <599db3f6.0209180854.5e3ae767@posting.google.com> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1032368383 5122 128.59.39.139 (18 Sep 2002 16:59:43 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 18 Sep 2002 16:59:43 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13709 In article <599db3f6.0209180854.5e3ae767@posting.google.com>, Doug wrote: : Looking for some help. I'm trying to transfer files using C-Kermit : 6.0.192 (within Procomm Plus 32) between a Windows95 laptop and a QNX : OS via free wave modem. I'm able to transfer files but when I look at : the files from a separate UNIX machine (telneting into the QNX machine : via ethernet LAN) there is a ^M at the end of each line (and because : of this I'm unable to compile them). : : I thought the problem might be due to C-Kermit having an End of Line : setting of 13 (7-Bit control character ^M) and tried resetting it to 0 : but that hasn't worked. : I don't understand what "C-Kermit 6.0.192 within Procomm" means. You mean, you're using Procomm on a PC to make a connection to Unix and then you use C-Kermit to receive a file using Kermit protocol from Procomm? It should go without saying that you'd have better results with Kermit protocol file transfers if you used real and up-to-date Kermit software, such as: http://www.columbia.edu/kermit/k95.html Kermit 95 2.0 for Windows http://www.columbia.edu/kermit/ckermit.html C-Kermit 8.0 for Unix We can't help you much with Procomm but evidently it's sending the file in binary mode when you want text mode. If it supports text mode for Kermit transfers, try that. - Frank From fdc@columbia.edu Wed Sep 18 13:01:08 EDT 2002 Article: 13710 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Dialing via cell phone Date: 18 Sep 2002 13:01:00 -0400 Organization: Columbia University Lines: 20 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1032368463 5298 128.59.39.139 (18 Sep 2002 17:01:03 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 18 Sep 2002 17:01:03 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13710 In article , wrote: : My Nokia 3360 cell phone is supposed to work with the Infrared port on my : laptop as a modem. : : Not quite ;-) : When kermit tries to dial, it gets a "no carrier". If I turn off carrier : and try to ATDT1232314 I get "no carrier" immediately. : Kermit 95, right? : If I go to control panel, I can run diags and get responses. : : Does anyone know the secret? : There is no "manual" per se. It is recognized by Win2000 as a "Standard : Modem over IR link" mdmirmdm.inf : How are you referring to it within Kermit? If not "set port tapi", then try that. - Frank From dold@59.usenet.us.com Wed Sep 18 13:58:55 EDT 2002 Article: 13711 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!news-out.nuthinbutnews.com!propagator2-sterling!news-in-sterling.newsfeed.com!news-in.nuthinbutnews.com!cyclone1.gnilink.net!newsfeed.news2me.com!west.cox.net!cox.net!gail.ripco.com!wasp.rahul.net!samba.rahul.net!rahul.net!a2i!dold.a2i!dold From: dold@59.usenet.us.com Newsgroups: comp.protocols.kermit.misc Subject: Re: Dialing via cell phone Date: 18 Sep 2002 17:31:51 GMT Organization: Wintercreek Data Lines: 42 Message-ID: References: NNTP-Posting-Host: yellow.rahul.net NNTP-Posting-User: dold User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (FreeBSD/3.5-STABLE (i386)) X-Comment: Encoded From: line allows replies that preserve original subject Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13711 Frank da Cruz wrote: : In article , wrote: : : My Nokia 3360 cell phone is supposed to work with the Infrared port on my : : laptop as a modem. : : : : Not quite ;-) : : When kermit tries to dial, it gets a "no carrier". If I turn off carrier : : and try to ATDT1232314 I get "no carrier" immediately. : : : Kermit 95, right? Yes. K95 Dialer 2.0 : : If I go to control panel, I can run diags and get responses. : : : : Does anyone know the secret? : : There is no "manual" per se. It is recognized by Win2000 as a "Standard : : Modem over IR link" mdmirmdm.inf : : : How are you referring to it within Kermit? If not "set port tapi", then : try that. Under "Modems" "Change", it shows up... Maybe it was already there when I installed kermit. >From the dialer entry that I created, if I try to connection-edit-serial I don't see it as available, unless the IR link is established. I see "Modem: Standard Modem over IR Link" but "Line: 3Com..." for my internal modem is there, greyed out. If I establish the IR link, quit the dialer, and try again, it is there. I don't see TAPI at this point, but I do see it in the modem-change dialog box under "type". Both Name and Port are "Standard Modem over IR link". I see that the control panel diag shows a response from it of IRENUM\NMPV3360 which isn't one of the Nokia types recognized in the .inf file, causing it to be treated as a "generic cell phone". Maybe there's some testing to be done there. -- --- Clarence A Dold - dold@email.rahul.net - Hidden Valley (Lake County) CA. From rgibbens@redskytech.com Wed Sep 18 14:05:33 EDT 2002 Article: 13712 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!solaris.cc.vt.edu!news.vt.edu!msunews!not-for-mail From: "Robert Gibbens" Newsgroups: comp.protocols.kermit.misc Subject: Multiple line IF statement? Date: Wed, 18 Sep 2002 13:37:24 -0400 Organization: Michigan State University Lines: 19 Message-ID: NNTP-Posting-Host: 208.48.6.2 X-AUTHid: gibbensr X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13712 Is it possible in C-Kermit (Kermit 95, Win2k), to do multiple line IF statements? For example, if I encounter a failure, I would like to write the failure to my log file and then exit. When I try this.... if > \%a \%b - WRITE File \v(exitstatus) \v(date) \v(time) \%s FAILED after \%a tries, end 1 ....it simply writes the whole line to the log file and then continues running the script. I would like the "end 1" to execute also Thanks, Rob Gibbens rgibbens@redskytech.NOSPAM.com From fdc@columbia.edu Wed Sep 18 14:05:37 EDT 2002 Article: 13713 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Multiple line IF statement? Date: 18 Sep 2002 14:05:28 -0400 Organization: Columbia University Lines: 33 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1032372331 8046 128.59.39.139 (18 Sep 2002 18:05:31 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 18 Sep 2002 18:05:31 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13713 In article , Robert Gibbens wrote: : Is it possible in C-Kermit (Kermit 95, Win2k), to do multiple line IF : statements? : Sure. : For example, if I encounter a failure, I would like to write the failure to : my log file and then exit. When I try this.... : : if > \%a \%b - : WRITE File \v(exitstatus) \v(date) \v(time) \%s FAILED : after \%a tries, end 1 : : ....it simply writes the whole line to the log file and then continues : running the script. I would like the "end 1" to execute also As described in the manual (second edition) and shown in the many sample scripts in our script library: http://www.columbia.edu/kermit/ckscripts.html if > \%a \%b { WRITE File \v(exitstatus) \v(date) \v(time) \%s FAILED after \%a tries end 1 } You can also have an ELSE part, and you can nest them, etc. For details about improved IF command syntax, see: http://www.columbia.edu/kermit/ckermit70.html#x7.20 - Frank From rgibbens@redskytech.com Wed Sep 18 14:17:13 EDT 2002 Article: 13714 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!howland.erols.net!newspeer.monmouth.com!solaris.cc.vt.edu!news.vt.edu!msunews!not-for-mail From: "Robert Gibbens" Newsgroups: comp.protocols.kermit.misc Subject: Re: Multiple line IF statement? Date: Wed, 18 Sep 2002 14:10:57 -0400 Organization: Michigan State University Lines: 43 Message-ID: References: NNTP-Posting-Host: 208.48.6.2 X-AUTHid: gibbensr X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13714 Thanks, I read most of the chapter in my "Using C-Kermit Second Edition" book, but I didn't read anything about multi-line statements. Thanks for the help, it was just what I needed. "Frank da Cruz" wrote in message news:amaf98$es6$1@watsol.cc.columbia.edu... > In article , > Robert Gibbens wrote: > : Is it possible in C-Kermit (Kermit 95, Win2k), to do multiple line IF > : statements? > : > Sure. > > : For example, if I encounter a failure, I would like to write the failure to > : my log file and then exit. When I try this.... > : > : if > \%a \%b - > : WRITE File \v(exitstatus) \v(date) \v(time) \%s FAILED > : after \%a tries, end 1 > : > : ....it simply writes the whole line to the log file and then continues > : running the script. I would like the "end 1" to execute also > > As described in the manual (second edition) and shown in the many sample > scripts in our script library: > > http://www.columbia.edu/kermit/ckscripts.html > > if > \%a \%b { > WRITE File \v(exitstatus) \v(date) \v(time) \%s FAILED after \%a tries > end 1 > } > > You can also have an ELSE part, and you can nest them, etc. For details > about improved IF command syntax, see: > > http://www.columbia.edu/kermit/ckermit70.html#x7.20 > > - Frank From fdc@columbia.edu Wed Sep 18 14:18:57 EDT 2002 Article: 13715 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Multiple line IF statement? Date: 18 Sep 2002 14:18:30 -0400 Organization: Columbia University Lines: 9 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1032373112 8631 128.59.39.139 (18 Sep 2002 18:18:32 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 18 Sep 2002 18:18:32 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13715 In article , Robert Gibbens wrote: : Thanks, I read most of the chapter in my "Using C-Kermit Second Edition" : book, but I didn't read anything about multi-line statements. : See pages 380-385. The only difference is that now (C-Kermit 7.0 and later) you can say IF; you don't have to (but still can) say XIF. - Frank From jdanskinner@jdanskinner.com Thu Sep 19 10:22:05 EDT 2002 Article: 13716 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!nycmny1-snh1.gtei.net!news.gtei.net!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: jdanskinner@jdanskinner.com (Dan Skinner) Newsgroups: comp.protocols.kermit.misc Subject: Re: Looking for some help - File transfer difficulties Date: 18 Sep 2002 17:44:28 -0700 Organization: http://groups.google.com/ Lines: 38 Message-ID: <4c1ea541.0209181644.23fc7a9f@posting.google.com> References: <599db3f6.0209180854.5e3ae767@posting.google.com> NNTP-Posting-Host: 24.159.192.106 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1032396268 28071 127.0.0.1 (19 Sep 2002 00:44:28 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 19 Sep 2002 00:44:28 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13716 fdc@columbia.edu (Frank da Cruz) wrote in message news:... > In article <599db3f6.0209180854.5e3ae767@posting.google.com>, > Doug wrote: > : Looking for some help. I'm trying to transfer files using C-Kermit > : 6.0.192 (within Procomm Plus 32) between a Windows95 laptop and a QNX > : OS via free wave modem. I'm able to transfer files but when I look at > : the files from a separate UNIX machine (telneting into the QNX machine > : via ethernet LAN) there is a ^M at the end of each line (and because > : of this I'm unable to compile them). > : > : I thought the problem might be due to C-Kermit having an End of Line > : setting of 13 (7-Bit control character ^M) and tried resetting it to 0 > : but that hasn't worked. > : > I don't understand what "C-Kermit 6.0.192 within Procomm" means. You > mean, you're using Procomm on a PC to make a connection to Unix and then > you use C-Kermit to receive a file using Kermit protocol from Procomm? > > It should go without saying that you'd have better results with Kermit > protocol file transfers if you used real and up-to-date Kermit software, > such as: > > http://www.columbia.edu/kermit/k95.html > Kermit 95 2.0 for Windows > > http://www.columbia.edu/kermit/ckermit.html > C-Kermit 8.0 for Unix > > We can't help you much with Procomm but evidently it's sending the file > in binary mode when you want text mode. If it supports text mode for > Kermit transfers, try that. > > - Frank Frank is right. In Options->data->transfer protocol set type to text, or run the file on the Unix machine through dtox. Regards...Dan. From mswarbrick@rentokil.com Thu Sep 19 10:22:15 EDT 2002 Article: 13717 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!nycmny1-snh1.gtei.net!news.gtei.net!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: mswarbrick@rentokil.com (Mark Swarbrick) Newsgroups: comp.protocols.kermit.misc Subject: Re: scripting to a serial sms modem - idiot question! Date: 19 Sep 2002 01:43:47 -0700 Organization: http://groups.google.com/ Lines: 16 Message-ID: References: NNTP-Posting-Host: 213.2.60.82 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1032425027 22558 127.0.0.1 (19 Sep 2002 08:43:47 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 19 Sep 2002 08:43:47 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13717 Hi frank, Many thanks for your comments. I've always tried to avoid coding since college, but i'm beginning to enjoy scripting (eeek!). I've been pulled off this project for a while to work on a linux clustering project (oh joy) I'll reply to this thread very soon once i've redone the script properly and worked on two way scripting. Any other input from sms people is welcome. I'll print whatever scripts I do. many thanks again Frank cheers mark From sobrado@string1.ciencias.uniovi.es Mon Sep 23 09:21:06 EDT 2002 Article: 13720 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!t-online.de!news-ge.switch.ch!news.rediris.es!newsfeed.uniovi.es!not-for-mail From: Igor Sobrado Newsgroups: comp.protocols.kermit.misc,comp.unix.solaris Subject: Re: Problem switching from (ancient) shelltool to CDE's dttool (sol 9!) Date: Mon, 23 Sep 2002 07:24:28 +0000 (UTC) Organization: Universidad de Oviedo Lines: 17 Message-ID: References: NNTP-Posting-Host: string1.ciencias.uniovi.es X-Trace: localhost.localdomain 1032765868 21736 156.35.97.40 (23 Sep 2002 07:24:28 GMT) X-Complaints-To: abuse@si.uniovi.es NNTP-Posting-Date: Mon, 23 Sep 2002 07:24:28 +0000 (UTC) User-Agent: tin/1.4.3-20000502 ("Marian") (UNIX) (Linux/2.2.16 (i586)) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13720 comp.unix.solaris:410469 In comp.protocols.kermit.misc Greg Andrews wrote: > dkcombs@panix.com (David Combs) writes: >> >>You type the cmd "clear"; nothing happens. > Incorrect TERM value. Agreed. David, if you are in doubt about the right settings for the terminal, I recommend you trying something like "TERM=vt100; export TERM" (Bourne) or "setenv TERM vt100" (C-shell). DEC VT-100 is supported in most cases. Igor. -- Igor Sobrado, UK34436 - sobrado@acm.org From mswarbrick@rentokil.com Tue Sep 24 09:14:15 EDT 2002 Article: 13721 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: mswarbrick@rentokil.com (Mark Swarbrick) Newsgroups: comp.protocols.kermit.misc Subject: Re: scripting to a serial sms modem - idiot question! Date: 24 Sep 2002 04:21:17 -0700 Organization: http://groups.google.com/ Lines: 58 Message-ID: References: NNTP-Posting-Host: 213.2.60.82 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1032866477 25687 127.0.0.1 (24 Sep 2002 11:21:17 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 24 Sep 2002 11:21:17 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13721 Hi frank, I've had some more time to work on the sms project. The basic idea is to allow someone to text commands to the sms modem eg. 'uptime' and a text message sent back with the uptime. I've ordered the kermit book, but could use some help in the meantime with strings. So far i've added some comment/psudeocode to what i want the script to do: --------- #!/usr/bin/kermit ; sets modem init stuff set line /dev/ttyS0 set speed 9600 set carrier-watch off set input echo on lineout at input 20 ok lineout AT+CMGF=1 input 20 ok ; queries modem for all messages lineout at+cmgs=? input 20 ok lineout at+cmgl="ALL" input 100 ok ; Loops msg by message extracting the number and message text into two strings ; $msg $no ; Depending on the text of the message perform external command which includes ; modifying the response to fit in 160 chars eg sed / awk etc store the reply ; in a string called reply_txt ; Execute the send message sms command using $no and $reply_txt strings ; then loop to next message until there are no more, then delete all messages ; from the modems memory --------- Does this sound about right? also how to i run a command and store the results in a string? in bash i'd just type uptime > uptime.txt. But can I have a clue how to do it in kermit? Then how to i write that string to a file? Many thanks for a pointer in the right direction! mark From fdc@columbia.edu Tue Sep 24 09:29:03 EDT 2002 Article: 13722 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: scripting to a serial sms modem - idiot question! Date: 24 Sep 2002 09:28:51 -0400 Organization: Columbia University Lines: 93 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1032874133 4272 128.59.39.139 (24 Sep 2002 13:28:53 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 24 Sep 2002 13:28:53 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13722 In article , Mark Swarbrick wrote: : I've had some more time to work on the sms project. The basic idea is : to allow someone to text commands to the sms modem eg. 'uptime' and a : text message sent back with the uptime. I've ordered the kermit book, : but could use some help in the meantime with strings. : : --------- : #!/usr/bin/kermit : : ; sets modem init stuff : : set line /dev/ttyS0 : Need IF FAIL here... : set speed 9600 : set carrier-watch off : set input echo on : lineout at : input 20 ok : Need IF FAIL... : lineout AT+CMGF=1 : input 20 ok : Need IF FAIL after every INPUT... : ; queries modem for all messages : : lineout at+cmgs=? : input 20 ok : lineout at+cmgl="ALL" : input 100 ok : : ; Loops msg by message extracting the number and message text into : : two strings : ; $msg $no : You have to be more specific if you want this translated into code. Exactly what is a "number" and a "message"? Give a specific example. How do you know where the end is? : ; Depending on the text of the message perform external command which : : includes modifying the response to fit in 160 chars eg sed / awk etc : : store the reply in a string called reply_txt : You don't need an external command for that; Kermit can do it all by itself. : ; Execute the send message sms command using $no and $reply_txt strings : : then loop to next message until there are no more, then delete all : : messages from the modems memory : : --------- : : Does this sound about right? also how to i run a command and store the : results in a string? : Again, you don't need to run external programs to manipulate strings. Kermit has a full range of string manipulation functions. But to answer your question: \fcommand(command args) runs the given command with the given string and returns its output so you can use it, e.g. assign foo \fcommand(uptime) echo Uptime: \m(foo) Type "help functions" to learn more about Kermit's built-in functions. : in bash i'd just type uptime > uptime.txt. But : can I have a clue how to do it in kermit? Then how to i write that : string to a file? : Kermit has the full range of file i/o features: http://www.columbia.edu/kermit/ckermit70.html#x1.22 Even though you don't have the book yet, you can learn a lot by studing the tutorial and sample scripts here: http://www.columbia.edu/kermit/ckscripts.html and by reading the C-Kermit 7.0 and 8.0 release notes: http://www.columbia.edu/kermit/ckermit70.html http://www.columbia.edu/kermit/ckermit80.html - Frank From rayward@metronet.com Wed Sep 25 08:54:08 EDT 2002 Article: 13723 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!nycmny1-snh1.gtei.net!news.gtei.net!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: rayward@metronet.com (Ray Ward) Newsgroups: comp.protocols.kermit.misc,comp.unix.xenix.sco,comp.dcom.modems Subject: Help! Trying to send files via serial modem... Date: 24 Sep 2002 18:17:29 -0700 Organization: http://groups.google.com/ Lines: 52 Message-ID: <7ea6ad1.0209241717.7af4adc8@posting.google.com> NNTP-Posting-Host: 63.99.201.15 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1032916649 9786 127.0.0.1 (25 Sep 2002 01:17:29 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 25 Sep 2002 01:17:29 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13723 comp.unix.xenix.sco:18663 comp.dcom.modems:316223 What I'm trying to do: New federal legislation requires financial institutions to check certain transactions against a federal database of suspected terrorists. To do this, my client needs to get data off of a fairly large number (100's) of old Xenix 2.3.2 SysV boxes (i386) to an off-site, modern box to do the checking. (I'm not sure that all the Xenix boxes are the exact same version.) Deadline's in October. My first thought was to automatically send files daily using Kermit >from a cron(1) script to a ProCommPlus 4.8 server running in Kermit server mode on the client's Win2000 box. The Xenix boxes have only a 1.2Mb 5.25 floppy and a serial port external US Robotics Sportster modem (ranging from 2400-14400 bps). They were bought with application software only, no C compiler, make, man, etc., so I have to find an executable file. They already have the ProCommPlus set up. My fall-back options are: to try to configure UUCP, and get the client to set up a Linux box with UUCP as the central server; or, find another binary that will run on the old Xenix boxes (ProYAM?). Here's the problem: When I try to connect from the interactive Kermit that I found on one machine (072 24 Jan 89 Xenix/286) it seems to connect, then drops the line. I tried loading the G-Kermit binary from the Columbia site, but it's not interactive, and I can't figure out how to get it to dial before trying to send the files. So, I downloaded the 21-day eval copy of Kermit95 2.0 onto my Win98 box and got the same result, with a little more detail: Kermit session.log: ATQ0V1 OK ATDT9721234567 CONNECT ÿ?~?~?~?~?~?~?~?~?~?~?~?~¿ j ¹Xã2 ~?~?~ ¹îa(ˆ cš®Ö @ bš~?~?~?ßàÇÀ@d‡?~?þ NO CARRIER Looks kind of like a baud rate mismatch. So I set both the PC+ and the Kermit95 to 2400 baud, xon/xoff, 8n1, full duples, 1 check byte. Didn't help. No packets are logged. Any ideas? How do I get past this immediate disconnect? Thanks, Ray Ward rayward@metronet.com From comms@systime.co.nz Wed Sep 25 08:54:12 EDT 2002 Article: 13724 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsfeed.news.ucla.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed.news2me.com!newsfeed-west.nntpserver.com!hub1.meganetnews.com!nntpserver.com!telocity-west!TELOCITY!news-out.spamkiller.net!propagator2-maxim!news-in.spamkiller.net!news02.tsnz.net!news.nz.asiaonline.net From: "David Font" Newsgroups: comp.protocols.kermit.misc,comp.unix.xenix.sco,comp.dcom.modems References: <7ea6ad1.0209241717.7af4adc8@posting.google.com> Subject: Re: Help! Trying to send files via serial modem... Lines: 58 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Original-NNTP-Posting-Host: 210.54.139.145 Message-ID: <3d911475$1@news.nz.asiaonline.net> X-Original-Trace: 25 Sep 2002 13:42:13 +1200, 210.54.139.145 Organization: "ICONZ Ltd." Date: Wed, 25 Sep 2002 13:41:26 +1200 NNTP-Posting-Host: 210.48.22.5 X-Complaints-To: abuse@tsnz.net X-Trace: news02.tsnz.net 1032918134 210.48.22.5 (Wed, 25 Sep 2002 13:42:14 NZST) NNTP-Posting-Date: Wed, 25 Sep 2002 13:42:14 NZST Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13724 comp.unix.xenix.sco:18665 comp.dcom.modems:316224 You have described the XENIX systems. What is connecting to them? "Ray Ward" wrote in message news:7ea6ad1.0209241717.7af4adc8@posting.google.com... > What I'm trying to do: > New federal legislation requires financial institutions to check > certain transactions against a federal database of suspected > terrorists. To do this, my client needs to get data off of a fairly > large number (100's) of old Xenix 2.3.2 SysV boxes (i386) to an > off-site, modern box to do the checking. (I'm not sure that all the > Xenix boxes are the exact same version.) Deadline's in October. > > My first thought was to automatically send files daily using Kermit > from a cron(1) script to a ProCommPlus 4.8 server running in Kermit > server mode on the client's Win2000 box. The Xenix boxes have only a > 1.2Mb 5.25 floppy and a serial port external US Robotics Sportster > modem (ranging from 2400-14400 bps). They were bought with > application software only, no C compiler, make, man, etc., so I have > to find an executable file. They already have the ProCommPlus set up. > > My fall-back options are: to try to configure UUCP, and get the > client to set up a Linux box with UUCP as the central server; or, find > another binary that will run on the old Xenix boxes (ProYAM?). > > Here's the problem: > When I try to connect from the interactive Kermit that I found on one > machine (072 24 Jan 89 Xenix/286) it seems to connect, then drops the > line. I tried loading the G-Kermit binary from the Columbia site, but > it's not interactive, and I can't figure out how to get it to dial > before trying to send the files. > > So, I downloaded the 21-day eval copy of Kermit95 2.0 onto my Win98 > box and got the same result, with a little more detail: > > Kermit session.log: > ATQ0V1 > > OK > ATDT9721234567 > > CONNECT > ÿ?~?~?~?~?~?~?~?~?~?~?~?~¿ j ¹Xã2 ~?~?~ ¹îa(ˆ cš®Ö @ > bš~?~?~?ßàÇÀ@d‡?~?þ > NO CARRIER > > Looks kind of like a baud rate mismatch. So I set both the PC+ and > the Kermit95 to 2400 baud, xon/xoff, 8n1, full duples, 1 check byte. > Didn't help. > No packets are logged. > > Any ideas? How do I get past this immediate disconnect? > > Thanks, > > Ray Ward > rayward@metronet.com From floyd@ptialaska.net Wed Sep 25 08:54:15 EDT 2002 Article: 13725 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!pln-e!spln!dex!extra.newsguy.com!newsp.newsguy.com!enews4 From: Floyd Davidson Newsgroups: comp.protocols.kermit.misc,comp.unix.xenix.sco,comp.dcom.modems Subject: Re: Help! Trying to send files via serial modem... Date: 24 Sep 2002 18:24:18 -0800 Organization: __________ Lines: 25 Sender: floyd@barrow.com Message-ID: <877khaajsd.fld@barrow.com> References: <7ea6ad1.0209241717.7af4adc8@posting.google.com> NNTP-Posting-Host: p-624.newsdawg.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: gnus 5.8.3/XEmacs 21.1.9/Linux Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13725 comp.unix.xenix.sco:18666 comp.dcom.modems:316225 rayward@metronet.com (Ray Ward) wrote: >What I'm trying to do: >New federal legislation requires financial institutions to check >certain transactions against a federal database of suspected >terrorists. To do this, my client needs to get data off of a fairly >large number (100's) of old Xenix 2.3.2 SysV boxes (i386) to an >off-site, modern box to do the checking. (I'm not sure that all the >Xenix boxes are the exact same version.) Deadline's in October. > >My first thought was to automatically send files daily using Kermit >from a cron(1) script to a ProCommPlus 4.8 server running in Kermit >server mode on the client's Win2000 box. The Xenix boxes have only a >1.2Mb 5.25 floppy and a serial port external US Robotics Sportster >modem (ranging from 2400-14400 bps). They were bought with >application software only, no C compiler, make, man, etc., so I have >to find an executable file. They already have the ProCommPlus set up. Look for the old unix programs used for the basic networking untilities: uucico (with uucp and uux) and cu. If they exist, just set up uucp and let it loose. Of course you might need another unix boxen to collect the data... -- Floyd L. Davidson Ukpeagvik (Barrow, Alaska) floyd@barrow.com From fdc@columbia.edu Wed Sep 25 09:24:31 EDT 2002 Article: 13726 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc,comp.unix.xenix.sco,comp.dcom.modems Subject: Re: Help! Trying to send files via serial modem... Date: 25 Sep 2002 09:24:19 -0400 Organization: Columbia University Lines: 131 Message-ID: References: <7ea6ad1.0209241717.7af4adc8@posting.google.com> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1032960260 25217 128.59.39.139 (25 Sep 2002 13:24:20 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 25 Sep 2002 13:24:20 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13726 comp.unix.xenix.sco:18667 comp.dcom.modems:316229 In article <7ea6ad1.0209241717.7af4adc8@posting.google.com>, Ray Ward wrote: : What I'm trying to do: : New federal legislation requires financial institutions to check : certain transactions against a federal database of suspected : terrorists. To do this, my client needs to get data off of a fairly : large number (100's) of old Xenix 2.3.2 SysV boxes (i386) to an : off-site, modern box to do the checking. (I'm not sure that all the : Xenix boxes are the exact same version.) Deadline's in October. : : My first thought was to automatically send files daily using Kermit : from a cron(1) script to a ProCommPlus 4.8 server running in Kermit : server mode on the client's Win2000 box. : : The Xenix boxes have only a : 1.2Mb 5.25 floppy and a serial port external US Robotics Sportster : modem (ranging from 2400-14400 bps). They were bought with : application software only, no C compiler, make, man, etc.. : OK, too bad, no building modern Kermit versions. But maybe other readers can help there. : ...so I have to find an executable file. : We have the following SCO Xenix binaries on our FTP site: cku192.sco286 Xenix/286 2.2.1 cku190b02.sco386netc-2.2.3 Xenix/386 2.2.3 cku192.sco3r2lai Xenix/386 2.3.3 with Lachman Assoc TCP/IP cku201.sco234 Xenix/386 2.3.4 Plus some other 2.3.4 variations. You can find them here: http://www.columbia.edu/kermit/ck80binaries.html All of these except the 2.3.4 ones are rather old (C-Kermit version 5 or 6) but still much newer than the one you have (version 4). : They already have the ProCommPlus set up. : : When I try to connect from the interactive Kermit that I found on one : machine (072 24 Jan 89 Xenix/286) it seems to connect... : Could I get you to upload that binary to our site so we can include it with the other Xenix binaries? ftp://kermit.columbia.edu/kermit/incoming/ , then drops the : line. I tried loading the G-Kermit binary from the Columbia site, but : it's not interactive, and I can't figure out how to get it to dial : before trying to send the files. : I suspect you're going about this backwards, but more about this later... : So, I downloaded the 21-day eval copy of Kermit95 2.0 onto my Win98 : box and got the same result, with a little more detail: : : Kermit session.log: : ATQ0V1 : : OK : ATDT9721234567 : : CONNECT : (see garbage...) : NO CARRIER : : Looks kind of like a baud rate mismatch. So I set both the PC+ and : the Kermit95 to 2400 baud, xon/xoff, 8n1, full duples, 1 check byte. : Didn't help. : Let's assume your plan is to dial each Xenix box from Windows, log in, start Kermit on Xenix, then transfer the file (since having 100 Xenix boxes call one Windows box would not make a lot of sense). The Windows box no doubt has an all-singing all-dancing V.Everything modem, most likely a Winmodem. The first thing you need to know about these is that you must address them by the Windows name (from the Modems folder in the Control Panel), not by their DOS name, such as COM1. In Kermit 95: set port tapi set speed xxxx dial 9721234567 But "xxxx" is the kicker. What should it be? Does the calling modem support protocol negotiation and fallback? If not, you'll need to set K95's interface speed to whatever each Xenix modem supports. If the Xenix modem is V.32 or higher, it shouldn't matter -- the two modems will negotiate a usable connection and the calling modem can do "speed buffering". But of course, the answering modem must still be configured to use an interface speed that agrees with what Xenix getty/login expect. Or you can try sending a BREAK signal (Alt-B in Kermit 95) to see if it will make Xenix login change its speed (try this up to 15 times). If you really do have 2400 bps answering modems, then you'll need to dumb down the calling modem like so: set port tapi set speed 2400 set modem error-correction off set modem data-compression off set modem speed-matching off because otherwise the negotiations sent by the calling modem will confuse the answering modem (or Xenix login) so much that you'll have to hang up anyway. If all the Xenix boxes are different, then getting this to work 100 times might be tricky, and in that case maybe it DOES make sense to have the Xenixes call Windows after all. But then you have a couple new problems: 1. Windows is not like Xenix -- you can't call it up, get a login: prompt, log in, and run programs. You have to set Kermit 95 on Xenix up to wait for incoming calls, answer them, and then enter server mode or something. 2. You'll no doubt have contention, so your calling procedure will have handle the busy-redial scenario (which modern C-Kermit programs are fully capable of, but not the ancient one you have). Anyway, as to problem (1), see: http://www.columbia.edu/kermit/k95.html#modems If you can get a more modern version of Kermit to run on Xenix, then you can script everything: http://www.columbia.edu/kermit/ckscripts.html - Frank From rayward@metronet.com Wed Sep 25 10:07:14 EDT 2002 Article: 13727 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!news.stealth.net!news.stealth.net!logbridge.uoregon.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: rayward@metronet.com (Ray Ward) Newsgroups: comp.protocols.kermit.misc,comp.unix.xenix.sco,comp.dcom.modems Subject: Re: Help! Trying to send files via serial modem... Date: 25 Sep 2002 07:04:03 -0700 Organization: http://groups.google.com/ Lines: 66 Message-ID: <7ea6ad1.0209250604.6ef18dd0@posting.google.com> References: <7ea6ad1.0209241717.7af4adc8@posting.google.com> <3d911475$1@news.nz.asiaonline.net> NNTP-Posting-Host: 63.99.201.78 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1032962643 20358 127.0.0.1 (25 Sep 2002 14:04:03 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 25 Sep 2002 14:04:03 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13727 comp.unix.xenix.sco:18668 comp.dcom.modems:316230 "David Font" wrote in message news:<3d911475$1@news.nz.asiaonline.net>... > You have described the XENIX systems. What is connecting to them? They are dialing out to the ProCommPlus 4.8 server running in host mode with the Kermit protocol on Win2000, as mentioned in the second paragraph. The problem is that as soon as the modem connection is made, the connection is dropped. Not sure which side drops it first. Any idea how to sustain the connection? > > "Ray Ward" wrote in message > news:7ea6ad1.0209241717.7af4adc8@posting.google.com... > > What I'm trying to do: > > New federal legislation requires financial institutions to check > > certain transactions against a federal database of suspected > > terrorists. To do this, my client needs to get data off of a fairly > > large number (100's) of old Xenix 2.3.2 SysV boxes (i386) to an > > off-site, modern box to do the checking. (I'm not sure that all the > > Xenix boxes are the exact same version.) Deadline's in October. > > > > My first thought was to automatically send files daily using Kermit > > from a cron(1) script to a ProCommPlus 4.8 server running in Kermit > > server mode on the client's Win2000 box. The Xenix boxes have only a > > 1.2Mb 5.25 floppy and a serial port external US Robotics Sportster > > modem (ranging from 2400-14400 bps). They were bought with > > application software only, no C compiler, make, man, etc., so I have > > to find an executable file. They already have the ProCommPlus set up. > > > > My fall-back options are: to try to configure UUCP, and get the > > client to set up a Linux box with UUCP as the central server; or, find > > another binary that will run on the old Xenix boxes (ProYAM?). > > > > Here's the problem: > > When I try to connect from the interactive Kermit that I found on one > > machine (072 24 Jan 89 Xenix/286) it seems to connect, then drops the > > line. I tried loading the G-Kermit binary from the Columbia site, but > > it's not interactive, and I can't figure out how to get it to dial > > before trying to send the files. > > > > So, I downloaded the 21-day eval copy of Kermit95 2.0 onto my Win98 > > box and got the same result, with a little more detail: > > > > Kermit session.log: > > ATQ0V1 > > > > OK > > ATDT9721234567 > > > > CONNECT > > ÿ?~?~?~?~?~?~?~?~?~?~?~?~¿ j ¹ Xã2 ~?~?~ ¹îa(ˆ cš®Ö @ > > bš~?~?~?ß àÇÀ@d ‡?~?þ > > NO CARRIER > > > > Looks kind of like a baud rate mismatch. So I set both the PC+ and > > the Kermit95 to 2400 baud, xon/xoff, 8n1, full duples, 1 check byte. > > Didn't help. > > No packets are logged. > > > > Any ideas? How do I get past this immediate disconnect? > > > > Thanks, > > > > Ray Ward > > rayward@metronet.com From dold@32.usenet.us.com Wed Sep 25 11:43:41 EDT 2002 Article: 13728 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsfeed.mathworks.com!enews.sgi.com!paloalto-snf1.gtei.net!crtntx1-snh1.gtei.net!sanjose1-snf1.gtei.net!news.gtei.net!news.mainstreet.net!wasp.rahul.net!blue.rahul.net!dold.a2i!dold From: dold@32.usenet.us.com Newsgroups: comp.protocols.kermit.misc Subject: Kermit-95 Socks Date: Wed, 25 Sep 2002 15:30:46 +0000 (UTC) Organization: Wintercreek Data Lines: 47 Message-ID: NNTP-Posting-Host: yellow.rahul.net X-Trace: blue.rahul.net 1032967846 24000 192.160.13.18 (25 Sep 2002 15:30:46 GMT) X-Complaints-To: support@rahul.net NNTP-Posting-Date: Wed, 25 Sep 2002 15:30:46 +0000 (UTC) X-Comment: Encoded From: line allows replies that preserve original subject User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (FreeBSD/3.5-STABLE (i386)) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13728 Stupid corporate firewalls ;-( On Sep 30, we lose telnet access to ther internet, as well as access to any email-web service 9don't know quite how they are going to do that one ;-) I have to use a proxy for http, which works okay. I have to use SOCKS for telnet, which doesn't seem to work. With Kermit-95 2.0, I go to the TCP page for a dialer entry (cloned from this working one with "normal" telnet), and put in the address of the SOCKS server in the box on the left, with the port number 1080 in the box on the right. It doesn't connect. SOCKS 4.2 is enabled DNS Lookup... Trying 192.xxx.xx.xx... Failed Can't connect to mauve.xxxxx.net:23 SHOW TCP SET TCP parameters: Reverse DNS lookup: off DNS Service Records lookup: off Keepalive: on Linger: off DontRoute: off Nodelay: off Send buffer: 8192 bytes Receive buffer: 8192 bytes address: (none) http-proxy: (none) socks-server: 129.212.xx.xx:1080 Is there anything else I should be doing, to change an existing telnet dialer entry to SOCKS? Does the other end need to do something about SOCKS? I tried sniffing around the kermit online docs, and the columbia search page. http://www.kermit-project.org/search.html but the search returns a cannot find server error after a long while. -- --- Clarence A Dold - dold@email.rahul.net - Hidden Valley (Lake County) CA. From jaltman@watsun.cc.columbia.edu Thu Sep 26 09:57:32 EDT 2002 Article: 13729 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!jaltman From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman) Newsgroups: comp.protocols.kermit.misc Subject: Re: Kermit-95 Socks Date: 26 Sep 2002 00:51:14 GMT Organization: Columbia University Lines: 57 Message-ID: References: NNTP-Posting-Host: watsun.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1033001474 24365 128.59.39.2 (26 Sep 2002 00:51:14 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 26 Sep 2002 00:51:14 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13729 Get your sysadmin to look at the logs for the socks server and see why it is denying you. In article , wrote: : Stupid corporate firewalls ;-( : : On Sep 30, we lose telnet access to ther internet, as well as access to any : email-web service 9don't know quite how they are going to do that one ;-) : : I have to use a proxy for http, which works okay. : I have to use SOCKS for telnet, which doesn't seem to work. : : With Kermit-95 2.0, I go to the TCP page for a dialer entry (cloned from : this working one with "normal" telnet), and put in the address of the SOCKS : server in the box on the left, with the port number 1080 in the box on the : right. : : It doesn't connect. : SOCKS 4.2 is enabled : DNS Lookup... Trying 192.xxx.xx.xx... Failed : Can't connect to mauve.xxxxx.net:23 : SHOW TCP : SET TCP parameters: : Reverse DNS lookup: off : DNS Service Records lookup: off : Keepalive: on : Linger: off : DontRoute: off : Nodelay: off : Send buffer: 8192 bytes : Receive buffer: 8192 bytes : address: (none) : http-proxy: (none) : socks-server: 129.212.xx.xx:1080 : : Is there anything else I should be doing, to change an existing telnet : dialer entry to SOCKS? Does the other end need to do something about : SOCKS? : : I tried sniffing around the kermit online docs, and the columbia search : page. http://www.kermit-project.org/search.html : but the search returns a cannot find server error after a long while. : : : : : : -- : --- : Clarence A Dold - dold@email.rahul.net : - Hidden Valley (Lake County) CA. Jeffrey Altman * Sr.Software Designer Kermit 95 2.0 GUI available now!!! The Kermit Project @ Columbia University SSH, Secure Telnet, Secure FTP, HTTP http://www.kermit-project.org/ Secured with MIT Kerberos, SRP, and kermit-support@columbia.edu OpenSSL. From rgibbens@redskytech.com Thu Sep 26 10:55:55 EDT 2002 Article: 13730 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!iad-peer.news.verio.net!news.verio.net!solaris.cc.vt.edu!news.vt.edu!msunews!not-for-mail From: "Robert Gibbens" Newsgroups: comp.protocols.kermit.misc Subject: Detecting modem type Date: Thu, 26 Sep 2002 10:48:38 -0400 Organization: Michigan State University Lines: 8 Message-ID: NNTP-Posting-Host: 208.48.6.2 X-AUTHid: gibbensr X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13730 Is there a way that Kermit can automatically detect the modem type for a computer? I am using Visual Basic to create the Kermit scripts, and it's going to need to run on multiple machines with different modem types. Robert Gibbens rgibbens@redskytech.com From fdc@columbia.edu Thu Sep 26 10:55:57 EDT 2002 Article: 13731 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Detecting modem type Date: 26 Sep 2002 10:55:42 -0400 Organization: Columbia University Lines: 22 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1033052145 29983 128.59.39.139 (26 Sep 2002 14:55:45 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 26 Sep 2002 14:55:45 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13731 In article , Robert Gibbens wrote: : Is there a way that Kermit can automatically detect the modem type for a : computer? I am using Visual Basic to create the Kermit scripts, and it's : going to need to run on multiple machines with different modem types. : You're talking about Windows. Kermit 95 is the Kermit software for Windows: http://www.columbia.edu/kermit/k95.html Assuming that is what you are using, just tell it to: set port tapi rather than something like: set modem type usrobotics set port com1 Then it will pick up the modem type automatically from the Control Panel. - Frank From rgibbens@redskytech.com Thu Sep 26 11:16:24 EDT 2002 Article: 13732 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!news-out.cwix.com!newsfeed.cwix.com!solaris.cc.vt.edu!news.vt.edu!msunews!not-for-mail From: "Robert Gibbens" Newsgroups: comp.protocols.kermit.misc Subject: Re: Detecting modem type Date: Thu, 26 Sep 2002 11:01:47 -0400 Organization: Michigan State University Lines: 33 Message-ID: References: NNTP-Posting-Host: 208.48.6.2 X-AUTHid: gibbensr X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13732 Thanks Frank. You're right, I'm using Kermit95 (should have mentioned that). I just found an old newsgroup post of yours that mentioned the same thing. Thanks for the help. "Frank da Cruz" wrote in message news:amv75e$9u2$1@watsol.cc.columbia.edu... > In article , > Robert Gibbens wrote: > : Is there a way that Kermit can automatically detect the modem type for a > : computer? I am using Visual Basic to create the Kermit scripts, and it's > : going to need to run on multiple machines with different modem types. > : > You're talking about Windows. Kermit 95 is the Kermit software for Windows: > > http://www.columbia.edu/kermit/k95.html > > Assuming that is what you are using, just tell it to: > > set port tapi > > rather than something like: > > set modem type usrobotics > set port com1 > > Then it will pick up the modem type automatically from the Control Panel. > > - Frank From bayers@yahoo.com Fri Sep 27 08:41:16 EDT 2002 Article: 13733 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: bayers@yahoo.com (Jim Bayers) Newsgroups: comp.protocols.kermit.misc Subject: OUTPUT Command Missing Text Date: 26 Sep 2002 17:07:15 -0700 Organization: http://groups.google.com/ Lines: 16 Message-ID: <55835a9f.0209261607.1159206d@posting.google.com> NNTP-Posting-Host: 128.196.133.225 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1033085235 11312 127.0.0.1 (27 Sep 2002 00:07:15 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 27 Sep 2002 00:07:15 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13733 I've been trying to get my scripts to work under v2. The output command isn't working right for me. I have: OUTPUT telnet test.edu\13 and it outputs this: t.edu If I slow the modem speed down to 2400, it outputs: elnet test.edu Any idea why it's dropping letters? Thanks From dold@55.usenet.us.com Fri Sep 27 08:41:19 EDT 2002 Article: 13734 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newspump.monmouth.com!newspeer.monmouth.com!news.maxwell.syr.edu!news-out.nuthinbutnews.com!propagator2-sterling!news-in-sterling.newsfeed.com!feedwest.aleron.net!aleron.net!news.mainstreet.net!wasp.rahul.net!blue.rahul.net!not-for-mail From: dold@55.usenet.us.com Newsgroups: comp.protocols.kermit.misc Subject: telnet:ntlm to win 2000 Date: Fri, 27 Sep 2002 00:29:22 +0000 (UTC) Organization: a2i network Lines: 25 Sender: Clarence Dold Message-ID: NNTP-Posting-Host: mauve.rahul.net X-Trace: blue.rahul.net 1033086562 16492 192.160.13.69 (27 Sep 2002 00:29:22 GMT) X-Complaints-To: support@rahul.net NNTP-Posting-Date: Fri, 27 Sep 2002 00:29:22 +0000 (UTC) X-Comment: Encoded From: line allows replies that preserve original subject User-Agent: tin/1.4.6-20020816 ("Aerials") (UNIX) (Linux/2.4.9-34 (i686)) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13734 I am using K95 2.0 to connect to a command line prompt on a Win2000 box. The login part was a little off. Since it wants to do NTLM, which Kermit-95 supports, I didn't need the login.ksc script. Adding that only slowed things down. I was already logged in before the script started. So, it works... but I don't seem to have a screen scrollback buffer. If I alt-x to command mode, my GUI scrollbar appears, but it's not there in the connect mode. Show Term says it's 512 lines. PgUp/PgDown says "SCROLLBACK top line is 2 out of 24" If I start with a telnet session to a unix box, alt-x, and then, from a command prompt, do a telnet to the Win2000 box, then I have a scrollback buffer, but it's only 48 lines. If I use Kermit to connect to the unix box (Linux redhat-release-7.3-1), and use the Linux telnet to connect to the Win2000 box, I get the no-scrollback effect, just like going directly from my K95. If I set "telnet debug", I get a 61 line scrollback... that's where I'll leave it for now. -- --- Clarence A Dold - dold@email.rahul.net - Hidden Valley (Lake County) CA. From jaltman@watsun.cc.columbia.edu Fri Sep 27 08:41:23 EDT 2002 Article: 13735 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!jaltman From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman) Newsgroups: comp.protocols.kermit.misc Subject: Re: telnet:ntlm to win 2000 Date: 27 Sep 2002 03:37:24 GMT Organization: Columbia University Lines: 36 Message-ID: References: NNTP-Posting-Host: watsun.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1033097844 1539 128.59.39.2 (27 Sep 2002 03:37:24 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 27 Sep 2002 03:37:24 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13735 Please read http://www.kermit-project.org/telnet.html#x5.11 In article , wrote: : I am using K95 2.0 to connect to a command line prompt on a Win2000 box. : The login part was a little off. Since it wants to do NTLM, which : Kermit-95 supports, I didn't need the login.ksc script. Adding that only : slowed things down. I was already logged in before the script started. : : So, it works... but I don't seem to have a screen scrollback buffer. : If I alt-x to command mode, my GUI scrollbar appears, but it's not there in : the connect mode. Show Term says it's 512 lines. : PgUp/PgDown says "SCROLLBACK top line is 2 out of 24" : : If I start with a telnet session to a unix box, alt-x, and then, from a : command prompt, do a telnet to the Win2000 box, then I have a scrollback : buffer, but it's only 48 lines. If I use Kermit to connect to the unix box : (Linux redhat-release-7.3-1), and use the Linux telnet to connect to the : Win2000 box, I get the no-scrollback effect, just like going directly from : my K95. : : If I set "telnet debug", I get a 61 line scrollback... that's where I'll : leave it for now. : : : -- : --- : Clarence A Dold - dold@email.rahul.net : - Hidden Valley (Lake County) CA. Jeffrey Altman * Sr.Software Designer Kermit 95 2.0 GUI available now!!! The Kermit Project @ Columbia University SSH, Secure Telnet, Secure FTP, HTTP http://www.kermit-project.org/ Secured with MIT Kerberos, SRP, and kermit-support@columbia.edu OpenSSL. From fdc@columbia.edu Fri Sep 27 08:41:25 EDT 2002 Article: 13736 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: OUTPUT Command Missing Text Date: 27 Sep 2002 08:41:11 -0400 Organization: Columbia University Lines: 21 Message-ID: References: <55835a9f.0209261607.1159206d@posting.google.com> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1033130472 13868 128.59.39.139 (27 Sep 2002 12:41:12 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 27 Sep 2002 12:41:12 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13736 In article <55835a9f.0209261607.1159206d@posting.google.com>, Jim Bayers wrote: : I've been trying to get my scripts to work under v2. The output command : isn't working right for me. I have: : : OUTPUT telnet test.edu\13 : : and it outputs this: : : t.edu : : If I slow the modem speed down to 2400, it outputs: : : elnet test.edu : : Any idea why it's dropping letters? : Most likely lack of effective flow control. You would have to give more info about the connection for us to give better help. - Frank From dold@55.usenet.us.com Fri Sep 27 12:45:21 EDT 2002 Article: 13737 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!news-out.visi.com!hermes.visi.com!news.lightlink.com!wasp.rahul.net!blue.rahul.net!not-for-mail From: dold@55.usenet.us.com Newsgroups: comp.protocols.kermit.misc Subject: Re: telnet:ntlm to win 2000 Date: Fri, 27 Sep 2002 15:20:55 +0000 (UTC) Organization: a2i network Lines: 27 Sender: Clarence Dold Message-ID: References: NNTP-Posting-Host: mauve.rahul.net X-Trace: blue.rahul.net 1033140055 24321 192.160.13.69 (27 Sep 2002 15:20:55 GMT) X-Complaints-To: support@rahul.net NNTP-Posting-Date: Fri, 27 Sep 2002 15:20:55 +0000 (UTC) X-Comment: Encoded From: line allows replies that preserve original subject User-Agent: tin/1.4.6-20020816 ("Aerials") (UNIX) (Linux/2.4.9-34 (i686)) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13737 Jeffrey Altman wrote: > Please read > http://www.kermit-project.org/telnet.html#x5.11 > In article , wrote: > : I am using K95 2.0 to connect to a command line prompt on a Win2000 box. > : The login part was a little off. Since it wants to do NTLM, which > : Kermit-95 supports, I didn't need the login.ksc script. Adding that only > : slowed things down. I was already logged in before the script started. My telnet server didn't like vtnt emulation at all. That gave what appeared to be broken positioning strings on every carriage return. vt100 seems to be okay. I am leaving telnet debug on, as that at least gives me a 61 line scrollback. I am able to log in as a different user on that machine, using the login pane of the connection attributes. The web page suggests differently, or is that caveat only for 1.1.20? "If NTLM is used, the user can only log into the service with the identity they are logged into the local workstation. If another username is desired NTLM must be disabled on the client (SET TELOPT AUTH REFUSE). [K95 1.1.20 only] " From jaltman@watsun.cc.columbia.edu Fri Sep 27 12:45:26 EDT 2002 Article: 13738 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!jaltman From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman) Newsgroups: comp.protocols.kermit.misc Subject: Re: telnet:ntlm to win 2000 Date: 27 Sep 2002 16:00:56 GMT Organization: Columbia University Lines: 37 Message-ID: References: NNTP-Posting-Host: watsun.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1033142456 22200 128.59.39.2 (27 Sep 2002 16:00:56 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 27 Sep 2002 16:00:56 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13738 In article , wrote: : Jeffrey Altman wrote: : > Please read : : > http://www.kermit-project.org/telnet.html#x5.11 : : > In article , wrote: : > : I am using K95 2.0 to connect to a command line prompt on a Win2000 box. : > : The login part was a little off. Since it wants to do NTLM, which : > : Kermit-95 supports, I didn't need the login.ksc script. Adding that only : > : slowed things down. I was already logged in before the script started. : : My telnet server didn't like vtnt emulation at all. That gave what : appeared to be broken positioning strings on every carriage return. vt100 : seems to be okay. I am leaving telnet debug on, as that at least gives me : a 61 line scrollback. There are no positioning strings in VTNT. VTNT works by sending binary images of the Windows Console Screen Buffer. What is represented by Kermit is the image of what is in the screen buffer. : I am able to log in as a different user on that machine, using the login : pane of the connection attributes. The web page suggests differently, or : is that caveat only for 1.1.20? : : "If NTLM is used, the user can only log into the service with the identity : they are logged into the local workstation. If another username is desired : NTLM must be disabled on the client (SET TELOPT AUTH REFUSE). [K95 1.1.20 : only] : " 1.1.21 added the ability to specify username and password for NTLM negotiations. This did not exist in 1.1.20. Jeffrey Altman * Sr.Software Designer Kermit 95 2.0 GUI available now!!! The Kermit Project @ Columbia University SSH, Secure Telnet, Secure FTP, HTTP http://www.kermit-project.org/ Secured with MIT Kerberos, SRP, and kermit-support@columbia.edu OpenSSL. From rayward@metronet.com Fri Sep 27 15:34:21 EDT 2002 Article: 13739 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: rayward@metronet.com (Ray Ward) Newsgroups: comp.protocols.kermit.misc,comp.unix.xenix.sco,comp.dcom.modems Subject: Re: Help! Trying to send files via serial modem... Date: 27 Sep 2002 12:19:14 -0700 Organization: http://groups.google.com/ Lines: 122 Message-ID: <7ea6ad1.0209271119.527a46fc@posting.google.com> References: <7ea6ad1.0209241717.7af4adc8@posting.google.com> NNTP-Posting-Host: 63.99.201.12 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1033154355 9692 127.0.0.1 (27 Sep 2002 19:19:15 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 27 Sep 2002 19:19:15 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13739 comp.unix.xenix.sco:18673 comp.dcom.modems:316244 fdc@columbia.edu (Frank da Cruz) wrote in message news:... Thanks for the prompt and informative response! Please see below... > In article <7ea6ad1.0209241717.7af4adc8@posting.google.com>, > Ray Ward wrote: > : ...my client needs to get data off of a fairly > : large number (100's) of old Xenix 2.3.2 SysV boxes (i386) to an > : off-site, modern box to do the checking. (I'm not sure that all the > : Xenix boxes are the exact same version.) Deadline's in October. > : > : My first thought was to automatically send files daily using Kermit > : from a cron(1) script to a ProCommPlus 4.8 server running in Kermit > : server mode on the client's Win2000 box. > : [snip] > : ...so I have to find an executable file. > : > We have the following SCO Xenix binaries on our FTP site: > > cku192.sco286 Xenix/286 2.2.1 > cku190b02.sco386netc-2.2.3 Xenix/386 2.2.3 > cku192.sco3r2lai Xenix/386 2.3.3 with Lachman Assoc TCP/IP > cku201.sco234 Xenix/386 2.3.4 > > Plus some other 2.3.4 variations. You can find them here: > > http://www.columbia.edu/kermit/ck80binaries.html > > All of these except the 2.3.4 ones are rather old (C-Kermit version 5 or 6) > but still much newer than the one you have (version 4). I have downloaded a few of these, but only the older ones are small enough to transfer on a 1.2Mb floppy. I am now trying to connect using the 21-day Kermit evaluation program, and I'm still getting the same dropped line. ProComm Plus is running in server mode with Kermit as the file transfer protocol. It looks like ProComm is dropping the line. > > : They already have the ProCommPlus set up. > : > : When I try to connect from the interactive Kermit that I found on one > : machine (072 24 Jan 89 Xenix/286) it seems to connect... > : > Could I get you to upload that binary to our site so we can include it > with the other Xenix binaries? Sure. I'll try to get a copy the next time I'm at the client site. [snip] > : So, I downloaded the 21-day eval copy of Kermit95 2.0 onto my Win98 > : box and got the same result, with a little more detail: > : > : Kermit session.log: > : ATQ0V1 > : > : OK > : ATDT9721234567 > : > : CONNECT > : (see garbage...) > : NO CARRIER > : > : Looks kind of like a baud rate mismatch. So I set both the PC+ and > : the Kermit95 to 2400 baud, xon/xoff, 8n1, full duples, 1 check byte. > : Didn't help. > : > Let's assume your plan is to dial each Xenix box from Windows, log in, > start Kermit on Xenix, then transfer the file (since having 100 Xenix > boxes call one Windows box would not make a lot of sense). Actually, I have to dial from the Xenix boxes to the remote server. The client does not want liability for security problems if we have to leave the modems in auto-answer mode. The machines are used for the daily operations of the customers' businesses all over the country, and the business owners are not technically savvy. Getting hacked on such old equipment would be disasterous, and would practically put them out of business. I may try to set up Kermit95 in server mode on the file server next week, or fall back to setting up uucp on the old Xenix boxes and installing Linux to run uucp on the central server. I have never used Kermit as a server, so that may be interesting... > The Windows box no doubt has an all-singing all-dancing V.Everything modem, > most likely a Winmodem. The first thing you need to know about these is > that you must address them by the Windows name (from the Modems folder in > the Control Panel), not by their DOS name, such as COM1. In Kermit 95: > > set port tapi > set speed xxxx > dial 9721234567 Thanks for the tip on the modem naming convention -- I didn't know that. > But "xxxx" is the kicker. What should it be? Does the calling modem > support protocol negotiation and fallback? If not, you'll need to set K95's > interface speed to whatever each Xenix modem supports. I think that rather than dumbing down the central server's modem, I'll just let the modems negotiate -- I think all are USR Sportsters, and should negotiate. > If all the Xenix boxes are different, then getting this to work 100 times > might be tricky, and in that case maybe it DOES make sense to have the > Xenixes call Windows after all. But then you have a couple new problems: > > 1. Windows is not like Xenix -- you can't call it up, get a login: Don't get me started! ;-) > 2. You'll no doubt have contention, so your calling procedure will have > handle the busy-redial scenario (which modern C-Kermit programs are > fully capable of, but not the ancient one you have). This is one of the reasons I wanted to use Kermit. Handling contention with uucp, and actually confirming complete reception of the file is something I haven't looked at in more then 15 years! - Ray rayward@metronet.com From fdc@columbia.edu Fri Sep 27 15:34:24 EDT 2002 Article: 13740 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc,comp.unix.xenix.sco,comp.dcom.modems Subject: Re: Help! Trying to send files via serial modem... Date: 27 Sep 2002 15:34:16 -0400 Organization: Columbia University Lines: 49 Message-ID: References: <7ea6ad1.0209241717.7af4adc8@posting.google.com> <7ea6ad1.0209271119.527a46fc@posting.google.com> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1033155257 1583 128.59.39.139 (27 Sep 2002 19:34:17 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 27 Sep 2002 19:34:17 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13740 comp.unix.xenix.sco:18674 comp.dcom.modems:316245 In article <7ea6ad1.0209271119.527a46fc@posting.google.com>, Ray Ward wrote: : ... : I am now trying to connect using the 21-day Kermit evaluation program, : and I'm still getting the same dropped line. ProComm Plus is running : in server mode with Kermit as the file transfer protocol. It looks : like ProComm is dropping the line. : Right, so switch from Procomm to K95 and go from there. : > Let's assume your plan is to dial each Xenix box from Windows, log in, : > start Kermit on Xenix, then transfer the file (since having 100 Xenix : > boxes call one Windows box would not make a lot of sense). : : Actually, I have to dial from the Xenix boxes to the remote server. : The client does not want liability for security problems if we have : to leave the modems in auto-answer mode. : OK... : I have never used Kermit as a server, so that may be interesting... : It works and we can help you with it. As I said previously, the trick is getting the speeds to match on both ends. Then once you've done that there's also flow control to consider (Xenix doesn't support RTS/CTS). : I think that rather than dumbing down the central server's modem, I'll : just let the modems negotiate -- I think all are USR Sportsters, and should : negotiate. : Sportster means V.32 and above, right? And presumably all Sportsters support local Xon/Xoff, so if the Xenix ports are configured for Xon/Xoff and the Xenix and Sportster interface speeds are set the same, and the Sportster interface speed is locked, you should be all set. : > 2. You'll no doubt have contention, so your calling procedure will have : > handle the busy-redial scenario (which modern C-Kermit programs are : > fully capable of, but not the ancient one you have). : : This is one of the reasons I wanted to use Kermit. : C-Kermit 6.0 is the first version with all the fancy dialing options. You might be able to squeeze some of the newer C-Kermit versions onto 1.2MB floppies if you compress them. Or you can split the binary across two floppies and then cat them together on the Xenix hard disk. Let us know how it goes. - Frank From r..collins@sympatico.ca Fri Sep 27 17:46:13 EDT 2002 Article: 13741 of comp.protocols.kermit.misc From: "Richard Collins" Newsgroups: comp.protocols.kermit.misc,comp.unix.xenix.sco,comp.dcom.modems References: <7ea6ad1.0209241717.7af4adc8@posting.google.com> <7ea6ad1.0209271119.527a46fc@posting.google.com> Subject: Re: Help! Trying to send files via serial modem... Lines: 53 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: Date: Fri, 27 Sep 2002 16:31:28 -0400 NNTP-Posting-Host: 64.230.38.27 X-Complaints-To: abuse@sympatico.ca X-Trace: news20.bellglobal.com 1033158862 64.230.38.27 (Fri, 27 Sep 2002 16:34:22 EDT) NNTP-Posting-Date: Fri, 27 Sep 2002 16:34:22 EDT Organization: Bell Sympatico Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!news.maxwell.syr.edu!xmission!snoopy.risq.qc.ca!torn!webster!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13741 comp.unix.xenix.sco:18675 comp.dcom.modems:316247 "Ray Ward" wrote in message news:7ea6ad1.0209271119.527a46fc@posting.google.com... > fdc@columbia.edu (Frank da Cruz) wrote in message news:... > > > I think that rather than dumbing down the central server's modem, I'll > just let the modems negotiate -- I think all are USR Sportsters, and should > negotiate. > Jumping in the middle here. "speed mismatch" was mentioned somewhere along the line. That is a possibility, but you have to remember that there are two links to consider - the modem-modem (DCE) link and the modem-terminal (DTE) link. You're right in that the modems will negotiate a common speed between them, but all kinds of "funnies" can happen between the modems and the terminal, on the DTE link. Originally modems provided one speed, and were pretty simple devices - the port was set to match the modem's speed and all was well. When modems were introduced that handled multiple speeds (300 or 600 bps, for example) there was a problem - what speed do you set the port to? The answer was to have the modem tell the terminal program what speed it connected at - that's why you have a CONNECT message. The procedure was for the modem to negotiate a speed with the remote, and then tell its termnal, through the CONNECT message, what speed it would be using. The CONNECT message was sent at the speed the port was originally configured to and then: 1) the modem switched its DTE speed to match its DCE speed; _and_ 2) the terminal program was expected to change the port speed to match the speed noted in the CONNECT message. You'll note that _both_ speeds had to be change if communications beyond that point were to be successful. When buffering was added to the modem it was possible to maintain a different speed on the DCE link than of the DTE link - the buffer, and flow control, would handle the speed differential. Of course, commands were added to the modem repetoire to tell the modem whether it should change to the DCE speed after sending the CONNECT message or not, and since there are advantages to using a high DTE speed in relation to DCE speed (error correction and modem compression) the default was for the modem _not_ to switch speeds. Of course, that meant that the terminal program had to be instructed to ignore the speed in the CONNECT message and leave the port alone - otherwise, you would have a speed mismatch and a comm link failure. You might want to check the settings in your comm programs and the modem confug to ensure they both agree on whether to maintain a fixed port rate or not. From dold@35.usenet.us.com Fri Sep 27 18:43:12 EDT 2002 Article: 13742 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsfeed.mathworks.com!cyclone.swbell.net!newsfeed1.easynews.com!easynews.com!easynews!nntp2.aus1.giganews.com!nntp.giganews.com!central.cox.net!cox.net!news.lightlink.com!wasp.rahul.net!blue.rahul.net!not-for-mail From: dold@35.usenet.us.com Newsgroups: comp.protocols.kermit.misc,comp.unix.xenix.sco,comp.dcom.modems Subject: Re: Help! Trying to send files via serial modem... Date: Fri, 27 Sep 2002 22:06:18 +0000 (UTC) Organization: a2i network Lines: 17 Sender: Clarence Dold Message-ID: References: <7ea6ad1.0209241717.7af4adc8@posting.google.com> <7ea6ad1.0209271119.527a46fc@posting.google.com> NNTP-Posting-Host: yellow.rahul.net X-Trace: blue.rahul.net 1033164378 27627 192.160.13.18 (27 Sep 2002 22:06:18 GMT) X-Complaints-To: support@rahul.net NNTP-Posting-Date: Fri, 27 Sep 2002 22:06:18 +0000 (UTC) X-Comment: Encoded From: line allows replies that preserve original subject User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (FreeBSD/3.5-STABLE (i386)) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13742 comp.unix.xenix.sco:18676 comp.dcom.modems:316248 In comp.protocols.kermit.misc Ray Ward wrote: > I think that rather than dumbing down the central server's modem, I'll > just let the modems negotiate -- I think all are USR Sportsters, and should > negotiate. Bad pizza. Don't let the modems adjust the serial connection speed. The old OS don't understand that a modem is capable of that, and it doesn't work correctly on any modem above 9600 baud, except by occasional coincidence. Lock the serial speed to something a little higher than the modem's typical connect speed. That is almost certainly causing your trouble, and has caused trouble for me in the past. From dold@32.usenet.us.com Fri Sep 27 19:08:17 EDT 2002 Article: 13743 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsfeed.mathworks.com!cyclone.swbell.net!newsfeed1.easynews.com!easynews.com!easynews!newsfeed.news2me.com!west.cox.net!cox.net!gail.ripco.com!wasp.rahul.net!blue.rahul.net!not-for-mail From: dold@32.usenet.us.com Newsgroups: comp.protocols.kermit.misc Subject: Re: Kermit-95 Socks Date: Fri, 27 Sep 2002 22:59:20 +0000 (UTC) Organization: a2i network Lines: 24 Sender: Clarence Dold Message-ID: References: NNTP-Posting-Host: yellow.rahul.net X-Trace: blue.rahul.net 1033167560 27882 192.160.13.18 (27 Sep 2002 22:59:20 GMT) X-Complaints-To: support@rahul.net NNTP-Posting-Date: Fri, 27 Sep 2002 22:59:20 +0000 (UTC) X-Comment: Encoded From: line allows replies that preserve original subject User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (FreeBSD/3.5-STABLE (i386)) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13743 Jeffrey Altman wrote: > Get your sysadmin to look at the logs for the socks server and > see why it is denying you. > In article , wrote: > : SOCKS 4.2 is enabled > : DNS Lookup... Trying 192.xxx.xx.xx... Failed > : Can't connect to mauve.xxxxx.net:23 The corporate SOCKS server is SOCKS-5, which has a user name and password. Socks 4.2 (Kermit-95) doesn't have a spot to put in the usrname and password. I had to install a shim, called eBorder, that is SOCKS-5 compliant, and intercepts the traffic from a variety of programs, as expressed in it's configuration file. Of course the sysadmin has a pre-configured file, which includes executables as they exist on his system, which doesn't match mine, so more tinkering is required, although it like Kermit-95. http://www.permeo.com/products/eborder.htm From fdc@columbia.edu Fri Sep 27 19:09:37 EDT 2002 Article: 13744 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc,comp.unix.xenix.sco,comp.dcom.modems Subject: Re: Help! Trying to send files via serial modem... Date: 27 Sep 2002 19:06:08 -0400 Organization: Columbia University Lines: 34 Message-ID: References: <7ea6ad1.0209241717.7af4adc8@posting.google.com> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1033167969 10476 128.59.39.139 (27 Sep 2002 23:06:09 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 27 Sep 2002 23:06:09 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13744 comp.unix.xenix.sco:18677 comp.dcom.modems:316249 In article , Frank da Cruz wrote: : In article <7ea6ad1.0209241717.7af4adc8@posting.google.com>, : Ray Ward wrote: : : The Xenix boxes have only a : : 1.2Mb 5.25 floppy and a serial port external US Robotics Sportster : : modem (ranging from 2400-14400 bps). They were bought with : : application software only, no C compiler, make, man, etc.. : : : OK, too bad, no building modern Kermit versions. But maybe other readers : can help there. : By the way, there is also a very small -- but modern -- Kermit program for Xenix (and any other Unix) called G-Kermit: http://www.columbia.edu/kermit/gkermit.html It's only the file-transfer part -- no communications or dialing. However, it can be used to bootsrap the larger C-Kermit into a computer that doesn't have it, and doesn't have any other way to load it. The method is described at the end of the G-Kermit page. Of course in this case, since you don't have a C compiler, you can't use G-Kermit either unless somebody can first build it for your old Xenix version (the oldest version we have it for is for Xenix 2.3.4). Can anybody out there build G-Kermit for earlier and/or 16-bit Xenix versions? If so I can put the binaries up for the next time we get a call like this. It never ceases to amaze me how much Xenix is still out there, like in almost every doctor's or dentist's office I visit... It's an amazingly compact and fast version of Unix -- it boots and shuts down almost instantaneously, and it "just works" (and works, and works, ...) - Frank From news@taftpark.com Sun Sep 29 16:55:46 EDT 2002 Article: 13745 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!easynet-quince!easynet.net!cox.net!p01!news2.east.cox.net.POSTED!53ab2750!not-for-mail Message-ID: <3D976738.8CA3A669@taftpark.com> From: "Barry O. Andalman" Organization: Taft Park Data Co. X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc,comp.unix.xenix.sco,comp.dcom.modems Subject: Re: Help! Trying to send files via serial modem... References: <7ea6ad1.0209241717.7af4adc8@posting.google.com> <7ea6ad1.0209271119.527a46fc@posting.google.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 25 Date: Sun, 29 Sep 2002 20:48:32 GMT NNTP-Posting-Host: 68.11.122.27 X-Complaints-To: abuse@cox.net X-Trace: news2.east.cox.net 1033332512 68.11.122.27 (Sun, 29 Sep 2002 16:48:32 EDT) NNTP-Posting-Date: Sun, 29 Sep 2002 16:48:32 EDT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13745 comp.unix.xenix.sco:18678 comp.dcom.modems:316262 I have had trouble with "high speed" modems connecting and getting a login unless I explicitly set the baud rate by means of the AT37= register. The garbage you are experiencing could be due to a baud rate mismatch -- the modems are connecting at a different speed that that which is specified on the port. My 2 cents. dold@35.usenet.us.com wrote: > In comp.protocols.kermit.misc Ray Ward wrote: > > > I think that rather than dumbing down the central server's modem, I'll > > just let the modems negotiate -- I think all are USR Sportsters, and should > > negotiate. > > Bad pizza. Don't let the modems adjust the serial connection speed. The > old OS don't understand that a modem is capable of that, and it doesn't > work correctly on any modem above 9600 baud, except by occasional > coincidence. > > Lock the serial speed to something a little higher than the modem's typical > connect speed. > > That is almost certainly causing your trouble, and has caused trouble for > me in the past. From not-a-real-address@usa.net Mon Sep 30 09:30:41 EDT 2002 Article: 13746 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!newsfeed.icl.net!newsfeed.fjserv.net!oleane.net!oleane!freenix!news-feed.riddles.org.uk!sn-xit-03!sn-xit-06!sn-post-01!supernews.com!news.supernews.com!not-for-mail From: those who know me have no need of my name Newsgroups: comp.protocols.kermit.misc Subject: Re: Kermit-95 Socks Date: 30 Sep 2002 01:18:36 GMT Organization: earthfriends Message-ID: References: User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Informed Management (RC1), i686-redhat-linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@supernews.com Lines: 16 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13746 in comp.protocols.kermit.misc i read: >In article , wrote: >: It doesn't connect. >: SOCKS 4.2 is enabled >: DNS Lookup... Trying 192.xxx.xx.xx... Failed >: Can't connect to mauve.xxxxx.net:23 >Get your sysadmin to look at the logs for the socks server and >see why it is denying you. if that's the problem (and it seems it is) then it seems that k95 is presenting a sub-optimal failure message. -- bringing you boring signatures for 17 years From dold@32.usenet.us.com Mon Sep 30 09:30:46 EDT 2002 Article: 13747 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!nntp1.roc.gblx.net!nntp.gblx.net!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!newsfeed.news2me.com!newsfeed2.easynews.com!newsfeed1.easynews.com!easynews.com!easynews!crtntx1-snh1.gtei.net!sanjose1-snf1.gtei.net!news.gtei.net!news.mainstreet.net!wasp.rahul.net!blue.rahul.net!not-for-mail From: dold@32.usenet.us.com Newsgroups: comp.protocols.kermit.misc Subject: Re: Kermit-95 Socks Date: Mon, 30 Sep 2002 03:48:17 +0000 (UTC) Organization: a2i network Lines: 22 Sender: Clarence Dold Message-ID: References: NNTP-Posting-Host: yellow.rahul.net X-Trace: blue.rahul.net 1033357697 9997 192.160.13.18 (30 Sep 2002 03:48:17 GMT) X-Complaints-To: support@rahul.net NNTP-Posting-Date: Mon, 30 Sep 2002 03:48:17 +0000 (UTC) X-Comment: Encoded From: line allows replies that preserve original subject User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (FreeBSD/3.5-STABLE (i386)) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13747 those who know me have no need of my name wrote: > if that's the problem (and it seems it is) then it seems that k95 is > presenting a sub-optimal failure message. Unfortunately, it seems to be a crossing of rev levels. The Kermit SOCKS is 4.2. If the SOCKS-5 server is returning an error message, it may be something unexpected by Kermit, although I suppose it could say that the problem is in SOCKS somewhere. An annoying side effect of this is snooping. Shortly after I made the adjustment, adding a SOCKS-5 driver, the sysadmin asked me what "rahul.net" was. Later, he noticed that I wasn't able to reach a web site (the SOCKS driver was supposed to overlook Internet Explorer, letting http go through a different set of proxy nonsense). So now, I think the next step will be subliminal enforcement of the notice "corporate networks are only supposed to be used for business". -- --- Clarence A Dold - dold@email.rahul.net - Hidden Valley (Lake County) CA. From jaltman@watsun.cc.columbia.edu Mon Sep 30 09:30:48 EDT 2002 Article: 13748 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!jaltman From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman) Newsgroups: comp.protocols.kermit.misc Subject: Re: Kermit-95 Socks Date: 30 Sep 2002 09:52:12 GMT Organization: Columbia University Lines: 33 Message-ID: References: NNTP-Posting-Host: watsun.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1033379532 6460 128.59.39.2 (30 Sep 2002 09:52:12 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 30 Sep 2002 09:52:12 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13748 In article , wrote: : those who know me have no need of my name wrote: : : > if that's the problem (and it seems it is) then it seems that k95 is : > presenting a sub-optimal failure message. : : Unfortunately, it seems to be a crossing of rev levels. : The Kermit SOCKS is 4.2. If the SOCKS-5 server is returning an error : message, it may be something unexpected by Kermit, although I suppose it : could say that the problem is in SOCKS somewhere. 4.2 and 5.0 are incompatible protocols. Its like connecting to a telnet server with an ssh client. : An annoying side effect of this is snooping. : Shortly after I made the adjustment, adding a SOCKS-5 driver, the sysadmin : asked me what "rahul.net" was. Later, he noticed that I wasn't able to : reach a web site (the SOCKS driver was supposed to overlook Internet : Explorer, letting http go through a different set of proxy nonsense). : So now, I think the next step will be subliminal enforcement of the notice : "corporate networks are only supposed to be used for business". the whole purpose of authorization gateways such as SOCKS is to enforce restrictions on the use of the network for a specific set of purposes and to ensure that only approved data is transfered out of the network. you must assume that every connection you make is being logged along with the content that you are sending. if privacy is important to you then you must begin to encrypt your connections. Jeffrey Altman * Sr.Software Designer Kermit 95 2.0 GUI available now!!! The Kermit Project @ Columbia University SSH, Secure Telnet, Secure FTP, HTTP http://www.kermit-project.org/ Secured with MIT Kerberos, SRP, and kermit-support@columbia.edu OpenSSL. From dold@32.usenet.us.com Mon Sep 30 11:46:04 EDT 2002 Article: 13749 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newspump.monmouth.com!newspeer.monmouth.com!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!newsfeed.news2me.com!west.cox.net!cox.net!gail.ripco.com!wasp.rahul.net!blue.rahul.net!not-for-mail From: dold@32.usenet.us.com Newsgroups: comp.protocols.kermit.misc Subject: Re: Kermit-95 Socks Date: Mon, 30 Sep 2002 15:42:17 +0000 (UTC) Organization: a2i network Lines: 20 Sender: Clarence Dold Message-ID: References: NNTP-Posting-Host: mauve.rahul.net X-Trace: blue.rahul.net 1033400537 18617 192.160.13.69 (30 Sep 2002 15:42:17 GMT) X-Complaints-To: support@rahul.net NNTP-Posting-Date: Mon, 30 Sep 2002 15:42:17 +0000 (UTC) X-Comment: Encoded From: line allows replies that preserve original subject User-Agent: tin/1.4.6-20020816 ("Aerials") (UNIX) (Linux/2.4.9-34 (i686)) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13749 Jeffrey Altman wrote: > the whole purpose of authorization gateways such as SOCKS is to enforce > restrictions on the use of the network for a specific set of purposes > and to ensure that only approved data is transfered out of the network. > you must assume that every connection you make is being logged along > with the content that you are sending. if privacy is important to you > then you must begin to encrypt your connections. The stated purpose of the SOCKS requirement is to ensure the security of our network. This includes closing web-mail interfaces like yahoo and aol, because they do not offer security against virus downloads. Encryption isn't allowed (ssh for example), supposedly because the packet types cannot then be recognized by the firewwalls. -- --- Clarence A Dold - dold@email.rahul.net - Hidden Valley (Lake County) CA. From rgibbens@redskytech.com Tue Oct 1 15:18:23 EDT 2002 Article: 13750 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!news.stealth.net!news.stealth.net!solaris.cc.vt.edu!news.vt.edu!msunews!not-for-mail From: "Robert Gibbens" Newsgroups: comp.protocols.kermit.misc Subject: Return Value from User Defined Function Date: Tue, 1 Oct 2002 14:48:52 -0400 Organization: Michigan State University Lines: 23 Message-ID: NNTP-Posting-Host: 208.48.6.2 X-AUTHid: gibbensr X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13750 How would I go about evaluating the return value from a User defined function? For example, I have the function DEFINE mlChangePassword { (Do something) IF FAILURE { return 1 } else { return 0 } } and I would like to call it and check whether it returned a 0 or a 1 (Success/Failure) so that I can decide what to do next. Thanks, Robert Gibbens rgibbens@redskytech.com From rgibbens@redskytech.com Tue Oct 1 15:32:39 EDT 2002 Article: 13751 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!iad-peer.news.verio.net!news.verio.net!solaris.cc.vt.edu!news.vt.edu!msunews!not-for-mail From: "Robert Gibbens" Newsgroups: comp.protocols.kermit.misc Subject: Re: Return Value from User Defined Function Date: Tue, 1 Oct 2002 14:52:23 -0400 Organization: Michigan State University Lines: 31 Message-ID: References: NNTP-Posting-Host: 208.48.6.2 X-AUTHid: gibbensr X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13751 By the way, I'm using Kermit95 on Windows2000 Professional, running this script. "Robert Gibbens" wrote in message news:ancqme$2980$1@msunews.cl.msu.edu... > How would I go about evaluating the return value from a User defined > function? > For example, I have the function > > DEFINE mlChangePassword { > (Do something) > IF FAILURE { > return 1 > } > else > { > return 0 > } > } > > and I would like to call it and check whether it returned a 0 or a 1 > (Success/Failure) so that I can decide what to do next. > > Thanks, > Robert Gibbens > rgibbens@redskytech.com > > From fdc@columbia.edu Tue Oct 1 15:32:50 EDT 2002 Article: 13752 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Return Value from User Defined Function Date: 1 Oct 2002 15:31:19 -0400 Organization: Columbia University Lines: 71 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1033500680 1005 128.59.39.139 (1 Oct 2002 19:31:20 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 1 Oct 2002 19:31:20 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13752 In article , Robert Gibbens wrote: : How would I go about evaluating the return value from a User defined : function? : For example, I have the function : : DEFINE mlChangePassword { : (Do something) : IF FAILURE { : return 1 : } : else : { : return 0 : } : } : If all you want to do is return success or failure, you would use END rather than RETURN: DEFINE mlChangePassword { (Do something) IF FAILURE { end 1 } else { end 0 } } Then you can test the macro invocation with IF SUCCESS / FAILURE: mlChangePassword someargs... if fail exit 1 "Password change failed" If you want a macro to return an arbitrary value, rather than just succeed or fail, use the RETURN statement. The return value can be a number, a string, whatever. The caller can access the RETURN value in the \v(return) variable. You can also access a macro's return value directly if you invoke it as a user-defined function: .somevariable := \fexecute(macroname args) For example: define addemup { local \%i \%s .\%s := 0 for \%i 1 \v(argc)-1 1 { increment \%s \&_[\%i] } return \%s } .sum = \fexecute(addemup 1 2 3 4) echo \m(sum) which prints: 10 The script language is documented in "Using C-Kermit": http://www.columbia.edu/kermit/ck60manual.html as amplified by the update notes for versions 7 and 8: http://www.columbia.edu/kermit/ckermit70.html http://www.columbia.edu/kermit/ckermit80.html - Frank From fdc@columbia.edu Tue Oct 1 15:32:54 EDT 2002 Article: 13753 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Return Value from User Defined Function Date: 1 Oct 2002 15:32:34 -0400 Organization: Columbia University Lines: 10 Message-ID: References: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1033500756 1033 128.59.39.139 (1 Oct 2002 19:32:36 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 1 Oct 2002 19:32:36 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13753 In article , Robert Gibbens wrote: : By the way, I'm using Kermit95 on Windows2000 Professional, running this : script. : Doesn't matter -- Kermit scripts are portable among Windows, Linux, AIX, Solaris, VMS, HP-UX, FreeBSD, etc, except for obvious differences in filename syntax, etc. - Frank From hwting@yahoo.com Wed Oct 2 11:56:41 EDT 2002 Article: 13754 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: hwting@yahoo.com (Ben) Newsgroups: comp.protocols.kermit.misc Subject: Re: Need help: C-Kermit to send message page by using TAP protocol. Date: 2 Oct 2002 08:45:35 -0700 Organization: http://groups.google.com/ Lines: 38 Message-ID: <8f01e2d0.0210020745.2d1edf68@posting.google.com> References: <8f01e2d0.0209130838.38896a2d@posting.google.com> <8f01e2d0.0209131830.3e874155@posting.google.com> NNTP-Posting-Host: 202.166.126.227 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1033573535 7466 127.0.0.1 (2 Oct 2002 15:45:35 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 2 Oct 2002 15:45:35 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13754 Hi Frank, Everything was ok while i used Kermit 6 (bundle with HP-UX 11.00) with the alphapage6 that i get it from kermit homepage, except the "getline" function. As you mentioned the "getline" will work only with kermit 7 or later version, I have download kermit8, getline and alphapage8 for the TAP paging. For the start, I try manually to execute the kermit8 by the following command. ----------------------------------------------- #kermit8 -Y C-Kermit 8.0.201, 8 Feb 2002, for HP-UX 11.00 Copyright (C) 1985, 2002, Trustees of Columbia University in the City of New York. Type ? or HELP for help. (/usr/Paging/) C-Kermit>take alphapage8 (/usr/Paging/) C-Kermit>define testing 1 (/usr/Paging/) C-Kermit>APAGE 9956873 {testing} Trying: 64809988... Device: /dev/cul2a5, modem: usrobotics, speed: 2400 Dial timeout: 70 seconds To cancel: type your interrupt character (normally Ctrl-C). Call complete: "CONNECT 2400/NONE". WAITING FOR ID= PROMPT... NO ID= PROMPT - TRYING AGAINFAILED: No "ID=" prompt after 6 tries (/usr/Paging/) C-Kermit>^C... (/usr/Paging/) C-Kermit>exit Closing /dev/cul2a5...OK # ------------------------------------------------------------------------- The kermit8 program fail to capture the "ID=". While I try again with Kermit6 everything works fine. Please advise. Do provide more information on kermit8 , getline and alphapage8 for the TAP paging. From fdc@columbia.edu Wed Oct 2 11:56:46 EDT 2002 Article: 13755 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Need help: C-Kermit to send message page by using TAP protocol. Date: 2 Oct 2002 11:56:37 -0400 Organization: Columbia University Lines: 47 Message-ID: References: <8f01e2d0.0209130838.38896a2d@posting.google.com> <8f01e2d0.0209131830.3e874155@posting.google.com> <8f01e2d0.0210020745.2d1edf68@posting.google.com> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1033574199 16216 128.59.39.139 (2 Oct 2002 15:56:39 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 2 Oct 2002 15:56:39 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13755 In article <8f01e2d0.0210020745.2d1edf68@posting.google.com>, Ben wrote: : Everything was ok while i used Kermit 6 (bundle with HP-UX 11.00) with : the alphapage6 that i get it from kermit homepage, except the : "getline" function. : : As you mentioned the "getline" will work only with kermit 7 or later : version, I have download kermit8, getline and alphapage8 for the TAP : paging. : : For the start, I try manually to execute the kermit8 by the following : command. : ----------------------------------------------- : #kermit8 -Y : C-Kermit 8.0.201, 8 Feb 2002, for HP-UX 11.00 : Copyright (C) 1985, 2002, : Trustees of Columbia University in the City of New York. : Type ? or HELP for help. : (/usr/Paging/) C-Kermit>take alphapage8 : (/usr/Paging/) C-Kermit>define testing 1 : (/usr/Paging/) C-Kermit>APAGE 9956873 {testing} : Trying: 64809988... : Device: /dev/cul2a5, modem: usrobotics, speed: 2400 : Dial timeout: 70 seconds : To cancel: type your interrupt character (normally Ctrl-C). : Call complete: "CONNECT 2400/NONE". : It got a connection, good... : WAITING FOR ID= PROMPT... : NO ID= PROMPT - TRYING AGAINFAILED: No "ID=" prompt after 6 tries : But then it never received an "ID=" prompt. Since you enabled test mode ("define testing 1"), if anything had arrived from the paging service, you would have seen it on your screen. But nothing came. : The kermit8 program fail to capture the "ID=". While I try again with : Kermit6 everything works fine. Please advise. : I assume that 2400 is the right speed. Do your modem lights show anything coming in after the CONNECT message? Can you use C-Kermit 8.0 on the same computer to make other kinds of calls successfully? - Frank From hwting@yahoo.com Thu Oct 3 09:05:49 EDT 2002 Article: 13756 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: hwting@yahoo.com (Ben) Newsgroups: comp.protocols.kermit.misc Subject: Re: Need help: C-Kermit to send message page by using TAP protocol. Date: 3 Oct 2002 02:55:50 -0700 Organization: http://groups.google.com/ Lines: 17 Message-ID: <8f01e2d0.0210030155.1c6a92e0@posting.google.com> References: <8f01e2d0.0209130838.38896a2d@posting.google.com> <8f01e2d0.0209131830.3e874155@posting.google.com> <8f01e2d0.0210020745.2d1edf68@posting.google.com> NNTP-Posting-Host: 192.193.167.65 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1033638950 5643 127.0.0.1 (3 Oct 2002 09:55:50 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 3 Oct 2002 09:55:50 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13756 I try the kermit6 with the alphapage6 in the same HP machine. Page message was delivered sucessfully. #kermit -Y -C "take alphapage6,apage pagerID {testing}, exit" Trying: paging center number... Device: /dev/cul2a5, modem: usrobotics, speed: 2400 Dial timeout: 43 seconds To cancel: type your interrupt character (normally Ctrl-C). Call complete. ID= Processing - Please wait 1 Page Sent Good Bye # Question: Is the kermit8 support in HP-UX 11.00 platform? From fdc@columbia.edu Thu Oct 3 09:08:37 EDT 2002 Article: 13757 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: Need help: C-Kermit to send message page by using TAP protocol. Date: 3 Oct 2002 09:08:22 -0400 Organization: Columbia University Lines: 31 Message-ID: References: <8f01e2d0.0209130838.38896a2d@posting.google.com> <8f01e2d0.0210020745.2d1edf68@posting.google.com> <8f01e2d0.0210030155.1c6a92e0@posting.google.com> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1033650505 12965 128.59.39.139 (3 Oct 2002 13:08:25 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 3 Oct 2002 13:08:25 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13757 In article <8f01e2d0.0210030155.1c6a92e0@posting.google.com>, Ben wrote: : I try the kermit6 with the alphapage6 in the same HP machine. : Page message was delivered sucessfully. : : #kermit -Y -C "take alphapage6,apage pagerID {testing}, exit" : Trying: paging center number... : Device: /dev/cul2a5, modem: usrobotics, speed: 2400 : Dial timeout: 43 seconds : To cancel: type your interrupt character (normally Ctrl-C). : Call complete. : : ID= : Processing - Please wait : 1 Page Sent Good Bye : # : : Question: : Is the kermit8 support in HP-UX 11.00 platform? : Yes, of course it is. It has been thoroughly tested on every version of HP-UX from 5.21 to 11.11. Again: Can you make other kinds of data calls with C-Kermit 8.0 on the same computer? Please respond to: kermit-support@columbia.edu and then we will probably ask you to send logs, etc. - Frank From fdc@columbia.edu Thu Oct 3 14:05:45 EDT 2002 Article: 13758 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Temporarily offline Date: 3 Oct 2002 14:04:04 -0400 Organization: Columbia University Lines: 15 Message-ID: NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1033668246 26506 128.59.39.139 (3 Oct 2002 18:04:06 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 3 Oct 2002 18:04:06 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13758 It seems Columbia University's netnews service will be in the shop for repairs for a day or two, so those who post and do not see our normal speedy and cheerful responses to Kermit questions should not conclude we are slacking off. All should be back to normal early next week. In the meanwhile, send technical questions by email to: kermit-support@columbia.edu and send lots of orders by the usual channels -- September was a slow month and we could use them. Thanks! - Frank From not-a-real-address@usa.net Fri Oct 4 10:04:13 EDT 2002 Article: 13759 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!ord-feed.news.verio.net!stl-feed.news.verio.net!news.cc.ukans.edu!logbridge.uoregon.edu!newsfeed.dacom.co.kr!newsfeed.hananet.net!news-xfer.nuri.net!sn-xit-03!sn-xit-06!sn-post-01!supernews.com!news.supernews.com!not-for-mail From: those who know me have no need of my name Newsgroups: comp.lang.c,comp.protocols.kermit.misc Subject: Re: Getchar and null character Followup-To: comp.protocols.kermit.misc Date: 04 Oct 2002 03:51:02 GMT Organization: earthfriends Message-ID: References: <8847cac8.0210020017.45309597@posting.google.com> User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Informed Management (RC1), i686-redhat-linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@supernews.com Lines: 21 Xref: newsmaster.cc.columbia.edu comp.lang.c:599400 comp.protocols.kermit.misc:13759 in comp.lang.c i read: > >Even in binary mode you might have a problem. Many device drivers for >serial ports discard characters of binary 0, so the OS level and/or C >level drivers never see them. One reason for this is that a break >sequence looks like a character of binary 0 with a framing error when >received by most UARTs. > >8 or 10 years ago I needed a desk-top program that could accept >uploads of binary data that would almost certainly contain binary 0 >characters in the stream. I couldn't find an off-the-shelf terminal >program for MS-DOS or Windows that wouldn't throw them away, so I >ended up having to write my own program to access the UART directly. > if you find yourself in this sort of position again consider kermit, or at least the code therein. -- bringing you boring signatures for 17 years From jfathman@aol.com Sun Oct 6 11:03:02 EDT 2002 Article: 13760 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!news-hog.berkeley.edu!ucberkeley!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: jfathman@aol.com (Jim) Newsgroups: comp.protocols.kermit.misc Subject: YModem Date: 5 Oct 2002 19:12:51 -0700 Organization: http://groups.google.com/ Lines: 52 Message-ID: <6dfb5332.0210051812.463a13dc@posting.google.com> NNTP-Posting-Host: 198.81.21.23 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1033870371 30440 127.0.0.1 (6 Oct 2002 02:12:51 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 6 Oct 2002 02:12:51 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13760 Hello, For many years, I have been using YModem for serial and modem based file transfers in an embedded product. Now I am adding a TCP/IP network interface, while preserving the YModem functionality. I have the network interface working, but I have encountered a very odd problem. The YModem support in Kermit 95+ v2.0 and three other commercial telnet/YModem products I have tried all produce a YModem initial packet header that, based on my reading of the protocol spec, is non-compliant. Chuck Forsberg's spec (granted it is old, dated 9-11-86, but that is the newest I have found) specifies the format of the initial YModem packet as: SOH 00 FF foo.c NUL[123] CRC CRC But when I use Kermit or the other three commercial telnet/YModem products to send a file, they *all* produce an additional 0xFF before the file name. To rule out my embedded software, I wrote a simple socket server under Linux that accepts connection requests, issues 'C' prompts to make Kermit YModem send happy, and hex dumps the incoming bytes from the Kermit YModem send. As with my embedded product, Kermit YModem send produces: [0001] 0x01 = . <-- SOH [0002] 0x00 = . <-- sequence number [0003] 0xff = . <-- seq num complement [0004] 0xff = . <-- !! what is this ? !! [0005] 0x6a = j <-- start of file name [0006] 0x6d = m [0007] 0x66 = f [0008] 0x2e = . [0009] 0x6a = j [0010] 0x6d = m [0011] 0x66 = f [0012] 0x00 = . Kermit and three other commercial products can't all be wrong. What am I missing here? Is there a newer YModem spec that I just can't find? Are the rules for YModem over TCP different somehow than YModem over serial/modem? Any guidance would be most helpful. Thanks. Jim From fdc@columbia.edu Sun Oct 6 11:03:05 EDT 2002 Article: 13761 of comp.protocols.kermit.misc Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail From: fdc@columbia.edu (Frank da Cruz) Newsgroups: comp.protocols.kermit.misc Subject: Re: YModem Date: 6 Oct 2002 11:02:54 -0400 Organization: Columbia University Lines: 12 Message-ID: References: <6dfb5332.0210051812.463a13dc@posting.google.com> NNTP-Posting-Host: watsol.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1033916575 16524 128.59.39.139 (6 Oct 2002 15:02:55 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 6 Oct 2002 15:02:55 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13761 In article <6dfb5332.0210051812.463a13dc@posting.google.com>, Jim wrote: : ... : Kermit and three other commercial products can't all be wrong. What : am I missing here? Is there a newer YModem spec that I just can't : find? Are the rules for YModem over TCP different somehow than YModem : over serial/modem? : Any communication over a Telnet connection has to observe Telnet protocol rules. - Frank