From jaltman@columbia.edu Wed Nov 19 17:11:24 2003 Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!novia!newscene.com!newscene.com!newscene!novia!novia!newshosting.com!news-xfer2.atl.newshosting.com!167.206.3.103.MISMATCH!news3.optonline.net!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!53ab2750!not-for-mail From: Jeffrey Altman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6a) Gecko/20031030 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Re: aix to aix file transfer hangs References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 68 Message-ID: Date: Tue, 18 Nov 2003 21:44:45 GMT NNTP-Posting-Host: 66.108.138.151 X-Complaints-To: abuse@rr.com X-Trace: twister.nyc.rr.com 1069191885 66.108.138.151 (Tue, 18 Nov 2003 16:44:45 EST) NNTP-Posting-Date: Tue, 18 Nov 2003 16:44:45 EST Organization: Road Runner - NYC Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14675 Sounds like IBM's pseudoterminal bug has returned. Try not to transfer through the telnet daemon. Install C-Kermit as an IKSD; or as an OpenSSH subsystem; or use SET HOST * to accept an incoming connection from within Kermit. Bob wrote: > Hi All, > I need help transfering files from one aix box to another, both boxes > are: > > * Running on a IBM P690 Regatta LPAR * > * AIX Version 5.2.0-ML1 > > I downloaded the latest daily source and built the version for AIX 5.2 > at the kermit prompt found a script called "deliver", > > I typed: set host server2 > kermit responded with: server2.com connected on port telnet > > i typed the letter C and then logged into the remote machine > > so far so good.... > > on the remote machine I started kermit > > then used the ctrl-\ c to return > > so far still ok.... > > then I typed: send x.tar > > the file transfer screen on kermit appears, the transfer gets to 2% > and always get stuck, I tried different files, same thing, I can send > small text file, but it still gets stuck even though it says 100% > complete. > > here is what the stuck screen looks like: > > C-Kermit 8.0.210 Dev.00, 10 Nov 2003, server1.com [10.248.33. > 39] > Current Directory: /home/uwmrne/kermit > Network Host: server2.com:23 (UNIX) > Network Type: TCP/IP > Parity: none > RTT/Timeout: 08 / 00 > SENDING: x.tar => x.tar => /home/uwmrne/x.tar > File Type: BINARY > File Size: 9697280 > Percent Done: 2 / > > ...10...20...30...40...50...60...70...80...90..100 > Estimated Time Left: 00:02:10 > Transfer Rate, CPS: 72831 > Window Slots: STREAMING > Packet Type: D > Packet Count: 58 > Packet Length: 4000 > Error Count: 0 > Last Error: > Last Message: > > > > any ideas would be greatly appreciated. > > thanks...bob From kapebe@web.de Wed Nov 19 17:11:33 2003 Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail From: kapebe@web.de (Klaus-Peter Boden) Newsgroups: comp.protocols.kermit.misc Subject: Re: using telephone keys to acknowledge a call? Date: 19 Nov 2003 06:33:35 -0800 Organization: http://groups.google.com Lines: 64 Message-ID: References: NNTP-Posting-Host: 193.197.162.33 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1069252415 30680 127.0.0.1 (19 Nov 2003 14:33:35 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 19 Nov 2003 14:33:35 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14676 Frank da Cruz wrote in message news:... > In article , > Klaus-Peter Boden wrote: > : I'm trying to build the following 'scenario': > : I have a gsm modem (Falcom A2D, with a German Telecom D1 SIM card) > : which is connected through a serial line to a linux box. With kermit > : (700196, Debian Linux 2.4.18) I'm able to connect to the modem, input > : the PIN, getting network registration status, network field strength > : and so on (with special AT commands) and I'm able to dial out to other > : mobile phones or to conventional telephone network. > : So far, I'm happy ;-) > : > : What I would like to have is, that the called person can use it's > : phone keys, enter a combination of for example '#42' and use this, to > : 'acknowledge' that he/she had received the call and based on that, > : doing further logic in the kermit script, eg. call another number or > : trying 3 more times if he did'nt answer, then sending SMS,... and so > : on, or using different keys resulting in different 'actions' > A modem that uses the AT command set, or any other text-based command > set, is simply a character device to Kermit. In Kermit, if you enter > CONNECT (terminal) mode, then whatever you type at the keyboard is sent > out the serial port to the device. The only hint is that first you might > need to tell Kermit to: > > set carrier-watch off > > in case you need to communicate with the modem's command processor directly > when there is no Carrier Detect signal from the modem, > > But a modem is not the same as a telephone, and characters from the serial > port are not the same as telephone buttons. Therefore you must use the > modem command that simulates Tone dialing, which is ATDT. So, for example, > to simulate '#42' you would type "ATDT#42" and then press the Enter or > Return key. > > As to scripting, you can get an introduction here: > > http://www.columbia.edu/kermit/ckscripts.html > > In this case, it's a matter of knowing when to send the ATDT commands. > Kermit can only work with characters to and from the device. It can't > "hear" tones, beeps, bongs, or voice instructions. But sometimes the > modem can -- for example, some modems have a "wait for bong" command: > > ATDT$#42 > > You'll have to read your modem manual to find out what is supported by > your modem. As long as text comes out of the modem to indicate what is > happening, you can script interactions reliably. Otherwise, you'll have > to insert pauses to wait until it is safe to send the next command. > Thank you very much for the info! So if I understand you correct, it means that this is a feature of the modem and there have to be some modem-specific AT commands with which I can 'read' the keys, the user pressed (or whatever)... OK, next I will have to call the modem manufacturer if he supports those 'wait for bong' commands. Klaus -kpb> > - Frank From fdc@columbia.edu Wed Nov 19 17:18:03 2003 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: using telephone keys to acknowledge a call? Date: 19 Nov 2003 22:16:27 GMT Organization: Columbia University Lines: 27 Message-ID: References: Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1069280187 2453 128.59.59.56 (19 Nov 2003 22:16:27 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 19 Nov 2003 22:16:27 GMT User-Agent: slrn/0.9.7.4 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14677 In article , Klaus-Peter Boden wrote: : : So if I understand you correct, it means that this is a feature of the : modem and there have to be some modem-specific AT commands with which : I can 'read' the keys, the user pressed (or whatever)... : There are modem-specific commands that tell the modem to do what the telephone would do if you pressed dialing keys. ATDT123 tells the modem to send the DTMF tones that correspond to Touch-Tone telephone 1, 2, and 3 keys. The modem can't read keystrokes from the PC keyboard. It's the other way around: the PC software (Kermit in this case) sends data (keystrokes, scripted, or otherwise) to the modem. When the modem is in command mode, you have to send it legal AT commands. : OK, next I will have to call the modem manufacturer if he supports : those 'wait for bong' commands. : "Wait for bong" usually refers to credit card tones. This might not be what you have to wait for in your case. The real question is whether the modem provides sufficient information to the computer, or has its own commands, that will allow you to automate a process that relies on audible tones. - Frank From fdc@columbia.edu Sat Nov 22 12:11:53 2003 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: The Eight Queens Problem Date: 22 Nov 2003 17:10:12 GMT Organization: Columbia University Lines: 21 Message-ID: NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1069521012 6870 128.59.59.56 (22 Nov 2003 17:10:12 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 22 Nov 2003 17:10:12 GMT User-Agent: slrn/0.9.7.4 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14679 >From Dat Thuc Nguyen: : Prof. Dr. Niklaus Wirth described the 8-Queens Problem in details at: : http://www.acm.org/classics/dec95/. : Since the introduction of the S-Expression in C-Kermit 8.0, I saw that : Wirth's outlined solution can be implemented concisely in the C-Kermit : scripting language. ; : The attached C-Kermit script provides 92 solutions as Wirth found. : Thanks to both Frank da Cruz and Niklaus Wirth for an inspirational : experience with the art of programming. Dat's new script has been placed in the Kermit script library: http://www.columbia.edu/kermit/ckscripts.html as: ftp://kermit.columbia.edu/kermit/scripts/ckermit/the8queens - Frank From anthonypieper@cs.com Mon Nov 24 13:04:59 2003 Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail From: anthonypieper@cs.com (newexpectuser) Newsgroups: comp.protocols.kermit.misc Subject: How to install Kermit Date: 24 Nov 2003 05:24:01 -0800 Organization: http://groups.google.com Lines: 7 Message-ID: NNTP-Posting-Host: 209.251.39.194 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1069680241 16071 127.0.0.1 (24 Nov 2003 13:24:01 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 24 Nov 2003 13:24:01 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14680 I have a file for Linux 7.3 called cku209.linux-i386-rh7.3, but I'm not sure how to install this. Do I just use an RPM command ? Thanks From fdc@columbia.edu Mon Nov 24 14:03:04 2003 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: How to install Kermit Date: 24 Nov 2003 18:05:45 GMT Organization: Columbia University Lines: 12 Message-ID: References: Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1069697145 1737 128.59.59.56 (24 Nov 2003 18:05:45 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 24 Nov 2003 18:05:45 GMT User-Agent: slrn/0.9.7.4 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14681 In article , newexpectuser wrote: : I have a file for Linux 7.3 called cku209.linux-i386-rh7.3, but I'm : not sure how to install this. : : Do I just use an RPM command ? : Only if you have an RPM. Otherwise see: http://www.columbia.edu/kermit/ckuins.html - Frank From anthonypieper@cs.com Mon Nov 24 14:03:56 2003 Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail From: anthonypieper@cs.com (newexpectuser) Newsgroups: comp.protocols.kermit.misc Subject: Problems with send /delete command Date: 24 Nov 2003 10:39:19 -0800 Organization: http://groups.google.com Lines: 34 Message-ID: NNTP-Posting-Host: 209.251.39.194 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1069699160 6586 127.0.0.1 (24 Nov 2003 18:39:20 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 24 Nov 2003 18:39:20 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14682 I have Kermit running on Linux Release 9 and have the following lines in my script (This first logs me onto a remote server running Linux 7.3 and has Kermit): set host /pty ssh -e none l root xxx.xxx.xx.xxx if fail stop 1 minput 30 "password:" ">" if < \v(minput) 1 stop 1 "MINPUT = \v(minput)" switch \v(minput) { :1, echo PASSWORD INPUT OK lineout xxxxxxxxxx input 30 "#" if fail stop 1 PROMPT INPUT FAILED :2, echo PROMPT INPUT OK lineout "kermit -x" input 20 "KERMIT READY TO SERVE..." rcd /home/inbox send /delete testfile.dat } bye exit It logs me in and it gives me the remote directory listing, but when it executes the send /delete it says the following: ?File not found - "testfile.dat" Command stack: 3. Macro : SWITCH 2. Macro : _switx 1. File : /home/scripts/testkermit.sh (line 17) 0. Prompt : (top level) If I get the remote directory listing, I'm not sure why I am getting this error ? From fdc@columbia.edu Mon Nov 24 14:08:52 2003 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: Problems with send /delete command Date: 24 Nov 2003 19:06:53 GMT Organization: Columbia University Lines: 38 Message-ID: References: Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1069700813 4308 128.59.59.56 (24 Nov 2003 19:06:53 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 24 Nov 2003 19:06:53 GMT User-Agent: slrn/0.9.7.4 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14683 In article , newexpectuser wrote: : I have Kermit running on Linux Release 9 and have the following lines : in my script (This first logs me onto a remote server running Linux : 7.3 and has Kermit): : : set host /pty ssh -e none l root xxx.xxx.xx.xxx : if fail stop 1 : minput 30 "password:" ">" : if < \v(minput) 1 stop 1 "MINPUT = \v(minput)" : switch \v(minput) { ::1, echo PASSWORD INPUT OK : lineout xxxxxxxxxx : input 30 "#" : if fail stop 1 PROMPT INPUT FAILED ::2, echo PROMPT INPUT OK : lineout "kermit -x" : input 20 "KERMIT READY TO SERVE..." : rcd /home/inbox : send /delete testfile.dat : } : bye : exit : : It logs me in and it gives me the remote directory listing, but when : it executes the send /delete it says the following: : : ?File not found - "testfile.dat" : testfile.dat is a local file that you want to send to the remote computer. But testfile.dat does not exist in Kermit's current local directory. Either you misspelled the name or else you have to give a relative or absolute pathname for the source file. You should also check "rcd /home/inbox" with IF FAIL to make sure you're in the right remote directory before sending the file. - Frank From anthonypieper@cs.com Mon Nov 24 15:29:42 2003 Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!news.maxwell.syr.edu!postnews1.google.com!not-for-mail From: anthonypieper@cs.com (newexpectuser) Newsgroups: comp.protocols.kermit.misc Subject: Can Kermit check for or set a timeout condition Date: 24 Nov 2003 12:03:13 -0800 Organization: http://groups.google.com Lines: 9 Message-ID: NNTP-Posting-Host: 209.251.39.194 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1069704194 12617 127.0.0.1 (24 Nov 2003 20:03:14 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 24 Nov 2003 20:03:14 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14684 I am using Kermit from Linux and I am doing ssh. I want someway to check if the server I am connecting to is down, instead of hanging my script in an endless loop. Is there a way to check for this condition or tell Kermit after a certain amount of time, if it doesn't connect to quit ? Thank you From anthonypieper@cs.com Mon Nov 24 15:31:24 2003 Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail From: anthonypieper@cs.com (newexpectuser) Newsgroups: comp.protocols.kermit.misc Subject: Can Kermit check for a timeout condition or set one ? Date: 24 Nov 2003 12:04:37 -0800 Organization: http://groups.google.com Lines: 6 Message-ID: NNTP-Posting-Host: 209.251.39.194 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1069704277 12664 127.0.0.1 (24 Nov 2003 20:04:37 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 24 Nov 2003 20:04:37 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14685 I am using ssh to connect to a server via a Kermit Script. I don't want the script to still be running if it cannot connect, can Kermit check for a successful connection or a timeout condition and after this timeout, to give a message "Cannot connect...check other server". From fdc@columbia.edu Mon Nov 24 15:36:58 2003 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: Can Kermit check for or set a timeout condition Date: 24 Nov 2003 20:31:18 GMT Organization: Columbia University Lines: 26 Message-ID: References: Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1069705878 8545 128.59.59.56 (24 Nov 2003 20:31:18 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 24 Nov 2003 20:31:18 GMT User-Agent: slrn/0.9.7.4 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14686 In article , newexpectuser wrote: : I am using Kermit from Linux and I am doing ssh. : : I want someway to check if the server I am connecting to is down, : instead of hanging my script in an endless loop. : : Is there a way to check for this condition or tell Kermit after a : certain amount of time, if it doesn't connect to quit ? : For making SSH connections, C-Kermit just starts up the external ssh client, so in this case it's the ssh client and not Kermit that's taking forever. You might be able to alleviate this with something like: ping if failure (stop or exit) set host /pty .... But that only tells you if the host is up and reachable, not if an SSH server is running. In general you can't tell in advance whether a particular connection can be made. The only way to tell for sure is to try to make it. - Frank From fdc@columbia.edu Mon Nov 24 15:37:03 2003 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: Can Kermit check for a timeout condition or set one ? Date: 24 Nov 2003 20:32:32 GMT Organization: Columbia University Lines: 14 Message-ID: References: Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1069705952 8545 128.59.59.56 (24 Nov 2003 20:32:32 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 24 Nov 2003 20:32:32 GMT User-Agent: slrn/0.9.7.4 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14687 In article , newexpectuser wrote: : I am using ssh to connect to a server via a Kermit Script. : : I don't want the script to still be running if it cannot connect, can : Kermit check for a successful connection or a timeout condition and : after this timeout, to give a message "Cannot connect...check other : server". : Internet connections will time out eventually if they can't be made. The timeout occurs in the TCP/IP stack, not in Kermit. The SET HOST command will fail eventually. - Frank From jdanskinner@compuserve.com Tue Nov 25 09:49:51 2003 Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!sn-xit-03!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: "Dan Skinner" Newsgroups: comp.protocols.kermit.misc Subject: Re: Can Kermit check for a timeout condition or set one ? Date: Mon, 24 Nov 2003 21:48:40 -0600 Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Complaints-To: abuse@supernews.com Lines: 34 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14688 "Frank da Cruz" wrote in message news:slrnbs4qn0.2c9.fdc@sesame.cc.columbia.edu... > In article , > newexpectuser wrote: > : I am using ssh to connect to a server via a Kermit Script. > : > : I don't want the script to still be running if it cannot connect, can > : Kermit check for a successful connection or a timeout condition and > : after this timeout, to give a message "Cannot connect...check other > : server". > : If you are using K95 you might try set host /net:ssh /user:xxx /password:zzz and process result. If you are using *nix kermit you might try set host 22 If it is an SSH server port it obviously will not connect, but the result will tell you it is an SSH server. If it says I'm an SSH server then do ssh if not, just move on. Good Luck. Regards...Dan. > Internet connections will time out eventually if they can't be made. > The timeout occurs in the TCP/IP stack, not in Kermit. The SET HOST > command will fail eventually. > > - Frank From meff2@gmx.de Tue Nov 25 09:50:09 2003 Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!news.maxwell.syr.edu!postnews1.google.com!not-for-mail From: meff2@gmx.de (Meff) Newsgroups: comp.protocols.kermit.misc Subject: Re: using telephone keys to acknowledge a call? Date: 25 Nov 2003 00:40:02 -0800 Organization: http://groups.google.com Lines: 12 Message-ID: References: NNTP-Posting-Host: 194.64.33.194 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1069749602 30782 127.0.0.1 (25 Nov 2003 08:40:02 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 25 Nov 2003 08:40:02 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14689 > The modem can't read keystrokes from the PC keyboard. It's the other way > around: the PC software (Kermit in this case) sends data (keystrokes, > scripted, or otherwise) to the modem. When the modem is in command mode, > you have to send it legal AT commands. The DTMF decoding is described on http://www.gsm-modem.de/dtmf_decoder_gsm.html . You can do it with your sound card as well, if you wire the audio line of the GSM device to your PC right. Software for DTMF decoding you will find in the Internet. Regards Meff From anthonypieper@cs.com Tue Nov 25 09:54:55 2003 Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail From: anthonypieper@cs.com (newexpectuser) Newsgroups: comp.protocols.kermit.misc Subject: Problem in Kermit trying to get a file while sending it at the same time Date: 25 Nov 2003 05:32:43 -0800 Organization: http://groups.google.com Lines: 19 Message-ID: NNTP-Posting-Host: 209.251.39.194 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1069767163 17699 127.0.0.1 (25 Nov 2003 13:32:43 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 25 Nov 2003 13:32:43 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14690 I ran across this error as the scenerio describes. Both are trying to connect using SSH and CKERMIT. I am running a Kermit script called DROPOFF trying to send TESTFILE to a remote server (it is a 2meg file) at the same time I am running a Kermit PICKUP trying to mget files (including the TESTFILE) from this same server in the same directory. What is happening is, PICKUP ends first and has a partial file of TESTFILE and DROPOFF gets 74% done (according to Kermit) and then comes back with the error message "Last error: FAILURE: Error writing data" and it keeps around the partial file (74% of it). I'm not sure why this is happening and how to avoid it. It is a realtime scenerio where somebody may be dropping off a file in a directory, while the other script is trying to get all the files out of this directory. BTW: I am using Kermit so I can use the mget /delete option. From anthonypieper@cs.com Tue Nov 25 09:55:05 2003 Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail From: anthonypieper@cs.com (newexpectuser) Newsgroups: comp.protocols.kermit.misc Subject: How do I get kermit to return a code to a calling Linux Script ? Date: 25 Nov 2003 06:18:30 -0800 Organization: http://groups.google.com Lines: 22 Message-ID: NNTP-Posting-Host: 209.251.39.194 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1069769910 20847 127.0.0.1 (25 Nov 2003 14:18:30 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 25 Nov 2003 14:18:30 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14691 I have the following line that I purposely triggered to try to simulate a timeout condition in my script: . . . :1, echo PASSWORD PROMPT OK lineout xxxxxxxxx input 10 "#" if fail break stop 1 output \quit\13 . . . } echo "Outside loop" bye exit I have a Linux script calling this Kermit script, but it doesn't seem to recognize the return code of a 1 from the stop command ?...I had to use the 'output \quit\13' because the stop was leaving me at the "C-Kermit>" prompt, I guess this is the correct syntax, because it put me back into my calling script. From fdc@columbia.edu Tue Nov 25 09:58:30 2003 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: Problem in Kermit trying to get a file while sending it at the same time Date: 25 Nov 2003 14:54:42 GMT Organization: Columbia University Lines: 40 Message-ID: References: Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1069772082 26064 128.59.59.56 (25 Nov 2003 14:54:42 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 25 Nov 2003 14:54:42 GMT User-Agent: slrn/0.9.7.4 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14692 In article , newexpectuser wrote: : I ran across this error as the scenerio describes. Both are trying to : connect using SSH and CKERMIT. : : I am running a Kermit script called DROPOFF trying to send TESTFILE to : a remote server (it is a 2meg file) at the same time I am running a : Kermit PICKUP trying to mget files (including the TESTFILE) from this : same server in the same directory. : : What is happening is, PICKUP ends first and has a partial file of : TESTFILE and DROPOFF gets 74% done (according to Kermit) and then : comes back with the error message "Last error: FAILURE: Error writing : data" and it keeps around the partial file (74% of it). : : I'm not sure why this is happening and how to avoid it. It is a : realtime scenerio where somebody may be dropping off a file in a : directory, while the other script is trying to get all the files out : of this directory. : You answered your own question: : I am running a Kermit script called DROPOFF trying to send TESTFILE to : a remote server (it is a 2meg file) at the same time I am running a : Kermit PICKUP trying to mget files (including the TESTFILE) from this : same server in the same directory. The server does not have permission to write to a file that another process has open for reading. Nor would you want it to! Please read about transaction processing here: http://www.columbia.edu/kermit/case10.html and here: http://www.columbia.edu/kermit/ftpscripts.html#tp to see the kinds of things you need to do. - Frank From fdc@columbia.edu Tue Nov 25 09:58:33 2003 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: How do I get kermit to return a code to a calling Linux Script ? Date: 25 Nov 2003 14:57:36 GMT Organization: Columbia University Lines: 42 Message-ID: References: Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1069772256 26064 128.59.59.56 (25 Nov 2003 14:57:36 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 25 Nov 2003 14:57:36 GMT User-Agent: slrn/0.9.7.4 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14693 In article , newexpectuser wrote: : I have the following line that I purposely triggered to try to : simulate a timeout condition in my script: : . : . : . ::1, echo PASSWORD PROMPT OK : lineout xxxxxxxxx : input 10 "#" : if fail break stop 1 output \quit\13 : . : . : . : } : echo "Outside loop" : bye : exit : : I have a Linux script calling this Kermit script, but it doesn't seem : to recognize the return code of a 1 from the stop command ?...I had to : use the 'output \quit\13' because the stop was leaving me at the : "C-Kermit>" prompt, I guess this is the correct syntax, because it put : me back into my calling script. : Please read about the END, STOP, and EXIT commands. Each does a different thing. From your description I think you need the EXIT command in this case. Also you are probably better off coding the entire procedure in Kermit, rather than trying to mix shell and Kermit scripts, at least if you want us to keep helping you with it. Yesterday you were complaining about a loop, but you failed to mention that the loop was in a shell script. Kermit does loops too. Please read the manual and other documentation: http://www.columbia.edu/kermit/ckermit.html#doc and look at the sample scripts: http://www.columbia.edu/kermit/ckscripts.html - Frank From anthonypieper@cs.com Wed Nov 26 10:13:08 2003 Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail From: anthonypieper@cs.com (newexpectuser) Newsgroups: comp.protocols.kermit.misc Subject: Quick Question on switch statement and :1, :2 Date: 26 Nov 2003 05:16:06 -0800 Organization: http://groups.google.com Lines: 13 Message-ID: NNTP-Posting-Host: 209.251.39.194 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1069852566 17127 127.0.0.1 (26 Nov 2003 13:16:06 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 26 Nov 2003 13:16:06 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14694 I am using the following and was wondering if the :1 and :2 are just labels to clarify code. I am guessing that the "if < \v(input).." says if the return code of the minput statement is a 1, to exit with a return code of 1, otherwise check continue ? If that is true, then I think the :1 and :2 are nothing more than labels and have no affect on the script itself ? minput 30 "password:" if < \v(input) 1 exit 1 switch \v(minput) { :1 echo :2 echo From fdc@columbia.edu Wed Nov 26 10:29:34 2003 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: Quick Question on switch statement and :1, :2 Date: 26 Nov 2003 15:15:31 GMT Organization: Columbia University Lines: 17 Message-ID: References: Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1069859731 23660 128.59.59.56 (26 Nov 2003 15:15:31 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 26 Nov 2003 15:15:31 GMT User-Agent: slrn/0.9.7.4 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14695 In article , newexpectuser wrote: : I am using the following and was wondering if the :1 and :2 are just : labels to clarify code. I am guessing that the "if < \v(input).." says : if the return code of the minput statement is a 1, to exit with a : return code of 1, otherwise check continue ? : Read the manual or type "help switch" to find out how the SWITCH command works. Type "help xxx" to find out how any command xxx works. : If that is true, then I think the :1 and :2 are nothing more than : labels and have no affect on the script itself ? : The SWITCH command is explained on page 385 of "Using C-Kermit". You can't learn a programming language without a manual. - Frank From anthonypieper@cs.com Wed Nov 26 11:07:25 2003 Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail From: anthonypieper@cs.com (newexpectuser) Newsgroups: comp.protocols.kermit.misc Subject: Re: Problem in Kermit trying to get a file while sending it at the same time Date: 26 Nov 2003 07:31:10 -0800 Organization: http://groups.google.com Lines: 53 Message-ID: References: NNTP-Posting-Host: 209.251.39.194 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1069860670 26836 127.0.0.1 (26 Nov 2003 15:31:10 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 26 Nov 2003 15:31:10 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14696 Looking at Case Study #10, this tells me there would need to be two scripts running, 1 on the Branch machine to "send" the files and 1 on the HQ machine to "set receive" the files. My case is a little different, my HQ machine is the one running the Kermit Script (logging onto the Branch machine, changing to the directory where the file resides on the remote machine and doing a mget * command), so this example may not help me, unless I broke up the scripts into two. The issue with doing that is the Branch machine is a secure ftp server and cannot communicate over to the HQ machine for security reasons. Frank da Cruz wrote in message news:... > In article , > newexpectuser wrote: > : I ran across this error as the scenerio describes. Both are trying to > : connect using SSH and CKERMIT. > : > : I am running a Kermit script called DROPOFF trying to send TESTFILE to > : a remote server (it is a 2meg file) at the same time I am running a > : Kermit PICKUP trying to mget files (including the TESTFILE) from this > : same server in the same directory. > : > : What is happening is, PICKUP ends first and has a partial file of > : TESTFILE and DROPOFF gets 74% done (according to Kermit) and then > : comes back with the error message "Last error: FAILURE: Error writing > : data" and it keeps around the partial file (74% of it). > : > : I'm not sure why this is happening and how to avoid it. It is a > : realtime scenerio where somebody may be dropping off a file in a > : directory, while the other script is trying to get all the files out > : of this directory. > : > You answered your own question: > > : I am running a Kermit script called DROPOFF trying to send TESTFILE to > : a remote server (it is a 2meg file) at the same time I am running a > : Kermit PICKUP trying to mget files (including the TESTFILE) from this > : same server in the same directory. > > The server does not have permission to write to a file that another > process has open for reading. Nor would you want it to! Please read > about transaction processing here: > > http://www.columbia.edu/kermit/case10.html > > and here: > > http://www.columbia.edu/kermit/ftpscripts.html#tp > > to see the kinds of things you need to do. > > - Frank From fdc@columbia.edu Wed Nov 26 11:23:55 2003 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: Problem in Kermit trying to get a file while sending it at the same time Date: 26 Nov 2003 16:17:44 GMT Organization: Columbia University Lines: 26 Message-ID: References: Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1069863464 26178 128.59.59.56 (26 Nov 2003 16:17:44 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 26 Nov 2003 16:17:44 GMT User-Agent: slrn/0.9.7.4 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14697 In article , newexpectuser wrote: : Looking at Case Study #10, this tells me there would need to be two : scripts running, 1 on the Branch machine to "send" the files and 1 on : the HQ machine to "set receive" the files. : : My case is a little different, my HQ machine is the one running the : Kermit Script (logging onto the Branch machine, changing to the : directory where the file resides on the remote machine and doing a : mget * command), so this example may not help me, unless I broke up : the scripts into two. : You can have any arrangement you want: caller is HQ vs Branch; the server can be the caller or the callee, etc. Just reverse the example: tell the server on the Branch machine to "set send move-to ..." or whatever before it goes into server mode, and then tell the client at HQ to "mget" the files. : The issue with doing that is the Branch machine is a secure ftp server : and cannot communicate over to the HQ machine for security reasons. : I'm sure it's possible to have Kermit do whatever you want to it do. Read the manual and the updates and the case studies; study the sample scripts. - Frank From anthonypieper@cs.com Wed Nov 26 14:37:00 2003 Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!postnews1.google.com!not-for-mail From: anthonypieper@cs.com (newexpectuser) Newsgroups: comp.protocols.kermit.misc Subject: Re: Problem in Kermit trying to get a file while sending it at the same time Date: 26 Nov 2003 10:25:53 -0800 Organization: http://groups.google.com Lines: 66 Message-ID: References: NNTP-Posting-Host: 209.251.39.194 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1069871154 6856 127.0.0.1 (26 Nov 2003 18:25:54 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 26 Nov 2003 18:25:54 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14698 My main issue is the file(s) I want are on a secure ftp server. This process has other companies dropping off their files off in a certain directory, so if they are dropping off a large file in this directory at the same time I am trying to get the files from this directory, it seems I am getting only a partial file. I had thought remembering some protcols cannot "see" files in a directory until they are 100% finished being dropped off, I'm not sure if Kermit can handle this situation. Also, the way I am testing the method of dropping off the file is using a kermit script to connect to the server and using the send command (to send from my local area) after doing a rcd command. > Looking at Case Study #10, this tells me there would need to be two > scripts running, 1 on the Branch machine to "send" the files and 1 on > the HQ machine to "set receive" the files. > > My case is a little different, my HQ machine is the one running the > Kermit Script (logging onto the Branch machine, changing to the > directory where the file resides on the remote machine and doing a > mget * command), so this example may not help me, unless I broke up > the scripts into two. > > The issue with doing that is the Branch machine is a secure ftp server > and cannot communicate over to the HQ machine for security reasons. > Frank da Cruz wrote in message news:... > > In article , > > newexpectuser wrote: > > : I ran across this error as the scenerio describes. Both are trying to > > : connect using SSH and CKERMIT. > > : > > : I am running a Kermit script called DROPOFF trying to send TESTFILE to > > : a remote server (it is a 2meg file) at the same time I am running a > > : Kermit PICKUP trying to mget files (including the TESTFILE) from this > > : same server in the same directory. > > : > > : What is happening is, PICKUP ends first and has a partial file of > > : TESTFILE and DROPOFF gets 74% done (according to Kermit) and then > > : comes back with the error message "Last error: FAILURE: Error writing > > : data" and it keeps around the partial file (74% of it). > > : > > : I'm not sure why this is happening and how to avoid it. It is a > > : realtime scenerio where somebody may be dropping off a file in a > > : directory, while the other script is trying to get all the files out > > : of this directory. > > : > > You answered your own question: > > > > : I am running a Kermit script called DROPOFF trying to send TESTFILE to > > : a remote server (it is a 2meg file) at the same time I am running a > > : Kermit PICKUP trying to mget files (including the TESTFILE) from this > > : same server in the same directory. > > > > The server does not have permission to write to a file that another > > process has open for reading. Nor would you want it to! Please read > > about transaction processing here: > > > > http://www.columbia.edu/kermit/case10.html > > > > and here: > > > > http://www.columbia.edu/kermit/ftpscripts.html#tp > > > > to see the kinds of things you need to do. > > > > - Frank From anthonypieper@cs.com Wed Nov 26 14:40:14 2003 Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail From: anthonypieper@cs.com (newexpectuser) Newsgroups: comp.protocols.kermit.misc Subject: Re: Quick Question on switch statement and :1, :2 Date: 26 Nov 2003 10:57:28 -0800 Organization: http://groups.google.com Lines: 28 Message-ID: References: NNTP-Posting-Host: 209.251.39.194 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1069873048 9118 127.0.0.1 (26 Nov 2003 18:57:28 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 26 Nov 2003 18:57:28 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14699 Frank da Cruz wrote in message news:... > In article , > newexpectuser wrote: > : I am using the following and was wondering if the :1 and :2 are just > : labels to clarify code. I am guessing that the "if < \v(input).." says > : if the return code of the minput statement is a 1, to exit with a > : return code of 1, otherwise check continue ? > : > Read the manual or type "help switch" to find out how the SWITCH command > works. Type "help xxx" to find out how any command xxx works. > > : If that is true, then I think the :1 and :2 are nothing more than > : labels and have no affect on the script itself ? > : > The SWITCH command is explained on page 385 of "Using C-Kermit". You > can't learn a programming language without a manual. First I want to make sure Kermit can fulfill our business needs as a simple file transfer protocol running unattended versus other communications protocols. It's strength lies in robust commands especially the /delete on the send command. Right now I am finding it lacking it knowing a file is still in progress of being put into a directory and therefore transfering a "partial" file and then issuing an error message. Once I find out it can do the above, I'll be purchasing the manual to support future scripts. > > - Frank From jaltman@columbia.edu Wed Nov 26 14:41:07 2003 Path: newsmaster.cc.columbia.edu!not-for-mail From: Jeffrey Altman Newsgroups: comp.protocols.kermit.misc Subject: Re: Quick Question on switch statement and :1, :2 Date: 26 Nov 2003 19:28:13 GMT Organization: Columbia University Lines: 46 Message-ID: References: NNTP-Posting-Host: papaya.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1069874893 4275 128.59.59.107 (26 Nov 2003 19:28:13 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 26 Nov 2003 19:28:13 GMT User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (SunOS/5.9 (sun4u)) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14700 newexpectuser wrote: : First I want to make sure Kermit can fulfill our business needs as : a simple file transfer protocol running unattended versus other : communications protocols. It's strength lies in robust commands : especially the /delete on the send command. Right now I am finding : it lacking it knowing a file is still in progress of being : put into a directory and therefore transfering a "partial" file and : then issuing an error message. : Once I find out it can do the above, I'll be purchasing the manual : to support future scripts. This is like asking whether or not the 'C' programming language can be used to develop an operating system by asking someone who does not know the 'C' programming language and does not know how to build operaing systems. You will not be able to answer the question because (a) you do not know the Kermit programming language; and (b) you do not understand the requirements of the system you need to create and the where the restrictions come from. Kermit can absolutely solve your problem in wide variety of ways. Some of your problems are caused by fundamental limitations of the FTP protocol. Others, such as the visibility of partially transfer files, are limitations of the operating system and file system the FTP server is hosted on. Frank has been very patient about responding to your queries both to the newsgroups and the kermit-support mailing list. He has pointed you to both the manual he wrote "Using C-Kermit 2nd Ed." as well as the extensive online resources (manual supplements, case studies, script library, etc.) I do not believe it is his responsibility to write programs for you in order for you to justify buying a single copy of a book. Frank (and I) have made clear that Kermit can meet the requirements of the problem as you have described it. Frank is willing to answer specific questions related to the use of the Kermit language and commands when the text of the documentation is not clear. If you do not have time to learn the tool, I would suggest you hire someone who knows the tool to develop the necessary scripts or assist you in architecting the solution such that you can fill in the missing pieces. -- Jeffrey Altman * Volunteer Developer Kermit 95 2.1 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 Nov 26 15:07:21 2003 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: Problem in Kermit trying to get a file while sending it at the same time Date: 26 Nov 2003 19:39:09 GMT Organization: Columbia University Lines: 15 Message-ID: References: Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1069875549 5224 128.59.59.56 (26 Nov 2003 19:39:09 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 26 Nov 2003 19:39:09 GMT User-Agent: slrn/0.9.7.4 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14701 In article , newexpectuser wrote: : My main issue is the file(s) I want are on a secure ftp server. This : process has other companies dropping off their files off in a certain : directory, so if they are dropping off a large file in this directory : at the same time I am trying to get the files from this directory, it : seems I am getting only a partial file. : Please read the the FTP scripting tutorial, including the "transaction processing" section. I've referred you to it before. It addresses exactly this problem. http://www.columbia.edu/kermit/ftpscripts.html - Frank From anthonypieper@cs.com Mon Dec 1 11:35:05 2003 Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail From: anthonypieper@cs.com (newexpectuser) Newsgroups: comp.protocols.kermit.misc Subject: Re: Problem in Kermit trying to get a file while sending it at the same time Date: 1 Dec 2003 06:25:58 -0800 Organization: http://groups.google.com Lines: 54 Message-ID: References: NNTP-Posting-Host: 209.251.39.194 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1070288758 2185 127.0.0.1 (1 Dec 2003 14:25:58 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 1 Dec 2003 14:25:58 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14702 I think I understand the following in the article: "Notice that failure leaves the partial file (if any) in the working directory, where the central-site watcher process does not look for it. Thus transient failures do no harm. The script can be run again later. The /DELETE switch on the PUT command removes the source file after, and only if, it was uploaded successfully; this prevents it from being uploaded again (you could also have it moved or renamed). This way, even if the script is run again for the same file, it will fail immediately because the file is no longer there. Or, if a file of the same name is in the same place, it is a new file that should be uploaded. Now we can move the uploaded file from the server's working directory to its ready directory (the syntax assumes a UNIX-like file system on server): ftp rename \m(nameonly) ../ready/\m(nameonly)" This solves my problem if I have a partial file, it will be transfered into a directory (working) where my central-site server won't be looking for it. Once this file has been dropped off 100%, then the next time around I run to send files, I will then pickup a full file in my working directory. What I don't understand is with the above "ftp rename \m(nameonly) ../ready/\m(nameonly)", how does this avoid moving the partial file from the working directory to the ready directory, there will still be a file in the working directory albeit a partial file and this command will move it along to the ready directory. Frank da Cruz wrote in message news:... > In article , > newexpectuser wrote: > : My main issue is the file(s) I want are on a secure ftp server. This > : process has other companies dropping off their files off in a certain > : directory, so if they are dropping off a large file in this directory > : at the same time I am trying to get the files from this directory, it > : seems I am getting only a partial file. > : > Please read the the FTP scripting tutorial, including the "transaction > processing" section. I've referred you to it before. It addresses > exactly this problem. > > http://www.columbia.edu/kermit/ftpscripts.html > > - Frank From fdc@columbia.edu Mon Dec 1 11:43:53 2003 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: Problem in Kermit trying to get a file while sending it at the same time Date: 1 Dec 2003 16:43:26 GMT Organization: Columbia University Lines: 48 Message-ID: References: Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1070297006 13666 128.59.59.56 (1 Dec 2003 16:43:26 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 1 Dec 2003 16:43:26 GMT User-Agent: slrn/0.9.7.4 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14703 In article , newexpectuser wrote: : : (quoting from http://www.columbia.edu/kermit/ftpscripts.html): : : "...Now we can move the uploaded file from the server's working directory : to its ready directory (the syntax assumes a UNIX-like file system on : server): : : ftp rename \m(nameonly) ../ready/\m(nameonly)" : : This solves my problem if I have a partial file, it will be transfered : into a directory (working) where my central-site server won't be : looking for it. Once this file has been dropped off 100%, then the : next time around I run to send files, I will then pickup a full file : in my working directory. : : What I don't understand is with the above "ftp rename \m(nameonly) : ../ready/\m(nameonly)", how does this avoid moving the partial file : from the working directory to the ready directory, there will still be : a file in the working directory albeit a partial file and this command : will move it along to the ready directory. : The lines preceding the "ftp rename" command are: ftp put /delete \m(filename) if fail exit 1 ftp put \m(filename): \v(ftp_message) Thus the "ftp rename" command won't be reached if "ftp put" fails. This is exactly the reason that we recommend that each critical step be checked with IF FAIL -- you don't want the script to proceed in cases where the subsequent commands require the preceding ones to succeed. Of course conditional command in the IF statement need not be EXIT; it can be anything you want, even a series of commands, e.g.: if fail { command1 command2 ... } else { ; The ELSE part is optional command1 command2 ... } - Frank From anthonypieper@cs.com Mon Dec 1 15:16:38 2003 Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!news.gtei.net!colt.net!newspump.monmouth.com!newspeer.monmouth.com!zeus.visi.com!news-out.visi.com!petbe.visi.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews1.google.com!not-for-mail From: anthonypieper@cs.com (newexpectuser) Newsgroups: comp.protocols.kermit.misc Subject: Re: Quick Question on switch statement and :1, :2 Date: 1 Dec 2003 09:52:51 -0800 Organization: http://groups.google.com Lines: 62 Message-ID: References: NNTP-Posting-Host: 209.251.39.194 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1070301172 17222 127.0.0.1 (1 Dec 2003 17:52:52 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 1 Dec 2003 17:52:52 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14704 I appreciate your input. However, I have gone through several articles on the website, searching through the newsgroups and reviewing case studies and have not found anything that addresses the issue I am having. If there is online training or even classroom training, I'd find this as being beneficial. The case study I was pointed to, mentioned ftping a file to a central server in a "working" directory where another script running on the central server would look for files in a "ready" directory. I can understand this concept, as it is obvious you wouldn't want to process a file that is still being in transit. It goes on to suggest of having the script move the file from the working directory to the ready directory, but what if there is a partial file there, it would still try to move this partial file and try to process it. Jeffrey Altman wrote in message news:... > newexpectuser wrote: > : First I want to make sure Kermit can fulfill our business needs as > : a simple file transfer protocol running unattended versus other > : communications protocols. It's strength lies in robust commands > : especially the /delete on the send command. Right now I am finding > : it lacking it knowing a file is still in progress of being > : put into a directory and therefore transfering a "partial" file and > : then issuing an error message. > > : Once I find out it can do the above, I'll be purchasing the manual > : to support future scripts. > > This is like asking whether or not the 'C' programming language can be > used to develop an operating system by asking someone who does not > know the 'C' programming language and does not know how to build > operaing systems. You will not be able to answer the question because > (a) you do not know the Kermit programming language; and (b) you do > not understand the requirements of the system you need to create and > the where the restrictions come from. > > Kermit can absolutely solve your problem in wide variety of ways. Some > of your problems are caused by fundamental limitations of the FTP protocol. > Others, such as the visibility of partially transfer files, are limitations > of the operating system and file system the FTP server is hosted on. > > Frank has been very patient about responding to your queries both to > the newsgroups and the kermit-support mailing list. He has pointed > you to both the manual he wrote "Using C-Kermit 2nd Ed." as well as > the extensive online resources (manual supplements, case studies, > script library, etc.) I do not believe it is his responsibility to > write programs for you in order for you to justify buying a single > copy of a book. Frank (and I) have made clear that Kermit can meet > the requirements of the problem as you have described it. Frank is > willing to answer specific questions related to the use of the Kermit > language and commands when the text of the documentation is not clear. > > If you do not have time to learn the tool, I would suggest you hire > someone who knows the tool to develop the necessary scripts or assist > you in architecting the solution such that you can fill in the missing > pieces. From fdc@columbia.edu Mon Dec 1 15:31:00 2003 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: Quick Question on switch statement and :1, :2 Date: 1 Dec 2003 20:28:31 GMT Organization: Columbia University Lines: 43 Message-ID: References: Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1070310511 25362 128.59.59.56 (1 Dec 2003 20:28:31 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 1 Dec 2003 20:28:31 GMT User-Agent: slrn/0.9.7.4 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14705 In article , newexpectuser wrote: : ... I have gone through several articles on the website, : searching through the newsgroups and reviewing case studies and have : not found anything that addresses the issue I am having. : : If there is online training or even classroom training, I'd find this : as being beneficial. : If there was sufficient demand for classroom training, we'd have classes. (In fact we did have them from the mid-1980s through the early 1990s but then demand slacked off.) : The case study I was pointed to, mentioned ftping a file to a central : server in a "working" directory where another script running on the : central server would look for files in a "ready" directory. I can : understand this concept, as it is obvious you wouldn't want to process : a file that is still being in transit. : : It goes on to suggest of having the script move the file from the : working directory to the ready directory, but what if there is a : partial file there, it would still try to move this partial file and : try to process it. : I answered this in my response to your previous posting. I would like to stress that the Kermit command language is just that: a language. If we publish a sample script, it is not carved in stone -- it is a sample. You are supposed to copy it and then adapt it to do what you want it to do. In this case, it already did. But if it didn't, you would just edit it with an ordinary text editor, save it, and execute it. If it has bug, debug it using any of Kermit's many and varied debugging tools, traces, and logs. Try things by hand and seen what they do. Use the STATUS command at the prompt to see if the previous command succeeded or failed. Use the HELP command at the prompt to find out all sorts of things, and to get descriptions of commands. For example "help if" and "help exit" would have told you why the FTP sample script did not do what you think it did. Kermit helps you to help yourself; you don't have to post to the newsgroup every time you have a question and then wait a long time for an answer. Ask Kermit. Or search the website. - Frank From slash_dev_slash_null_2000@yahoo.com Tue Dec 2 09:30:17 2003 Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail From: slash_dev_slash_null_2000@yahoo.com (Mark Sapiro) Newsgroups: comp.protocols.kermit.misc Subject: Re: Problem in Kermit trying to get a file while sending it at the same time Date: 1 Dec 2003 16:13:25 -0800 Organization: http://groups.google.com Lines: 65 Message-ID: References: NNTP-Posting-Host: 209.182.169.133 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1070324006 11751 127.0.0.1 (2 Dec 2003 00:13:26 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 2 Dec 2003 00:13:26 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14706 anthonypieper@cs.com (newexpectuser) wrote in message news:... > I think I understand the following in the article: > > "Notice that failure leaves the partial file (if any) in the working > directory, where the central-site watcher process does not look for > it. Thus transient failures do no harm. The script can be run again > later. > > The /DELETE switch on the PUT command removes the source file after, > and only if, it was uploaded successfully; this prevents it from being > uploaded again (you could also have it moved or renamed). This way, > even if the script is run again for the same file, it will fail > immediately because the file is no longer there. Or, if a file of the > same name is in the same place, it is a new file that should be > uploaded. > > Now we can move the uploaded file from the server's working directory > to its ready directory (the syntax assumes a UNIX-like file system on > server): > > > ftp rename \m(nameonly) ../ready/\m(nameonly)" > > > This solves my problem if I have a partial file, it will be transfered > into a directory (working) where my central-site server won't be > looking for it. Once this file has been dropped off 100%, then the > next time around I run to send files, I will then pickup a full file > in my working directory. > > What I don't understand is with the above "ftp rename \m(nameonly) > ../ready/\m(nameonly)", how does this avoid moving the partial file > from the working directory to the ready directory, there will still be > a file in the working directory albeit a partial file and this command > will move it along to the ready directory. Both Frank and Jeffrey have been responding to your questions and have really already provided the answers to the above, but I have a sense that you still don't get it, so here's a shot at what I think the confusion is. Partial files occur in two ways. One way is that a transfer is interrupted because of a communications error, a disconnect or whatever. This may leave a partially transferred file on the receiver. The material you quote above is dealing with this situation and here the sender deals with it by transferring the file to a "working" directory, testing this transfer (with "if failure" or "if success") and only after successful complete transfer, moving the file on the receiver to the "ready" directory. The other kind of partial file that I think you're concerned about is a file that is in the process of being written by some other process when the sender considers it as a candidate for transfer. In this case, it is up to the underlying operating system to either hide the presense of the partial file until the creating process is done with it, or to deny access to the file by another process until the creating process in done with it. All real operating systems do this. If the process that is creating this candidate file is a file transfer process that could actually terminate before the file is complete, then it too needs to use a "working directory"/"ready directory" scheme. -- Mark Sapiro msapiro -at- value net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From JDanSkinner@JDanSkinner.com Tue Dec 2 09:31:17 2003 Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!news.gtei.net!colt.net!newspump.monmouth.com!newspeer.monmouth.com!hermes.visi.com!news-out.visi.com!petbe.visi.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews1.google.com!not-for-mail From: JDanSkinner@JDanSkinner.com (Dan Skinner) Newsgroups: comp.protocols.kermit.misc Subject: message to newexpectuser Date: 1 Dec 2003 18:46:34 -0800 Organization: http://groups.google.com Lines: 62 Message-ID: <8ce22d01.0312011846.dba6025@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 1070333194 21965 127.0.0.1 (2 Dec 2003 02:46:34 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 2 Dec 2003 02:46:34 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14707 Date: 2003-12-01 06:25:58 PST newexpextuser asked "What I don't understand is with the above "ftp rename \m(nameonly) ../ready/\m(nameonly)", how does this avoid moving the partial file from the working directory to the ready directory, there will still be a file in the working directory albeit a partial file and this command will move it along to the ready directory." Date: 2003-12-01 08:43:26 PST Frank answers "The lines preceding the "ftp rename" command are: ftp put /delete \m(filename) if fail exit 1 ftp put \m(filename): \v(ftp_message) Thus the "ftp rename" command won't be reached if "ftp put" fails. This is exactly the reason that we recommend that each critical step be checked with IF FAIL -- you don't want the script to proceed in cases where the subsequent commands require the preceding ones to succeed. Of course conditional command in the IF statement need not be EXIT; it can be anything you want, even a series of commands, e.g.: if fail { command1 command2 ... } else { ; The ELSE part is optional command1 command2 ... } - Frank" Date: 2003-12-01 09:52:52 PST newexpextuser asked "I appreciate your input. However, I have gone through several articles on the website, searching through the newsgroups and reviewing case studies and have not found anything that addresses the issue I am having. If there is online training or even classroom training, I'd find this as being beneficial. The case study I was pointed to, mentioned ftping a file to a central server in a "working" directory where another script running on the central server would look for files in a "ready" directory. I can understand this concept, as it is obvious you wouldn't want to process a file that is still being in transit. It goes on to suggest of having the script move the file from the working directory to the ready directory, but what if there is a partial file there, it would still try to move this partial file and try to process it." Now my post: We would be pleased to provide custom classroom training on Kermit scripting Regards...Dan. JDanSkinner.com From mswarbrick@rentokil.com Tue Dec 2 09:31:21 2003 Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail From: mswarbrick@rentokil.com (Mark Swarbrick) Newsgroups: comp.protocols.kermit.misc Subject: wierd scripting query via telnet Date: 2 Dec 2003 02:11:46 -0800 Organization: http://groups.google.com Lines: 24 Message-ID: NNTP-Posting-Host: 213.2.66.194 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1070359906 17415 127.0.0.1 (2 Dec 2003 10:11:46 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 2 Dec 2003 10:11:46 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14708 Hi guys.. I'm trying to write a little utility which does the following: connect via telnet to port 1494 (citrix ica) wait about 5 seconds after connecting and dump to a bash variable the contents of what was echoed to screen for checking if the citrix machine is working properly. The citrix ica client just echo's ICAICA until it closes the port. this takes too long so i just want to script kermit-telnet to keep the connection open for around 5 seconds and keep the data so I can check the contents. How would I go about this? So far all i've got is: #!/usr/local/bin/kermit telnet /nowait 102.12.76.37 1494 But this takes ages to run and doesn't dump back the contents... Many thanks All! From fdc@columbia.edu Tue Dec 2 09:55:38 2003 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: wierd scripting query via telnet Date: 2 Dec 2003 14:47:51 GMT Organization: Columbia University Lines: 61 Message-ID: References: Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1070376471 12159 128.59.59.56 (2 Dec 2003 14:47:51 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 2 Dec 2003 14:47:51 GMT User-Agent: slrn/0.9.7.4 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14709 In article , Mark Swarbrick wrote: : I'm trying to write a little utility which does the following: : : connect via telnet to port 1494 (citrix ica) wait about 5 seconds : after connecting and dump to a bash variable the contents of what was : echoed to screen for checking if the citrix machine is working : properly. : Conceptually it's easy (except for the "bash variable" part; see below). In practice it depends on whether Citrix ICA is normal enough to allow a regular non-protocol raw-socket connection to be made to it. I have no idea. : The citrix ica client just echo's ICAICA until it closes the port. : this takes too long so i just want to script kermit-telnet to keep the : connection open for around 5 seconds and keep the data so I can check : the contents. : : How would I go about this? : : So far all i've got is: : : #!/usr/local/bin/kermit : telnet /nowait 102.12.76.37 1494 : : But this takes ages to run and doesn't dump back the contents... : If it takes ages to run, then maybe there's something about Citrix that Kermit needs to know, but does not. Is it using some Microsoft-specific protocol, such as VTNT? If so, C-Kermit does not support it (but K95 might). Leaving Citrix out of the picture, let's say you were making a connection to some normal, text-based TCP service and you wanted to capture 5 seconds worth of whatever it spewed out: clear input set host 102.12.76.37 1494 /raw input 5 STRING_THAT_WILL_NEVER_COME if success exit 1 "Uh oh - STRING_THAT_WILL_NEVER_COME did come!" close At this point all the characters that arrived (except NULs) are in the Kermit variable \v(input). You can do whatever you want with this variable except assign its value to a bash variable that will be visible when the script (and Kermit) exit, because of a fundamental rule of Unix: a process may not manipulate the environment of a superior process. To pass the value back to bash, you could write it out to a file. That's easy enough: log session set host 102.12.76.37 1494 /raw input 5 STRING_THAT_WILL_NEVER_COME if success exit 1 "Uh oh - STRING_THAT_WILL_NEVER_COME did come!" exit 0 All the bytes that arrived will be in the session.log file. - Frank From not-a-real-address@usa.net Tue Dec 2 12:09:32 2003 Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newspump.monmouth.com!newspeer.monmouth.com!news.tele.dk!news.tele.dk!small.news.tele.dk!sn-xit-02!sn-xit-04!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: wierd scripting query via telnet Date: 02 Dec 2003 16:35:47 GMT Organization: earthfriends Message-ID: References: User-Agent: Gnus/5.1003 (Gnus v5.10.3) XEmacs/21.4 (Rational FORTRAN, 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:14710 in comp.protocols.kermit.misc i read: >At this point all the characters that arrived (except NULs) are in the >Kermit variable \v(input). >To pass the value back to bash, you could write it out to a file. or perhaps capture it via command substitution: var=$(/path/to/kermit_script) -- a signature From fdc@columbia.edu Tue Dec 2 12:23:22 2003 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: wierd scripting query via telnet Date: 2 Dec 2003 17:20:33 GMT Organization: Columbia University Lines: 23 Message-ID: References: Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1070385633 19786 128.59.59.56 (2 Dec 2003 17:20:33 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 2 Dec 2003 17:20:33 GMT User-Agent: slrn/0.9.7.4 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14711 In article , those who know me have no need of my name wrote: : in comp.protocols.kermit.misc i read: :>At this point all the characters that arrived (except NULs) are in the :>Kermit variable \v(input). : :>To pass the value back to bash, you could write it out to a file. : : or perhaps capture it via command substitution: : : var=$(/path/to/kermit_script) : If you had the Kermit script echo the material to stdout and then exit, and then you invoked the script from the Unix shell like this: export var=`somepath/kermit_script` it would assign some stuff to $var but (a) you'd have to configure Kermit not to emit any extraneous messages (heralds, messages from init file, etc) and (b) the resulting text is likely to be "edited", e.g. by the removal of linebreaks. - Frank From PG_Dinakaran@dl.scsusa.com Wed Dec 3 10:47:19 2003 Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews2.google.com!postnews1.google.com!not-for-mail From: PG_Dinakaran@dl.scsusa.com (dinapg) Newsgroups: comp.protocols.kermit.misc Subject: Kermit PUT statement Time out problem Date: 2 Dec 2003 14:47:41 -0800 Organization: http://groups.google.com Lines: 6 Message-ID: <9acee2e2.0312021447.3fa5209f@posting.google.com> NNTP-Posting-Host: 143.101.237.66 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1070405261 4073 127.0.0.1 (2 Dec 2003 22:47:41 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 2 Dec 2003 22:47:41 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14712 I am using Kermit on Unix. I tried using FTP over Open SSL to send a file. Able to login sucessfully. Able to change dir. Able to see current dir. When i try PUT file name. It time outs and says command failed due to time out. Please let me know what am i doing wrong. From jaltman@columbia.edu Wed Dec 3 10:47:48 2003 Path: newsmaster.cc.columbia.edu!not-for-mail From: Jeffrey Altman Newsgroups: comp.protocols.kermit.misc Subject: Re: Kermit PUT statement Time out problem Date: 3 Dec 2003 05:14:10 GMT Organization: Columbia University Lines: 10 Message-ID: References: <9acee2e2.0312021447.3fa5209f@posting.google.com> NNTP-Posting-Host: papaya.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1070428450 22833 128.59.59.107 (3 Dec 2003 05:14:10 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 3 Dec 2003 05:14:10 GMT User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (SunOS/5.9 (sun4u)) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14714 dinapg wrote: : I am using Kermit on Unix. : I tried using FTP over Open SSL to send a file. : Able to login sucessfully. Able to change dir. Able to see current dir. : When i try PUT file name. It time outs and says command failed due to time out. : Please let me know what am i doing wrong. A firewall is blocking the establishment of the data connection. From cgmckeever@yahoo.com Wed Dec 3 10:48:24 2003 Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!postnews1.google.com!not-for-mail From: cgmckeever@yahoo.com (Chris McKeever) Newsgroups: comp.protocols.kermit.misc Subject: Kermit VT220 - Function Keys Date: 2 Dec 2003 19:27:18 -0800 Organization: http://groups.google.com Lines: 25 Message-ID: <1a78c305.0312021927.523e8509@posting.google.com> NNTP-Posting-Host: 66.28.114.190 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1070422038 22136 127.0.0.1 (3 Dec 2003 03:27:18 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 3 Dec 2003 03:27:18 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14713 I am trying to connect to our Phone PBX via a Kermit connection through the serial cable (OS = Redhat 7.3 non graphical-CLI only) I can get into the switch without a problem, but it seems that I can not make any changes becuase the 'do' button F3 doesnt seem to want to cooperate. Now I am very confused at a lot of this, so please bear with me - Kermit emulates a VT220 as default - is there somewhere to find out why the function keys do not work? and then map them correctly in addition, the backspace doesnt seem to work at all. I also tried this with minicom, and the backspace does work (it seems to be emulating a VT102), but I still have the issue with the 'do' f3 button. Any help would be appreciated, I have been scouring the lists and web for a while and I only seem to be going in circles. Thanks cgmckeever From jaltman@columbia.edu Wed Dec 3 10:48:39 2003 Path: newsmaster.cc.columbia.edu!not-for-mail From: Jeffrey Altman Newsgroups: comp.protocols.kermit.misc Subject: Re: Kermit VT220 - Function Keys Date: 3 Dec 2003 05:19:15 GMT Organization: Columbia University Lines: 43 Message-ID: References: <1a78c305.0312021927.523e8509@posting.google.com> NNTP-Posting-Host: papaya.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1070428755 22833 128.59.59.107 (3 Dec 2003 05:19:15 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 3 Dec 2003 05:19:15 GMT User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (SunOS/5.9 (sun4u)) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14715 C-Kermit does not emulation terminals. It simply acts as a pass-through for the local terminal on Linux/Unix. FYI, DEC Do is the equivalent of the F15 key; not the F3 key. On the VT220, the local F1-F5 keys are local only; they do not send commands to the host. Jeffrey Altman Kermit 95 Author Chris McKeever wrote: : I am trying to connect to our Phone PBX via a Kermit connection : through the serial cable (OS = Redhat 7.3 non graphical-CLI only) : I can get into the switch without a problem, but it seems that I can : not make any changes becuase the 'do' button F3 doesnt seem to want to : cooperate. : Now I am very confused at a lot of this, so please bear with me : - Kermit emulates a VT220 as default : - is there somewhere to find out why the function keys do not work? : and then map them correctly : in addition, the backspace doesnt seem to work at all. : I also tried this with minicom, and the backspace does work (it seems : to be emulating a VT102), but I still have the issue with the 'do' f3 : button. : Any help would be appreciated, I have been scouring the lists and web : for a while and I only seem to be going in circles. : Thanks : cgmckeever -- Jeffrey Altman * Volunteer Developer Kermit 95 2.1 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 Dec 3 10:51:33 2003 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: Kermit VT220 - Function Keys Date: 3 Dec 2003 15:50:00 GMT Organization: Columbia University Lines: 21 Message-ID: References: <1a78c305.0312021927.523e8509@posting.google.com> Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1070466600 9375 128.59.59.56 (3 Dec 2003 15:50:00 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 3 Dec 2003 15:50:00 GMT User-Agent: slrn/0.9.7.4 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14716 In article , Jeffrey Altman wrote: : C-Kermit does not emulation terminals. It simply acts as a pass-through : for the local terminal on Linux/Unix. : : FYI, DEC Do is the equivalent of the F15 key; not the F3 key. On the : VT220, the local F1-F5 keys are local only; they do not send commands : to the host. : : Jeffrey Altman : Kermit 95 Author : : Chris McKeever wrote: :: ... :: in addition, the backspace doesnt seem to work at all. : : About the Backspace key, see: http://www.columbia.edu/kermit/backspace.html - Frank From fdc@columbia.edu Wed Dec 3 12:24:19 2003 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.os.linux.misc,comp.protocols.kermit.misc Subject: Re: Serial Telnet to PBX Switch Followup-To: comp.os.linux.misc Date: 3 Dec 2003 16:56:33 GMT Organization: Columbia University Lines: 82 Message-ID: References: <1a78c305.0312021949.62bab77d@posting.google.com> Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1070470593 12779 128.59.59.56 (3 Dec 2003 16:56:33 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 3 Dec 2003 16:56:33 GMT User-Agent: slrn/0.9.7.4 (SunOS) Xref: newsmaster.cc.columbia.edu comp.os.linux.misc:615177 comp.protocols.kermit.misc:14717 In article <1a78c305.0312021949.62bab77d@posting.google.com>, Chris McKeever wrote: : I have been doing some searching for how I can connect from a linux : box to our phone PBX. Below is a thread that helped me get a good : portion of the way, but I am still a bit stuck. : : I have been successful in connecting through the serial port using : minicom or kermit to the PBX from the linux command line. I however : am faced with the issue that some of the commands that I want to : perform just wont work. : : The PBX asks what type of terminal, the choices are: : 513,715,4410,4425,VT220 : : It seems that the most vanilla of these is the VT220. : If you are running Kermit from the Console window, your terminal type is "Linux console". If you are running Kermit in an xterm or similar window, your terminal type depends on the xterm program. It's vt220 if you are using Xfree86 xterm: http://dickey.his.com/xterm/xterm.html Since that's what the PBX wants, that's what you should use. : Kermit and minicom work, but I do not have the F3 key, which 'sends' : the changes into the switch, for the most part, everything else is : functional. : : ** Kermit connects, but I have no backspace - believe it emulates a : VT220, so I am confused as to this..am I mistaken here? : In Unix (including Linux), Kermit is a communication program, not a terminal emulator (as it is in DOS or Windows). This is explained at length here: http://www.columbia.edu/kermit/ckfaq.html#term Your terminal emulator is the console or X window in which you are running Kermit. The same is true for other Unix-based terminal programs (cu, tip, telnet, ssh, etc) and I believe also of minicom. : So I am trying to figure out how to get Kermit to behave nicely with : the function keys and the backspace, or minicom to work with the : function keys. : About Backspace, see: http://www.columbia.edu/kermit/backspace.html and after reading the explanatory material, find the answer in the section, "When C-Kermit Is the Client". Function keys are another story. Unix applications (other than X-based ones) can't see the function keys, so this must be handled by your xterm setup, normally in the xmodmap configuration file. You can find some examples here: http://www.columbia.edu/kermit/ckubwr.html (search for "xmodmap" -- there are various references throughout the document.) You have to find out what characters a particular F key sends, and then map the key to send them in in .xmodmaprc or whatever. If you are using Xfree86 xterm (which does indeed emulate the vt220) then the F keys should already be set up. Just make sure you are pushing the right one. For example the DEC "Do" key is F16 (not F3). On a real DEC terminal, F16 ("Do") sends ESC [ 29 ~ (that's Escape, left bracket, 2, 9, and tilde, in sequence with no spaces). Since you are probably using a PC keyboard, you'll find that there is no F15 key -- PC F-keys only go up to F12, but DEC keyboards go up to F20. So usually there is a mapping like Shift F1 = F13, Shift F2 = F14, etc. Some people find this so annoying that they go out and purchase DEC keyboards for their PCs :-) But it can all be handled in xmodmap too. In Windows or DOS, you could do the mapping directly in Kermit, where Kermit really is a terminal emulator since it can get (more or less) directly at the keyboard and screen. - Frank From dold@K95XDialer.usenet.us.com Sat Dec 6 12:09:33 2003 Path: newsmaster.cc.columbia.edu!panix!news.linkpendium.com!cox.net!news-xfer.cox.net!news.lightlink.com!wasp.rahul.net!blue.rahul.net!not-for-mail From: dold@K95XDialer.usenet.us.com Newsgroups: comp.protocols.kermit.misc Subject: Re: K95 Dialer porting Date: Fri, 5 Dec 2003 19:05:41 +0000 (UTC) Organization: a2i network Lines: 25 Sender: Clarence Dold Message-ID: References: <3fd07ccb.13118473@news.nildram.co.uk> NNTP-Posting-Host: violet.rahul.net X-Trace: blue.rahul.net 1070651141 17382 66.237.72.28 (5 Dec 2003 19:05:41 GMT) X-Complaints-To: support@rahul.net NNTP-Posting-Date: Fri, 5 Dec 2003 19:05:41 +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.20-24.7smp (i686)) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14718 Rob S wrote: > I use K95 dialler which is setup with dozens of numbers to dial various modems > with my TAPI connection. I now want another PC - PC2 - to be able to use my > dial directory without having to setup all the numbers manually. I have done that between my desktop and laptop. (Win2000 and WinXP). I installed each separately, and had legitimate dialer entries. Then I copied the dialusr.dat from the WinXP desktop that I use all the time, to the C:\Documents and Setting\CDold\Application Data\Kermit 95 folder on the Win2000 laptop. You can see that it is the correct one by checking the modification time of each. Make a change, and the correct file should be modified with each change of the Kermit95 directory. That doesn't really sound like your problem, though, since you see the dialer entries, and it's just your modem that is messed up. Could you use the "bad" modem with the original dialer entry created on that machine? I just realized that I don't have a modem set on my Desktop machine. But copying the dialusr.dat doesn't disturb the modem setting on the laptop. From robatworkDeleteTheseFourWords@mail.com Mon Dec 8 09:02:26 2003 Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!news.gtei.net!colt.net!peernews3.colt.net!newsfeed.stueberl.de!newsfeed.vmunix.org!peernews!peer.cwci.net!lon1-news.nildram.net!195.149.20.147.MISMATCH!mercury.nildram.co.uk!not-for-mail From: Rob S Newsgroups: comp.protocols.kermit.misc Subject: Re: K95 Dialer porting Date: Mon, 08 Dec 2003 09:18:49 +0000 Message-ID: <3fd44153.2851540@news.nildram.co.uk> References: <3fd07ccb.13118473@news.nildram.co.uk> X-Newsreader: Forte Agent 1.91/32.564 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 17 NNTP-Posting-Host: 62.3.253.72 X-Trace: 1070874916 mercury.nildram.net 15230 62.3.253.72 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14719 On Fri, 5 Dec 2003 19:05:41 +0000 (UTC), dold@K95XDialer.usenet.us.com wrote: -That doesn't really sound like your problem, though, since you see the -dialer entries, and it's just your modem that is messed up. -Could you use the "bad" modem with the original dialer entry created on -that machine? Thanks for the reply. As you suspect it's not my problem. When I try to dial one of the entries on the new PC, it does try to dial the correct number. However it just says "TAPI line modem1 already in use" where modem1 is the original modem. It's not an option to move the original modem. I just need to change all references in dialusr.dat to modem2. I was hoping for a nice way of doing this - maybe I'll try manually editing the file but this is pretty kludgey... -Rob robatwork at mail dot com From Chris@bundy.co.uk Mon Dec 8 09:06:39 2003 Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!news.gtei.net!colt.net!diablo.theplanet.net!mephistopheles.news.clara.net!newspeer.clara.net!news.clara.net!ersa.uk.clara.net From: Chris@bundy.co.uk Newsgroups: comp.protocols.kermit.misc Subject: Command line switches Date: Mon, 08 Dec 2003 12:03:50 +0000 Sender: Chris Reply-To: Chris@bundy.co.uk Message-ID: X-Newsreader: Forte Agent 1.92/32.572 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@clara.net (please include full headers) X-Trace: 871a402007403806600009846ce19b3209386ba0d0456450756192903fd468a9 NNTP-Posting-Date: Mon, 08 Dec 2003 12:03:53 +0000 Lines: 18 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14720 Im trying to get Kermit to record text data that im sending to the serial port, and write a log file. I can do this manually but I just cant quite get it to work using command line switches. the closes i've got is server01# /usr/kermit/work/kermit -l /dev/cuaa0 -b 9600 -C"log session /var/log/session.log" -c this monitors the port OK but does not write the log file. which I want it to append to. Any help appreciated. Chris From fdc@columbia.edu Mon Dec 8 09:15:47 2003 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: K95 Dialer porting Date: 8 Dec 2003 14:06:32 GMT Organization: Columbia University Lines: 26 Message-ID: References: <3fd07ccb.13118473@news.nildram.co.uk> <3fd44153.2851540@news.nildram.co.uk> Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1070892392 12902 128.59.59.56 (8 Dec 2003 14:06:32 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 8 Dec 2003 14:06:32 GMT User-Agent: slrn/0.9.7.4 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14721 In article <3fd44153.2851540@news.nildram.co.uk>, Rob S wrote: : On Fri, 5 Dec 2003 19:05:41 +0000 (UTC), dold@K95XDialer.usenet.us.com wrote: : : -That doesn't really sound like your problem, though, since you see the : -dialer entries, and it's just your modem that is messed up. : -Could you use the "bad" modem with the original dialer entry created on : -that machine? : : Thanks for the reply. As you suspect it's not my problem. When I try to dial : one of the entries on the new PC, it does try to dial the correct : number. However it just says "TAPI line modem1 already in use" where modem1 : is the original modem. It's not an option to move the original modem. I : just need to change all references in dialusr.dat to modem2. I was hoping : for a nice way of doing this - maybe I'll try manually editing the file but : this is pretty kludgey... : Don't try to edit the file, it won't work. In the Dialer you have a Modems item in the main menu. This brings up a dialog that lets you choose the default modem to use. Every Dialer entry that makes a phone call uses the Default modem by default. Unless you have changed individual entries to not use the Default modem, then changing it in the main Modems dialog should do the trick. - Frank From fdc@columbia.edu Mon Dec 8 09:16:41 2003 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: Command line switches Date: 8 Dec 2003 14:15:28 GMT Organization: Columbia University Lines: 46 Message-ID: References: Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1070892928 12902 128.59.59.56 (8 Dec 2003 14:15:28 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 8 Dec 2003 14:15:28 GMT User-Agent: slrn/0.9.7.4 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14722 In article , Chris@bundy.co.uk wrote: : Im trying to get Kermit to record text data that : im sending to the serial port, and write a log : file. I can do this manually but I just cant quite : get it to work using command line switches. : : the closes i've got is : : server01# /usr/kermit/work/kermit -l /dev/cuaa0 -b : 9600 -C"log session /var/log/session.log" -c : : this monitors the port OK but does not write the : log file. which I want it to append to. : The -C command-line argument is not treated in sequence with the others. The order in which command sources are handled is listed on page 462 of "Using C-Kermit". The -C option is handled after all other command-line options. Anyway, you're missing a space after -C. It's usually best not to mix and match command-line options and interactive commands. Command-line options give you access to a small subset of Kermit's functions. When you need more than that, use the command language. To do what you want, create a little file containing: #!/usr/kermit/work/kermit set modem type none set line /dev/cuaa0 if fail exit 1 set exit warning off set speed 9600 log session /var/log/session.log if fail exit 1 connect give it execute permission, and run it instead of the Kermit binary. You can also replace the CONNECT command with any desired further automated interactions, as described in the script-writing tutorial: http://www.columbia.edu/kermit/ckscripts.html#tut - Frank From Chris@bundy.co.uk Mon Dec 8 18:34:39 2003 Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsfeed.berkeley.edu!ucberkeley!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewsoutpeer00.lnd.ops.eu.uu.net!lnewsinpeer00.lnd.ops.eu.uu.net!emea.uu.net!mephistopheles.news.clara.net!newspeer.clara.net!news.clara.net!doris.uk.clara.net From: Chris@bundy.co.uk Newsgroups: comp.protocols.kermit.misc Subject: Re: Command line switches Date: Mon, 08 Dec 2003 22:57:58 +0000 Sender: Chris Reply-To: Chris@bundy.co.uk Message-ID: <820atvkrg5tk7hkv0bn4r840kv6ab17r61@4ax.com> References: X-Newsreader: Forte Agent 1.92/32.572 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@clara.net (please include full headers) X-Trace: 82d210175d88204149042708e0ba308c88c70c9136617661069010603fd501f1 NNTP-Posting-Date: Mon, 08 Dec 2003 22:57:53 +0000 Lines: 70 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14723 On 8 Dec 2003 14:15:28 GMT, Frank da Cruz wrote: Thanks frank, ive tried your script but I get a syntax error end of file unexpected expecting "then". I ran the file on boot as I want to log continuously If I can explain a little more, Im actual trying to capture the data received at the port to a file. I don't actually need to interact. if i want to see current activity I tail the log file. The data is generated by a call logger which I feed into the data port of my freebsd file server. Many thanks Chris >In article , >Chris@bundy.co.uk wrote: >: Im trying to get Kermit to record text data that >: im sending to the serial port, and write a log >: file. I can do this manually but I just cant quite >: get it to work using command line switches. >: >: the closes i've got is >: >: server01# /usr/kermit/work/kermit -l /dev/cuaa0 -b >: 9600 -C"log session /var/log/session.log" -c >: >: this monitors the port OK but does not write the >: log file. which I want it to append to. >: >The -C command-line argument is not treated in sequence with >the others. The order in which command sources are handled >is listed on page 462 of "Using C-Kermit". The -C option is >handled after all other command-line options. Anyway, you're >missing a space after -C. > >It's usually best not to mix and match command-line options and >interactive commands. Command-line options give you access to >a small subset of Kermit's functions. When you need more than >that, use the command language. To do what you want, create a >little file containing: > > #!/usr/kermit/work/kermit > set modem type none > set line /dev/cuaa0 > if fail exit 1 > set exit warning off > set speed 9600 > log session /var/log/session.log > if fail exit 1 > connect > >give it execute permission, and run it instead of the Kermit >binary. You can also replace the CONNECT command with any >desired further automated interactions, as described in the >script-writing tutorial: > > http://www.columbia.edu/kermit/ckscripts.html#tut > > >- Frank From fdc@columbia.edu Tue Dec 9 11:39:31 2003 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: Command line switches Date: 8 Dec 2003 23:37:36 GMT Organization: Columbia University Lines: 32 Message-ID: References: <820atvkrg5tk7hkv0bn4r840kv6ab17r61@4ax.com> Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1070926656 11103 128.59.59.56 (8 Dec 2003 23:37:36 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 8 Dec 2003 23:37:36 GMT User-Agent: slrn/0.9.7.4 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14724 In article <820atvkrg5tk7hkv0bn4r840kv6ab17r61@4ax.com>, Chris@bundy.co.uk wrote: : On 8 Dec 2003 14:15:28 GMT, Frank da Cruz : wrote: : : ive tried your script but I get a syntax error end : of file unexpected expecting "then". : Did you follow the instructions? You have to put the "kerbang" line on top so the shell can start your Kermit executable to execute the script. It sounds to me like the shell is trying to execute the script itself. : If I can explain a little more, Im actual trying : to capture the data received at the port to a : file. I don't actually need to interact. if i want : to see current activity I tail the log file. The : data is generated by a call logger which I feed : into the data port of my freebsd file server. : The script I gave you should work for that. If you don't need see the stuff in real time, replace CONNECT with INPUT -1 STRING_THAT_WILL_NEVER_COME. Again, see: http://www.columbia.edu/kermit/ckscripts.html about "kerbang" scripts. - Frank From Chris@bundy.co.uk Tue Dec 9 11:39:36 2003 Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!news.gtei.net!colt.net!diablo.theplanet.net!mephistopheles.news.clara.net!newspeer.clara.net!news.clara.net!echo.uk.clara.net From: Chris@bundy.co.uk Newsgroups: comp.protocols.kermit.misc Subject: Re: Command line switches Date: Tue, 09 Dec 2003 12:49:48 +0000 Sender: Chris Reply-To: Chris@bundy.co.uk Message-ID: References: <820atvkrg5tk7hkv0bn4r840kv6ab17r61@4ax.com> X-Newsreader: Forte Agent 1.92/32.572 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@clara.net (please include full headers) X-Trace: 600070707ed48080599afa10224068c5960b5baa22680040300868603fd5c4ef NNTP-Posting-Date: Tue, 09 Dec 2003 12:49:51 +0000 Lines: 70 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14726 On 8 Dec 2003 23:37:36 GMT, Frank da Cruz Frank If I run the script stand alone it works great, thank you. Its when I try to run it at boot that I have problems. I put the file I had created in phone.sh that I had created in /usr/local/etc/rc.d server01# more /usr/local/etc/rc.d/phone.sh #!/bin/sh /var/log/fred exit server01# the script never concludes therefore the remaining initialisation scripts never start. I tried xterm -e but it coughed as its running as root. any thoughts would be appreciated. Chris So close wrote: >In article <820atvkrg5tk7hkv0bn4r840kv6ab17r61@4ax.com>, >Chris@bundy.co.uk wrote: >: On 8 Dec 2003 14:15:28 GMT, Frank da Cruz >: wrote: >: >: ive tried your script but I get a syntax error end >: of file unexpected expecting "then". >: >Did you follow the instructions? You have to put the >"kerbang" line on top so the shell can start your >Kermit executable to execute the script. It sounds to >me like the shell is trying to execute the script >itself. > >: If I can explain a little more, Im actual trying >: to capture the data received at the port to a >: file. I don't actually need to interact. if i want >: to see current activity I tail the log file. The >: data is generated by a call logger which I feed >: into the data port of my freebsd file server. >: >The script I gave you should work for that. If you >don't need see the stuff in real time, replace >CONNECT with INPUT -1 STRING_THAT_WILL_NEVER_COME. > >Again, see: > > http://www.columbia.edu/kermit/ckscripts.html > >about "kerbang" scripts. > >- Frank From robatworkDeleteTheseFourWords@mail.com Tue Dec 9 11:42:52 2003 Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!nntp-out.monmouth.com!newspeer.monmouth.com!newspeer1.nwr.nac.net!lon1-news.nildram.net!195.149.20.147.MISMATCH!mercury.nildram.co.uk!not-for-mail From: Rob S Newsgroups: comp.protocols.kermit.misc Subject: Re: K95 Dialer porting Date: Tue, 09 Dec 2003 10:36:45 +0000 Message-ID: <3fd5a470.93759348@news.nildram.co.uk> References: <3fd07ccb.13118473@news.nildram.co.uk> <3fd44153.2851540@news.nildram.co.uk> X-Newsreader: Forte Agent 1.91/32.564 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 17 NNTP-Posting-Host: 62.3.253.72 X-Trace: 1070965989 mercury.nildram.net 17515 62.3.253.72 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14725 On 8 Dec 2003 14:06:32 GMT, Frank da Cruz wrote: -In the Dialer you have a Modems item in the main menu. This brings up a -dialog that lets you choose the default modem to use. Every Dialer entry -that makes a phone call uses the Default modem by default. Unless you -have changed individual entries to not use the Default modem, then changing -it in the main Modems dialog should do the trick. Unfortunately it's not the default modem. I tried editing the file and you're right it doesn't work! I'm now reduced to changing each entry by Editing the serial parameters and putting in the correct modem. -Rob robatwork at mail dot com From fdc@columbia.edu Tue Dec 9 11:55:30 2003 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: Command line switches Date: 9 Dec 2003 16:42:25 GMT Organization: Columbia University Lines: 32 Message-ID: References: <820atvkrg5tk7hkv0bn4r840kv6ab17r61@4ax.com> Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1070988145 29940 128.59.59.56 (9 Dec 2003 16:42:25 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 9 Dec 2003 16:42:25 GMT User-Agent: slrn/0.9.7.4 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14727 In article , Chris@bundy.co.uk wrote: : On 8 Dec 2003 23:37:36 GMT, Frank da Cruz : : If I run the script stand alone it works great, : thank you. Its when I try to run it at boot that I : have problems. : Well you tricked me, you didn't say you wanted to run it without a controlling terminal. : I put the file I had created in phone.sh that I : had created in /usr/local/etc/rc.d : : server01# more /usr/local/etc/rc.d/phone.sh : #!/bin/sh : /var/log/fred : exit : server01# : I don't understand this. What is /var/log/fred? The name of the Kermit script? : the script never concludes therefore the remaining : initialisation scripts never start. : Because it still has a CONNECT command in it, which requires a controlling terminal? In that case, replace the CONNECT command with the INPUT sequence that I recommended yesterday. - Frank From fdc@columbia.edu Tue Dec 9 11:55:34 2003 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: K95 Dialer porting Date: 9 Dec 2003 16:45:15 GMT Organization: Columbia University Lines: 20 Message-ID: References: <3fd07ccb.13118473@news.nildram.co.uk> <3fd44153.2851540@news.nildram.co.uk> <3fd5a470.93759348@news.nildram.co.uk> Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1070988315 29940 128.59.59.56 (9 Dec 2003 16:45:15 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 9 Dec 2003 16:45:15 GMT User-Agent: slrn/0.9.7.4 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14728 In article <3fd5a470.93759348@news.nildram.co.uk>, Rob S wrote: : On 8 Dec 2003 14:06:32 GMT, Frank da Cruz wrote: : : -In the Dialer you have a Modems item in the main menu. This brings up a : -dialog that lets you choose the default modem to use. Every Dialer entry : -that makes a phone call uses the Default modem by default. Unless you : -have changed individual entries to not use the Default modem, then changing : -it in the main Modems dialog should do the trick. : : Unfortunately it's not the default modem. I tried editing the file and you're : right it doesn't work! : : I'm now reduced to changing each entry by Editing the serial parameters and : putting in the correct modem. : Sorry, we'll make it clearer in the next edition of the manual that you should not normally choose a non-default modem in individual Dialer entries unless you have a compelling reason to do so, and what the implications are. - Frank From jaltman@columbia.edu Tue Dec 9 13:08:20 2003 Path: newsmaster.cc.columbia.edu!not-for-mail From: Jeffrey Altman Newsgroups: comp.protocols.kermit.misc Subject: Re: K95 Dialer porting Date: 9 Dec 2003 18:05:34 GMT Organization: Columbia University Lines: 26 Message-ID: References: <3fd07ccb.13118473@news.nildram.co.uk> <3fd44153.2851540@news.nildram.co.uk> NNTP-Posting-Host: papaya.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1070993134 4288 128.59.59.107 (9 Dec 2003 18:05:34 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 9 Dec 2003 18:05:34 GMT User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (SunOS/5.9 (sun4u)) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14729 Rob S wrote: : Thanks for the reply. As you suspect it's not my problem. When I try to dial one : of the entries on the new PC, it does try to dial the correct number. However it : just says "TAPI line modem1 already in use" where modem1 is the original modem. : It's not an option to move the original modem. I just need to change all : references in dialusr.dat to modem2. I was hoping for a nice way of doing this - : maybe I'll try manually editing the file but this is pretty kludgey... Your problem is trivial to solve. Kermit 95's Dialer was designed to allow you to map {modem type, port} combinations to names which are referenced in the individual dialer entries. If you need to change a mapping you use the Modems->Change dialog accessible from the K95 Dialer Menu. If your old modem name was "3com Megahertz Telephony 3CX" simply choose that item in the Name combo box. If you want to switch to the new TAPI modem "3Com Mini PCI 56K Modem", select "tapi" for the Type and "3Com Mini PCI 56K Modem" for the Port. This will now cause all entries configured to use the modem named "3Com Megahertz Telephony 3CX" to use the TAPI device "3Com Mini PCI 56K Modem" instead of the old device name. Jeffrey Altman K95 Author From Jdanskinner@jdanskinner.com Tue Dec 9 17:12:30 2003 Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newspump.monmouth.com!newspeer.monmouth.com!newsgate.cistron.nl!news.cambrium.nl!news.cambrium.nl!news.cambrium.nl!news2.telebyte.nl!news.completel.fr!ircam.fr!freenix!sn-xit-02!sn-xit-04!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: "Dan Skinner" Newsgroups: comp.protocols.kermit.misc Subject: Re: Command line switches Date: Tue, 9 Dec 2003 15:19:15 -0600 Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: <820atvkrg5tk7hkv0bn4r840kv6ab17r61@4ax.com> X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Complaints-To: abuse@supernews.com Lines: 43 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14730 "Frank da Cruz" wrote in message news:slrnbtburh.2o1.fdc@sesame.cc.columbia.edu... > In article , > Chris@bundy.co.uk wrote: > : On 8 Dec 2003 23:37:36 GMT, Frank da Cruz > : > : If I run the script stand alone it works great, > : thank you. Its when I try to run it at boot that I > : have problems. > : > Well you tricked me, you didn't say you wanted to run > it without a controlling terminal. > > : I put the file I had created in phone.sh that I > : had created in /usr/local/etc/rc.d > : > : server01# more /usr/local/etc/rc.d/phone.sh > : #!/bin/sh > : /var/log/fred > : exit > : server01# > : > I don't understand this. What is /var/log/fred? > The name of the Kermit script? > > : the script never concludes therefore the remaining > : initialisation scripts never start. > : > Because it still has a CONNECT command in it, which > requires a controlling terminal? In that case, > replace the CONNECT command with the INPUT sequence > that I recommended yesterday. > > - Frank Sounds to me like you want to run this process as a deamon? If so you will want to fork it off when you launch it during startup. That way the rest of startup can continue. Regards...Dan. From Chris@bundy.co.uk Tue Dec 9 18:18:18 2003 Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!news.gtei.net!colt.net!diablo.theplanet.net!mephistopheles.news.clara.net!newspeer.clara.net!news.clara.net!echo.uk.clara.net From: Chris@bundy.co.uk Newsgroups: comp.protocols.kermit.misc Subject: Re: Command line switches Date: Tue, 09 Dec 2003 22:32:31 +0000 Sender: Chris Reply-To: Chris@bundy.co.uk Message-ID: References: <820atvkrg5tk7hkv0bn4r840kv6ab17r61@4ax.com> X-Newsreader: Forte Agent 1.92/32.572 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@clara.net (please include full headers) X-Trace: 6750006c463208a2c40690b810464c40fc9a53a059e84c420a7610503fd64d7f NNTP-Posting-Date: Tue, 09 Dec 2003 22:32:31 +0000 Lines: 64 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14731 On 9 Dec 2003 16:42:25 GMT, Frank da Cruz wrote: Frank, It still hangs, and session.log is new not appended to but replaced. when I run the file fred on its own its fine, server01# more fred #!/usr/kermit/work/kermit set modem type none set line /dev/cuaa0 if fail exit 1 set exit warning off set speed 9600 log session /var/log/session.log if fail exit 1 INPUT -1 STRING_THAT_WILL_NEVER_COME. #CONNECT server01# more /usr/local/etc/rc.d/phone.sh #!/bin/sh /var/log/fred exit server01#. Chris >In article , >Chris@bundy.co.uk wrote: >: On 8 Dec 2003 23:37:36 GMT, Frank da Cruz >: >: If I run the script stand alone it works great, >: thank you. Its when I try to run it at boot that I >: have problems. >: >Well you tricked me, you didn't say you wanted to run >it without a controlling terminal. > >: I put the file I had created in phone.sh that I >: had created in /usr/local/etc/rc.d >: >: server01# more /usr/local/etc/rc.d/phone.sh >: #!/bin/sh >: /var/log/fred >: exit >: server01# >: >I don't understand this. What is /var/log/fred? >The name of the Kermit script? > >: the script never concludes therefore the remaining >: initialisation scripts never start. >: >Because it still has a CONNECT command in it, which >requires a controlling terminal? In that case, >replace the CONNECT command with the INPUT sequence >that I recommended yesterday. > >- Frank From fdc@columbia.edu Tue Dec 9 18:22:57 2003 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: Command line switches Date: 9 Dec 2003 23:22:30 GMT Organization: Columbia University Lines: 42 Message-ID: References: <820atvkrg5tk7hkv0bn4r840kv6ab17r61@4ax.com> Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1071012150 20443 128.59.59.56 (9 Dec 2003 23:22:30 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 9 Dec 2003 23:22:30 GMT User-Agent: slrn/0.9.7.4 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14732 In article , Chris@bundy.co.uk wrote: : On 9 Dec 2003 16:42:25 GMT, Frank da Cruz wrote: : : It still hangs, and session.log is new not : appended to but replaced. : : when I run the file fred on its own its fine, : server01# more fred : #!/usr/kermit/work/kermit : set modem type none : set line /dev/cuaa0 : if fail exit 1 : set exit warning off : set speed 9600 : log session /var/log/session.log : if fail exit 1 : INPUT -1 STRING_THAT_WILL_NEVER_COME. : #CONNECT : : server01# more /usr/local/etc/rc.d/phone.sh : #!/bin/sh : /var/log/fred : exit : server01#. : Assuming that that (a) /var/log/fred has execute permission, and (b) /usr/kermit/work/kermit is the true path of the Kermit executable, then it might be hanging because Kermit is printing some messages to stdout but there *is* no stdout. In that case use: #!/bin/sh /var/log/fred > /dev/null exit or: #!/bin/sh /usr/kermit/work/kermit /var/log/fred > /dev/null exit - Frank From Chris@bundy.co.uk Wed Dec 10 11:24:03 2003 Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!news.gtei.net!colt.net!easynet-quince!easynet.net!mephistopheles.news.clara.net!newspeer.clara.net!news.clara.net!demeter.uk.clara.net From: Chris@bundy.co.uk Newsgroups: comp.protocols.kermit.misc Subject: Re: Command line switches Date: Wed, 10 Dec 2003 07:33:07 +0000 Sender: Chris Reply-To: Chris@bundy.co.uk Message-ID: <40jdtvk8lh3afr7pgesnb1vh0el7gn4ttl@4ax.com> References: <820atvkrg5tk7hkv0bn4r840kv6ab17r61@4ax.com> X-Newsreader: Forte Agent 1.92/32.572 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@clara.net (please include full headers) X-Trace: 700c711080026000de470002eaa38a06c94aac216a906bcb30586a443fd6cc29 NNTP-Posting-Date: Wed, 10 Dec 2003 07:32:57 +0000 Lines: 49 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14733 On 9 Dec 2003 20:24:53 -0800, slash_dev_slash_null_2000@yahoo.com (Mark Sapiro) wrote: >Frank da Cruz wrote in message news:... >> In article , >> Chris@bundy.co.uk wrote: >> : On 9 Dec 2003 16:42:25 GMT, Frank da Cruz wrote: >> : >> : It still hangs, and session.log is new not >> : appended to but replaced. >> : >> : when I run the file fred on its own its fine, >> : server01# more fred >> : #!/usr/kermit/work/kermit >> : set modem type none >> : set line /dev/cuaa0 >> : if fail exit 1 >> : set exit warning off >> : set speed 9600 >> : log session /var/log/session.log >> : if fail exit 1 >> : INPUT -1 STRING_THAT_WILL_NEVER_COME. >> : #CONNECT >> : >> : server01# more /usr/local/etc/rc.d/phone.sh >> : #!/bin/sh >> : /var/log/fred >> : exit >> : server01#. >> : >> Assuming that that (a) /var/log/fred has execute permission, and >> (b) /usr/kermit/work/kermit is the true path of the Kermit executable, >> then it might be hanging because Kermit is printing some messages to >> stdout but there *is* no stdout. > >Actually, it is "hanging" because it is waiting forever for >STRING_THAT_WILL_NEVER_COME. If this is the behavior you want (i.e. >continue logging the input on the port after startup), then you have >to do as Dan Skinner suggested earlier in this thread and fork the >Kermit off on its own so startup can continue before the Kermit >process terminates. thanks lads sounds logical how do I fork it off. Chris From m.poser@rz.uni-frankfurt.de Wed Dec 10 12:42:54 2003 Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!news-feed1.de1.concert.net!fu-berlin.de!uni-berlin.de!misterbrot.rz.uni-frankfurt.DE!not-for-mail From: "Michael Poser" Newsgroups: comp.protocols.kermit.misc Subject: password query fails Date: Wed, 10 Dec 2003 17:46:36 +0100 Lines: 79 Message-ID: NNTP-Posting-Host: misterbrot.rz.uni-frankfurt.de (141.2.95.88) X-Trace: news.uni-berlin.de 1071074795 235568 141.2.95.88 (10435) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14734 Hello, fist of all, iam a kermit newbie. I want to write a script that restarts every night the Accesspoints of our University (round about 40). It seems to be easy, but i have a few problems: The password query works a few times only , sometimes it works, sometimes it fails (But if the password query was successfull, the rest of the script works fine). I dont know why (If i set a pause between in+output it fails to 100 percent). If i take a look at \v(input) it shows no diferrence between a succesfull login or a bad login. It shows always:  <- It seems to be strange to me, why is it so cryptic, why is it not "password:"?? OS -> AIX, C-Kermit 800209, here is my script: #!/opt/bin/kermit + # Restart mit Argumentenliste # Logfile wird angelegt und geoeffnet .filename := \v(home)command.log fopen /append \%c \m(filename) fwrite /line \%c \v(date) - \v(time) - Host=\%1 - \%2 \13 # Fehler Routine define errmsg { fwrite /line \%c \%1 \%2 \13 fclose \%c close exit } set input echo on set exit warning off clear set host /nowait \%1 if fail errmsg Err_No_Verbindung input 10 password: if fail errmsg no_passwortprompt \v(input) output mypwd\13 input 10 \fpattern(*admin]>) if fail errmsg no_mainmenu \v(input) output 3 input 10 \fpattern(*admin]>) if fail errmsg no_configmenu \v(input) output 5 input 10 "Are you sure [y/n] ? " if fail errmsg no_restartprompt \v(input) output y\13 fwrite /line \%c Success \v(input) \13 fclose \%c close clear exit Any Ideas? Kind regards, Michael Poser -- Michael Poser, Goethe Universitaet Frankfurt am Main Hochschulrechenzentrum - Abteilung Netze Germany From fdc@columbia.edu Wed Dec 10 12:50:22 2003 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: password query fails Date: 10 Dec 2003 17:49:19 GMT Organization: Columbia University Lines: 35 Message-ID: References: Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1071078559 1239 128.59.59.56 (10 Dec 2003 17:49:19 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 10 Dec 2003 17:49:19 GMT User-Agent: slrn/0.9.7.4 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14735 In article , Michael Poser wrote: : fist of all, iam a kermit newbie. : : I want to write a script that restarts every night the Accesspoints of : our University (round about 40). It seems to be easy, but i have a few : problems: : : The password query works a few times only , sometimes it works, : sometimes it fails (But if the password query was successfull, the rest : of the script works fine). I dont know why (If i set a pause between : in+output it fails to 100 percent). If i take a look at \v(input) it : shows no diferrence between a succesfull login or a bad login. It shows : always: :  <- It seems to be strange to me, why is it so cryptic, : why is it not "password:"?? : This is explained in "Using C-Kermit" on page 429 (English edition). In some cases, escape sequences can interfere with INPUT matching. You have to write your INPUT command in a way that allows for the escape sequences. To find out what the host is really sending and in what sequence, use "log session" to record your login, and then write your script according to what you find there. An easier to do this might be to let Kermit write the script for you: learn /on script.ksc then perform the login sequence by hand, then: learn /close Then look at the script.ksc file to see what it wrote. - Frank From jaltman@columbia.edu Thu Dec 11 09:45:07 2003 Path: newsmaster.cc.columbia.edu!not-for-mail From: Jeffrey Altman Newsgroups: comp.protocols.kermit.misc Subject: Kermit on Slashdot Date: 11 Dec 2003 05:13:48 GMT Organization: Columbia University Lines: 12 Message-ID: NNTP-Posting-Host: mango.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1071119628 4865 128.59.59.104 (11 Dec 2003 05:13:48 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 11 Dec 2003 05:13:48 GMT User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (SunOS/5.9 (sun4u)) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14736 In case you have not yet seen it, Kermit is a topic on Slashdot. http://science.slashdot.org/science/03/12/10/1957244.shtml The Zmodem vs Kermit wars have been revisited in a big way. -- Jeffrey Altman * Volunteer Developer Kermit 95 2.1 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 henry.thorpe@att.net Fri Dec 12 09:51:19 2003 Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!news.gtei.net!draco.tiscalinet.it!news.mailgate.org!newsfeed.icl.net!newsfeed.fjserv.net!news-out1.nntp.be!propagator2-sterling!news-in.nuthinbutnews.com!cyclone1.gnilink.net!wn12feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!not-for-mail Message-ID: <3FD93BC7.9020201@att.net> From: "Henry E. Thorpe" Organization: Just me! User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Re: Kermit on Slashdot References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 19 NNTP-Posting-Host: 528a735562deaae8d41fdd585ae17744 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc04-news.ops.worldnet.att.net 1071201226 528a735562deaae8d41fdd585ae17744 (Fri, 12 Dec 2003 03:53:46 GMT) NNTP-Posting-Date: Fri, 12 Dec 2003 03:53:46 GMT Date: Fri, 12 Dec 2003 03:53:46 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14738 ROLF. But when you needed to get the files from a PDP-11 running RSX-11 or RT-11, Kermit was there for you (8 inch floppies in now weird formats, aside). And it didn't make any difference where the "to" was, since there was a Kermit for that, also. Block/record format files to streams, too. EBCDIC to ASCII. Sigh. Life is just so homogeneous now-a-days... Jeffrey Altman wrote: > In case you have not yet seen it, Kermit is a topic on Slashdot. > > http://science.slashdot.org/science/03/12/10/1957244.shtml > > The Zmodem vs Kermit wars have been revisited in a big way. > > From Jdanskinner@jdanskinner.com Fri Dec 12 16:31:22 2003 Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!sn-xit-03!sn-xit-04!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: "Dan Skinner" Newsgroups: comp.protocols.kermit.misc Subject: Re: Command line switches Date: Fri, 12 Dec 2003 15:46:20 -0600 Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: <820atvkrg5tk7hkv0bn4r840kv6ab17r61@4ax.com> <40jdtvk8lh3afr7pgesnb1vh0el7gn4ttl@4ax.com> X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Complaints-To: abuse@supernews.com Lines: 18 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14742 > sounds logical how do I fork it off. > > Chris > /var/log/fred& man bash man sh man man If these don't help then the root password is a dangerous thing in your hands. Good Luck. Regards...Dan. From fdc@columbia.edu Mon Dec 15 17:04:30 2003 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: EMACS Kermit Mode Date: 15 Dec 2003 21:57:46 GMT Organization: Columbia University Lines: 69 Message-ID: Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1071525466 26375 128.59.59.56 (15 Dec 2003 21:57:46 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 15 Dec 2003 21:57:46 GMT User-Agent: slrn/0.9.7.4 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14743 On the recent Slashdot thread, the point was made (several times) that people who like Kermit tend to be the same people who like EMACS. This was either a compliment or an insult, depending on the speaker, but there's definitely some truth to it my case! Many of us write and edit Kermit scripts in EMACS. But wouldn't it be so much better if EMACS had a Kermit Mode that automatically indented appropriately, lined up comments, etc? Now you can have one. The following instructions should work with all versions of GNU EMACS back to 19.34. Thanks to Alan Mackenzie (Munich, Germany) for lots of help with this: 1. Get the latest cc-mode (5.30.8 or later) from: http://cc-mode.sourceforge.net/release.php 2. Install it for real on your computer or, if you can't do that, install it in your own file space. Installation is explained in the README file that comes in the package. 3. If you installed the new cc-mode in your own area, you have to tell EMACS where to find it. Add the following to your ~/.emacs file: (setq load-path (cons "~myuserid/cc-mode-5.31" load-path)) (replacing "~myuserid/cc-mode-5.31" with the path of the directory where you installed the new cc-mode). Now creating a minimal but serviceable Kermit Mode is easy; just add the following to your ~/.emacs file: ; Kermit mode (autoload 'awk-mode "cc-mode" nil t) ; Must load new Awk mode! (define-derived-mode kermit-mode awk-mode "Kermit" "Major Mode for Kermit Scripts" (auto-fill-mode 1) (setq fill-column 78) (setq indent-tabs-mode nil) (setq brace-else-brace 1) (setq comment-multi-line nil) (setq comment-column 40) (setq comment-start "\# ") (setq comment-end "")) Brief explanation: recent releases of EMACS allow you define new major modes that are derived from existing ones. Awk is a language that is somewhat similar to Kermit: it uses braces like C, but does not terminate or separate statements with any particular character (like C does with semicolon). Instead (in the general case) each statement is on its own line. We use "#" as the comment character in kermit-mode because using semicolon confuses the underlying EMACS libraries too much. The old Awk mode didn't work well enough to base Kermit mode on, the new does. You might also want to associate Kermit Mode with .ksc files. In that case add .ksc to your auto-mode-list: (setq auto-mode-alist (append '(("\\.ksc" . kermit-mode)))) This causes EMACS to switch to Kermit Mode automatically whenever you visit a file whose name ends in ".ksc". Kermit Mode not perfect, but it's close. The main problem I've noticed so far is that SWITCH case labels are not "outdented". Anybody who knows EMACS LISP better than I do is welcome to make improvements! - Frank From bardicrune@hotmail.com Tue Dec 16 09:35:55 2003 Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!news.gtei.net!colt.net!peernews3.colt.net!newsfeed.stueberl.de!fu-berlin.de!postnews1.google.com!not-for-mail From: bardicrune@hotmail.com (Glenn W. Betz, III) Newsgroups: comp.protocols.kermit.misc Subject: HTTP Header Content-Type Date: 15 Dec 2003 14:19:47 -0800 Organization: http://groups.google.com Lines: 62 Message-ID: NNTP-Posting-Host: 216.248.142.193 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1071526787 28887 127.0.0.1 (15 Dec 2003 22:19:47 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 15 Dec 2003 22:19:47 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14745 I am having a problem with 8.0.209+ssl/tls Kermit's http header function. I am trying to post a multipart/form-data file to a web servlet and am receiving the following message in the servlet's log file: ------------------------------------------------------------------------------ Corrupt form data: no leading boundary, Line is: ------------------------------------------------------------------------------ I should be getting something after the colon but it is empty. This is what I am getting from the people responsible for the servlet. ------------------------------------------------------------------------------ Looks like we can't read your Content-Type: multipart/form-data; boundary=?????? string, could it be some unreadable characters in the beginning of the string? Here the logic that checks for boundary = if (!line.startsWith(_boundary)) throw new Exception("Corrupt form data: no leading boundary, Line is:" + line); where line is a String and nothing is being display in the log with "line' ------------------------------------------------------------------------------Here is the kermit script I am executing: ------------------------------------------------------------------------------ #!/ctc/bin/kermit + #OPEN THE CONNECTION AND POST THE FILE set authentication tls verify off http /HEADER:{{Content-Type: multipart/form-data; boundary=abc123abc123abc123} {Host: website.com{Port: 443}} {Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2}} /user:\%2 /password:\%3 post inputfile.txt https://website.com/dir/path/servlet outputfile.txt #IF THE CONNECTION FAILS ERROR OUT if failure stop 1 HTTP POST failed: \v(http_message) #CLEANUP THE CONNECTION AND EXIT http close quit ------------------------------------------------------------------------------- The following is the multipart file I am sending (minus the data): ------------------------------------------------------------------------------- --abc123abc123abc123 Content-Disposition: form-data; name="message" Content-Type: text/xml (xml data here.) --abc123abc123abc123 Content-Disposition: form-data;name="textFileAttached"; filename="filename.txt" Content-Type: text/plain (plain text data here.) --abc123abc123abc123-- ------------------------------------------------------------------------------- I would appreciate any help someone could offer me. Thanks, Glenn W. Betz, III From dave.lloyd@aah.co.uk Tue Dec 16 09:36:51 2003 Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!news.gtei.net!colt.net!news.maxwell.syr.edu!postnews1.google.com!not-for-mail From: dave.lloyd@aah.co.uk (DaveL) Newsgroups: comp.protocols.kermit.misc Subject: HTTPS PUT file transfer failure Date: 16 Dec 2003 04:41:42 -0800 Organization: http://groups.google.com Lines: 25 Message-ID: <36c7c5aa.0312160441.101f69b5@posting.google.com> NNTP-Posting-Host: 194.196.232.14 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1071578502 20355 127.0.0.1 (16 Dec 2003 12:41:42 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 16 Dec 2003 12:41:42 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14746 Hi I'm trying to use the kermit (C-kermit 8, builds 8.0.209 and 8.0.210 built with openssl on aix433) https personality to put a file onto a server outside my company... I get 2 different responses, neither of which are successful: Either: ..210 the connection is established and the file is transferred but the connection won't close (I'm trying to do it all in one line to avoid all the opening and closing steps that kermit should handle internally: "http PUT myfile https://a.b.c.d/TheirPath/theirfile" Or: in ver ..209 Connection made, file reports as being transferred , connection closes... file is not transferred. What am I missing here??? Help please! Dave From jaltman@columbia.edu Tue Dec 16 09:37:26 2003 Path: newsmaster.cc.columbia.edu!not-for-mail From: Jeffrey Altman Newsgroups: comp.protocols.kermit.misc Subject: Re: HTTPS PUT file transfer failure Date: 16 Dec 2003 14:21:51 GMT Organization: Columbia University Lines: 43 Message-ID: References: <36c7c5aa.0312160441.101f69b5@posting.google.com> NNTP-Posting-Host: mango.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1071584511 9951 128.59.59.104 (16 Dec 2003 14:21:51 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 16 Dec 2003 14:21:51 GMT User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (SunOS/5.9 (sun4u)) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14747 209 is broken and does not work with https connections. 210 works correctly but is being used wrong. The HTTP CLOSE is not optional. C-Kermit implements persistent http connections to enable the use of multiple HTTP operations on a single TCP session. While the HTTP OPEN may be skipped the HTTP CLOSE cannot be. Jeffrey Altman Kermit 95 Author Independent Software Developer DaveL wrote: : Hi : I'm trying to use the kermit (C-kermit 8, builds 8.0.209 and 8.0.210 : built with openssl on aix433) https personality to put a file onto a : server outside my company... I get 2 different responses, neither of : which are successful: : Either: : ..210 : the connection is established and the file is transferred but the : connection won't close (I'm trying to do it all in one line to avoid : all the opening and closing steps that kermit should handle : internally: : "http PUT myfile https://a.b.c.d/TheirPath/theirfile" : Or: : in ver ..209 : Connection made, file reports as being transferred , connection : closes... file is not transferred. : What am I missing here??? : Help please! : Dave -- Jeffrey Altman * Volunteer Developer Kermit 95 2.1 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 cgmckeever@yahoo.com Wed Dec 17 10:24:07 2003 Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!newshub.northeast.verio.net!verio!news-out.visi.com!petbe.visi.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews1.google.com!not-for-mail From: cgmckeever@yahoo.com (Chris McKeever) Newsgroups: comp.protocols.kermit.misc Subject: Re: Kermit VT220 - Function Keys Date: 16 Dec 2003 23:02:14 -0800 Organization: http://groups.google.com Lines: 31 Message-ID: <1a78c305.0312162302.3cb0537f@posting.google.com> References: <1a78c305.0312021927.523e8509@posting.google.com> NNTP-Posting-Host: 64.36.26.42 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1071644535 30491 127.0.0.1 (17 Dec 2003 07:02:15 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 17 Dec 2003 07:02:15 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14748 Frank da Cruz wrote in message news:... > In article , Jeffrey Altman wrote: > : C-Kermit does not emulation terminals. It simply acts as a pass-through > : for the local terminal on Linux/Unix. > : > : FYI, DEC Do is the equivalent of the F15 key; not the F3 key. On the > : VT220, the local F1-F5 keys are local only; they do not send commands > : to the host. > : > : Jeffrey Altman > : Kermit 95 Author > : > : Chris McKeever wrote: > :: ... > :: in addition, the backspace doesnt seem to work at all. > : > : > About the Backspace key, see: > > http://www.columbia.edu/kermit/backspace.html > > - Frank Thanks for all the feedback, was finally able to get it all working: set key \92 \27Ow ; cancel \ set key \45 \27[V ; previous - set key \61 \27[U ; next + set key \47 \27SB ; Enter / set key \96 \27Om ; help ~ set key \127 \8 ; backspace send BS From compupractice@telstra.com Thu Dec 18 09:19:46 2003 Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail From: compupractice@telstra.com (ROBERT GREEN) Newsgroups: comp.protocols.kermit.misc Subject: VPN connection using Windows XP Date: 17 Dec 2003 19:20:57 -0800 Organization: http://groups.google.com Lines: 10 Message-ID: <7067ecbf.0312171920.7f7a9d58@posting.google.com> NNTP-Posting-Host: 203.45.113.39 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1071717657 15349 127.0.0.1 (18 Dec 2003 03:20:57 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 18 Dec 2003 03:20:57 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14749 In K95 dialer using Windows XP Professional and a Broadband cable modem Internet Service Provider connection; General settings. Connection type: TCP/IP service. Host IP address entered. Port number entered. TCP/IP settings are the defaults. I connect perfectly to the desired host on the internet. QUESTION. How do I ensure this is a VPN connection? From jaltman@columbia.edu Thu Dec 18 09:19:53 2003 Path: newsmaster.cc.columbia.edu!not-for-mail From: Jeffrey Altman Newsgroups: comp.protocols.kermit.misc Subject: Re: VPN connection using Windows XP Date: 18 Dec 2003 05:43:24 GMT Organization: Columbia University Lines: 17 Message-ID: References: <7067ecbf.0312171920.7f7a9d58@posting.google.com> NNTP-Posting-Host: mango.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1071726204 22766 128.59.59.104 (18 Dec 2003 05:43:24 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 18 Dec 2003 05:43:24 GMT User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (SunOS/5.9 (sun4u)) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14751 In all honesty, if you can connect to the desired host with or without the VPN there is no way for you to guarrantee that the packets for a given TCP session will traverse the VPN vs a non-VPN path. This is why we have protocols such as Secure Telnet, Secure Shell, Secure FTP, and Secure HTTP. ROBERT GREEN wrote: : QUESTION. : How do I ensure this is a VPN connection? -- Jeffrey Altman * Volunteer Developer Kermit 95 2.1 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 jaltman@columbia.edu Thu Dec 18 09:20:08 2003 Path: newsmaster.cc.columbia.edu!not-for-mail From: Jeffrey Altman Newsgroups: comp.protocols.kermit.misc Subject: Re: Kermit VT220 - Function Keys Date: 18 Dec 2003 05:40:19 GMT Organization: Columbia University Lines: 11 Message-ID: References: <1a78c305.0312021927.523e8509@posting.google.com> NNTP-Posting-Host: mango.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1071726019 22766 128.59.59.104 (18 Dec 2003 05:40:19 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 18 Dec 2003 05:40:19 GMT User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (SunOS/5.9 (sun4u)) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14750 Chris McKeever wrote: : I am trying to connect to our Phone PBX via a Kermit connection : through the serial cable (OS = Redhat 7.3 non graphical-CLI only) : - Kermit emulates a VT220 as default C-Kermit does not emulate a VT220. The terminal is defined by the xterm (or similar) pseudo-terminal session you are executing C-Kermit within. From dold@VPNXconnec.usenet.us.com Thu Dec 18 12:14:01 2003 Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!news.gtei.net!colt.net!newsfeed.icl.net!newsfeed.fjserv.net!skynet.be!news.lightlink.com!wasp.rahul.net!blue.rahul.net!not-for-mail From: dold@VPNXconnec.usenet.us.com Newsgroups: comp.protocols.kermit.misc Subject: Re: VPN connection using Windows XP Date: Thu, 18 Dec 2003 16:22:46 +0000 (UTC) Organization: a2i network Lines: 32 Sender: Clarence Dold Message-ID: References: <7067ecbf.0312171920.7f7a9d58@posting.google.com> NNTP-Posting-Host: violet.rahul.net X-Trace: blue.rahul.net 1071764566 6466 66.237.72.28 (18 Dec 2003 16:22:46 GMT) X-Complaints-To: support@rahul.net NNTP-Posting-Date: Thu, 18 Dec 2003 16:22:46 +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.20-24.7smp (i686)) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14752 ROBERT GREEN wrote: > How do I ensure this is a VPN connection? What makes you think it should be a VPN connection? I've used a few different VPN clients from home to connect to work and customer sites. One thing that they have in common is that I have to invoke the VPN client in order to make a connection to a particular host. The other style of VPN involves putting a VPN-enabled router or firewall piece of hardware at your location, which quietly handles the VPN connection for you. In either case, you can't make a connection to the "protected" host without the VPN connection. If you have a VPN client, you should have some icon that lets you know that it is enabled and connected. From a cmd prompt, you should do ipconfig /all which should reveal that some of your ip settings are not the same as when you don't have the VPN client running. You may have more adapters than you really have, as the VPN becomes one of the adapters. You probably can't reach any other computer on your local LAN while you are connected via VPN. -- --- Clarence A Dold - Hidden Valley (Lake County) CA USA 38.8-122.5 From fdc@columbia.edu Thu Dec 18 16:05:37 2003 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Mapping DEC F-keys Date: 18 Dec 2003 21:04:10 GMT Organization: Columbia University Lines: 20 Message-ID: Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1071781450 5495 128.59.59.56 (18 Dec 2003 21:04:10 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 18 Dec 2003 21:04:10 GMT User-Agent: slrn/0.9.7.4 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14753 Having received one too many questions about using DEC VT220/320 F-keys in Kermit 95, I made a new page about it: http://www.columbia.edu/kermit/k95vtfk.html and linked to it from the K95 FAQ section on "My Function Keys Don't Work!". I also finally got around to converting the plain-text table of keycodes to HTML: http://www.columbia.edu/kermit/keycodes.html Hope this makes life easier for some of you. Also if you haven't looked at the K95 FAQ: http://www.columbia.edu/kermit/k95faq.html recently, it does get updated frequently and now has sections on all sorts of things, and new material in many previously existing sections. - Frank From KentMartin@TexasHealth.org Wed Dec 24 14:41:18 2003 Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.tiscali.de!fu-berlin.de!postnews1.google.com!not-for-mail From: KentMartin@TexasHealth.org (Kent W. Martin) Newsgroups: comp.protocols.kermit.misc Subject: Problem with increment command Date: 24 Dec 2003 11:03:09 -0800 Organization: http://groups.google.com Lines: 30 Message-ID: NNTP-Posting-Host: 208.189.200.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1072292589 20575 127.0.0.1 (24 Dec 2003 19:03:09 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 24 Dec 2003 19:03:09 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14754 I'm running Kermit 95 1.1.20 on a Windows 2000 server. Every several months (yes, it's that infrequent!) one of my scripts has an error with an increment statement. Code with comments and extraneous stuff removed: local secsToAdd baseTime assign secsToAdd \Ftod2secs(...) assign baseTime \Ftod2secs(...) echo {secsToAdd: "\m(secsToAdd)".} echo {baseTime: "\m(baseTime)".} increment baseTime \m(secsToAdd) echo {baseTime: "\m(baseTime)".} Results: secsToAdd: "88". baseTime: "16509". baseTime: "1659Q". Last time I checked 16509+88=16597. Not sure where 1659Q comes from. Any ideas what could be happening here? Meanwhile I'll check on moving this script over to the latest version of Kermit95. Regards, Kent -------------- Kent W. Martin Texas Health Resources From fdc@columbia.edu Wed Dec 24 14:43:41 2003 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: Problem with increment command Date: 24 Dec 2003 19:42:45 GMT Organization: Columbia University Lines: 32 Message-ID: References: Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1072294965 1301 128.59.59.56 (24 Dec 2003 19:42:45 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 24 Dec 2003 19:42:45 GMT User-Agent: slrn/0.9.7.4 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14755 In article , Kent W. Martin wrote: : I'm running Kermit 95 1.1.20 on a Windows 2000 server. Every several : months (yes, it's that infrequent!)... : Hmmmm, then a bit hard to reproduce! one of my scripts has an error : with an increment statement. : : Code with comments and extraneous stuff removed: : local secsToAdd baseTime : assign secsToAdd \Ftod2secs(...) : assign baseTime \Ftod2secs(...) : : echo {secsToAdd: "\m(secsToAdd)".} : echo {baseTime: "\m(baseTime)".} : increment baseTime \m(secsToAdd) : echo {baseTime: "\m(baseTime)".} : : Results: : secsToAdd: "88". : baseTime: "16509". : baseTime: "1659Q". : : Last time I checked 16509+88=16597. Not sure where 1659Q comes from. : Any ideas what could be happening here? Meanwhile I'll check on : moving this script over to the latest version of Kermit95. : Could you do that first? Then if it doesn't happen any more, we're done :-) - Frank From KentMartin@TexasHealth.org Tue Dec 30 14:26:00 2003 Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!news.maxwell.syr.edu!postnews1.google.com!not-for-mail From: KentMartin@TexasHealth.org (Kent W. Martin) Newsgroups: comp.protocols.kermit.misc Subject: Re: Problem with increment command Date: 30 Dec 2003 10:53:26 -0800 Organization: http://groups.google.com Lines: 13 Message-ID: References: NNTP-Posting-Host: 208.189.200.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1072810407 12339 127.0.0.1 (30 Dec 2003 18:53:27 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 30 Dec 2003 18:53:27 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14757 I couldn't reproduce the problem on my Windows XP Pro workstation because I'm running Kermit95 2.1.3. Today I tried running my test script on my Windows 2000 server's copy of Kermit95 1.1.20. It took less than one minute for the error to occur. I'm now running my test script on my server's copy of Kermit95 2.0.1. This version does not appear to have the same problem. I'm not sure what was changed that affected this portion of the code (this problem is not listed in the list of known bugs) but the problem appears to have been fixed in the latest versions. Kent From fdc@columbia.edu Tue Dec 30 14:33:34 2003 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: Problem with increment command Date: 30 Dec 2003 19:31:21 GMT Organization: Columbia University Lines: 20 Message-ID: References: Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1072812681 29281 128.59.59.56 (30 Dec 2003 19:31:21 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 30 Dec 2003 19:31:21 GMT User-Agent: slrn/0.9.7.4 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14758 In article , Kent W. Martin wrote: : I couldn't reproduce the problem on my Windows XP Pro workstation : because I'm running Kermit95 2.1.3. Today I tried running my test : script on my Windows 2000 server's copy of Kermit95 1.1.20. It took : less than one minute for the error to occur. : : I'm now running my test script on my server's copy of Kermit95 2.0.1. : This version does not appear to have the same problem. : : I'm not sure what was changed that affected this portion of the code : (this problem is not listed in the list of known bugs) but the problem : appears to have been fixed in the latest versions. : There is no mention of any changes to the INCREMENT command since K95 1.1.20 in my notes, but of course there have been other fixes in the command parser, memory management, etc, to problems that might have affected more than one command. - Frank From jaltman2@nyc.rr.com Tue Dec 30 16:13:35 2003 Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!logbridge.uoregon.edu!arclight.uoregon.edu!wn14feed!worldnet.att.net!199.45.49.37!cyclone1.gnilink.net!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!53ab2750!not-for-mail From: Jeffrey Altman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031208 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Re: Problem with increment command References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 25 Message-ID: Date: Tue, 30 Dec 2003 20:31:33 GMT NNTP-Posting-Host: 66.108.138.151 X-Complaints-To: abuse@rr.com X-Trace: twister.nyc.rr.com 1072816293 66.108.138.151 (Tue, 30 Dec 2003 15:31:33 EST) NNTP-Posting-Date: Tue, 30 Dec 2003 15:31:33 EST Organization: Road Runner - NYC Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14759 Frank da Cruz wrote: > In article , > Kent W. Martin wrote: > : I couldn't reproduce the problem on my Windows XP Pro workstation > : because I'm running Kermit95 2.1.3. Today I tried running my test > : script on my Windows 2000 server's copy of Kermit95 1.1.20. It took > : less than one minute for the error to occur. > : > : I'm now running my test script on my server's copy of Kermit95 2.0.1. > : This version does not appear to have the same problem. > : > : I'm not sure what was changed that affected this portion of the code > : (this problem is not listed in the list of known bugs) but the problem > : appears to have been fixed in the latest versions. > : > There is no mention of any changes to the INCREMENT command since K95 1.1.20 > in my notes, but of course there have been other fixes in the command parser, > memory management, etc, to problems that might have affected more than > one command. > > - Frank The original problem sounds like either a threading problem or some other memory overwrite issue which was fixed after the release of 1.1.20. From bernie@berniewalp.com Thu Jan 1 13:45:07 2004 Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail From: bernie@berniewalp.com (Bernie Walp) Newsgroups: comp.protocols.kermit.misc Subject: How install Mac OS X binaries ? Date: 31 Dec 2003 19:30:04 -0800 Organization: http://groups.google.com Lines: 6 Message-ID: <89963141.0312311930.5c716f23@posting.google.com> NNTP-Posting-Host: 66.81.116.226 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1072927804 9640 127.0.0.1 (1 Jan 2004 03:30:04 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 1 Jan 2004 03:30:04 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14760 How do I install the Mac OS X binary I have downloaded ? The OS identifies the file as "Mach-O executable ppc" but neither clicking on its icon nor invoking it by name from a command line seems to cause anything to happen. I am sure this is a dumb question. From not-a-real-address@usa.net Thu Jan 1 13:45:13 2004 Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!sn-xit-03!sn-xit-04!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 install Mac OS X binaries ? Date: 01 Jan 2004 06:42:16 GMT Organization: earthfriends Message-ID: References: <89963141.0312311930.5c716f23@posting.google.com> User-Agent: Gnus/5.1003 (Gnus v5.10.3) XEmacs/21.4 (Rational FORTRAN, linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@supernews.com Lines: 27 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14761 in comp.protocols.kermit.misc i read: >How do I install the Mac OS X binary I have downloaded ? The OS >identifies the file as "Mach-O executable ppc" but neither clicking on >its icon nor invoking it by name from a command line seems to cause >anything to happen. ,----[ from http://www.columbia.edu/kermit/ck80.html#binaries ] | After downloading, rename to "kermit" or "kermit.exe" (etc), as appropriate | for your operating system and, if necessary, give execute permission, | e.g. (in Unix): | | $ mv cku209.linux-i386-rh7.2 kermit | $ chmod +x kermit `---- (the entire section should be read, but i'm guess this is the most likely issue.) in addition when using the command line, if the binary isn't placed in a directory which is in your PATH you must be explicit about the invocation, e.g., ./kermit -- a signature From bernie@berniewalp.com Thu Jan 1 13:45:19 2004 Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail From: bernie@berniewalp.com (Bernie Walp) Newsgroups: comp.protocols.kermit.misc Subject: Re: How install Mac OS X binaries ? Date: 1 Jan 2004 06:54:34 -0800 Organization: http://groups.google.com Lines: 6 Message-ID: <89963141.0401010654.7f224132@posting.google.com> References: <89963141.0312311930.5c716f23@posting.google.com> NNTP-Posting-Host: 66.81.66.85 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1072968874 18351 127.0.0.1 (1 Jan 2004 14:54:34 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 1 Jan 2004 14:54:34 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14762 Thank you! Silly me. those who know me have no need of my name wrote in message news:... > | After downloading, rename to "kermit" or "kermit.exe" (etc), as appropriate > | for your operating system and, if necessary, give execute permission From JDanSkinner@JDanSkinner.com Fri Jan 2 09:45:59 2004 Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!news.maxwell.syr.edu!postnews1.google.com!not-for-mail From: JDanSkinner@JDanSkinner.com (Dan Skinner) Newsgroups: comp.protocols.kermit.misc Subject: Re: Problem with increment command Date: 1 Jan 2004 14:39:25 -0800 Organization: http://groups.google.com Lines: 16 Message-ID: <8ce22d01.0401011439.3bbc4828@posting.google.com> References: NNTP-Posting-Host: 24.159.192.106 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1072996765 16133 127.0.0.1 (1 Jan 2004 22:39:25 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 1 Jan 2004 22:39:25 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14763 Frank da Cruz wrote in message news:... > There is no mention of any changes to the INCREMENT command since K95 1.1.20 > in my notes, but of course there have been other fixes in the command parser, > memory management, etc, to problems that might have affected more than > one command. > > - Frank Frank, Jeffery; I've broken lots of things while fixing something . Fixing something else while fixing something is more unusual and a trait of the truly blessed. Really just taking the opportunity to send best wishes for the new year. Regards...Dan. From fdc@columbia.edu Sun Jan 11 16:13:10 2004 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: New Script: Text to HTML Date: 11 Jan 2004 20:27:42 GMT Organization: Columbia University Lines: 12 Message-ID: Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1073852862 7970 128.59.59.56 (11 Jan 2004 20:27:42 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 11 Jan 2004 20:27:42 GMT User-Agent: slrn/0.9.7.4 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14766 For those who have wondered if Kermit is suitable for writing CGI scripts, here's a proof-of-concept that it can generate HTML: http://www.columbia.edu/kermit/ckscripts.html#html -- a script that converts a plain-text file to HTML, that also handles bullet and numbered lists and some other text elements. Anybody who is using Kermit for live-action CGI scripting, don't be shy about posting examples! - Frank From carldeitrich5@comcast.net Tue Jan 13 12:15:02 2004 Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!news.gtei.net!colt.net!news.maxwell.syr.edu!postnews2.google.com!not-for-mail From: carldeitrich5@comcast.net (Carl) Newsgroups: comp.protocols.kermit.misc Subject: FAILURE: Permission Denied "last error" message Date: 13 Jan 2004 08:37:38 -0800 Organization: http://groups.google.com Lines: 17 Message-ID: <4c64004.0401130837.37d632a6@posting.google.com> NNTP-Posting-Host: 146.145.216.207 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1074011860 23615 127.0.0.1 (13 Jan 2004 16:37:40 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 13 Jan 2004 16:37:40 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14774 I am running Windows XP and Kermit 95 2.1.2 and have a script which accesses an Alpha system running VMS via modem and / or tcpip. The script runs fine as long as it is run from the Administrator's account of the Windows XP computer. As soon as I switch to another account the script issues "FAILURE: Permission Denied" on the "last error" line of the file transfer screen. The script connects to the Alpha fine it just won't "get" the file i ask it to. The next mystery is if I am in the other account I can manually issue all the commands in the script and "get" the file just fine. Any help would be greatly appreciated. Thanks in advance, Carl ps The file I am attempting to "get" is a self extracxting exe file and the security on the alpha is set to; (System: RWED, Owner: RWED, Group: RWED, World: RWED) - everybody has read, write, edit, and delete clearance. From fdc@columbia.edu Tue Jan 13 12:19:59 2004 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: FAILURE: Permission Denied "last error" message Date: 13 Jan 2004 17:18:30 GMT Organization: Columbia University Lines: 25 Message-ID: References: <4c64004.0401130837.37d632a6@posting.google.com> Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1074014310 28519 128.59.59.56 (13 Jan 2004 17:18:30 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 13 Jan 2004 17:18:30 GMT User-Agent: slrn/0.9.7.4 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14775 In article <4c64004.0401130837.37d632a6@posting.google.com>, Carl wrote: : I am running Windows XP and Kermit 95 2.1.2 and have a script which : accesses an Alpha system running VMS via modem and / or tcpip. The : script runs fine as long as it is run from the Administrator's account : of the Windows XP computer. As soon as I switch to another account : the script issues "FAILURE: Permission Denied" on the "last error" : line of the file transfer screen. The script connects to the Alpha : fine it just won't "get" the file i ask it to. The next mystery is if : I am in the other account I can manually issue all the commands in the : script and "get" the file just fine. : It seems the script contains a command that you are not using when you do it by hand. Or maybe the script tries to save the file in a different directory than the one you download it to by hand. If you can't figure this out by looking at the script yourself, you can send a copy of the script to kermit-support@columbia.edu, and we'll take a look at it. : ps The file I am attempting to "get" is a self extracxting exe file : and the security on the alpha is set to; (System: RWED, Owner: RWED, : Group: RWED, World: RWED) - everybody has read, write, edit, and : delete clearance. : The problem would be on Windows end. - Frank From internyx@hotmail.com Fri Jan 23 11:07:17 2004 Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail From: internyx@hotmail.com (Diane) Newsgroups: comp.protocols.kermit.misc Subject: Changing ftp port to non-standard Date: 22 Jan 2004 15:18:52 -0800 Organization: http://groups.google.com Lines: 8 Message-ID: <67afd408.0401221518.2e82196f@posting.google.com> NNTP-Posting-Host: 206.223.21.130 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1074813533 13703 127.0.0.1 (22 Jan 2004 23:18:53 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 22 Jan 2004 23:18:53 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14781 I have an issue connecting via ftp over SSL (ckermit over openssl) where the remote host uses a non-standard ftp port (21000 rather than 21) so I receive the following message: 421 You are not permitted to make this connection. How do I change the port to use 21000 in ckermit? Any help would be appreciated. Thanks, Diane From jaltman2@nyc.rr.com Fri Jan 23 11:07:26 2004 Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!dfw-feed.news.verio.net!stl-feed.news.verio.net!news.cc.ukans.edu!newsxfer.eecs.umich.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newshosting.com!news-xfer1.atl.newshosting.com!216.196.98.140.MISMATCH!border1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!not-for-mail Message-ID: <40112AB2.5000102@nyc.rr.com> From: Jeffrey Altman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Re: Changing ftp port to non-standard References: <67afd408.0401221518.2e82196f@posting.google.com> In-Reply-To: <67afd408.0401221518.2e82196f@posting.google.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 15 Date: Fri, 23 Jan 2004 14:01:10 GMT NNTP-Posting-Host: 66.108.138.151 X-Complaints-To: abuse@rr.com X-Trace: twister.nyc.rr.com 1074866470 66.108.138.151 (Fri, 23 Jan 2004 09:01:10 EST) NNTP-Posting-Date: Fri, 23 Jan 2004 09:01:10 EST Organization: Road Runner - NYC Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14782 The 421 error is coming from your FTP server. It means you have made the connection and your client is not allowed to. Jeffrey Altman Diane wrote: > I have an issue connecting via ftp over SSL (ckermit over openssl) > where the remote host uses a non-standard ftp port (21000 rather than > 21) so I receive the following message: 421 You are not permitted to > make this connection. How do I change the port to use 21000 in > ckermit? > Any help would be appreciated. > Thanks, > Diane From fdc@columbia.edu Fri Jan 23 11:40:11 2004 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: Changing ftp port to non-standard Date: 23 Jan 2004 16:09:26 GMT Organization: Columbia University Lines: 45 Message-ID: References: <67afd408.0401221518.2e82196f@posting.google.com> <40112AB2.5000102@nyc.rr.com> Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1074874166 25254 128.59.59.56 (23 Jan 2004 16:09:26 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 23 Jan 2004 16:09:26 GMT User-Agent: slrn/0.9.7.4 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14783 In article <40112AB2.5000102@nyc.rr.com>, Jeffrey Altman wrote: : Diane wrote: :> I have an issue connecting via ftp over SSL (ckermit over openssl) :> where the remote host uses a non-standard ftp port (21000 rather than :> 21) so I receive the following message: 421 You are not permitted to :> make this connection. How do I change the port to use 21000 in :> ckermit? :> Any help would be appreciated. : : The 421 error is coming from your FTP server. It means you have made : the connection and your client is not allowed to. : As for making C-Kermit use a different port, see the documentation: http://www.columbia.edu/kermit/ckermit80.html#ftp Or type "help ftp open" at the C-Kermit> prompt and see: Syntax: FTP [ OPEN ] hostname [ port ] [ switches ] Opens a connection to the FTP server on the given host. The default TCP port is 21, but a different port number can be supplied if necessary. Optional switches are: /ANONYMOUS Logs you in anonymously. /USER:text Supplies the given text as your username. /PASSWORD:text Supplies the given text as your password. If you include a username but omit this switch and the server requires a password, you are prompted for it. /ACCOUNT:text Supplies the given text as your account, if required by the server. /ACTIVE Forces an active (rather than passive) connection. /PASSIVE Forces a passive (rather than active) connection. /NOINIT Inhibits sending initial REST, STRU, and MODE commands, which are well-known standard commands, but to which some servers react badly. /NOLOGIN Inhibits autologin for this connection only. - Frank From ebh@burntmail.com Wed Jan 28 11:22:24 2004 Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.net!news.maxwell.syr.edu!postnews1.google.com!not-for-mail From: ebh@burntmail.com (EBH) Newsgroups: comp.protocols.kermit.misc Subject: Help with a script Date: 27 Jan 2004 12:12:45 -0800 Organization: http://groups.google.com Lines: 16 Message-ID: <6b84683a.0401271212.4059fe85@posting.google.com> NNTP-Posting-Host: 63.127.208.90 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1075234366 26336 127.0.0.1 (27 Jan 2004 20:12:46 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 27 Jan 2004 20:12:46 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14788 I need help writing a kermit script. I want to write a script that will automatically log onto a remote system and then hand over control to my user. When the script asks the user to initiate kermit to upload or download, I want my script to step back in and initiate the fiel transfer and then pass control back top the user. I also want the script to detect when the other side disconnects and the script should end. >From what I currently know, I understand that after successfully logging in, I can issue the "connect" command which will transfer control from the script to the user. I need to know how to pick it up again when required by a screen prompt (Iniitate you KERMIT, or whatever). And as mentioned above I still to know when the remote system disconnects so that I can end execution of the script. Any help would be greatly appreciated. From slash_dev_slash_null_2000@yahoo.com Wed Jan 28 11:22:57 2004 Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail From: slash_dev_slash_null_2000@yahoo.com (Mark Sapiro) Newsgroups: comp.protocols.kermit.misc Subject: Re: Help with a script Date: 27 Jan 2004 21:57:46 -0800 Organization: http://groups.google.com Lines: 47 Message-ID: References: <6b84683a.0401271212.4059fe85@posting.google.com> NNTP-Posting-Host: 209.182.169.133 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1075269466 1157 127.0.0.1 (28 Jan 2004 05:57:46 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 28 Jan 2004 05:57:46 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14789 ebh@burntmail.com (EBH) wrote in message news:<6b84683a.0401271212.4059fe85@posting.google.com>... > From what I currently know, I understand that after successfully > logging in, I can issue the "connect" command which will transfer > control from the script to the user. I need to know how to pick it up > again when required by a screen prompt (Iniitate you KERMIT, or > whatever). And as mentioned above I still to know when the remote > system disconnects so that I can end execution of the script. If it's acceptable for the remote host to tell the user what to do, it can tell the user to escape back to command mode by typing the Kermit connect mode escape character followed by "c". You don't say what Kermit the user will be using, but if it is Kermit-95, the user can also normally return to command mode with Alt-x, but this can be changed by assigning the \Kexit verb to a different key. The connect mode escape character can be set with the command set escape-character (help set escape-character for more info). The default escape character in C-Kermit is control-\ in Kermit-95 it's control-] When the user escapes back to command mode, the script will pick up with the command following the connect. You might also be able to use Kermit's autodownload/autoupload features to bypass the user's need to escape to command mode. In this case, if the remote host attemps to "send" or "get" a file to/from the local Kermit, the local Kermit will switch from connect mode to server mode automatically to receive/send the file(s). There are various ways to tell if the remote disconnects if the script is executing. You should always test all commands for success or failure anyway, and any command that communicates with the host will fail if the connection is gone. Also, you can explicitly use the condition "open connection" as in if open connection ... while open connection ... to test the connection in the script. Normally if a disconnect occurs in conect mode, Kermit returns to command mode (to the script in your case) so you could test for this with something like connect if not open connection exit ; or end as appropriate -- Mark Sapiro msapiro -at- value net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From ebh@burntmail.com Wed Jan 28 11:41:45 2004 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!news.maxwell.syr.edu!postnews1.google.com!not-for-mail From: ebh@burntmail.com (EBH) Newsgroups: comp.protocols.kermit.misc Subject: Re: Help with a script Date: 28 Jan 2004 07:26:02 -0800 Organization: http://groups.google.com Lines: 63 Message-ID: <6b84683a.0401280726.24b3edfb@posting.google.com> References: <6b84683a.0401271212.4059fe85@posting.google.com> NNTP-Posting-Host: 63.127.208.90 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1075303562 7398 127.0.0.1 (28 Jan 2004 15:26:02 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 28 Jan 2004 15:26:02 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14790 slash_dev_slash_null_2000@yahoo.com (Mark Sapiro) wrote in message news:... > ebh@burntmail.com (EBH) wrote in message news:<6b84683a.0401271212.4059fe85@posting.google.com>... > > From what I currently know, I understand that after successfully > > logging in, I can issue the "connect" command which will transfer > > control from the script to the user. I need to know how to pick it up > > again when required by a screen prompt (Iniitate you KERMIT, or > > whatever). And as mentioned above I still to know when the remote > > system disconnects so that I can end execution of the script. > > If it's acceptable for the remote host to tell the user what to do, it > can tell the user to escape back to command mode by typing the Kermit > connect mode escape character followed by "c". You don't say what > Kermit the user will be using, but if it is Kermit-95, the user can > also normally return to command mode with Alt-x, but this can be > changed by assigning the \Kexit verb to a different key. > > The connect mode escape character can be set with the command > set escape-character > (help set escape-character for more info). The default escape > character in C-Kermit is control-\ in Kermit-95 it's control-] > > When the user escapes back to command mode, the script will pick up > with the command following the connect. > I am using C-Kermit and I know all about this but unfortunately this will be too much for my users. > You might also be able to use Kermit's autodownload/autoupload > features to bypass the user's need to escape to command mode. In this > case, if the remote host attemps to "send" or "get" a file to/from the > local Kermit, the local Kermit will switch from connect mode to server > mode automatically to receive/send the file(s). > After posting posting the I actually found this feature and I tried it but it only worked when the remote tried to "send" a file. When it tried to "get" a file it didn't and I suspect it has something to do with the file name. The remote is giving the received file some name over which I have no control (and I don't know the algorithm either so that I can name my file the same), and without me actually escaping back and explicitily sending my file it just won't work. So I guess the real question when I use the autodownload/autoupload feature how can I preset the file names fir the upload and/or download > There are various ways to tell if the remote disconnects if the script > is executing. You should always test all commands for success or > failure anyway, and any command that communicates with the host will > fail if the connection is gone. Also, you can explicitly use the > condition "open connection" as in > if open connection ... > while open connection ... > to test the connection in the script. > > Normally if a disconnect occurs in conect mode, Kermit returns to > command mode (to the script in your case) so you could test for this > with something like > connect > if not open connection exit ; or end as appropriate This didn't work as described, but I think this is more an issue with the remote, I will need to follow-up with them. THanks anyway for all the help From fdc@columbia.edu Wed Jan 28 11:54:35 2004 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: Help with a script Date: 28 Jan 2004 16:50:41 GMT Organization: Columbia University Lines: 56 Message-ID: References: <6b84683a.0401271212.4059fe85@posting.google.com> <6b84683a.0401280726.24b3edfb@posting.google.com> Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1075308641 13695 128.59.59.56 (28 Jan 2004 16:50:41 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 28 Jan 2004 16:50:41 GMT User-Agent: slrn/0.9.7.4 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14791 In article <6b84683a.0401280726.24b3edfb@posting.google.com>, EBH wrote: : slash_dev_slash_null_2000@yahoo.com (Mark Sapiro) wrote : in message news:... : ... :> You might also be able to use Kermit's autodownload/autoupload :> features to bypass the user's need to escape to command mode. In this :> case, if the remote host attemps to "send" or "get" a file to/from the :> local Kermit, the local Kermit will switch from connect mode to server :> mode automatically to receive/send the file(s). :> : After posting posting the I actually found this feature and I tried it : but it only worked when the remote tried to "send" a file. When it : tried to "get" a file it didn't and I suspect it has something to do : with the file name. : It should work with GET too, if the name or wildcard given matches one or more files in the user's current directory, and/or includes a proper pathname identifying the file. : The remote is giving the received file some name : over which I have no control (and I don't know the algorithm either so : that I can name my file the same), and without me actually escaping : back and explicitily sending my file it just won't work. : Then I take the remote is not a real Kermit program? And it is not really doing an active GET but a passive RECEIVE? : So I guess the real question when I use the autodownload/autoupload : feature how can I preset the file names fir the upload and/or download : Anything can be done, but this question is a bit to vague to answer precisely. I'd need to know more about what's on the far end, and what exactly is it doing? If it's doing a GET, this should work. If it's renaming the file the file it receives, there's nothing you can do about that in your script. If it's asking for a file you don't have, maybe there might be a way to "edit" the name before searching for the file; I'd have to think about it. If it's doing a passive RECEIVE rather than a GET, then I would assume it prints some kind of message first, telling the user what to do. In that case you can use CONNECT /TRIGGER: to have Kermit watch for that string during the CONNECT session; when the string appears, control automatically reverts to the your script. :> connect :> if not open connection exit ; or end as appropriate : : This didn't work as described, but I think this is more an issue with : the remote, I will need to follow-up with them. : The more information you give us, the more we can help. Like, what kind of connection is it? Kermit can and will detect broken connections under most circumstances. There are exceptions, but instead of listing them, just tell us what kind of connection you have and we can comment. - Frank From jaltman2@nyc.rr.com Wed Jan 28 13:59:14 2004 Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!dfw-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!arclight.uoregon.edu!wn13feed!worldnet.att.net!199.45.49.37!cyclone1.gnilink.net!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!not-for-mail Message-ID: <4017E23D.4010805@nyc.rr.com> From: Jeffrey Altman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Re: Help with a script References: <6b84683a.0401271212.4059fe85@posting.google.com> <6b84683a.0401280726.24b3edfb@posting.google.com> In-Reply-To: <6b84683a.0401280726.24b3edfb@posting.google.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 18 Date: Wed, 28 Jan 2004 16:18:03 GMT NNTP-Posting-Host: 66.108.138.151 X-Complaints-To: abuse@rr.com X-Trace: twister.nyc.rr.com 1075306683 66.108.138.151 (Wed, 28 Jan 2004 11:18:03 EST) NNTP-Posting-Date: Wed, 28 Jan 2004 11:18:03 EST Organization: Road Runner - NYC Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14792 The autodownload feature allows you to use all of the the KERMIT SERVER functionality. You can perform directory queries, change directories, query Kermit variables, query Environment variables, etc. You can execute scripts on the client side by downloading them and executing them with APC commands. You can use the CONNECT /TRIGGER: to provide an automated way for a script to automatically leave the interactive terminal session and return to automated processing. There are so many ways that this type of script can be setup it really is too much for a single posting. Jeffrey Altman Kermit 95 Author From junkmail@eracc.com Mon Feb 2 15:05:13 2004 Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsfeed.berkeley.edu!ucberkeley!newsfeed.mathworks.com!wn14feed!worldnet.att.net!199.45.49.37!cyclone1.gnilink.net!bigfeed2.bellsouth.net!bigfeed.bellsouth.net!bignumb.bellsouth.net!news.bellsouth.net!bignews6.bellsouth.net.POSTED!not-for-mail From: ERACC Organization: ERA Computer Consulting Subject: Re: Kermit User-Agent: M$ O and OE SUCK! Ok, anything from M$ sucks. Message-ID: Newsgroups: alt.os.linux.mandrake,comp.protocols.kermit.misc References: <401E2E43.1020607@globalnet.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Lines: 82 X-Trace: ofjmidbaofeaohdodbdpiflmbcekedmfhojhikkbagflhcbocifgpedmnlfkmbjnfopdldoegpjniemjighbjggbfmfpcllaihbihliohechmkebaojnmoffkkhjjlkbfbihcimogklfnhgljklfldhcknaocike NNTP-Posting-Date: Mon, 02 Feb 2004 14:26:10 EST Date: Mon, 02 Feb 2004 13:27:56 -0600 Xref: newsmaster.cc.columbia.edu alt.os.linux.mandrake:458643 comp.protocols.kermit.misc:14794 On Mon, 02 Feb 2004 11:02:27 +0000, Alan Secker wrote: > I want to prove that my winmodem is working so that I can use it to fax > out. I have tried various ways without success. Then I read about Kermit > but configuring that and installing it seems to present more problems > than it solves. Get a real modem ... problem solved. More info below. > Has anyone succeeded in running this program Yes. Often. > or perhaps better still can tell me the correct syntax to send AT > commands to the /dev/ttyS0 port? If you want "free" use minicom. Kermit Project sells a book that has all the commands in it. It is how they continue to fund development. If you really want free information about kermit try asking in the comp.protocols.kermit.misc news group. The kermit developers hang out in there and may give you the answer you seek. That group added to this message to help you along. Standard "winmodem" include file: You've asked a FAQ so I'm posting a "pre-recorded" message. It's only fair. :-) Your post is either about "what modem do I use?" or about the notorious "winmodems" aka "losemodems". If you need a new modem or are pulling out hair trying to get that "losemodem" working try MultiTech's MT56* line of external, hardware modems: http://www.multitech.com/PRODUCTS/Families/MultiModemZDX/ http://www.multitech.com/PARTNERS/Families/MultiModemZDX/compatibility.asp http://www.multitech.com/NEWS/Families/MultiModemZDX/Reviews.asp We've had great success with these at our clients that use *n?x and OS/2 systems. You can find these at several online stores as well as your local computer resellers. These are a mid-range price at a little over $100. FYI, "low end" modems are usually under $100 and "high end" modems are usually over $200. Another modem brand with which we've had success and that is less expensive than the MultiTech brand (for you cheapskate types :-) is Zoom. Specifically their V.92 Model 3049. See this URL: http://www.zoom.com/products/dial_up_external_serial.html More information about modems can be found in the modem section of "The Unix Hardware Buyer HOWTO" at tldp.org: http://www.tldp.org/HOWTO/Unix-Hardware-Buyer-HOWTO/modems.html Read it, especially parts 7.3 and 7.4. Then go and start reading here for a gritty and humorous treatise of internal vs external modems: http://linuxmafia.com/~rick/faq/#internalmodem For information on many modems pre-tested with Linux see this: http://65.70.147.202:8080/gromitkc/winmodem.html *or* http://www.devidal.tv/~chris/winmodems/ Note that the above info *does not* just cover "losemodems". Many real modems appear in the "Big List" there. Real, external, serial modems will work pretty much anywhere a modem is needed. If you *insist* on using a "losemodem" then see this site: http://www.linmodems.org/ May the PC gods have mercy on you. Gene (e-mail: gene \a\t eracc \d\o\t com) -- Linux era4.eracc.UUCP 2.4.22-26mdkenterprise i686 12:42:52 up 2 days, 15:01, 8 users, load average: 0.06, 0.07, 0.01 ERA Computer Consulting - http://www.eracc.com/ eCS, OS/2, Mandrake GNU/Linux, OpenServer & UnixWare resellers From alan@asandco.co.uk Mon Feb 2 16:26:33 2004 From: Alan secker Newsgroups: alt.os.linux.mandrake,comp.protocols.kermit.misc Subject: Re: Kermit Date: Mon, 02 Feb 2004 20:08:27 +0000 Organization: freedom2surf Lines: 87 Message-ID: References: <401E2E43.1020607@globalnet.co.uk> NNTP-Posting-Host: i-195-137-122-242.freedom2surf.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.freedom2surf.net 1075752436 23680 195.137.122.242 (2 Feb 2004 20:07:16 GMT) X-Complaints-To: abuse@freedom2surf.net NNTP-Posting-Date: Mon, 2 Feb 2004 20:07:16 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 X-Accept-Language: en-us, en In-Reply-To: Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!irazu.switch.ch!switch.ch!solnet.ch!solnet.ch!81.31.101.51.MISMATCH!entanet!news.freedom2surf.net!not-for-mail Xref: newsmaster.cc.columbia.edu alt.os.linux.mandrake:458650 comp.protocols.kermit.misc:14795 ERACC wrote: > On Mon, 02 Feb 2004 11:02:27 +0000, Alan Secker wrote: > > >>I want to prove that my winmodem is working so that I can use it to fax >>out. I have tried various ways without success. Then I read about Kermit >>but configuring that and installing it seems to present more problems >>than it solves. > > > Get a real modem ... problem solved. More info below. > > >>Has anyone succeeded in running this program > > > Yes. Often. > > >>or perhaps better still can tell me the correct syntax to send AT >>commands to the /dev/ttyS0 port? > > > If you want "free" use minicom. Kermit Project sells a book that has > all the commands in it. It is how they continue to fund development. > If you really want free information about kermit try asking in the > comp.protocols.kermit.misc news group. The kermit developers hang out > in there and may give you the answer you seek. That group added to > this message to help you along. > > Standard "winmodem" include file: > > You've asked a FAQ so I'm posting a "pre-recorded" message. It's only > fair. :-) Your post is either about "what modem do I use?" or about > the notorious "winmodems" aka "losemodems". > > If you need a new modem or are pulling out hair trying to get that > "losemodem" working try MultiTech's MT56* line of external, hardware > modems: > > http://www.multitech.com/PRODUCTS/Families/MultiModemZDX/ > http://www.multitech.com/PARTNERS/Families/MultiModemZDX/compatibility.asp > http://www.multitech.com/NEWS/Families/MultiModemZDX/Reviews.asp > > We've had great success with these at our clients that use *n?x and > OS/2 systems. You can find these at several online stores as well as > your local computer resellers. These are a mid-range price at a > little over $100. FYI, "low end" modems are usually under $100 and > "high end" modems are usually over $200. > > Another modem brand with which we've had success and that is less > expensive than the MultiTech brand (for you cheapskate types :-) is > Zoom. Specifically their V.92 Model 3049. See this URL: > > http://www.zoom.com/products/dial_up_external_serial.html > > More information about modems can be found in the modem section of > "The Unix Hardware Buyer HOWTO" at tldp.org: > > http://www.tldp.org/HOWTO/Unix-Hardware-Buyer-HOWTO/modems.html > > Read it, especially parts 7.3 and 7.4. Then go and start reading here > for a gritty and humorous treatise of internal vs external modems: > > http://linuxmafia.com/~rick/faq/#internalmodem > > For information on many modems pre-tested with Linux see this: > > http://65.70.147.202:8080/gromitkc/winmodem.html > *or* > http://www.devidal.tv/~chris/winmodems/ > > Note that the above info *does not* just cover "losemodems". Many > real modems appear in the "Big List" there. Real, external, serial > modems will work pretty much anywhere a modem is needed. > > If you *insist* on using a "losemodem" then see this site: > > http://www.linmodems.org/ > > May the PC gods have mercy on you. > > Gene (e-mail: gene \a\t eracc \d\o\t com) Thank you Alan From carldeitrich5@comcast.net Wed Feb 4 15:05:38 2004 Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail From: carldeitrich5@comcast.net (Carl) Newsgroups: comp.protocols.kermit.misc Subject: close kermit window after running a program Date: 4 Feb 2004 07:53:52 -0800 Organization: http://groups.google.com Lines: 14 Message-ID: <4c64004.0402040753.4398a78@posting.google.com> NNTP-Posting-Host: 146.145.216.207 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1075910032 632 127.0.0.1 (4 Feb 2004 15:53:52 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 4 Feb 2004 15:53:52 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14796 I am running k95 version 2.1.2 from a script I am issuing the following DEFINE PROGRAM CD "C:\PROGRAM FILES\OMEGA PATIENT CENTER",RUN "PATIENTCENTER.EXE" program quit the program opens ok but the quit command does not execute until i close the patientcenter.exe. Is there a way to return control back to the kermit script so the quit command executes and closes the kermit window? Thanks in advance, Carl From jaltman2@nyc.rr.com Wed Feb 4 15:05:54 2004 Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!in.100proofnews.com!in.100proofnews.com!cycny01.gnilink.net!cyclone1.gnilink.net!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!not-for-mail Message-ID: <402145FC.4060205@nyc.rr.com> From: Jeffrey Altman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Re: close kermit window after running a program References: <4c64004.0402040753.4398a78@posting.google.com> In-Reply-To: <4c64004.0402040753.4398a78@posting.google.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 17 Date: Wed, 04 Feb 2004 19:13:33 GMT NNTP-Posting-Host: 66.108.138.151 X-Complaints-To: abuse@rr.com X-Trace: twister.nyc.rr.com 1075922013 66.108.138.151 (Wed, 04 Feb 2004 14:13:33 EST) NNTP-Posting-Date: Wed, 04 Feb 2004 14:13:33 EST Organization: Road Runner - NYC Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14798 RUN START program.exe Carl wrote: > I am running k95 version 2.1.2 > from a script I am issuing the following > > DEFINE PROGRAM CD "C:\PROGRAM FILES\OMEGA PATIENT CENTER",RUN > "PATIENTCENTER.EXE" > program > quit > > the program opens ok but the quit command does not execute until i > close the patientcenter.exe. Is there a way to return control back to > the kermit script so the quit command executes and closes the kermit > window? > Thanks in advance, > Carl From JDanSkinner@JDanSkinner.com Thu Feb 5 09:01:04 2004 Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!news.gtei.net!colt.net!news.maxwell.syr.edu!postnews1.google.com!not-for-mail From: JDanSkinner@JDanSkinner.com (Dan Skinner) Newsgroups: comp.protocols.kermit.misc Subject: set command height Date: 4 Feb 2004 18:38:57 -0800 Organization: http://groups.google.com Lines: 11 Message-ID: <8ce22d01.0402041838.2fad2ccc@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 1075948737 12703 127.0.0.1 (5 Feb 2004 02:38:57 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 5 Feb 2004 02:38:57 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14799 I'm confused. It seems to matter where I put the set command height command in my login scripts. If I stick it in the subscript where I configure the terminal frame size alt-X seems to forget the command height and re-connect will find the terminal height messsed up. If the set command height is in the first few lines of the top level script the command frame height and terminal height will hold through an alt-X and re-connect. Can someone shed some light on this? Oh, I'm using 43 line screens W95 2.1.3. Regards...Dan From jaltman2@nyc.rr.com Thu Feb 5 09:01:14 2004 Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!wn14feed!worldnet.att.net!199.45.49.37!cyclone1.gnilink.net!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!not-for-mail From: Jeffrey Altman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Re: set command height References: <8ce22d01.0402041838.2fad2ccc@posting.google.com> In-Reply-To: <8ce22d01.0402041838.2fad2ccc@posting.google.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 16 Message-ID: Date: Thu, 05 Feb 2004 05:10:09 GMT NNTP-Posting-Host: 66.108.138.151 X-Complaints-To: abuse@rr.com X-Trace: twister.nyc.rr.com 1075957809 66.108.138.151 (Thu, 05 Feb 2004 00:10:09 EST) NNTP-Posting-Date: Thu, 05 Feb 2004 00:10:09 EST Organization: Road Runner - NYC Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14800 Please provide an example set of scripts that demonstrate the problem. Dan Skinner wrote: > I'm confused. It seems to matter where I put the set command height > command in my login scripts. > If I stick it in the subscript where I configure the terminal frame > size > alt-X seems to forget the command height and re-connect will find the > terminal height messsed up. If the set command height is in the first > few lines of the top level script the command frame height and > terminal height will hold through an alt-X and re-connect. Can > someone shed some light on this? > Oh, I'm using 43 line screens W95 2.1.3. > Regards...Dan From JDanSkinner@JDanSkinner.com Fri Feb 6 12:32:17 2004 Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!news.maxwell.syr.edu!postnews1.google.com!not-for-mail From: JDanSkinner@JDanSkinner.com (Dan Skinner) Newsgroups: comp.protocols.kermit.misc Subject: Re: set command height Date: 5 Feb 2004 19:00:17 -0800 Organization: http://groups.google.com Lines: 106 Message-ID: <8ce22d01.0402051900.fd4341d@posting.google.com> References: <8ce22d01.0402041838.2fad2ccc@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 1076036417 14831 127.0.0.1 (6 Feb 2004 03:00:17 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 6 Feb 2004 03:00:17 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14801 Jeffrey Altman wrote in message news:... Thanks Jeffrey; I think I found the commom denominator. Am/was using launch parameter --height:30 in the shortcut then changing the height of both command and terminal in the script to 43. When I change the launch value to --height:43 the problem goes away. Seems a little wierd, but my problem is solved. Sample Script: set title SuSE SSH connection to Suse.jdanskinner.com set command color Blue White clear command set telopt authentication refused set telopt binary require accept set telopt encryption accepted accepted set telopt kermit accepted accepted set tcp sendbuf 8192 set tcp recvbuf 8192 set tcp reverse-dns-lookup auto set tcp dns-service-records off set term bytesize 8 set term echo off set term wrap off set term apc off set term autodown on set term status on set key \269 \13 set term newline off set dialer backspace \8 set mouse activate on set exit on-disconnect on set file download-directory /tmp/download set file type binary set file collision overwrite set file incomplete discard set streaming auto set clear-channel off set file names literal set receive pathnames off set send pathnames off set file char cp437 set protocol kermit set xfer char transparent set command quoting on set login prompt set network tcp/ip if fail end 1 TCP/IP Failed echo Terminal linux console is set set term cursor full set command height 43 take {C:\K95\SCRIPTS\linuxcons.ksc} set login password {=9>ek|>?:?} ssh suse /user:root ---------------------------------------------------- ; linuxcons for Dans laptop echo linuxcons.ksc set telnet terminal linux set term height 43 set term width 80 set gui window position 15 15 set gui window resize scale set gui font lucida_console 10 set term type linux set term color term blue lightgray set term color reverse lightgray blue set term color status Magenta Black set term color help LightGray Cyan set term color selection Black Yellow set term color underline Blue white set term attribute underline off set term scrollback 512 set term remote-char cp437 G1 set term remote-char cp437 G2 set command color blue lightgray clear command-screen clear terminal-screen set printer /windows://localskin/mainprint set transfer mode manual lcd /tmp binary echo linuxcons.ksc exit Regards...Dan. > Please provide an example set of scripts that demonstrate the problem. > > > > Dan Skinner wrote: > > I'm confused. It seems to matter where I put the set command height > > command in my login scripts. > > If I stick it in the subscript where I configure the terminal frame > > size > > alt-X seems to forget the command height and re-connect will find the > > terminal height messsed up. If the set command height is in the first > > few lines of the top level script the command frame height and > > terminal height will hold through an alt-X and re-connect. Can > > someone shed some light on this? > > Oh, I'm using 43 line screens W95 2.1.3. > > Regards...Dan From flyingboz@hotmail.com Wed Feb 11 13:00:15 2004 Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail From: flyingboz@hotmail.com (boz) Newsgroups: comp.protocols.kermit.misc Subject: kermit script syntax highlighting Date: 11 Feb 2004 09:59:19 -0800 Organization: http://groups.google.com Lines: 11 Message-ID: <805c1bb5.0402110959.60474f1e@posting.google.com> NNTP-Posting-Host: 24.199.148.221 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1076522360 23800 127.0.0.1 (11 Feb 2004 17:59:20 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 11 Feb 2004 17:59:20 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14802 Do any fellow kermit scripters have or could point me to a syntax highlighting configuration file for any of the popular editors out there? I'm hoping I don't have to re-invent the wheel, but my scripts are beginning to get quite complex and debugging them would be quicker w/ a little color highlighting. Any suggestions welcome! Thanks :) From fdc@columbia.edu Wed Feb 11 13:11:35 2004 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: kermit script syntax highlighting Date: 11 Feb 2004 18:05:33 GMT Organization: Columbia University Lines: 20 Message-ID: References: <805c1bb5.0402110959.60474f1e@posting.google.com> Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1076522733 16934 128.59.59.56 (11 Feb 2004 18:05:33 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 11 Feb 2004 18:05:33 GMT User-Agent: slrn/0.9.7.4 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14803 In article <805c1bb5.0402110959.60474f1e@posting.google.com>, boz wrote: : Do any fellow kermit scripters have or could point me to a syntax : highlighting configuration file for any of the popular editors out : there? : : I'm hoping I don't have to re-invent the wheel, but my scripts are : beginning to get quite complex and debugging them would be quicker w/ : a little color highlighting. : I'm certain that nobody has done this before, so wheel inventors are most welcome -- whoever comes first gets to define how it works. As you probably know, a rudimentary EMACS mode for editing Kermit scripts (based on the latest Awk mode): http://www.columbia.edu/kermit/case26.html so that would be a logical place to start (if you like EMACS). - Frank From dold@auto-creat.usenet.us.com Tue Feb 17 11:41:22 2004 Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!news.gtei.net!colt.net!peernews3.colt.net!newsfeed.stueberl.de!peer01.cox.net!cox.net!news-xfer.cox.net!gail.ripco.com!wasp.rahul.net!blue.rahul.net!not-for-mail From: dold@auto-creat.usenet.us.com Newsgroups: comp.protocols.kermit.misc Subject: auto-create a script Date: Tue, 17 Feb 2004 15:19:11 +0000 (UTC) Organization: a2i network Lines: 23 Sender: Clarence Dold Message-ID: NNTP-Posting-Host: violet.rahul.net X-Trace: blue.rahul.net 1077031151 16653 66.237.72.28 (17 Feb 2004 15:19:11 GMT) X-Complaints-To: support@rahul.net NNTP-Posting-Date: Tue, 17 Feb 2004 15:19:11 +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.20-28.7smp (i686)) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14805 The page http://www.columbia.edu/kermit/k95.html contains the phrase "You can even have Kermit write scripts for you by watching and recording your interactions with the host. CLICK HERE for an introduction. " I know it's been mentioned here, but I can't find the references, either in the manual or via google of this group. All I want to do is login to a pop3 server, which is how my ISP authenticates before accepting smtp relays. I could probably trim ftp://kermit.columbia.edu/kermit/scripts/ckermit/pop3/ but I can't fetch that for some reason. I suppose I could edit a copy of login.ksc, or start from scratch... I only need a couple of lines. But I remembered the recording feature, and I thought I'd use it. Kermit 95 2.1.3, 1 Jan 2003, for 32-bit Windows -- --- Clarence A Dold - Hidden Valley (Lake County) CA USA 38.8-122.5 From jaltman2@nyc.rr.com Tue Feb 17 11:41:27 2004 Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!news.gtei.net!colt.net!news.maxwell.syr.edu!nx02.iad01.newshosting.com!newshosting.com!news3.optonline.net!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!53ab2750!not-for-mail Message-ID: <403232C4.2090303@nyc.rr.com> From: Jeffrey Altman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Re: auto-create a script References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 30 Date: Tue, 17 Feb 2004 15:26:24 GMT NNTP-Posting-Host: 66.108.138.151 X-Complaints-To: abuse@rr.com X-Trace: twister.nyc.rr.com 1077031584 66.108.138.151 (Tue, 17 Feb 2004 10:26:24 EST) NNTP-Posting-Date: Tue, 17 Feb 2004 10:26:24 EST Organization: Road Runner - NYC Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14806 If it is there Frank should remove it because the record functionality while added for C-Kermit never worked on Kermit 95 due to its multi-threaded implementation. Jeffrey Altman Kermit 95 Author Secure Endpoints, Inc. dold@auto-creat.usenet.us.com wrote: > The page http://www.columbia.edu/kermit/k95.html contains the phrase > "You can even have Kermit write scripts for you by watching and recording > your interactions with the host. CLICK HERE for an introduction. " > > I know it's been mentioned here, but I can't find the references, either in > the manual or via google of this group. > > All I want to do is login to a pop3 server, which is how my ISP > authenticates before accepting smtp relays. > > I could probably trim > ftp://kermit.columbia.edu/kermit/scripts/ckermit/pop3/ > but I can't fetch that for some reason. > > I suppose I could edit a copy of login.ksc, or start from scratch... I only > need a couple of lines. But I remembered the recording feature, and I > thought I'd use it. > > Kermit 95 2.1.3, 1 Jan 2003, for 32-bit Windows > From fdc@columbia.edu Tue Feb 17 11:55:46 2004 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: auto-create a script Date: 17 Feb 2004 16:44:51 GMT Organization: Columbia University Lines: 15 Message-ID: References: <403232C4.2090303@nyc.rr.com> Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1077036291 29352 128.59.59.56 (17 Feb 2004 16:44:51 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 17 Feb 2004 16:44:51 GMT User-Agent: slrn/0.9.7.4 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14807 In article <403232C4.2090303@nyc.rr.com>, Jeffrey Altman wrote: : If it is there Frank should remove it because the record functionality : while added for C-Kermit never worked on Kermit 95 due to its : multi-threaded implementation. : This will either be removed from or fixed in the next release of K95. Before you ask, no, I can't tell you when the next release will be, it depends on finding money to pay for the work. Meanwhile if you have a Linux or other Unix-based system handy, you can use the record ("learn") feature there, then move the resulting script to Windows. - Frank From dold@auto-creat.usenet.us.com Wed Feb 18 09:48:43 2004 Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!news.gtei.net!colt.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!nx02.iad01.newshosting.com!newshosting.com!newshosting.com!nx01.iad01.newshosting.com!news-feed01.roc.ny.frontiernet.net!nntp.frontiernet.net!tdsnet-transit!newspeer.tds.net!gail.ripco.com!wasp.rahul.net!blue.rahul.net!not-for-mail From: dold@auto-creat.usenet.us.com Newsgroups: comp.protocols.kermit.misc Subject: Re: auto-create a script Date: Wed, 18 Feb 2004 01:11:44 +0000 (UTC) Organization: a2i network Lines: 12 Sender: Clarence Dold Message-ID: References: <403232C4.2090303@nyc.rr.com> NNTP-Posting-Host: violet.rahul.net X-Trace: blue.rahul.net 1077066704 26010 66.237.72.28 (18 Feb 2004 01:11:44 GMT) X-Complaints-To: support@rahul.net NNTP-Posting-Date: Wed, 18 Feb 2004 01:11:44 +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.20-28.7smp (i686)) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14808 Frank da Cruz wrote: > Meanwhile if you have a Linux or other Unix-based system handy, you can > use the record ("learn") feature there, then move the resulting script to > Windows. I don't know that I would have looked for "learn", but I probably would have found it eventually, if I was looking on Unix. Actually, I see it on K95 as well. But I wasn't looking for "learn". -- --- Clarence A Dold - Hidden Valley (Lake County) CA USA 38.8-122.5 From fdc@columbia.edu Wed Feb 18 09:54:23 2004 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: auto-create a script Date: 18 Feb 2004 14:53:49 GMT Organization: Columbia University Lines: 15 Message-ID: References: <403232C4.2090303@nyc.rr.com> Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1077116029 15057 128.59.59.56 (18 Feb 2004 14:53:49 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 18 Feb 2004 14:53:49 GMT User-Agent: slrn/0.9.7.4 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14809 In article , dold@auto-creat.usenet.us.com wrote: : Frank da Cruz wrote: :> Meanwhile if you have a Linux or other Unix-based system handy, you can :> use the record ("learn") feature there, then move the resulting script to :> Windows. : : I don't know that I would have looked for "learn", but I probably would : have found it eventually, if I was looking on Unix. : Actually, I see it on K95 as well. But I wasn't looking for "learn". : It's documented here: http://www.columbia.edu/kermit/ckermit80.html#x8.11 - Frank From dold@auto-creat.usenet.us.com Wed Feb 18 11:04:02 2004 Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.net!news.glorb.com!cox.net!news-xfer.cox.net!news.lightlink.com!wasp.rahul.net!blue.rahul.net!not-for-mail From: dold@auto-creat.usenet.us.com Newsgroups: comp.protocols.kermit.misc Subject: Re: auto-create a script Date: Wed, 18 Feb 2004 15:12:57 +0000 (UTC) Organization: a2i network Lines: 22 Sender: Clarence Dold Message-ID: References: <403232C4.2090303@nyc.rr.com> NNTP-Posting-Host: violet.rahul.net X-Trace: blue.rahul.net 1077117177 17858 66.237.72.28 (18 Feb 2004 15:12:57 GMT) X-Complaints-To: support@rahul.net NNTP-Posting-Date: Wed, 18 Feb 2004 15:12:57 +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.20-28.7smp (i686)) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14810 Frank da Cruz wrote: > In article , dold@auto-creat.usenet.us.com wrote: > : I don't know that I would have looked for "learn", but I probably would > : have found it eventually, if I was looking on Unix. > It's documented here: > http://www.columbia.edu/kermit/ckermit80.html#x8.11 Odd. That's the "columbia" site. I was looking at the kermit-project site, invoked from K95 help. A google site search of the kermit-project for "script" "recording" returns nothing, but the same search on the columbia site returns some references, including the keyword "learn", but not the reference you give. I thought that the kermit-project was the preferred site. Actually, I thought it was the same set of pages, just renamed. -- --- Clarence A Dold - Hidden Valley (Lake County) CA USA 38.8-122.5 From jaltman2@nyc.rr.com Wed Feb 18 11:04:57 2004 Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!news.gtei.net!colt.net!news.maxwell.syr.edu!feed5.newsreader.com!newsreader.com!news3.optonline.net!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!not-for-mail Message-ID: <40338A84.5080401@nyc.rr.com> From: Jeffrey Altman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Re: auto-create a script References: <403232C4.2090303@nyc.rr.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 13 Date: Wed, 18 Feb 2004 15:50:17 GMT NNTP-Posting-Host: 66.108.138.151 X-Complaints-To: abuse@rr.com X-Trace: twister.nyc.rr.com 1077119417 66.108.138.151 (Wed, 18 Feb 2004 10:50:17 EST) NNTP-Posting-Date: Wed, 18 Feb 2004 10:50:17 EST Organization: Road Runner - NYC Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14811 dold@auto-creat.usenet.us.com wrote: > > Odd. That's the "columbia" site. I was looking at the kermit-project > site, invoked from K95 help. A google site search of the kermit-project > for "script" "recording" returns nothing, but the same search on the > columbia site returns some references, including the keyword "learn", but > not the reference you give. > > I thought that the kermit-project was the preferred site. Actually, I > thought it was the same set of pages, just renamed. http://www.kermit-project.org == http://www.columbia.edu/kermit/ From fdc@columbia.edu Wed Feb 18 11:30:32 2004 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: auto-create a script Date: 18 Feb 2004 16:07:27 GMT Organization: Columbia University Lines: 20 Message-ID: References: <403232C4.2090303@nyc.rr.com> <40338A84.5080401@nyc.rr.com> Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1077120447 18274 128.59.59.56 (18 Feb 2004 16:07:27 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 18 Feb 2004 16:07:27 GMT User-Agent: slrn/0.9.7.4 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14812 In article <40338A84.5080401@nyc.rr.com>, Jeffrey Altman wrote: : dold@auto-creat.usenet.us.com wrote: :> :> Odd. That's the "columbia" site. I was looking at the kermit-project :> site, invoked from K95 help. A google site search of the kermit-project :> for "script" "recording" returns nothing, but the same search on the :> columbia site returns some references, including the keyword "learn", but :> not the reference you give. :> :> I thought that the kermit-project was the preferred site. Actually, I :> thought it was the same set of pages, just renamed. : : http://www.kermit-project.org == http://www.columbia.edu/kermit/ : Right, they are two names for the same site. But in practice, the Columbia name is used about 20 times more frequently than the .org one, so Google apparently knows more about it. I'm not sure how this affects site search but evidently it does. - Frank From JDanSkinner@JDanSkinner.com Wed Feb 18 15:11:19 2004 Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.net!news.maxwell.syr.edu!postnews1.google.com!not-for-mail From: JDanSkinner@JDanSkinner.com (Dan Skinner) Newsgroups: comp.protocols.kermit.misc Subject: Re: auto-create a script Date: 18 Feb 2004 11:13:17 -0800 Organization: http://groups.google.com Lines: 18 Message-ID: <8ce22d01.0402181113.1e598299@posting.google.com> References: <403232C4.2090303@nyc.rr.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 1077131597 10602 127.0.0.1 (18 Feb 2004 19:13:17 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 18 Feb 2004 19:13:17 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14813 dold@auto-creat.usenet.us.com wrote in message news:... > Frank da Cruz wrote: > > Meanwhile if you have a Linux or other Unix-based system handy, you can > > use the record ("learn") feature there, then move the resulting script to > > Windows. > > I don't know that I would have looked for "learn", but I probably would > have found it eventually, if I was looking on Unix. > Actually, I see it on K95 as well. But I wasn't looking for "learn". Pardon me for butting in, but I found the shortcut button on the K95 dialer to be a valuable learning tool. If you configure a dialing entry for a particular purpose then press shortcut K95 dialer will create a script which will serve as a great starting point for a connection. I found it really has more stuff than needed most of the time, rather than too little. Regards...Dan. From dold@auto-creat.usenet.us.com Thu Feb 19 09:10:14 2004 Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!feedwest.aleron.net!aleron.net!news.mainstreet.net!wasp.rahul.net!blue.rahul.net!not-for-mail From: dold@auto-creat.usenet.us.com Newsgroups: comp.protocols.kermit.misc Subject: Re: auto-create a script Date: Thu, 19 Feb 2004 03:39:01 +0000 (UTC) Organization: a2i network Lines: 21 Sender: Clarence Dold Message-ID: References: <403232C4.2090303@nyc.rr.com> <8ce22d01.0402181113.1e598299@posting.google.com> NNTP-Posting-Host: violet.rahul.net X-Trace: blue.rahul.net 1077161941 30944 66.237.72.28 (19 Feb 2004 03:39:01 GMT) X-Complaints-To: support@rahul.net NNTP-Posting-Date: Thu, 19 Feb 2004 03:39:01 +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.20-28.7smp (i686)) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14814 Dan Skinner wrote: > Pardon me for butting in, but I found the shortcut button on the > K95 dialer to be a valuable learning tool. If you configure a dialing > entry for a particular purpose then press shortcut K95 dialer will > create a > script which will serve as a great starting point for a connection. > I found it really has more stuff than needed most of the time, rather > than too little. > Regards...Dan. Yes indeed. The scripts provided are excellent learning tools. In fact, I'm sure there is a script that does exactly what I want. A minor modification to the standard login.ksc would do what I want, and I have generated some of these from scratch, but I remembered a reference to the "learn", although I didn't remember the name, and I thought it would be quicker......... now I don't ;-) -- --- Clarence A Dold - Hidden Valley (Lake County) CA USA 38.8-122.5 From dold@auto-creat.usenet.us.com Thu Feb 19 09:10:21 2004 Path: newsmaster.cc.columbia.edu!panix!logbridge.uoregon.edu!feed1.news.rcn.net!rcn!in.100proofnews.com!in.100proofnews.com!wasp.rahul.net!blue.rahul.net!not-for-mail From: dold@auto-creat.usenet.us.com Newsgroups: comp.protocols.kermit.misc Subject: Re: auto-create a script Date: Thu, 19 Feb 2004 04:29:44 +0000 (UTC) Organization: a2i network Lines: 32 Sender: Clarence Dold Message-ID: References: <403232C4.2090303@nyc.rr.com> <40338A84.5080401@nyc.rr.com> NNTP-Posting-Host: violet.rahul.net X-Trace: blue.rahul.net 1077164984 31789 66.237.72.28 (19 Feb 2004 04:29:44 GMT) X-Complaints-To: support@rahul.net NNTP-Posting-Date: Thu, 19 Feb 2004 04:29:44 +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.20-28.7smp (i686)) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14815 Frank da Cruz wrote: > : http://www.kermit-project.org == http://www.columbia.edu/kermit/ > Right, they are two names for the same site. But in practice, the Columbia > name is used about 20 times more frequently than the .org one, so Google > apparently knows more about it. I'm not sure how this affects site search > but evidently it does. Ah, yes... the mysterious Google Ranking Engine. It counts how many times someone clicks on a page after finding it with a Google search (if you participate in statistics gathering, which I do), it counts how many pages have links to this page (both of these have 504, so it seems like they might be recognized as being the same page). It rates the referring pages to this site in the same fashion, so that pages referenced by important pages become more important. But the search of the "current site" is different. http://www.google.com/search?sourceid=navclient&ie=UTF-8&oe=UTF-8&q=site%3Awww%2Ecolumbia%2Eedu+recording+kermit+script verses http://www.google.com/search?sourceid=navclient&ie=UTF-8&oe=UTF-8&q=site:www%2Ekermit%2Dproject%2Eorg+recording+kermit+script The ranking only affects placement of the returned hit in the list of hits. But here it seems to not have the kermit-project indexed at all. I submitted http://www.kermit-project.org to be indexed by Google. http://www.google.com/addurl.html -- --- Clarence A Dold - Hidden Valley (Lake County) CA USA 38.8-122.5 From JDanSkinner@JDanSkinner.com Thu Feb 19 09:44:09 2004 Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail From: JDanSkinner@JDanSkinner.com (Dan Skinner) Newsgroups: comp.protocols.kermit.misc Subject: Re: auto-create a script Date: 19 Feb 2004 06:40:47 -0800 Organization: http://groups.google.com Lines: 11 Message-ID: <8ce22d01.0402190640.4fc082fc@posting.google.com> References: <403232C4.2090303@nyc.rr.com> <8ce22d01.0402181113.1e598299@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 1077201647 22771 127.0.0.1 (19 Feb 2004 14:40:47 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 19 Feb 2004 14:40:47 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14816 dold@auto-creat.usenet.us.com wrote in message news:... > Dan Skinner wrote: > be quicker......... now I don't ;-) I've not tried the "learn" feature in C-Kermit, but I did try the similar function in Procomm to create Aspect scripts. In that case I learned a new definition of the word fragile. The K95 Shortcut button proved a much better source for scripts we use hundreds of times a day. Regards...Dan. From dold@auto-creat.usenet.us.com Thu Feb 19 11:40:34 2004 Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!newspeer.monmouth.com!news.lightlink.com!wasp.rahul.net!blue.rahul.net!not-for-mail From: dold@auto-creat.usenet.us.com Newsgroups: comp.protocols.kermit.misc Subject: Re: auto-create a script Date: Thu, 19 Feb 2004 15:41:07 +0000 (UTC) Organization: a2i network Lines: 19 Sender: Clarence Dold Message-ID: References: <403232C4.2090303@nyc.rr.com> <8ce22d01.0402181113.1e598299@posting.google.com> <8ce22d01.0402190640.4fc082fc@posting.google.com> NNTP-Posting-Host: violet.rahul.net X-Trace: blue.rahul.net 1077205267 21878 66.237.72.28 (19 Feb 2004 15:41:07 GMT) X-Complaints-To: support@rahul.net NNTP-Posting-Date: Thu, 19 Feb 2004 15:41:07 +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.20-28.7smp (i686)) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14817 Dan Skinner wrote: > I've not tried the "learn" feature in C-Kermit, but I did try the similar > function in Procomm to create Aspect scripts. In that case I learned a new > definition of the word fragile. The K95 Shortcut button proved a much better > source for scripts we use hundreds of times a day. Oh, yes! Everyone loved Procomm when I started one job. They loved those scripts. But Procomm itself was pretty fragile for dialup usage. I slowly got the field people to convert to MSDOS Kermit, but I had to do all the scripting, since there was no cute tool. They could use whatever they wanted, but I could do things with Kermit scripts that they couldn't figure out how to do in Procomm, and I had no interest in learning. The scripts that I wrote were always portable between MSDOS, Unix, and K-95. -- --- Clarence A Dold - Hidden Valley (Lake County) CA USA 38.8-122.5 From sumitkumardwivedi@indiatimes.com Fri Feb 20 08:54:25 2004 Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!news.gtei.net!colt.net!news.maxwell.syr.edu!postnews1.google.com!not-for-mail From: sumitkumardwivedi@indiatimes.com (Sumit Kumar Dwivedi) Newsgroups: comp.protocols.kermit.misc Subject: TDM Date: 20 Feb 2004 03:32:39 -0800 Organization: http://groups.google.com Lines: 22 Message-ID: NNTP-Posting-Host: 61.11.55.124 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1077276760 10346 127.0.0.1 (20 Feb 2004 11:32:40 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 20 Feb 2004 11:32:40 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14818 hi friends I'm building a project in which there are 4 channel RS422 data,20 DIPS and one audio channel data coming continously.i.e. I have two seperate mux/dmux unit. 1 unit mux unit is connected to dmux of other side & vice versa.Both unit seperated by distance sends data continuously. RS422= 1920bytes/sec/channel DIPS= 800bytes/sec Audio= 8Kbytes/sec Total frame size is 64 bits excluding HDLC frame tags.We are using HDLC protocol for framing and error detection.How i mux & dmux data at a same time so that data can not be missed(bandwidth?).I am using TDM multiplexing. Audio signal is uses for telephonic conversetion.Can i implement mux/dmux in single FPGA or two FPGA(because data is full duplex.. continuous) Please give me some idea how to multiplex all these data sumit From arthur.marsh@internode.on.net Sat Feb 21 13:18:30 2004 Date: Sat, 21 Feb 2004 13:42:25 +1030 From: Arthur Marsh Organization: what organisation User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7a) Gecko/20040208 X-Accept-Language: en, en-us MIME-Version: 1.0 Newsgroups: comp.unix.unixware.misc,comp.protocols.kermit.misc Subject: Re: problem installing Kermit on Unixware 7 References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: ppp586.adelaide.on.net.au Message-ID: <4036cc9d@duster.adelaide.on.net> X-Trace: duster.adelaide.on.net 1077333149 ppp586.adelaide.on.net.au (21 Feb 2004 13:42:29 +1050) Lines: 32 Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!news.gtei.net!colt.net!news-lond.gip.net!news.gsl.net!gip.net!newsfeed.icl.net!newsfeed.fjserv.net!newspump.monmouth.com!newspeer.monmouth.com!newsfeed.mathworks.com!newsxfer.eecs.umich.edu!pln-w!lotsanews.com!sjc-feed.news.verio.net!duster.adelaide.on.net!not-for-mail Xref: newsmaster.cc.columbia.edu comp.unix.unixware.misc:47393 comp.protocols.kermit.misc:14819 (newsgroup comp.protocols.kermit.misc added) davln wrote: > I was pretty sure I was following the instructions closely but after I > ran makefile, I get no response when I type 'kermit'. I've run some > searches looking for troubleshooting information, not having much > luck. Is there a log generated someplace that would give me an idea > of what went wrong? Firstly, have a look at the makefile for the appropriate unixware target (e.g. something like uw7): grep -i unixware makefile Then when you type: make uw7 you should a large amount of output as each c language file is compiled and a binary called "wermit" is produced. Then you can test it by typing: ./wermit Once you are happy with your compilation, you can copy the wermit executable to /usr/local/bin/kermit or run: make install Arthur. From arthur.marsh@internode.on.net Sun Feb 22 12:37:13 2004 Date: Mon, 23 Feb 2004 02:49:54 +1030 From: Arthur Marsh Organization: what organisation User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7a) Gecko/20040208 X-Accept-Language: en, en-us MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: K95G / Win98SE all non-space text appears as rectangles Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: ppp1000.adelaide.on.net.au Message-ID: <4038d6ad@duster.adelaide.on.net> X-Trace: duster.adelaide.on.net 1077466797 ppp1000.adelaide.on.net.au (23 Feb 2004 02:49:57 +1050) Lines: 14 Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!news.gtei.net!colt.net!newsfeed.icl.net!newsfeed.news2me.com!newsfeed3.easynews.com!newsfeed1.easynews.com!easynews.com!easynews!pln-w!lotsanews.com!sjc-feed.news.verio.net!duster.adelaide.on.net!not-for-mail Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14821 After doing everything short of reinstalling Win98SE, I still have a problem that K95G is showing all non-space text in the status line and terminal windows as rectangles. Although this is *not* a K95G problem per se (it also appears with some of the text in MSN messenger and other programs), I wondered if anyone knows of a possible fix short of reinstalling everything? (I don't have broadband or CD images of the windows update files so it will be a tedious process). I've tried the free utility "font file fixer" without success and googling around produced few ideas. Arthur. From arthur.marsh@internode.on.net Sun Feb 22 12:37:20 2004 Date: Mon, 23 Feb 2004 03:24:56 +1030 From: Arthur Marsh Organization: what organisation User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7a) Gecko/20040208 X-Accept-Language: en, en-us MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Re: K95G / Win98SE all non-space text appears as rectangles References: <4038d6ad@duster.adelaide.on.net> In-Reply-To: <4038d6ad@duster.adelaide.on.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: ppp1000.adelaide.on.net.au Message-ID: <4038def2@duster.adelaide.on.net> X-Trace: duster.adelaide.on.net 1077468914 ppp1000.adelaide.on.net.au (23 Feb 2004 03:25:14 +1050) Lines: 31 Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!news.gtei.net!colt.net!peernews3.colt.net!newsfeed.stueberl.de!canoe.uoregon.edu!arclight.uoregon.edu!wn52feed!worldnet.att.net!129.250.175.17!pln-w!lotsanews.com!sjc-feed.news.verio.net!duster.adelaide.on.net!not-for-mail Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14822 Arthur Marsh wrote: > After doing everything short of reinstalling Win98SE, I still have a > problem that K95G is showing all non-space text in the status line and > terminal windows as rectangles. > > Although this is *not* a K95G problem per se (it also appears with some > of the text in MSN messenger and other programs), I wondered if anyone > knows of a possible fix short of reinstalling everything? (I don't have > broadband or CD images of the windows update files so it will be a > tedious process). > > I've tried the free utility "font file fixer" without success and > googling around produced few ideas. To partially answer my own question, by copying another machine's entire c:\windows\fonts directory to the local machine's newly created c:\windows\newfonts directory, then bringing the machine down to MS-DOS mode and doing cd \windows ren fonts oldfonts ren newfonts fonts and restarting, I now have K95G working again, with nearly 100 candidates for corrupt font files in the oldfonts directory. The joys of MS-Windows... Arthur. From tom.horsley@att.net Mon Feb 23 09:07:32 2004 Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!news.gtei.net!colt.net!newspump.monmouth.com!newspeer.monmouth.com!border1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!wn11feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!not-for-mail Sender: tom@CLOYD Newsgroups: comp.protocols.kermit.misc Subject: any known K95 X11 forwarding problems? From: tom.horsley@att.net (Thomas A. Horsley) Message-ID: Lines: 30 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: 4aba3a91bc3966adeab381dedbc73a87 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc04-news.ops.worldnet.att.net 1077488966 4aba3a91bc3966adeab381dedbc73a87 (Sun, 22 Feb 2004 22:29:26 GMT) NNTP-Posting-Date: Sun, 22 Feb 2004 22:29:26 GMT Organization: AT&T Worldnet Date: Sun, 22 Feb 2004 22:29:26 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14823 Disclaimer: There are so many things that could be going wrong I'm not blaming kermit, I'm just wondering if there are any data points :-). Situation: Recently, I've been doing a lot of work on my home linux box (redhat 9 with all updates applied) from my home windows XP box and running the cygwin XFree86 on windows and doing X11 forwarding through a kermit95 (2.1.3) ssh connection to my linux box. This mostly works great - I usually have an emacs running on linux with the display on windows. Sometimes I'll be using it for hours at a time. Occasionally though, the emacs will appear to freeze, and once it went away entirely with an error back in the shell where I started it saying it lost the connection to the X server. Sometimes the kermit window also appears to freeze (other times it continues to work even with emacs frozen). I'm just wondering if anyone has noticed similar problems? I realize this could be a bug in XFree86, the linux sshd forwarding code, the kermit forwarding code, or even emacs on linux or my linksys router, but I am wondering if kermit is part of it :-). I think I'll try connecting directly to my windws box in the future rather than using the X11 forwarding and see if the freezes still happen. (just to eliminate one factor from the chain). -- >>==>> The *Best* political site >>==+ email: Tom.Horsley@worldnet.att.net icbm: Delray Beach, FL | Free Software and Politics <<==+ From jaltman2@nyc.rr.com Mon Feb 23 09:07:37 2004 Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!newshosting.com!nx01.iad01.newshosting.com!167.206.3.103.MISMATCH!news3.optonline.net!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!not-for-mail Message-ID: <403943DD.9080001@nyc.rr.com> From: Jeffrey Altman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Re: any known K95 X11 forwarding problems? References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 38 Date: Mon, 23 Feb 2004 00:02:15 GMT NNTP-Posting-Host: 24.193.46.55 X-Complaints-To: abuse@rr.com X-Trace: twister.nyc.rr.com 1077494535 24.193.46.55 (Sun, 22 Feb 2004 19:02:15 EST) NNTP-Posting-Date: Sun, 22 Feb 2004 19:02:15 EST Organization: Road Runner - NYC Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14824 I am not aware of any problems. I don't use the cygwin X Server though. I use WinAXE. Thomas A. Horsley wrote: > Disclaimer: There are so many things that could be going wrong I'm not > blaming kermit, I'm just wondering if there are any data points :-). > > Situation: Recently, I've been doing a lot of work on my home linux box > (redhat 9 with all updates applied) from my home windows XP box and running > the cygwin XFree86 on windows and doing X11 forwarding through a kermit95 > (2.1.3) ssh connection to my linux box. > > This mostly works great - I usually have an emacs running on linux with > the display on windows. Sometimes I'll be using it for hours at a time. > > Occasionally though, the emacs will appear to freeze, and once it went away > entirely with an error back in the shell where I started it saying it lost > the connection to the X server. Sometimes the kermit window also appears > to freeze (other times it continues to work even with emacs frozen). > > I'm just wondering if anyone has noticed similar problems? > > I realize this could be a bug in XFree86, the linux sshd forwarding code, the > kermit forwarding code, or even emacs on linux or my linksys router, but I > am wondering if kermit is part of it :-). > > I think I'll try connecting directly to my windws box in the future rather > than using the X11 forwarding and see if the freezes still happen. (just > to eliminate one factor from the chain). > -- > >>>==>> The *Best* political site >>==+ > > email: Tom.Horsley@worldnet.att.net icbm: Delray Beach, FL | > Free Software and Politics <<==+ > From arthur.marsh@internode.on.net Tue Feb 24 12:35:57 2004 Date: Wed, 25 Feb 2004 02:12:12 +1030 From: Arthur Marsh Organization: what organisation User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7a) Gecko/20040208 X-Accept-Language: en, en-us MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Re: K95G / Win98SE all non-space text appears as rectangles References: <4038d6ad@duster.adelaide.on.net> <4038def2@duster.adelaide.on.net> In-Reply-To: <4038def2@duster.adelaide.on.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: ppp1000.adelaide.on.net.au Message-ID: <403b70d6@duster.adelaide.on.net> X-Trace: duster.adelaide.on.net 1077637334 ppp1000.adelaide.on.net.au (25 Feb 2004 02:12:14 +1050) Lines: 27 Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!nntp.abs.net!ash.uu.net!duster.adelaide.on.net!not-for-mail Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14825 Arthur Marsh wrote: > To partially answer my own question, by copying another machine's entire > c:\windows\fonts directory to the local machine's newly created > c:\windows\newfonts directory, then bringing the machine down to MS-DOS > mode and doing > > cd \windows > ren fonts oldfonts > ren newfonts fonts > > and restarting, I now have K95G working again, with nearly 100 > candidates for corrupt font files in the oldfonts directory. > > The joys of MS-Windows... > > Arthur. A commercial program called FontAgent can be run in free (demo) mode to identify corrupt font files. In my case, some of the reportedly corrupt font files did not cause the problem with K95G, but I assume that at least one of the reportedly corrupt font files *did* cause the problems with K95G. Arthur. From visagih@mtn.co.ug Wed Feb 25 10:17:31 2004 Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail From: visagih@mtn.co.ug (Hannes) Newsgroups: comp.protocols.kermit.misc Subject: How to check if kermit script already running Date: 25 Feb 2004 01:00:01 -0800 Organization: http://groups.google.com Lines: 14 Message-ID: <95d20fb2.0402250100.5773d0f2@posting.google.com> NNTP-Posting-Host: 212.136.56.8 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1077699601 15773 127.0.0.1 (25 Feb 2004 09:00:01 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 25 Feb 2004 09:00:01 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14826 Hi all How to check if kermit script already running ?. in ksh N=`ps -ef | grep "scriptname" | grep -v grep | wc -l` if [ N -gt 0 ]; then echo "Kermit script already running exit fi Ho to do this in a kermit script ? Thanks From flyingboz@hotmail.com Wed Feb 25 10:17:46 2004 Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!news.gtei.net!newsfeed.albacom.net!news.mailgate.org!newsfeed.icl.net!nx02.iad01.newshosting.com!newshosting.com!elnk-atl-nf1!newsfeed.earthlink.net!cyclone.tampabay.rr.com!news-post.tampabay.rr.com!twister.southeast.rr.com.POSTED!53ab2750!not-for-mail From: "x@y.org" Newsgroups: comp.protocols.kermit.misc References: <95d20fb2.0402250100.5773d0f2@posting.google.com> Subject: Re: How to check if kermit script already running Lines: 8 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: Date: Wed, 25 Feb 2004 14:21:15 GMT NNTP-Posting-Host: 24.199.148.221 X-Complaints-To: abuse@rr.com X-Trace: twister.southeast.rr.com 1077718875 24.199.148.221 (Wed, 25 Feb 2004 09:21:15 EST) NNTP-Posting-Date: Wed, 25 Feb 2004 09:21:15 EST Organization: Road Runner - NC Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14827 Is there a reason you can't just exec your ksh script from w/in kermit, and parse the return value or modify your ksh script to create a semaphore and check condition upon return? From dobbinsm@nc.rr.com Fri Feb 27 14:53:17 2004 Path: newsmaster.cc.columbia.edu!panix!news.linkpendium.com!news.glorb.com!postnews1.google.com!not-for-mail From: dobbinsm@nc.rr.com (Matthew Dobbins) Newsgroups: comp.protocols.kermit.misc Subject: Comparing a file function output with built in variables Date: 27 Feb 2004 11:32:59 -0800 Organization: http://groups.google.com Lines: 29 Message-ID: NNTP-Posting-Host: 24.211.134.32 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1077910379 24679 127.0.0.1 (27 Feb 2004 19:32:59 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 27 Feb 2004 19:32:59 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14829 Hello everyone! I am writing a client/server kermit script to send a file from one location to another, but I only want to send if the file has changed. To overcome this, I decided to compare the md5sum output of the two files. If they are different, I will send. I have the md5sum of the server file (the new file) on the remote machine in the built in variable \v(inmatch) (i sent it this using input/output commands). I would like to compare the \v(inmatch) to \f_getblock(\m(channel),32). To make that last statement clear, here is what I'm doing on the remote machine to get the md5sum of the file to be updated: run md5sum ad.sxi > sum (get the md4sum of the ad file and put into file sum) file open channel sum (open file for reading in kermit) ?COMPARE? \v(inmatch) with \f_getblock(\m(channel),32) (they are both the same types - 32 long) IF the compare is true, i want to hang up, otherwise send Can anyone help me with the compare? I have searched the documentation and cannot find anything that will do this. Any suggestions? Thanks. matt From fdc@columbia.edu Fri Feb 27 15:18:51 2004 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: Comparing a file function output with built in variables Date: 27 Feb 2004 20:16:25 GMT Organization: Columbia University Lines: 66 Message-ID: References: Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1077912985 9066 128.59.59.56 (27 Feb 2004 20:16:25 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 27 Feb 2004 20:16:25 GMT User-Agent: slrn/0.9.7.4 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14830 In article , Matthew Dobbins wrote: : : I am writing a client/server kermit script to send a file from one : location to another, but I only want to send if the file has changed. : To overcome this, I decided to compare the md5sum output of the two : files. If they are different, I will send. : : I have the md5sum of the server file (the new file) on the remote : machine in the built in variable \v(inmatch) (i sent it this using : input/output commands). I would like to compare the \v(inmatch) to : \f_getblock(\m(channel),32). : : To make that last statement clear, here is what I'm doing on the : remote machine to get the md5sum of the file to be updated: : : run md5sum ad.sxi > sum (get the md4sum of the ad file and put into : file sum) : file open channel sum (open file for reading in kermit) : That's overkill; you can do it all in one statement: .\%a := \fword(\fcommand(md5sum ad.sxi),1) That is, assign to \%a the first word of the output of "md5sum ad.sxi". "help function command" and "help function word" for details. : ?COMPARE? \v(inmatch) with \f_getblock(\m(channel),32) (they are both : the same types - 32 long) : IF the compare is true, i want to hang up, otherwise send : if equal "\%a" "\v(inmatch)" { hangup } else { send ad.sxi } In general I think you'd rather transfer the file unnecessarily than skip transferring it when you should have. Thus you might want to precheck the results for validity; e.g.: if not defined \%a ... if not = \flen(\%a) 32 ... : Can anyone help me with the compare? I have searched the : documentation and cannot find anything that will do this. Any : suggestions? : "help if". Note that the basic documentation is the manual, "Using C-Kermit". The online stuff is all supplemental. Btw, a better way to get the remote md5sum would be to do it through the server: query kermit command(md5sum filename) if fail ... and then: if equal \%a \fword(\v(query),1) ... Not only is this simpler, but the result is transferred to the script with an error detecting and correcting protocol, which can make a difference on noisy connections. - Frank From dobbinsm@nc.rr.com Sat Feb 28 14:22:27 2004 Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail From: dobbinsm@nc.rr.com (Matthew Dobbins) Newsgroups: comp.protocols.kermit.misc Subject: Re: Comparing a file function output with built in variables Date: 27 Feb 2004 21:35:24 -0800 Organization: http://groups.google.com Lines: 1 Message-ID: References: NNTP-Posting-Host: 24.211.134.32 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1077946525 31628 127.0.0.1 (28 Feb 2004 05:35:25 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 28 Feb 2004 05:35:25 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14831 Thanks for your help Frank! Much appreciated. From uhclem@DutchElmSt.invalid Sat Mar 6 11:30:53 2004 Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!news.gtei.net!colt.net!pop-news-1.colt-telecom.nl!newsgate.cistron.nl!news.cambrium.nl!news.cambrium.nl!border1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!wn13feed!worldnet.att.net!199.45.49.37!cyclone1.gnilink.net!cyclone.southeast.rr.com!news-server.columbus.rr.com!fe3.columbus.rr.com.POSTED!not-for-mail Message-ID: <404947FA.6B6EEDA5@DutchElmSt.invalid> From: "Mr. Uh Clem" X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc,comp.sys.mac.portables Subject: Mac OS X iBook, Motorola v120e cell phone(Verizon) and C-Kermit? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 40 Date: Sat, 06 Mar 2004 03:40:10 GMT NNTP-Posting-Host: 24.164.65.32 X-Complaints-To: abuse@rr.com X-Trace: fe3.columbus.rr.com 1078544410 24.164.65.32 (Fri, 05 Mar 2004 22:40:10 EST) NNTP-Posting-Date: Fri, 05 Mar 2004 22:40:10 EST Organization: Road Runner High Speed Online http://www.rr.com Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14836 comp.sys.mac.portables:205382 I'm interested in using my iBook & cell phone for a simple modem dial-up application. (Not ISP, just plain character mode ala BBS.) I see tantalizing hints that suggest I should be able to get a data cable (available at Radio Shack for about $20) and C-Kermit should be able to use the cell phone as a modem. ... OS X actually has quite good support for cell phones connecting to the Internet. Trouble is, most of the providers and manufacturers haven't figured this out yet. For example, Apple fully supports the Motorola V120, and Verizon's scripts support any AT-standard phone, which includes all of Motorola's lineup. ... http://homepage.mac.com/jrc/contrib/mobile_office/ How To Use Your CDMA Cell Phone as a USB Modem on Mac OS X (a.k.a. the Wireless Internet you already have) strongly suggest that I should be able to get a data cable and OS X 10.2 will recognize the cell phone as a modem. If that works, what do I need to do to have C-Kermit dial out through it?? To be honest, I've only used Kermit as a telnet client, so I don't even know how to use it with the iBooks's internal modem (yet!) I _presume_ once I know what these device names are for set line, I should be able to figure out the commands to get either connected. What would the cell phone modem device be?? Anyone have experience using Kermit via a USB cell phone on OS X? -- Clem "If you push something hard enough, it will fall over." - Fudd's first law of opposition From fdc@columbia.edu Sat Mar 6 11:30:56 2004 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc,comp.sys.mac.portables,comp.sys.mac.comm Subject: Re: Mac OS X iBook, Motorola v120e cell phone(Verizon) and C-Kermit? Followup-To: comp.protocols.kermit.misc Date: 6 Mar 2004 16:30:01 GMT Organization: Columbia University Lines: 35 Message-ID: References: <404947FA.6B6EEDA5@DutchElmSt.invalid> Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1078590601 13660 128.59.59.56 (6 Mar 2004 16:30:01 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 6 Mar 2004 16:30:01 GMT User-Agent: slrn/0.9.7.4 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14837 comp.sys.mac.portables:205384 comp.sys.mac.comm:346479 In article <404947FA.6B6EEDA5@DutchElmSt.invalid>, Mr. Uh Clem wrote: : I'm interested in using my iBook & cell phone for a simple modem : dial-up application. (Not ISP, just plain character mode ala BBS.) : ... : If that works, what do I need to do to have C-Kermit dial out : through it?? To be honest, I've only used Kermit as a telnet : client, so I don't even know how to use it with the iBooks's : internal modem (yet!) : Mac OS X's support for serial ports and modems remains largely a mystery to me; e.g. details about device names, lockfiles, and such are shrouded in obscurity. To the best of my knowledge, however, the current version of C-Kermit does handle the port correctly, if you can find it and are allowed to open it, and should also handle any device that "looks like" a serial port. The commands would be: set modem type xxxx ; Type "?" for list, choose one. set port /dev/xxx ; Give the device name. set speed 57600 ; Set the speed, "set speed ?" for choices. set dial display on ; To watch what happens during dialing. dial 7654321 ; Dial the number. If the call succeeds, Kermit enters CONNECT (terminal) mode automatically. For more information about any of the commands, type "help set modem", "help set port", "help dial", etc. When trying this, be sure to pick up the working version of C-Kermit: http://www.columbia.edu/kermit/ckdaily.html Although I haven't announced it yet, this is a Beta test for the next release, so if there are any difficulties with Mac OS X, I'd like to iron them out now (I don't have direct access to Mac OS X myself). - Frank From heinrichgeis@t-online.de Wed Mar 10 09:10:48 2004 Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!news.gtei.net!colt.net!newsfeed.esat.net!news.clara.net!wagner.news.clara.net!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail From: Heinrich Geis Newsgroups: comp.protocols.kermit.misc Subject: Carriage Return in ftp-Kermit Script Date: Tue, 09 Mar 2004 22:41:30 +0100 Organization: T-Online Lines: 25 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.t-online.com 1078868515 06 26594 BzOhGoir1XB-TlM 040309 21:41:55 X-Complaints-To: usenet-abuse@t-online.de X-ID: SSyqowZpgeOqz2WOR+rrX8mH767XmLvdhrfuDNFy9DVGKxFfUXtlE- User-Agent: KNode/0.7.1 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14838 Hi, When uploading files interactively the following dialogue appears at the beginning of the session. The dialogue stops at the line with the colon. Then I hit and the session continues . ---------------------------------------------------------------------------------------------------------------------- ftp name of webserver Connected to name of webserver. 220 name of webserver FTP-Server Version 2010 ready. Name (name of webserver): << HERE I PRESS RETURN TO CONTINUE>> 230 User 07021-19643-0001 logged in. Remote system type is UNIX. Using binary mode to transfer files. ftp> --------------------------------------------------------------------------------------------------------------------- Now my question: What do I enter in the Kermit script analogue to pressing the -key in the interactive session ? Thanks beforehand and regards. Heinrich From slash_dev_slash_null_2000@yahoo.com Wed Mar 10 09:11:02 2004 Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!news.gtei.net!colt.net!diablo.netcom.net.uk!netcom.net.uk!newsfeed.wirehub.nl!newsfeeder.concepts.nl!213.51.141.5.MISMATCH!newshub2.home.nl!newshub1.home.nl!home.nl!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.98.140.MISMATCH!border1.nntp.ash.giganews.com!nntp.giganews.com!news.glorb.com!postnews1.google.com!not-for-mail From: slash_dev_slash_null_2000@yahoo.com (Mark Sapiro) Newsgroups: comp.protocols.kermit.misc Subject: Re: Carriage Return in ftp-Kermit Script Date: 9 Mar 2004 20:21:41 -0800 Organization: http://groups.google.com Lines: 39 Message-ID: References: NNTP-Posting-Host: 209.182.169.133 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1078892502 30673 127.0.0.1 (10 Mar 2004 04:21:42 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 10 Mar 2004 04:21:42 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14839 Heinrich Geis wrote in message news:... > Hi, > > When uploading files interactively the following dialogue appears at the > beginning of the session. The dialogue stops at the line with the > colon. Then I hit and the session continues . > > ---------------------------------------------------------------------------------------------------------------------- > ftp name of webserver > Connected to name of webserver. > 220 name of webserver FTP-Server Version 2010 ready. > Name (name of webserver): << HERE I PRESS RETURN TO CONTINUE>> > > 230 User 07021-19643-0001 logged in. > Remote system type is UNIX. > Using binary mode to transfer files. > ftp> > --------------------------------------------------------------------------------------------------------------------- > > Now my question: What do I enter in the Kermit script analogue to > pressing the -key in the interactive session ? The Name prompt comes from Kermit, not from the ftp server so you can't answer it directly in the script. You can provide the answers interactively from the keyboard when the script runs, or you can provide the information in the login so you won't be prompted as in ftp ftphost.sub.domain /user:anonymous /password:me@my.domain Give the kermit command help ftp open and see http://www.columbia.edu/kermit/ftpscripts.html for more info including how the script can prompt for the password so it isn't built in. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From sam@spade.com Wed Mar 10 16:27:20 2004 Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!news.gtei.net!colt.net!newsfeed.icl.net!newsfeed.news2me.com!newsfeed3.easynews.com!easynews.com!easynews!easynews-local!news.easynews.com.POSTED!not-for-mail From: sam@spade.com Newsgroups: comp.protocols.kermit.misc Subject: Problems POSTing to ASP form from Kermit Message-ID: X-Newsreader: Forte Agent 1.91/32.564 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Lines: 56 X-Complaints-To: abuse@easynews.com Organization: EasyNews, UseNet made Easy! X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly. Date: Wed, 10 Mar 2004 19:51:00 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14840 Hey all, I'm new to this version of Kermit and the HTTP capabilities, so please bear with me. Also, I sent an email to support at Columbia.edu, but I never received a response (or my spam filter ate the response :( I have a page in my ASP application that permits a user to browse and select a file on their system, then click the submit button to post the file to my page. The file is posted as a multipart/form-data mime type when done through the ASP page, and I can parse it just fine. I am trying to replicate this scenario for remote users running Kermit under SCO Unix. I'd like to have Kermit build the multipart message and post it just like an HTML form would. [Is this even possible?] So far, my trials with the PUT command result in nothing more than 403 Forbidden errors (trying 2 different servers). The error message also shows the content-type as Text/html even though I've specified a mime type of multipart/form-data in the put command. Here's my Kermit command... http /TOSCREEN /USER:myuserd /PASSWORD:mypswd put /MIME-TYPE:multipart/form-data File2Upload.txt http://localhost/test20/RemoteFileImportPost.asp The results I get are as follows... DNS Lookup... Trying 127.0.0.1... (OK) Server: Microsoft-IIS/5.1 Date: Tue, 02 Mar 2004 17:24:26 GMT HTTP/1.1 403 Forbidden Server: Microsoft-IIS/5.1 Date: Tue, 02 Mar 2004 17:24:26 GMT Connection: close Content-Type: text/html Content-Length: 44 (The content-length value of 44 doesn't change regardless of the file I've selected to upload.) I've included userid and password as both a switch and as a preface to the URL with identical results. I’m running on day 12 of the 21 day trial at the moment. The users I’m supporting are actually military food ordering guys in the field. They are all running C-Kermit 8.0.209, 17 Mar 2003, for Unixware 7, according to the doc they sent me. I’ve successfully managed to get Kermit to POST form data using a separate file for the form parameters. (This is how I’ll get the users to logon prior to sending their data.) Thanks for any help you can provide. From jaltman2@nyc.rr.com Wed Mar 10 16:28:38 2004 Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!feed5.newsreader.com!newsreader.com!news3.optonline.net!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!53ab2750!not-for-mail Message-ID: <404F8662.8040300@nyc.rr.com> From: Jeffrey Altman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Re: Problems POSTing to ASP form from Kermit References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Lines: 107 Date: Wed, 10 Mar 2004 21:18:26 GMT NNTP-Posting-Host: 24.193.46.55 X-Complaints-To: abuse@rr.com X-Trace: twister.nyc.rr.com 1078953506 24.193.46.55 (Wed, 10 Mar 2004 16:18:26 EST) NNTP-Posting-Date: Wed, 10 Mar 2004 16:18:26 EST Organization: Road Runner - NYC Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14841 comments in-line ... sam@spade.com wrote: > Hey all, > > I'm new to this version of Kermit and the HTTP capabilities, so please > bear with me. Also, I sent an email to support at Columbia.edu, but I > never received a response (or my spam filter ate the response :( I no longer work for Columbia and my time is spent on other endeavors at the moment so I no longer respond to all support requests sent to kermit-support at columbia.edu. > I have a page in my ASP application that permits a user to browse and > select a file on their system, then click the submit button to post > the file to my page. The file is posted as a multipart/form-data mime > type when done through the ASP page, and I can parse it just fine. > > I am trying to replicate this scenario for remote users running Kermit > under SCO Unix. I'd like to have Kermit build the multipart message > and post it just like an HTML form would. [Is this even possible?] It is possible but you must construct the response the way your browser would. If your ASP is sending a cookie to the client to be included in the response, then you must construct a cookie header and include it in the response. When you perform the HTTP GET you can obtain an array containing the headers in an array with HTTP /ARRAY:H GET ... You would then construct the header with HTTP /HEADER:{Cookie: blob} POST ... > So far, my trials with the PUT command result in nothing more than 403 > Forbidden errors (trying 2 different servers). The error message also > shows the content-type as Text/html even though I've specified a mime > type of multipart/form-data in the put command. > > Here's my Kermit command... > > http /TOSCREEN /USER:myuserd /PASSWORD:mypswd put > /MIME-TYPE:multipart/form-data File2Upload.txt > http://localhost/test20/RemoteFileImportPost.asp > > The results I get are as follows... > > DNS Lookup... Trying 127.0.0.1... (OK) > Server: Microsoft-IIS/5.1 > Date: Tue, 02 Mar 2004 17:24:26 GMT > > HTTP/1.1 403 Forbidden > Server: Microsoft-IIS/5.1 > Date: Tue, 02 Mar 2004 17:24:26 GMT > Connection: close > Content-Type: text/html > Content-Length: 44 > > (The content-length value of 44 doesn't change regardless of the file > I've selected to upload.) > > I've included userid and password as both a switch and as a preface to > the URL with identical results. A 403 error means exactly what it says. The action you are attempting to perform is Forbidden because you do not have the appropriate authorization. The reason for the lack of authorization is not clear from the error code. The Content-Length: 44 refers to the length of the text/html data which has been provided as part of the response from the web server. Perhaps the text/html response is providing you with additional details. If the userid and password are valid it is quite possible that the web server requires an authentication method which is not currently implemented in Kermit. Obtaining network traces of the interactions from a browser and comparing them to network traces of your Kermit script should provide clues. > I’m running on day 12 of the 21 day trial at the moment. The users > I’m supporting are actually military food ordering guys in the field. > They are all running C-Kermit 8.0.209, 17 Mar 2003, for Unixware 7, > according to the doc they sent me. > > I’ve successfully managed to get Kermit to POST form data using a > separate file for the form parameters. (This is how I’ll get the > users to logon prior to sending their data.) > > Thanks for any help you can provide. > If you wish to obtain consulting services for assistance in solving this problem or to have additional functionality added to the Kermit HTTP command feel free to contact me at jaltman a t secure-endpoints.com The address from which this newsgroup posting is being made is not read. Jeffrey Altman Kermit 95 Author Secure Endpoints, Inc. From heinrichgeis@t-online.de Wed Mar 10 17:54:35 2004 Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!router1.news.adelphia.net!solaris.cc.vt.edu!news.vt.edu!news.cc.ukans.edu!newsxfer.eecs.umich.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-fra1.dfn.de!news-lei1.dfn.de!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail From: Heinrich Geis Newsgroups: comp.protocols.kermit.misc Subject: Re: Carriage Return in ftp-Kermit Script Date: Wed, 10 Mar 2004 22:10:19 +0100 Organization: T-Online Lines: 6 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.t-online.com 1078953043 03 19934 bkjhGUvvMlc+ruE 040310 21:10:43 X-Complaints-To: usenet-abuse@t-online.de X-ID: SXwrIqZU8eyCO25eQOXA1ErVAsGgFYnx8gCt3OEZ135w1BPzbyhtk+ User-Agent: KNode/0.7.1 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14842 Hi Mark, Bingo. I should have thought of that in the first place. Thanks for help. Heinrich From arbys@beaversinc.com Thu Mar 11 14:06:28 2004 Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!news.glorb.com!cox.net!news-xfer.cox.net!p01!lakeread05.POSTED!not-for-mail From: "Jimmie Beavers" Newsgroups: comp.protocols.kermit.misc Subject: Windows XP and Dial-up Lines: 9 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 Message-ID: Date: Thu, 11 Mar 2004 12:49:18 -0600 NNTP-Posting-Host: 68.15.212.82 X-Complaints-To: abuse@cox.net X-Trace: lakeread05 1079031003 68.15.212.82 (Thu, 11 Mar 2004 13:50:03 EST) NNTP-Posting-Date: Thu, 11 Mar 2004 13:50:03 EST Organization: Cox Communications Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14843 I'm trying to use Kermit95 to dial-in to a Windows XP Professional computer from Windows 98. I can make the connection, but I can't login to the system. Does anyone have any suggestions for me? CMontgomery From fdc@columbia.edu Thu Mar 11 14:32:42 2004 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: Windows XP and Dial-up Date: 11 Mar 2004 19:13:05 GMT Organization: Columbia University Lines: 29 Message-ID: References: Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1079032385 17483 128.59.59.56 (11 Mar 2004 19:13:05 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 11 Mar 2004 19:13:05 GMT User-Agent: slrn/0.9.7.4 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14844 In article , Jimmie Beavers wrote: : I'm trying to use Kermit95 to dial-in to a Windows XP Professional computer : from Windows 98. I can make the connection, but I can't login to the : system. : : Does anyone have any suggestions for me? : People who are accustomed to operating systems like Unix are often surprised to discover that Windows does not work the same way in this respect: you can't dial it up and be greeted by login and password prompts, and then a shell. Windows does not come with any such feature, so you would need to add third-party software to allow remote dialup text-based access. See: http://www.columbia.edu/kermit/k95faq.html#dialin for a brief overview. Kermit 95 includes a "host mode" system that lets you set up a Windows PC for incoming calls, that presents callers with a simple menu and the ability to upload and download files: http://www.columbia.edu/kermit/k95host.html See the final section of the host mode documentation for details about the problems of remote access to Windows: ftp://kermit.columbia.edu/kermit/k95/hostuser.txt - Frank From arbys@beaversinc.com Thu Mar 11 16:42:48 2004 Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!news.gtei.net!colt.net!news.maxwell.syr.edu!central.cox.net!east.cox.net!cox.net!p01!lakeread05.POSTED!not-for-mail From: "Jimmie Beavers" Newsgroups: comp.protocols.kermit.misc References: Subject: Re: Windows XP and Dial-up Lines: 42 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 Message-ID: Date: Thu, 11 Mar 2004 14:49:07 -0600 NNTP-Posting-Host: 68.15.212.82 X-Complaints-To: abuse@cox.net X-Trace: lakeread05 1079038191 68.15.212.82 (Thu, 11 Mar 2004 15:49:51 EST) NNTP-Posting-Date: Thu, 11 Mar 2004 15:49:51 EST Organization: Cox Communications Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14845 "Frank da Cruz" wrote in message news:slrnc51ei1.m4f.fdc@sesame.cc.columbia.edu... > In article , Jimmie Beavers wrote: > : I'm trying to use Kermit95 to dial-in to a Windows XP Professional computer > : from Windows 98. I can make the connection, but I can't login to the > : system. > : > : Does anyone have any suggestions for me? > : > People who are accustomed to operating systems like Unix are often > surprised to discover that Windows does not work the same way in this > respect: you can't dial it up and be greeted by login and password > prompts, and then a shell. Windows does not come with any such feature, > so you would need to add third-party software to allow remote > dialup text-based access. See: > > http://www.columbia.edu/kermit/k95faq.html#dialin > > > for a brief overview. Kermit 95 includes a "host mode" system that lets > you set up a Windows PC for incoming calls, that presents callers with a > simple menu and the ability to upload and download files: > > http://www.columbia.edu/kermit/k95host.html > > See the final section of the host mode documentation for details about > the problems of remote access to Windows: > > ftp://kermit.columbia.edu/kermit/k95/hostuser.txt > > - Frank Thank you for the reply! I've looked in several places and tried to find out if I can use automated (scripted) uploads and downloads when using the "HOST" mode of Kermit95, but I haven't seen anything yet. Is this a possiblity? J Beavers From fdc@columbia.edu Thu Mar 11 16:52:23 2004 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: Windows XP and Dial-up Date: 11 Mar 2004 21:50:24 GMT Organization: Columbia University Lines: 28 Message-ID: References: Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1079041824 24673 128.59.59.56 (11 Mar 2004 21:50:24 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 11 Mar 2004 21:50:24 GMT User-Agent: slrn/0.9.7.4 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14846 In article , Jimmie Beavers wrote: : : Thank you for the reply! I've looked in several places and tried to find : out if I can use automated (scripted) uploads and downloads when using the : "HOST" mode of Kermit95, but I haven't seen anything yet. Is this a : possiblity? : You mean, calling up a host-mode PC from another computer? Let's say computer A is running host mode, and computer B is calling it up, using C-Kermit or Kermit 95. Then yes, Computer B can be scripted, but it's a bit of a pain because the host mode interface is designed to be used by humans. Thus scripting interactions with it would be like scripting interactions with a BBS -- wait for the menu, send the appropriate choice, wait for the next menu, etc. However, if your intention is to allow access by multiple users via direct dialin, then this is probably the best way, because with host mode you get some form of authentication, and you get separate directories for the different users. On the other hand, if you mean, does host mode give you automated file transfers FROM the PC where host mode is running...? No, you don't need host mode for that, you can script it yourself directly, as illustrated in the Kermit script library: http://www.columbia.edu/kermit/ckscripts.html - Frank From notforyou@hotmail.com Sat Mar 13 13:14:18 2004 Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!fu-berlin.de!uni-berlin.de!200-193-090-137.fnsce7001.dsl.brasiltelecom.net.BR!not-for-mail From: "Henrique Seganfredo" Newsgroups: comp.protocols.kermit.misc Subject: MSDOS KERMIT & unbuffered disk write (session log) Date: Fri, 12 Mar 2004 19:49:11 -0300 Lines: 15 Message-ID: NNTP-Posting-Host: 200-193-090-137.fnsce7001.dsl.brasiltelecom.net.br (200.193.90.137) X-Trace: news.uni-berlin.de 1079131846 69495016 I 200.193.90.137 ([8247]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14848 Hello, I am trying to use MS DOS KERMIT on an old computer to receive call reports data from a PABX. But I noticed that if there is a power shortage and the computer resets or shuts down, the current data (visible on the screen) sent by the PABX is not recorded to disk, I can only see in the file the data stored from tha last time I exited Kermit correctly (Alt-X, exit). Is there any way to force the writing periodically or every time data comes in? Thanks, Henrique Seganfredo From fdc@columbia.edu Sat Mar 13 13:29:34 2004 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: MSDOS KERMIT & unbuffered disk write (session log) Date: 13 Mar 2004 18:21:17 GMT Organization: Columbia University Lines: 28 Message-ID: References: Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1079202077 7233 128.59.59.56 (13 Mar 2004 18:21:17 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 13 Mar 2004 18:21:17 GMT User-Agent: slrn/0.9.7.4 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14849 In article , Henrique Seganfredo wrote: : : I am trying to use MS DOS KERMIT on an old computer to receive call reports : data from a PABX. But I noticed that if there is a power shortage and the : computer resets or shuts down, the current data (visible on the screen) sent : by the PABX is not recorded to disk, I can only see in the file the data : stored from tha last time I exited Kermit correctly (Alt-X, exit). Is there : any way to force the writing periodically or every time data comes in? : In MS-DOS Kermit you would need to do something like this: log session filename while true { input 600 string_that_will_never_come close session log session filename append } But no guarantees. "600" is the number of seconds. That means you can lose anything that arrived in the last 600-second interval. You can use any other number you want. Of course you also need some method to terminate the loop. If there is some way to identify the end of a transmission from the PBX, you can use that for your INPUT target. - Frank From jrd@cc.usu.edu Sun Mar 14 17:07:04 2004 Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!headwall.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!xmission!news.cc.utah.edu!cc.usu.edu!jrd From: jrd@cc.usu.edu (Joe Doupnik) Newsgroups: comp.protocols.kermit.misc Subject: Re: MSDOS KERMIT & unbuffered disk write (session log) Message-ID: Date: 14 Mar 04 11:45:24 MST References: Organization: Utah State University Lines: 22 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14850 In article , "Henrique Seganfredo" writes: > Hello, > > I am trying to use MS DOS KERMIT on an old computer to receive call reports > data from a PABX. But I noticed that if there is a power shortage and the > computer resets or shuts down, the current data (visible on the screen) sent > by the PABX is not recorded to disk, I can only see in the file the data > stored from tha last time I exited Kermit correctly (Alt-X, exit). Is there > any way to force the writing periodically or every time data comes in? > > Thanks, > > Henrique Seganfredo ------------- File transfer data are sent straight to disk, though there is a small amount of in-program buffering. Screen capture data goes through a small buffer too and thence straigh to disk. The latter is governed by item cptsiz, defined in file mssdef.h as 256 bytes; you can reduce this and recompile if needs be. A better suggestion is to acquire a small UPS battery backup unit so the computer survives brief power outages. Joe D. From notforyou@hotmail.com Mon Mar 15 11:16:47 2004 Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!fu-berlin.de!uni-berlin.de!200-193-090-137.fnsce7001.dsl.brasiltelecom.net.BR!not-for-mail From: "Henrique Seganfredo" Newsgroups: comp.protocols.kermit.misc Subject: Re: MSDOS KERMIT & unbuffered disk write (session log) Date: Sun, 14 Mar 2004 21:15:52 -0300 Lines: 33 Message-ID: References: NNTP-Posting-Host: 200-193-090-137.fnsce7001.dsl.brasiltelecom.net.br (200.193.90.137) X-Trace: news.uni-berlin.de 1079309849 69634670 I 200.193.90.137 ([8247]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14851 only 256 bytes are buffered? humm...I think I can live with this....I'll check this tomorrow... "Joe Doupnik" wrote in message news:QPOHps8nRH+t@cc.usu.edu... > In article , "Henrique Seganfredo" writes: > > Hello, > > > > I am trying to use MS DOS KERMIT on an old computer to receive call reports > > data from a PABX. But I noticed that if there is a power shortage and the > > computer resets or shuts down, the current data (visible on the screen) sent > > by the PABX is not recorded to disk, I can only see in the file the data > > stored from tha last time I exited Kermit correctly (Alt-X, exit). Is there > > any way to force the writing periodically or every time data comes in? > > > > Thanks, > > > > Henrique Seganfredo > ------------- > File transfer data are sent straight to disk, though there is a > small amount of in-program buffering. Screen capture data goes through > a small buffer too and thence straigh to disk. The latter is governed > by item cptsiz, defined in file mssdef.h as 256 bytes; you can reduce > this and recompile if needs be. > A better suggestion is to acquire a small UPS battery backup > unit so the computer survives brief power outages. > Joe D. From notforyou@hotmail.com Mon Mar 15 11:16:52 2004 Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!fu-berlin.de!uni-berlin.de!200-193-090-137.fnsce7001.dsl.brasiltelecom.net.BR!not-for-mail From: "Henrique Seganfredo" Newsgroups: comp.protocols.kermit.misc Subject: reducing this would help also?? Date: Sun, 14 Mar 2004 22:14:24 -0300 Lines: 36 Message-ID: References: NNTP-Posting-Host: 200-193-090-137.fnsce7001.dsl.brasiltelecom.net.br (200.193.90.137) X-Trace: news.uni-berlin.de 1079313363 71592275 I 200.193.90.137 ([8247]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14852 reducing this on mssdef.h would help also?? buffsz equ 512 ; size of disk file i/o buffer (buff) "Joe Doupnik" wrote in message news:QPOHps8nRH+t@cc.usu.edu... > In article , "Henrique Seganfredo" writes: > > Hello, > > > > I am trying to use MS DOS KERMIT on an old computer to receive call reports > > data from a PABX. But I noticed that if there is a power shortage and the > > computer resets or shuts down, the current data (visible on the screen) sent > > by the PABX is not recorded to disk, I can only see in the file the data > > stored from tha last time I exited Kermit correctly (Alt-X, exit). Is there > > any way to force the writing periodically or every time data comes in? > > > > Thanks, > > > > Henrique Seganfredo > ------------- > File transfer data are sent straight to disk, though there is a > small amount of in-program buffering. Screen capture data goes through > a small buffer too and thence straigh to disk. The latter is governed > by item cptsiz, defined in file mssdef.h as 256 bytes; you can reduce > this and recompile if needs be. > A better suggestion is to acquire a small UPS battery backup > unit so the computer survives brief power outages. > Joe D. From googlea.w.husmann@spamgourmet.com Sun Mar 21 12:38:15 2004 Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.net!news.glorb.com!postnews2.google.com!not-for-mail From: googlea.w.husmann@spamgourmet.com (Wolfgang Husmann) Newsgroups: comp.protocols.kermit.misc Subject: Kermit at Mac OS X with Keyspan SX Pro Date: 21 Mar 2004 07:31:58 -0800 Organization: http://groups.google.com Lines: 76 Message-ID: <7d86b4de.0403210731.2ff5d4e0@posting.google.com> NNTP-Posting-Host: 80.129.12.82 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1079883119 14819 127.0.0.1 (21 Mar 2004 15:31:59 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 21 Mar 2004 15:31:59 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14854 I have been using successfully Kermit on my G4/Mac OS X 10.2.x/Griffins G4Port to communicate with my scientific calculator Hewlett-Packard HP-48SX (for details please refer to my web page http://chaos-zu-haus.de/HP48AndMacOSX/HP48AndMacOSX.html). Recently I replaced Griffins G4Port (with a 3-way serial switch) by a Keyspan SX Pro 4-port serial card. While my serial Palm III craddle (software: Palm Desktop) and my modem US Robotics Sportster Vi (software: Apples PPP) continue to work without any problems I cannot get the HP-48SX to work: Kermit says "Carrier required but not detected. Connection broken (carrier signal lost)." Here is how I try to connect to the HP-48SX (sorry about the length of this): I connect the HP-48SX with Hewlett-Packards serial cable to the SX pros serial port #1. When I tell Kermit to use the SX Pros first port ("set line /dev/tty.SXProSCP1.1") the status of Port1 in the "Device Details" window of "Keyspan Serial Assistant" changes from "Available" to "In Use 9600". After that I check Kermits communication settings to make sure they match the HP-48SXs settings: ) /Users/wolfgang/) C-Kermit>show communications ) ) Communications Parameters: ) Line: /dev/tty.SXProSCP1.1, 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/spool/uucp/LCK..tty.SXProSCP1.1 ) 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. When I start the data transfer an error occurs: ) (/Users/wolfgang/) C-Kermit>get FPFahrliste ) ) ?Carrier required but not detected ) ?Connection broken (carrier signal lost) In "Keyspan Serial Assistant" neither "Device Details" nor "Event Log" shows any trace of the failed data transfer. To solve that problem I tried the following without success: - tried "/dev/cu.SXProSCP1.1" instead of "/dev/tty.SXProSCP1.1" - tried the other ports of the card with the appropriate entry in /dev/ - "set carrier-watch off" in Kermit makes Kermit to wait forever instead of aborting with an error Kermits "show communications" reveals differences between the Keyspan SX Pro and Griffins G4Port: "Carrier Detect (CD)": SX Pro OFF, G4Port ON "Clear To Send (CTS)": SX Pro ON, G4Port OFF I do not really understand what that means and how that may affect kermits communication with the HP. Any ideas? Any hint towards a possible solution appreciated, Wolfgang H. From fdc@columbia.edu Sun Mar 21 13:23:48 2004 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: Kermit at Mac OS X with Keyspan SX Pro Date: 21 Mar 2004 17:49:00 GMT Organization: Columbia University Lines: 55 Message-ID: References: <7d86b4de.0403210731.2ff5d4e0@posting.google.com> Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1079891340 9238 128.59.59.56 (21 Mar 2004 17:49:00 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 21 Mar 2004 17:49:00 GMT User-Agent: slrn/0.9.7.4 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14855 In article <7d86b4de.0403210731.2ff5d4e0@posting.google.com>, Wolfgang Husmann wrote: : I have been using successfully Kermit on my G4/Mac OS X : 10.2.x/Griffins G4Port to communicate with my scientific calculator : Hewlett-Packard HP-48SX (for details please refer to my web page : http://chaos-zu-haus.de/HP48AndMacOSX/HP48AndMacOSX.html). : : Recently I replaced Griffins G4Port (with a 3-way serial switch) by a : Keyspan SX Pro 4-port serial card. While my serial Palm III craddle : (software: Palm Desktop) and my modem US Robotics Sportster Vi : (software: Apples PPP) continue to work without any problems I cannot : get the HP-48SX to work: Kermit says "Carrier required but not : detected. Connection broken (carrier signal lost)." : That means the new port or driver or cable is not supplying the carrier signal to the Mac. On modem connections, the carrier signal tells each computer that a connection exists. On direct connections, usually the DTR and CD signals are cross wired, thus if computer A is turned on and its port is active, its DTR signal comes to computer B's CD input. And vice versa. : - "set carrier-watch off" in Kermit makes Kermit to wait forever : instead of aborting with an error : This command tells Kermit to ignore the carrier signal and assume the connection is active even though the carrier signal is not present. It works if the underlying device driver allows it to work (as far as I know, all Unix serial-port drivers do allow it, since otherwise there would be no way to dial a modem). : Kermits "show communications" reveals differences between the Keyspan : SX Pro and Griffins G4Port: : : "Carrier Detect (CD)": SX Pro OFF, G4Port ON : "Clear To Send (CTS)": SX Pro ON, G4Port OFF : : I do not really understand what that means and how that may affect : kermits communication with the HP. : Since PPP works, I presume we can rule out problems with the port itself. But this is a modem connection, and modems supply a carrier signal. What is the physical connection to the HP-48? Are you using the same Mac port as for PPP? Then you must change the cable -- a Null Modem (crossover) cable is required for this, rather than a straight-through (modem) cable. The only way to connect a computer to the HP-48 is with a special cable that comes from HP. Is that the cable you're using? Where is it plugged in? To your switch? Presumably the new port came with its own drivers. Drivers are installed in Unix (including Mac OS X) as device files, /dev/xxx. Maybe you are using the wrong device name. - Frank From adam@macrotex.net Tue Mar 23 09:28:48 2004 Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.net!news.glorb.com!postnews2.google.com!not-for-mail From: adam@macrotex.net (A. Lewenberg) Newsgroups: comp.protocols.kermit.misc Subject: Viewing man page on Linux RedHat makes screen go blank Date: 23 Mar 2004 06:22:15 -0800 Organization: http://groups.google.com Lines: 39 Message-ID: <6bd7331b.0403230622.794ab64@posting.google.com> NNTP-Posting-Host: 12.221.109.52 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1080051735 7241 127.0.0.1 (23 Mar 2004 14:22:15 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 23 Mar 2004 14:22:15 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14856 I am connecting to a RedHat Linux machine (RHEL AS 3.0) using ssh in Kermit version "Kermit 95 2.1.3, 1 Jan 2003" running on Windows 2000. Everything usually works EXCEPT when I view man pages when, quite often, after the first page or so the screen goes blank and will not respond to any key strokes including Ctrl-C or Ctrl-Z (although I _can_ escape back to the kermit prompt). I then have to disconnect and then reconnect to get back to where I started. I have the terminal set to VT 220; my complete settings are included below. Has anyone else ran into this problem? Any suggestions on how to troubleshoot? Thanks. Terminal parameters: Bytesize: Command: 8 bits Terminal: 8 bits Type: VT220 ID: [?62;1;2;6;8;9;15;44c Echo: remote Locking-shift: off Newline-mode: off Cr-display: normal Cursor: underline autodownload: on, error stop Arrow-keys: cursor Keypad-mode: numeric Answerback: off response: K-95 800207 VT220 Bell: system sounds Wrap: on Autopage: off Autoscroll: on SGR Colors: on ESC[0m color: default-color Erase color: current-color Screen mode: normal Transmit-timeout: 15 Output-pacing: 0 Idle-timeout: 0 Idle-action: return Send data: off End of Block: us/cr Auto-exit trigger: (null) Output pacing: 0 seconds Margin bell: off at column: 72 DG Unix mode: off Video change: enabled APC: off Font: (not supported) Height: 24 Width: 80 Roll-mode: insert Scrollback: 25000 lines Screen-update: mode: fast (fast) interval: 100 ms Screen-optimization: on Status line: on From fdc@columbia.edu Tue Mar 23 09:30:52 2004 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: Viewing man page on Linux RedHat makes screen go blank Date: 23 Mar 2004 14:29:58 GMT Organization: Columbia University Lines: 29 Message-ID: References: <6bd7331b.0403230622.794ab64@posting.google.com> Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1080052198 25738 128.59.59.56 (23 Mar 2004 14:29:58 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 23 Mar 2004 14:29:58 GMT User-Agent: slrn/0.9.7.4 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14857 In article <6bd7331b.0403230622.794ab64@posting.google.com>, A. Lewenberg wrote: > I am connecting to a RedHat Linux machine (RHEL AS 3.0) using ssh in > Kermit version "Kermit 95 2.1.3, 1 Jan 2003" running on Windows 2000. > Everything usually works EXCEPT when I view man pages when, quite > often, after the first page or so the screen goes blank and will not > respond to any key strokes including Ctrl-C or Ctrl-Z (although I > _can_ escape back to the kermit prompt). I then have to disconnect and > then reconnect to get back to where I started. > When this happens, what does it say in the right side of the status line at the bottom of your screen? > I have the terminal set to VT 220; my complete settings are included > below. Has anyone else ran into this problem? Any suggestions on how > to troubleshoot? > What is your Linux terminal type set to? ("echo $TERM") In any case, it sounds like the "man" program, or the underlying ncurses library and/or terminfo database, are sending a sequence of characters that marks the beginning of a "string-bearing" VT220 escape sequence, but not sending the string terminator. This might be because of terminal-type mismatch, faulty terminfo entry, etc, but whatever the cause, you can get out of the situation (when it happens) with Alt-R (Reset). The real solution, of course, is to identify and fix the underlying problem. - Frank From adam@macrotex.net Wed Mar 24 13:19:08 2004 Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!newsfeed.mesh.ad.jp!news.moat.net!news.glorb.com!postnews2.google.com!not-for-mail From: adam@macrotex.net (A. Lewenberg) Newsgroups: comp.protocols.kermit.misc Subject: Re: Viewing man page on Linux RedHat makes screen go blank Date: 23 Mar 2004 13:15:34 -0800 Organization: http://groups.google.com Lines: 35 Message-ID: <6bd7331b.0403231315.2f7db3a1@posting.google.com> References: <6bd7331b.0403230622.794ab64@posting.google.com> NNTP-Posting-Host: 12.221.109.52 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1080076534 25119 127.0.0.1 (23 Mar 2004 21:15:34 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 23 Mar 2004 21:15:34 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14858 Frank da Cruz wrote in message news:... > In article <6bd7331b.0403230622.794ab64@posting.google.com>, > A. Lewenberg wrote: > > I am connecting to a RedHat Linux machine (RHEL AS 3.0) using ssh in > > Kermit version "Kermit 95 2.1.3, 1 Jan 2003" running on Windows 2000. > > Everything usually works EXCEPT when I view man pages when, quite > > often, after the first page or so the screen goes blank and will not > > respond to any key strokes including Ctrl-C or Ctrl-Z (although I > > _can_ escape back to the kermit prompt). I then have to disconnect and > > then reconnect to get back to where I started. > > > When this happens, what does it say in the right side of the status > line at the bottom of your screen? > > > I have the terminal set to VT 220; my complete settings are included > > below. Has anyone else ran into this problem? Any suggestions on how > > to troubleshoot? > > > What is your Linux terminal type set to? ("echo $TERM") > > In any case, it sounds like the "man" program, or the underlying ncurses > library and/or terminfo database, are sending a sequence of characters > that marks the beginning of a "string-bearing" VT220 escape sequence, but > not sending the string terminator. This might be because of terminal-type > mismatch, faulty terminfo entry, etc, but whatever the cause, you can get > out of the situation (when it happens) with Alt-R (Reset). > > The real solution, of course, is to identify and fix the underlying problem. > > - Frank It says "...SOS STRING". As for the TERM: "set | grep TERM" gives "TERM=vt220". By the way, that Alt-R solution works, so thanks for that. From dickey@saltmine.radix.net Wed Mar 24 13:19:28 2004 Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.net!opentransit.net!newsfeed.news2me.com!sn-xit-02!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: Thomas Dickey Newsgroups: comp.protocols.kermit.misc Subject: Re: Viewing man page on Linux RedHat makes screen go blank Date: Wed, 24 Mar 2004 14:06:05 -0000 Organization: RadixNet Internet Services Message-ID: <10635eddgqdr8f4@corp.supernews.com> References: <6bd7331b.0403230622.794ab64@posting.google.com> <6bd7331b.0403231315.2f7db3a1@posting.google.com> User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (SunOS/5.8 (sun4u)) X-Complaints-To: abuse@supernews.com Lines: 11 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14861 A. Lewenberg wrote: > It says "...SOS STRING". As for the TERM: "set | grep TERM" gives "TERM=vt220". but what is your locale - I didn't see any indication that kermit was setup to handle a UTF-8 locale for instance. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net From googlea.w.husmann@spamgourmet.com Wed Mar 24 13:19:41 2004 Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!priapus.visi.com!orange.octanews.net!news.octanews.net!green.octanews.net!news-out.octanews.net!news.glorb.com!postnews2.google.com!not-for-mail From: googlea.w.husmann@spamgourmet.com (Wolfgang Husmann) Newsgroups: comp.protocols.kermit.misc Subject: Re: Kermit at Mac OS X with Keyspan SX Pro Date: 23 Mar 2004 13:52:49 -0800 Organization: http://groups.google.com Lines: 55 Message-ID: <7d86b4de.0403231352.23168ad6@posting.google.com> References: <7d86b4de.0403210731.2ff5d4e0@posting.google.com> NNTP-Posting-Host: 80.129.0.176 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1080078770 26697 127.0.0.1 (23 Mar 2004 21:52:50 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 23 Mar 2004 21:52:50 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14859 Frank da Cruz wrote in message news:... > ...some really helpful stuff deleted for brevity... > What is the physical connection to the HP-48? Are you using the same Mac > port as for PPP? Then you must change the cable -- a Null Modem (crossover) > cable is required for this, rather than a straight-through (modem) cable. > > The only way to connect a computer to the HP-48 is with a special cable that > comes from HP. Is that the cable you're using? Where is it plugged in? > To your switch? I am using the original HP cable for Macs and the cable is known-good. I had been using a serial switch to distribute the single serial port of Griffins G4Port to my three serial devices. To avoid the hassles associated with this setup I want to use the Keyspan SX Pro which offers four independant serial ports. So the HP calulator is now connected directly to one of the SX Pros four serial ports. > Presumably the new port came with its own drivers. Drivers are installed > in Unix (including Mac OS X) as device files, /dev/xxx. Maybe you are using > the wrong device name. I installed the most recent driver software from Keyspan. It offers a total of eight device names for the SX Pros four ports: [localhost:~] husparents% ls /dev|grep SX cu.SXProSCP1.1 cu.SXProSCP2.2 cu.SXProSCP3.3 cu.SXProSCP4.4 tty.SXProSCP1.1 tty.SXProSCP2.2 tty.SXProSCP3.3 tty.SXProSCP4.4 I tried without success every combination of port I connected the HP to and device name in Kermits "set line" command. To clarify my observations: - The only changes to my Mac were that I replaced Griffins G4Port by a Keyspan SX Pro serial card, that I deinstalled the G4Port drivers, and that I installed the SXPro drivers. That means that serial Kermit transfers with the HP had worked before on the same machine with the same OS, the same Kermit, and the same cable. - The card and its drivers seem to be ok since I was able to use both the Palm and the modem on each of the card four ports. - I can observe when Kermit connects to the cards drivers: when I tell Kermit to use a port ("set line /dev/(cu|tty).SXProSCP1.[1-4]") the status of port [1-4] in the "Device Details" window of "Keyspan Serial Assistant" changes from "Available" to "In Use 9600". I have no idea whats going wrong. I hope it's not Keyspans driver software: two weeks ago I have explained my problem to their technical support and I have not received *any* reaction from them until now :( Any help appreciated, Wolfgang From not-a-real-address@usa.net Wed Mar 24 13:20:35 2004 Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.net!bloom-beacon.mit.edu!newsfeed.stanford.edu!news.isc.org!sjc70.webusenet.com!news.usenetserver.com!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.protocols.kermit.misc Subject: Re: help convert old simple DOS script to K95 (more) Date: 24 Mar 2004 02:28:17 GMT Organization: earthfriends Message-ID: References: <405f3f06$0$11203$afc38c87@> <405f545f$0$11560$afc38c87@> User-Agent: Gnus/5.110002 (No Gnus v0.2) XEmacs/21.4 (Rational FORTRAN, linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@supernews.com Lines: 11 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14860 in comp.protocols.kermit.misc i read: >> them to K95 compatible commands. I seem to be hung on being able to >> specify com1. > >I got it (K95) to take "Set port com1", you want to use tapi, see . -- a signature From fdc@columbia.edu Wed Mar 24 14:43:12 2004 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: Kermit at Mac OS X with Keyspan SX Pro Date: 24 Mar 2004 18:22:13 GMT Organization: Columbia University Lines: 15 Message-ID: References: <7d86b4de.0403210731.2ff5d4e0@posting.google.com> <7d86b4de.0403231352.23168ad6@posting.google.com> Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1080152533 28575 128.59.59.56 (24 Mar 2004 18:22:13 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 24 Mar 2004 18:22:13 GMT User-Agent: slrn/0.9.7.4 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14862 In article <7d86b4de.0403231352.23168ad6@posting.google.com>, Wolfgang Husmann wrote: : ... : I tried without success every combination of port I connected the HP : to and device name in Kermits "set line" command. : ... : I have no idea whats going wrong. I hope it's not Keyspans driver : software: two weeks ago I have explained my problem to their technical : support and I have not received *any* reaction from them until now :( : I suspect this is much more a question about Mac configuration than it is about Kermit. You should repost this thread to whatever newsgroup best covers Mac OS X. - Frank From adam@macrotex.net Thu Mar 25 09:59:34 2004 Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews2.google.com!not-for-mail From: adam@macrotex.net (A. Lewenberg) Newsgroups: comp.protocols.kermit.misc Subject: Re: Viewing man page on Linux RedHat makes screen go blank Date: 24 Mar 2004 20:36:44 -0800 Organization: http://groups.google.com Lines: 12 Message-ID: <6bd7331b.0403242036.33f9f263@posting.google.com> References: <6bd7331b.0403230622.794ab64@posting.google.com> <6bd7331b.0403231315.2f7db3a1@posting.google.com> <10635eddgqdr8f4@corp.supernews.com> NNTP-Posting-Host: 12.221.109.52 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1080189404 12669 127.0.0.1 (25 Mar 2004 04:36:44 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 25 Mar 2004 04:36:44 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14863 Thomas Dickey wrote in message news:<10635eddgqdr8f4@corp.supernews.com>... > A. Lewenberg wrote: > > > It says "...SOS STRING". As for the TERM: "set | grep TERM" gives "TERM=vt220". > > but what is your locale - I didn't see any indication that kermit was setup > to handle a UTF-8 locale for instance. I am not sure what you are asking. The environment variable LANG on the Linux machine that I am connecting to is set to "en_US.UTF-8". Does this affect a character-based login such as ssh? If so, can I set LANG to something "better"? From dickey@saltmine.radix.net Thu Mar 25 09:59:59 2004 Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!sn-xit-03!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: Thomas Dickey Newsgroups: comp.protocols.kermit.misc Subject: Re: Viewing man page on Linux RedHat makes screen go blank Date: Thu, 25 Mar 2004 13:15:50 -0000 Organization: RadixNet Internet Services Message-ID: <1065ms6avtv5l00@corp.supernews.com> References: <6bd7331b.0403230622.794ab64@posting.google.com> <6bd7331b.0403231315.2f7db3a1@posting.google.com> <10635eddgqdr8f4@corp.supernews.com> <6bd7331b.0403242036.33f9f263@posting.google.com> User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (SunOS/5.8 (sun4u)) X-Complaints-To: abuse@supernews.com Lines: 25 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14865 A. Lewenberg wrote: > Thomas Dickey wrote in message news:<10635eddgqdr8f4@corp.supernews.com>... >> A. Lewenberg wrote: >> >> > It says "...SOS STRING". As for the TERM: "set | grep TERM" gives "TERM=vt220". >> >> but what is your locale - I didn't see any indication that kermit was setup >> to handle a UTF-8 locale for instance. > I am not sure what you are asking. The environment variable LANG on > the Linux machine that I am connecting to is set to "en_US.UTF-8". > Does this affect a character-based login such as ssh? If so, can I set > LANG to something "better"? A vt220 interprets codes in the range 128-159 as control characters. UTF-8 encoding uses those as continuation-bytes. Setting LANG to en_US (e.g., an ISO-8859-1) would probably work better. I gather that kermit can handle UTF-8, but don't know what's involved in setting it up (but it should be visible in the config-settings). -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net From slash_dev_slash_null_2000@yahoo.com Thu Mar 25 10:08:51 2004 Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.wirehub.nl!feeder1.essentkabel.com!border1.nntp.ash.giganews.com!nntp.giganews.com!news.glorb.com!postnews2.google.com!not-for-mail From: slash_dev_slash_null_2000@yahoo.com (Mark Sapiro) Newsgroups: comp.protocols.kermit.misc Subject: Re: Kermit at Mac OS X with Keyspan SX Pro Date: 24 Mar 2004 22:33:13 -0800 Organization: http://groups.google.com Lines: 28 Message-ID: References: <7d86b4de.0403210731.2ff5d4e0@posting.google.com> NNTP-Posting-Host: 209.182.169.133 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1080196393 17562 127.0.0.1 (25 Mar 2004 06:33:13 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 25 Mar 2004 06:33:13 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14864 googlea.w.husmann@spamgourmet.com (Wolfgang Husmann) wrote in message news:<7d86b4de.0403210731.2ff5d4e0@posting.google.com>... > I have been using successfully Kermit on my G4/Mac OS X > 10.2.x/Griffins G4Port to communicate with my scientific calculator > Hewlett-Packard HP-48SX (for details please refer to my web page > http://chaos-zu-haus.de/HP48AndMacOSX/HP48AndMacOSX.html). > > Recently I replaced Griffins G4Port (with a 3-way serial switch) by a > Keyspan SX Pro 4-port serial card. Is the 3-way switch part of the G4Port card or stand alone? If stand alone, have you tried connecting the HP cable to the SX Pro through the switch just to see if it makes a difference? > > To solve that problem I tried the following without success: > - tried "/dev/cu.SXProSCP1.1" instead of "/dev/tty.SXProSCP1.1" > - tried the other ports of the card with the appropriate entry in > /dev/ > - "set carrier-watch off" in Kermit makes Kermit to wait forever > instead of aborting with an error This sounds like a flow control problem. Have you tried "set flow-control none"? -- Mark Sapiro msapiro -at- value net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From fdc@columbia.edu Thu Mar 25 10:09:31 2004 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: Viewing man page on Linux RedHat makes screen go blank Date: 25 Mar 2004 15:08:11 GMT Organization: Columbia University Lines: 34 Message-ID: References: <6bd7331b.0403230622.794ab64@posting.google.com> <6bd7331b.0403231315.2f7db3a1@posting.google.com> <10635eddgqdr8f4@corp.supernews.com> <6bd7331b.0403242036.33f9f263@posting.google.com> <1065ms6avtv5l00@corp.supernews.com> Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1080227291 22967 128.59.59.56 (25 Mar 2004 15:08:11 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 25 Mar 2004 15:08:11 GMT User-Agent: slrn/0.9.8.0 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14866 On 2004-03-25, Thomas Dickey wrote: : ... : A vt220 interprets codes in the range 128-159 as control characters. : UTF-8 encoding uses those as continuation-bytes. : : Setting LANG to en_US (e.g., an ISO-8859-1) would probably work better. : I gather that kermit can handle UTF-8, but don't know what's involved : in setting it up (but it should be visible in the config-settings). : Kermit 95 has a little character-set selection box on its toolbar. It says "latin1-iso" by default (at least for VT terminal emulation). Click on the little arrow to open the list of character sets and select "utf8". When Kermit's terminal character-set is UTF8, it decodes the UTF8 before parsing control codes or escape sequences (this might be backwards in terms of ISO layering, but there's no other choice). For a quick sanity check, FTP a copy of this file: ftp://kermit.columbia.edu/kermit/charsets/glass.utf8 to the computer that you connect to with Kermit (it's only 1313 bytes long) and then 'cat' it. You should see somthing akin to this: http://www.columbia.edu/kermit/glass2.gif I'm not sure what effect the host's LANG variable would have on any of this. None I hope! The only things you should have to watch out for are: . Make sure Kermit's terminal type agrees with the host TERM variable. . Make sure Kermit's terminal character-set matches what the host sends. - Frank From collector59ca@yahoo.com Tue Mar 30 09:56:48 2004 Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.net!news.glorb.com!postnews2.google.com!not-for-mail From: collector59ca@yahoo.com (Klein Bill) Newsgroups: comp.protocols.kermit.misc Subject: Trying to connect to a device console via COM 1 (no dialing modem) Date: 29 Mar 2004 22:40:31 -0800 Organization: http://groups.google.com Lines: 34 Message-ID: <9c258be2.0403292240.2e00c890@posting.google.com> NNTP-Posting-Host: 80.74.106.236 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1080628831 8945 127.0.0.1 (30 Mar 2004 06:40:31 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 30 Mar 2004 06:40:31 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14868 Hi all, I'm trying to connect to the ASCII terminal of a manageable router device which is directly connected to my serial port COM 1. I'm using the following Kermit script: set input echo on def tsprompt > set carrier-watch off set line 1 open port 1 set serial 8n1 set speed 115200 if def tsprompt { for \%i 1 2 1 { input 1 \m(tsprompt) if success break output \13 } lineout show config ;command to send } When running this script, kermit stays in command mode but I see no dialog between it and the router even though I've used "set input echo on". If I press Alt-x the terminal window is opened and my command is finally sent (but I remain in terminal mode). How can I make Kermit show me the interaction in command mode ? Note: There's nothing to be dialed. I have no modem. I'm serially, directly connected. Thanks in advance for any help. From collector59ca@yahoo.com Tue Mar 30 09:56:52 2004 Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!cyclone.bc.net!news.glorb.com!postnews2.google.com!not-for-mail From: collector59ca@yahoo.com (Klein Bill) Newsgroups: comp.protocols.kermit.misc Subject: Re: Trying to connect to a device console via COM 1 (no dialing modem) Date: 30 Mar 2004 06:08:30 -0800 Organization: http://groups.google.com Lines: 49 Message-ID: <9c258be2.0403300608.46d5097f@posting.google.com> References: <9c258be2.0403292240.2e00c890@posting.google.com> NNTP-Posting-Host: 80.74.106.236 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1080655711 28909 127.0.0.1 (30 Mar 2004 14:08:31 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 30 Mar 2004 14:08:31 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14869 Corrections: I've updated the script to (see capitals): ***************************** SET MODEM TYPE NONE set input echo on def tsprompt > set carrier-watch off set line 1 set serial 8n1 set speed 115200 OUTPUT \13 if def tsprompt { for \%i 1 2 1 { input 1 \m(tsprompt) if success break output \13 } lineout show config ;command to send } ***************************************** And still Kermit exhibits the same behavior. I've made a FINAL UPDATE (the next one -> see below) **************************************** set input echo on set modem type none set carrier-watch off set line 1 set serial 8n1 set speed 115200 output \13 input 2 console> lineout show config INPUT -1 STRING_THAT_NEVER_COMES ***************************************** And this time Kermit showed me the full interaction in command mode. Why isn't it possible to obtain the interaction dialog in command mode without having an endless waiting condition at the end of the script ? Why set input echo on is not enough? If it is possible to get the interaction in command mode without the "STRING_THAT_NEVER_COMES" part I'd like to know the way. Please anybody help. Thanks in advance From Jdanskinner@jdanskinner.com Tue Mar 30 09:57:14 2004 Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.net!newsfeed.icl.net!newsfeed.fjserv.net!nnx.oleane.net!oleane!freenix!sn-xit-02!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: "Dan Skinner" Newsgroups: comp.protocols.kermit.misc Subject: Re: Trying to connect to a device console via COM 1 (no dialing modem) Date: Tue, 30 Mar 2004 08:20:49 -0600 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <106j1mn3k72m817@corp.supernews.com> References: <9c258be2.0403292240.2e00c890@posting.google.com> <9c258be2.0403300608.46d5097f@posting.google.com> X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Complaints-To: abuse@supernews.com Lines: 62 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14870 To answer your question: One needs to give Kermit permission to read the buffer. The never ending input grants that permission, (set input echo on grants permission to display the input on the screen.) There are other (none better I can think of) ways to grant permission, but something must be done to invite the input (like Alt-X.) Regards...Dan. "Klein Bill" wrote in message news:9c258be2.0403300608.46d5097f@posting.google.com... > Corrections: > I've updated the script to (see capitals): > > ***************************** > SET MODEM TYPE NONE > set input echo on > def tsprompt > > set carrier-watch off > set line 1 > set serial 8n1 > set speed 115200 > > OUTPUT \13 > > if def tsprompt { > for \%i 1 2 1 { > input 1 \m(tsprompt) > if success break > output \13 > } lineout show config ;command to send > } > ***************************************** > > And still Kermit exhibits the same behavior. > > I've made a FINAL UPDATE (the next one -> see below) > > **************************************** > set input echo on > set modem type none > set carrier-watch off > set line 1 > set serial 8n1 > set speed 115200 > output \13 > input 2 console> > lineout show config > INPUT -1 STRING_THAT_NEVER_COMES > ***************************************** > > And this time Kermit showed me the full interaction in command mode. > Why isn't it possible to obtain the interaction dialog in command mode > without having an endless waiting condition at the end of the script ? > Why set input echo on is not enough? If it is possible to get the > interaction in command mode without the "STRING_THAT_NEVER_COMES" part > I'd like to know the way. > > Please anybody help. > Thanks in advance From fdc@columbia.edu Tue Mar 30 10:02:35 2004 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: Trying to connect to a device console via COM 1 (no dialing modem) Date: 30 Mar 2004 14:57:43 GMT Organization: Columbia University Lines: 87 Message-ID: References: <9c258be2.0403292240.2e00c890@posting.google.com> <9c258be2.0403300608.46d5097f@posting.google.com> Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1080658663 14729 128.59.59.56 (30 Mar 2004 14:57:43 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 30 Mar 2004 14:57:43 GMT User-Agent: slrn/0.9.8.0 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14871 On 2004-03-30, Klein Bill wrote: > I'm trying to connect to the ASCII terminal of a manageable router > device which is directly connected to my serial port COM 1. > I'm using the following Kermit script: > ... > When running this script, kermit stays in command mode but I see no > dialog between it and the router even though I've used "set input > echo on". > > If I press Alt-x the terminal window is opened and my command is > finally sent (but I remain in terminal mode). > > How can I make Kermit show me the interaction in command mode ? > By having an INPUT command active to process the incoming material. > I've made a FINAL UPDATE... > > **************************************** > set input echo on > set modem type none > set carrier-watch off > set line 1 > set serial 8n1 > set speed 115200 > output \13 > input 2 console> > lineout show config > INPUT -1 STRING_THAT_NEVER_COMES > ***************************************** > > And this time Kermit showed me the full interaction in command mode. > Why isn't it possible to obtain the interaction dialog in command mode > without having an endless waiting condition at the end of the script ? > Why set input echo on is not enough? If it is possible to get the > interaction in command mode without the "STRING_THAT_NEVER_COMES" part > I'd like to know the way. > SET INPUT ECHO ON is a command that makes the INPUT command echo whatever comes in while it is running. If the INPUT command is not running, it won't be able to echo anything. The first version of your script ended with "lineout show config", which sends "show config" (and a line-end) to the router, but then included no further commands to read its response. In fact the script simply stopped at that point, because it had executed its final command. Adding the INPUT command to the end of the script, as you have discovered, makes it read the response and, when INPUT ECHO is ON, also display it on the screen as desired. The real question is: how should the INPUT command terminate? You have the following choices: . Never (use -1 as a timeout and specify a string that will never come). In this case you can still interrupt it from the keyboard. Example: INPUT -1 STRING_THAT_WILL_NEVER_COME . When a specified string comes before a given time limit (e.g. the next router prompt). Example: INPUT 20 "\13\10> " ; Wait up to 20 sec for router prompt IF FAIL ... ; What to do if it didn't come . When the specified time limit expires (and the given string did not comes) -- same as the previous example, except the IF FAIL commands are executed. . When a specified string is already waiting in the input buffer: INPUT 0 OK ; "OK" must already be there. IF FAIL... You can also give a time-of-day instead of a number of seconds, to make INPUT wait until the given time: INPUT 23:59:59 "Operation Complete" IF FAIL ... And as you probably know, you can also have INPUT look for a pattern rather than a literal string by using \fpattern() as or in the search target. And finally you can use MINPUT instead of INPUT to specify multiple search targets, possibly including patterns. - Frank From collector59ca@yahoo.com Tue Mar 30 15:08:15 2004 Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!news.ks.uiuc.edu!news.glorb.com!postnews2.google.com!not-for-mail From: collector59ca@yahoo.com (Klein Bill) Newsgroups: comp.protocols.kermit.misc Subject: Re: Trying to connect to a device console via COM 1 (no dialing modem) Date: 30 Mar 2004 11:35:10 -0800 Organization: http://groups.google.com Lines: 22 Message-ID: <9c258be2.0403301135.51769d45@posting.google.com> References: <9c258be2.0403292240.2e00c890@posting.google.com> <9c258be2.0403300608.46d5097f@posting.google.com> NNTP-Posting-Host: 192.115.19.71 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1080675310 12836 127.0.0.1 (30 Mar 2004 19:35:10 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 30 Mar 2004 19:35:10 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14872 First of all thanks for your answer. However I'm still confused. In my second script (the one before that ending with the INPUT...) I still have an OUTPUT CR followed by an input (waiting for the prompt inside the for loop). I would expect to see the following dialog: console> ;caused by output \13 followed by input 1 \m(tsprompt) But still I don't see it. Why not? (I gave the input command and I AM waiting for the router to respond with prompt to my carriage return). And one more question: >From your explanation Frank, I understand that sending a command like: lineout show config won't be echoed to screen if not followed by an input something. Why is that so? I mean why doesn't Kermit show me at least what it sent nevermind if the script ends? From fdc@columbia.edu Tue Mar 30 15:16:31 2004 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: Trying to connect to a device console via COM 1 (no dialing modem) Date: 30 Mar 2004 20:16:05 GMT Organization: Columbia University Lines: 59 Message-ID: References: <9c258be2.0403292240.2e00c890@posting.google.com> <9c258be2.0403300608.46d5097f@posting.google.com> <9c258be2.0403301135.51769d45@posting.google.com> Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1080677765 29741 128.59.59.56 (30 Mar 2004 20:16:05 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 30 Mar 2004 20:16:05 GMT User-Agent: slrn/0.9.8.0 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14873 On 2004-03-30, Klein Bill wrote: : First of all thanks for your answer. : However I'm still confused. : In my second script (the one before that ending with the INPUT...) I : still have an OUTPUT CR followed by an input (waiting for the prompt : inside the for loop). : You mean this one? if def tsprompt { for \%i 1 2 1 { input 1 \m(tsprompt) if success break output \13 } lineout show config ;command to send } It has a pretty bad syntax error: you can't put a statement right after a closing brace. You need either a newline or a comma: if def tsprompt { for \%i 1 2 1 { input 1 \m(tsprompt) if success break output \13 } lineout show config ;command to send } This one would have INPUT active until it received its first prompt. Then it breaks from the INPUT loop and so it will not read any more characters. : From your explanation Frank, I understand that sending a command like: : : lineout show config : : won't be echoed to screen if not followed by an input something. Why : is that so? : I mean why doesn't Kermit show me at least what it sent nevermind if : the script ends? : No, Kermit doesn't show what it sent, only what it receives. What's supposed to happen in this case is: Kermit sends "show config" (and a line terminator), and the router echoes this; subsequent INPUT commands pick up the echo. In the (nowadays rare) case that the device on the other end doesn't echo, you can tell Kermit to: set duplex half or: set local-echo on (same thing) to make OUTPUT echo locally. - Frank From collector59ca@yahoo.com Wed Mar 31 09:27:16 2004 Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.net!news.glorb.com!postnews2.google.com!not-for-mail From: collector59ca@yahoo.com (Klein Bill) Newsgroups: comp.protocols.kermit.misc Subject: Re: Trying to connect to a device console via COM 1 (no dialing modem) Date: 30 Mar 2004 19:27:36 -0800 Organization: http://groups.google.com Lines: 2 Message-ID: <9c258be2.0403301927.510e9955@posting.google.com> References: <9c258be2.0403292240.2e00c890@posting.google.com> <9c258be2.0403300608.46d5097f@posting.google.com> <9c258be2.0403301135.51769d45@posting.google.com> NNTP-Posting-Host: 192.114.45.184 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1080703656 3570 127.0.0.1 (31 Mar 2004 03:27:36 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 31 Mar 2004 03:27:36 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14874 Now I got it. Thanks for clarifying the matters for me :) From collector59ca@yahoo.com Wed Mar 31 09:27:24 2004 Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!newsfeed.mountaincable.net!news.glorb.com!postnews2.google.com!not-for-mail From: collector59ca@yahoo.com (Klein Bill) Newsgroups: comp.protocols.kermit.misc Subject: Is this book for real ? Was this published ? Date: 30 Mar 2004 19:35:57 -0800 Organization: http://groups.google.com Lines: 9 Message-ID: <9c258be2.0403301935.38c66d31@posting.google.com> NNTP-Posting-Host: 192.114.45.184 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1080704157 3955 127.0.0.1 (31 Mar 2004 03:35:57 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 31 Mar 2004 03:35:57 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14875 I couldn't find any announcement regarding the publication of "Using C-Kermit" 3rd edition. I've search both in this forum and also in the announcements one. It also seems the book has been out for a while... but still is apparently available only from this link (as I found so far). Can somebody confirm it is not a hoax? http://www.amazon.co.uk/exec/obidos/ASIN/1555582508/qid=1080703436/sr=1-1/ref=sr_1_8_1/026-8285322-6928432 From jaltman2@nyc.rr.com Wed Mar 31 09:27:27 2004 Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.net!newsfeed.cwix.com!border1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!gnilink.net!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!not-for-mail Message-ID: <406A4CC4.7090302@nyc.rr.com> From: Jeffrey Altman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040316 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Re: Is this book for real ? Was this published ? References: <9c258be2.0403301935.38c66d31@posting.google.com> In-Reply-To: <9c258be2.0403301935.38c66d31@posting.google.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 16 Date: Wed, 31 Mar 2004 04:40:03 GMT NNTP-Posting-Host: 24.193.46.55 X-Complaints-To: abuse@rr.com X-Trace: twister.nyc.rr.com 1080708003 24.193.46.55 (Tue, 30 Mar 2004 23:40:03 EST) NNTP-Posting-Date: Tue, 30 Mar 2004 23:40:03 EST Organization: Road Runner - NYC Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14876 A Third Edition of "using c-kermit" was never published. I do not know what book Amazon UK thinks they have two copies of. Jeffrey Altman Klein Bill wrote: > I couldn't find any announcement regarding the publication of "Using > C-Kermit" 3rd edition. I've search both in this forum and also in the > announcements one. > It also seems the book has been out for a while... but still is > apparently available only from this link (as I found so far). > > Can somebody confirm it is not a hoax? > > http://www.amazon.co.uk/exec/obidos/ASIN/1555582508/qid=1080703436/sr=1-1/ref=sr_1_8_1/026-8285322-6928432 From jaltman2@nyc.rr.com Wed Mar 31 09:27:30 2004 Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.net!newsfeed.cwix.com!border1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!gnilink.net!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!not-for-mail Message-ID: <406A4CC4.7090302@nyc.rr.com> From: Jeffrey Altman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040316 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Re: Is this book for real ? Was this published ? References: <9c258be2.0403301935.38c66d31@posting.google.com> In-Reply-To: <9c258be2.0403301935.38c66d31@posting.google.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 16 Date: Wed, 31 Mar 2004 04:40:03 GMT NNTP-Posting-Host: 24.193.46.55 X-Complaints-To: abuse@rr.com X-Trace: twister.nyc.rr.com 1080708003 24.193.46.55 (Tue, 30 Mar 2004 23:40:03 EST) NNTP-Posting-Date: Tue, 30 Mar 2004 23:40:03 EST Organization: Road Runner - NYC Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14876 A Third Edition of "using c-kermit" was never published. I do not know what book Amazon UK thinks they have two copies of. Jeffrey Altman Klein Bill wrote: > I couldn't find any announcement regarding the publication of "Using > C-Kermit" 3rd edition. I've search both in this forum and also in the > announcements one. > It also seems the book has been out for a while... but still is > apparently available only from this link (as I found so far). > > Can somebody confirm it is not a hoax? > > http://www.amazon.co.uk/exec/obidos/ASIN/1555582508/qid=1080703436/sr=1-1/ref=sr_1_8_1/026-8285322-6928432 From collector59ca@yahoo.com Wed Mar 31 09:27:59 2004 Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!newsfeed.mountaincable.net!news.glorb.com!postnews2.google.com!not-for-mail From: collector59ca@yahoo.com (Klein Bill) Newsgroups: comp.protocols.kermit.misc Subject: Re: Is this book for real ? Was this published ? Date: 31 Mar 2004 03:29:03 -0800 Organization: http://groups.google.com Lines: 6 Message-ID: <9c258be2.0403310329.6cc67d36@posting.google.com> References: <9c258be2.0403301935.38c66d31@posting.google.com> <406A4CC4.7090302@nyc.rr.com> NNTP-Posting-Host: 80.74.106.236 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1080732544 24581 127.0.0.1 (31 Mar 2004 11:29:04 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 31 Mar 2004 11:29:04 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14877 A search by ISBN number provided me with 2 additional links. Now I'm confused ! Is it? Or isn't it ?! http://www.harcourt-international.com/catalogue/title.cfm?ISBN=1555582508 http://dogbert.abebooks.com/abe/BookDetails?bi=266180650 From fdc@columbia.edu Wed Mar 31 09:27:39 2004 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: Is this book for real ? Was this published ? Date: 31 Mar 2004 14:20:16 GMT Organization: Columbia University Lines: 23 Message-ID: References: <9c258be2.0403301935.38c66d31@posting.google.com> <406A4CC4.7090302@nyc.rr.com> <9c258be2.0403310329.6cc67d36@posting.google.com> Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1080742816 9315 128.59.59.56 (31 Mar 2004 14:20:16 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 31 Mar 2004 14:20:16 GMT User-Agent: slrn/0.9.8.0 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14878 On 2004-03-31, Klein Bill wrote: : A search by ISBN number provided me with 2 additional links. Now I'm : confused ! Is it? Or isn't it ?! : : http://www.harcourt-international.com/catalogue/title.cfm?ISBN=1555582508 : : http://dogbert.abebooks.com/abe/BookDetails?bi=266180650 : It isn't. We do plan to produce a new edition but it's not finished yet, and certainly not published or available. I think this must have got into the Harcourt catalog (Harcourt being being the parent of Reed Elsevier, the owner of Butterworth, which in turn is the owner of Digital Press...) because the time we estimated for completion in our Third Edition proposal had passed. But it's taking us much longer than planned in our straightened circumstances to produce the new edition. Maybe we should just follow one of those links and buy it, to see what it's supposed to say :-) Meanwhile I'll have a talk with the publisher about these pages. - Frank From collector59ca@yahoo.com Wed Mar 31 12:11:53 2004 Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!proxad.net!news.cs.univ-paris8.fr!news.glorb.com!postnews2.google.com!not-for-mail From: collector59ca@yahoo.com (Klein Bill) Newsgroups: comp.protocols.kermit.misc Subject: Re: Is this book for real ? Was this published ? Date: 31 Mar 2004 08:28:38 -0800 Organization: http://groups.google.com Lines: 7 Message-ID: <9c258be2.0403310828.2b916800@posting.google.com> References: <9c258be2.0403301935.38c66d31@posting.google.com> <406A4CC4.7090302@nyc.rr.com> <9c258be2.0403310329.6cc67d36@posting.google.com> NNTP-Posting-Host: 80.74.106.236 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1080750518 6289 127.0.0.1 (31 Mar 2004 16:28:38 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 31 Mar 2004 16:28:38 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14879 Mistery solved ! :) Elsevier informed me that while an edition was indeed expected in October 2003 it actually wasn't yet published. Apparently Amazon.uk are mistaken and "they don't even know it" :) (yet). From nospam@zamang.co.uk Wed Mar 31 16:32:23 2004 Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!newsfeed.gamma.ru!Gamma.RU!mephistopheles.news.clara.net!news.clara.net!demeter.uk.clara.net From: "David McCormack" Newsgroups: comp.unix.sco.misc,comp.protocols.kermit.misc Subject: SSH errors with 'File or directory does not exist' but only if more that 10 users are logged in Date: Wed, 31 Mar 2004 22:21:55 +0100 Lines: 26 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Complaints-To: abuse@clara.net (please include full headers) X-Trace: b6893202a912600691346b046596a9080670246760da050d563c010f406b3671 NNTP-Posting-Date: Wed, 31 Mar 2004 22:21:53 +0100 Message-ID: <1080768113.45686.0@demeter.uk.clara.net> Xref: newsmaster.cc.columbia.edu comp.unix.sco.misc:163176 comp.protocols.kermit.misc:14880 I'm using a downloaded binary version of ckermit version 8.0.209 on a SCO OpenServer box (v. 5.0.6). The kermit executable was downloaded from the main http://www.columbia.edu/kermit/ web site. If we have 10 or more than users logged in to our SCO OpenServer box (but only one is running kermit) then kermit will fail to run the external ssh client. The error that gets displayed is; : No such file or directory Can't connect to ssh -e none -l root If you have 9 users connected then ssh gets run correctly. This is with exactly the same configuration file. What is bizarre is that if 9 people are logged in you are running kermit, ssh will work. If 10th user logs in, whilst you're in kermit, ssh will fail. If the number of users connected goes back down to 9 or less, ssh will start working again. Does anyone have any ideas what's causing this or what areas I should check? It seems more SCO related then kermit though. Many thanks for any help in advance, David McCormack From fdc@columbia.edu Wed Mar 31 16:35:11 2004 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.unix.sco.misc,comp.protocols.kermit.misc Subject: Re: SSH errors with 'File or directory does not exist' but only if more that 10 users are logged in Date: 31 Mar 2004 21:32:54 GMT Organization: Columbia University Lines: 25 Message-ID: References: <1080768113.45686.0@demeter.uk.clara.net> Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1080768774 29827 128.59.59.56 (31 Mar 2004 21:32:54 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 31 Mar 2004 21:32:54 GMT User-Agent: slrn/0.9.8.0 (SunOS) Xref: newsmaster.cc.columbia.edu comp.unix.sco.misc:163177 comp.protocols.kermit.misc:14881 On 2004-03-31, David McCormack wrote: : I'm using a downloaded binary version of ckermit version 8.0.209 on a SCO : OpenServer box (v. 5.0.6). The kermit executable was downloaded from the : main http://www.columbia.edu/kermit/ web site. : : If we have 10 or more than users logged in to our SCO OpenServer box (but : only one is running kermit) then kermit will fail to run the external ssh : client. The error that gets displayed is; : :: No such file or directory : Can't connect to ssh -e none -l root : : If you have 9 users connected then ssh gets run correctly. This is with : exactly the same configuration file. What is bizarre is that if 9 people are : logged in you are running kermit, ssh will work. If 10th user logs in, : whilst you're in kermit, ssh will fail. If the number of users connected : goes back down to 9 or less, ssh will start working again. : : Does anyone have any ideas what's causing this or what areas I should check? : It seems more SCO related then kermit though. : Sounds like you're running out of PTYs (pseudoterminals). I imagine there is a way to create more, but I'm not an OSR5 sysadmin expert. - Frank From dold@SSHXerrors.usenet.us.com Thu Apr 1 10:23:43 2004 Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.net!newsfeed.vmunix.org!newsfeed.stueberl.de!peer01.cox.net!cox.net!priapus.visi.com!orange.octanews.net!news-out.visi.com!petbe.visi.com!news.octanews.net!newsfeed2.dallas1.level3.net!news.level3.com!news.mainstreet.net!wasp.rahul.net!blue.rahul.net!not-for-mail From: dold@SSHXerrors.usenet.us.com Newsgroups: comp.unix.sco.misc,comp.protocols.kermit.misc Subject: Re: SSH errors with 'File or directory does not exist' but only if more that 10 users are logged in Date: Thu, 1 Apr 2004 02:29:25 +0000 (UTC) Organization: a2i network Lines: 12 Sender: Clarence Dold Message-ID: References: <1080768113.45686.0@demeter.uk.clara.net> NNTP-Posting-Host: violet.rahul.net X-Trace: blue.rahul.net 1080786565 7976 66.237.72.28 (1 Apr 2004 02:29:25 GMT) X-Complaints-To: support@rahul.net NNTP-Posting-Date: Thu, 1 Apr 2004 02:29:25 +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.20-28.7smp (i686)) Xref: newsmaster.cc.columbia.edu comp.unix.sco.misc:163183 comp.protocols.kermit.misc:14882 In comp.protocols.kermit.misc Frank da Cruz wrote: > Sounds like you're running out of PTYs (pseudoterminals). I imagine there > is a way to create more, but I'm not an OSR5 sysadmin expert. I vaguely recall that there were only 16 created by default. ls -pl /dev/ttyp* should revela how many there are, when they were last used, and the ones not owned by root are in use currently. IIRC. -- --- Clarence A Dold - Hidden Valley (Lake County) CA USA 38.8-122.5 From nospam@zamang.co.uk Thu Apr 1 17:18:17 2004 Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.net!newsfeed.vmunix.org!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewsoutpeer00.lnd.ops.eu.uu.net!lnewsinpeer01.lnd.ops.eu.uu.net!emea.uu.net!mephistopheles.news.clara.net!news.clara.net!iris.uk.clara.net From: "David McCormack" Newsgroups: comp.unix.sco.misc,comp.protocols.kermit.misc References: <1080768113.45686.0@demeter.uk.clara.net> Subject: Re: SSH errors with 'File or directory does not exist' but only if more that 10 users are logged in Date: Thu, 1 Apr 2004 22:48:02 +0100 Lines: 48 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Complaints-To: abuse@clara.net (please include full headers) X-Trace: b395ca18615e918070622b8a9064cc22261a4064642de2107006066f406c8e0e NNTP-Posting-Date: Thu, 01 Apr 2004 22:47:58 +0100 Message-ID: <1080856078.14863.0@iris.uk.clara.net> Xref: newsmaster.cc.columbia.edu comp.unix.sco.misc:163203 comp.protocols.kermit.misc:14883 "Frank da Cruz" wrote in message news:slrnc6me86.pfr.fdc@sesame.cc.columbia.edu... > On 2004-03-31, David McCormack wrote: > > : I'm using a downloaded binary version of ckermit version 8.0.209 on a > : SCO OpenServer box (v. 5.0.6). The kermit executable was downloaded > : from the main http://www.columbia.edu/kermit/ web site. > : > : If we have 10 or more than users logged in to our SCO OpenServer box > : (but only one is running kermit) then kermit will fail to run the external > : ssh client. The error that gets displayed is; > : > :: No such file or directory > : Can't connect to ssh -e none -l root > : > : If you have 9 users connected then ssh gets run correctly. This is with > : exactly the same configuration file. What is bizarre is that if 9 people > : are logged in you are running kermit, ssh will work. If 10th user logs > : in, whilst you're in kermit, ssh will fail. If the number of users > : connected goes back down to 9 or less, ssh will start working again. > : > : Does anyone have any ideas what's causing this or what areas I should > : check? It seems more SCO related then kermit though. > > Sounds like you're running out of PTYs (pseudoterminals). I imagine there > is a way to create more, but I'm not an OSR5 sysadmin expert. Not sure if a previous attempt to send this message worked as I've been having problems with my news server, but just in case. Altering the number of PTYs available from 96 to 256 made no difference. I've been looking around at some possible other ideas of which limitation in SCO I'm running across. It's not linked to the ttyp device as I've been on ttyp14 and it still only works if there are less than 10 people logged in. The only thing I can find that appears it could have an effect are somethings called 'semophores' that are used for inter-task communication occuring to a Google search. Kind of flying blind on this though as I can't see any messages in any of the log files as to any problems. David McCormack From fdc@columbia.edu Thu Apr 1 17:20:45 2004 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.unix.sco.misc,comp.protocols.kermit.misc Subject: Re: SSH errors with 'File or directory does not exist' but only if more that 10 users are logged in Date: 1 Apr 2004 22:20:29 GMT Organization: Columbia University Lines: 17 Message-ID: References: <1080768113.45686.0@demeter.uk.clara.net> <1080856078.14863.0@iris.uk.clara.net> Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1080858029 9991 128.59.59.56 (1 Apr 2004 22:20:29 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 1 Apr 2004 22:20:29 GMT User-Agent: slrn/0.9.8.0 (SunOS) Xref: newsmaster.cc.columbia.edu comp.unix.sco.misc:163204 comp.protocols.kermit.misc:14884 On 2004-04-01, David McCormack wrote: : ... : Not sure if a previous attempt to send this message worked as I've been : having problems with my news server, but just in case. : : Altering the number of PTYs available from 96 to 256 made no difference. : Let's hope some SCO expert can shed some light. : Kind of flying blind on this though as I can't see any messages in any of : the log files as to any problems. : Have you tried taking a debug log in Kermit? ("log debug", then give a an ssh command that fails, then "close debug", then send the resulting debug.log file to kermit-support@columbia.edu). - Frank From 72027.3605@compuserve.com Fri Apr 2 10:55:18 2004 Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.net!washdc3-snh1.gtei.net!news.gtei.net!ngpeer.news.aol.com!news.compuserve.com!news-master.compuserve.com!not-for-mail From: "Bob Bailin" <72027.3605@compuserve.com> Newsgroups: comp.unix.sco.misc,comp.protocols.kermit.misc Subject: Re: SSH errors with 'File or directory does not exist' but only if more that 10 users are logged in Date: Fri, 2 Apr 2004 06:44:55 -0500 Organization: CompuServe Interactive Services Lines: 57 Message-ID: References: <1080768113.45686.0@demeter.uk.clara.net> <1080856078.14863.0@iris.uk.clara.net> NNTP-Posting-Host: nrwc-sh4-port221.snet.net X-Trace: ngspool-d02.news.aol.com 1080906183 10772 204.60.225.221 (2 Apr 2004 11:43:03 GMT) X-Complaints-To: newsmaster@compuserve.com NNTP-Posting-Date: Fri, 2 Apr 2004 11:43:03 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Xref: newsmaster.cc.columbia.edu comp.unix.sco.misc:163215 comp.protocols.kermit.misc:14885 "David McCormack" wrote in message news:1080856078.14863.0@iris.uk.clara.net... > "Frank da Cruz" wrote in message > news:slrnc6me86.pfr.fdc@sesame.cc.columbia.edu... > > > On 2004-03-31, David McCormack wrote: > > > > : I'm using a downloaded binary version of ckermit version 8.0.209 on a > > : SCO OpenServer box (v. 5.0.6). The kermit executable was downloaded > > : from the main http://www.columbia.edu/kermit/ web site. > > : > > : If we have 10 or more than users logged in to our SCO OpenServer box > > : (but only one is running kermit) then kermit will fail to run the > external > > : ssh client. The error that gets displayed is; > > : > > :: No such file or directory > > : Can't connect to ssh -e none -l root > > : > > : If you have 9 users connected then ssh gets run correctly. This is with > > : exactly the same configuration file. What is bizarre is that if 9 people > > : are logged in you are running kermit, ssh will work. If 10th user logs > > : in, whilst you're in kermit, ssh will fail. If the number of users > > : connected goes back down to 9 or less, ssh will start working again. > > : > > : Does anyone have any ideas what's causing this or what areas I should > > : check? It seems more SCO related then kermit though. > > > > Sounds like you're running out of PTYs (pseudoterminals). I imagine there > > is a way to create more, but I'm not an OSR5 sysadmin expert. > > Not sure if a previous attempt to send this message worked as I've been > having problems with my news server, but just in case. > > Altering the number of PTYs available from 96 to 256 made no difference. > > I've been looking around at some possible other ideas of which limitation in > SCO I'm running across. It's not linked to the ttyp device as I've been on > ttyp14 and it still only works if there are less than 10 people logged in. > The only thing I can find that appears it could have an effect are > somethings called 'semophores' that are used for inter-task communication > occuring to a Google search. > > Kind of flying blind on this though as I can't see any messages in any of > the log files as to any problems. Trying bumping up the shared memory parameters. One of them SHMMAX is only 10 by default. Bob From stevebNoSpamPlease@bs-sys.com Sat Apr 3 12:00:05 2004 Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.net!news.glorb.com!news.moat.net!border1.nntp.sjc.giganews.com!nntp.giganews.com!local1.nntp.sjc.giganews.com!nntp.speakeasy.net!news.speakeasy.net.POSTED!not-for-mail NNTP-Posting-Date: Fri, 02 Apr 2004 19:31:47 -0600 From: "Steve" Newsgroups: comp.protocols.kermit.misc Subject: K95 with VB Date: Fri, 2 Apr 2004 17:31:32 -0800 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: Lines: 22 NNTP-Posting-Host: 216.254.11.161 X-Trace: sv3-TAP9eBKgW2Iym1MvUqw0SQrOQC4agWKBiamCArXfSWId1jorbXEpMGNWnZjDhg4W8NpNUJsa9bF50Fz!ZmLJWFK3XKSDM6OroNjc4H5+uhOMInAZxo17BjtcU/G1cBQsQcRJ/Kf+lA06esxR14v8Fi5ZKsXB!SwM+EPDgtITLUXljJA== X-Complaints-To: abuse@speakeasy.net X-DMCA-Complaints-To: abuse@speakeasy.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 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14886 I have an app that calls K95 which has a script that sets the line etc and puts K95 in server mode. The app basically receives files and processes the data. I have a way for the end user to shut down the app using TerminateProcess: Declare Function TerminateProcess Lib "kernel32" (ByVal hProcess As Long, ByVal uExitCode As Long) As Long Everything is working fine with my Lucent Winmodem. Trying to do the same thing using an Agere Winmodem which I am told is the new name Lucent. The problem is with this modem, the TerminateProcess does not release the modem. If I try to use the modem again with my app or with any other app, I get an error. Specifically with K95 I am getting "Sorry, access to device is denied". I have to shut down the PC in order to free up the modem. Looking at the settings on the modems, the only difference is the speaker volume. If I manually go into K95, set the modem and then End Task, that releases the modem. Any idea why one modem thinks it is still in use but the other does not? Steve From fdc@columbia.edu Sat Apr 3 13:07:33 2004 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: K95 with VB Date: 3 Apr 2004 17:00:01 GMT Organization: Columbia University Lines: 25 Message-ID: References: Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1081011601 20688 128.59.59.56 (3 Apr 2004 17:00:01 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 3 Apr 2004 17:00:01 GMT User-Agent: slrn/0.9.8.0 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14887 On 2004-04-03, Steve wrote: : I have an app that calls K95 which has a script that sets the line etc and : puts K95 in server mode. The app basically receives files and processes the : data. I have a way for the end user to shut down the app using : TerminateProcess: : : Declare Function TerminateProcess Lib "kernel32" (ByVal hProcess As Long, : ByVal uExitCode As Long) As Long : : Everything is working fine with my Lucent Winmodem. Trying to do the same : thing using an Agere Winmodem which I am told is the new name Lucent. The : problem is with this modem, the TerminateProcess does not release the modem. : If I try to use the modem again with my app or with any other app, I get an : error. Specifically with K95 I am getting "Sorry, access to device is : denied". I have to shut down the PC in order to free up the modem. Looking : at the settings on the modems, the only difference is the speaker volume. : If I manually go into K95, set the modem and then End Task, that releases : the modem. : : Any idea why one modem thinks it is still in use but the other does not? : Which version of Kermit 95 are you using? If it is 2.0 or later, are you using the GUI or Console version? - Frank From fdc@columbia.edu Mon Apr 5 08:55:55 2004 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Announcing C-Kermit 8.0.211 Beta Date: 4 Apr 2004 21:16:57 GMT Organization: Columbia University Lines: 25 Message-ID: Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1081113417 4437 128.59.59.56 (4 Apr 2004 21:16:57 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 4 Apr 2004 21:16:57 GMT User-Agent: slrn/0.9.8.0 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14888 This is to announce a brief Beta test period for C-Kermit 8.0.211. It's a minor release, mainly bug fixes and stability issues. In fact, since there have been virtually no major new features added since 8.0.209 (a year ago), this might be the most stable C-Kermit release ever :-) You can find the tarballs and Zip files containing source code, along with a detailed list of changes since 8.0.209, here: http://www.columbia.edu/kermit/ckdaily.html I'm not putting up Beta-test binaries this time, just source code. I hope to release within a week or two. Several new platforms need to be tried that I don't have access to yet: . Recent (well, any) AIX versions. . Mac OS X 10.3 (and 10.2) . VMS 8.1 Thanks to Jeff Altman, Nelson Beebe, Ian Beckwith, Dat Nguyen, Peter Eichhorn, Mark Sapiro, and Jeff Johnson for their contributions, and to everybody else who sent in suggestions or bug reports. - Frank From stevebNoSpamPlease@bs-sys.com Tue Apr 6 08:37:53 2004 Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.net!in.100proofnews.com!in.100proofnews.com!cycny01.gnilink.net!cyclone1.gnilink.net!gnilink.net!newsfeed.news2me.com!newsfeed3.easynews.com!easynews.com!easynews!border1.nntp.sjc.giganews.com!nntp.giganews.com!local1.nntp.sjc.giganews.com!nntp.speakeasy.net!news.speakeasy.net.POSTED!not-for-mail NNTP-Posting-Date: Mon, 05 Apr 2004 17:45:40 -0500 From: "Steve" Newsgroups: comp.protocols.kermit.misc References: Subject: Re: K95 with VB Date: Mon, 5 Apr 2004 15:45:40 -0700 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: Lines: 43 NNTP-Posting-Host: 216.254.11.161 X-Trace: sv3-uiUoS8aygGRa9AUr4x1cWlsL+q6gVXuC23NmRqqgyeR3KyxvZKGAm+uRpXkwEeaxnBa+9hvaV7i1KQK!1GYAA/RUv4Vm7nmuoIeIHZhRqRRYiPHW07RXufLyycRHoj+PFpNJJqHdQnrMVJ6ybDIcMmYp6ywy!NNtOWePwynbL0IZGwg== X-Complaints-To: abuse@speakeasy.net X-DMCA-Complaints-To: abuse@speakeasy.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 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14889 "Frank da Cruz" wrote in message news:slrnc6trch.nub.fdc@sesame.cc.columbia.edu... > On 2004-04-03, Steve wrote: > : I have an app that calls K95 which has a script that sets the line etc and > : puts K95 in server mode. The app basically receives files and processes the > : data. I have a way for the end user to shut down the app using > : TerminateProcess: > : > : Declare Function TerminateProcess Lib "kernel32" (ByVal hProcess As Long, > : ByVal uExitCode As Long) As Long > : > : Everything is working fine with my Lucent Winmodem. Trying to do the same > : thing using an Agere Winmodem which I am told is the new name Lucent. The > : problem is with this modem, the TerminateProcess does not release the modem. > : If I try to use the modem again with my app or with any other app, I get an > : error. Specifically with K95 I am getting "Sorry, access to device is > : denied". I have to shut down the PC in order to free up the modem. Looking > : at the settings on the modems, the only difference is the speaker volume. > : If I manually go into K95, set the modem and then End Task, that releases > : the modem. > : > : Any idea why one modem thinks it is still in use but the other does not? > : > Which version of Kermit 95 are you using? If it is 2.0 or later, are you > using the GUI or Console version? > > - Frank I am not at that PC but would guess its 1.1.20. Steve From fdc@columbia.edu Tue Apr 6 08:39:47 2004 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: K95 with VB Date: 6 Apr 2004 12:39:21 GMT Organization: Columbia University Lines: 17 Message-ID: References: Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1081255161 7480 128.59.59.56 (6 Apr 2004 12:39:21 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 6 Apr 2004 12:39:21 GMT User-Agent: slrn/0.9.8.0 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14890 On 2004-04-05, Steve wrote: : : "Frank da Cruz" wrote in message : news:slrnc6trch.nub.fdc@sesame.cc.columbia.edu... :> : ... :> : Any idea why one modem thinks it is still in use but the other does not? :> : :> Which version of Kermit 95 are you using? If it is 2.0 or later, are you :> using the GUI or Console version? : : I am not at that PC but would guess its 1.1.20. : Then please try the GUI version of 2.1.3: http://www.columbia.edu/kermit/k95upgrade.html - Frank From nospam@zamang.co.uk Sat Apr 10 16:04:09 2004 Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!newsfeed.esat.net!dedekind.zen.co.uk!zen.net.uk!hamilton.zen.co.uk!213.253.16.105.MISMATCH!mephistopheles.news.clara.net!news.clara.net!lotis.uk.clara.net From: "David McCormack" Newsgroups: comp.unix.sco.misc,comp.protocols.kermit.misc References: <1080768113.45686.0@demeter.uk.clara.net> <1080856078.14863.0@iris.uk.clara.net> Subject: Re: SSH errors with 'File or directory does not exist' but only if more that 10 users are logged in Date: Sat, 10 Apr 2004 20:41:53 +0100 Lines: 88 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Complaints-To: abuse@clara.net (please include full headers) X-Trace: 540c146169a5828ab9666014632c2420b6d40201a66701c04710900240784ded NNTP-Posting-Date: Sat, 10 Apr 2004 20:41:33 +0100 Message-ID: <1081626093.11474.0@lotis.uk.clara.net> Xref: newsmaster.cc.columbia.edu comp.unix.sco.misc:163381 comp.protocols.kermit.misc:14893 "Bob Bailin" <72027.3605@compuserve.com> wrote in message news:c4jjk6$agk$2@ngspool-d02.news.aol.com... > > "David McCormack" wrote in message > news:1080856078.14863.0@iris.uk.clara.net... > > "Frank da Cruz" wrote in message > > news:slrnc6me86.pfr.fdc@sesame.cc.columbia.edu... > > > > > On 2004-03-31, David McCormack wrote: > > > > > > : I'm using a downloaded binary version of ckermit version 8.0.209 on a > > > : SCO OpenServer box (v. 5.0.6). The kermit executable was downloaded > > > : from the main http://www.columbia.edu/kermit/ web site. > > > : > > > : If we have 10 or more than users logged in to our SCO OpenServer box > > > : (but only one is running kermit) then kermit will fail to run the > > external > > > : ssh client. The error that gets displayed is; > > > : > > > :: No such file or directory > > > : Can't connect to ssh -e none -l root > > > : > > > : If you have 9 users connected then ssh gets run correctly. This is > with > > > : exactly the same configuration file. What is bizarre is that if 9 > people > > > : are logged in you are running kermit, ssh will work. If 10th user logs > > > : in, whilst you're in kermit, ssh will fail. If the number of users > > > : connected goes back down to 9 or less, ssh will start working again. > > > : > > > : Does anyone have any ideas what's causing this or what areas I should > > > : check? It seems more SCO related then kermit though. > > > > > > Sounds like you're running out of PTYs (pseudoterminals). I imagine > there > > > is a way to create more, but I'm not an OSR5 sysadmin expert. > > > > Not sure if a previous attempt to send this message worked as I've been > > having problems with my news server, but just in case. > > > > Altering the number of PTYs available from 96 to 256 made no difference. > > > > I've been looking around at some possible other ideas of which limitation > in > > SCO I'm running across. It's not linked to the ttyp device as I've been on > > ttyp14 and it still only works if there are less than 10 people logged in. > > The only thing I can find that appears it could have an effect are > > somethings called 'semophores' that are used for inter-task communication > > occuring to a Google search. > > > > Kind of flying blind on this though as I can't see any messages in any of > > the log files as to any problems. > > Trying bumping up the shared memory parameters. One of them SHMMAX is > only 10 by default. Sorry for the delay in replying I've not been about to get access to the server. I've checked and SHMMAX is set to 524288 on the machine. SHMMAX: maximum shared memory segment size (bytes). The current value is: 524288 New value is: SHMMIN: minimum shared memory segment size (bytes). The current value is: 1 New value is: XSDSEGS: number of XENIX shared data segments (systemwide). The current value is: 25 New value is: XSDSLOTS: number of slots per XENIX shared data segment. The current value is: 3 New value is: I've been through the other options within Tune Parameters in scoadmin and none of them are set to 10. Many thanks for your suggestions David McCormack From Petri_member@newsguy.com Sun Apr 11 13:54:11 2004 Path: newsmaster.cc.columbia.edu!panix!logbridge.uoregon.edu!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!drn From: Petri Newsgroups: comp.protocols.kermit.misc Subject: FTP with Auth SSL Date: 11 Apr 2004 10:28:35 -0700 Organization: Newsguy News Service [http://newsguy.com] Lines: 64 Message-ID: NNTP-Posting-Host: p-402.newsdawg.com X-Newsreader: Direct Read News 4.20 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14894 Hi everyone, I am writing a kermit script that will login on a few FTP-servers that demand "Auth SSL" authentication (that's what it's called in my normal FTP client anyway), and perform some ftp operations there before exiting. The FTP-servers all use selfsigned certificates. They are all glftpd, running on Linux. All ftp site commands work fine, as they get their responses via the control session. But the file transfers immediately fail. Here is an example of the error message I recieve: ---8<--- (/home/petri/) C-Kermit>ftp dir ---> TYPE A 200 Type set to A. ---> PASV 227 Entering Passive Mode (127,0,0,1,138,84) ---> LIST 150 Opening ASCII mode data connection for directory listing. ftp: SSL_connect DATA error: error:14094417:SSL routines:SSL3_READ_BYTES:sslv3 alert illegal parameter (/home/petri/) C-Kermit>exit ---> QUIT 435 Failed TLS negotiation on data channel, disconnected: No such file or directory. ---8<--- The "No such file or directory" part that appears after I quit the kermit session, sounds pretty bad. Why is it failing a "TLS negotiation", when I explicitly ask for SSL? Maybe the TLS part isn't important, as "Auth TLS" works too on this particular FTP-server. I am running "C-Kermit 8.0.206, 24 Oct 2002, for Red Hat Linux 8.0", on Redhat 9, and the kermit version is what was shipped with the OS. Here is the script I tried the above with: ---8<--- set auth ssl certs-ok set ftp authtype ssl set ftp autologin off set ftp command-protection-level confidential set ftp data-protection-level confidential set ftp debug on set ftp verbose-mode on set ftp passive-mode on set ftp filenames literal set transfer display off ftp localhost 21000 if fail exit 1 FTP connection failed ftp user username password if fail exit 1 FTP login failed ---8<--- Can someone tell me what is wrong? Is something missing on my system, or is it simply a config issue I have missed in kermit? Many thanks in advance for all suggestions. Petri From jaltman2@nyc.rr.com Sun Apr 11 14:21:05 2004 Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.net!in.100proofnews.com!in.100proofnews.com!news3.optonline.net!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!not-for-mail From: Jeffrey Altman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040316 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Re: FTP with Auth SSL References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 11 Message-ID: Date: Sun, 11 Apr 2004 18:15:02 GMT NNTP-Posting-Host: 24.193.46.55 X-Complaints-To: abuse@rr.com X-Trace: twister.nyc.rr.com 1081707302 24.193.46.55 (Sun, 11 Apr 2004 14:15:02 EDT) NNTP-Posting-Date: Sun, 11 Apr 2004 14:15:02 EDT Organization: Road Runner - NYC Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14895 Secure Sockets Layer is the name Netscape gave the protocol when it was proprietary. After it was donated to the IETF and modified to fix some minor security design issues, the protocol was renamed to Transport Layer Security. You are not providing enough information to diagnose where the TLS connection is failing. Try turning on debugging: SET AUTH TLS DEBUG ON From fdc@columbia.edu Sun Apr 11 20:00:47 2004 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Announcing C-Kermit 8.0.211 for Unix and VMS Date: 11 Apr 2004 23:59:56 GMT Organization: Columbia University Lines: 37 Message-ID: Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1081727996 17691 128.59.59.56 (11 Apr 2004 23:59:56 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 11 Apr 2004 23:59:56 GMT User-Agent: slrn/0.9.8.0 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14896 Nothing spectacular, pretty much just a year's worth of accumulated bug fixes plus a couple minor feature additions, and support for a few new platorms, most notably VMS 8.1 on IA64, FreeBSD 5.1, Mac OS X 10.3. The new features are: . INPUT /NOMATCH (waits for the entire interval without trying to match anything; useful for scripted logging). . SET INPUT SCALE-FACTOR (lets you scale INPUT timeouts). . FREAD /TRIM and FREAD /UNTABIFY. . ASK[Q] and GETOK /DEFAULT:text (lets you supply default answer). . \funtabify(string). . ON_CD macro (if you define one, it executes automatically whenever you tell Kermit to change directories). Since there has been no major surgery, this should be a pretty stable release. I deferred any changes that could wreck stability until after getting this one out. These might include: . Support for file sizes greater than 2GB. . Support timeouts on the FTP data connection and an option for syslogging of FTP data transfers. . IPv6. The new version is accessible from the website: http://www.columbia.edu/kermit/ckermit.html - Frank From Petri_member@newsguy.com Sun Apr 11 20:07:10 2004 Path: newsmaster.cc.columbia.edu!panix!logbridge.uoregon.edu!newshub.sdsu.edu!tethys.csu.net!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!drn From: Petri Newsgroups: comp.protocols.kermit.misc Subject: Re: FTP with Auth SSL Date: 11 Apr 2004 16:46:26 -0700 Organization: Newsguy News Service [http://newsguy.com] Lines: 88 Message-ID: References: NNTP-Posting-Host: p-467.newsdawg.com X-Newsreader: Direct Read News 4.20 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14897 In article , Jeffrey Altman says... > Secure Sockets Layer is the name Netscape gave the > protocol when it was proprietary. After it was donated to > the IETF and modified to fix some minor security design issues, > the protocol was renamed to Transport Layer Security. Yes, I am aware of that historical fact. :) The reason I wondered why it complained about TLS when I had specified SSL, is that there seem to exist something called "auth ssl" and "auth tls", which is something I have to specify correctly in my FTP client when connecting to these FTP-servers: http://www.ford-hutchinson.com/~fh-1-pfh/ftps-ext.html > You are not providing enough information to diagnose where > the TLS connection is failing. Sorry, I search the documentation for debug options, and only found "set ftp debug on". > Try turning on debugging: > SET AUTH TLS DEBUG ON Where did you find that? :) It's not mentioned here: http://www.columbia.edu/kermit/ckermit80.html Thanks for the tip! Very strange, if I add that line to the kermit script, I get this output when running the script: ?No keywords match - debug But if I write it at the prompt after the script has run, it is accepted. This output is after having logged in with the script listed earlier and having typed the command above: ---8<--- (/home/petri/) C-Kermit>set auth tls debug on (/home/petri/) C-Kermit>ftp dir ---> TYPE A 200 Type set to A. ---> PASV 227 Entering Passive Mode (127,0,0,1,128,154) ---> LIST 150 Opening ASCII mode data connection for directory listing. =>START SSL connect on DATA SSL_handshake:UNKWN before/connect initialization SSL_connect:UNKWN before/connect initialization SSL_connect:3WCH_A SSLv3 write client hello A SSL_read_alert SSL_connect:failed in 3RSH_A SSLv3 read server hello A ftp: SSL_connect DATA error: error:14094417:SSL routines:SSL3_READ_BYTES:sslv3 alert illegal parameter (/home/petri/) C-Kermit>exit ---> QUIT 435 Failed TLS negotiation on data channel, disconnected: No such file or directory. SSL_write_alert ---8<--- Also, I failed to note the last time, the following is output at the beginning of the session: ---8<--- 220 FTP-server (glftpd 1.32_Linux+TLS) ready. ---> AUTH SSL 234 AUTH SSL successful SSL accepted as authentication type [TLS - ADH-AES256-SHA SSLv3 Kx=DH Au=None Enc=AES(256) Mac=SHA1 Compression: None FTP Command channel is Private (encrypted) ---> PBSZ 0 200 PBSZ 0 successful ---> PROT P 200 Protection set to Private ---8<--- The more detailed debug output seems to indicate something that looks like a protocol failure. I know glftpd isn't exactly a crowning achievement of software engineering, maybe there is a way in C-Kermit to specify a more relaxed ssl/tls negotiation? But of course, FTP sessions work great from FTP clients on both Windows and Linux, so that would rule out fatal server side problems. Is there some configuring in kermit I could try to circumvent this problem? Thanks for your help! Petri From arthur.marsh@internode.on.net Mon Apr 12 08:49:01 2004 Date: Mon, 12 Apr 2004 10:56:30 +0930 From: Arthur Marsh Organization: what organisation User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7b) Gecko/20040410 X-Accept-Language: en, en-us MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Re: FTP with Auth SSL References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: ppp971.adelaide.on.net.au Message-ID: <4079f047@duster.adelaide.on.net> X-Trace: duster.adelaide.on.net 1081733191 150.101.77.202 (12 Apr 2004 10:56:31 +0950) Lines: 21 Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.net!news.maxwell.syr.edu!newsfeed.mathworks.com!lon-transit.news.telstra.net!ken-in.news.telstra.net!lon-in.news.telstra.net!news.telstra.net!203.16.214.244.MISMATCH!duster.adelaide.on.net!not-for-mail Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14898 Petri wrote: > Hi everyone, > > I am writing a kermit script that will login on a few FTP-servers that demand > "Auth SSL" authentication (that's what it's called in my normal FTP client > anyway), and perform some ftp operations there before exiting. ... > I am running "C-Kermit 8.0.206, 24 Oct 2002, for Red Hat Linux 8.0", on Redhat > 9, and the kermit version is what was shipped with the OS. ... Are you able to try with the current C-Kermit 8.0.211? I remember that secure FTP received a fair bit of attention since the version you were using was released. Arthur. From jaltman2@nyc.rr.com Mon Apr 12 08:49:05 2004 Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.net!news.glorb.com!border1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!news3.optonline.net!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!53ab2750!not-for-mail Message-ID: <407A073D.7040004@nyc.rr.com> From: Jeffrey Altman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040316 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Re: FTP with Auth SSL References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 101 Date: Mon, 12 Apr 2004 03:02:44 GMT NNTP-Posting-Host: 24.193.46.55 X-Complaints-To: abuse@rr.com X-Trace: twister.nyc.rr.com 1081738964 24.193.46.55 (Sun, 11 Apr 2004 23:02:44 EDT) NNTP-Posting-Date: Sun, 11 Apr 2004 23:02:44 EDT Organization: Road Runner - NYC Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14899 Petri wrote: > In article , Jeffrey Altman says... > >>Secure Sockets Layer is the name Netscape gave the >>protocol when it was proprietary. After it was donated to >>the IETF and modified to fix some minor security design issues, >>the protocol was renamed to Transport Layer Security. > > > Yes, I am aware of that historical fact. :) > The reason I wondered why it complained about TLS when I had specified SSL, is > that there seem to exist something called "auth ssl" and "auth tls", which is > something I have to specify correctly in my FTP client when connecting to these > FTP-servers: > http://www.ford-hutchinson.com/~fh-1-pfh/ftps-ext.html The distinction between FTP AUTH SSL and FTP AUTH TLS has nothing to do with the TLSv1 or SSLv3 protocol which is used. If the string "SSL" is negotiated then the semantics for the FTP command channel are different than if "TLS" is used. "SSL" is not a standard and should not be used unless you have no other choice. Internally, the protocol which is negotiated is TLSv1. >>You are not providing enough information to diagnose where >>the TLS connection is failing. > > > Sorry, I search the documentation for debug options, and only found "set ftp > debug on". > > >>Try turning on debugging: >> SET AUTH TLS DEBUG ON > > > Where did you find that? :) > It's not mentioned here: > http://www.columbia.edu/kermit/ckermit80.html Try reading the Security Documentation http://www.columbia.edu/kermit/security.html which describes the implementation of SSL/TLS, Kerberos, SRP, X.509 certs, etc. > Thanks for the tip! > Very strange, if I add that line to the kermit script, I get this output when > running the script: > ?No keywords match - debug > > But if I write it at the prompt after the script has run, it is accepted. > > This output is after having logged in with the script listed earlier and having > typed the command above: > ---8<--- > (/home/petri/) C-Kermit>set auth tls debug on > (/home/petri/) C-Kermit>ftp dir > ---> TYPE A > 200 Type set to A. > ---> PASV > 227 Entering Passive Mode (127,0,0,1,128,154) > ---> LIST > 150 Opening ASCII mode data connection for directory listing. > =>START SSL connect on DATA > SSL_handshake:UNKWN before/connect initialization > SSL_connect:UNKWN before/connect initialization > SSL_connect:3WCH_A SSLv3 write client hello A > SSL_read_alert > SSL_connect:failed in 3RSH_A SSLv3 read server hello A > ftp: SSL_connect DATA error: error:14094417:SSL routines:SSL3_READ_BYTES:sslv3 > alert illegal parameter > (/home/petri/) C-Kermit>exit > ---> QUIT > 435 Failed TLS negotiation on data channel, disconnected: No such file or > directory. > SSL_write_alert > ---8<--- A firewall is dropping the connection after the initial client hello is sent. > The more detailed debug output seems to indicate something that looks like a > protocol failure. > I know glftpd isn't exactly a crowning achievement of software engineering, > maybe there is a way in C-Kermit to specify a more relaxed ssl/tls negotiation? > But of course, FTP sessions work great from FTP clients on both Windows and > Linux, so that would rule out fatal server side problems. > Is there some configuring in kermit I could try to circumvent this problem? > > Thanks for your help! > > > Petri The problem is not in Kermit. From Petri_member@newsguy.com Mon Apr 12 09:35:15 2004 Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.net!news.glorb.com!logbridge.uoregon.edu!arclight.uoregon.edu!wn51feed!worldnet.att.net!129.250.169.16!pln-e!spln!dex!extra.newsguy.com!newsp.newsguy.com!drn From: Petri Newsgroups: comp.protocols.kermit.misc Subject: Re: FTP with Auth SSL Date: 11 Apr 2004 21:33:07 -0700 Organization: Newsguy News Service [http://newsguy.com] Lines: 57 Message-ID: References: <407A073D.7040004@nyc.rr.com> NNTP-Posting-Host: p-988.newsdawg.com X-Newsreader: Direct Read News 4.20 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14900 In article <407A073D.7040004@nyc.rr.com>, Jeffrey Altman says... >>> Try turning on debugging: >>> SET AUTH TLS DEBUG ON >> Where did you find that? :) >> It's not mentioned here: >> http://www.columbia.edu/kermit/ckermit80.html > Try reading the Security Documentation > http://www.columbia.edu/kermit/security.html Thanks! >> This output is after having logged in with the script listed earlier >> and having typed the command above: >> ---8<--- >> (/home/petri/) C-Kermit>set auth tls debug on >> (/home/petri/) C-Kermit>ftp dir >> ---> TYPE A >> 200 Type set to A. >> ---> PASV >> 227 Entering Passive Mode (127,0,0,1,128,154) >> ---> LIST >> 150 Opening ASCII mode data connection for directory listing. >> =>START SSL connect on DATA >> SSL_handshake:UNKWN before/connect initialization >> SSL_connect:UNKWN before/connect initialization >> SSL_connect:3WCH_A SSLv3 write client hello A >> SSL_read_alert >> SSL_connect:failed in 3RSH_A SSLv3 read server hello A >>ftp: SSL_connect DATA error: error:14094417:SSL routines:SSL3_READ_BYTES:sslv3 >> alert illegal parameter >> (/home/petri/) C-Kermit>exit >> ---> QUIT >> 435 Failed TLS negotiation on data channel, disconnected: No such file or >> directory. >> SSL_write_alert >> ---8<--- > A firewall is dropping the connection after the initial client > hello is sent. There are no firewalls passed in the session above. In fact, it is run against localhost. If I instead use the local ftp client of redhat 9, it works. If I connect with any ftp client (except kermit) from remote hosts, it works. > The problem is not in Kermit. Yes, but even Kermit can't do better than the user tells it to. :) Surely this must a case of me having missed some necessary configuration somewhere? Petri From jaltman2@nyc.rr.com Mon Apr 12 09:36:23 2004 Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newshosting.com!nx02.iad01.newshosting.com!167.206.3.103.MISMATCH!news3.optonline.net!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!not-for-mail Message-ID: <407A990B.3040105@nyc.rr.com> From: Jeffrey Altman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040316 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Re: FTP with Auth SSL References: <407A073D.7040004@nyc.rr.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 23 Date: Mon, 12 Apr 2004 13:21:22 GMT NNTP-Posting-Host: 24.193.46.55 X-Complaints-To: abuse@rr.com X-Trace: twister.nyc.rr.com 1081776082 24.193.46.55 (Mon, 12 Apr 2004 09:21:22 EDT) NNTP-Posting-Date: Mon, 12 Apr 2004 09:21:22 EDT Organization: Road Runner - NYC Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14901 Petri wrote: >>A firewall is dropping the connection after the initial client >>hello is sent. > > > There are no firewalls passed in the session above. > In fact, it is run against localhost. > If I instead use the local ftp client of redhat 9, it works. > If I connect with any ftp client (except kermit) from remote hosts, it works. Does the local ftp client support AUTH TLS or AUTH SSL? Does the local ftp client default to PASSIVE mode? Does the local ftp client encrypt the DATA channel? Kermit is negotiating the command channel SSLv3 session just fine. When it attempts to negotiate the data channel SSLv3 session it sends a request to the server looking to reuse the existing session. The SSLv3 client hello message is sent and the socket becomes invalid. The socket is being closed. If this is not from a firewall, another possibility is that the ftpd is core dumping. From Petri_member@newsguy.com Mon Apr 12 16:35:33 2004 Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.net!newsfeed3.dallas1.level3.net!news.level3.com!newsfeed1.easynews.com!easynews.com!easynews!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!drn From: Petri Newsgroups: comp.protocols.kermit.misc Subject: Re: FTP with Auth SSL Date: 12 Apr 2004 11:17:39 -0700 Organization: Newsguy News Service [http://newsguy.com] Lines: 77 Message-ID: References: <407A073D.7040004@nyc.rr.com> <407A990B.3040105@nyc.rr.com> NNTP-Posting-Host: p-950.newsdawg.com X-Newsreader: Direct Read News 4.20 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14902 In article <407A990B.3040105@nyc.rr.com>, Jeffrey Altman says... >Petri wrote: >>> A firewall is dropping the connection after the initial client >>> hello is sent. >> There are no firewalls passed in the session above. >> In fact, it is run against localhost. >> If I instead use the local ftp client of redhat 9, it works. >> If I connect with any ftp client (except kermit) from remote hosts, >> it works. > Does the local ftp client support AUTH TLS or AUTH SSL? I dunno. I'm not the admin of that server, and my experience is more with Windows than Linux anyway. I do know that encryption is enforced on the glftd-server, I can see it in the conf-file. > Does the local ftp client encrypt the DATA channel? The assumption would be yes, since data transfers are required to be encrypted by the glftpd-server. > Kermit is negotiating the command channel SSLv3 session just fine. > When it attempts to negotiate the data channel SSLv3 session it > sends a request to the server looking to reuse the existing session. > The SSLv3 client hello message is sent and the socket becomes > invalid. > The socket is being closed. Brr, it sounds less and less like there's an easy solution. Is it possible that Kermit follows the IETF specs super-strict (as everyone should, of course), but there is software out there that is much more relaxed in their implementation of Auth TLS/SSL? Is there some way to tell Kermit to be less strict? > If this is not from a firewall, another possibility is that the ftpd > is core dumping. Not that either, sorry. :( This FTP-server has had a total traffic of 9.75 TByte since it was deployed. All that traffic has been encrypted. There are other sessions continously ongoing as I am doing my testing. I caught a couple of encrypted FTP-sessions to the server from a computer at the office with Sniffer Pro, just to make sure that both control- and data-sessions are encrypted. And they are, and it works, as always. I used Auth SSL with Cute FTP Pro, and Auth TLS with FlashFXP. I unfortunately do not have any Linux systems available at the office, so I can't sniff a remote C-Kermit session to compare. I do have an ancient K-95 lying around, still packed into a box somewhere since the last office move. I think it was V1.1.18. If it supports Auth SSL or Auth TLS, I can sniff a session with it. Not much to see in comparison I guess since the sessions are encrypted, unless I catch a cleartext error message from either side that could shed more light on the situation. Sorry to be such a nuisance. :( I still believe that there is some simple setting that I have missed, that you perhaps are assuming that I know of and have set. This is my first encounter with FTP SSL/TLS. I usually automate HTTP, FTP, SFTP and various COM-sessions with Perl. This whole TLS business seems a bit odd to me, the page I posted a link to earlier, seems to indicate that there are various issues and minor incompatibilites involved between different implementations. I'll gladly take any tips that you can share. Petri From jaltman2@nyc.rr.com Mon Apr 12 16:35:37 2004 Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.net!news.maxwell.syr.edu!news.glorb.com!border1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!news3.optonline.net!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!not-for-mail Message-ID: <407AE686.3030209@nyc.rr.com> From: Jeffrey Altman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040316 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Re: FTP with Auth SSL References: <407A073D.7040004@nyc.rr.com> <407A990B.3040105@nyc.rr.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 30 Date: Mon, 12 Apr 2004 18:48:23 GMT NNTP-Posting-Host: 24.193.46.55 X-Complaints-To: abuse@rr.com X-Trace: twister.nyc.rr.com 1081795703 24.193.46.55 (Mon, 12 Apr 2004 14:48:23 EDT) NNTP-Posting-Date: Mon, 12 Apr 2004 14:48:23 EDT Organization: Road Runner - NYC Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14903 There are lots of knobs you can adjust in Kermit to alter how much verification it requires and whether it attempts to use SSLv3/TLSv1 or SSLv2 (which should never be used.) However, those are not your problem. The server is closing the connection on the Data channel. If you have no logs from the server to help you, then you are pretty much out of luck. I do not know what SSL/TLS library is used by your ftpd. I also do know know which version of OpenSSL you are using for Kermit. Perhaps you have come across an incompatibility between the two. I do not know. As I mentioned previously, Kermit's FTP AUTH {SSL, TLS} attempts to optimize the authentication by taking advantage of SSL/TLS Session Reuse. This is performed in the module ckcftp.c in function ssl_dataconn() with the function SSL_copy_session_id(ssl_ftp_data_con,ssl_ftp_con); Perhaps your FTP server's library is broken and cannot handle this. I do not know. I suggest you try to debug the problem from the server end since that is the side which is dropping the data connection. If you would like me to debug the problem I am available for hire and can be contacted at jaltman at secure-endpoints dot com. From jaltman2@nyc.rr.com Mon Apr 12 16:35:43 2004 Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!feed5.newsreader.com!newsreader.com!news3.optonline.net!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!not-for-mail Message-ID: <407AE97A.7080007@nyc.rr.com> From: Jeffrey Altman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040316 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Re: FTP with Auth SSL References: <4079f047@duster.adelaide.on.net> In-Reply-To: <4079f047@duster.adelaide.on.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 29 Date: Mon, 12 Apr 2004 19:01:00 GMT NNTP-Posting-Host: 24.193.46.55 X-Complaints-To: abuse@rr.com X-Trace: twister.nyc.rr.com 1081796460 24.193.46.55 (Mon, 12 Apr 2004 15:01:00 EDT) NNTP-Posting-Date: Mon, 12 Apr 2004 15:01:00 EDT Organization: Road Runner - NYC Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14904 Arthur Marsh wrote: >> I am running "C-Kermit 8.0.206, 24 Oct 2002, for Red Hat Linux 8.0", >> on Redhat >> 9, and the kermit version is what was shipped with the OS. > > > ... > > Are you able to try with the current C-Kermit 8.0.211? I remember that > secure FTP received a fair bit of attention since the version you were > using was released. There were two major bugs fixed in FTP between 8.0.206 and 8.0.211. The first was related to TEXT transfers when there were no character-sets defined. The second was a fix to FTP over SSL (which is different from FTP AUTH {SSL, TLS}.) There were some minor bugs fixed as well related to the reporting of error messages; incorrect parsing of MSLD responses; and the generation of temporary file names. There was also an addition of the SET FTP BUG USE_SSL_V2 {ON, OFF} command to allow the use of SSLv2 when the FTP server violates the specs and uses that instead of SSLv3 or higher. None of these bugs could be related to the problem being described. Jeffrey Altman From Petri_member@newsguy.com Tue Apr 13 09:55:06 2004 Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.net!in.100proofnews.com!in.100proofnews.com!prodigy.com!prodigy.com!pln-e!spln!dex!extra.newsguy.com!newsp.newsguy.com!drn From: Petri Newsgroups: comp.protocols.kermit.misc Subject: Re: FTP with Auth SSL Date: 13 Apr 2004 03:01:49 -0700 Organization: Newsguy News Service [http://newsguy.com] Lines: 40 Message-ID: References: <4079f047@duster.adelaide.on.net> <407AE97A.7080007@nyc.rr.com> NNTP-Posting-Host: p-594.newsdawg.com X-Newsreader: Direct Read News 4.20 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14905 In article <407AE97A.7080007@nyc.rr.com>, Jeffrey Altman says... >>> I am running "C-Kermit 8.0.206, 24 Oct 2002, for Red Hat Linux >>> 8.0", on Redhat 9, and the kermit version is what was shipped >>> with the OS. >> Are you able to try with the current C-Kermit 8.0.211? I remember >> that secure FTP received a fair bit of attention since the version >> you were using was released. > There were two major bugs fixed in FTP between 8.0.206 and 8.0.211. Mmkay, the server is Redhat9, with the following rpm package preinstalled: ckermit-8.0.206-0.6 If I want to make a clean switch to the latest C-Kermit, I assume the following procedure is appropriate: 1. Uninstall the standard distribution package: rpm -e ckermit-8.0.206-0.6 2. Download, unpack, compile and install the latest C-Kermit lynx ftp://kermit.columbia.edu/kermit/archives/cku211.zip unzip cku211.zip make linux Where do I put the ckuker.nr file? Should I just compile and replace the old binary in /usr/bin, and skip the rpm uninstallation? Hey, I'm Windows guy, give me some pointers here. :) The admin is away in Norway, so I have to solve this myself. > None of these bugs could be related to the problem being described. But you never know... Petri From Petri_member@newsguy.com Tue Apr 13 10:16:23 2004 Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.net!newsfeed.cwix.com!newspeer.monmouth.com!HSNX.atgi.net!cyclone-sf.pbi.net!129.250.175.17!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!drn From: Petri Newsgroups: comp.protocols.kermit.misc Subject: Re: FTP with Auth SSL Date: 13 Apr 2004 04:42:51 -0700 Organization: Newsguy News Service [http://newsguy.com] Lines: 40 Message-ID: References: <407A073D.7040004@nyc.rr.com> <407A990B.3040105@nyc.rr.com> <407AE686.3030209@nyc.rr.com> NNTP-Posting-Host: p-873.newsdawg.com X-Newsreader: Direct Read News 4.20 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14906 In article <407AE686.3030209@nyc.rr.com>, Jeffrey Altman says... > There are lots of knobs you can adjust in Kermit > to alter how much verification it requires and whether > it attempts to use SSLv3/TLSv1 or SSLv2 (which should > never be used.) However, those are not your problem. > The server is closing the connection on the Data channel. > If you have no logs from the server to help you, then > you are pretty much out of luck. > I do not know what SSL/TLS library is used by your > ftpd. I also do know know which version of OpenSSL you > are using for Kermit. This is what the openssl binary says: OpenSSL 0.9.7a Feb 19 2003 I don't know if glftpd uses something else, or what in that case. There are som files in /glftpd/lib: libssl.so.4 libcrypto.so.4 libkrb5.so.3 libgssapi_krb5.so.2 libk5crypto.so.3 libcrypt.so.1 Looks like it has its own ssl library. > I suggest you try to debug the problem from the server > end since that is the side which is dropping the data > connection. > If you would like me to debug the problem I am available for > hire and can be contacted at jaltman at secure-endpoints dot com. This is a noncommercial project, I myself have agreed to help out for free. :) There is unfortunately no funding available for a payed consultant. Petri From fdc@columbia.edu Tue Apr 13 10:16:40 2004 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: FTP with Auth SSL Date: 13 Apr 2004 14:16:09 GMT Organization: Columbia University Lines: 38 Message-ID: References: <4079f047@duster.adelaide.on.net> <407AE97A.7080007@nyc.rr.com> Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1081865769 26940 128.59.59.56 (13 Apr 2004 14:16:09 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 13 Apr 2004 14:16:09 GMT User-Agent: slrn/0.9.8.0 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14907 On 2004-04-13, Petri wrote: : In article <407AE97A.7080007@nyc.rr.com>, Jeffrey Altman says... : ... : If I want to make a clean switch to the latest C-Kermit, I assume the : following procedure is appropriate: : 1. Uninstall the standard distribution package: : rpm -e ckermit-8.0.206-0.6 : : 2. Download, unpack, compile and install the latest C-Kermit : lynx ftp://kermit.columbia.edu/kermit/archives/cku211.zip : unzip cku211.zip : make linux : For details see: http://www.columbia.edu/kermit/ckuins.html : Where do I put the ckuker.nr file? : It's the man page. Replace the previous one with it (using whatever name the previous one had, e.g. /usr/local/man/man1/kermit.1 or whatever). (In fact, the man page has not changed significantly since 8.0.200.) : Should I just compile and replace the old binary in /usr/bin, and skip the : rpm uninstallation? : Quite honestly, I don't have time to learn about all the many and varied install-package schemes, so can't answer questions about RPM. However, I hope to have RPMs for 8.0.211 soon, donated by people who know how to make them. In the meantime, you'll note that the makefile has a "make install" target. But you should read about it in the aforementioned installation instructions before using it, esp. Section 5: http://www.columbia.edu/kermit/ckuins.html#x5 - Frank From jaltman2@nyc.rr.com Tue Apr 13 10:22:33 2004 Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!feed5.newsreader.com!newsreader.com!news3.optonline.net!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!not-for-mail Message-ID: <407BF7E6.2030705@nyc.rr.com> From: Jeffrey Altman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040316 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Re: FTP with Auth SSL References: <407A073D.7040004@nyc.rr.com> <407A990B.3040105@nyc.rr.com> <407AE686.3030209@nyc.rr.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 16 Date: Tue, 13 Apr 2004 14:14:46 GMT NNTP-Posting-Host: 24.193.46.55 X-Complaints-To: abuse@rr.com X-Trace: twister.nyc.rr.com 1081865686 24.193.46.55 (Tue, 13 Apr 2004 10:14:46 EDT) NNTP-Posting-Date: Tue, 13 Apr 2004 10:14:46 EDT Organization: Road Runner - NYC Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14908 Petri wrote: > This is what the openssl binary says: > OpenSSL 0.9.7a Feb 19 2003 This version of OpenSSL is more than a year old and there have been numerous security holes identified in it. The current release is 0.9.7d. I suggest you upgrade immediately. After upgrading, download the latest C-Kermit release and rebuild against the new OpenSSL installation. Jeffrey Altman From Petri_member@newsguy.com Tue Apr 13 12:36:43 2004 Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.net!news.glorb.com!hammer.uoregon.edu!logbridge.uoregon.edu!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!drn From: Petri Newsgroups: comp.protocols.kermit.misc Subject: Re: FTP with Auth SSL Date: 13 Apr 2004 08:33:24 -0700 Organization: Newsguy News Service [http://newsguy.com] Lines: 25 Message-ID: References: <407A073D.7040004@nyc.rr.com> <407A990B.3040105@nyc.rr.com> <407AE686.3030209@nyc.rr.com> <407BF7E6.2030705@nyc.rr.com> NNTP-Posting-Host: p-346.newsdawg.com X-Newsreader: Direct Read News 4.20 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14909 In article <407BF7E6.2030705@nyc.rr.com>, Jeffrey Altman says... >> This is what the openssl binary says: >> OpenSSL 0.9.7a Feb 19 2003 > The current release is 0.9.7d. > I suggest you upgrade immediately. Yes, I already ran the Redhat up2date thingy yesterday, and I could have sworn it said it downloaded and installed 0.9.7d. I hadn't checked the current version with 'openssl version' before the upgrade, so I just figured I had misread the upgrade info, when I afterwards checked the version and got the message above. There are no more openssl upgrades available via up2date, so maybe it patched the libraries or something, and left the console program untouched? I dunno what I'm talking about... > After upgrading, download the latest C-Kermit > release and rebuild against the new OpenSSL > installation. I'll assume I have the latest OpenSSL, so I'm compiling now. Petri From jaltman2@nyc.rr.com Tue Apr 13 12:36:58 2004 Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!newshosting.com!nx02.iad01.newshosting.com!167.206.3.103.MISMATCH!news3.optonline.net!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!not-for-mail Message-ID: <407C157E.6040105@nyc.rr.com> From: Jeffrey Altman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040316 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Re: FTP with Auth SSL References: <407A073D.7040004@nyc.rr.com> <407A990B.3040105@nyc.rr.com> <407AE686.3030209@nyc.rr.com> <407BF7E6.2030705@nyc.rr.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 10 Date: Tue, 13 Apr 2004 16:21:02 GMT NNTP-Posting-Host: 24.193.46.55 X-Complaints-To: abuse@rr.com X-Trace: twister.nyc.rr.com 1081873262 24.193.46.55 (Tue, 13 Apr 2004 12:21:02 EDT) NNTP-Posting-Date: Tue, 13 Apr 2004 12:21:02 EDT Organization: Road Runner - NYC Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14910 Petri wrote: > > > I'll assume I have the latest OpenSSL, so I'm compiling now. > If "openssl version" does not report OpenSSL 0.9.7d 17 Mar 2004 then you do not have the latest version From Petri_member@newsguy.com Tue Apr 13 13:25:02 2004 Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!feedwest.aleron.net!aleron.net!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!drn From: Petri Newsgroups: comp.protocols.kermit.misc Subject: Re: FTP with Auth SSL Date: 13 Apr 2004 09:55:18 -0700 Organization: Newsguy News Service [http://newsguy.com] Lines: 74 Message-ID: References: <4079f047@duster.adelaide.on.net> <407AE97A.7080007@nyc.rr.com> NNTP-Posting-Host: p-729.newsdawg.com X-Newsreader: Direct Read News 4.20 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14911 In article , Frank da Cruz says... > On 2004-04-13, Petri wrote: >: In article <407AE97A.7080007@nyc.rr.com>, Jeffrey Altman says... >: If I want to make a clean switch to the latest C-Kermit, I assume >: the following procedure is appropriate: >: 1. Uninstall the standard distribution package: >: rpm -e ckermit-8.0.206-0.6 >: 2. Download, unpack, compile and install the latest C-Kermit >: lynx ftp://kermit.columbia.edu/kermit/archives/cku211.zip >: unzip cku211.zip >: make linux > For details see: > http://www.columbia.edu/kermit/ckuins.html Thanks, I found the ckuins.txt file in the archive. :) >: Where do I put the ckuker.nr file? > It's the man page. Replace the previous one with it (using > whatever name the previous one had, e.g. > /usr/local/man/man1/kermit.1 or whatever). I found this file on the server: /usr/share/man/man1/kermit.1.gz So I guess I'll do: mv ckuker.nr kermit.1 gzip kermit.1 mv kermit.1.gz /usr/share/man/man1/ Besides that, is C-Kermit still just the single kermit exe, and a few ini-files stashed in /etc/kermit? It's been a few years since I last touched Kermit. :) So I'll replace the binary /usr/bin/kermit with the new one, and be done? >: Should I just compile and replace the old binary in /usr/bin, and >: skip the rpm uninstallation? > Quite honestly, I don't have time to learn about all the many and > varied install-package schemes, so can't answer questions about RPM. I think I'll let the rpm beast lie for this time. The whole thing seems a bit fragile still... :( > In the meantime, you'll note that the makefile has a "make > install" target. If it's just a question of replacing a single binary and a single man page, I think I'd better do it manually. Kermit is already installed by RPM, I don't want to break that. I just tried running the simple testscript with the latest C-Kermit and now it doesn't work at all, since none of the crypto parts are included. :( I just looked at section 4.2 in: http://www.columbia.edu/kermit/security80.html Who is the sad clown in US congress who came up with this idiotic export restriction? Can't you just distribute the project from Canada, like OpenBSD? If I want a kermit with the works, what do I do? I see a lot of stuff having to be added into the makefile. Could you please email me a complete makefile, and I'll download all the "forbidden" libraries or whatever I need, myself? If you can't, I understand, but if you can and will, I'd be very grateful. Petri petri at safetynet dot se From fdc@columbia.edu Tue Apr 13 13:30:31 2004 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: FTP with Auth SSL Date: 13 Apr 2004 17:29:59 GMT Organization: Columbia University Lines: 37 Message-ID: References: <4079f047@duster.adelaide.on.net> <407AE97A.7080007@nyc.rr.com> Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1081877399 6393 128.59.59.56 (13 Apr 2004 17:29:59 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 13 Apr 2004 17:29:59 GMT User-Agent: slrn/0.9.8.0 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14912 On 2004-04-13, Petri wrote: : Besides that, is C-Kermit still just the single kermit exe, and a few : ini-files stashed in /etc/kermit? It's been a few years since I last : touched Kermit. :) : It's a single executable. It doesn't need any external files. : So I'll replace the binary /usr/bin/kermit with the new one, and be done? : That could be sufficient. : I just tried running the simple testscript with the latest C-Kermit and now : it doesn't work at all, since none of the crypto parts are included. :( I : just looked at section 4.2 in: : : http://www.columbia.edu/kermit/security80.html : : Who is the sad clown in US congress who came up with this idiotic export : restriction? : No comment. : If I want a kermit with the works, what do I do? : I see a lot of stuff having to be added into the makefile. : Could you please email me a complete makefile, and I'll download all the : "forbidden" libraries or whatever I need, myself? : There are tons of examples in the makefile, but every site has a different configuration, thus we supply variables that you can set from the command line without having to edit the makefile. Try the most appropriate entry, and if it bombs because certain libraries or header files can't be found, then set the appropriate variables to tell where they are. - Frank From jaltman2@nyc.rr.com Tue Apr 13 15:25:20 2004 Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.net!news.maxwell.syr.edu!news-out1.nntp.be!propagator2-sterling!propagator3-cogent!news-in.nuthinbutnews.com!newshosting.com!nx02.iad01.newshosting.com!167.206.3.103.MISMATCH!news3.optonline.net!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!53ab2750!not-for-mail Message-ID: <407C24F7.1000905@nyc.rr.com> From: Jeffrey Altman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040316 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Re: FTP with Auth SSL References: <4079f047@duster.adelaide.on.net> <407AE97A.7080007@nyc.rr.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 21 Date: Tue, 13 Apr 2004 17:34:04 GMT NNTP-Posting-Host: 24.193.46.55 X-Complaints-To: abuse@rr.com X-Trace: twister.nyc.rr.com 1081877644 24.193.46.55 (Tue, 13 Apr 2004 13:34:04 EDT) NNTP-Posting-Date: Tue, 13 Apr 2004 13:34:04 EDT Organization: Road Runner - NYC Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14913 Petri wrote: > I just tried running the simple testscript with the latest C-Kermit and now it > doesn't work at all, since none of the crypto parts are included. :( > I just looked at section 4.2 in: > http://www.columbia.edu/kermit/security80.html > > Who is the sad clown in US congress who came up with this idiotic export > restriction? > Can't you just distribute the project from Canada, like OpenBSD? > > If I want a kermit with the works, what do I do? > I see a lot of stuff having to be added into the makefile. > Could you please email me a complete makefile, and I'll download all the > "forbidden" libraries or whatever I need, myself? > If you can't, I understand, but if you can and will, I'd be very grateful. I do not understand what the issue is: make redhat9 and you are done. From davewyman99@yahoo.com Tue Apr 13 16:58:46 2004 Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail From: davewyman99@yahoo.com (Dave) Newsgroups: comp.protocols.kermit.misc Subject: Using Existing Connections Date: 13 Apr 2004 13:56:22 -0700 Organization: http://groups.google.com Lines: 16 Message-ID: <1c78de7f.0404131256.2148a2ce@posting.google.com> NNTP-Posting-Host: 66.93.62.140 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1081889782 22111 127.0.0.1 (13 Apr 2004 20:56:22 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 13 Apr 2004 20:56:22 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14914 I have a phone dialer (Intel Dialogic D/41JCT-LS if you're curious) with 4 phone jacks. There are over 100 divisions in my company that each have their own inventory server. I want to have my central server use this Dialogic board to dial in to each division's server and download their inventory on a nightly basis. I need to have Kermit use the Dialogic boards phone jacks to do this. I'm not sure if I can get the Dialogic board to allow another program to access the open connection, but assuming I can, is there any way for Kermit to take control of that existing connection? What kind of connection would I have to create to allow that? Ok, I've searched this group and all over google and still haven't found what I'm looking for so if someone here has an idea, I'd really appreciate it! Dave From fdc@columbia.edu Tue Apr 13 16:58:57 2004 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: Using Existing Connections Date: 13 Apr 2004 20:58:42 GMT Organization: Columbia University Lines: 23 Message-ID: References: <1c78de7f.0404131256.2148a2ce@posting.google.com> Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1081889922 15859 128.59.59.56 (13 Apr 2004 20:58:42 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 13 Apr 2004 20:58:42 GMT User-Agent: slrn/0.9.8.0 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14915 On 2004-04-13, Dave wrote: : I have a phone dialer (Intel Dialogic D/41JCT-LS if you're curious) : with 4 phone jacks. There are over 100 divisions in my company that : each have their own inventory server. I want to have my central server : use this Dialogic board to dial in to each division's server and : download their inventory on a nightly basis. I need to have Kermit use : the Dialogic boards phone jacks to do this. I'm not sure if I can get : the Dialogic board to allow another program to access the open : connection, but assuming I can, is there any way for Kermit to take : control of that existing connection? What kind of connection would I : have to create to allow that? : Probably, but that depends on which operating system and which Kermit program. : Ok, I've searched this group and all over google and still haven't : found what I'm looking for so if someone here has an idea, I'd really : appreciate it! : C-Kermit for Unix and Kermit 95 for Windows have command-line options for passing open file descriptors/handles for the communication connection. - Frank From not-a-real-address@usa.net Tue Apr 13 17:23:00 2004 Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!news.maxwell.syr.edu!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!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: FTP with Auth SSL Date: 13 Apr 2004 20:28:53 GMT Organization: earthfriends Message-ID: References: <407A073D.7040004@nyc.rr.com> <407A990B.3040105@nyc.rr.com> <407AE686.3030209@nyc.rr.com> <407BF7E6.2030705@nyc.rr.com> <407C157E.6040105@nyc.rr.com> User-Agent: Gnus/5.110002 (No Gnus v0.2) XEmacs/21.4 (Rational FORTRAN, linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@supernews.com Lines: 20 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14916 in comp.protocols.kermit.misc i read: >Petri wrote: >> I'll assume I have the latest OpenSSL, so I'm compiling now. >> >If "openssl version" does not report > > OpenSSL 0.9.7d 17 Mar 2004 > >then you do not have the latest version redhat is infamous for backporting patches, but since it's not the official patch they don't bump the official version just their own package version, which in some ways is good, but it makes for some confusion, which isn't great especially when security errata is involved. openssl-0.9.7a-20.2 is redhat's current package and is supposed to cover the same errata as the openssl project's 0.9.7d. -- a signature From jaltman2@nyc.rr.com Tue Apr 13 17:28:50 2004 Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsfeed.arcor-online.net!in.100proofnews.com!in.100proofnews.com!cycny01.gnilink.net!cyclone1.gnilink.net!gnilink.net!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!53ab2750!not-for-mail From: Jeffrey Altman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040316 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Re: FTP with Auth SSL References: <407A073D.7040004@nyc.rr.com> <407A990B.3040105@nyc.rr.com> <407AE686.3030209@nyc.rr.com> <407BF7E6.2030705@nyc.rr.com> <407C157E.6040105@nyc.rr.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 13 Message-ID: Date: Tue, 13 Apr 2004 20:45:15 GMT NNTP-Posting-Host: 24.193.46.55 X-Complaints-To: abuse@rr.com X-Trace: twister.nyc.rr.com 1081889115 24.193.46.55 (Tue, 13 Apr 2004 16:45:15 EDT) NNTP-Posting-Date: Tue, 13 Apr 2004 16:45:15 EDT Organization: Road Runner - NYC Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14917 those who know me have no need of my name wrote: > redhat is infamous for backporting patches, but since it's not the official > patch they don't bump the official version just their own package version, > which in some ways is good, but it makes for some confusion, which isn't > great especially when security errata is involved. openssl-0.9.7a-20.2 is > redhat's current package and is supposed to cover the same errata as the > openssl project's 0.9.7d. The problem is I don't know if a back port of the security patches would also include bug fixes which for example prevent OpenSSL from negotiating SSLv3/TLSv1 with IBM's EDI servers. So this does not necessarily help the end users From Petri_member@newsguy.com Wed Apr 14 08:28:22 2004 Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.net!news.maxwell.syr.edu!pln-e!spln!dex!extra.newsguy.com!newsp.newsguy.com!drn From: Petri Newsgroups: comp.protocols.kermit.misc Subject: Re: FTP with Auth SSL Date: 14 Apr 2004 00:50:59 -0700 Organization: Newsguy News Service [http://newsguy.com] Lines: 91 Message-ID: References: <4079f047@duster.adelaide.on.net> <407AE97A.7080007@nyc.rr.com> <407C24F7.1000905@nyc.rr.com> NNTP-Posting-Host: p-012.newsdawg.com X-Newsreader: Direct Read News 4.20 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14919 In article <407C24F7.1000905@nyc.rr.com>, Jeffrey Altman says... > Petri wrote: >> If I want a kermit with the works, what do I do? >> I see a lot of stuff having to be added into the makefile. > I do not understand what the issue is: > make redhat9 > and you are done. Duh... Thanks. Sorry if I seem dense. :( It was all explained in the makefile. I ran 'make clean' and 'make redhat9'. Got a lot of similar looking warnings, these are the first: ---8<--- ckuath.c:230:1: warning: "des_fixup_key_parity" redefined In file included from /usr/include/openssl/des.h:101, from ckuath.c:213: /usr/include/openssl/des_old.h:432:1: warning: this is the location of the previous definition ckuath.c: In function `auth_send': ckuath.c:3156: warning: passing arg 1 of `DES_key_sched' from incompatible pointer type ---8<--- But no errors, so maybe the warning messages can be ignored. When I use this binary, everything works. If you are curious, I get these messages when running with 'set auth tls debug on': During login: ---> AUTH TLS 234 AUTH TLS successful 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:3RSH_A SSLv3 read server hello A ssl:client_verify_callback:depth=0 ok=0 err=18-self signed certificate ssl:client_verify_callback => ok: 1 ssl:client_verify_callback:depth=0 ok=1 err=18-self signed certificate ssl:client_verify_callback => ok: 1 SSL_connect:3RSC_A SSLv3 read server certificate A SSL_connect:3RSKEA SSLv3 read server key exchange A SSL_connect:3RSD_A SSLv3 read server done A SSL_connect:3WCKEA SSLv3 write client key exchange A SSL_connect:3WCCSA SSLv3 write change cipher spec A SSL_connect:3WFINA SSLv3 write finished A SSL_connect:3FLUSH SSLv3 flush data SSL_connect:3RFINA SSLv3 read finished A SSL_handshake:SSLOK SSL negotiation finished successfully [TLS - DHE-DSS-AES256-SHA SSLv3 Kx=DH Au=DSS Enc=AES(256) Mac=SHA1 Compression: None =>DONE SSL/TLS connect on COMMAND After 'ftp dir': =>START SSL connect on DATA SSL_handshake:UNKWN before/connect initialization SSL_connect:UNKWN before/connect initialization SSL_connect:3WCH_A SSLv3 write client hello A SSL_connect:3RSH_A SSLv3 read server hello A SSL_connect:3RFINA SSLv3 read finished A SSL_connect:3WCCSA SSLv3 write change cipher spec A SSL_connect:3WFINA SSLv3 write finished A SSL_connect:3FLUSH SSLv3 flush data SSL_handshake:SSLOK SSL negotiation finished successfully =>DONE SSL connect on DATA ... (dir output) ... SSL_read_alert SSL_write_alert Last line after 'exit': SSL_write_alert Well, everything work for me anyway. :) The measures I took were OpenSSL upgrade via up2date, and upgrade of kermit from 2.0.206 to 2.0.211. Some or both of them solved the problem. Thank you so much for your kind help and patience with me. :) Petri From Petri_member@newsguy.com Wed Apr 14 08:29:07 2004 Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.net!newsfeed3.dallas1.level3.net!news.level3.com!newsfeed1.easynews.com!easynews.com!easynews!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!drn From: Petri Newsgroups: comp.protocols.kermit.misc Subject: Re: FTP with Auth SSL Date: 14 Apr 2004 01:03:37 -0700 Organization: Newsguy News Service [http://newsguy.com] Lines: 38 Message-ID: References: <4079f047@duster.adelaide.on.net> <407AE97A.7080007@nyc.rr.com> NNTP-Posting-Host: p-434.newsdawg.com X-Newsreader: Direct Read News 4.20 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14920 In article , Frank da Cruz says... > On 2004-04-13, Petri wrote: >: Besides that, is C-Kermit still just the single kermit exe, >: and a few ini-files stashed in /etc/kermit? > It's a single executable. It doesn't need any external files. Lovely. >: So I'll replace the binary /usr/bin/kermit with the new one, >: and be done? > That could be sufficient. So it was, thanks. :) >: Who is the sad clown in US congress who came up with this idiotic >: export restriction? > No comment. Sorry if I offended you, but I really feel that this old cold war legacy only results in hurting the sales of American IT companies. > There are tons of examples in the makefile, but every site has a > different configuration, thus we supply variables that you can set > from the command line without having to edit the makefile. Thanks for the tip. >From looking at the documentation I thought I had to edit the makefile myself. I recompiled with 'make redhat9' instead, and now the orginal problem disappeared. Thanks for your help! :) Petri From drwho8@att.net Wed Apr 14 08:29:28 2004 Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.net!news.glorb.com!wn13feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!not-for-mail Newsgroups: comp.protocols.kermit.misc Subject: Looking for a complete MSDOS Kermit 3.15 From: drwho8@att.net (Gregg C Levine) X-Newsreader: WinVN 0.99.9 (Released Version) (x86 32bit) MIME-Version: 1.0 Content-Type: Text/Plain; charset=US-ASCII Lines: 9 Message-ID: NNTP-Posting-Host: b786049b703f6617e894ad091adf7402 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc04-news.ops.worldnet.att.net 1081930015 b786049b703f6617e894ad091adf7402 (Wed, 14 Apr 2004 08:06:55 GMT) NNTP-Posting-Date: Wed, 14 Apr 2004 08:06:55 GMT Organization: AT&T Worldnet Date: Wed, 14 Apr 2004 08:06:55 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14918 Hello from Gregg C Levine I found on the Kermit ftp site, the complete MSDOS binary for 3.1.3. I then downloaded it, and stuck it on the target machine. Does one exist for the latest version of the MSDOS series, I think its 3.15, or something like that. The only one I found contained the individual binaries and a few patch files. It happens I've got here a copy of the original book for MSDOS Kermit. Complete with its own 5.25 disk bound in it. Gregg C Levine drwho8 atsign att dot net From fdc@columbia.edu Wed Apr 14 08:32:39 2004 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: Looking for a complete MSDOS Kermit 3.15 Date: 14 Apr 2004 12:31:53 GMT Organization: Columbia University Lines: 19 Message-ID: References: Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1081945913 15188 128.59.59.56 (14 Apr 2004 12:31:53 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 14 Apr 2004 12:31:53 GMT User-Agent: slrn/0.9.8.0 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14921 On 2004-04-14, Gregg C Levine wrote: : I found on the Kermit ftp site, the complete MSDOS binary for 3.1.3. I then : downloaded it, and stuck it on the target machine. Does one exist for the : latest version of the MSDOS series, I think its 3.15, or something like : that. The only one I found contained the individual binaries and a few patch : files. It happens I've got here a copy of the original book for MSDOS : Kermit. Complete with its own 5.25 disk bound in it. : See: http://www.columbia.edu/kermit/mskermit.html where you will find a download link for the MS-DOS Kermit 3.15 Zip file: ftp://kermit.columbia.edu/kermit/archives/msk315.zip It is intended as an update to 3.14, to be installed into the same directory. - Frank From davewyman99@yahoo.com Wed Apr 14 12:06:01 2004 Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.net!news.maxwell.syr.edu!postnews1.google.com!not-for-mail From: davewyman99@yahoo.com (Dave) Newsgroups: comp.protocols.kermit.misc Subject: Re: Using Existing Connections Date: 14 Apr 2004 07:00:16 -0700 Organization: http://groups.google.com Lines: 42 Message-ID: <1c78de7f.0404140600.6a603633@posting.google.com> References: <1c78de7f.0404131256.2148a2ce@posting.google.com> NNTP-Posting-Host: 66.93.62.140 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1081951216 23911 127.0.0.1 (14 Apr 2004 14:00:16 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 14 Apr 2004 14:00:16 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14922 Frank da Cruz wrote in message news:... > On 2004-04-13, Dave wrote: > : I have a phone dialer (Intel Dialogic D/41JCT-LS if you're curious) > : with 4 phone jacks. There are over 100 divisions in my company that > : each have their own inventory server. I want to have my central server > : use this Dialogic board to dial in to each division's server and > : download their inventory on a nightly basis. I need to have Kermit use > : the Dialogic boards phone jacks to do this. I'm not sure if I can get > : the Dialogic board to allow another program to access the open > : connection, but assuming I can, is there any way for Kermit to take > : control of that existing connection? What kind of connection would I > : have to create to allow that? > : > Probably, but that depends on which operating system and which Kermit > program. > > : Ok, I've searched this group and all over google and still haven't > : found what I'm looking for so if someone here has an idea, I'd really > : appreciate it! > : > C-Kermit for Unix and Kermit 95 for Windows have command-line options > for passing open file descriptors/handles for the communication connection. > > - Frank Thanks for the quick reply Frank. I'm running on Windows 2000 Server and using Kermit 95. I found the command line option (-l) that looks like what you were referring to. Now I just need to find out if the Dialogic board's API will allow me to pass a Windows device handle. If so then we may be in business. So, I have a script currently that dials out over a regular modem and does all of the inventory processing. If I make use of an existing connection, then all I would have to do is strip out the beginning of the script where it sets up the modem and dials and the end of the script where it hangsup? Or am I missing something? Thanks again, Dave From jaltman2@nyc.rr.com Wed Apr 14 12:06:09 2004 Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.net!news.glorb.com!news3.optonline.net!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!not-for-mail Message-ID: <407D49C9.4070500@nyc.rr.com> From: Jeffrey Altman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040316 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Re: Using Existing Connections References: <1c78de7f.0404131256.2148a2ce@posting.google.com> <1c78de7f.0404140600.6a603633@posting.google.com> In-Reply-To: <1c78de7f.0404140600.6a603633@posting.google.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 32 Date: Wed, 14 Apr 2004 14:19:56 GMT NNTP-Posting-Host: 24.193.46.55 X-Complaints-To: abuse@rr.com X-Trace: twister.nyc.rr.com 1081952396 24.193.46.55 (Wed, 14 Apr 2004 10:19:56 EDT) NNTP-Posting-Date: Wed, 14 Apr 2004 10:19:56 EDT Organization: Road Runner - NYC Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14923 Dave wrote: > I'm running on Windows 2000 Server and using Kermit 95. I found the > command line option (-l) that looks like what you were referring to. > Now I just need to find out if the Dialogic board's API will allow me > to pass a Windows device handle. If so then we may be in business. > > So, I have a script currently that dials out over a regular modem and > does all of the inventory processing. If I make use of an existing > connection, then all I would have to do is strip out the beginning of > the script where it sets up the modem and dials and the end of the > script where it hangsup? Or am I missing something? > > Thanks again, > Dave What Frank forgot to mention is that there is a known bug in all versions of Kermit 95 associated with the use a externally passed serial communication handles. As documented in ftp:/ftp.kermit.columbia.edu/kermit/k95/newbugs.txt 745. Communication devices passed to Kermit as handles are closed on exit Starting in the next release, if a communication device is passed to Kermit 95 for use via an already existing HANDLE, the default for the SET EXIT HANGUP command will be OFF. Please read http://www.columbia.edu/~jaltman/ for details on how you can obtain a fix to this problem. Jeffrey Altman From thucdat@hotmail.com Wed Apr 14 14:31:34 2004 Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail From: thucdat@hotmail.com (Dat Nguyen) Newsgroups: comp.protocols.kermit.misc Subject: Object-Oriented Programming in C-Kermit Date: 14 Apr 2004 11:01:10 -0700 Organization: http://groups.google.com Lines: 198 Message-ID: <6b1f50ac.0404141001.71ef5b14@posting.google.com> NNTP-Posting-Host: 24.118.27.71 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1081965670 8379 127.0.0.1 (14 Apr 2004 18:01:10 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 14 Apr 2004 18:01:10 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14924 Yesteryear many software went object-oriented (even Pascal, Cobol and Assembler). Today Patterns is the way to go. C-Kermit does not provide built-in OOP environment, but its dynamic evaluation of expressions can be exploited to do OOP and Patterns. The following script provides the OOP environment in C-Kermit (8.x): ftp://kermit.columbia.edu/kermit/scripts/ckermit/class In this installment I use C-Kermit to implement the BankAccount class described by John Maloney in: http://www.squeak.org/tutorials/BankAccount.html In Smalltalk, the BankAccount class is defined as: Object subclass: #BankAccount instanceVariableNames: 'balance' classVariableNames: '' poolDictionaries: '' category: 'My Stuff' In C-Kermit, with the support of the script 'class', the BankAccount class is defined as: class BankAccount In C-Kermit, the instanceVariable 'balance' is created and initialized with 0 when an object of BankAccount is instantiated with the class method: define BankAccount::new: { _asg \%1.balance 0 (\%1) } In Smalltalk, a new object of BankAccount is created as follows: b := BankAccount new In C-Kermit: BankAccount new: b The Smalltalk method to retrieve the balance is: balance "Return the balance" ^ balance In C-Kermit: define BankAccount>>balance { (\%1.balance) } and Smalltalk retrieves the balance of the account b as follows: b balance In C-Kermit: b balance To store that balance in a variable theBalance in C-Kermit: (setq theBalance (b 'balance)) The Smalltalk method to deposit an amount into an account is: deposit: amount balance _ balance + amount. in C-Kermit: define BankAccount>>deposit: { (++ \%1.balance \%2) (\%1) } and Smalltalk deposits an amount 100 into the account b as follows: b deposit: 100 in C-Kermit: b deposit: 100 The Smalltalk method to withdraw an amount from an account is: withdraw: amount amount > balance ifTrue: [ ^ self inform: 'sorry, not enough funds']. balance _ balance - amount. in C-Kermit: define BankAccount>>withdraw: { if < \m(\%1.balance) \%2 END -1 NOT ENOUGH BALANCE (-- \%1.balance \%2) (\%1) } and Smalltalk withdraws an amount 50 from the account b as follows: b withdraw: 50 in C-Kermit: b withdraw: 50 like in Smalltalk, in C-Kermit messages can be cascaded sending to an object as follows: ((((BankAccount 'new: 'Bell) 'deposit: 500) 'withdraw: 150) 'balance) which creates a new account Bell, deposits 500 to it, withdraws 150 from it and retrieves the balance from it. To recap, follows is a rudimentary BankAccount application in C-Kermit: take class class BankAccount define BankAccount::new: { _asg \%1.balance 0 (\%1) } define BankAccount>>balance { (\%1.balance) } define BankAccount>>deposit: { (++ \%1.balance \%2) (\%1) } define BankAccount>>withdraw: { if < \m(\%1.balance) \%2 END -1 NOT ENOUGH BALANCE (-- \%1.balance \%2) (\%1) } BankAccount new: Rich (Rich 'balance) Rich deposit: 1000000 (Rich 'balance) Rich withdraw: 1 (Rich 'balance) BankAccount new: Poor (Poor 'balance) Poor deposit: 5 (Poor 'balance) Poor withdraw: 11 ((((BankAccount 'new: 'Bell) 'deposit: 500) 'withdraw: 150) 'balance) This program is object-oriented, very Smalltalk look alike. All C-Kermit particular syntaxes are wrapped in the methods of the class, and the new S-Espressions are very usefull for this style of programming. Dat Nguyen From drwho8@att.net Wed Apr 14 14:31:58 2004 Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!216.196.98.140.MISMATCH!border1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!gnilink.net!wn14feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!not-for-mail Newsgroups: comp.protocols.kermit.misc Subject: Re: Looking for a complete MSDOS Kermit 3.15 From: drwho8@att.net (Gregg C Levine) X-Newsreader: WinVN 0.99.9 (Released Version) (x86 32bit) References: MIME-Version: 1.0 Content-Type: Text/Plain; charset=US-ASCII Lines: 27 Message-ID: NNTP-Posting-Host: 5ed2cb5e50e8c41c4a49328ef3f049c6 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1081966136 5ed2cb5e50e8c41c4a49328ef3f049c6 (Wed, 14 Apr 2004 18:08:56 GMT) NNTP-Posting-Date: Wed, 14 Apr 2004 18:08:56 GMT Organization: AT&T Worldnet Date: Wed, 14 Apr 2004 18:08:56 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14925 Hello from Gregg C Levine Thanks! I must have gone all over the Kermit site. Both ends, the web site, and the ftp one, but didn't find anything. I owe you one, I guess. Gregg C Levine drwho8 atsign att dot net In article , fdc@columbia.edu says... > >On 2004-04-14, Gregg C Levine wrote: >: I found on the Kermit ftp site, the complete MSDOS binary for 3.1.3. I then >: downloaded it, and stuck it on the target machine. Does one exist for the >: latest version of the MSDOS series, I think its 3.15, or something like >: that. The only one I found contained the individual binaries and a few patch >: files. It happens I've got here a copy of the original book for MSDOS >: Kermit. Complete with its own 5.25 disk bound in it. >: >See: > > http://www.columbia.edu/kermit/mskermit.html > >where you will find a download link for the MS-DOS Kermit 3.15 Zip file: > > ftp://kermit.columbia.edu/kermit/archives/msk315.zip > >It is intended as an update to 3.14, to be installed into the same directory. > >- Frank From jrd@cc.usu.edu Wed Apr 14 15:45:26 2004 Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!logbridge.uoregon.edu!xmission!news.cc.utah.edu!cc.usu.edu!jrd From: jrd@cc.usu.edu (Joe Doupnik) Newsgroups: comp.protocols.kermit.misc Subject: Re: Looking for a complete MSDOS Kermit 3.15 Message-ID: Date: 14 Apr 04 13:19:22 MST References: Organization: Utah State University Lines: 31 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14926 In article , drwho8@att.net (Gregg C Levine) writes: > Hello from Gregg C Levine > Thanks! I must have gone all over the Kermit site. Both ends, the web site, and the > ftp one, but didn't find anything. I owe you one, I guess. > Gregg C Levine drwho8 atsign att dot net > In article , fdc@columbia.edu > says... >> >>On 2004-04-14, Gregg C Levine wrote: >>: I found on the Kermit ftp site, the complete MSDOS binary for 3.1.3. I then >>: downloaded it, and stuck it on the target machine. Does one exist for the >>: latest version of the MSDOS series, I think its 3.15, or something like >>: that. The only one I found contained the individual binaries and a few patch >>: files. It happens I've got here a copy of the original book for MSDOS >>: Kermit. Complete with its own 5.25 disk bound in it. >>: >>See: >> >> http://www.columbia.edu/kermit/mskermit.html >> >>where you will find a download link for the MS-DOS Kermit 3.15 Zip file: >> >> ftp://kermit.columbia.edu/kermit/archives/msk315.zip >> >>It is intended as an update to 3.14, to be installed into the same directory. >> >>- Frank --------------- The whole thing, unquote, is on netlab1.usu.edu, pub/kermit, for ftp or "Complete File Arhives" then "kermit" for web. This is the author's site. Joe D. From root@sbic.com Thu Apr 15 11:20:40 2004 Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.net!newsfeed.icl.net!newsfeed.fjserv.net!news.maxwell.syr.edu!feed.news.qwest.net!news.uswest.net.POSTED!not-for-mail From: root Subject: Kermit-C and logging Newsgroups: comp.protocols.kermit.misc Lines: 16 User-Agent: KNode/0.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit Message-ID: Date: Thu, 15 Apr 2004 07:18:58 -0700 NNTP-Posting-Host: 206.253.219.206 X-Trace: news.uswest.net 1082038740 206.253.219.206 (Thu, 15 Apr 2004 09:19:00 CDT) NNTP-Posting-Date: Thu, 15 Apr 2004 09:19:00 CDT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14928 I'm trying to log the call records for our VoIP system using Kermit. It works fine individually, but I have 5 seperate boxes that I telnet into on port 1752, the data streams through and I have Kermit grab it and file it into a log. It's a LOT cheaper than any call logging program out there and it works great. The problem I have however is that I can't get my linux box to automatically run these 5 seperate kermit sessions on boot. I'm using Red Hat Enterprise and I also want to be able to monitor these sessions with Big Brother. Can anyone help me out?? Thanks, Kramer From fdc@columbia.edu Thu Apr 15 11:28:40 2004 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: Kermit-C and logging Date: 15 Apr 2004 15:27:04 GMT Organization: Columbia University Lines: 32 Message-ID: References: Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1082042824 6735 128.59.59.56 (15 Apr 2004 15:27:04 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 15 Apr 2004 15:27:04 GMT User-Agent: slrn/0.9.8.0 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14929 On 2004-04-15, root wrote: : I'm trying to log the call records for our VoIP system using Kermit. It : works fine individually, but I have 5 seperate boxes that I telnet into on : port 1752, the data streams through and I have Kermit grab it and file it : into a log. : : It's a LOT cheaper than any call logging program out there and it works : great. The problem I have however is that I can't get my linux box to : automatically run these 5 seperate kermit sessions on boot. I'm using Red : Hat Enterprise and I also want to be able to monitor these sessions with : Big Brother. : What's the problem? You can start up one process on boot, but not five? Or you can't start up any processes on boot? In the latter case, there is always the possibility that Kermit is trying to print some message to standard output, when there is no standard output (this should not happen, but it's possible). In that case, part of your Kermit invocation should be to redirect standard output to a file or to /dev/null. Do you want all five processes to log to the same file? Kermit is not designed for that, but it can still be done with some creative script programming. Basically, you need your script to not just blindly log the incoming stream to a file, but to parse it looking for records (lines or whatever), and then when it gets one, open the log file for exclusive append access (and if fail, keep trying until it succeeds), write out the record, close the file. You might also want to put timestamps and session signatures on each record, in case they don't already have these. - Frank From finhead@optonline.net Fri Apr 16 11:13:12 2004 Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.net!news.maxwell.syr.edu!postnews1.google.com!not-for-mail From: finhead@optonline.net (finhead) Newsgroups: comp.protocols.kermit.misc Subject: Kermit screen resolution Date: 16 Apr 2004 08:10:57 -0700 Organization: http://groups.google.com Lines: 4 Message-ID: <456f3f60.0404160710.603aa883@posting.google.com> NNTP-Posting-Host: 12.161.241.150 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1082128258 24503 127.0.0.1 (16 Apr 2004 15:10:58 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 16 Apr 2004 15:10:58 +0000 (UTC) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14930 I have setup several wyes370 terminal emulation screens for my users. When I clik on the template in the dialer I get the desired result 1024x768. When I create the shortcut then click on that It does not go to 1024x768. Any ideas? From jaltman2@nyc.rr.com Fri Apr 16 13:01:11 2004 Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.net!news.glorb.com!news3.optonline.net!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!53ab2750!not-for-mail Message-ID: <408010B1.7070600@nyc.rr.com> From: Jeffrey Altman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040316 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Re: Kermit screen resolution References: <456f3f60.0404160710.603aa883@posting.google.com> In-Reply-To: <456f3f60.0404160710.603aa883@posting.google.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 11 Date: Fri, 16 Apr 2004 16:56:34 GMT NNTP-Posting-Host: 24.193.46.55 X-Complaints-To: abuse@rr.com X-Trace: twister.nyc.rr.com 1082134594 24.193.46.55 (Fri, 16 Apr 2004 12:56:34 EDT) NNTP-Posting-Date: Fri, 16 Apr 2004 12:56:34 EDT Organization: Road Runner - NYC Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14931 How have you configured the dialer entry? Is 1024x768 the full screen size? Did you specify Maximize? If so you need to configure the Shortcut to maximize the window on startup. finhead wrote: > I have setup several wyes370 terminal emulation screens for my users. > When I clik on the template in the dialer I get the desired result > 1024x768. When I create the shortcut then click on that It does not go > to 1024x768. Any ideas? From fdc@columbia.edu Sat Apr 17 14:11:15 2004 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.os.linux.misc,comp.protocols.kermit.misc Subject: Re: logging data from com-port to a file Date: 17 Apr 2004 18:09:50 GMT Organization: Columbia University Lines: 90 Message-ID: References: <40814a75$0$17263$a1866201@newsreader.visi.com> <40815dad$0$17253$a1866201@newsreader.visi.com> Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1082225390 29232 128.59.59.56 (17 Apr 2004 18:09:50 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 17 Apr 2004 18:09:50 GMT User-Agent: slrn/0.9.8.0 (SunOS) Xref: newsmaster.cc.columbia.edu comp.os.linux.misc:628716 comp.protocols.kermit.misc:14934 On 2004-04-17, z3r0c00l wrote: : Grant Edwards wrote: :> In article , z3r0c00l wrote: :>>>>hi, i need a tool which i can log data from the com-port to a file :>>>>(it should log immediatly) :>>>>does anybody know? :>>> :>>>$ cat /dev/ttyS1 >logfile : ... :>>i tried this before, but it didn't really work : :> Then you're going to have to cough up a few details about what :> you're trying to do, what you've tried, and what you mean by :> "didn't really work". :> : i tried to catch data from a siemens telephone : first it didn't work, then i also ran some other software and suddenly : the data was split up between the cat and the other software, but when i : ran cat only, it didn't receive any data, so i didn't try cat any more : Use C-Kermit: http://www.columbia.edu/kermit/ckermit.html Here's a little script, that takes advantage of a new feature of C-Kermit 8.0.211, released just a few days ago (INPUT /NOMATCH). Replace the device name and other parameters as needed, or make them parameters: #!/p/kd/fdc/solaris9/wermit + # .port := /dev/ttyS1 # Serial port to use if >= \v(argc) 2 { # Take log file name from command line .file := \%1 } else { # Prompt for it if not given while not def file { ask file " Log file name: " } } if not writeable \m(file) { # Make sure it's writeable exit 1 "\m(file): Not writeable" } set modem type none # No modem is involved set port /dev/ttyS1 # Or whatever port you are using if fail { # Check that port was obtained exit 1 \m(port): \v(setlinemsg) } set speed 9600 # Or whatever speed is needed set flow rts/cts # Or Xon/Xoff, or None set parity none # Or Even, Mark, Space, or Odd as needed set session-log text # (see below) log session \m(file) # Start the session log if fail exit 1 # Make sure this worked input /nomatch 23:59:59 # Log until midnight if fail { # Catch i/o errors exit 1 "\m(port): I/O error" } close session # Close the log exit 0 Various session-log formats are available. To find out what they are, type "help set session-log" at the C-Kermit> prompt, and see: Syntax: SET SESSION-LOG { BINARY, DEBUG, TEXT, TIMESTAMPED-TEXT } If BINARY, record all CONNECT characters in session log. If TEXT, strip out CR, NUL, and XON/XOFF characters. DEBUG is the same as BINARY but also includes Telnet negotiations on TCP/IP connections. TIMESTAMPED-TEXT, as the name implies, is text but with timestamps placed at the beginning of each line. The INPUT command is what reads and logs the incoming material. Type HELP INPUT and HELP SET INPUT to find out parameters and options. In this case it simply reads incoming material and logs it until the given time of day. Thus you could use the above script in a cron job to keep a daily log of of your PBX. Or hourly, or whatever else you wanted. For more about session logging, type "help log". Note that the session can be not only a file, but also a pipe. For more about Kermit scripting, see the tutorial here: http://www.columbia.edu/kermit/ckscripts.html For a tutorial on C-Kermit itself, see: http://www.columbia.edu/kermit/ckututor.html Frank da Cruz The Kermit Project Columbia University From drwho8@att.net Mon Apr 19 09:25:23 2004 Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.net!news.glorb.com!wn14feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!not-for-mail Newsgroups: comp.protocols.kermit.misc Subject: BASIC program for bootstrapping a remote Kermit program From: drwho8@att.net (Gregg C Levine) X-Newsreader: WinVN 0.99.9 (Released Version) (x86 32bit) MIME-Version: 1.0 Content-Type: Text/Plain; charset=US-ASCII Lines: 8 Message-ID: <5KHgc.728$um3.16900@bgtnsc04-news.ops.worldnet.att.net> NNTP-Posting-Host: 7e8b9384e35994e3b37196e19ca11683 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc04-news.ops.worldnet.att.net 1082345473 7e8b9384e35994e3b37196e19ca11683 (Mon, 19 Apr 2004 03:31:13 GMT) NNTP-Posting-Date: Mon, 19 Apr 2004 03:31:13 GMT Organization: AT&T Worldnet Date: Mon, 19 Apr 2004 03:31:13 GMT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14936 Hello from Gregg C Levine A while ago, I came across a BASIC program that called itself MSK-RCV.BAS, (caps mine). It described itself via the rem statements inside it. However, I'd like to know more about it. Such as what prompted the creation of it, what did it do, and what version of Kermit, or C-Kermit, was it aimed at. Off line responses accepted, but not the normal here. Gregg C Levine drwho8 atsign att dot net From jaltman2@nyc.rr.com Mon Apr 19 09:25:27 2004 Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!prodigy.com!news.glorb.com!cyclone1.gnilink.net!gnilink.net!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!not-for-mail Message-ID: <4083542D.8050006@nyc.rr.com> From: Jeffrey Altman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040316 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Re: BASIC program for bootstrapping a remote Kermit program References: <5KHgc.728$um3.16900@bgtnsc04-news.ops.worldnet.att.net> In-Reply-To: <5KHgc.728$um3.16900@bgtnsc04-news.ops.worldnet.att.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 19 Date: Mon, 19 Apr 2004 04:17:42 GMT NNTP-Posting-Host: 24.193.46.55 X-Complaints-To: abuse@rr.com X-Trace: twister.nyc.rr.com 1082348262 24.193.46.55 (Mon, 19 Apr 2004 00:17:42 EDT) NNTP-Posting-Date: Mon, 19 Apr 2004 00:17:42 EDT Organization: Road Runner - NYC Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14937 This is a receive only version of the Kermit protocol. You can use it to download a more flexible version to a computer which has no other file transfer capabilities. Gregg C Levine wrote: > Hello from Gregg C Levine > A while ago, I came across a BASIC program that called itself MSK-RCV.BAS, > (caps mine). It described itself via the rem statements inside it. However, I'd like to > know more about it. Such as what prompted the creation of it, what did it do, and > what version of Kermit, or C-Kermit, was it aimed at. Off line responses accepted, > but not the normal here. > Gregg C Levine drwho8 atsign att dot net > -- ----------------- This e-mail account is not read on a regular basis. Please send private responses to jaltman at mit dot edu From Petri_member@newsguy.com Tue Apr 20 09:11:37 2004 Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!nntp1.tagonline.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!news-out.visi.com!green.octanews.net!news-out.octanews.net!news.glorb.com!newsfeed3.easynews.com!easynews.com!easynews!border1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!nntp.giganews.com!cyclone-sf.pbi.net!129.250.175.17!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!drn From: Petri Newsgroups: comp.protocols.kermit.misc Subject: Running kermit from within glftpd Date: 19 Apr 2004 14:22:44 -0700 Organization: Newsguy News Service [http://newsguy.com] Lines: 58 Message-ID: NNTP-Posting-Host: p-668.newsdawg.com X-Newsreader: Direct Read News 4.20 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14938 Hi, After the successful solution to the Auth SSL problem I posted about earlier, I finished a Perl-wrapper that will take parameters given by the users within glftpd, and use those parameters to start Kermit ftp-sessions to remote sites. Now I am done with that, and I am ready to deploy the scripts. glftpd changes root into its' own folder, which means I have to copy some dependencies. No problem with Perl, I just copied the whole of /usr/lib/perl5, and that was that. Kermit on the other hand, first required ncurses, which was no problem, I just copied /usr/lib/libncurses*. But now Kermit wants some Kerberos library, here is the error message when run from within glftpd: kermit: error while loading shared libraries: libkrb4.so.2: cannot open shared object file: No such file or directory I tracked that file to /usr/kerberos/lib/ on this redhat9 system, so I copied the whole dir structure /usr/kerberos/ into the new root. Yet Kermit still complains about that same file. I figured I'd try that make thingy again, and build a binary without Kerberos, with 'make linux+openssl', but that results in: ---8<--- Making C-Kermit "8.0.211" for Linux on i386 with SSL/TLS... make xermit KTARGET=${KTARGET:-linux+openssl} "CC = gcc" "CC2 = gcc" \ "CFLAGS = -O -funsigned-char -pipe -DPOSIX -DLINUX -DNOCOTFMC \ -DCK_AUTHENTICATION -DCK_SSL \ -DCK_CURSES -DCK_POSIX_SIG -DTCPSOCKET -DLINUXFSSTND -DHAVE_CRYPT_H \ -DFNFLOAT -I/usr/local/ssl/include " "LNKFLAGS = " \ "LIBS= -L/usr/local/ssl/lib \ -lncurses -ltermcap -lssl -lcrypto -lm -lresolv -lcrypt" make[1]: Entering directory `/root/ckermit' gcc -O -funsigned-char -pipe -DPOSIX -DLINUX -DNOCOTFMC -DCK_AUTHENTICATION -DCK_SSL -DCK_CURSES -DCK_POSIX_SIG -DTCPSOCKET -DLINUXFSSTND -DHAVE_CRYPT_H -DFNFLOAT -I/usr/local/ssl/include -DKTARGET=\"linux+openssl\" -c ckcmai.c In file included from /usr/include/openssl/ssl.h:179, from ck_ssl.h:43, from ckcmai.c:607: /usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory ... make[1]: *** [ckcmai.o] Error 1 make[1]: Leaving directory `/root/ckermit' make: *** [linux+openssl] Error 2 ---8<--- Is it possible to build Kermit with OpenSSL, but without Kerberos? Maybe I should try to solve the runtime Kerberos dependency instead, but then how? Any tips would be greatly appreciated. :) Petri From jaltman2@nyc.rr.com Tue Apr 20 09:11:48 2004 Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!nntp1.tagonline.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!priapus.visi.com!orange.octanews.net!news-out.visi.com!petbe.visi.com!news.octanews.net!feed5.newsreader.com!newsreader.com!news3.optonline.net!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!53ab2750!not-for-mail Message-ID: <40846581.8040401@nyc.rr.com> From: Jeffrey Altman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040316 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Re: Running kermit from within glftpd References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 71 Date: Mon, 19 Apr 2004 23:47:26 GMT NNTP-Posting-Host: 24.193.46.55 X-Complaints-To: abuse@rr.com X-Trace: twister.nyc.rr.com 1082418446 24.193.46.55 (Mon, 19 Apr 2004 19:47:26 EDT) NNTP-Posting-Date: Mon, 19 Apr 2004 19:47:26 EDT Organization: Road Runner - NYC Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14939 The kssl.h file is part of OpenSSL which in turn has a dependency on Kerberos because that is how the OpenSSL on your system was configured. Apparently you are not setting the include paths correctly to find krb5.h Petri wrote: > Hi, > > After the successful solution to the Auth SSL problem I posted about earlier, I > finished a Perl-wrapper that will take parameters given by the users within > glftpd, and use those parameters to start Kermit ftp-sessions to remote sites. > Now I am done with that, and I am ready to deploy the scripts. > > glftpd changes root into its' own folder, which means I have to copy some > dependencies. > No problem with Perl, I just copied the whole of /usr/lib/perl5, and that was > that. > Kermit on the other hand, first required ncurses, which was no problem, I just > copied /usr/lib/libncurses*. > But now Kermit wants some Kerberos library, here is the error message when run > from within glftpd: > kermit: error while loading shared libraries: libkrb4.so.2: cannot open shared > object file: No such file or directory > > I tracked that file to /usr/kerberos/lib/ on this redhat9 system, so I copied > the whole dir structure /usr/kerberos/ into the new root. > Yet Kermit still complains about that same file. > > I figured I'd try that make thingy again, and build a binary without Kerberos, > with 'make linux+openssl', but that results in: > ---8<--- > Making C-Kermit "8.0.211" for Linux on i386 with SSL/TLS... > make xermit KTARGET=${KTARGET:-linux+openssl} "CC = gcc" "CC2 = gcc" \ > "CFLAGS = -O -funsigned-char -pipe -DPOSIX -DLINUX -DNOCOTFMC \ > -DCK_AUTHENTICATION -DCK_SSL \ > -DCK_CURSES -DCK_POSIX_SIG -DTCPSOCKET -DLINUXFSSTND -DHAVE_CRYPT_H \ > -DFNFLOAT -I/usr/local/ssl/include " "LNKFLAGS = " \ > "LIBS= -L/usr/local/ssl/lib \ > -lncurses -ltermcap -lssl -lcrypto -lm -lresolv -lcrypt" > make[1]: Entering directory `/root/ckermit' > gcc -O -funsigned-char -pipe -DPOSIX -DLINUX -DNOCOTFMC -DCK_AUTHENTICATION > -DCK_SSL -DCK_CURSES -DCK_POSIX_SIG -DTCPSOCKET -DLINUXFSSTND -DHAVE_CRYPT_H > -DFNFLOAT -I/usr/local/ssl/include -DKTARGET=\"linux+openssl\" -c ckcmai.c > In file included from /usr/include/openssl/ssl.h:179, > from ck_ssl.h:43, > from ckcmai.c:607: > /usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory > > ... > > make[1]: *** [ckcmai.o] Error 1 > make[1]: Leaving directory `/root/ckermit' > make: *** [linux+openssl] Error 2 > ---8<--- > > Is it possible to build Kermit with OpenSSL, but without Kerberos? > Maybe I should try to solve the runtime Kerberos dependency instead, but then > how? > > Any tips would be greatly appreciated. :) > > > Petri > -- ----------------- This e-mail account is not read on a regular basis. Please send private responses to jaltman at mit dot edu From jaltman2@nyc.rr.com Tue Apr 20 09:11:55 2004 Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsfeed.news.ucla.edu!cyclone.bc.net!news.glorb.com!cyclone1.gnilink.net!gnilink.net!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!not-for-mail Message-ID: <4084F2F7.30909@nyc.rr.com> From: Jeffrey Altman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040316 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Re: Running kermit from within glftpd References: <40846581.8040401@nyc.rr.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 18 Date: Tue, 20 Apr 2004 09:47:27 GMT NNTP-Posting-Host: 24.193.46.55 X-Complaints-To: abuse@rr.com X-Trace: twister.nyc.rr.com 1082454447 24.193.46.55 (Tue, 20 Apr 2004 05:47:27 EDT) NNTP-Posting-Date: Tue, 20 Apr 2004 05:47:27 EDT Organization: Road Runner - NYC Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14943 Petri wrote: > In article <40846581.8040401@nyc.rr.com>, Jeffrey Altman says... > You guided me to successfully build Kermit on this system last week with 'make > redhat9'. :) > In fact, another person suggests it is a dependency in OpenSSL specific to > Redhat 9. > I need OpenSSL, so I'll drop the build-without-kerberos idea. > > I wonder if you could tell me if it is possible to build a static Kermit with > OpenSSL? > I just tried 'make redhat9 LNKFLAGS=-static', but it it fails. > The same warnings appear as when I do not use the static flag, but now also I > get this at the end: Redhat 9 distributes all libraries for dynamic linking only. If you want to build special versions of Kermit and OpenSSL to use static links you will have to build everything yourself and not use RedHat RPMs From Petri_member@newsguy.com Tue Apr 20 09:12:01 2004 Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!pln-e!spln!dex!extra.newsguy.com!newsp.newsguy.com!drn From: Petri Newsgroups: comp.protocols.kermit.misc Subject: Re: Running kermit from within glftpd Date: 20 Apr 2004 03:17:22 -0700 Organization: Newsguy News Service [http://newsguy.com] Lines: 19 Message-ID: References: <40846581.8040401@nyc.rr.com> <4084F2F7.30909@nyc.rr.com> NNTP-Posting-Host: p-935.newsdawg.com X-Newsreader: Direct Read News 4.20 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14942 In article <4084F2F7.30909@nyc.rr.com>, Jeffrey Altman says... > Petri wrote: >> I wonder if you could tell me if it is possible to build a static >> Kermit with OpenSSL? >> I just tried 'make redhat9 LNKFLAGS=-static', but it it fails. > Redhat 9 distributes all libraries for dynamic linking only. > If you want to build special versions of Kermit and OpenSSL to use > static links you will have to build everything yourself and not > use RedHat RPMs And I thought there was no dll hell on Linux. :( My only option is to track down the dependencies manually and copy them to the "jail" then, I guess. Petri From not-a-real-address@usa.net Tue Apr 20 09:12:10 2004 Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!nntp1.tagonline.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!priapus.visi.com!orange.octanews.net!news-out.visi.com!petbe.visi.com!news.octanews.net!upp1.onvoy!msc1.onvoy!onvoy.com!tethys.csu.net!nntp.csufresno.edu!sn-xit-02!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: Running kermit from within glftpd Date: 20 Apr 2004 03:07:19 GMT Organization: earthfriends Message-ID: References: User-Agent: Gnus/5.110002 (No Gnus v0.2) XEmacs/21.4 (Rational FORTRAN, linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@supernews.com Lines: 31 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14940 in comp.protocols.kermit.misc i read: >glftpd changes root into its' own folder, which means I have to copy some >dependencies. use ldd on kermit, then on each of the files it names, and continue to do so until you've tested everything that would be used. copy all those files into your jail. maintaining a chroot jail is an onerous task, each time you update any of the dependencies you need to manually update the jail, and there won't be anything to help you remember to do it if you don't whip something up. >No problem with Perl, I just copied the whole of /usr/lib/perl5, and that was >that. that's not always convenient, even with 200 gig drives cheap as dirt. and you've got that whole `keeping it up to date' thing too. too bad you didn't or couldn't script in your system's base shell, it's likely it has almost no dependencies. >Is it possible to build Kermit with OpenSSL, but without Kerberos? only if openssl is built without kerberos dependencies, which is not the case on redhat 9. an alternative is building kermit static. the makefile doesn't do that by default, so you'd need to alter it. -- a signature From Petri_member@newsguy.com Tue Apr 20 09:12:13 2004 Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newspump.monmouth.com!newspeer.monmouth.com!HSNX.atgi.net!cyclone-sf.pbi.net!129.250.175.17!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!drn From: Petri Newsgroups: comp.protocols.kermit.misc Subject: Re: Running kermit from within glftpd Date: 20 Apr 2004 02:00:03 -0700 Organization: Newsguy News Service [http://newsguy.com] Lines: 34 Message-ID: References: NNTP-Posting-Host: p-857.newsdawg.com X-Newsreader: Direct Read News 4.20 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14941 In article , those who know me have no need of my name says... >> glftpd changes root into its' own folder, which means I have to copy >> some dependencies. > use ldd on kermit, then on each of the files it names, and continue > to do so until you've tested everything that would be used. > copy all those files into your jail. Great, it works sort of like depends.exe on Windows. Thanks for the tip, I'll remember this useful little tool! The output list is fairly long, and the file it complains about at runtime is not even listed, so I suspect there are dependencies among the libraries too. >> Is it possible to build Kermit with OpenSSL, but without Kerberos? > only if openssl is built without kerberos dependencies, which is not > the case on redhat 9. Ouch. I'll drop that idea then. > an alternative is building kermit static. > the makefile doesn't do that by default, so you'd need to alter it. That sounds like a much better option. I might need to deploy this stuff on a second system, and I would like to skip this problem altogether there. Do I dare ask what I need to do? Petri From Petri_member@newsguy.com Tue Apr 20 10:45:50 2004 Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!newsfeed.mesh.ad.jp!pln-e!spln!dex!extra.newsguy.com!newsp.newsguy.com!drn From: Petri Newsgroups: comp.protocols.kermit.misc Subject: Re: Running kermit from within glftpd Date: 20 Apr 2004 07:02:27 -0700 Organization: Newsguy News Service [http://newsguy.com] Lines: 55 Message-ID: References: NNTP-Posting-Host: p-387.newsdawg.com X-Newsreader: Direct Read News 4.20 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14944 In article , those who know me have no need of my name says... >> glftpd changes root into its' own folder, which means I have to copy >> some dependencies. > use ldd on kermit, then on each of the files it names, and continue > to do so until you've tested everything that would be used. > copy all those files into your jail. There is no easy way of compiling a static Kermit, or getting rid of Kerberos, so I am stuck with trying to copy all necessary dependencies. I have in fact copied all libraries that are listed by 'ldd kermit', one of which is /usr/kerberos/lib/libkrb4.so.2. I have copied the whole directories of /usr/kerberos and /lib/tls, the rest of the files I copied individually, when they didn't already exist in the target directory. Yet still Kermit complains about that same file: ---8<--- /glftpd>chroot /glftpd bin/kermit bin/kermit: error while loading shared libraries: libkrb4.so.2: cannot open shared object file: No such file or directory ---8<--- Is there something else I must do? I have looked at the environment variables with set and setenv, to see if there is something there that needs changing, but there was nothing I could spot. This is the output of my 'ldd kermit': ---8<--- libm.so.6 => /lib/tls/libm.so.6 (0x40024000) libncurses.so.5 => /usr/lib/libncurses.so.5 (0x40047000) libtermcap.so.2 => /lib/libtermcap.so.2 (0x40086000) libkrb4.so.2 => /usr/kerberos/lib/libkrb4.so.2 (0x4008a000) libssl.so.4 => /lib/libssl.so.4 (0x4009f000) libcrypto.so.4 => /lib/libcrypto.so.4 (0x400d4000) libgssapi_krb5.so.2 => /usr/kerberos/lib/libgssapi_krb5.so.2 (0x401c5000) libkrb5.so.3 => /usr/kerberos/lib/libkrb5.so.3 (0x401d9000) libcom_err.so.3 => /usr/kerberos/lib/libcom_err.so.3 (0x40237000) libk5crypto.so.3 => /usr/kerberos/lib/libk5crypto.so.3 (0x40239000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x40249000) libresolv.so.2 => /lib/libresolv.so.2 (0x40276000) libpam.so.0 => /lib/libpam.so.0 (0x40288000) libdl.so.2 => /lib/libdl.so.2 (0x40291000) libz.so.1 => /usr/lib/libz.so.1 (0x40295000) libc.so.6 => /lib/tls/libc.so.6 (0x42000000) libdes425.so.3 => /usr/kerberos/lib/libdes425.so.3 (0x402a3000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) ---8<--- I am not so experienced in Linux matters, so if you have any tips, I'd really appreciate it. :) Petri From kramer@eig.com Tue Apr 20 10:46:16 2004 Path: newsmaster.cc.columbia.edu!panix!newsxfer.eecs.umich.edu!lenny.tc.umn.edu!msc1.onvoy!ply1.onvoy!onvoy.com!feed.news.qwest.net!news.uswest.net.POSTED!not-for-mail From: Kramer Subject: Re: Kermit-C and logging Newsgroups: comp.protocols.kermit.misc References: Lines: 50 User-Agent: KNode/0.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit Message-ID: Date: Tue, 20 Apr 2004 07:22:25 -0700 NNTP-Posting-Host: 206.253.219.206 X-Trace: news.uswest.net 1082470946 206.253.219.206 (Tue, 20 Apr 2004 09:22:26 CDT) NNTP-Posting-Date: Tue, 20 Apr 2004 09:22:26 CDT Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14945 Frank da Cruz wrote: > On 2004-04-15, root wrote: > : I'm trying to log the call records for our VoIP system using Kermit. It > : works fine individually, but I have 5 seperate boxes that I telnet into > : on port 1752, the data streams through and I have Kermit grab it and > : file it into a log. > : > : It's a LOT cheaper than any call logging program out there and it works > : great. The problem I have however is that I can't get my linux box to > : automatically run these 5 seperate kermit sessions on boot. I'm using > : Red Hat Enterprise and I also want to be able to monitor these sessions > : with Big Brother. > : > What's the problem? You can start up one process on boot, but not five? > Or you can't start up any processes on boot? > > In the latter case, there is always the possibility that Kermit is > trying to print some message to standard output, when there is no standard > output (this should not happen, but it's possible). In that case, part > of your Kermit invocation should be to redirect standard output to a file > or to /dev/null. > > Do you want all five processes to log to the same file? Kermit is not > designed for that, but it can still be done with some creative script > programming. Basically, you need your script to not just blindly log > the incoming stream to a file, but to parse it looking for records > (lines or whatever), and then when it gets one, open the log file for > exclusive append access (and if fail, keep trying until it succeeds), > write out the record, close the file. You might also want to put > timestamps and session signatures on each record, in case they don't > already have these. > > - Frank Thanks for the fast response Frank! I'm actually looking to start 5 processes at boot but I don't know how to get that done. Do I put the kermit config file in init.d or rc.d? Also, I just need to log to 5 seperate files, don't need to dump them all into one. One other problem I have noticed is that I can't seem to keep kermit attached to my VoIP box if the box loses communication for a few minutes like during a reboot. When the box comes back up the stream from it continues automatically but my local kermit box disconnects. Is there a keep alive command that I can use? Thanks again, Kramer From fdc@columbia.edu Tue Apr 20 10:47:07 2004 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: Kermit-C and logging Date: 20 Apr 2004 14:47:01 GMT Organization: Columbia University Lines: 23 Message-ID: References: Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1082472421 15579 128.59.59.56 (20 Apr 2004 14:47:01 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 20 Apr 2004 14:47:01 GMT User-Agent: slrn/0.9.8.0 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14946 On 2004-04-20, Kramer wrote: > I'm actually looking to start 5 processes at boot but I don't know how to > get that done. Do I put the kermit config file in init.d or rc.d? > I can't answer system administration questions any better than you can! > Also, I > just need to log to 5 seperate files, don't need to dump them all into one. > OK. > One other problem I have noticed is that I can't seem to keep kermit > attached to my VoIP box if the box loses communication for a few minutes > like during a reboot. When the box comes back up the stream from it > continues automatically but my local kermit box disconnects. Is there a > keep alive command that I can use? > The connection is being closed by Kermit's peer. There's nothing Kermit can do about that. You script would have to account for that: if the connection closes unexpectedly, go into a loop in which you try to reopen it until the open succeeds. - Frank From jaltman2@nyc.rr.com Tue Apr 20 11:11:30 2004 Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!feed5.newsreader.com!newsreader.com!news3.optonline.net!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!not-for-mail From: Jeffrey Altman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040316 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Re: Running kermit from within glftpd References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 12 Message-ID: Date: Tue, 20 Apr 2004 15:02:02 GMT NNTP-Posting-Host: 24.193.46.55 X-Complaints-To: abuse@rr.com X-Trace: twister.nyc.rr.com 1082473322 24.193.46.55 (Tue, 20 Apr 2004 11:02:02 EDT) NNTP-Posting-Date: Tue, 20 Apr 2004 11:02:02 EDT Organization: Road Runner - NYC Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14947 Your problems with running Kermit from within a chroot jail are no longer related to Kermit. I suggest you ask your questions in a linux related forum and attempt to find an answer to the question what does this error mean? error while loading shared libraries: libkrb4.so.2: cannot open shared object file: No such file or directory Clearly it means some file or resource required by libkrb4.so.2 cannot be found at load time. It does not have to be a library. From fdc@columbia.edu Tue Apr 20 11:23:59 2004 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: Running kermit from within glftpd Date: 20 Apr 2004 15:23:49 GMT Organization: Columbia University Lines: 20 Message-ID: References: Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1082474629 16848 128.59.59.56 (20 Apr 2004 15:23:49 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 20 Apr 2004 15:23:49 GMT User-Agent: slrn/0.9.8.0 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14948 On 2004-04-20, Jeffrey Altman wrote: : Your problems with running Kermit from within a chroot jail : are no longer related to Kermit. I suggest you ask your : questions in a linux related forum and attempt to find an : answer to the question : Or maybe try some other way of doing the same thing? Are you trying to install Kermit so it can be run "underneath" glftpd? I'm not quite sure what glftpd is, even after looking at a couple websites. Does this mean you want ftp clients to be able to make connections to glftpd, and then send SITE commands to run C-Kermit? Anyway, would it help you to know that C-Kermit has its own "chroot" command? Even when C-Kermit is not running in a chroot "jail", it can limit file access to any given rooted tree that is visible to it, without having to make copies of libraries and other files just so it can perform this service. - Frank From jaltman2@nyc.rr.com Tue Apr 20 12:05:15 2004 Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!feed5.newsreader.com!newsreader.com!news3.optonline.net!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!53ab2750!not-for-mail Message-ID: <40854371.4070504@nyc.rr.com> From: Jeffrey Altman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040316 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.protocols.kermit.misc Subject: Re: Running kermit from within glftpd References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 47 Date: Tue, 20 Apr 2004 15:34:22 GMT NNTP-Posting-Host: 24.193.46.55 X-Complaints-To: abuse@rr.com X-Trace: twister.nyc.rr.com 1082475262 24.193.46.55 (Tue, 20 Apr 2004 11:34:22 EDT) NNTP-Posting-Date: Tue, 20 Apr 2004 11:34:22 EDT Organization: Road Runner - NYC Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14949 glftpd is an FTPD which provides for a customizable set of SITE commands. These commands may be used to execute locally defined scripts. glftpd just like all other properly installed FTP daemons place the user into a chroot jail. When a user connects to Petri's glftpd and issues some unspecified command this in turn will cause a Perl 5 script to be executed. The Perl 5 script will cause a Kermit script to execute which will utilize C-Kermit as a TLS aware FTP client to connect to other FTP daemons on other hosts to perform a variety of actions. In some ways, you can compare what Petri is doing with C-Kermit to the EDI services provided by IBM's Information Exchange Service which also uses FTP protocol with AUTH TLS coupled with SITE commands to provide a secure user interface to back-end operations. Jeffrey Altman Frank da Cruz wrote: > On 2004-04-20, Jeffrey Altman wrote: > : Your problems with running Kermit from within a chroot jail > : are no longer related to Kermit. I suggest you ask your > : questions in a linux related forum and attempt to find an > : answer to the question > : > Or maybe try some other way of doing the same thing? Are you > trying to install Kermit so it can be run "underneath" glftpd? > I'm not quite sure what glftpd is, even after looking at a couple > websites. Does this mean you want ftp clients to be able to > make connections to glftpd, and then send SITE commands to run > C-Kermit? > > Anyway, would it help you to know that C-Kermit has its own > "chroot" command? Even when C-Kermit is not running in a chroot > "jail", it can limit file access to any given rooted tree that is > visible to it, without having to make copies of libraries and other > files just so it can perform this service. > > - Frank -- ----------------- This e-mail account is not read on a regular basis. Please send private responses to jaltman at mit dot edu From Petri_member@newsguy.com Tue Apr 20 12:06:05 2004 Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!nntp1.tagonline.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!news-out.visi.com!green.octanews.net!news-out.octanews.net!news.glorb.com!wn51feed!worldnet.att.net!129.250.175.17!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!drn From: Petri Newsgroups: comp.protocols.kermit.misc Subject: Re: Running kermit from within glftpd Date: 20 Apr 2004 02:16:42 -0700 Organization: Newsguy News Service [http://newsguy.com] Lines: 96 Message-ID: References: <40846581.8040401@nyc.rr.com> NNTP-Posting-Host: p-082.newsdawg.com X-Newsreader: Direct Read News 4.20 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14950 In article <40846581.8040401@nyc.rr.com>, Jeffrey Altman says... >> Is it possible to build Kermit with OpenSSL, but without Kerberos? >> Maybe I should try to solve the runtime Kerberos dependency instead, >> but then how? > The kssl.h file is part of OpenSSL which in turn has a dependency on > Kerberos because that is how the OpenSSL on your system was configured. > Apparently you are not setting the include paths correctly to find krb5.h You guided me to successfully build Kermit on this system last week with 'make redhat9'. :) In fact, another person suggests it is a dependency in OpenSSL specific to Redhat 9. I need OpenSSL, so I'll drop the build-without-kerberos idea. I wonder if you could tell me if it is possible to build a static Kermit with OpenSSL? I just tried 'make redhat9 LNKFLAGS=-static', but it it fails. The same warnings appear as when I do not use the static flag, but now also I get this at the end: ---8<--- gcc -static -o wermit \ ckcmai.o ckclib.o ckutio.o ckufio.o \ ckcfns.o ckcfn2.o ckcfn3.o ckuxla.o \ ckcpro.o ckucmd.o ckuus2.o ckuus3.o \ ckuus4.o ckuus5.o ckuus6.o ckuus7.o \ ckuusx.o ckuusy.o ckuusr.o ckucns.o \ ckudia.o ckuscr.o ckcnet.o ckusig.o \ ckctel.o ckcuni.o ckupty.o ckcftp.o \ ckuath.o ck_crp.o ck_ssl.o -L/usr/kerberos/lib -L/usr/local/ssl/lib -lm -lncurses -ltermcap -lkrb4 -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lcrypt -lresolv -lpam -ldl -lz /usr/kerberos/lib/libkrb5.a(fcc_gennew.o)(.text+0x6c): In function `krb5_fcc_generate_new': : the use of `mktemp' is dangerous, better use `mkstemp' ckcftp.o(.text+0x13a9a): In function `ftp_auth': /root/ckermit/ckcftp.c:13618: undefined reference to `des_key_sched' /usr/kerberos/lib/libkrb4.a(g_pw_in_tkt.o)(.text+0x26): In function `passwd_to_key': : undefined reference to `des_string_to_key' /usr/kerberos/lib/libkrb4.a(g_pw_in_tkt.o)(.text+0x49): In function `passwd_to_key': : undefined reference to `des_read_password' /usr/kerberos/lib/libkrb4.a(mk_priv.o)(.text+0xfb): In function `krb_mk_priv': : undefined reference to `des_pcbc_encrypt' /usr/kerberos/lib/libkrb4.a(mk_req.o)(.text+0x405): In function `krb_mk_req': : undefined reference to `des_key_sched' /usr/kerberos/lib/libkrb4.a(mk_req.o)(.text+0x433): In function `krb_mk_req': : undefined reference to `des_pcbc_encrypt' /usr/kerberos/lib/libkrb4.a(mk_safe.o)(.text+0xd6): In function `krb_mk_safe': : undefined reference to `des_quad_cksum' /usr/kerberos/lib/libkrb4.a(rd_priv.o)(.text+0xed): In function `krb_rd_priv': : undefined reference to `des_pcbc_encrypt' /usr/kerberos/lib/libkrb4.a(rd_safe.o)(.text+0x25e): In function `krb_rd_safe': : undefined reference to `des_quad_cksum' /usr/kerberos/lib/libkrb4.a(mk_preauth.o)(.text+0x7b): In function `krb_mk_preauth': : undefined reference to `des_key_sched' /usr/kerberos/lib/libkrb4.a(mk_preauth.o)(.text+0xbc): In function `krb_mk_preauth': : undefined reference to `des_pcbc_encrypt' /usr/kerberos/lib/libkrb4.a(rd_req.o)(.text+0x5b): In function `krb_set_key': : undefined reference to `des_key_sched' /usr/kerberos/lib/libkrb4.a(rd_req.o)(.text+0x7e): In function `krb_set_key': : undefined reference to `des_string_to_key' /usr/kerberos/lib/libkrb4.a(rd_req.o)(.text+0x5be): In function `krb_rd_req': : undefined reference to `des_key_sched' /usr/kerberos/lib/libkrb4.a(rd_req.o)(.text+0x5ec): In function `krb_rd_req': : undefined reference to `des_pcbc_encrypt' /usr/kerberos/lib/libkrb4.a(decomp_tkt.o)(.text+0x3b4): In function `dcmp_tkt_int': : undefined reference to `des_pcbc_encrypt' /usr/kerberos/lib/libkrb4.a(g_ad_tkt.o)(.text+0x415): In function `get_ad_tkt': : undefined reference to `des_key_sched' /usr/kerberos/lib/libkrb4.a(g_ad_tkt.o)(.text+0x443): In function `get_ad_tkt': : undefined reference to `des_pcbc_encrypt' /usr/kerberos/lib/libkrb4.a(g_in_tkt.o)(.text+0x74): In function `decrypt_tkt': : undefined reference to `des_key_sched' /usr/kerberos/lib/libkrb4.a(g_in_tkt.o)(.text+0x9f): In function `decrypt_tkt': : undefined reference to `des_pcbc_encrypt' /usr/kerberos/lib/libkrb4.a(mk_auth.o)(.text+0x158): In function `krb_check_auth': : undefined reference to `des_key_sched' collect2: ld returned 1 exit status make[2]: *** [xermit] Error 1 make[2]: Leaving directory `/root/ckermit' make[1]: *** [linux+krb5+krb4+openssl+zlib+shadow+pam] Error 2 make[1]: Leaving directory `/root/ckermit' make: *** [redhat9] Error 2 ---8<--- Is there anyway around this? Petri From Petri_member@newsguy.com Tue Apr 20 14:09:51 2004 Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!ord-feed.news.verio.net!stl-feed.news.verio.net!news.cc.ukans.edu!logbridge.uoregon.edu!arclight.uoregon.edu!wn51feed!worldnet.att.net!129.250.175.17!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!drn From: Petri Newsgroups: comp.protocols.kermit.misc Subject: Re: Running kermit from within glftpd Date: 20 Apr 2004 09:27:29 -0700 Organization: Newsguy News Service [http://newsguy.com] Lines: 55 Message-ID: References: NNTP-Posting-Host: p-715.newsdawg.com X-Newsreader: Direct Read News 4.20 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14951 In article , Frank da Cruz says... > On 2004-04-20, Jeffrey Altman wrote: >: Your problems with running Kermit from within a chroot jail >: are no longer related to Kermit. I suggest you ask your >: questions in a linux related forum and attempt to find an >: answer to the question > Or maybe try some other way of doing the same thing? Are you > trying to install Kermit so it can be run "underneath" glftpd? Spawned from within glftpd, yes. > I'm not quite sure what glftpd is, even after looking at a > couple websites. It is a fairly configurable ftp-server. Not my choice of software though, this setup isn't mine. I have just been asked to create some extra features to the ftp-server. > Does this mean you want ftp clients to be able to make > connections to glftpd, and then send SITE commands to run > C-Kermit? Exactly. The users run site commands against glftpd, which in turn runs some Perl wrappers I wrote, that then create Kermit sessions to perform various operations at other related ftp-servers. > Anyway, would it help you to know that C-Kermit has its own > "chroot" command? > Even when C-Kermit is not running in a chroot "jail", it can limit > file access to any given rooted tree that is visible to it, without > having to make copies of libraries and other files just so it can > perform this service. If I understand you correctly, I need the opposite. I would need Kermit to look for libraries outside of the "jail" at /glftpd, back out in /. Jeffrey informed me that the error message was in fact from the Kerberos library, not from Kermit, as I thought. I found a couple of references to the message from Google, and they both suggest I should re-install an rpm called krb5-libs-x.x.x-x. But I don't have a problem with it on the system, only inside the jail. :( One of the references also suggested running ldconfig, which I did inside the jail, and it found a couple of files it wanted to be symlinks instead, so I fixed that so it exactly matches the system. But I still get the same error message. :( I know this isn't a Kermit problem really, but I'd gladly accept any tips you can share. :) Petri From Petri_member@newsguy.com Tue Apr 20 15:51:35 2004 Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!logbridge.uoregon.edu!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!drn From: Petri Newsgroups: comp.protocols.kermit.misc Subject: Re: Running kermit from within glftpd Date: 20 Apr 2004 12:19:51 -0700 Organization: Newsguy News Service [http://newsguy.com] Lines: 29 Message-ID: References: <40854371.4070504@nyc.rr.com> NNTP-Posting-Host: p-097.newsdawg.com X-Newsreader: Direct Read News 4.20 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14952 In article <40854371.4070504@nyc.rr.com>, Jeffrey Altman says... > In some ways, you can compare what Petri is doing with C-Kermit > to the EDI services provided by IBM's Information Exchange > Service which also uses FTP protocol with AUTH TLS coupled with > SITE commands to provide a secure user interface to back-end > operations. It sounds like rocket science when you say it... :) I have solved it now, with help from a fellow admin. I was looking for tool similar to filemon.exe for Windows from Sysinternals, or SnoopDos on Amiga, and I was told there is in fact something called strace on Linux. So I ran 'chroot /glftpd strace kermit', and noticed that kermit never searched /usr/kerberos/lib for libkrb* files. I had to add that path into ld.so.conf and run ldconfig afterwards inside the jail. There was also a /etc/krb5.conf that had to be copied into the jail. And that was it. I tested against localhost, which also required /etc/hosts. Unix helps them who help themselves, right? :) Thanks again for your help and patience! Petri From fdc@columbia.edu Tue Apr 20 15:58:57 2004 Path: newsmaster.cc.columbia.edu!not-for-mail From: Frank da Cruz Newsgroups: comp.protocols.kermit.misc Subject: Re: Running kermit from within glftpd Date: 20 Apr 2004 19:56:12 GMT Organization: Columbia University Lines: 14 Message-ID: References: <40854371.4070504@nyc.rr.com> Reply-To: fdc@columbia.edu NNTP-Posting-Host: sesame.cc.columbia.edu X-Trace: newsmaster.cc.columbia.edu 1082490972 1967 128.59.59.56 (20 Apr 2004 19:56:12 GMT) X-Complaints-To: postmaster@columbia.edu NNTP-Posting-Date: 20 Apr 2004 19:56:12 GMT User-Agent: slrn/0.9.8.0 (SunOS) Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14953 On 2004-04-20, Petri wrote: : ... : I have solved it now, with help from a fellow admin. : Good! Now maybe you'd like to write a case study: http://www.columbia.edu/kermit/studies.html about how you got Kermit to work under glftpd, and (even more to the point) *why* ? - Frank From Petri_member@newsguy.com Wed Apr 21 09:20:10 2004 Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.net!newsfeed3.dallas1.level3.net!news.level3.com!newsfeed1.easynews.com!newsfeed3.easynews.com!easynews.com!easynews!border1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!nntp.giganews.com!cyclone-sf.pbi.net!129.250.175.17!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!drn From: Petri Newsgroups: comp.protocols.kermit.misc Subject: Re: Running kermit from within glftpd Date: 21 Apr 2004 01:24:40 -0700 Organization: Newsguy News Service [http://newsguy.com] Lines: 48 Message-ID: References: <40854371.4070504@nyc.rr.com> NNTP-Posting-Host: p-570.newsdawg.com X-No-Archive: Yes X-Newsreader: Direct Read News 4.20 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14954 In article , Frank da Cruz says... > Now maybe you'd like to write a case study: > http://www.columbia.edu/kermit/studies.html Ugh, I'm not that good a communicator. :) Besides, I have barely started yet, only now do I have both Perl and Kermit running inside this jail thingy. The problems I have had, have been caused be me not having any basic Linux experience at all. > about how you got Kermit to work under glftpd, > and (even more to the point) *why* ? Well, it's quite trivial now, when the underlying system works. Most of the code in fact goes into the Perl scripts, they in turn autogenerate Kermit scripts for remote operations. There are several site commands requested, and I have only done one yet, the very simplest one. When I am done with them all, I'll see if I can formulate something worthwhile from the experience for your case studies. But really, all that is needed is that you can read command line arguments, which is how glftpd passes arguments to external scripts, so you could very easily use a pure Kermit script. I use Perl to simplify the command interface for the user, and trim the output of Kermit. Why? Why indeed, this has taken a lot more of my time than I naively expected... These sites deal with the collecting and synchronizing of ROM-dumps from classic arcade machines. The emulators, especially MAME, are being developed at a rapid pace. MAME in fact can emulate both HDD and CD-ROM based arcade machines now. That means the collections are increasing very rapidly in size nowadays. A friend is involved in this archiving and collection project, he asked me to help out and I agreed. It isn't a public project, not yet anyway. Even though there are some websites that offer single downloads of roms, there are some licensing issues involved, especially with the latest releases. Well, it sounded like a good cause to me. :) Petri From Petri_member@newsguy.com Wed Apr 21 17:15:12 2004 Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.net!news.maxwell.syr.edu!logbridge.uoregon.edu!pln-e!spln!dex!extra.newsguy.com!newsp.newsguy.com!drn From: Petri Newsgroups: comp.protocols.kermit.misc Subject: Creating FTP connection to port higher than 32767 Date: 21 Apr 2004 11:54:08 -0700 Organization: Newsguy News Service [http://newsguy.com] Lines: 17 Message-ID: NNTP-Posting-Host: p-199.newsdawg.com X-Newsreader: Direct Read News 4.20 Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14955 Hello everyone, I need to connect to an FTP-server that is listening on TCP port 45451. If I try to connect with 'ftp ftp.somesite.net 45451' at the Kermit prompt, I get the following response: ?Bad port name - "45451" The result is the same in both V8.0.211 and V8.0.206. Still at the Kermit prompt, if I instead type 'telnet ftp.somesite.net 45451', I do get connected to the FTP-server. Does anyone have any suggestions as to how I can get around this? Petri From jaltman2@nyc.rr.com Wed Apr 21 17:15:25 2004 Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.net!newsfeed.icl.net!newsfeed.fjserv.net!c03.atl99!chi1.usenetserver.com!news.usenetserver.com!newsfeed-east.nntpserver.com!nntpserver.com!news3.optonline.net!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!not-for-mail Message-ID: <4086E029.3090500@nyc.rr.com> From: Jeffrey Altman