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 <jaltman@columbia.edu>
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: <cfe11f94.0311181326.355d69e3@posting.google.com>
In-Reply-To: <cfe11f94.0311181326.355d69e3@posting.google.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 68
Message-ID: <hpwub.222105$pT1.218386@twister.nyc.rr.com>
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: <e880768d.0311190633.bee3d9@posting.google.com>
References: <e880768d.0311180014.28b1d9c3@posting.google.com> <slrnbrk9at.2qp.fdc@sesame.cc.columbia.edu>
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 <fdc@columbia.edu> wrote in message news:<slrnbrk9at.2qp.fdc@sesame.cc.columbia.edu>...
> In article <e880768d.0311180014.28b1d9c3@posting.google.com>,
> 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 <fdc@columbia.edu>
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: <slrnbrnqtr.nk8.fdc@sesame.cc.columbia.edu>
References: <e880768d.0311180014.28b1d9c3@posting.google.com> <slrnbrk9at.2qp.fdc@sesame.cc.columbia.edu> <e880768d.0311190633.bee3d9@posting.google.com>
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 <e880768d.0311190633.bee3d9@posting.google.com>,
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 <fdc@columbia.edu>
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: <slrnbrv63k.e71.fdc@sesame.cc.columbia.edu>
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: <f0bb0f39.0311240524.45ffa964@posting.google.com>
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 <fdc@columbia.edu>
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: <slrnbs4i3p.en8.fdc@sesame.cc.columbia.edu>
References: <f0bb0f39.0311240524.45ffa964@posting.google.com>
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 <f0bb0f39.0311240524.45ffa964@posting.google.com>,
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: <f0bb0f39.0311241039.78a6c10e@posting.google.com>
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 <fdc@columbia.edu>
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: <slrnbs4lmd.lo9.fdc@sesame.cc.columbia.edu>
References: <f0bb0f39.0311241039.78a6c10e@posting.google.com>
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 <f0bb0f39.0311241039.78a6c10e@posting.google.com>,
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: <f0bb0f39.0311241203.2285bc44@posting.google.com>
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: <f0bb0f39.0311241204.2faa2067@posting.google.com>
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 <fdc@columbia.edu>
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: <slrnbs4qkm.2c9.fdc@sesame.cc.columbia.edu>
References: <f0bb0f39.0311241203.2285bc44@posting.google.com>
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 <f0bb0f39.0311241203.2285bc44@posting.google.com>,
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 <hostname>
  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 <fdc@columbia.edu>
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: <slrnbs4qn0.2c9.fdc@sesame.cc.columbia.edu>
References: <f0bb0f39.0311241204.2faa2067@posting.google.com>
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 <f0bb0f39.0311241204.2faa2067@posting.google.com>,
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" <jdanskinner@compuserve.com>
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: <vs5k8vq12hj58e@corp.supernews.com>
References: <f0bb0f39.0311241204.2faa2067@posting.google.com> <slrnbs4qn0.2c9.fdc@sesame.cc.columbia.edu>
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" <fdc@columbia.edu> wrote in message
news:slrnbs4qn0.2c9.fdc@sesame.cc.columbia.edu...
> In article <f0bb0f39.0311241204.2faa2067@posting.google.com>,
> 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 <server> /user:xxx /password:zzz
and process result.

If you are using *nix kermit you might try
set host <server> 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  <server>
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: <a6e93fc3.0311250040.7e4d609d@posting.google.com>
References: <e880768d.0311180014.28b1d9c3@posting.google.com> <slrnbrk9at.2qp.fdc@sesame.cc.columbia.edu> <e880768d.0311190633.bee3d9@posting.google.com> <slrnbrnqtr.nk8.fdc@sesame.cc.columbia.edu>
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: <f0bb0f39.0311250532.1b93aad@posting.google.com>
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: <f0bb0f39.0311250618.1bb06acf@posting.google.com>
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 <fdc@columbia.edu>
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: <slrnbs6r9i.oig.fdc@sesame.cc.columbia.edu>
References: <f0bb0f39.0311250532.1b93aad@posting.google.com>
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 <f0bb0f39.0311250532.1b93aad@posting.google.com>,
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 <fdc@columbia.edu>
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: <slrnbs6rf0.oig.fdc@sesame.cc.columbia.edu>
References: <f0bb0f39.0311250618.1bb06acf@posting.google.com>
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 <f0bb0f39.0311250618.1bb06acf@posting.google.com>,
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: <f0bb0f39.0311260516.356db920@posting.google.com>
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 <fdc@columbia.edu>
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: <slrnbs9gsi.c9g.fdc@sesame.cc.columbia.edu>
References: <f0bb0f39.0311260516.356db920@posting.google.com>
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 <f0bb0f39.0311260516.356db920@posting.google.com>,
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: <f0bb0f39.0311260731.11d9eb29@posting.google.com>
References: <f0bb0f39.0311250532.1b93aad@posting.google.com> <slrnbs6r9i.oig.fdc@sesame.cc.columbia.edu>
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 <fdc@columbia.edu> wrote in message news:<slrnbs6r9i.oig.fdc@sesame.cc.columbia.edu>...
> In article <f0bb0f39.0311250532.1b93aad@posting.google.com>,
> 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 <fdc@columbia.edu>
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: <slrnbs9kh8.ipa.fdc@sesame.cc.columbia.edu>
References: <f0bb0f39.0311250532.1b93aad@posting.google.com> <slrnbs6r9i.oig.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311260731.11d9eb29@posting.google.com>
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 <f0bb0f39.0311260731.11d9eb29@posting.google.com>,
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: <f0bb0f39.0311261025.6fd175b5@posting.google.com>
References: <f0bb0f39.0311250532.1b93aad@posting.google.com> <slrnbs6r9i.oig.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311260731.11d9eb29@posting.google.com>
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 <fdc@columbia.edu> wrote in message news:<slrnbs6r9i.oig.fdc@sesame.cc.columbia.edu>...
> > In article <f0bb0f39.0311250532.1b93aad@posting.google.com>,
> > 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: <f0bb0f39.0311261057.2fc63bce@posting.google.com>
References: <f0bb0f39.0311260516.356db920@posting.google.com> <slrnbs9gsi.c9g.fdc@sesame.cc.columbia.edu>
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 <fdc@columbia.edu> wrote in message news:<slrnbs9gsi.c9g.fdc@sesame.cc.columbia.edu>...
> In article <f0bb0f39.0311260516.356db920@posting.google.com>,
> 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 <jaltman@columbia.edu>
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: <bq2usd$45j$1@newsmaster.cc.columbia.edu>
References: <f0bb0f39.0311260516.356db920@posting.google.com> <slrnbs9gsi.c9g.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311261057.2fc63bce@posting.google.com>
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 <anthonypieper@cs.com> 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 <fdc@columbia.edu>
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: <slrnbsa0at.dm1.fdc@sesame.cc.columbia.edu>
References: <f0bb0f39.0311250532.1b93aad@posting.google.com> <slrnbs6r9i.oig.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311260731.11d9eb29@posting.google.com> <f0bb0f39.0311261025.6fd175b5@posting.google.com>
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 <f0bb0f39.0311261025.6fd175b5@posting.google.com>,
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: <f0bb0f39.0312010625.7751d0a7@posting.google.com>
References: <f0bb0f39.0311250532.1b93aad@posting.google.com> <slrnbs6r9i.oig.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311260731.11d9eb29@posting.google.com> <f0bb0f39.0311261025.6fd175b5@posting.google.com> <slrnbsa0at.dm1.fdc@sesame.cc.columbia.edu>
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 <fdc@columbia.edu> wrote in message news:<slrnbsa0at.dm1.fdc@sesame.cc.columbia.edu>...
> In article <f0bb0f39.0311261025.6fd175b5@posting.google.com>,
> 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 <fdc@columbia.edu>
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: <slrnbsmrte.pqg.fdc@sesame.cc.columbia.edu>
References: <f0bb0f39.0311250532.1b93aad@posting.google.com> <slrnbs6r9i.oig.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311260731.11d9eb29@posting.google.com> <f0bb0f39.0311261025.6fd175b5@posting.google.com> <slrnbsa0at.dm1.fdc@sesame.cc.columbia.edu> <f0bb0f39.0312010625.7751d0a7@posting.google.com>
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 <f0bb0f39.0312010625.7751d0a7@posting.google.com>,
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: <f0bb0f39.0312010952.48be7cb4@posting.google.com>
References: <f0bb0f39.0311260516.356db920@posting.google.com> <slrnbs9gsi.c9g.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311261057.2fc63bce@posting.google.com> <bq2usd$45j$1@newsmaster.cc.columbia.edu>
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 <jaltman@columbia.edu> wrote in message news:<bq2usd$45j$1@newsmaster.cc.columbia.edu>...
> newexpectuser <anthonypieper@cs.com> 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 <fdc@columbia.edu>
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: <slrnbsn93f.mfn.fdc@sesame.cc.columbia.edu>
References: <f0bb0f39.0311260516.356db920@posting.google.com> <slrnbs9gsi.c9g.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311261057.2fc63bce@posting.google.com> <bq2usd$45j$1@newsmaster.cc.columbia.edu> <f0bb0f39.0312010952.48be7cb4@posting.google.com>
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 <f0bb0f39.0312010952.48be7cb4@posting.google.com>,
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: <deb126db.0312011613.1b889e6f@posting.google.com>
References: <f0bb0f39.0311250532.1b93aad@posting.google.com> <slrnbs6r9i.oig.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311260731.11d9eb29@posting.google.com> <f0bb0f39.0311261025.6fd175b5@posting.google.com> <slrnbsa0at.dm1.fdc@sesame.cc.columbia.edu> <f0bb0f39.0312010625.7751d0a7@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 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:<f0bb0f39.0312010625.7751d0a7@posting.google.com>...
> 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: <e516d9ec.0312020211.2fa9cb80@posting.google.com>
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 <fdc@columbia.edu>
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: <slrnbsp9gn.bcn.fdc@sesame.cc.columbia.edu>
References: <e516d9ec.0312020211.2fa9cb80@posting.google.com>
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 <e516d9ec.0312020211.2fa9cb80@posting.google.com>,
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 <not-a-real-address@usa.net>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: wierd scripting query via telnet
Date: 02 Dec 2003 16:35:47 GMT
Organization: earthfriends
Message-ID: <m18ylvfab7.gnus@usa.net>
References: <e516d9ec.0312020211.2fa9cb80@posting.google.com> <slrnbsp9gn.bcn.fdc@sesame.cc.columbia.edu>
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 <fdc@columbia.edu>
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: <slrnbspif1.1lh.fdc@sesame.cc.columbia.edu>
References: <e516d9ec.0312020211.2fa9cb80@posting.google.com> <slrnbsp9gn.bcn.fdc@sesame.cc.columbia.edu> <m18ylvfab7.gnus@usa.net>
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 <m18ylvfab7.gnus@usa.net>,
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 <jaltman@columbia.edu>
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: <bqjrf2$m9h$1@newsmaster.cc.columbia.edu>
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 <PG_Dinakaran@dl.scsusa.com> 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 <jaltman@columbia.edu>
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: <bqjroj$m9h$2@newsmaster.cc.columbia.edu>
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 <cgmckeever@yahoo.com> 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 <fdc@columbia.edu>
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: <slrnbss1h8.cqa.fdc@sesame.cc.columbia.edu>
References: <1a78c305.0312021927.523e8509@posting.google.com> <bqjroj$m9h$2@newsmaster.cc.columbia.edu>
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 <bqjroj$m9h$2@newsmaster.cc.columbia.edu>, 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 <cgmckeever@yahoo.com> 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 <fdc@columbia.edu>
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: <slrnbss5e1.e02.fdc@sesame.cc.columbia.edu>
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 <dold@violet.rahul.net>
Message-ID: <bqqku5$gv6$1@blue.rahul.net>
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 <robatworkDeleteTheseFourWords@mail.com> 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 <robatworkDeleteTheseFourWords@mail.com>
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> <bqqku5$gv6$1@blue.rahul.net>
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: <pqp8tv06mim45q30h48du92s90oklut9sl@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: 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 <fdc@columbia.edu>
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: <slrnbt91b8.o2u.fdc@sesame.cc.columbia.edu>
References: <3fd07ccb.13118473@news.nildram.co.uk> <bqqku5$gv6$1@blue.rahul.net> <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 <fdc@columbia.edu>
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: <slrnbt91s0.o2u.fdc@sesame.cc.columbia.edu>
References: <pqp8tv06mim45q30h48du92s90oklut9sl@4ax.com>
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 <pqp8tv06mim45q30h48du92s90oklut9sl@4ax.com>,
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: <pqp8tv06mim45q30h48du92s90oklut9sl@4ax.com> <slrnbt91s0.o2u.fdc@sesame.cc.columbia.edu>
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
<fdc@columbia.edu> 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 <pqp8tv06mim45q30h48du92s90oklut9sl@4ax.com>,
>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 <fdc@columbia.edu>
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: <slrnbta2q0.2a2.fdc@sesame.cc.columbia.edu>
References: <pqp8tv06mim45q30h48du92s90oklut9sl@4ax.com> <slrnbt91s0.o2u.fdc@sesame.cc.columbia.edu> <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
:<fdc@columbia.edu> 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: <dogbtvo8mdk4hsenjjadeim47uajhc5dab@4ax.com>
References: <pqp8tv06mim45q30h48du92s90oklut9sl@4ax.com> <slrnbt91s0.o2u.fdc@sesame.cc.columbia.edu> <820atvkrg5tk7hkv0bn4r840kv6ab17r61@4ax.com> <slrnbta2q0.2a2.fdc@sesame.cc.columbia.edu>
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







 <fdc@columbia.edu> wrote:

>In article <820atvkrg5tk7hkv0bn4r840kv6ab17r61@4ax.com>,
>Chris@bundy.co.uk wrote:
>: On 8 Dec 2003 14:15:28 GMT, Frank da Cruz
>:<fdc@columbia.edu> 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 <robatworkDeleteTheseFourWords@mail.com>
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> <bqqku5$gv6$1@blue.rahul.net> <3fd44153.2851540@news.nildram.co.uk> <slrnbt91b8.o2u.fdc@sesame.cc.columbia.edu>
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 <fdc@columbia.edu> 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 <fdc@columbia.edu>
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: <slrnbtburh.2o1.fdc@sesame.cc.columbia.edu>
References: <pqp8tv06mim45q30h48du92s90oklut9sl@4ax.com> <slrnbt91s0.o2u.fdc@sesame.cc.columbia.edu> <820atvkrg5tk7hkv0bn4r840kv6ab17r61@4ax.com> <slrnbta2q0.2a2.fdc@sesame.cc.columbia.edu> <dogbtvo8mdk4hsenjjadeim47uajhc5dab@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 <dogbtvo8mdk4hsenjjadeim47uajhc5dab@4ax.com>,
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 <fdc@columbia.edu>
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: <slrnbtbv0r.2o1.fdc@sesame.cc.columbia.edu>
References: <3fd07ccb.13118473@news.nildram.co.uk> <bqqku5$gv6$1@blue.rahul.net> <3fd44153.2851540@news.nildram.co.uk> <slrnbt91b8.o2u.fdc@sesame.cc.columbia.edu> <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 <fdc@columbia.edu> 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 <jaltman@columbia.edu>
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: <br52te$460$1@newsmaster.cc.columbia.edu>
References: <3fd07ccb.13118473@news.nildram.co.uk> <bqqku5$gv6$1@blue.rahul.net> <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 <robatworkDeleteTheseFourWords@mail.com> 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" <Jdanskinner@jdanskinner.com>
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: <vtcfpdmt0al1da@corp.supernews.com>
References: <pqp8tv06mim45q30h48du92s90oklut9sl@4ax.com> <slrnbt91s0.o2u.fdc@sesame.cc.columbia.edu> <820atvkrg5tk7hkv0bn4r840kv6ab17r61@4ax.com> <slrnbta2q0.2a2.fdc@sesame.cc.columbia.edu> <dogbtvo8mdk4hsenjjadeim47uajhc5dab@4ax.com> <slrnbtburh.2o1.fdc@sesame.cc.columbia.edu>
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" <fdc@columbia.edu> wrote in message
news:slrnbtburh.2o1.fdc@sesame.cc.columbia.edu...
> In article <dogbtvo8mdk4hsenjjadeim47uajhc5dab@4ax.com>,
> 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: <r3jctvgfef9a4c1fdqup61vn5n6dg6s43o@4ax.com>
References: <pqp8tv06mim45q30h48du92s90oklut9sl@4ax.com> <slrnbt91s0.o2u.fdc@sesame.cc.columbia.edu> <820atvkrg5tk7hkv0bn4r840kv6ab17r61@4ax.com> <slrnbta2q0.2a2.fdc@sesame.cc.columbia.edu> <dogbtvo8mdk4hsenjjadeim47uajhc5dab@4ax.com> <slrnbtburh.2o1.fdc@sesame.cc.columbia.edu>
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
<fdc@columbia.edu> 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 <dogbtvo8mdk4hsenjjadeim47uajhc5dab@4ax.com>,
>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 <fdc@columbia.edu>
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: <slrnbtcm9m.klt.fdc@sesame.cc.columbia.edu>
References: <pqp8tv06mim45q30h48du92s90oklut9sl@4ax.com> <slrnbt91s0.o2u.fdc@sesame.cc.columbia.edu> <820atvkrg5tk7hkv0bn4r840kv6ab17r61@4ax.com> <slrnbta2q0.2a2.fdc@sesame.cc.columbia.edu> <dogbtvo8mdk4hsenjjadeim47uajhc5dab@4ax.com> <slrnbtburh.2o1.fdc@sesame.cc.columbia.edu> <r3jctvgfef9a4c1fdqup61vn5n6dg6s43o@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 <r3jctvgfef9a4c1fdqup61vn5n6dg6s43o@4ax.com>,
Chris@bundy.co.uk wrote:
: On 9 Dec 2003 16:42:25 GMT, Frank da Cruz <fdc@columbia.edu> 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: <pqp8tv06mim45q30h48du92s90oklut9sl@4ax.com> <slrnbt91s0.o2u.fdc@sesame.cc.columbia.edu> <820atvkrg5tk7hkv0bn4r840kv6ab17r61@4ax.com> <slrnbta2q0.2a2.fdc@sesame.cc.columbia.edu> <dogbtvo8mdk4hsenjjadeim47uajhc5dab@4ax.com> <slrnbtburh.2o1.fdc@sesame.cc.columbia.edu> <r3jctvgfef9a4c1fdqup61vn5n6dg6s43o@4ax.com> <slrnbtcm9m.klt.fdc@sesame.cc.columbia.edu> <deb126db.0312092024.7aa2608d@posting.google.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 <fdc@columbia.edu> wrote in message news:<slrnbtcm9m.klt.fdc@sesame.cc.columbia.edu>...
>> In article <r3jctvgfef9a4c1fdqup61vn5n6dg6s43o@4ax.com>,
>> Chris@bundy.co.uk wrote:
>> : On 9 Dec 2003 16:42:25 GMT, Frank da Cruz <fdc@columbia.edu> 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" <m.poser@rz.uni-frankfurt.de>
Newsgroups: comp.protocols.kermit.misc
Subject: password query fails
Date: Wed, 10 Dec 2003 17:46:36 +0100
Lines: 79
Message-ID: <br7ila$761g$1@uni-berlin.de>
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:
[0m[2J <- 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 <fdc@columbia.edu>
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: <slrnbten4v.81m.fdc@sesame.cc.columbia.edu>
References: <br7ila$761g$1@uni-berlin.de>
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 <br7ila$761g$1@uni-berlin.de>, 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:

: [0m[2J <- 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 <jaltman@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Kermit on Slashdot
Date: 11 Dec 2003 05:13:48 GMT
Organization: Columbia University
Lines: 12
Message-ID: <br8uec$4o1$1@newsmaster.cc.columbia.edu>
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" <henry.thorpe@att.net>
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: <br8uec$4o1$1@newsmaster.cc.columbia.edu>
In-Reply-To: <br8uec$4o1$1@newsmaster.cc.columbia.edu>
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" <Jdanskinner@jdanskinner.com>
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: <vtkcrm288012c6@corp.supernews.com>
References: <pqp8tv06mim45q30h48du92s90oklut9sl@4ax.com> <slrnbt91s0.o2u.fdc@sesame.cc.columbia.edu> <820atvkrg5tk7hkv0bn4r840kv6ab17r61@4ax.com> <slrnbta2q0.2a2.fdc@sesame.cc.columbia.edu> <dogbtvo8mdk4hsenjjadeim47uajhc5dab@4ax.com> <slrnbtburh.2o1.fdc@sesame.cc.columbia.edu> <r3jctvgfef9a4c1fdqup61vn5n6dg6s43o@4ax.com> <slrnbtcm9m.klt.fdc@sesame.cc.columbia.edu> <deb126db.0312092024.7aa2608d@posting.google.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

<snip>
> 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 <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: EMACS Kermit Mode
Date: 15 Dec 2003 21:57:46 GMT
Organization: Columbia University
Lines: 69
Message-ID: <slrnbtsbiq.p1c.fdc@sesame.cc.columbia.edu>
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: <c205519c.0312151419.1e2995d1@posting.google.com>
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 <jaltman@columbia.edu>
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: <brn4dv$9mv$1@newsmaster.cc.columbia.edu>
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 <dave.lloyd@aah.co.uk> 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> <bqjroj$m9h$2@newsmaster.cc.columbia.edu> <slrnbss1h8.cqa.fdc@sesame.cc.columbia.edu>
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 <fdc@columbia.edu> wrote in message news:<slrnbss1h8.cqa.fdc@sesame.cc.columbia.edu>...
> In article <bqjroj$m9h$2@newsmaster.cc.columbia.edu>, 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 <cgmckeever@yahoo.com> 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 <jaltman@columbia.edu>
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: <brreps$m7e$2@newsmaster.cc.columbia.edu>
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 <compupractice@telstra.com> 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 <jaltman@columbia.edu>
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: <brrek3$m7e$1@newsmaster.cc.columbia.edu>
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 <cgmckeever@yahoo.com> 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 <dold@violet.rahul.net>
Message-ID: <brsk8m$6a2$3@blue.rahul.net>
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 <compupractice@telstra.com> 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 <fdc@columbia.edu>
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: <slrnbu45ia.1bs.fdc@sesame.cc.columbia.edu>
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: <b97068c6.0312241103.2fd8cac7@posting.google.com>
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 <fdc@columbia.edu>
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: <slrnbujr1l.5ig.fdc@sesame.cc.columbia.edu>
References: <b97068c6.0312241103.2fd8cac7@posting.google.com>
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 <b97068c6.0312241103.2fd8cac7@posting.google.com>,
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: <b97068c6.0312301053.65dd3301@posting.google.com>
References: <b97068c6.0312241103.2fd8cac7@posting.google.com> <slrnbujr1l.5ig.fdc@sesame.cc.columbia.edu>
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 <fdc@columbia.edu>
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: <slrnbv3kk9.hit.fdc@sesame.cc.columbia.edu>
References: <b97068c6.0312241103.2fd8cac7@posting.google.com> <slrnbujr1l.5ig.fdc@sesame.cc.columbia.edu> <b97068c6.0312301053.65dd3301@posting.google.com>
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 <b97068c6.0312301053.65dd3301@posting.google.com>,
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 <jaltman2@nyc.rr.com>
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: <b97068c6.0312241103.2fd8cac7@posting.google.com> <slrnbujr1l.5ig.fdc@sesame.cc.columbia.edu> <b97068c6.0312301053.65dd3301@posting.google.com> <slrnbv3kk9.hit.fdc@sesame.cc.columbia.edu>
In-Reply-To: <slrnbv3kk9.hit.fdc@sesame.cc.columbia.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 25
Message-ID: <FglIb.91780$0P1.32168@twister.nyc.rr.com>
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 <b97068c6.0312301053.65dd3301@posting.google.com>,
> 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 <not-a-real-address@usa.net>
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: <m1u13gnph0.gnus@usa.net>
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> <m1u13gnph0.gnus@usa.net>
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 <not-a-real-address@usa.net> wrote in message news:<m1u13gnph0.gnus@usa.net>...

> | 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: <b97068c6.0312241103.2fd8cac7@posting.google.com> <slrnbujr1l.5ig.fdc@sesame.cc.columbia.edu> <b97068c6.0312301053.65dd3301@posting.google.com> <slrnbv3kk9.hit.fdc@sesame.cc.columbia.edu>
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 <fdc@columbia.edu> wrote in message news:<slrnbv3kk9.hit.fdc@sesame.cc.columbia.edu>...
> 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 <ELSE>.
Fixing something else <BY ACCIDENT> 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 <fdc@columbia.edu>
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: <slrnc03cdu.iro.fdc@sesame.cc.columbia.edu>
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 <fdc@columbia.edu>
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: <slrnc08a36.4gh.fdc@sesame.cc.columbia.edu>
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 <jaltman2@nyc.rr.com>
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 <fdc@columbia.edu>
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: <slrnc12hpm.ct0.fdc@sesame.cc.columbia.edu>
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: <deb126db.0401272157.32647b1b@posting.google.com>
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> <deb126db.0401272157.32647b1b@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:<deb126db.0401272157.32647b1b@posting.google.com>...
> 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 <fdc@columbia.edu>
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: <slrnc1fq31.c5n.fdc@sesame.cc.columbia.edu>
References: <6b84683a.0401271212.4059fe85@posting.google.com> <deb126db.0401272157.32647b1b@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:<deb126db.0401272157.32647b1b@posting.google.com>...
: ...
:> 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:<text> 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 <jaltman2@nyc.rr.com>
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> <deb126db.0401272157.32647b1b@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:<string> 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
<the e-mail account from which this posting is made is not read>



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 <junkmail@eracc.com>
Organization: ERA Computer Consulting
Subject: Re: Kermit
User-Agent: M$ O and OE SUCK! Ok, anything from M$ sucks.
Message-ID: <pan.2004.02.02.19.27.55.844996@era4.eracc.UUCP>
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 <alan@asandco.co.uk>
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: <bvmalk$n40$1@news.freedom2surf.net>
References: <401E2E43.1020607@globalnet.co.uk> <pan.2004.02.02.19.27.55.844996@era4.eracc.UUCP>
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: <pan.2004.02.02.19.27.55.844996@era4.eracc.UUCP>
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 <jaltman2@nyc.rr.com>
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 <jaltman2@nyc.rr.com>
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: <RekUb.178795$4F2.21648928@twister.nyc.rr.com>
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> <RekUb.178795$4F2.21648928@twister.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 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 <jaltman2@nyc.rr.com> wrote in message news:<RekUb.178795$4F2.21648928@twister.nyc.rr.com>...
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 <fdc@columbia.edu>
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: <slrnc2krnd.k6r.fdc@sesame.cc.columbia.edu>
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 <dold@violet.rahul.net>
Message-ID: <c0tbdf$g8d$1@blue.rahul.net>
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 <jaltman2@nyc.rr.com>
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: <c0tbdf$g8d$1@blue.rahul.net>
In-Reply-To: <c0tbdf$g8d$1@blue.rahul.net>
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 <fdc@columbia.edu>
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: <slrnc34h83.cha.fdc@sesame.cc.columbia.edu>
References: <c0tbdf$g8d$1@blue.rahul.net> <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 <dold@violet.rahul.net>
Message-ID: <c0ue4g$pcq$1@blue.rahul.net>
References: <c0tbdf$g8d$1@blue.rahul.net> <403232C4.2090303@nyc.rr.com> <slrnc34h83.cha.fdc@sesame.cc.columbia.edu>
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 <fdc@columbia.edu> 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 <fdc@columbia.edu>
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: <slrnc36v3t.ink.fdc@sesame.cc.columbia.edu>
References: <c0tbdf$g8d$1@blue.rahul.net> <403232C4.2090303@nyc.rr.com> <slrnc34h83.cha.fdc@sesame.cc.columbia.edu> <c0ue4g$pcq$1@blue.rahul.net>
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 <c0ue4g$pcq$1@blue.rahul.net>, dold@auto-creat.usenet.us.com wrote:
: Frank da Cruz <fdc@columbia.edu> 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 <dold@violet.rahul.net>
Message-ID: <c0vvdp$he2$5@blue.rahul.net>
References: <c0tbdf$g8d$1@blue.rahul.net> <403232C4.2090303@nyc.rr.com> <slrnc34h83.cha.fdc@sesame.cc.columbia.edu> <c0ue4g$pcq$1@blue.rahul.net> <slrnc36v3t.ink.fdc@sesame.cc.columbia.edu>
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 <fdc@columbia.edu> wrote:
> In article <c0ue4g$pcq$1@blue.rahul.net>, 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 <jaltman2@nyc.rr.com>
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: <c0tbdf$g8d$1@blue.rahul.net> <403232C4.2090303@nyc.rr.com> <slrnc34h83.cha.fdc@sesame.cc.columbia.edu> <c0ue4g$pcq$1@blue.rahul.net> <slrnc36v3t.ink.fdc@sesame.cc.columbia.edu> <c0vvdp$he2$5@blue.rahul.net>
In-Reply-To: <c0vvdp$he2$5@blue.rahul.net>
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 <fdc@columbia.edu>
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: <slrnc373dv.rfv.fdc@sesame.cc.columbia.edu>
References: <c0tbdf$g8d$1@blue.rahul.net> <403232C4.2090303@nyc.rr.com> <slrnc34h83.cha.fdc@sesame.cc.columbia.edu> <c0ue4g$pcq$1@blue.rahul.net> <slrnc36v3t.ink.fdc@sesame.cc.columbia.edu> <c0vvdp$he2$5@blue.rahul.net> <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: <c0tbdf$g8d$1@blue.rahul.net> <403232C4.2090303@nyc.rr.com> <slrnc34h83.cha.fdc@sesame.cc.columbia.edu> <c0ue4g$pcq$1@blue.rahul.net>
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:<c0ue4g$pcq$1@blue.rahul.net>...
> Frank da Cruz <fdc@columbia.edu> 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 <dold@violet.rahul.net>
Message-ID: <c11b4l$u70$1@blue.rahul.net>
References: <c0tbdf$g8d$1@blue.rahul.net> <403232C4.2090303@nyc.rr.com> <slrnc34h83.cha.fdc@sesame.cc.columbia.edu> <c0ue4g$pcq$1@blue.rahul.net> <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 <JDanSkinner@jdanskinner.com> 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 <dold@violet.rahul.net>
Message-ID: <c11e3o$v1d$1@blue.rahul.net>
References: <c0tbdf$g8d$1@blue.rahul.net> <403232C4.2090303@nyc.rr.com> <slrnc34h83.cha.fdc@sesame.cc.columbia.edu> <c0ue4g$pcq$1@blue.rahul.net> <slrnc36v3t.ink.fdc@sesame.cc.columbia.edu> <c0vvdp$he2$5@blue.rahul.net> <40338A84.5080401@nyc.rr.com> <slrnc373dv.rfv.fdc@sesame.cc.columbia.edu>
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 <fdc@columbia.edu> 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: <c0tbdf$g8d$1@blue.rahul.net> <403232C4.2090303@nyc.rr.com> <slrnc34h83.cha.fdc@sesame.cc.columbia.edu> <c0ue4g$pcq$1@blue.rahul.net> <8ce22d01.0402181113.1e598299@posting.google.com> <c11b4l$u70$1@blue.rahul.net>
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:<c11b4l$u70$1@blue.rahul.net>...
> Dan Skinner <JDanSkinner@jdanskinner.com> wrote:
<snip>
> 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 <dold@violet.rahul.net>
Message-ID: <c12lej$lbm$1@blue.rahul.net>
References: <c0tbdf$g8d$1@blue.rahul.net> <403232C4.2090303@nyc.rr.com> <slrnc34h83.cha.fdc@sesame.cc.columbia.edu> <c0ue4g$pcq$1@blue.rahul.net> <8ce22d01.0402181113.1e598299@posting.google.com> <c11b4l$u70$1@blue.rahul.net> <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 <JDanSkinner@jdanskinner.com> 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: <b9d0a616.0402200332.6c22fd9e@posting.google.com>
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 <arthur.marsh@internode.on.net>
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: <d0a8754d.0402201544.bac6434@posting.google.com>
In-Reply-To: <d0a8754d.0402201544.bac6434@posting.google.com>
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 <arthur.marsh@internode.on.net>
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 <arthur.marsh@internode.on.net>
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: <ueksmiw8p.fsf@att.net>
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 <URL:http://www.vote-smart.org/> >>==+
      email: Tom.Horsley@worldnet.att.net icbm: Delray Beach, FL      |
<URL:http://home.att.net/~Tom.Horsley> 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 <jaltman2@nyc.rr.com>
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: <ueksmiw8p.fsf@att.net>
In-Reply-To: <ueksmiw8p.fsf@att.net>
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 <URL:http://www.vote-smart.org/> >>==+
> 
>       email: Tom.Horsley@worldnet.att.net icbm: Delray Beach, FL      |
> <URL:http://home.att.net/~Tom.Horsley> 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 <arthur.marsh@internode.on.net>
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" <flyingboz@hotmail.com>
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: <vb2%b.30324$%d3.2870155@twister.southeast.rr.com>
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: <bb076936.0402271132.6b6e3c53@posting.google.com>
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 <fdc@columbia.edu>
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: <slrnc3v9cp.dor.fdc@sesame.cc.columbia.edu>
References: <bb076936.0402271132.6b6e3c53@posting.google.com>
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 <bb076936.0402271132.6b6e3c53@posting.google.com>,
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: <bb076936.0402272135.7b416647@posting.google.com>
References: <bb076936.0402271132.6b6e3c53@posting.google.com> <slrnc3v9cp.dor.fdc@sesame.cc.columbia.edu>
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" <uhclem@DutchElmSt.invalid>
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.

<http://www.wirelessadvisor.com/waforums/messageview.cfm?catid=20&threadid=8269>
  ...
  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 <fdc@columbia.edu>
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: <slrnc4jv49.nt3.fdc@sesame.cc.columbia.edu>
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 <heinrichgeis@t-online.de>
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: <c2ldn2$pv2$06$1@news.t-online.com>
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 <return> 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 <return>-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: <deb126db.0403092021.30f26bea@posting.google.com>
References: <c2ldn2$pv2$06$1@news.t-online.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 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 <heinrichgeis@t-online.de> wrote in message news:<c2ldn2$pv2$06$1@news.t-online.com>...
> 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 <return> 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 <return>-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 <msapiro at value dot net> 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: <u6su40df16ffjvve82t3e6fhbvob8qk3im@4ax.com>
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 <jaltman2@nyc.rr.com>
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: <u6su40df16ffjvve82t3e6fhbvob8qk3im@4ax.com>
In-Reply-To: <u6su40df16ffjvve82t3e6fhbvob8qk3im@4ax.com>
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 <heinrichgeis@t-online.de>
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: <c2o08j$jeu$03$1@news.t-online.com>
References: <c2ldn2$pv2$06$1@news.t-online.com> <deb126db.0403092021.30f26bea@posting.google.com>
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" <arbys@beaversinc.com>
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: <vx24c.14955$PY.11683@lakeread05>
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 <fdc@columbia.edu>
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: <slrnc51ei1.m4f.fdc@sesame.cc.columbia.edu>
References: <vx24c.14955$PY.11683@lakeread05>
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 <vx24c.14955$PY.11683@lakeread05>, 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" <arbys@beaversinc.com>
Newsgroups: comp.protocols.kermit.misc
References: <vx24c.14955$PY.11683@lakeread05> <slrnc51ei1.m4f.fdc@sesame.cc.columbia.edu>
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: <Ph44c.15093$PY.13811@lakeread05>
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" <fdc@columbia.edu> wrote in message
news:slrnc51ei1.m4f.fdc@sesame.cc.columbia.edu...
> In article <vx24c.14955$PY.11683@lakeread05>, 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 <fdc@columbia.edu>
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: <slrnc51np0.avi.fdc@sesame.cc.columbia.edu>
References: <vx24c.14955$PY.11683@lakeread05> <slrnc51ei1.m4f.fdc@sesame.cc.columbia.edu> <Ph44c.15093$PY.13811@lakeread05>
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 <Ph44c.15093$PY.13811@lakeread05>, 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" <notforyou@hotmail.com>
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: <c2tes5$228q78$1@ID-8247.news.uni-berlin.de>
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 <fdc@columbia.edu>
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: <slrnc56k8t.lb4.fdc@sesame.cc.columbia.edu>
References: <c2tes5$228q78$1@ID-8247.news.uni-berlin.de>
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 <c2tes5$228q78$1@ID-8247.news.uni-berlin.de>,
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: <QPOHps8nRH+t@cc.usu.edu>
Date: 14 Mar 04 11:45:24 MST
References: <c2tes5$228q78$1@ID-8247.news.uni-berlin.de>
Organization: Utah State University
Lines: 22
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14850

In article <c2tes5$228q78$1@ID-8247.news.uni-berlin.de>, "Henrique Seganfredo" <notforyou@hotmail.com> 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" <notforyou@hotmail.com>
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: <c32smo$22d2je$1@ID-8247.news.uni-berlin.de>
References: <c2tes5$228q78$1@ID-8247.news.uni-berlin.de> <QPOHps8nRH+t@cc.usu.edu>
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" <jrd@cc.usu.edu> wrote in message
news:QPOHps8nRH+t@cc.usu.edu...
> In article <c2tes5$228q78$1@ID-8247.news.uni-berlin.de>, "Henrique
Seganfredo" <notforyou@hotmail.com> 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" <notforyou@hotmail.com>
Newsgroups: comp.protocols.kermit.misc
Subject: reducing this would help also??
Date: Sun, 14 Mar 2004 22:14:24 -0300
Lines: 36
Message-ID: <c3304i$248qaj$1@ID-8247.news.uni-berlin.de>
References: <c2tes5$228q78$1@ID-8247.news.uni-berlin.de> <QPOHps8nRH+t@cc.usu.edu>
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" <jrd@cc.usu.edu> wrote in message
news:QPOHps8nRH+t@cc.usu.edu...
> In article <c2tes5$228q78$1@ID-8247.news.uni-berlin.de>, "Henrique
Seganfredo" <notforyou@hotmail.com> 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 <fdc@columbia.edu>
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: <slrnc5rlcc.ngp.fdc@sesame.cc.columbia.edu>
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:
<ESC>[?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 <fdc@columbia.edu>
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: <slrnc60if6.hrd.fdc@sesame.cc.columbia.edu>
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> <slrnc60if6.hrd.fdc@sesame.cc.columbia.edu>
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 <fdc@columbia.edu> wrote in message news:<slrnc60if6.hrd.fdc@sesame.cc.columbia.edu>...
> 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 <dickey@saltmine.radix.net>
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> <slrnc60if6.hrd.fdc@sesame.cc.columbia.edu> <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 <adam@macrotex.net> 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> <slrnc5rlcc.ngp.fdc@sesame.cc.columbia.edu>
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 <fdc@columbia.edu> wrote in message news:<slrnc5rlcc.ngp.fdc@sesame.cc.columbia.edu>...
> ...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 <not-a-real-address@usa.net>
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: <m1fzbzvv6z.gnus@usa.net>
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 <http://www.columbia.edu/kermit/k95faq.html#dialin>.

-- 
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 <fdc@columbia.edu>
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: <slrnc63kel.5ol.fdc@sesame.cc.columbia.edu>
References: <7d86b4de.0403210731.2ff5d4e0@posting.google.com> <slrnc5rlcc.ngp.fdc@sesame.cc.columbia.edu> <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> <slrnc60if6.hrd.fdc@sesame.cc.columbia.edu> <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 <dickey@saltmine.radix.net> wrote in message news:<10635eddgqdr8f4@corp.supernews.com>...
> A. Lewenberg <adam@macrotex.net> 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 <dickey@saltmine.radix.net>
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> <slrnc60if6.hrd.fdc@sesame.cc.columbia.edu> <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 <adam@macrotex.net> wrote:
> Thomas Dickey <dickey@saltmine.radix.net> wrote in message news:<10635eddgqdr8f4@corp.supernews.com>...
>> A. Lewenberg <adam@macrotex.net> 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: <deb126db.0403242233.28c8aa53@posting.google.com>
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?

<snip>
> 
> 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 <fdc@columbia.edu>
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: <slrnc65ter.9j0.fdc@sesame.cc.columbia.edu>
References: <6bd7331b.0403230622.794ab64@posting.google.com> <slrnc60if6.hrd.fdc@sesame.cc.columbia.edu> <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 <dickey@saltmine.radix.net> 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" <Jdanskinner@jdanskinner.com>
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" <collector59ca@yahoo.com> 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 <fdc@columbia.edu>
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: <slrnc6j2n7.gj9.fdc@sesame.cc.columbia.edu>
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 <collector59ca@yahoo.com> 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> <slrnc6j2n7.gj9.fdc@sesame.cc.columbia.edu>
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 <fdc@columbia.edu>
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: <slrnc6jlc5.ml6.fdc@sesame.cc.columbia.edu>
References: <9c258be2.0403292240.2e00c890@posting.google.com> <9c258be2.0403300608.46d5097f@posting.google.com> <slrnc6j2n7.gj9.fdc@sesame.cc.columbia.edu> <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 <collector59ca@yahoo.com> 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> <slrnc6j2n7.gj9.fdc@sesame.cc.columbia.edu> <9c258be2.0403301135.51769d45@posting.google.com> <slrnc6jlc5.ml6.fdc@sesame.cc.columbia.edu>
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 <jaltman2@nyc.rr.com>
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 <jaltman2@nyc.rr.com>
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 <fdc@columbia.edu>
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: <slrnc6lkt0.s36.fdc@sesame.cc.columbia.edu>
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 <collector59ca@yahoo.com> 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" <nospam@zamang.co.uk>
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 <hostname>

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 <fdc@columbia.edu>
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: <slrnc6me86.pfr.fdc@sesame.cc.columbia.edu>
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 <nospam@zamang.co.uk> 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 <hostname>
:
: 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 <dold@violet.rahul.net>
Message-ID: <c4fuq5$7p8$2@blue.rahul.net>
References: <1080768113.45686.0@demeter.uk.clara.net> <slrnc6me86.pfr.fdc@sesame.cc.columbia.edu>
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 <fdc@columbia.edu> 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" <nospam@zamang.co.uk>
Newsgroups: comp.unix.sco.misc,comp.protocols.kermit.misc
References: <1080768113.45686.0@demeter.uk.clara.net> <slrnc6me86.pfr.fdc@sesame.cc.columbia.edu>
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" <fdc@columbia.edu> wrote in message
news:slrnc6me86.pfr.fdc@sesame.cc.columbia.edu...

> On 2004-03-31, David McCormack <nospam@zamang.co.uk> 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 <hostname>
> :
> : 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 <fdc@columbia.edu>
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: <slrnc6p5dd.t6e.fdc@sesame.cc.columbia.edu>
References: <1080768113.45686.0@demeter.uk.clara.net> <slrnc6me86.pfr.fdc@sesame.cc.columbia.edu> <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 <nospam@zamang.co.uk> 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: <c4jjk6$agk$2@ngspool-d02.news.aol.com>
References: <1080768113.45686.0@demeter.uk.clara.net> <slrnc6me86.pfr.fdc@sesame.cc.columbia.edu> <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" <nospam@zamang.co.uk> wrote in message
news:1080856078.14863.0@iris.uk.clara.net...
> "Frank da Cruz" <fdc@columbia.edu> wrote in message
> news:slrnc6me86.pfr.fdc@sesame.cc.columbia.edu...
>
> > On 2004-03-31, David McCormack <nospam@zamang.co.uk> 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 <hostname>
> > :
> > : 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" <stevebNoSpamPlease@bs-sys.com>
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: <ONOdnXG_hdGZifPd38DK-g@speakeasy.net>
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 <fdc@columbia.edu>
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: <slrnc6trch.nub.fdc@sesame.cc.columbia.edu>
References: <ONOdnXG_hdGZifPd38DK-g@speakeasy.net>
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 <stevebNoSpamPlease@bs-sys.com> 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 <fdc@columbia.edu>
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: <slrnc70uq9.84l.fdc@sesame.cc.columbia.edu>
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" <stevebNoSpamPlease@bs-sys.com>
Newsgroups: comp.protocols.kermit.misc
References: <ONOdnXG_hdGZifPd38DK-g@speakeasy.net> <slrnc6trch.nub.fdc@sesame.cc.columbia.edu>
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: <a8mcnYRB5OAIfOzd38DK-w@speakeasy.net>
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" <fdc@columbia.edu> wrote in message
news:slrnc6trch.nub.fdc@sesame.cc.columbia.edu...
> On 2004-04-03, Steve <stevebNoSpamPlease@bs-sys.com> 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 <fdc@columbia.edu>
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: <slrnc7597p.pte.fdc@sesame.cc.columbia.edu>
References: <ONOdnXG_hdGZifPd38DK-g@speakeasy.net> <slrnc6trch.nub.fdc@sesame.cc.columbia.edu> <a8mcnYRB5OAIfOzd38DK-w@speakeasy.net>
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 <stevebNoSpamPlease@bs-sys.com> wrote:
:
: "Frank da Cruz" <fdc@columbia.edu> 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" <nospam@zamang.co.uk>
Newsgroups: comp.unix.sco.misc,comp.protocols.kermit.misc
References: <1080768113.45686.0@demeter.uk.clara.net> <slrnc6me86.pfr.fdc@sesame.cc.columbia.edu> <1080856078.14863.0@iris.uk.clara.net> <c4jjk6$agk$2@ngspool-d02.news.aol.com>
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" <nospam@zamang.co.uk> wrote in message
> news:1080856078.14863.0@iris.uk.clara.net...
> > "Frank da Cruz" <fdc@columbia.edu> wrote in message
> > news:slrnc6me86.pfr.fdc@sesame.cc.columbia.edu...
> >
> > > On 2004-03-31, David McCormack <nospam@zamang.co.uk> 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 <hostname>
> > > :
> > > : 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 <Petri_member@newsguy.com>
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: <c5bv8301ck0@drn.newsguy.com>
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 <jaltman2@nyc.rr.com>
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: <c5bv8301ck0@drn.newsguy.com>
In-Reply-To: <c5bv8301ck0@drn.newsguy.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 11
Message-ID: <GWfec.23377$Nn4.4630542@twister.nyc.rr.com>
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 <fdc@columbia.edu>
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: <slrnc7jmvs.le3.fdc@sesame.cc.columbia.edu>
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 <timeout>
   (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 <Petri_member@newsguy.com>
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: <c5clci0adl@drn.newsguy.com>
References: <c5bv8301ck0@drn.newsguy.com> <GWfec.23377$Nn4.4630542@twister.nyc.rr.com>
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 <GWfec.23377$Nn4.4630542@twister.nyc.rr.com>, 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 <arthur.marsh@internode.on.net>
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: <c5bv8301ck0@drn.newsguy.com>
In-Reply-To: <c5bv8301ck0@drn.newsguy.com>
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 <jaltman2@nyc.rr.com>
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: <c5bv8301ck0@drn.newsguy.com> <GWfec.23377$Nn4.4630542@twister.nyc.rr.com> <c5clci0adl@drn.newsguy.com>
In-Reply-To: <c5clci0adl@drn.newsguy.com>
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 <GWfec.23377$Nn4.4630542@twister.nyc.rr.com>, 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 <Petri_member@newsguy.com>
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: <c5d66301vto@drn.newsguy.com>
References: <c5bv8301ck0@drn.newsguy.com> <GWfec.23377$Nn4.4630542@twister.nyc.rr.com> <c5clci0adl@drn.newsguy.com> <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 <jaltman2@nyc.rr.com>
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: <c5bv8301ck0@drn.newsguy.com> <GWfec.23377$Nn4.4630542@twister.nyc.rr.com> <c5clci0adl@drn.newsguy.com> <407A073D.7040004@nyc.rr.com> <c5d66301vto@drn.newsguy.com>
In-Reply-To: <c5d66301vto@drn.newsguy.com>
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 <Petri_member@newsguy.com>
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: <c5emg3093u@drn.newsguy.com>
References: <c5bv8301ck0@drn.newsguy.com> <GWfec.23377$Nn4.4630542@twister.nyc.rr.com> <c5clci0adl@drn.newsguy.com> <407A073D.7040004@nyc.rr.com> <c5d66301vto@drn.newsguy.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 <jaltman2@nyc.rr.com>
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: <c5bv8301ck0@drn.newsguy.com> <GWfec.23377$Nn4.4630542@twister.nyc.rr.com> <c5clci0adl@drn.newsguy.com> <407A073D.7040004@nyc.rr.com> <c5d66301vto@drn.newsguy.com> <407A990B.3040105@nyc.rr.com> <c5emg3093u@drn.newsguy.com>
In-Reply-To: <c5emg3093u@drn.newsguy.com>
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 <jaltman2@nyc.rr.com>
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: <c5bv8301ck0@drn.newsguy.com> <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 <Petri_member@newsguy.com>
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: <c5gdqd02fhg@drn.newsguy.com>
References: <c5bv8301ck0@drn.newsguy.com> <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 <Petri_member@newsguy.com>
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: <c5gjnr030c7@drn.newsguy.com>
References: <c5bv8301ck0@drn.newsguy.com> <GWfec.23377$Nn4.4630542@twister.nyc.rr.com> <c5clci0adl@drn.newsguy.com> <407A073D.7040004@nyc.rr.com> <c5d66301vto@drn.newsguy.com> <407A990B.3040105@nyc.rr.com> <c5emg3093u@drn.newsguy.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 <fdc@columbia.edu>
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: <slrnc7nth9.39k.fdc@sesame.cc.columbia.edu>
References: <c5bv8301ck0@drn.newsguy.com> <4079f047@duster.adelaide.on.net> <407AE97A.7080007@nyc.rr.com> <c5gdqd02fhg@drn.newsguy.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 <Petri_member@newsguy.com> 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 <jaltman2@nyc.rr.com>
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: <c5bv8301ck0@drn.newsguy.com> <GWfec.23377$Nn4.4630542@twister.nyc.rr.com> <c5clci0adl@drn.newsguy.com> <407A073D.7040004@nyc.rr.com> <c5d66301vto@drn.newsguy.com> <407A990B.3040105@nyc.rr.com> <c5emg3093u@drn.newsguy.com> <407AE686.3030209@nyc.rr.com> <c5gjnr030c7@drn.newsguy.com>
In-Reply-To: <c5gjnr030c7@drn.newsguy.com>
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 <Petri_member@newsguy.com>
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: <c5h18401e40@drn.newsguy.com>
References: <c5bv8301ck0@drn.newsguy.com> <GWfec.23377$Nn4.4630542@twister.nyc.rr.com> <c5clci0adl@drn.newsguy.com> <407A073D.7040004@nyc.rr.com> <c5d66301vto@drn.newsguy.com> <407A990B.3040105@nyc.rr.com> <c5emg3093u@drn.newsguy.com> <407AE686.3030209@nyc.rr.com> <c5gjnr030c7@drn.newsguy.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 <jaltman2@nyc.rr.com>
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: <c5bv8301ck0@drn.newsguy.com> <GWfec.23377$Nn4.4630542@twister.nyc.rr.com> <c5clci0adl@drn.newsguy.com> <407A073D.7040004@nyc.rr.com> <c5d66301vto@drn.newsguy.com> <407A990B.3040105@nyc.rr.com> <c5emg3093u@drn.newsguy.com> <407AE686.3030209@nyc.rr.com> <c5gjnr030c7@drn.newsguy.com> <407BF7E6.2030705@nyc.rr.com> <c5h18401e40@drn.newsguy.com>
In-Reply-To: <c5h18401e40@drn.newsguy.com>
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 <Petri_member@newsguy.com>
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: <c5h61m01t8d@drn.newsguy.com>
References: <c5bv8301ck0@drn.newsguy.com> <4079f047@duster.adelaide.on.net> <407AE97A.7080007@nyc.rr.com> <c5gdqd02fhg@drn.newsguy.com> <slrnc7nth9.39k.fdc@sesame.cc.columbia.edu>
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 <slrnc7nth9.39k.fdc@sesame.cc.columbia.edu>, Frank da Cruz says...
> On 2004-04-13, Petri <Petri_member@newsguy.com> 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 <fdc@columbia.edu>
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: <slrnc7o8sn.rr1.fdc@sesame.cc.columbia.edu>
References: <c5bv8301ck0@drn.newsguy.com> <4079f047@duster.adelaide.on.net> <407AE97A.7080007@nyc.rr.com> <c5gdqd02fhg@drn.newsguy.com> <slrnc7nth9.39k.fdc@sesame.cc.columbia.edu> <c5h61m01t8d@drn.newsguy.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 <Petri_member@newsguy.com> 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 <jaltman2@nyc.rr.com>
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: <c5bv8301ck0@drn.newsguy.com> <4079f047@duster.adelaide.on.net> <407AE97A.7080007@nyc.rr.com> <c5gdqd02fhg@drn.newsguy.com> <slrnc7nth9.39k.fdc@sesame.cc.columbia.edu> <c5h61m01t8d@drn.newsguy.com>
In-Reply-To: <c5h61m01t8d@drn.newsguy.com>
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 <fdc@columbia.edu>
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: <slrnc7ol42.lh3.fdc@sesame.cc.columbia.edu>
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 <davewyman99@yahoo.com> 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 <not-a-real-address@usa.net>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: FTP with Auth SSL
Date: 13 Apr 2004 20:28:53 GMT
Organization: earthfriends
Message-ID: <m1brlvpqyt.gnus@usa.net>
References: <c5bv8301ck0@drn.newsguy.com> <GWfec.23377$Nn4.4630542@twister.nyc.rr.com>
 <c5clci0adl@drn.newsguy.com> <407A073D.7040004@nyc.rr.com>
 <c5d66301vto@drn.newsguy.com> <407A990B.3040105@nyc.rr.com>
 <c5emg3093u@drn.newsguy.com> <407AE686.3030209@nyc.rr.com>
 <c5gjnr030c7@drn.newsguy.com> <407BF7E6.2030705@nyc.rr.com>
 <c5h18401e40@drn.newsguy.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 <jaltman2@nyc.rr.com>
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: <c5bv8301ck0@drn.newsguy.com> <GWfec.23377$Nn4.4630542@twister.nyc.rr.com> <c5clci0adl@drn.newsguy.com> <407A073D.7040004@nyc.rr.com> <c5d66301vto@drn.newsguy.com> <407A990B.3040105@nyc.rr.com> <c5emg3093u@drn.newsguy.com> <407AE686.3030209@nyc.rr.com> <c5gjnr030c7@drn.newsguy.com> <407BF7E6.2030705@nyc.rr.com> <c5h18401e40@drn.newsguy.com> <407C157E.6040105@nyc.rr.com> <m1brlvpqyt.gnus@usa.net>
In-Reply-To: <m1brlvpqyt.gnus@usa.net>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 13
Message-ID: <vjYec.37650$WA4.1158@twister.nyc.rr.com>
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 <Petri_member@newsguy.com>
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: <c5iqh301eie@drn.newsguy.com>
References: <c5bv8301ck0@drn.newsguy.com> <4079f047@duster.adelaide.on.net> <407AE97A.7080007@nyc.rr.com> <c5gdqd02fhg@drn.newsguy.com> <slrnc7nth9.39k.fdc@sesame.cc.columbia.edu> <c5h61m01t8d@drn.newsguy.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 <Petri_member@newsguy.com>
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: <c5ir8p01g7q@drn.newsguy.com>
References: <c5bv8301ck0@drn.newsguy.com> <4079f047@duster.adelaide.on.net> <407AE97A.7080007@nyc.rr.com> <c5gdqd02fhg@drn.newsguy.com> <slrnc7nth9.39k.fdc@sesame.cc.columbia.edu> <c5h61m01t8d@drn.newsguy.com> <slrnc7o8sn.rr1.fdc@sesame.cc.columbia.edu>
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 <slrnc7o8sn.rr1.fdc@sesame.cc.columbia.edu>, Frank da Cruz says...
> On 2004-04-13, Petri <Petri_member@newsguy.com> 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: <zi6fc.28984$i74.606629@bgtnsc04-news.ops.worldnet.att.net>
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 <fdc@columbia.edu>
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: <slrnc7qbpp.dmr.fdc@sesame.cc.columbia.edu>
References: <zi6fc.28984$i74.606629@bgtnsc04-news.ops.worldnet.att.net>
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 <drwho8@att.net> 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> <slrnc7ol42.lh3.fdc@sesame.cc.columbia.edu>
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 <fdc@columbia.edu> wrote in message news:<slrnc7ol42.lh3.fdc@sesame.cc.columbia.edu>...
> On 2004-04-13, Dave <davewyman99@yahoo.com> 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 <jaltman2@nyc.rr.com>
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> <slrnc7ol42.lh3.fdc@sesame.cc.columbia.edu> <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: <zi6fc.28984$i74.606629@bgtnsc04-news.ops.worldnet.att.net> <slrnc7qbpp.dmr.fdc@sesame.cc.columbia.edu>
MIME-Version: 1.0
Content-Type: Text/Plain; charset=US-ASCII
Lines: 27
Message-ID: <Y6ffc.23267$K_.620603@bgtnsc05-news.ops.worldnet.att.net>
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 <slrnc7qbpp.dmr.fdc@sesame.cc.columbia.edu>, fdc@columbia.edu 
says...
>
>On 2004-04-14, Gregg C Levine <drwho8@att.net> 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: <C6oNJzNw0BJz@cc.usu.edu>
Date: 14 Apr 04 13:19:22 MST
References: <zi6fc.28984$i74.606629@bgtnsc04-news.ops.worldnet.att.net> <Y6ffc.23267$K_.620603@bgtnsc05-news.ops.worldnet.att.net>
Organization: Utah State University
Lines: 31
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14926

In article <Y6ffc.23267$K_.620603@bgtnsc05-news.ops.worldnet.att.net>, 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 <slrnc7qbpp.dmr.fdc@sesame.cc.columbia.edu>, fdc@columbia.edu 
> says...
>>
>>On 2004-04-14, Gregg C Levine <drwho8@att.net> 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 <root@sbic.com>
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: <oRwfc.343$kb.20640@news.uswest.net>
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 <fdc@columbia.edu>
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: <slrnc7tae8.4fi.fdc@sesame.cc.columbia.edu>
References: <oRwfc.343$kb.20640@news.uswest.net>
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 <root@sbic.com> 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 <jaltman2@nyc.rr.com>
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 <fdc@columbia.edu>
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: <slrnc82sne.2aq.fdc@sesame.cc.columbia.edu>
References: <c5rav3$vnt$1@newsreader1.utanet.at> <40814a75$0$17263$a1866201@newsreader.visi.com> <c5ri2b$4p1$1@newsreader1.utanet.at> <40815dad$0$17253$a1866201@newsreader.visi.com> <c5rn96$84g$1@newsreader1.utanet.at>
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 <z3r0c00l@utanet.at> wrote:
: Grant Edwards wrote:
:> In article <c5ri2b$4p1$1@newsreader1.utanet.at>, 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 <jaltman2@nyc.rr.com>
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 <Petri_member@newsguy.com>
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: <c61fv402ovm@drn.newsguy.com>
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 <jaltman2@nyc.rr.com>
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: <c61fv402ovm@drn.newsguy.com>
In-Reply-To: <c61fv402ovm@drn.newsguy.com>
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 <jaltman2@nyc.rr.com>
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: <c61fv402ovm@drn.newsguy.com> <40846581.8040401@nyc.rr.com> <c62ppq0j4p@drn.newsguy.com>
In-Reply-To: <c62ppq0j4p@drn.newsguy.com>
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 <Petri_member@newsguy.com>
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: <c62tbi0scm@drn.newsguy.com>
References: <c61fv402ovm@drn.newsguy.com> <40846581.8040401@nyc.rr.com> <c62ppq0j4p@drn.newsguy.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 <not-a-real-address@usa.net>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Running kermit from within glftpd
Date: 20 Apr 2004 03:07:19 GMT
Organization: earthfriends
Message-ID: <m1y8or8iss.gnus@usa.net>
References: <c61fv402ovm@drn.newsguy.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: 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 <Petri_member@newsguy.com>
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: <c62oqj0g6e@drn.newsguy.com>
References: <c61fv402ovm@drn.newsguy.com> <m1y8or8iss.gnus@usa.net>
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 <m1y8or8iss.gnus@usa.net>, 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 <Petri_member@newsguy.com>
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: <c63ahj022do@drn.newsguy.com>
References: <c61fv402ovm@drn.newsguy.com> <m1y8or8iss.gnus@usa.net>
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 <m1y8or8iss.gnus@usa.net>, 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 <kramer@eig.com>
Subject: Re: Kermit-C and logging
Newsgroups: comp.protocols.kermit.misc
References: <oRwfc.343$kb.20640@news.uswest.net> <slrnc7tae8.4fi.fdc@sesame.cc.columbia.edu>
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: <Cmahc.6$C73.7321@news.uswest.net>
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 <root@sbic.com> 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 <fdc@columbia.edu>
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: <slrnc8adv5.63e.fdc@sesame.cc.columbia.edu>
References: <oRwfc.343$kb.20640@news.uswest.net> <slrnc7tae8.4fi.fdc@sesame.cc.columbia.edu> <Cmahc.6$C73.7321@news.uswest.net>
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 <kramer@eig.com> 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 <jaltman2@nyc.rr.com>
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: <c61fv402ovm@drn.newsguy.com> <m1y8or8iss.gnus@usa.net> <c63ahj022do@drn.newsguy.com>
In-Reply-To: <c63ahj022do@drn.newsguy.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 12
Message-ID: <KXahc.24803$mX.7955553@twister.nyc.rr.com>
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 <fdc@columbia.edu>
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: <slrnc8ag45.8v3.fdc@sesame.cc.columbia.edu>
References: <c61fv402ovm@drn.newsguy.com> <m1y8or8iss.gnus@usa.net> <c63ahj022do@drn.newsguy.com> <KXahc.24803$mX.7955553@twister.nyc.rr.com>
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 <jaltman2@nyc.rr.com> 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 <jaltman2@nyc.rr.com>
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: <c61fv402ovm@drn.newsguy.com> <m1y8or8iss.gnus@usa.net> <c63ahj022do@drn.newsguy.com> <KXahc.24803$mX.7955553@twister.nyc.rr.com> <slrnc8ag45.8v3.fdc@sesame.cc.columbia.edu>
In-Reply-To: <slrnc8ag45.8v3.fdc@sesame.cc.columbia.edu>
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 <jaltman2@nyc.rr.com> 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 <Petri_member@newsguy.com>
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: <c62ppq0j4p@drn.newsguy.com>
References: <c61fv402ovm@drn.newsguy.com> <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 <Petri_member@newsguy.com>
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: <c63j1h02vut@drn.newsguy.com>
References: <c61fv402ovm@drn.newsguy.com> <m1y8or8iss.gnus@usa.net> <c63ahj022do@drn.newsguy.com> <KXahc.24803$mX.7955553@twister.nyc.rr.com> <slrnc8ag45.8v3.fdc@sesame.cc.columbia.edu>
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 <slrnc8ag45.8v3.fdc@sesame.cc.columbia.edu>, Frank da Cruz says...
> On 2004-04-20, Jeffrey Altman <jaltman2@nyc.rr.com> 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 <Petri_member@newsguy.com>
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: <c63t4n0v0d@drn.newsguy.com>
References: <c61fv402ovm@drn.newsguy.com> <m1y8or8iss.gnus@usa.net> <c63ahj022do@drn.newsguy.com> <KXahc.24803$mX.7955553@twister.nyc.rr.com> <slrnc8ag45.8v3.fdc@sesame.cc.columbia.edu> <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 <fdc@columbia.edu>
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: <slrnc8b02s.dfv.fdc@sesame.cc.columbia.edu>
References: <c61fv402ovm@drn.newsguy.com> <m1y8or8iss.gnus@usa.net> <c63ahj022do@drn.newsguy.com> <KXahc.24803$mX.7955553@twister.nyc.rr.com> <slrnc8ag45.8v3.fdc@sesame.cc.columbia.edu> <40854371.4070504@nyc.rr.com> <c63t4n0v0d@drn.newsguy.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 <Petri_member@newsguy.com> 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 <Petri_member@newsguy.com>
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: <c65b4802jq3@drn.newsguy.com>
References: <c61fv402ovm@drn.newsguy.com> <m1y8or8iss.gnus@usa.net> <c63ahj022do@drn.newsguy.com> <KXahc.24803$mX.7955553@twister.nyc.rr.com> <slrnc8ag45.8v3.fdc@sesame.cc.columbia.edu> <40854371.4070504@nyc.rr.com> <c63t4n0v0d@drn.newsguy.com> <slrnc8b02s.dfv.fdc@sesame.cc.columbia.edu>
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 <slrnc8b02s.dfv.fdc@sesame.cc.columbia.edu>, 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 <Petri_member@newsguy.com>
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: <c66g0g02r4l@drn.newsguy.com>
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 <jaltman2@nyc.rr.com>
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: Creating FTP connection to port higher than 32767
References: <c66g0g02r4l@drn.newsguy.com>
In-Reply-To: <c66g0g02r4l@drn.newsguy.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 26
Date: Wed, 21 Apr 2004 20:48:11 GMT
NNTP-Posting-Host: 24.193.46.55
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1082580491 24.193.46.55 (Wed, 21 Apr 2004 16:48:11 EDT)
NNTP-Posting-Date: Wed, 21 Apr 2004 16:48:11 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14956

Change the definition of "ftp_port" in ckcftp.c from "short" to 
"unsigned short"

Petri wrote:
> 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
> 

-- 
-----------------
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 Wed Apr 21 18:12:17 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 <Petri_member@newsguy.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Creating FTP connection to port higher than 32767
Date: 21 Apr 2004 14:42:30 -0700
Organization: Newsguy News Service [http://newsguy.com]
Lines: 32
Message-ID: <c66ps60opb@drn.newsguy.com>
References: <c66g0g02r4l@drn.newsguy.com> <4086E029.3090500@nyc.rr.com>
NNTP-Posting-Host: p-943.newsdawg.com
X-Newsreader: Direct Read News 4.20
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14957

In article <4086E029.3090500@nyc.rr.com>, Jeffrey Altman says...
>Petri wrote:
>> 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"

>> Still at the Kermit prompt, if I instead type 'telnet
>> ftp.somesite.net 45451', I do get connected to the FTP-server.

> Change the definition of "ftp_port" in ckcftp.c from "short" to 
> "unsigned short"

Thanks, I did!

I ran 'make clean' and 'make redhat9', but now I get another error message I
didn't have before the change:
(/root/ckermit/) C-Kermit>set ftp command-protection-level clear       
(/root/ckermit/) C-Kermit>set ftp command-protection-level confidential
(/root/ckermit/) C-Kermit>set ftp command-protection-level private
?Cannot set protection level to PRIVATE
(/root/ckermit/) C-Kermit>set ftp data-protection-level clear
(/root/ckermit/) C-Kermit>set ftp data-protection-level confidential
(/root/ckermit/) C-Kermit>set ftp data-protection-level private     
?Cannot set protection level to PRIVATE

Well, you are the best person to interpret what's wrong, I guess.


Petri


From jaltman2@nyc.rr.com Wed Apr 21 18:19:17 2004
Path: newsmaster.cc.columbia.edu!panix!news.linkpendium.com!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: <4086F2BD.40402@nyc.rr.com>
From: Jeffrey Altman <jaltman2@nyc.rr.com>
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: Creating FTP connection to port higher than 32767
References: <c66g0g02r4l@drn.newsguy.com> <4086E029.3090500@nyc.rr.com> <c66ps60opb@drn.newsguy.com>
In-Reply-To: <c66ps60opb@drn.newsguy.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 47
Date: Wed, 21 Apr 2004 22:07:26 GMT
NNTP-Posting-Host: 24.193.46.55
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1082585246 24.193.46.55 (Wed, 21 Apr 2004 18:07:26 EDT)
NNTP-Posting-Date: Wed, 21 Apr 2004 18:07:26 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14958

If it worked before and doesn't work now, something else must have changed.



Petri wrote:
> In article <4086E029.3090500@nyc.rr.com>, Jeffrey Altman says...
> 
>>Petri wrote:
>>
>>>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"
> 
> 
>>>Still at the Kermit prompt, if I instead type 'telnet
>>>ftp.somesite.net 45451', I do get connected to the FTP-server.
> 
> 
>>Change the definition of "ftp_port" in ckcftp.c from "short" to 
>>"unsigned short"
> 
> 
> Thanks, I did!
> 
> I ran 'make clean' and 'make redhat9', but now I get another error message I
> didn't have before the change:
> (/root/ckermit/) C-Kermit>set ftp command-protection-level clear       
> (/root/ckermit/) C-Kermit>set ftp command-protection-level confidential
> (/root/ckermit/) C-Kermit>set ftp command-protection-level private
> ?Cannot set protection level to PRIVATE
> (/root/ckermit/) C-Kermit>set ftp data-protection-level clear
> (/root/ckermit/) C-Kermit>set ftp data-protection-level confidential
> (/root/ckermit/) C-Kermit>set ftp data-protection-level private     
> ?Cannot set protection level to PRIVATE
> 
> Well, you are the best person to interpret what's wrong, I guess.
> 
> 
> 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 Thu Apr 22 10:49:10 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
From: Jeffrey Altman <jaltman2@nyc.rr.com>
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: Post 2.1.3 Bug Fixes and New Features for Kermit 95
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 154
Message-ID: <j7Jhc.26404$mX.8468588@twister.nyc.rr.com>
Date: Thu, 22 Apr 2004 05:55:27 GMT
NNTP-Posting-Host: 24.193.46.55
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1082613327 24.193.46.55 (Thu, 22 Apr 2004 01:55:27 EDT)
NNTP-Posting-Date: Thu, 22 Apr 2004 01:55:27 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14959

Since the release of Kermit 95 2.1.3 in January 2003, I have fixed 
numerous bugs and added a few new features to the Kermit 95 code base.
The 72 bugs are detailed in the Kermit 95 New Bugs List

   ftp://ftp.kermit.columbia.edu/kermit/k95/newbugs.txt

numbers 717 to 788 (as of this writing.)  A summary of the fixes and new
features follow:

!!! Fixed a bug preventing the execution of macros assigned to keys or
     mouse events when in terminal mode
   * added DG4xx Set Cursor Type sequence  <RS> F Q <type>
!!! the dialer did not save the values of menubar, toolbar, statusbar
     settings on the gui page
   * a SEND command embedded in a macro and executed as a function with
     \Fexecute(macro) would cause K95 to crash
   * timeouts were added to incoming tcp/ip server sockets to prevent
     denial of service attacks
   * the passphrase dialog box for private keys accessed during SSL/TLS
     did not obscure passphrase input
!!! OpenSSL has been updated to close known security holes
!!! SSH support has been updated to close known security holes
   * when a HANDLE to a communication device, SET EXIT HANGUP OFF is
     now the default
   * Support for Pragma Systems Terminal Server connections were added
   * ENABLE QUERY command was fixed
   * Support for using HTTP Proxies to make HTTP connections was added
   * Corrections to the AnnArbor terminal emulation handling of zSDP
   * UNC paths now supported for FTP operations
   * the dialer's QUICK command now supports connections based on
     templates and includes a SaveAs operation (a poor man's clone)
   * Linux Character Set handling fixed
   * Xmodem-CRC checksums fixed
   * Inadvertant beep produced when setting the title in a terminal
     session removed
!!! Debug logging of SSH operations added
   * ADM5 terminal type added
   * Corrections to START_TLS vs AUTH Telnet Protocol negotiation
     conflicts
   * Added SET SSH V2 AUTO-REKEY
   * SSH URLs did not properly set the window title
!!! extended command line options were not properly processed
   * new SKERMIT command
!!! a handle leak in the IKSD Service was plugged
   * new SET FTP BUG USE_SSL_V2 {ON, OFF} command
   * new SET SSH HEARTBEAT-INTERVAL <seconds> command
   * new ON_CD macro.  This macro is executed (if defined) whenever a
     change directory operation occurs.
   * added FTP MLSD parsing of extended strings
   * added SET ATTRIBUTES DATE OFF support for XYZmodem transfers
   * improved algorithm for calculating optimal number of overlapped
     I/O operations on serial connections
   * Improvements to Kerberos 5 support
!!! Fixed FTP ASCII sends
   * added SET TCP HTTP-PROXY /AGENT:<agent>
!!! fixed timeout parameters used on USB serial devices and internal
     modems
   * SET DIALER BACKSPACE now clears the equivalent SET KEY and SET
     TERM KEY values
   * When reading strings from the Windows registry, environment
     variables are now expanded
   * fixed the ability to disable reverse dns lookups
   * fixed code that checks if a name is a directory to work on network
     mapped file systems which do not provide creation date information
     for directories.
   * added missing keymap assignments for IBM 3151 emulation
!!! the dialer did not preserve alternative port numbers for FTP
     connections
   * removed a Windows Event Log entry logged before the IKSD.KSC file
     could be processed to disable all logging
   * HyperLink Extensions were added to ANSI based terminals allowing
     URLs and UNCs to be specified within the terminal stream just like
     HREFs work in HTML
   * Fixed improper handling of DCS sequences consisting of an
     intermediary '$' character
   * Add SET TELNET BUG AUTH-KRB5-DES which defaults to ON.  When OFF,
     3DES encryption may be used with KRB5 Telnet authentication.
   * Replaced C runtime library stat() calls with home grown version to
     allow for proper processing of UNCs in file transfer operations
   * Allow SET TITLE input to be surrounded by braces
   * Implemented {SEND, RECEIVE} {MOVE-TO, RENAME-TO} for XYZmodem
     transfers
   * Fixed SEND /MOVE-TO:directory file transfers
   * Fixed SET TERMINAL DEBUG ON
   * Fixed BEEP INFORMATION (and any events that trigger an Informational
     audible notification)
   * Removed restriction of FTP GSSAPI exchanges limiting them to one
     round-trip
!!! Rebuilt all binaries with the new Microsoft Visual Studio .NET 2003
     compiler.  The primary benefits are optimizations and security
     precautions.
   * Fixed a bug preventing (CSI Z) backtab from being executed.
   * Add a GUI dialog version of the TYPE command to K95G
   * SCO SGR Set fg/bg colors hack  (CSI 2;fg;bg m)  The implementation
     set the colors to black on black regardless to what was specified
   * SCO Set Function Key hack (ESC Q fn quote ... quote)
     If the <fn> character is below '0', don't throw it away; instead
     push the character back into the input stream and reprocess it.
!!! IBM EDI Services fails randomly due to a "missing tmp rsa export
     key" error.
   * Fixed incorrect script generation by the dialer when Transaction
     Logging was turned on.  The SET TRANSACTION-LOG command was
     incompletely generated.
!!! Added support for Named Pipe connections (both client and server
     side) on Windows.  Allows the use of Kermit 95 as a terminal or
     host based syslogger for Linux systems running on VMWare 3.0 and
     higher.

The items identified by !!! are those which I consider to be the most
important.  As described on my Columbia University home page

   http://www.columbia.edu/~jaltman/

the Kermit Project is working hard to put the necessary agreements in
place for a new release of Kermit 95 which would include all of these
changes.  Unfortunately, this has taken much longer than anyone could
possibly have expected.  In the meantime I have been quietly making
interim builds available to registered Kermit 95 users who have
experienced serious problems and as a result have contacted
kermit-support@columbia.edu.

These changes will eventually find their way into an official
Kermit 95 release from the Kermit Project.  If you are a registered
user and would like to gain immediate access to these changes,
please make a donation to support my on-going work on Kermit from
my Columbia University home page.  I wish I could provide these
updates for free.  Unfortunately, at the present time this is
not an option.

Just as an FYI, in addition to the work I have performed on Kermit,
my new company, Secure Endpoints Inc., continues to contribute
to the development of MIT Kerberos, OpenAFS, OpenSSL, Project JXTA
and the protocol standardization efforts of the IETF.

One more note for those who are using Kermit 95 in
conjunction with Kerberos.  The version of MIT Kerberos for Windows
that shipped with Kermit 95 2.1.3 was based on the unreleased
KFW 2.2.  Since K95 2.1.3 there have been major changes to
the KFW product which I have implemented over the last fifteen
months.  I recommend that the Kerberos libraries provided with
Kermit 95 be uninstalled and be replaced by the MIT KFW 2.6.1
distribution which can be downloaded free of charge from

   http://web.mit.edu/kerberos/dist/index.html#KFW2.6.1

Jeffrey Altman
Kermit 95 Author
Secure Endpoints Inc.

-- 
The e-mail account used to post this message is not read on a regular 
basis.  Please send private responses to:
     jaltman at secure-endpoints dot com


From Petri_member@newsguy.com Thu Apr 22 10:49:18 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 <Petri_member@newsguy.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Creating FTP connection to port higher than 32767
Date: 22 Apr 2004 03:16:22 -0700
Organization: Newsguy News Service [http://newsguy.com]
Lines: 55
Message-ID: <c6861m02qdn@drn.newsguy.com>
References: <c66g0g02r4l@drn.newsguy.com> <4086E029.3090500@nyc.rr.com> <c66ps60opb@drn.newsguy.com> <4086F2BD.40402@nyc.rr.com>
NNTP-Posting-Host: p-548.newsdawg.com
X-Newsreader: Direct Read News 4.20
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14960

In article <4086F2BD.40402@nyc.rr.com>, Jeffrey Altman says...
>>>> If I try to connect with 'ftp ftp.somesite.net 45451' at the
>>>> Kermit prompt, I get the following response:
>>>> ?Bad port name - "45451"

>>> Change the definition of "ftp_port" in ckcftp.c from "short" to 
>>> "unsigned short"

>> I ran 'make clean' and 'make redhat9', but now I get another error
>> message I didn't have before the change:
>> (/root/ckermit/) C-Kermit>set ftp command-protection-level private
>> ?Cannot set protection level to PRIVATE
>> (/root/ckermit/) C-Kermit>set ftp data-protection-level private     
>> ?Cannot set protection level to PRIVATE

> If it worked before and doesn't work now, something else must have
> changed.

The only change I made in the source was adding "unsigned" into the variable
declaration, as you specfied above.

Now I noticed this too:
(/root/ckermit/) C-Kermit>set ftp command-protection-level safe
?Cannot set protection level to SAFE
(/root/ckermit/) C-Kermit>set ftp data-protection-level safe   
?Cannot set protection level to SAFE

I haven't tried the SAFE setting before, I haven't needed it.
But I have used PRIVATE without any warnings, that I am sure of.
The docs says SAFE and PRIVATE have "protected against tampering" in common, I
guess that means it's a hashing of the data.

I removed the "unsigned" declaration and recompiled for redhat9 again, to see if
the error message really disappears after the change is undone, and it does not.
PRIVATE does not work any more.
Maybe I'm crazy, but I ran Kermit several times earlier, to find the most
optimum settings for my needs.
I was satisfied when everything worked and I had no error messages.

I haven't changed anything in the system, I've only copied dependencies to the
glftpd jail.
I have run Kermit with strace, to see if there are any system dependencies that
are not found, but there is nothing there that I can interpret from it.
Neither have I touched C in a decade, so the source isn't that helpful either.

I do get a lot of warnings when I run 'make redhat9', as I commented in an
earlier post.
Is that normal?
Is it perhaps related to this?
This system has all available updates from the Redhat Up2date service, except
those for X.


Petri


From jaltman2@nyc.rr.com Thu Apr 22 10:49:26 2004
Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.net!news.maxwell.syr.edu!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: <4087C5C2.9020304@nyc.rr.com>
From: Jeffrey Altman <jaltman2@nyc.rr.com>
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: Creating FTP connection to port higher than 32767
References: <c66g0g02r4l@drn.newsguy.com> <4086E029.3090500@nyc.rr.com> <c66ps60opb@drn.newsguy.com> <4086F2BD.40402@nyc.rr.com> <c6861m02qdn@drn.newsguy.com>
In-Reply-To: <c6861m02qdn@drn.newsguy.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 31
Date: Thu, 22 Apr 2004 13:11:17 GMT
NNTP-Posting-Host: 24.193.46.55
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1082639477 24.193.46.55 (Thu, 22 Apr 2004 09:11:17 EDT)
NNTP-Posting-Date: Thu, 22 Apr 2004 09:11:17 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14961

You do realize that you cannot set the protection level to any
value other than CLEAR unless you have already made an FTP
connection which is protected by an AUTH command.

When using SSL and TLS the only legal values are CLEAR and PRIVATE.
Both the PRIVATE command and data protection levels are both
automatically negotiated for you when you establish the connection.

Jeffrey Altman
Secure Endpoints Inc.


Petri wrote:

> In article <4086F2BD.40402@nyc.rr.com>, Jeffrey Altman says...
> 
>>>>>If I try to connect with 'ftp ftp.somesite.net 45451' at the
>>>>>Kermit prompt, I get the following response:
>>>>>?Bad port name - "45451"
> 
> 
>>>>Change the definition of "ftp_port" in ckcftp.c from "short" to 
>>>>"unsigned short"
> 
> 
>>>I ran 'make clean' and 'make redhat9', but now I get another error
>>>message I didn't have before the change:
>>>(/root/ckermit/) C-Kermit>set ftp command-protection-level private
>>>?Cannot set protection level to PRIVATE
>>>(/root/ckermit/) C-Kermit>set ftp data-protection-level private     
>>>?Cannot set protection level to PRIVATE

From Petri_member@newsguy.com Thu Apr 22 12:04:55 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!logbridge.uoregon.edu!arclight.uoregon.edu!wn52feed!worldnet.att.net!129.250.175.17!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!drn
From: Petri <Petri_member@newsguy.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Creating FTP connection to port higher than 32767
Date: 22 Apr 2004 08:34:10 -0700
Organization: Newsguy News Service [http://newsguy.com]
Lines: 36
Message-ID: <c68oli01pr9@drn.newsguy.com>
References: <c66g0g02r4l@drn.newsguy.com> <4086E029.3090500@nyc.rr.com> <c66ps60opb@drn.newsguy.com> <4086F2BD.40402@nyc.rr.com> <c6861m02qdn@drn.newsguy.com> <4087C5C2.9020304@nyc.rr.com>
NNTP-Posting-Host: p-213.newsdawg.com
X-Newsreader: Direct Read News 4.20
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14962

In article <4087C5C2.9020304@nyc.rr.com>, Jeffrey Altman says...
>>>> (/root/ckermit/) C-Kermit>set ftp command-protection-level
>>>> private
>>>> ?Cannot set protection level to PRIVATE

> You do realize that you cannot set the protection level to
> any value other than CLEAR unless you have already made an
> FTP connection which is protected by an AUTH command.

No.
Should I? :)

In fact, during debugging of the other problems a couple of days ago, I reverted
to CONFIDENTIAL, and moved the commands around in the Kermit script, to see if I
could spot some problems.
Now when I got the other stuff working, I just committed what I had to
autogeneration in Perl and started using it. :)

> When using SSL and TLS the only legal values are CLEAR and
> PRIVATE.
> Both the PRIVATE command and data protection levels are both
> automatically negotiated for you when you establish the
> connection.

I have to switch off data encryption on some sites, that's why I am even
touching these settings in the first place.
I noticed then that when I fed PRIVATE into the kermit script as usual, it
suddenly failed now.
But that was me causing it. :)

Thanks once more for your help and time!
(we found a bug in Kermit, so it wasn't all wasted, right? :) )


Petri


From Petri_member@newsguy.com Fri Apr 23 09:18:55 2004
Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!pln-e!spln!dex!extra.newsguy.com!newsp.newsguy.com!drn
From: Petri <Petri_member@newsguy.com>
Newsgroups: comp.protocols.kermit.misc
Subject: FTP site-to-site transfers available in Kermit?
Date: 22 Apr 2004 15:10:29 -0700
Organization: Newsguy News Service [http://newsguy.com]
Lines: 38
Message-ID: <c69fsl0vsl@drn.newsguy.com>
NNTP-Posting-Host: p-719.newsdawg.com
X-Newsreader: Direct Read News 4.20
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14963

Hi everyone, :)

Now that I'm comfortable with interfacing with Kermit from glftpd and connecting
to other encrypted FTP-servers, I have started looking at the more important
features requested, like file transfers.

I just recieved a late request for using site-to-site transfers. :/
The reason is, that glftpd maintains indexes (which the SITE SEARCH command
uses), and statistics for all transferred traffic.
If I insert files into the local FTP-folders by other means than using the
actual FTP-server, the server would need periodic reindexing, and traffic
statistics would become incorrect.

If available, I would like to use the site-to-site method, by establishing
control-sessions to both FTP-servers, and instructing them to send files between
eachother.

This is mentioned in RFC959, section 3.2:
"It is possible for the user to specify an alternate data port by
use of the PORT command.  The user may want a file dumped on a TAC
line printer or retrieved from a third party host.  In the latter
case, the user-PI sets up control connections with both
server-PI's.  One server is then told (by an FTP command) to
"listen" for a connection which the other will initiate.  The
user-PI sends one server-PI a PORT command indicating the data
port of the other.  Finally, both are sent the appropriate
transfer commands."

Is this feature available in C-Kermit?

If not, I'll have to collect files from the remote hosts to a local temp folder,
and then do a second session against localhost to insert the files into the
local site.
Not a biggie, but if I could avoid it, I would. :)


Petri


From jaltman2@nyc.rr.com Fri Apr 23 09:18:58 2004
Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.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: <40884E7F.7090604@nyc.rr.com>
From: Jeffrey Altman <jaltman2@nyc.rr.com>
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 site-to-site transfers available in Kermit?
References: <c69fsl0vsl@drn.newsguy.com>
In-Reply-To: <c69fsl0vsl@drn.newsguy.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 49
Date: Thu, 22 Apr 2004 22:51:11 GMT
NNTP-Posting-Host: 24.193.46.55
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1082674271 24.193.46.55 (Thu, 22 Apr 2004 18:51:11 EDT)
NNTP-Posting-Date: Thu, 22 Apr 2004 18:51:11 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14964

No, FTP does not support FTP PROXY mode.
This is an insecure operation which has been used for the execution of
Denial of Service Attacks.  Please find another way.


Petri wrote:
> Hi everyone, :)
> 
> Now that I'm comfortable with interfacing with Kermit from glftpd and connecting
> to other encrypted FTP-servers, I have started looking at the more important
> features requested, like file transfers.
> 
> I just recieved a late request for using site-to-site transfers. :/
> The reason is, that glftpd maintains indexes (which the SITE SEARCH command
> uses), and statistics for all transferred traffic.
> If I insert files into the local FTP-folders by other means than using the
> actual FTP-server, the server would need periodic reindexing, and traffic
> statistics would become incorrect.
> 
> If available, I would like to use the site-to-site method, by establishing
> control-sessions to both FTP-servers, and instructing them to send files between
> eachother.
> 
> This is mentioned in RFC959, section 3.2:
> "It is possible for the user to specify an alternate data port by
> use of the PORT command.  The user may want a file dumped on a TAC
> line printer or retrieved from a third party host.  In the latter
> case, the user-PI sets up control connections with both
> server-PI's.  One server is then told (by an FTP command) to
> "listen" for a connection which the other will initiate.  The
> user-PI sends one server-PI a PORT command indicating the data
> port of the other.  Finally, both are sent the appropriate
> transfer commands."
> 
> Is this feature available in C-Kermit?
> 
> If not, I'll have to collect files from the remote hosts to a local temp folder,
> and then do a second session against localhost to insert the files into the
> local site.
> Not a biggie, but if I could avoid it, I would. :)
> 
> 
> Petri
> 

-- 
-----------------
This e-mail account is not read on a regular basis.
Please send private responses to jaltman at mit dot edu

From not-a-real-address@usa.net Fri Apr 23 09:19:00 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-02!sn-post-01!supernews.com!news.supernews.com!not-for-mail
From: those who know me have no need of my name <not-a-real-address@usa.net>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: FTP site-to-site transfers available in Kermit?
Date: 23 Apr 2004 07:04:17 GMT
Organization: earthfriends
Message-ID: <m11xmffaah.gnus@usa.net>
References: <c69fsl0vsl@drn.newsguy.com> <40884E7F.7090604@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: 17
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14965

in comp.protocols.kermit.misc i read:

>No, FTP does not support FTP PROXY mode.
>This is an insecure operation which has been used for the execution of
>Denial of Service Attacks.  

but was loverly when the net was a nicer place.

>Please find another way.

kermit doesn't implement fxp (an attempt to make proxy mode secure).

perhaps glftpd does -- glftpd smells like a warez-originated daemon and the
warez community seems to like fxp too.

-- 
a signature

From Petri_member@newsguy.com Fri Apr 23 09:19:03 2004
Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!newsxfer.eecs.umich.edu!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!drn
From: Petri <Petri_member@newsguy.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: FTP site-to-site transfers available in Kermit?
Date: 23 Apr 2004 02:25:58 -0700
Organization: Newsguy News Service [http://newsguy.com]
Lines: 25
Message-ID: <c6anf601bpm@drn.newsguy.com>
References: <c69fsl0vsl@drn.newsguy.com> <40884E7F.7090604@nyc.rr.com> <m11xmffaah.gnus@usa.net>
NNTP-Posting-Host: p-439.newsdawg.com
X-Newsreader: Direct Read News 4.20
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14966

In article <m11xmffaah.gnus@usa.net>, those who know me have no need of my name
says...
> kermit doesn't implement fxp (an attempt to make proxy mode secure).

Too bad. :(

> perhaps glftpd does -- glftpd smells like a warez-originated daemon
> and the warez community seems to like fxp too.

Yes, It seems that the guys who initially installed this thing have some
experience from that field. :/
It would explain the choice of glftpd, which at first glance looks like a
strange piece of software to rely upon for any sort of service.

But having worked with glftpd for a while now, I have reluctantly become
impressed by it, mostly for its' solid behaviour, unexpected and innovative
features, and the interfaces that let you expand upon it so easily.
There are some really cool plugins out there for it.

But no FXP in Kermit then, oh well.
Thanks for your reply!


Petri


From Petri_member@newsguy.com Fri Apr 23 09:19:06 2004
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!newsfeed.mesh.ad.jp!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!drn
From: Petri <Petri_member@newsguy.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: FTP site-to-site transfers available in Kermit?
Date: 23 Apr 2004 02:33:48 -0700
Organization: Newsguy News Service [http://newsguy.com]
Lines: 25
Message-ID: <c6ants01cmb@drn.newsguy.com>
References: <c69fsl0vsl@drn.newsguy.com> <40884E7F.7090604@nyc.rr.com>
NNTP-Posting-Host: p-585.newsdawg.com
X-Newsreader: Direct Read News 4.20
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14967

In article <40884E7F.7090604@nyc.rr.com>, Jeffrey Altman says...
>> If available, I would like to use the site-to-site method, by
>> establishing control-sessions to both FTP-servers, and instructing
>> them to send files between eachother.

>> Is this feature available in C-Kermit?

> No, FTP does not support FTP PROXY mode.

A feature missing in Kermit?
Say it isn't so..!

> This is an insecure operation which has been used for the execution
> of Denial of Service Attacks.

Brr.
Don't want that.

> Please find another way.

Thanks, I will. :)


Petri


From finhead@optonline.net Fri Apr 23 11:36:57 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!solnet.ch!solnet.ch!newsfeed.mountaincable.net!news.glorb.com!postnews1.google.com!not-for-mail
From: finhead@optonline.net (finhead)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit screen resolution
Date: 23 Apr 2004 07:27:47 -0700
Organization: http://groups.google.com
Lines: 17
Message-ID: <456f3f60.0404230627.46fc3f02@posting.google.com>
References: <456f3f60.0404160710.603aa883@posting.google.com> <408010B1.7070600@nyc.rr.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 1082730467 6253 127.0.0.1 (23 Apr 2004 14:27:47 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 23 Apr 2004 14:27:47 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14968

This is Kermit version 2.1.3. In the edit section I select GUI. I then
select th option to run maximized. Is this correct? The shortcut
should follow these settings right?


Jeffrey Altman <jaltman2@nyc.rr.com> wrote in message news:<408010B1.7070600@nyc.rr.com>...
> 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 jaltman2@nyc.rr.com Fri Apr 23 11:37:04 2004
Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.net!news.glorb.com!cyclone1.gnilink.net!gnilink.net!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!53ab2750!not-for-mail
Message-ID: <40892C2A.1000404@nyc.rr.com>
From: Jeffrey Altman <jaltman2@nyc.rr.com>
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> <408010B1.7070600@nyc.rr.com> <456f3f60.0404230627.46fc3f02@posting.google.com>
In-Reply-To: <456f3f60.0404230627.46fc3f02@posting.google.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 12
Date: Fri, 23 Apr 2004 14:44:03 GMT
NNTP-Posting-Host: 24.193.46.55
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1082731443 24.193.46.55 (Fri, 23 Apr 2004 10:44:03 EDT)
NNTP-Posting-Date: Fri, 23 Apr 2004 10:44:03 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14969

I have a strange feeling you are using an Alpha version of 2.1.3 or 
2.1.2 or earlier.  This problem was fixed in Beta 1 of 2.1.3 (Jan 3, 2003)

Jeffrey Altman
Kermit 95 Author
Secure Endpoints Inc


finhead wrote:
> This is Kermit version 2.1.3. In the edit section I select GUI. I then
> select th option to run maximized. Is this correct? The shortcut
> should follow these settings right?

From jaltman2@nyc.rr.com Fri Apr 23 15:38:57 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: <40896B0B.9050001@nyc.rr.com>
From: Jeffrey Altman <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040421
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> <408010B1.7070600@nyc.rr.com> <456f3f60.0404230627.46fc3f02@posting.google.com> <40892C2A.1000404@nyc.rr.com> <456f3f60.0404231108.19555b96@posting.google.com>
In-Reply-To: <456f3f60.0404231108.19555b96@posting.google.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 38
Date: Fri, 23 Apr 2004 19:12:19 GMT
NNTP-Posting-Host: 24.193.46.55
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1082747539 24.193.46.55 (Fri, 23 Apr 2004 15:12:19 EDT)
NNTP-Posting-Date: Fri, 23 Apr 2004 15:12:19 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14970

What did you download and where did you get it from?
The final release of 2.1.3 was made available on Jan 21, 2003
and it contained the fix.

If you want something later than that, please read the contents
of   http://www.columbia.edu/~jaltman/  or the thread entitled
"Post 2.1.3 Bug Fixes and New Features for Kermit 95" which appeared
in this newsgroup yesterday.

Jeffrey Altman
Secure Endpoints Inc


finhead wrote:
> Where can I get the beta version of 2.1.3? I donwloaded what they have
> on the web a few days ago.
> 
> Jeffrey Altman <jaltman2@nyc.rr.com> wrote in message 
> news:<40892C2A.1000404@nyc.rr.com>...
> 
>>I have a strange feeling you are using an Alpha version of 2.1.3 or 
>>2.1.2 or earlier.  This problem was fixed in Beta 1 of 2.1.3 (Jan 3, 2003)
>>
>>Jeffrey Altman
>>Kermit 95 Author
>>Secure Endpoints Inc
>>
>>
>>finhead wrote:
>>
>>>This is Kermit version 2.1.3. In the edit section I select GUI. I then
>>>select th option to run maximized. Is this correct? The shortcut
>>>should follow these settings right?

-- 
-----------------
This e-mail account is not read on a regular basis.
Please send private responses to jaltman at mit dot edu

From finhead@optonline.net Fri Apr 23 15:53:14 2004
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newspump.monmouth.com!newspeer.monmouth.com!priapus.visi.com!orange.octanews.net!news.octanews.net!green.octanews.net!news-out.octanews.net!news.glorb.com!postnews1.google.com!not-for-mail
From: finhead@optonline.net (finhead)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit screen resolution
Date: 23 Apr 2004 12:08:18 -0700
Organization: http://groups.google.com
Lines: 17
Message-ID: <456f3f60.0404231108.19555b96@posting.google.com>
References: <456f3f60.0404160710.603aa883@posting.google.com> <408010B1.7070600@nyc.rr.com> <456f3f60.0404230627.46fc3f02@posting.google.com> <40892C2A.1000404@nyc.rr.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 1082747299 26106 127.0.0.1 (23 Apr 2004 19:08:19 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 23 Apr 2004 19:08:19 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14971

Where can I get the beta version of 2.1.3? I donwloaded what they have
on the web a few days ago.

Jeffrey Altman <jaltman2@nyc.rr.com> wrote in message 
news:<40892C2A.1000404@nyc.rr.com>...
> I have a strange feeling you are using an Alpha version of 2.1.3 or 
> 2.1.2 or earlier.  This problem was fixed in Beta 1 of 2.1.3 (Jan 3, 2003)
> 
> Jeffrey Altman
> Kermit 95 Author
> Secure Endpoints Inc
> 
> 
> finhead wrote:
> > This is Kermit version 2.1.3. In the edit section I select GUI. I then
> > select th option to run maximized. Is this correct? The shortcut
> > should follow these settings right?

From dkcombs@panix.com Fri Apr 23 16:13:43 2004
Path: newsmaster.cc.columbia.edu!panix!panix3.panix.com!not-for-mail
From: dkcombs@panix.com (David Combs)
Newsgroups: comp.protocols.kermit.misc
Subject: Does Kermit have stuff built-in for dialing-in to (TTS) Cortel-lines?
Date: 23 Apr 2004 16:11:05 -0400
Organization: PANIX -- Public Access Networks Corp.
Lines: 160
Message-ID: <c6bt8p$83m$1@panix3.panix.com>
NNTP-Posting-Host: panix3.panix.com
X-Trace: reader2.panix.com 1082751065 17045 166.84.1.3 (23 Apr 2004 20:11:05 GMT)
X-Complaints-To: abuse@panix.com
NNTP-Posting-Date: Fri, 23 Apr 2004 20:11:05 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14972

Hoping that maybe *something* in them will trigger
some memory or thought,
here's a copy of an email I sent to my shell-acct ISP, re
their dial-in somehow operating differently these days -- seems
it now uses TTS authentication, after I enter "panix.com" to
it's "host" prompt, simply says "authentication succeeded",
and instantly then hangs -- even before giving me an actual "Login" prompt.

Here's what I sent them:





Subject: [Mara] GlobalNAPS went down last night; need to make Cortel work *for me*                                                                           
From: David Combs <dkcombs@panix.com>                                                                                                                        
To: support@panix.com                                                                                                                                        
Date: Fri, 23 Apr 2004 15:50:38 -0400                                                                                                                        
Message-ID: <20040423195038.GA9685@panix.com>                                                                                                                
                                                                                                                                                             
Mara told me yesterday (email) that along with several                                                                                                       
other panix-users, Cortel-lines (the normal panix dial-ins)                                                                                                  
weren't suited, any more (since last week or two) for                                                                                                        
dial-in by me, and that I'd have to limit myself                                                                                                             
to the (few?) GlobalNAPS lines.                                                                                                                              
                                                                                                                                                             
Problem is that early this am, somewhere between                                                                                                             
2am and 4am, it ceased allowing me to login,                                                                                                                 
simply hanging after I responded to its "host"                                                                                                               
prompt (I of course answered with the usual panix.com).                                                                                                      
                                                                                                                                                             
And without ability to dial in, no way to send email                                                                                                         
to support, since I have *no* way to get into panix.                                                                                                         
                                                                                                                                                             
And, weekend is coming up, ie unattended panix.                                                                                                              
                                                                                                                                                             
THUS:                                                                                                                                                        
                                                                                                                                                             
Whatever it is that makes Cortel unhappy with my                                                                                                             
dialing-in, I *must* surmount it.                                                                                                                            
                                                                                                                                                             
And only *you* guys can help me do that, by telling                                                                                                          
me what to change about my configuration (Blade100,                                                                                                          
solaris 9, coming in via Kermit (which I believe                                                                                                             
is pretty full-featured with security-stuff, or can                                                                                                          
at least probably let me use my own security-stuff, that                                                                                                     
comes with solaris.)).                                                                                                                                       
                                                                                                                                                             
My suggestion is that sometime before 8pm tonight (when                                                                                                      
I believe your final guy leaves for the weekend?), we                                                                                                        
talk by phone while I try suggestions from you                                                                                                               
and try to dial in via Cortel-lines.)                                                                                                                        
                                                                                                                                                             
If needed, let Alexis at least know about this                                                                                                               
suggestion.  I mean, if there's *several* of us                                                                                                              
having this Cortel-problem -- well, just how many                                                                                                            
GlobalNAPS lines does he want to pay for?                                                                                                                    
                                                                                                                                                             
Thanks,                                                                                                                                                      
                                                                                                                                                             
David                                                                                                                                                        
                                                                                                                                                             
             
------------------------ And here's two earlier ones:



>From dkcombs@panix.com Thu Apr 22 21:05:49 EDT 2004
Article: 76374 of panix.questions
From: dkcombs@panix.com (David Combs)
Newsgroups: panix.questions
Subject: (new to me) "TTS Authentication Succeeded" (or the like): then FREEZES (phone-dialin)
Date: 17 Apr 2004 17:34:08 -0400


For the last three or so weeks, I've been
dialing in through that "failsafe" line:

   dial 17185042681

Today I tried dialing in through a "regular" line,
the one in yonkers:

  1: yonkers:          dial 2332064

, and when I did, I got this "TTS Authenticated Succeeded"
 (or something close to that),

after which it "just sat there"  -- and after a few minutes
of fruitless waiting, I did the abort (kermit) control-\,
and reverted back to that "failsafe" (my terminology) line --
which works fine, no authenticationo message.

Needless to say, I've received no login-message (in the last three
or so weeks) that said anything about this TTS thing.

QUESTION: any idea what it wants me to do, to be able
to dial-in and *log-in* via the normal phone-lines?

Again, I'm coming in through plain dial-in, NOT via
cable-modem and browser and then into panix.  

Just a straight dial-in.

Thanks!

David




>From staff@panix.com Thu Apr 22 21:05:56 EDT 2004
Article: 76413 of panix.questions
Path: reader2.panix.com!reader1.panix.com!panix!not-for-mail
From: staff@panix.com  (Mara's Staff Account)
Newsgroups: panix.questions
Subject: Re: (new to me) "TTS Authentication Succeeded" (or the like): then FREEZES (phone-dialin)
Date: Mon, 19 Apr 2004 13:24:04 +0000 (UTC)


dkcombs@panix.com (David Combs) writes:
 >For the last three or so weeks, I've been
 >dialing in through that "failsafe" line:

 >   dial 17185042681

 >Today I tried dialing in through a "regular" line,
 >the one in yonkers:

 >  1: yonkers:          dial 2332064


 >, and when I did, I got this "TTS Authenticated Succeeded"
 > (or something close to that),

Some users have problems with the Coretel (xx64) lines.

If you don't make  a successful connection on those lines 
you should use the GlobalNAPS numbers (what you referred to
as the "failsafe" line).  

Because dialup issues involve so many different variables, they
are usually better dealt with on an individual basis by email to
modems@panix.com.  Using a newsgroup is not particularly efficient.
-- 
Mara Chibnik                                               Staff Account
mc@panix.com                                               (212) 741-4400






Does that stuff tell you *anything* useful?

Thanks!

David



From fdc@columbia.edu Fri Apr 23 16:18:30 2004
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Does Kermit have stuff built-in for dialing-in to (TTS) Cortel-lines?
Date: 23 Apr 2004 20:18:20 GMT
Organization: Columbia University
Lines: 14
Message-ID: <slrnc8iugc.ahe.fdc@sesame.cc.columbia.edu>
References: <c6bt8p$83m$1@panix3.panix.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1082751500 271 128.59.59.56 (23 Apr 2004 20:18:20 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 23 Apr 2004 20:18:20 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14973

On 2004-04-23, David Combs <dkcombs@panix.com> wrote:
: Hoping that maybe *something* in them will trigger
: some memory or thought,
:
Maybe with any Panix users or staff who read this group, but it has
nothing to do with Kermit.  You're using to Kermit call some phone number;
the call is answered, you get a prompt, you tell it to connect you with
Panix, and then "it just sits there".  This is between the box that you
called and Panix.  I don't think there's anything Kermit can do about it.

Kermit's secure authentication features apply only to TCP/IP connections,
not serial-port ones.

- Frank

From jaltman2@nyc.rr.com Fri Apr 23 17:02:47 2004
Path: newsmaster.cc.columbia.edu!panix!pln-e!lotsanews.com!cycny01.gnilink.net!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: <408984A3.8020104@nyc.rr.com>
From: Jeffrey Altman <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040421
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Does Kermit have stuff built-in for dialing-in to (TTS) Cortel-lines?
References: <c6bt8p$83m$1@panix3.panix.com>
In-Reply-To: <c6bt8p$83m$1@panix3.panix.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 162
Date: Fri, 23 Apr 2004 20:57:57 GMT
NNTP-Posting-Host: 24.193.46.55
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1082753877 24.193.46.55 (Fri, 23 Apr 2004 16:57:57 EDT)
NNTP-Posting-Date: Fri, 23 Apr 2004 16:57:57 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14974

It could be either a modem configuration problem or an incompatibility
between your brand of modem and the modems used by Cortel on their
lines.  If its a configuration problem I would look to drop the max
speed of the modem to modem negotiations and ensure you have proper
flow control settings.

Jeffrey Altman
Secure Endpoints Inc




David Combs wrote:
> Hoping that maybe *something* in them will trigger
> some memory or thought,
> here's a copy of an email I sent to my shell-acct ISP, re
> their dial-in somehow operating differently these days -- seems
> it now uses TTS authentication, after I enter "panix.com" to
> it's "host" prompt, simply says "authentication succeeded",
> and instantly then hangs -- even before giving me an actual "Login" prompt.
> 
> Here's what I sent them:
> 
> 
> 
> 
> 
> Subject: [Mara] GlobalNAPS went down last night; need to make Cortel work *for me*                                                                           
> From: David Combs <dkcombs@panix.com>                                                                                                                        
> To: support@panix.com                                                                                                                                        
> Date: Fri, 23 Apr 2004 15:50:38 -0400                                                                                                                        
> Message-ID: <20040423195038.GA9685@panix.com>                                                                                                                
>                                                                                                                                                              
> Mara told me yesterday (email) that along with several                                                                                                       
> other panix-users, Cortel-lines (the normal panix dial-ins)                                                                                                  
> weren't suited, any more (since last week or two) for                                                                                                        
> dial-in by me, and that I'd have to limit myself                                                                                                             
> to the (few?) GlobalNAPS lines.                                                                                                                              
>                                                                                                                                                              
> Problem is that early this am, somewhere between                                                                                                             
> 2am and 4am, it ceased allowing me to login,                                                                                                                 
> simply hanging after I responded to its "host"                                                                                                               
> prompt (I of course answered with the usual panix.com).                                                                                                      
>                                                                                                                                                              
> And without ability to dial in, no way to send email                                                                                                         
> to support, since I have *no* way to get into panix.                                                                                                         
>                                                                                                                                                              
> And, weekend is coming up, ie unattended panix.                                                                                                              
>                                                                                                                                                              
> THUS:                                                                                                                                                        
>                                                                                                                                                              
> Whatever it is that makes Cortel unhappy with my                                                                                                             
> dialing-in, I *must* surmount it.                                                                                                                            
>                                                                                                                                                              
> And only *you* guys can help me do that, by telling                                                                                                          
> me what to change about my configuration (Blade100,                                                                                                          
> solaris 9, coming in via Kermit (which I believe                                                                                                             
> is pretty full-featured with security-stuff, or can                                                                                                          
> at least probably let me use my own security-stuff, that                                                                                                     
> comes with solaris.)).                                                                                                                                       
>                                                                                                                                                              
> My suggestion is that sometime before 8pm tonight (when                                                                                                      
> I believe your final guy leaves for the weekend?), we                                                                                                        
> talk by phone while I try suggestions from you                                                                                                               
> and try to dial in via Cortel-lines.)                                                                                                                        
>                                                                                                                                                              
> If needed, let Alexis at least know about this                                                                                                               
> suggestion.  I mean, if there's *several* of us                                                                                                              
> having this Cortel-problem -- well, just how many                                                                                                            
> GlobalNAPS lines does he want to pay for?                                                                                                                    
>                                                                                                                                                              
> Thanks,                                                                                                                                                      
>                                                                                                                                                              
> David                                                                                                                                                        
>                                                                                                                                                              
>              
> ------------------------ And here's two earlier ones:
> 
> 
> 
> From dkcombs@panix.com Thu Apr 22 21:05:49 EDT 2004
> Article: 76374 of panix.questions
> From: dkcombs@panix.com (David Combs)
> Newsgroups: panix.questions
> Subject: (new to me) "TTS Authentication Succeeded" (or the like): then FREEZES (phone-dialin)
> Date: 17 Apr 2004 17:34:08 -0400
> 
> 
> For the last three or so weeks, I've been
> dialing in through that "failsafe" line:
> 
>    dial 17185042681
> 
> Today I tried dialing in through a "regular" line,
> the one in yonkers:
> 
>   1: yonkers:          dial 2332064
> 
> , and when I did, I got this "TTS Authenticated Succeeded"
>  (or something close to that),
> 
> after which it "just sat there"  -- and after a few minutes
> of fruitless waiting, I did the abort (kermit) control-\,
> and reverted back to that "failsafe" (my terminology) line --
> which works fine, no authenticationo message.
> 
> Needless to say, I've received no login-message (in the last three
> or so weeks) that said anything about this TTS thing.
> 
> QUESTION: any idea what it wants me to do, to be able
> to dial-in and *log-in* via the normal phone-lines?
> 
> Again, I'm coming in through plain dial-in, NOT via
> cable-modem and browser and then into panix.  
> 
> Just a straight dial-in.
> 
> Thanks!
> 
> David
> 
> 
> 
> 
> From staff@panix.com Thu Apr 22 21:05:56 EDT 2004
> Article: 76413 of panix.questions
> Path: reader2.panix.com!reader1.panix.com!panix!not-for-mail
> From: staff@panix.com  (Mara's Staff Account)
> Newsgroups: panix.questions
> Subject: Re: (new to me) "TTS Authentication Succeeded" (or the like): then FREEZES (phone-dialin)
> Date: Mon, 19 Apr 2004 13:24:04 +0000 (UTC)
> 
> 
> dkcombs@panix.com (David Combs) writes:
>  >For the last three or so weeks, I've been
>  >dialing in through that "failsafe" line:
> 
>  >   dial 17185042681
> 
>  >Today I tried dialing in through a "regular" line,
>  >the one in yonkers:
> 
>  >  1: yonkers:          dial 2332064
> 
> 
>  >, and when I did, I got this "TTS Authenticated Succeeded"
>  > (or something close to that),
> 
> Some users have problems with the Coretel (xx64) lines.
> 
> If you don't make  a successful connection on those lines 
> you should use the GlobalNAPS numbers (what you referred to
> as the "failsafe" line).  
> 
> Because dialup issues involve so many different variables, they
> are usually better dealt with on an individual basis by email to
> modems@panix.com.  Using a newsgroup is not particularly efficient.

-- 
-----------------
This e-mail account is not read on a regular basis.
Please send private responses to jaltman at mit dot edu

From finhead@optonline.net Mon Apr 26 11:11:02 2004
Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!newspeer1.stngva01.us.to.verio.net!news.verio.net!news.glorb.com!postnews1.google.com!not-for-mail
From: finhead@optonline.net (finhead)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit screen resolution
Date: 26 Apr 2004 08:08:13 -0700
Organization: http://groups.google.com
Lines: 38
Message-ID: <456f3f60.0404260708.b449dc7@posting.google.com>
References: <456f3f60.0404160710.603aa883@posting.google.com> <408010B1.7070600@nyc.rr.com> <456f3f60.0404230627.46fc3f02@posting.google.com> <40892C2A.1000404@nyc.rr.com> <456f3f60.0404231108.19555b96@posting.google.com> <40896B0B.9050001@nyc.rr.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 1082992094 26588 127.0.0.1 (26 Apr 2004 15:08:14 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 26 Apr 2004 15:08:14 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14976

I got it from this site  --> http://www.columbia.edu/kermit/k95demo.html
The Non crytographic version. 


Jeffrey Altman <jaltman2@nyc.rr.com> wrote in message news:<40896B0B.9050001@nyc.rr.com>...
> What did you download and where did you get it from?
> The final release of 2.1.3 was made available on Jan 21, 2003
> and it contained the fix.
> 
> If you want something later than that, please read the contents
> of   http://www.columbia.edu/~jaltman/  or the thread entitled
> "Post 2.1.3 Bug Fixes and New Features for Kermit 95" which appeared
> in this newsgroup yesterday.
> 
> Jeffrey Altman
> Secure Endpoints Inc
> 
> 
> finhead wrote:
> > Where can I get the beta version of 2.1.3? I donwloaded what they have
> > on the web a few days ago.
> > 
> > Jeffrey Altman <jaltman2@nyc.rr.com> wrote in message 
> > news:<40892C2A.1000404@nyc.rr.com>...
> > 
> >>I have a strange feeling you are using an Alpha version of 2.1.3 or 
> >>2.1.2 or earlier.  This problem was fixed in Beta 1 of 2.1.3 (Jan 3, 2003)
> >>
> >>Jeffrey Altman
> >>Kermit 95 Author
> >>Secure Endpoints Inc
> >>
> >>
> >>finhead wrote:
> >>
> >>>This is Kermit version 2.1.3. In the edit section I select GUI. I then
> >>>select th option to run maximized. Is this correct? The shortcut
> >>>should follow these settings right?

From jaltman2@nyc.rr.com Tue Apr 27 09:34:25 2004
Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!newspeer1.stngva01.us.to.verio.net!news.verio.net!newsfeed.icl.net!newsfeed.fjserv.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: <408D9071.2050607@nyc.rr.com>
From: Jeffrey Altman <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040421
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> <408010B1.7070600@nyc.rr.com> <456f3f60.0404230627.46fc3f02@posting.google.com> <40892C2A.1000404@nyc.rr.com> <456f3f60.0404231108.19555b96@posting.google.com> <40896B0B.9050001@nyc.rr.com> <456f3f60.0404260708.b449dc7@posting.google.com>
In-Reply-To: <456f3f60.0404260708.b449dc7@posting.google.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 53
Date: Mon, 26 Apr 2004 22:37:16 GMT
NNTP-Posting-Host: 24.193.46.55
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1083019036 24.193.46.55 (Mon, 26 Apr 2004 18:37:16 EDT)
NNTP-Posting-Date: Mon, 26 Apr 2004 18:37:16 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14977

As far as I can tell that download is 2.1.3 and it does not contain the bug.

Jeffrey Altman
Secure Endpoints Inc.

finhead wrote:
> I got it from this site  --> http://www.columbia.edu/kermit/k95demo.html
> The Non crytographic version. 
> 
> 
> Jeffrey Altman <jaltman2@nyc.rr.com> wrote in message news:<40896B0B.9050001@nyc.rr.com>...
> 
>>What did you download and where did you get it from?
>>The final release of 2.1.3 was made available on Jan 21, 2003
>>and it contained the fix.
>>
>>If you want something later than that, please read the contents
>>of   http://www.columbia.edu/~jaltman/  or the thread entitled
>>"Post 2.1.3 Bug Fixes and New Features for Kermit 95" which appeared
>>in this newsgroup yesterday.
>>
>>Jeffrey Altman
>>Secure Endpoints Inc
>>
>>
>>finhead wrote:
>>
>>>Where can I get the beta version of 2.1.3? I donwloaded what they have
>>>on the web a few days ago.
>>>
>>>Jeffrey Altman <jaltman2@nyc.rr.com> wrote in message 
>>>news:<40892C2A.1000404@nyc.rr.com>...
>>>
>>>
>>>>I have a strange feeling you are using an Alpha version of 2.1.3 or 
>>>>2.1.2 or earlier.  This problem was fixed in Beta 1 of 2.1.3 (Jan 3, 2003)
>>>>
>>>>Jeffrey Altman
>>>>Kermit 95 Author
>>>>Secure Endpoints Inc
>>>>
>>>>
>>>>finhead wrote:
>>>>
>>>>
>>>>>This is Kermit version 2.1.3. In the edit section I select GUI. I then
>>>>>select th option to run maximized. Is this correct? The shortcut
>>>>>should follow these settings right?

-- 
-----------------
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 27 09:34:40 2004
Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!newspeer1.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 <Petri_member@newsguy.com>
Newsgroups: comp.protocols.kermit.misc
Subject: If last word ends with '-' it gets joined with the next line
Date: 26 Apr 2004 19:37:13 -0700
Organization: Newsguy News Service [http://newsguy.com]
Lines: 46
Message-ID: <c6kh0p04dd@drn.newsguy.com>
NNTP-Posting-Host: p-468.newsdawg.com
X-Newsreader: Direct Read News 4.20
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14978

Hi,

Just a quick question I hope; In the following script below, the lines "ftp site
search mypattern-" and "set ftp verbose-mode off" at the end, become joined into
"ftp site search mypatternset ftp verbose-mode off":
---8<---
set auth ssl certs-ok
set ftp authtype ssl
set ftp autologin off
set ftp passive-mode on
set ftp filenames literal
set transfer display off
ftp myaddress myport
if fail exit 1 Remote FTP connection failed
set ftp command-protection-level private
set ftp data-protection-level private
ftp user myuser mypasswd
if fail exit 2 Remote FTP login failed
set ftp verbose-mode on
ftp site search mypattern-
set ftp verbose-mode off
exit
---8<---

The server response is:
---8<---
Doing case-insensitive search for 'mypatternset ftp verbose-mode off':
  
0 directories found.
---8<---

It indicates that "ftp site search" was executed, but not with the parameter
"mypattern-" as expected, but with "mypatternset ftp verbose-mode off" instead.

I tried getting around it by adding an empty line after the "ftp site search"
command, but that only means the search pattern changes from "mypattern-" to
"mypattern".

I assume this is a feature of some sort, but how do I disable it or get around
it?

Many thanks in advance! :)


Petri


From jaltman2@nyc.rr.com Tue Apr 27 09:34:53 2004
Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!newspeer1.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: <408DCFBF.6020902@nyc.rr.com>
From: Jeffrey Altman <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040421
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: If last word ends with '-' it gets joined with the next line
References: <c6kh0p04dd@drn.newsguy.com>
In-Reply-To: <c6kh0p04dd@drn.newsguy.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 56
Date: Tue, 27 Apr 2004 03:11:00 GMT
NNTP-Posting-Host: 24.193.46.55
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1083035460 24.193.46.55 (Mon, 26 Apr 2004 23:11:00 EDT)
NNTP-Posting-Date: Mon, 26 Apr 2004 23:11:00 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14979

\-



Petri wrote:
> Hi,
> 
> Just a quick question I hope; In the following script below, the lines "ftp site
> search mypattern-" and "set ftp verbose-mode off" at the end, become joined into
> "ftp site search mypatternset ftp verbose-mode off":
> ---8<---
> set auth ssl certs-ok
> set ftp authtype ssl
> set ftp autologin off
> set ftp passive-mode on
> set ftp filenames literal
> set transfer display off
> ftp myaddress myport
> if fail exit 1 Remote FTP connection failed
> set ftp command-protection-level private
> set ftp data-protection-level private
> ftp user myuser mypasswd
> if fail exit 2 Remote FTP login failed
> set ftp verbose-mode on
> ftp site search mypattern-
> set ftp verbose-mode off
> exit
> ---8<---
> 
> The server response is:
> ---8<---
> Doing case-insensitive search for 'mypatternset ftp verbose-mode off':
>   
> 0 directories found.
> ---8<---
> 
> It indicates that "ftp site search" was executed, but not with the parameter
> "mypattern-" as expected, but with "mypatternset ftp verbose-mode off" instead.
> 
> I tried getting around it by adding an empty line after the "ftp site search"
> command, but that only means the search pattern changes from "mypattern-" to
> "mypattern".
> 
> I assume this is a feature of some sort, but how do I disable it or get around
> it?
> 
> Many thanks in advance! :)
> 
> 
> Petri
> 

-- 
-----------------
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 27 09:34:58 2004
Path: newsmaster.cc.columbia.edu!panix!logbridge.uoregon.edu!newsfeed.stanford.edu!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!drn
From: Petri <Petri_member@newsguy.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: If last word ends with '-' it gets joined with the next line
Date: 26 Apr 2004 20:42:58 -0700
Organization: Newsguy News Service [http://newsguy.com]
Lines: 16
Message-ID: <c6kks20hdk@drn.newsguy.com>
References: <c6kh0p04dd@drn.newsguy.com> <408DCFBF.6020902@nyc.rr.com>
NNTP-Posting-Host: p-766.newsdawg.com
X-Newsreader: Direct Read News 4.20
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14980

In article <408DCFBF.6020902@nyc.rr.com>, Jeffrey Altman says...
>> Just a quick question I hope; In the following script below, the lines
>> "ftp site search mypattern-" and "set ftp verbose-mode off" at the
>> end, become joined into "ftp site search mypatternset ftp verbose-mode
>> off":

>> I assume this is a feature of some sort, but how do I disable it or get
>> around it?

> \-

Thanks! :)


Petri


From drwho8@att.net Thu Apr 29 12:08:28 2004
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!news.glorb.com!wn14feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!not-for-mail
Newsgroups: comp.protocols.kermit.misc
Subject: Strange error happens when building G-Kermit on a Slackware 9.1 box
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: 33
Message-ID: <o30kc.62819$um3.1202849@bgtnsc04-news.ops.worldnet.att.net>
NNTP-Posting-Host: b4932aef4cb7149a64520a575a970b1c
X-Complaints-To: abuse@worldnet.att.net
X-Trace: bgtnsc04-news.ops.worldnet.att.net 1083215188 b4932aef4cb7149a64520a575a970b1c (Thu, 29 Apr 2004 05:06:28 GMT)
NNTP-Posting-Date: Thu, 29 Apr 2004 05:06:28 GMT
Organization: AT&T Worldnet
Date: Thu, 29 Apr 2004 05:06:28 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14982

Hello from Gregg C Levine
The strangest error turns up when building G-Kermit on a Slackware 9.1 box. (Both 
this one, when running Linux, and my other one.) I've even seen it happen on a 
Slackware 8.0 laptop. Anyway I made a script of the error message and I am 
posting it here:
Script started on Thu Apr 29 00:49:32 2004
root@who6:/usr/local/src/gku100# make
cc -DPOSIX -O  -c gwart.c
cc -o gwart gwart.o
./gwart gproto.w gproto.c
11 states, 20 actions
cc -DPOSIX -O  -c gproto.c
cc -DPOSIX -O  -c gkermit.c
cc -DPOSIX -O  -c gunixio.c
cc -DPOSIX -O  -c gcmdline.c
cc -o gkermit gproto.o gkermit.o gunixio.o gcmdline.o
gkermit.o(.text+0x59f): In function `sfile':
: undefined reference to `errno'
gkermit.o(.text+0x9be): In function `seof':
: undefined reference to `errno'
gkermit.o(.text+0x17be): In function `decode':
: undefined reference to `errno'
collect2: ld returned 1 exit status
make: *** [gkermit] Error 1
root@who6:/usr/local/src/gku100# exit
exit
Both of these machines run with the 3.2.3 version of gcc, and the 2.14.90.0.6 
20030820 of the binary utilities. The first group is the actual, the last part is the date 
code. I would appreciate some help. Incidentally the current release of C-Kermit, 
built perfectly on both boxes.
Gregg C Levine drwho8 atsign att dot net
"This signature disavows its existence."


From Richard.Spitz@med.uni-muenchen.de Thu Apr 29 12:22:24 2004
Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail
From: Richard.Spitz@med.uni-muenchen.de (Richard Spitz)
Newsgroups: comp.protocols.kermit.misc
Subject: Kermit95 finds no network connection on WinXP
Date: 29 Apr 2004 00:47:39 -0700
Organization: http://groups.google.com
Lines: 26
Message-ID: <5bef902c.0404282347.7467a249@posting.google.com>
NNTP-Posting-Host: 129.187.254.13
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1083224860 27821 127.0.0.1 (29 Apr 2004 07:47:40 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 29 Apr 2004 07:47:40 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14983

Hi,

I've used Kermit95 on various platforms (Win95/98/2000) and never had
any problems. It always worked right out of the box.

Now I installed a newly purchased copy of Kermit95 on a fresh WinXP
laptop, but it doesn't work. I can configure telnet and ssh
connections in the dialer, but whenever I try to connect, the terminal
window pops up, but _nothing_ happens. No error message or anything,
the terminal window just sits there forever and no connection is
opened.

It seems that Kermit cannot find the network connection. I've double
checked all settings, I've tried several templates as basis for my
settings, but to no avail. I've enabled logging, but no log files are
created (or am I looking in the wrong places?).

Other than that, networking works just fine on that machine. In fact
I'm writing this posting from that machine. Windows telnet sessions to
the hosts I'm trying to connect to also work, so the underlying
network seems to be ok.

I'm completely lost. Where should I start looking for the cause of
this problem?

Regards, Richard

From jaltman2@nyc.rr.com Thu Apr 29 12:23:44 2004
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!router1.news.adelphia.net!news-east.rr.com!news.rr.com!news-server.columbus.rr.com!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!not-for-mail
Message-ID: <4090DD42.5080309@nyc.rr.com>
From: Jeffrey Altman <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040421
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit95 finds no network connection on WinXP
References: <5bef902c.0404282347.7467a249@posting.google.com>
In-Reply-To: <5bef902c.0404282347.7467a249@posting.google.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 51
Date: Thu, 29 Apr 2004 10:41:42 GMT
NNTP-Posting-Host: 24.193.46.55
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1083235302 24.193.46.55 (Thu, 29 Apr 2004 06:41:42 EDT)
NNTP-Posting-Date: Thu, 29 Apr 2004 06:41:42 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14984

A couple of things come to mind.  First, you do not specify which
version of Kermit 95 you are using.  Be sure you are using a version
which was released after Windows XP was released.  The current
release is 2.1.3.

Second, since you say that you never receive any messages of
any kind I would hazard a guess that what is really happening is
that one of the libraries Kermit 95 is linked to is unable to
properly initialize.  This could be the case if you have installed
the Kerberos functionality but never configured a Kerberos 
configuration.  In this case the Kerberos libraries will attempt
to determine the current realm for the machine via DNS which
could take several minutes to time out depending on your DNS
configuration.

Jeffrey Altman
Kermit 95 Author
Secure Endpoints Inc

Richard Spitz wrote:
> Hi,
> 
> I've used Kermit95 on various platforms (Win95/98/2000) and never had
> any problems. It always worked right out of the box.
> 
> Now I installed a newly purchased copy of Kermit95 on a fresh WinXP
> laptop, but it doesn't work. I can configure telnet and ssh
> connections in the dialer, but whenever I try to connect, the terminal
> window pops up, but _nothing_ happens. No error message or anything,
> the terminal window just sits there forever and no connection is
> opened.
> 
> It seems that Kermit cannot find the network connection. I've double
> checked all settings, I've tried several templates as basis for my
> settings, but to no avail. I've enabled logging, but no log files are
> created (or am I looking in the wrong places?).
> 
> Other than that, networking works just fine on that machine. In fact
> I'm writing this posting from that machine. Windows telnet sessions to
> the hosts I'm trying to connect to also work, so the underlying
> network seems to be ok.
> 
> I'm completely lost. Where should I start looking for the cause of
> this problem?
> 
> Regards, Richard

-- 
-----------------
This e-mail account is not read on a regular basis.
Please send private responses to jaltman at mit dot edu

From fdc@columbia.edu Thu Apr 29 12:24:06 2004
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Strange error happens when building G-Kermit on a Slackware 9.1 box
Date: 29 Apr 2004 16:21:40 GMT
Organization: Columbia University
Lines: 29
Message-ID: <slrnc92ask.4nt.fdc@sesame.cc.columbia.edu>
References: <o30kc.62819$um3.1202849@bgtnsc04-news.ops.worldnet.att.net>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1083255700 21467 128.59.59.56 (29 Apr 2004 16:21:40 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 29 Apr 2004 16:21:40 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14985

On 2004-04-29, Gregg C Levine <drwho8@att.net> wrote:

: The strangest error turns up when building G-Kermit on a Slackware 9.1
: box. (Both this one, when running Linux, and my other one.) I've even seen
: it happen on a Slackware 8.0 laptop. Anyway I made a script of the error
: message and I am posting it here:
: ...
: undefined reference to `errno'
: ...
:
Evidently it is newly necessary to replace:

  extern int errno;

with:

  #include <errno.h>

in gkermit.c, but of course only in cases where the undefined reference
happens.  This is apparently part of the trend to convert errno from an
ordinary scalar variable to some kind of a per-thread object.

Let's hear it for stability.  G-Kermit was supposed to be a simple,
straightforward, single-thread program, that would last forever,
It looks like forever was four years.

Btw, it still builds OK on Slackware 9.0.0.

- Frank

From fdc@columbia.edu Thu Apr 29 12:24:10 2004
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit95 finds no network connection on WinXP
Date: 29 Apr 2004 16:23:22 GMT
Organization: Columbia University
Lines: 28
Message-ID: <slrnc92avq.4nt.fdc@sesame.cc.columbia.edu>
References: <5bef902c.0404282347.7467a249@posting.google.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1083255802 21467 128.59.59.56 (29 Apr 2004 16:23:22 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 29 Apr 2004 16:23:22 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14986

On 2004-04-29, Richard Spitz <Richard.Spitz@med.uni-muenchen.de> wrote:
: I've used Kermit95 on various platforms (Win95/98/2000) and never had
: any problems. It always worked right out of the box.
:
: Now I installed a newly purchased copy of Kermit95 on a fresh WinXP
: laptop, but it doesn't work. I can configure telnet and ssh
: connections in the dialer, but whenever I try to connect, the terminal
: window pops up, but _nothing_ happens. No error message or anything,
: the terminal window just sits there forever and no connection is
: opened.
:
: It seems that Kermit cannot find the network connection. I've double
: checked all settings, I've tried several templates as basis for my
: settings, but to no avail. I've enabled logging, but no log files are
: created (or am I looking in the wrong places?).
:
: Other than that, networking works just fine on that machine. In fact
: I'm writing this posting from that machine. Windows telnet sessions to
: the hosts I'm trying to connect to also work, so the underlying
: network seems to be ok.
:
: I'm completely lost. Where should I start looking for the cause of
: this problem?
:
Follow up to kermit-support@columbia.edu and we'll go through the
debugging steps.

- Frank

From dold@Kermit95Xf.usenet.us.com Thu Apr 29 13:21:22 2004
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!in.100proofnews.com!in.100proofnews.com!wasp.rahul.net!blue.rahul.net!not-for-mail
From: dold@Kermit95Xf.usenet.us.com
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit95 finds no network connection on WinXP
Date: Thu, 29 Apr 2004 16:51:35 +0000 (UTC)
Organization: a2i network
Lines: 13
Sender: Clarence Dold <dold@violet.rahul.net>
Message-ID: <c6rbqm$p3p$1@blue.rahul.net>
References: <5bef902c.0404282347.7467a249@posting.google.com> <4090DD42.5080309@nyc.rr.com>
NNTP-Posting-Host: violet.rahul.net
X-Trace: blue.rahul.net 1083257495 25721 66.237.72.28 (29 Apr 2004 16:51:35 GMT)
X-Complaints-To: support@rahul.net
NNTP-Posting-Date: Thu, 29 Apr 2004 16:51:35 +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:14987

Jeffrey Altman <jaltman2@nyc.rr.com> wrote:
> properly initialize.  This could be the case if you have installed
> the Kerberos functionality but never configured a Kerberos 

I did this one to myself.  I thought I was installing the version that had
ssh capability, and was installing the Kerberos version instead.
I don't remember the option during installation, or if it was a different
version of the installer, but it was named in a way that made me think I
wanted it.  The other, non-secure install, still allows ssh.

---
Clarence A Dold - Hidden Valley (Lake County) CA USA  38.8-122.5


From Richard.Spitz@med.uni-muenchen.de Thu Apr 29 14:29:37 2004
Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail
From: Richard.Spitz@med.uni-muenchen.de (Richard Spitz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit95 finds no network connection on WinXP
Date: 29 Apr 2004 11:15:03 -0700
Organization: http://groups.google.com
Lines: 14
Message-ID: <5bef902c.0404291015.588f0c99@posting.google.com>
References: <5bef902c.0404282347.7467a249@posting.google.com> <4090DD42.5080309@nyc.rr.com>
NNTP-Posting-Host: 217.233.70.28
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1083262503 6638 127.0.0.1 (29 Apr 2004 18:15:03 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 29 Apr 2004 18:15:03 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14988

Jeffrey Altman <jaltman2@nyc.rr.com> wrote in message news:<4090DD42.5080309@nyc.rr.com>...

> This could be the case if you have installed
> the Kerberos functionality but never configured a Kerberos 
> configuration.  In this case the Kerberos libraries will attempt
> to determine the current realm for the machine via DNS which
> could take several minutes to time out depending on your DNS
> configuration.

That was the solution! I deactivated Kerberos support in the
installer, and all was well. Thank you ever so much for great
support!

Regards, Richard

From not-a-real-address@usa.net Fri Apr 30 16:41:09 2004
Path: newsmaster.cc.columbia.edu!feed1.nycmny01.us.to.verio.net!nntp2.tagonline.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed.mathworks.com!news.maxwell.syr.edu!sn-xit-03!sn-xit-06!sn-post-01!supernews.com!news.supernews.com!not-for-mail
From: those who know me have no need of my name <not-a-real-address@usa.net>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Strange error happens when building G-Kermit on a Slackware 9.1
 box
Date: 30 Apr 2004 08:12:09 GMT
Organization: earthfriends
Message-ID: <m1isfhaobw.gnus@usa.net>
References: <o30kc.62819$um3.1202849@bgtnsc04-news.ops.worldnet.att.net> <slrnc92ask.4nt.fdc@sesame.cc.columbia.edu>
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: 36
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14989

in comp.protocols.kermit.misc i read:

>Evidently it is newly necessary to replace:
>
>  extern int errno;
>
>with:
>
>  #include <errno.h>

that's been formally necessary since c was standardized, or perhaps more
pragmatically when using a c89/c90 or c99 conforming implementation ...

,----
|          errno
| 
| which expands to a modifiable lvalue that has type int , the value
| of which is set to a positive error number by several library
| functions.  It is unspecified whether errno is a macro or an
| identifier declared with external linkage.  If a macro definition is
| suppressed in order to access an actual object, or a program defines
| an external identifier with the name errno , the behavior is
| undefined.
`----

>This is apparently part of the trend to convert errno from an
>ordinary scalar variable to some kind of a per-thread object.

yes.  the intersection of c and various threading standards tends to demand
that errno be thread-specific and i'm not aware of any implementations that
do so with some form of behind-the-scenes magic for the object, all seem to
use a macro that expands to, essentially, (*__errno()) which dereferences a
pointer to the thread specific object.

-- 
a signature

From finhead@optonline.net Fri Apr 30 16:41:17 2004
Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail
From: finhead@optonline.net (finhead)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit screen resolution
Date: 30 Apr 2004 06:32:50 -0700
Organization: http://groups.google.com
Lines: 58
Message-ID: <456f3f60.0404300532.21114641@posting.google.com>
References: <456f3f60.0404160710.603aa883@posting.google.com> <408010B1.7070600@nyc.rr.com> <456f3f60.0404230627.46fc3f02@posting.google.com> <40892C2A.1000404@nyc.rr.com> <456f3f60.0404231108.19555b96@posting.google.com> <40896B0B.9050001@nyc.rr.com> <456f3f60.0404260708.b449dc7@posting.google.com> <408D9071.2050607@nyc.rr.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 1083331970 17966 127.0.0.1 (30 Apr 2004 13:32:50 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 30 Apr 2004 13:32:50 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14990

I have donloaded the kermit version 2.1.3 again and I still have the
same issue. I have set up myh session once again. I have even opened
the shortcut using notepad and edited the line
"set tem width 120"
"set term height 39"
to accomodate the 1024x768 screen resolution but it still does not
open correctly. Am I missing something here?


Jeffrey Altman <jaltman2@nyc.rr.com> wrote in message news:<408D9071.2050607@nyc.rr.com>...
> As far as I can tell that download is 2.1.3 and it does not contain the bug.
> 
> Jeffrey Altman
> Secure Endpoints Inc.
> 
> finhead wrote:
> > I got it from this site  --> http://www.columbia.edu/kermit/k95demo.html
> > The Non crytographic version. 
> > 
> > 
> > Jeffrey Altman <jaltman2@nyc.rr.com> wrote in message news:<40896B0B.9050001@nyc.rr.com>...
> > 
> >>What did you download and where did you get it from?
> >>The final release of 2.1.3 was made available on Jan 21, 2003
> >>and it contained the fix.
> >>
> >>If you want something later than that, please read the contents
> >>of   http://www.columbia.edu/~jaltman/  or the thread entitled
> >>"Post 2.1.3 Bug Fixes and New Features for Kermit 95" which appeared
> >>in this newsgroup yesterday.
> >>
> >>Jeffrey Altman
> >>Secure Endpoints Inc
> >>
> >>
> >>finhead wrote:
> >>
> >>>Where can I get the beta version of 2.1.3? I donwloaded what they have
> >>>on the web a few days ago.
> >>>
> >>>Jeffrey Altman <jaltman2@nyc.rr.com> wrote in message 
> >>>news:<40892C2A.1000404@nyc.rr.com>...
> >>>
> >>>
> >>>>I have a strange feeling you are using an Alpha version of 2.1.3 or 
> >>>>2.1.2 or earlier.  This problem was fixed in Beta 1 of 2.1.3 (Jan 3, 2003)
> >>>>
> >>>>Jeffrey Altman
> >>>>Kermit 95 Author
> >>>>Secure Endpoints Inc
> >>>>
> >>>>
> >>>>finhead wrote:
> >>>>
> >>>>
> >>>>>This is Kermit version 2.1.3. In the edit section I select GUI. I then
> >>>>>select th option to run maximized. Is this correct? The shortcut
> >>>>>should follow these settings right?

From jaltman2@nyc.rr.com Fri Apr 30 16:41:20 2004
Path: newsmaster.cc.columbia.edu!feed1.nycmny01.us.to.verio.net!nntp2.tagonline.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!news-out.visi.com!priapus.visi.com!orange.octanews.net!news.octanews.net!green.octanews.net!news-out.octanews.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: <40925ED2.9060506@nyc.rr.com>
From: Jeffrey Altman <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040421
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> <408010B1.7070600@nyc.rr.com> <456f3f60.0404230627.46fc3f02@posting.google.com> <40892C2A.1000404@nyc.rr.com> <456f3f60.0404231108.19555b96@posting.google.com> <40896B0B.9050001@nyc.rr.com> <456f3f60.0404260708.b449dc7@posting.google.com> <408D9071.2050607@nyc.rr.com> <456f3f60.0404300532.21114641@posting.google.com>
In-Reply-To: <456f3f60.0404300532.21114641@posting.google.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 33
Date: Fri, 30 Apr 2004 14:10:27 GMT
NNTP-Posting-Host: 24.193.46.55
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1083334227 24.193.46.55 (Fri, 30 Apr 2004 10:10:27 EDT)
NNTP-Posting-Date: Fri, 30 Apr 2004 10:10:27 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14991

The ability of a Maximized Kermit 95 window to fill the screen is
affected by the following options:

  * fontname
  * fontsize
  * terminal height
  * terminal width
  * Gui Resize Mode: {change dimensions or scale font}

Regardless of the settings, maximizing the window will fill the display.
If your display is 1024x768, then maximizing will fill the entire 
display.  If the resize mode is change dimensions, then the height and
width will be ignored.  The selected number of rows and columns will
be determined by the number of character cells which fill the screen 
based upon the selected fontname and fontsize.  If the resize mode is
scale font, then the height and width will be preserved.  Instead, the
fontsize will be altered if possible to fill the display as best as can
be done.  If you have selected a scalable fontname, then this will work
well.  If you have selected a bitmap fontname, then the ability to scale
will be limited to the fixed sizes of the fontname available on your system.

Jeffrey Altman



finhead wrote:
> I have donloaded the kermit version 2.1.3 again and I still have the
> same issue. I have set up myh session once again. I have even opened
> the shortcut using notepad and edited the line
> "set tem width 120"
> "set term height 39"
> to accomodate the 1024x768 screen resolution but it still does not
> open correctly. Am I missing something here?

From dm_v_2000@yahoo.com Mon May  3 11:53:47 2004
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!colt.net!news.maxwell.syr.edu!postnews1.google.com!not-for-mail
From: dm_v_2000@yahoo.com (Peter V.)
Newsgroups: comp.protocols.kermit.misc
Subject: C-Kermit 8.0 on Solaris 9.0
Date: 3 May 2004 06:39:44 -0700
Organization: http://groups.google.com
Lines: 22
Message-ID: <3f9c05b0.0405030539.2f499632@posting.google.com>
NNTP-Posting-Host: 141.155.203.100
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1083591585 8316 127.0.0.1 (3 May 2004 13:39:45 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 3 May 2004 13:39:45 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14992

Hello.

  I'm able to make a secure SSL/TLS connection to IBM Info Exchange
from my UNIX machine that is running Solaris 9.0 with C-Kermit
8.0.211.  However, once I am connected, whenever I try to do a remote
command, like RDIR shown below the following occurs and the C-Kermit
session hangs.

(/u/rdps/pav/openssl/openssl/certs/) C-Kermit>RDIR
---> TYPE A
200 Type now set to A.
---> PORT 150,150,80,111,167,192 
200 Port command OK.
---> LIST 
150 Data connection ready to be secured.


  Any suggestions?  

Many thanks in advance.

Peter

From jaltman2@nyc.rr.com Mon May  3 11:53:53 2004
Path: newsmaster.cc.columbia.edu!feed1.nycmny01.us.to.verio.net!nntp2.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!news3.optonline.net!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!53ab2750!not-for-mail
Message-ID: <40964FEB.6090000@nyc.rr.com>
From: Jeffrey Altman <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040421
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: C-Kermit 8.0 on Solaris 9.0
References: <3f9c05b0.0405030539.2f499632@posting.google.com>
In-Reply-To: <3f9c05b0.0405030539.2f499632@posting.google.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 34
Date: Mon, 03 May 2004 13:55:53 GMT
NNTP-Posting-Host: 24.193.46.55
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1083592553 24.193.46.55 (Mon, 03 May 2004 09:55:53 EDT)
NNTP-Posting-Date: Mon, 03 May 2004 09:55:53 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14993


You have configured C-Kermit to accept incoming connections
for the data channel on port 42944.  Your firewall does not
allow connections to this port.  Therefore, you must use passive
mode which is the default for C-Kermit.

Peter V. wrote:
> Hello.
> 
>   I'm able to make a secure SSL/TLS connection to IBM Info Exchange
> from my UNIX machine that is running Solaris 9.0 with C-Kermit
> 8.0.211.  However, once I am connected, whenever I try to do a remote
> command, like RDIR shown below the following occurs and the C-Kermit
> session hangs.
> 
> (/u/rdps/pav/openssl/openssl/certs/) C-Kermit>RDIR
> ---> TYPE A
> 200 Type now set to A.
> ---> PORT 150,150,80,111,167,192 
> 200 Port command OK.
> ---> LIST 
> 150 Data connection ready to be secured.
> 
> 
>   Any suggestions?  
> 
> Many thanks in advance.
> 
> Peter

-- 
-----------------
This e-mail account is not read on a regular basis.
Please send private responses to jaltman at mit dot edu

From dm_v_2000@yahoo.com Mon May  3 16:46:38 2004
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!mmcatv.co.jp!news.moat.net!news.glorb.com!postnews1.google.com!not-for-mail
From: dm_v_2000@yahoo.com (Peter V.)
Newsgroups: comp.protocols.kermit.misc
Subject: ?Off Limits: Directory
Date: 3 May 2004 13:42:49 -0700
Organization: http://groups.google.com
Lines: 23
Message-ID: <3f9c05b0.0405031242.226d2cdf@posting.google.com>
NNTP-Posting-Host: 141.155.203.100
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1083616969 5504 127.0.0.1 (3 May 2004 20:42:49 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 3 May 2004 20:42:49 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14994

Hello.

  When I try to do any Local Change Directory commands  (LCD or LCWD,
or even a cd) in my C-Kermit 8.0.211 I get the following "?Off limits"
error

C-Kermit 8.0.211, 10 Apr 2004, for Solaris 9
 Copyright (C) 1985, 2004,
  Trustees of Columbia University in the City of New York.
Type ? or HELP for help.
(/u/rdps/pav/openssl/openssl/certs/) C-Kermit>lcd /appl
?Off limits: "/appl"
(/u/rdps/pav/openssl/openssl/certs/) C-Kermit>


I've checked the permission on my UNIX machine and the directory
allows access to owner, group and other.

Anybody have any suggestions?

Many thanks in advance.

Peter

From fdc@columbia.edu Mon May  3 16:48:53 2004
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: ?Off Limits: Directory
Date: 3 May 2004 20:48:45 GMT
Organization: Columbia University
Lines: 21
Message-ID: <slrnc9dc1d.kdj.fdc@sesame.cc.columbia.edu>
References: <3f9c05b0.0405031242.226d2cdf@posting.google.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1083617325 13670 128.59.59.56 (3 May 2004 20:48:45 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 3 May 2004 20:48:45 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14995

On 2004-05-03, Peter V. <dm_v_2000@yahoo.com> wrote:
: When I try to do any Local Change Directory commands  (LCD or LCWD,
: or even a cd) in my C-Kermit 8.0.211 I get the following "?Off limits"
: error
:
: C-Kermit 8.0.211, 10 Apr 2004, for Solaris 9
:  Copyright (C) 1985, 2004,
:   Trustees of Columbia University in the City of New York.
: Type ? or HELP for help.
: (/u/rdps/pav/openssl/openssl/certs/) C-Kermit>lcd /appl
: ?Off limits: "/appl"
: (/u/rdps/pav/openssl/openssl/certs/) C-Kermit>
:
: I've checked the permission on my UNIX machine and the directory
: allows access to owner, group and other.
:
This happens after a SET ROOT command (or CHROOT, same thing) has been
given, and you attempt to access a directory outside of the tree rooted
at the given place.

- Frank

From thucdat@hotmail.com Tue May  4 11:56:04 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: The Unknown C-Kermit.
Date: 3 May 2004 15:02:34 -0700
Organization: http://groups.google.com
Lines: 45
Message-ID: <6b1f50ac.0405031402.31a93918@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 1083621754 10962 127.0.0.1 (3 May 2004 22:02:34 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 3 May 2004 22:02:34 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14996

If you are using C-Kermit to do some simple communication tasks
between two computers, you are under utilizing C-Kermit. Since the
release of version 8.0, C-Kermit is a versatile instrument that can be
used to do many things that you are unaware of.

Consider that Delphi and Visual Basic run only on Windows, Java won't
run on many platforms for years to come (i.e. Stratus VOS) and
Smalltalk exists only for a few OS. C-Kermit has been the "WRITE ONCE
RUN EVERYWHERE" since the 1980s.

Take one classic problem in operating system: the Dinning
Philosophers. The Dinning Philosophers problem can be stated as
follows:

"Five philosophers spend their lives thinking, eating, and sleeping.
The Philosophers sit around a table where there is a bowl of rice and
five chopsticks. Each philosopher compete for two chopsticks to eat."

To solve this problem, one needs supports from the running environment
like semaphore, timer, fork, multiprocessing, and concurrency.
C-Kermit does not provide all that, but you can create them and solve
the Dinning Philosophers problem in C-Kermit.

The whole thing is easier to do in OOP fashion where each philosopher
is presented by an object. These objects line up in a queue executed
in turn by a process object. Each philosopher object carries with
itself a softtimer that is timed when the object gets processed.

The philosopher objects compete for chopsticks which are binary
semaphore objects. The semaphores keep tracks of the philosophers
waiting for chopsticks to be available. Whenever the chopsticks are
released by eating philosopher objects, the semaphores send the
waiting philosopher objects to the process object queue.

This model of processing are applicable to a variety of complex
programming task where resources are competed, state of running
objects continously change. And since C-Kermit can communicate with
other computers, many useful administration tasks and communication
applications can be done comfortably.

For the solution of the Dinning Philosophers problem in C-Kermit, see:

http://www.columbia.edu/kermit/ckscripts.html#oops

Dat Nguyen

From arthur.marsh@internode.on.net Tue May  4 12:06:17 2004
Date: Tue, 04 May 2004 14:58:48 +0930
From: Arthur Marsh <arthur.marsh@internode.on.net>
Organization: what organisation
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7b) Gecko/20040421
X-Accept-Language: en, en-us
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: The Unknown C-Kermit.
References: <6b1f50ac.0405031402.31a93918@posting.google.com>
In-Reply-To: <6b1f50ac.0405031402.31a93918@posting.google.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: ppp953.adelaide.on.net.au
Message-ID: <40972a12@duster.adelaide.on.net>
X-Trace: duster.adelaide.on.net 1083648530 150.101.77.184 (4 May 2004 14:58:50 +0950)
Lines: 59
Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!logbridge.uoregon.edu!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:14997



Dat Nguyen wrote:

> If you are using C-Kermit to do some simple communication tasks
> between two computers, you are under utilizing C-Kermit. Since the
> release of version 8.0, C-Kermit is a versatile instrument that can be
> used to do many things that you are unaware of.
> 
> Consider that Delphi and Visual Basic run only on Windows, Java won't
> run on many platforms for years to come (i.e. Stratus VOS) and
> Smalltalk exists only for a few OS. C-Kermit has been the "WRITE ONCE
> RUN EVERYWHERE" since the 1980s.
> 
> Take one classic problem in operating system: the Dinning
> Philosophers. The Dinning Philosophers problem can be stated as
> follows:
> 
> "Five philosophers spend their lives thinking, eating, and sleeping.
> The Philosophers sit around a table where there is a bowl of rice and
> five chopsticks. Each philosopher compete for two chopsticks to eat."
> 
> To solve this problem, one needs supports from the running environment
> like semaphore, timer, fork, multiprocessing, and concurrency.
> C-Kermit does not provide all that, but you can create them and solve
> the Dinning Philosophers problem in C-Kermit.
> 
> The whole thing is easier to do in OOP fashion where each philosopher
> is presented by an object. These objects line up in a queue executed
> in turn by a process object. Each philosopher object carries with
> itself a softtimer that is timed when the object gets processed.
> 
> The philosopher objects compete for chopsticks which are binary
> semaphore objects. The semaphores keep tracks of the philosophers
> waiting for chopsticks to be available. Whenever the chopsticks are
> released by eating philosopher objects, the semaphores send the
> waiting philosopher objects to the process object queue.
> 
> This model of processing are applicable to a variety of complex
> programming task where resources are competed, state of running
> objects continously change. And since C-Kermit can communicate with
> other computers, many useful administration tasks and communication
> applications can be done comfortably.
> 
> For the solution of the Dinning Philosophers problem in C-Kermit, see:
> 
> http://www.columbia.edu/kermit/ckscripts.html#oops

Well done!

The correct URL for the dining philosphers script is:

ftp://kermit.columbia.edu/kermit/scripts/ckermit/dining-philosophers

(The present link omits the hyphen).
> 
> Dat Nguyen

Arthur.

From fdc@columbia.edu Tue May  4 12:15:23 2004
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: The Unknown C-Kermit.
Date: 4 May 2004 16:15:14 GMT
Organization: Columbia University
Lines: 22
Message-ID: <slrnc9fgci.rgt.fdc@sesame.cc.columbia.edu>
References: <6b1f50ac.0405031402.31a93918@posting.google.com> <40972a12@duster.adelaide.on.net>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1083687314 1026 128.59.59.56 (4 May 2004 16:15:14 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 4 May 2004 16:15:14 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14998

On 2004-05-04, Arthur Marsh <arthur.marsh@internode.on.net> wrote:
: Dat Nguyen wrote:
:...
:> For the solution of the Dinning Philosophers problem in C-Kermit, see:
:> 
:> http://www.columbia.edu/kermit/ckscripts.html#oops
:
: Well done!
:
: The correct URL for the dining philosphers script is:
:
: ftp://kermit.columbia.edu/kermit/scripts/ckermit/dining-philosophers
:
: (The present link omits the hyphen).
:
"Oops", my fault.  Fixed now, and I've also replaced the script by
Version 2.0, which works for any number of hungry, sleepy philosophers,
and added Dat's message as Case Study 27:

  http://www.columbia.edu/kermit/studies.html

- Frank

From thucdat@hotmail.com Tue May  4 15:36:39 2004
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: thucdat@hotmail.com (Dat Nguyen)
Newsgroups: comp.protocols.kermit.misc
Subject: The Future in C-Kermit
Date: 4 May 2004 12:30:24 -0700
Organization: http://groups.google.com
Lines: 36
Message-ID: <6b1f50ac.0405041130.1755432b@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 1083699024 32455 127.0.0.1 (4 May 2004 19:30:24 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 4 May 2004 19:30:24 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14999

We simulate things to predict the future. Alan Kay, the grand visioner
of Smalltalk, boldly stated: "The best way to predict the future is to
create one".

Well, let's create one in C-Kermit. Yes, it doesn't have to be in
Smalltalk.

I am going to open an ice cream store, I would like to forsee the
profit. Sure and again, the whole thing is easier to do in OOP
fashion, even though I also feel at home in 8080 assembler.

The objects of this simulation are the store, the customers, the
container to keep track of the events happening at the store: customer
arrivals, customer orders, customer departures; even the random
distribution of events are objects of classes.

The same idea to handle realtime events is used here, there is a
process object with a queue waiting for events to come and executes
them.

Speaking OOP, what's about inheritance? You'll find it here! Smalltalk
allows only single inheritance, C++ and ... OOP in C-Kermit offers
both: single and multiple inheritance; but that is a subject of
another post.

In this simulation, not objects but the events are passed around,
stored and executed when time dues. Everything is very Smalltalk
alike, but written and executed entirely in C-Kermit.

The simulation of an ice cream store is implemented in Smalltalk in
the book A Little Smalltalk, by Tim Budd, Addison-Wesley 1987.

The implementation in C-Kermit is found at:
http://www.columbia.edu/kermit/ckscripts.html#oops

Dat

From dm_v_2000@yahoo.com Tue May  4 16:03:44 2004
Path: newsmaster.cc.columbia.edu!feed1.nycmny01.us.to.verio.net!nntp2.tagonline.com!newsfeed2.dallas1.level3.net!news.level3.com!bloom-beacon.mit.edu!npeer.de.kpn-eurorings.net!news.glorb.com!postnews1.google.com!not-for-mail
From: dm_v_2000@yahoo.com (Peter V.)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: C-Kermit 8.0 on Solaris 9.0
Date: 4 May 2004 12:49:13 -0700
Organization: http://groups.google.com
Lines: 35
Message-ID: <3f9c05b0.0405041149.37a837fa@posting.google.com>
References: <3f9c05b0.0405030539.2f499632@posting.google.com> <40964FEB.6090000@nyc.rr.com>
NNTP-Posting-Host: 141.155.203.100
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1083700153 1270 127.0.0.1 (4 May 2004 19:49:13 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 4 May 2004 19:49:13 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15001

Jeffrey,

  thank you!  I'm able to connect do a DIR with no problem, once connected.

Peter

Jeffrey Altman <jaltman2@nyc.rr.com> wrote in message news:<40964FEB.6090000@nyc.rr.com>...
> You have configured C-Kermit to accept incoming connections
> for the data channel on port 42944.  Your firewall does not
> allow connections to this port.  Therefore, you must use passive
> mode which is the default for C-Kermit.
> 
> Peter V. wrote:
> > Hello.
> > 
> >   I'm able to make a secure SSL/TLS connection to IBM Info Exchange
> > from my UNIX machine that is running Solaris 9.0 with C-Kermit
> > 8.0.211.  However, once I am connected, whenever I try to do a remote
> > command, like RDIR shown below the following occurs and the C-Kermit
> > session hangs.
> > 
> > (/u/rdps/pav/openssl/openssl/certs/) C-Kermit>RDIR
> > ---> TYPE A
> > 200 Type now set to A.
> > ---> PORT 150,150,80,111,167,192 
> > 200 Port command OK.
> > ---> LIST 
> > 150 Data connection ready to be secured.
> > 
> > 
> >   Any suggestions?  
> > 
> > Many thanks in advance.
> > 
> > Peter

From dm_v_2000@yahoo.com Tue May  4 16:03:57 2004
Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!news.glorb.com!postnews1.google.com!not-for-mail
From: dm_v_2000@yahoo.com (Peter V.)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: ?Off Limits: Directory
Date: 4 May 2004 12:51:57 -0700
Organization: http://groups.google.com
Lines: 30
Message-ID: <3f9c05b0.0405041151.6ace19e5@posting.google.com>
References: <3f9c05b0.0405031242.226d2cdf@posting.google.com> <slrnc9dc1d.kdj.fdc@sesame.cc.columbia.edu>
NNTP-Posting-Host: 141.155.203.100
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1083700317 1579 127.0.0.1 (4 May 2004 19:51:57 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 4 May 2004 19:51:57 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15000

Frank,

  Thank you.  I now make sure to set locus (either remote or local)
and am able to change the CWD.  I commented out the set root. Once
again Many thanks!

Peter

Frank da Cruz <fdc@columbia.edu> wrote in message news:<slrnc9dc1d.kdj.fdc@sesame.cc.columbia.edu>...
> On 2004-05-03, Peter V. <dm_v_2000@yahoo.com> wrote:
> : When I try to do any Local Change Directory commands  (LCD or LCWD,
> : or even a cd) in my C-Kermit 8.0.211 I get the following "?Off limits"
> : error
> :
> : C-Kermit 8.0.211, 10 Apr 2004, for Solaris 9
> :  Copyright (C) 1985, 2004,
> :   Trustees of Columbia University in the City of New York.
> : Type ? or HELP for help.
> : (/u/rdps/pav/openssl/openssl/certs/) C-Kermit>lcd /appl
> : ?Off limits: "/appl"
> : (/u/rdps/pav/openssl/openssl/certs/) C-Kermit>
> :
> : I've checked the permission on my UNIX machine and the directory
> : allows access to owner, group and other.
> :
> This happens after a SET ROOT command (or CHROOT, same thing) has been
> given, and you attempt to access a directory outside of the tree rooted
> at the given place.
> 
> - Frank

From fdc@columbia.edu Tue May  4 16:12:15 2004
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: ?Off Limits: Directory
Date: 4 May 2004 20:11:58 GMT
Organization: Columbia University
Lines: 21
Message-ID: <slrnc9fu8e.s0v.fdc@sesame.cc.columbia.edu>
References: <3f9c05b0.0405031242.226d2cdf@posting.google.com> <slrnc9dc1d.kdj.fdc@sesame.cc.columbia.edu> <3f9c05b0.0405041151.6ace19e5@posting.google.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1083701518 11901 128.59.59.56 (4 May 2004 20:11:58 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 4 May 2004 20:11:58 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15002

On 2004-05-04, Peter V. <dm_v_2000@yahoo.com> wrote:
:   Thank you.  I now make sure to set locus (either remote or local)
: and am able to change the CWD.  I commented out the set root. Once
: again Many thanks!
:
Sure.  Note: the LOCUS setting tells where unqualified file management
commands like DIRECTORY and DELETE should be aimed: the local computer where
Kermit is running or the remote computer to which you have a connection.

You can always override the LOCUS setting by using an L or R prefix on any
file management command: LDIR, LDEL (local); RDIR, RDEL (remote).  This
notion was introduced in C-Kermit 8.0.201 because of the new FTP client;
FTP users expect commands like DIR and DELETE to be executed by the remote
server, whereas Kermit users expect them to execute locally.  For this
reason Kermit automatically switches LOCUS to REMOTE when you make an FTP
connection, and keeps it LOCAL otherwise.  It's all documented in the
update notes:

  http://www.columbia.edu/kermit/ckermit80.html#setlocus

- Frank

From adam@macrotex.net Fri May  7 10:36:36 2004
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed00.sul.t-online.de!t-online.de!news.glorb.com!postnews1.google.com!not-for-mail
From: adam@macrotex.net (A. Lewenberg)
Newsgroups: comp.protocols.kermit.misc
Subject: Forcing binary mode transfer
Date: 7 May 2004 05:13:22 -0700
Organization: http://groups.google.com
Lines: 19
Message-ID: <6bd7331b.0405070413.749e75d1@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 1083932002 31963 127.0.0.1 (7 May 2004 12:13:22 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 7 May 2004 12:13:22 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15004

I am having trouble getting Kermit to transfer some files in binary
mode. Here is the setup:

I am transfering some EPS (Encapsulated PostScript) files FROM my home
Windows 2000 machine TO a Solaris 5.8 machine. The Windows machine is
running Kermit 95 2.1.3 while the Solaris machine is running C-Kermit
8.0.209.

I first connect to the Solaris machine using the ssh feature of Kermit
95. I start Kermit on the Solaris machine with the command "kermit
-ix" and escape back to the Kermit 95 prompt and type at the prompt
"SET FILE TYPE BINARY". I then type "send test.eps" and the file
"successfully" transfers but the transfer window always indicates
"File Type: TEXT (ascii => ascii)". I do not have a .kermrc in my home
directory on the Solaris side.

What do I have to do do force Kermit to send a file in binary mode?

Thank you.

From jaltman2@nyc.rr.com Fri May  7 10:36:44 2004
Path: newsmaster.cc.columbia.edu!feed1.nycmny01.us.to.verio.net!iad-feed.news.verio.net!newspeer1.stngva01.us.to.verio.net!news.verio.net!news.maxwell.syr.edu!meganewsservers.com!feeder2.on.meganewsservers.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!not-for-mail
Message-ID: <409B890D.50404@nyc.rr.com>
From: Jeffrey Altman <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040421
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Forcing binary mode transfer
References: <6bd7331b.0405070413.749e75d1@posting.google.com>
In-Reply-To: <6bd7331b.0405070413.749e75d1@posting.google.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 31
Date: Fri, 07 May 2004 12:53:43 GMT
NNTP-Posting-Host: 24.193.46.55
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1083934423 24.193.46.55 (Fri, 07 May 2004 08:53:43 EDT)
NNTP-Posting-Date: Fri, 07 May 2004 08:53:43 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15005

SET TRANSFER MODE MANUAL
SET FILE TYPE BINARY
SEND <file>



A. Lewenberg wrote:
> I am having trouble getting Kermit to transfer some files in binary
> mode. Here is the setup:
> 
> I am transfering some EPS (Encapsulated PostScript) files FROM my home
> Windows 2000 machine TO a Solaris 5.8 machine. The Windows machine is
> running Kermit 95 2.1.3 while the Solaris machine is running C-Kermit
> 8.0.209.
> 
> I first connect to the Solaris machine using the ssh feature of Kermit
> 95. I start Kermit on the Solaris machine with the command "kermit
> -ix" and escape back to the Kermit 95 prompt and type at the prompt
> "SET FILE TYPE BINARY". I then type "send test.eps" and the file
> "successfully" transfers but the transfer window always indicates
> "File Type: TEXT (ascii => ascii)". I do not have a .kermrc in my home
> directory on the Solaris side.
> 
> What do I have to do do force Kermit to send a file in binary mode?
> 
> Thank you.

-- 
-----------------
This e-mail account is not read on a regular basis.
Please send private responses to jaltman at mit dot edu

From fdc@columbia.edu Fri May  7 10:37:56 2004
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Forcing binary mode transfer
Date: 7 May 2004 14:37:48 GMT
Organization: Columbia University
Lines: 40
Message-ID: <slrnc9n7ps.rrg.fdc@sesame.cc.columbia.edu>
References: <6bd7331b.0405070413.749e75d1@posting.google.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1083940668 14413 128.59.59.56 (7 May 2004 14:37:48 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 7 May 2004 14:37:48 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15006

On 2004-05-07, A. Lewenberg <adam@macrotex.net> wrote:
: I am having trouble getting Kermit to transfer some files in binary
: mode. Here is the setup:
:
: I am transfering some EPS (Encapsulated PostScript) files FROM my home
: Windows 2000 machine TO a Solaris 5.8 machine. The Windows machine is
: running Kermit 95 2.1.3 while the Solaris machine is running C-Kermit
: 8.0.209.
:
: I first connect to the Solaris machine using the ssh feature of Kermit
: 95. I start Kermit on the Solaris machine with the command "kermit
: -ix" and escape back to the Kermit 95 prompt and type at the prompt
: "SET FILE TYPE BINARY". I then type "send test.eps" and the file
: "successfully" transfers but the transfer window always indicates
: "File Type: TEXT (ascii => ascii)". I do not have a .kermrc in my home
: directory on the Solaris side.
:
This is explained here:

  http://www.columbia.edu/kermit/ckermit80.html#x4

See especially the SET FILE SCAN command description.  Briefly, the problem
is that the EPS file is a text file in its first 48K, which is all that
Kermit's file scanner looks at by default.  After that, the file contains
a binary portion.

> What do I have to do do force Kermit to send a file in binary mode?
> 
Lots of choices:

 1. SEND /BINARY <filename> (force binary mode for this file)
 2. SET FILE SCAN ON -1     (force full file scan)
 3. SET TRANSFER MODE MANUAL, SET FILE TYPE BINARY, SEND <filename>
 4. SET FILE SCAN OFF, SET FILE TYPE BINARY, SEND <filename>

If you include a /TEXT or /BINARY switch with a SEND command, this
overrides all other settings and forces the indicated transfer mode.
2-4 are explained in the above Web reference.

- Frank

From finhead@optonline.net Fri May  7 11:27:05 2004
Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail
From: finhead@optonline.net (finhead)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit screen resolution
Date: 7 May 2004 08:18:50 -0700
Organization: http://groups.google.com
Lines: 54
Message-ID: <456f3f60.0405070718.3a6c8421@posting.google.com>
References: <456f3f60.0404160710.603aa883@posting.google.com> <408010B1.7070600@nyc.rr.com> <456f3f60.0404230627.46fc3f02@posting.google.com> <40892C2A.1000404@nyc.rr.com> <456f3f60.0404231108.19555b96@posting.google.com> <40896B0B.9050001@nyc.rr.com> <456f3f60.0404260708.b449dc7@posting.google.com> <408D9071.2050607@nyc.rr.com> <456f3f60.0404300532.21114641@posting.google.com> <40925ED2.9060506@nyc.rr.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 1083943131 12560 127.0.0.1 (7 May 2004 15:18:51 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 7 May 2004 15:18:51 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15007

First of all I want to thank you for all the information and support.
Let me tell you what settings I have on the dialer.
Under terminal settings 
Terminal Type wyse370
Character size 8 bits
Screen Width 129 columns Height 28 lines
Then under GUI settings 
I have Use GUI Kermit 95 checked
Fontsize 20
Resize Mode; Change dimentsions
Font Size 20
Run: Maximized
Then I have the "Menu bar,Tool bar, and Status bar all uncheked. When
I click on this connection from the dialer I get the desired result. I
then create the shortcut and I do not get the same screen. It fills
about half the screen starting from the upper left hand corner. I then
edit the shortcut to start maximized and I still do not get the
desired result. Sorry that this thread is getting long.


Jeffrey Altman <jaltman2@nyc.rr.com> wrote in message news:<40925ED2.9060506@nyc.rr.com>...
> The ability of a Maximized Kermit 95 window to fill the screen is
> affected by the following options:
> 
>   * fontname
>   * fontsize
>   * terminal height
>   * terminal width
>   * Gui Resize Mode: {change dimensions or scale font}
> 
> Regardless of the settings, maximizing the window will fill the display.
> If your display is 1024x768, then maximizing will fill the entire 
> display.  If the resize mode is change dimensions, then the height and
> width will be ignored.  The selected number of rows and columns will
> be determined by the number of character cells which fill the screen 
> based upon the selected fontname and fontsize.  If the resize mode is
> scale font, then the height and width will be preserved.  Instead, the
> fontsize will be altered if possible to fill the display as best as can
> be done.  If you have selected a scalable fontname, then this will work
> well.  If you have selected a bitmap fontname, then the ability to scale
> will be limited to the fixed sizes of the fontname available on your system.
> 
> Jeffrey Altman
> 
> 
> 
> finhead wrote:
> > I have donloaded the kermit version 2.1.3 again and I still have the
> > same issue. I have set up myh session once again. I have even opened
> > the shortcut using notepad and edited the line
> > "set tem width 120"
> > "set term height 39"
> > to accomodate the 1024x768 screen resolution but it still does not
> > open correctly. Am I missing something here?

From google@macrotex.net Sun May  9 17:25:47 2004
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!msi.co.jp!news.media.kyoto-u.ac.jp!CALA-MUZIK!news.moat.net!news.glorb.com!postnews1.google.com!not-for-mail
From: google@macrotex.net (Rich Evans)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Forcing binary mode transfer
Date: 9 May 2004 08:58:55 -0700
Organization: http://groups.google.com
Lines: 23
Message-ID: <422494b1.0405090758.4eacb73@posting.google.com>
References: <6bd7331b.0405070413.749e75d1@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 1084118336 32169 127.0.0.1 (9 May 2004 15:58:56 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sun, 9 May 2004 15:58:56 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15009

Thank you very much. That seems to have solved it.


adam@macrotex.net (A. Lewenberg) wrote in message news:<6bd7331b.0405070413.749e75d1@posting.google.com>...
> I am having trouble getting Kermit to transfer some files in binary
> mode. Here is the setup:
> 
> I am transfering some EPS (Encapsulated PostScript) files FROM my home
> Windows 2000 machine TO a Solaris 5.8 machine. The Windows machine is
> running Kermit 95 2.1.3 while the Solaris machine is running C-Kermit
> 8.0.209.
> 
> I first connect to the Solaris machine using the ssh feature of Kermit
> 95. I start Kermit on the Solaris machine with the command "kermit
> -ix" and escape back to the Kermit 95 prompt and type at the prompt
> "SET FILE TYPE BINARY". I then type "send test.eps" and the file
> "successfully" transfers but the transfer window always indicates
> "File Type: TEXT (ascii => ascii)". I do not have a .kermrc in my home
> directory on the Solaris side.
> 
> What do I have to do do force Kermit to send a file in binary mode?
> 
> Thank you.

From thucdat@hotmail.com Mon May 10 09:29:55 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: Logic Programming in C-Kermit
Date: 9 May 2004 16:59:18 -0700
Organization: http://groups.google.com
Lines: 143
Message-ID: <6b1f50ac.0405091559.58c4b822@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 1084147158 30628 127.0.0.1 (9 May 2004 23:59:18 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sun, 9 May 2004 23:59:18 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15010

After a few rounds of Object-Oriented Programming in C-Kermit, I hope you've
seen that C-Kermit can do OOP to solve some tough problems. I am about to embark
on Patterns, an advanced software subject, when I tumble on the following puzzle
in a Prolog book (Prolog and Lisp are considered as the two big tools to
research artificial intelligence):

===============================================================================
Implement an inference engine that can handle symmetric 2-place predicates
(those whose arguments can be interchanged) without looping. Put the functor
symmetric in front of each fact that is to have the symmetric property, and let
symmetric be a prefix operator. For example:

symmetric married(john,mary).
symmetric married(melody,michael).

?- prove(married(mary,john)).
yes

?- prove(married(john,mary)).
yes


?- prove(married(michael,Who)).
Who = melody

?- prove(married(abc,xyz)).
no
===============================================================================



Following is my implementation in C-Kermit:

###############################################################################
define symmetric {
	if > \find({\%2},\m(\%1.contain)) 0 {
		echo Relation \%1 \%2 already defined
		return 1
	}
	local \&z[]
	void \fsplit(\%2,&z,{,})
	if > \farraylook(who,&z) -1 {
		echo Cannot relate with who
		return 0
	}
	_define \%1 1
	_asg \%1.contain \m(\%1.contain)|\%2|
	return 1
}

define prove {
	if not define \m(\%1) {
		echo Relation \%1 does not exist
		return 0
	}
	local \%n \&w[] \&z[]
	asg \%n \fsplit(\m(\%1.contain),&w,|)
	void \fsplit(\%2,&z,{,})
	if > \farraylook(\%2,&w) -1 {
		echo Yes
		return 1
	} else if > \farraylook({\&z[2],\&z[1]},&w) -1 {
		echo Yes
		return 1
	} else if > \find(\&z[2],who) 0 {
		local \%f \%i
		asg \%f 0
		for \%i 1 \%n 1 {
			if > \find(\&z[1],\&w[\%i]) 0 {
				echo Who = \freplace(\freplace(\&w[\%i],\&z[1]),{,})
				asg \%f 1
			}
		}
		return \%f
	} else {
		echo No
		return 0
	}
}

###############################################################################

# In a typical soccer tournament, the following matches are usual:
symmetric playsoccer Brazil,Italy
symmetric playsoccer Germany,Italy
symmetric playsoccer England,Brazil
symmetric playsoccer England,Germany
symmetric playsoccer Italy,Germany
symmetric playsoccer Holland,Germany
symmetric playsoccer France,Italy
symmetric playsoccer England,France

# In a chess tournament, the following encounters are possible:
symmetric playchess Karpov,Kasparov
symmetric playchess Leko,Kasparov
symmetric playchess Leko,Kramnik
symmetric playchess Karpov,Kramnik
symmetric playchess Annand,Kramnik
symmetric playchess Leko,Karpov
symmetric playchess Ponomariov,Karpov
symmetric playchess Polga,Karpov
symmetric playchess Leko,Polga

# In a party, the following pairs would happen:
symmetric danceWith Jane,Robert
symmetric danceWith Jennifer,Mark
symmetric danceWith Mary,John
symmetric danceWith Mary,Robert
symmetric danceWith Suzie,George
symmetric danceWith Kevin,Carol
symmetric danceWith Mark,Carol

# All relations playsoccer, playchess, and danceWith can live in the same
environment.
# To see if France play Germany:

prove playsoccer France,Germany

# To see which teams Brazil plays:

prove playsoccer Brazil,Who

# To see if Brazil plays Belgium:

prove playsoccer Brazil,Belgium

# To see if Mark kissed any girl in the party:

prove kiss Mark,Who

# You'll find the relation kiss hasn't been defined, that is nobody has kissed
anybody. Playboy is a rare animal.

As you see, everything, be it Expert system or AI, is only the fakes happening
on the surface. Below the surface is just the handling of bits and bytes.

With this, I've just entered the world of logic programming in C-Kermit. Stay
tuned, many exciting things are going to happen here.

The script is also found at:
ftp://kermit.columbia.edu/kermit/scripts/ckermit/symmetric

Dat

From dold@ScreenXScr.usenet.us.com Wed May 12 09:07:18 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!newsfeed1.stngva01.us.to.verio.net!newspeer1.stngva01.us.to.verio.net!news.verio.net!news.glorb.com!green.octanews.net!news-out.octanews.net!cox.net!news-xfer.cox.net!news.lightlink.com!wasp.rahul.net!blue.rahul.net!not-for-mail
From: dold@ScreenXScr.usenet.us.com
Newsgroups: comp.protocols.kermit.misc
Subject: Screen Scrollback count
Date: Wed, 12 May 2004 01:04:16 +0000 (UTC)
Organization: a2i network
Lines: 20
Sender: Clarence Dold <dold@violet.rahul.net>
Message-ID: <c7rt6g$1dl$1@blue.rahul.net>
NNTP-Posting-Host: violet.rahul.net
X-Trace: blue.rahul.net 1084323856 1461 66.237.72.28 (12 May 2004 01:04:16 GMT)
X-Complaints-To: support@rahul.net
NNTP-Posting-Date: Wed, 12 May 2004 01:04:16 +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:15012

I have K95 2.1.3, and I want more screen scrollback.
It seems to be at 512 lines.
I have adjusted some dialer entries to larger values (like 2000)
I also adjusted \v(appdata)\k95custom.ini to 
	set term scrollback 2000
but it doesn't seem to take effect.

Wait a minute.  I missed the 
	end 0                            ; <-- Remove this to continue.
What was that for?

Nope, that doesn't fix my dialer entries.
Do I have to adjust each entry in Dialers?
What executes after the Dialers Database has its way?


-- 
---
Clarence A Dold - Hidden Valley (Lake County) CA USA  38.8-122.5


From jaltman2@nyc.rr.com Wed May 12 09:07:23 2004
Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!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: <40A19514.6050902@nyc.rr.com>
From: Jeffrey Altman <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040421
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Screen Scrollback count
References: <c7rt6g$1dl$1@blue.rahul.net>
In-Reply-To: <c7rt6g$1dl$1@blue.rahul.net>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 28
Date: Wed, 12 May 2004 03:05:43 GMT
NNTP-Posting-Host: 24.193.46.55
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1084331143 24.193.46.55 (Tue, 11 May 2004 23:05:43 EDT)
NNTP-Posting-Date: Tue, 11 May 2004 23:05:43 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15013

The script generated by the dialer is executed last.
Therefore, you must change each dialer entry

Jeffrey Altman


dold@ScreenXScr.usenet.us.com wrote:
> I have K95 2.1.3, and I want more screen scrollback.
> It seems to be at 512 lines.
> I have adjusted some dialer entries to larger values (like 2000)
> I also adjusted \v(appdata)\k95custom.ini to 
> 	set term scrollback 2000
> but it doesn't seem to take effect.
> 
> Wait a minute.  I missed the 
> 	end 0                            ; <-- Remove this to continue.
> What was that for?
> 
> Nope, that doesn't fix my dialer entries.
> Do I have to adjust each entry in Dialers?
> What executes after the Dialers Database has its way?
> 
> 

-- 
-----------------
This e-mail account is not read on a regular basis.
Please send private responses to jaltman at mit dot edu

From thucdat@hotmail.com Fri May 14 14:52:50 2004
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: thucdat@hotmail.com (Dat Nguyen)
Newsgroups: comp.protocols.kermit.misc
Subject: Rule-based programming in C-Kermit
Date: 14 May 2004 10:24:45 -0700
Organization: http://groups.google.com
Lines: 10
Message-ID: <6b1f50ac.0405140924.542212b7@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 1084555486 29785 127.0.0.1 (14 May 2004 17:24:46 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 14 May 2004 17:24:46 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15019

Can rule-based programming be done in C-Kermit?
Yes, a typical rule-based problem is car repair. A demonstrative 
implementation in C-Kermit is found here:


  ftp://kermit.columbia.edu/kermit/scripts/ckermit/rulebase
  ftp://kermit.columbia.edu/kermit/scripts/ckermit/autorepair

Enjoy,
Dat

From stevebNoSpamPlease@comcast.com Fri May 14 15:39:38 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!nntp2.tagonline.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed.mathworks.com!arclight.uoregon.edu!wn51feed!worldnet.att.net!208.48.142.85!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: Fri, 14 May 2004 13:50:59 -0500
From: "Steve" <stevebNoSpamPlease@comcast.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Shut down server on disconnect
Date: Fri, 14 May 2004 11:51:09 -0700
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
Message-ID: <89WdndOf4PyJiDjd38DK-w@speakeasy.net>
Lines: 9
NNTP-Posting-Host: 216.254.11.161
X-Trace: sv3-o05TXG+wqw8iwmpcNOWoHbaVfVMqhaPrskAG+bRI8jHqNbGupecFsb7jaL/Tjdy5bXd4GgAbONCU3af!ieuQAMJYyBEFjfE6dfyrioMcUyXn0gOIR7uz+l3cE6Q3FlCOYuVbajw6vi1we1GfSwrOfceFRtiZ!FKT5N0/zgDNkDugEeA==
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:15020

Is there a setting to exit server mode when a file transfer coming in dies
because of a disconnected phone line?  I have a PC that I leave in server
mode waiting for a remote PC to dial in and send files.  I would like my PC
to exit Server mode when I get a dropped line.  If this is possible, what
version of K95 do I need?

Steve



From fdc@columbia.edu Fri May 14 15:58:01 2004
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Shut down server on disconnect
Date: 14 May 2004 19:52:51 GMT
Organization: Columbia University
Lines: 33
Message-ID: <slrncaa8sj.cbh.fdc@sesame.cc.columbia.edu>
References: <89WdndOf4PyJiDjd38DK-w@speakeasy.net>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1084564371 14754 128.59.59.56 (14 May 2004 19:52:51 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 14 May 2004 19:52:51 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15021

On 2004-05-14, Steve <stevebNoSpamPlease@comcast.com> wrote:
: Is there a setting to exit server mode when a file transfer coming in dies
: because of a disconnected phone line?  I have a PC that I leave in server
: mode waiting for a remote PC to dial in and send files.  I would like my PC
: to exit Server mode when I get a dropped line.  If this is possible, what
: version of K95 do I need?
:
We always recommend the latest, which currently is 2.1.3:

  http://www.columbia.edu/kermit/k95.html
  http://www.columbia.edu/kermit/k95upgrade.html

Something like the following should work.  The example assumes you want
to wait for call, enter server mode when it comes in, exit server mode
on disconnect (or when the user says BYE or FINISH), and then go back
and do it again:

  set modem type usrobotics  ; or whatever
  set speed 57600            ; or whatever
  set carrier-watch auto     ; (this is the default)
  while true {               ; Repeatedly...
      answer                 ; Wait for a call
      if success server      ; If no errors enter server mode 
  }

The SERVER command should return if the call disconnects or the user
explicitly terminates it.  The ANSWER commands begins by hanging up
the phone (if off hook) and resetting the modem.  SET CARRIER-WATCH AUTO
means that a Carrier signal is not required while waiting for the call 
to come in, but once the phone is answered, Carrier is required; should
it drop, the active command (SERVER in this case) terminates.

- Frank

From jaltman2@nyc.rr.com Sat May 15 13:44:36 2004
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsxfer.itd.umich.edu!news.maxwell.syr.edu!wn14feed!worldnet.att.net!199.45.49.37!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: <40A570E4.1070108@nyc.rr.com>
From: Jeffrey Altman <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040421
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Shut down server on disconnect
References: <89WdndOf4PyJiDjd38DK-w@speakeasy.net>
In-Reply-To: <89WdndOf4PyJiDjd38DK-w@speakeasy.net>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 24
Date: Sat, 15 May 2004 01:18:51 GMT
NNTP-Posting-Host: 24.193.46.55
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1084583931 24.193.46.55 (Fri, 14 May 2004 21:18:51 EDT)
NNTP-Posting-Date: Fri, 14 May 2004 21:18:51 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15022

All versions of Kermit 95 support it.

	SET CARRIER-WATCH ON

and be sure to use a modem cable which provide the CD signal
from the modem to the serial port.



Steve wrote:
> Is there a setting to exit server mode when a file transfer coming in dies
> because of a disconnected phone line?  I have a PC that I leave in server
> mode waiting for a remote PC to dial in and send files.  I would like my PC
> to exit Server mode when I get a dropped line.  If this is possible, what
> version of K95 do I need?
> 
> Steve
> 
> 

-- 
-----------------
This e-mail account is not read on a regular basis.
Please send private responses to jaltman at mit dot edu

From fdc@columbia.edu Sun May 23 14:35:49 2004
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: REMOTE MESSAGE command for K95 and C-Kermit
Date: 23 May 2004 18:34:45 GMT
Organization: Columbia University
Lines: 38
Message-ID: <slrncb1rm5.6ml.fdc@sesame.cc.columbia.edu>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1085337285 11174 128.59.59.56 (23 May 2004 18:34:45 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 23 May 2004 18:34:45 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15023

An interesting tech-support query came in a few days ago.  Someone who
had been using MS-DOS Kermit for years and years, even on 32-bit Windows
(tsk tsk) found, when trying to move the application to Windows XP, that
MS-DOS Kermit no longer worked right.  Of course this was to be expected
and our advice, predictably, was to change to Kermit 95 for all the
well-known reasons:

  http://www.columbia.edu/kermit/msk95.html

Yes, said the user, but Kermit 95 does not have a REMOTE MESSAGE command,
and my application depends on it.  Wow, I had totally forgotten about that
command, and never knew anybody had ever used it.  It sends a short text
message from the Kermit client to the Kermit server, presumably for display
on the server's screen.  Evidently some sort of device exists, manufactured
long ago, that uses this protocol creatively: the client uploads a file and
then sends a remote message in a specific format to tell the server to
install the file as some kind of upgrade or patch to the server-side
application.

It would be easy enough to add this command to C-Kermit, but the user needed
it to be in Kermit 95 and putting out new K95 releases is a rather big deal,
what with all the packaging, publishers, distributors, and expense involved.

But Kermit 95 (like C-Kermit and MS-DOS Kermit) includes its own built-in
programming language.  Can a small piece of Kermit client/server protocol
be implemented in this language?  Yes indeed, and here it is:

  ftp://kermit.columbia.edu/kermit/scripts/ckermit/rmsg

This is far from a real Kermit protocol implementation, but shows that it
would be possible: encoding, formation, and transmission of packets, 
checking for acknowledgement and retransmitting if a valid acknowledgement
doesn't arrive in time, etc.  Similar techniques were used to implement
TAP (alphanumeric paging protocol):

  ftp://kermit.columbia.edu/kermit/scripts/ckermit/alphapage

- Frank

From mjrosier@bulldog.unca.edu Tue May 25 10:11:44 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!nntp2.tagonline.com!newsfeed2.dallas1.level3.net!news.level3.com!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: mjrosier@bulldog.unca.edu (Matt)
Newsgroups: comp.protocols.kermit.misc
Subject: inserting current date into kermit ftp string?
Date: 25 May 2004 06:22:14 -0700
Organization: http://groups.google.com
Lines: 15
Message-ID: <369707c7.0405250522.57de029a@posting.google.com>
NNTP-Posting-Host: 152.18.67.164
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1085491335 9172 127.0.0.1 (25 May 2004 13:22:15 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 25 May 2004 13:22:15 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15025

dear kermit folks,

What's the easiet way to get the year, month and day in numeric format
and insert it into a specific line of a kermit ftp script?

I have an ftp script I am using in kermit, and the following line is
date dependent:

ftp cd pub/data/nccf/com/eta/prod/eta.20040520/

eta.20040520 is the part that will change depending on date.

Thanks,

Matt

From fdc@columbia.edu Tue May 25 10:11:50 2004
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: inserting current date into kermit ftp string?
Date: 25 May 2004 14:11:40 GMT
Organization: Columbia University
Lines: 29
Message-ID: <slrncb6l0s.qi0.fdc@sesame.cc.columbia.edu>
References: <369707c7.0405250522.57de029a@posting.google.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1085494300 13614 128.59.59.56 (25 May 2004 14:11:40 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 25 May 2004 14:11:40 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15026

On 2004-05-25, Matt <mjrosier@bulldog.unca.edu> wrote:
: What's the easiet way to get the year, month and day in numeric format
: and insert it into a specific line of a kermit ftp script?
:
: I have an ftp script I am using in kermit, and the following line is
: date dependent:
:
: ftp cd pub/data/nccf/com/eta/prod/eta.20040520/
:
: eta.20040520 is the part that will change depending on date.
:
For today's date:

  ftp cd pub/data/nccf/com/eta/prod/eta.\v(ndate)/

\v(ndate) is a built-in variable that is replaced by the current date
in numeric yyyymmdd format.

For an arbitrary date...  Well I guess the easiest way is to just
put it in the string:

  ftp cd pub/data/nccf/com/eta/prod/eta.20051231/

Maybe you didn't say what you really wanted?  Anyway Kermit has everything
you'd want for constructing and manipulating dates; see:

  http://www.columbia.edu/kermit/ckermit70.html#x1.6

- Frank

From stevebNoSpamPlease@comcast.com Thu Jun  3 09:20:16 2004
Path: newsmaster.cc.columbia.edu!panix!news.linkpendium.com!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: Wed, 26 May 2004 18:34:51 -0500
From: "Steve" <stevebNoSpamPlease@comcast.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Access denied
Date: Wed, 26 May 2004 16:34:52 -0700
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
Message-ID: <7eKdnZFwxtwAtCjd38DK-g@speakeasy.net>
Lines: 12
NNTP-Posting-Host: 216.254.11.161
X-Trace: sv3-XISZM2UXQV7dVoX4WIpNCW+JgltoJI0gmYz9sJg5WbXf19s223JSB0ThfOzJqC8+K9nD36e1+klxGK7!ApFpWGimm0wVKEOx4mO2ZZ1akpV41pTLXeBk/RxZIQf6Vlamlej9f9/ZO8ZYB5T2aqxoxaTMR9nN!1Bpj/1pvMSqsHnfYLA==
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:15027

I have 1 internal modem that when I use it with K95, its fine but if I quit
out and then try to do anything else with the modem, including going back
into K95, I get Sorry, access denied and I have to reboot the PC in order to
free up the modem again.  Any idea why this modem does not free up when I
quit K95?  Is there a setting or a command to free it up?  I have tried
setting the line to something else setting modem type non, etc. and so far
no luck.

Thanks,
Steve



From jaltman2@nyc.rr.com Thu Jun  3 09:20:27 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!nntp2.tagonline.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed.gamma.ru!Gamma.RU!border2.nntp.dca.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: <40B5ABF5.6090500@nyc.rr.com>
From: Jeffrey Altman <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a1) Gecko/20040520
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Access denied
References: <7eKdnZFwxtwAtCjd38DK-g@speakeasy.net>
In-Reply-To: <7eKdnZFwxtwAtCjd38DK-g@speakeasy.net>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 24
Date: Thu, 27 May 2004 08:51:06 GMT
NNTP-Posting-Host: 24.193.46.55
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1085647866 24.193.46.55 (Thu, 27 May 2004 04:51:06 EDT)
NNTP-Posting-Date: Thu, 27 May 2004 04:51:06 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15028

The problem is either a bug in Kermit 95 or a bug in the modem's device 
driver.

Jeffrey Altman


Steve wrote:
> I have 1 internal modem that when I use it with K95, its fine but if I quit
> out and then try to do anything else with the modem, including going back
> into K95, I get Sorry, access denied and I have to reboot the PC in order to
> free up the modem again.  Any idea why this modem does not free up when I
> quit K95?  Is there a setting or a command to free it up?  I have tried
> setting the line to something else setting modem type non, etc. and so far
> no luck.
> 
> Thanks,
> Steve
> 
> 

-- 
-----------------
This e-mail account is not read on a regular basis.
Please send private responses to jaltman at mit dot edu

From JDanSkinner@JDanSkinner.com Thu Jun  3 09:21:25 2004
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!news.maxwell.syr.edu!news.moat.net!border1.nntp.sjc.giganews.com!nntp.giganews.com!sjc1.usenetserver.com!news.usenetserver.com!sn-xit-02!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
From: "Dan Skinner" <JDanSkinner@JDanSkinner.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Access denied
Date: Thu, 27 May 2004 15:54:20 -0500
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <10bcl15aqmkmoef@corp.supernews.com>
References: <7eKdnZFwxtwAtCjd38DK-g@speakeasy.net> <40B5ABF5.6090500@nyc.rr.com>
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
X-Complaints-To: abuse@supernews.com
Lines: 50
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15029

I have had varying cases of slow hang-up/release modems using K95.
Don't remember any complete hangs, but several very slow to clear after
hang-up with auto close.
Unfortunately  I don't keep any records of specific modem brands or models
because the models only seem to last on the market for a few weeks so the
next
time the problem model is not available to avoid anyway.
but my memory says more common problem with winmodems than hardware
(are my prejudices showing?)  Last two over our bench were USR 56K V.90
low cost ($19.00) and they were "quick to close"  At the price of modems
these
days I'd say try a different one and see if the problem changes.

TAPI = Terrible And Problematic Interface.

Regards...Dan.

"Jeffrey Altman" <jaltman2@nyc.rr.com> wrote in message
news:40B5ABF5.6090500@nyc.rr.com...
> The problem is either a bug in Kermit 95 or a bug in the modem's device
> driver.
>
> Jeffrey Altman
>
>
> Steve wrote:
> > I have 1 internal modem that when I use it with K95, its fine but if I
quit
> > out and then try to do anything else with the modem, including going
back
> > into K95, I get Sorry, access denied and I have to reboot the PC in
order to
> > free up the modem again.  Any idea why this modem does not free up when
I
> > quit K95?  Is there a setting or a command to free it up?  I have tried
> > setting the line to something else setting modem type non, etc. and so
far
> > no luck.
> >
> > Thanks,
> > Steve
> >
> >
>
> --
> -----------------
> This e-mail account is not read on a regular basis.
> Please send private responses to jaltman at mit dot edu



From stevebNoSpamPlease@comcast.com Thu Jun  3 09:21:36 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!newsfeed1.stngva01.us.to.verio.net!newspeer1.stngva01.us.to.verio.net!news.verio.net!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local1.nntp.dca.giganews.com!nntp.speakeasy.net!news.speakeasy.net.POSTED!not-for-mail
NNTP-Posting-Date: Fri, 28 May 2004 14:43:12 -0500
From: "Steve" <stevebNoSpamPlease@comcast.com>
Newsgroups: comp.protocols.kermit.misc
References: <7eKdnZFwxtwAtCjd38DK-g@speakeasy.net> <40B5ABF5.6090500@nyc.rr.com>
Subject: Re: Access denied
Date: Fri, 28 May 2004 12:43:15 -0700
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
Message-ID: <gr-dnSfsW4LNCyrd38DK-w@speakeasy.net>
Lines: 14
NNTP-Posting-Host: 216.254.11.161
X-Trace: sv3-dhiZUClpJX/JptJ1tmupBFmzvRpP3FLi2p3tCPbomTcUptwq5yRdNMn/xO1C3Kg1JqnYTb0eLaMplN9!LPwfXdWmfx5Tva8peRvfldm4TUD5xJKrIePlCKFpUVSeTP1eMEN0XbX0ujgvnjGCjWs6ccOWMdJP!aypHZFVJ2Fw9erXepg==
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:15031


"Jeffrey Altman" <jaltman2@nyc.rr.com> wrote in message
news:40B5ABF5.6090500@nyc.rr.com...
> The problem is either a bug in Kermit 95 or a bug in the modem's device
> driver.
>
> Jeffrey Altman

Getting the drivers from the PC manufacturers web site, and not the modem
manufacturers web site seems to have solved the problem.

Steve



From robatworkDeleteTheseFourWords@mail.com Thu Jun  3 09:21:44 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!nntp2.tagonline.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed.gamma.ru!Gamma.RU!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local1.nntp.dca.giganews.com!nntp.nildram.net!news.nildram.net.POSTED!not-for-mail
NNTP-Posting-Date: Fri, 28 May 2004 10:06:47 -0500
From: Rob S <robatworkDeleteTheseFourWords@mail.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Access denied
Date: Fri, 28 May 2004 16:07:17 +0100
Message-ID: <40b954d9.26465855@giganews.nildram.co.uk>
References: <7eKdnZFwxtwAtCjd38DK-g@speakeasy.net>
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: 28
NNTP-Posting-Host: 62.3.253.72
X-Trace: sv3-Req4COLc8ymWhbccffYx0EFmG+1CtkU1vQ0gxJWAfzHWqYIq982LMBPk8EoP78fPged9EG7AWd6GgVk!iPtrvqA+GGHvLOvL7o1sa4C1zOHXfx7/qNcK5NngMQsClkEuY2zUqQ5VxqVq4pTCOjP89Pxf6bQh!s9JP
X-Complaints-To: abuse@nildram.net
X-DMCA-Complaints-To: abuse@nildram.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:15030

On Wed, 26 May 2004 16:34:52 -0700, "Steve" <stevebNoSpamPlease@comcast.com>
wrote:

-I have 1 internal modem that when I use it with K95, its fine but if I quit
-out and then try to do anything else with the modem, including going back
-into K95, I get Sorry, access denied and I have to reboot the PC in order to
-free up the modem again.  Any idea why this modem does not free up when I
-quit K95?  Is there a setting or a command to free it up?  I have tried
-setting the line to something else setting modem type non, etc. and so far
-no luck.

I get this too - especially if I interrupt the dialling. Sometimes K95 closes
and then gives access denied when reopening, and sometimes takes ages to close.

However so far it's always eventually released the modem without need for a
reboot. So I'd agree with Dan on both counts (his loathing of TAPI, and his
suggestion to try another modem). You may even find a Ł10 winmodem works 100%.
When I used to read the comp.*.modem groups there was always disagreement on
whether conexant/intel/ambient was best......

We use US Robotics fwiw

regards



-Rob
robatwork at mail dot com

From jaltman2@nyc.rr.com Thu Jun  3 09:22:19 2004
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!news.maxwell.syr.edu!border1.nntp.dca.giganews.com!border2.nntp.dca.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: <40BEA753.2010806@nyc.rr.com>
From: Jeffrey Altman <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040514
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Odd switch to Active FTP?
References: <slrncbsu1s.6o3.hellsop@othin.ninehells.com>
In-Reply-To: <slrncbsu1s.6o3.hellsop@othin.ninehells.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 55
Date: Thu, 03 Jun 2004 04:21:33 GMT
NNTP-Posting-Host: 24.193.46.55
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1086236493 24.193.46.55 (Thu, 03 Jun 2004 00:21:33 EDT)
NNTP-Posting-Date: Thu, 03 Jun 2004 00:21:33 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15032

This trace does not appear to be C-Kermit.
There are several reasons I know it is not.
First, C-Kermit does not support EPSV since it does not support IPV6.
Second, the setsockopt error messages in C-Kermit state which option was
being set.
Third, you do not turn on debugging with the "debug" command in C-Kermit.
Fourth, the command prompt in C-Kermit is not "ftp>"

With all of that said.  The reason the PORT command is being used
is that the server is rejecting the PASV command.

Jeffrey Altman


Peter H. Coffin wrote:
> I'm running into a circumstance where what LOOKS like is happening is
> that, in spite of being in the default PASV mode for ftp, the C-Kermit
> client is not acknowleging that it's gotten the passive "go ahead" and
> is sending the PORT anyway, which is triggering an error back from the
> ftp server. No amount of flipping the "passive" command off and on seems
> to help. Any idea what may be triggering this, or (better yet) how to
> stop it and return to having PASV work?
> 
> ---------------
> 230 User logged in, proceed.
> Remote system type is UNIX.
> Using binary mode to transfer files.
> ftp> debug
> Debugging on (debug=1).
> ftp> ls
> ftp: setsockopt (ignored): Permission denied
> ---> EPSV
> 500 'EPSV': command not understood.
> disabling epsv4 for this connection
> ---> PASV
> 227 Entering Passive Mode (199,243,204,44,39,254)
> ftp: setsockopt (ignored): Permission denied
> ---> PORT 9,73,106,20,4,3
> 530 Only client IP address allowed for PORT command.
> ftp: bind: Address already in use
> ftp>
> ---------------
> 
> ---------------
> (/home/phcoffin/src/pdc_nixie/) C-Kermit>version
> 
> C-Kermit 8.0.211, 10 Apr 2004, for Red Hat Linux 7.3
>  Numeric: 800211
> ---------------
> 

-- 
-----------------
This e-mail account is not read on a regular basis.
Please send private responses to jaltman at mit dot edu

From fdc@columbia.edu Thu Jun  3 09:24:56 2004
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Odd switch to Active FTP?
Date: 3 Jun 2004 13:24:45 GMT
Organization: Columbia University
Lines: 11
Message-ID: <slrncbu9kt.2m9.fdc@sesame.cc.columbia.edu>
References: <slrncbsu1s.6o3.hellsop@othin.ninehells.com> <40BEA753.2010806@nyc.rr.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1086269085 29697 128.59.59.56 (3 Jun 2004 13:24:45 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 3 Jun 2004 13:24:45 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15033

On 2004-06-03, Jeffrey Altman <jaltman2@nyc.rr.com> wrote:
: This trace does not appear to be C-Kermit.
:
Kermit's built-in FTP client was added in C-Kermit 8.0 / K95 2.0:

  http://www.columbia.edu/kermit/ftpclient.html

Pre-8.0 versions of C-Kermit had an FTP command that invoked the
external ftp client.  

- Frank

From fdc@columbia.edu Mon Jun  7 17:20:04 2004
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Logging with automatic log file rotation
Date: 7 Jun 2004 21:19:05 GMT
Organization: Columbia University
Lines: 10
Message-ID: <slrncc9mu9.aut.fdc@sesame.cc.columbia.edu>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1086643145 2038 128.59.59.56 (7 Jun 2004 21:19:05 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 7 Jun 2004 21:19:05 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15034

Today someone who used Kermit to log call records from a PBX asked if 
there was a way to rotate the log automatically on a daily basis.
This question comes up occasionally so I put a script that shows how
to do it in the script library:

  http://www.columbia.edu/kermit/ckscripts.html#logging

as "daily-session-log".

- Frank

From arthur.marsh@internode.on.net Sat Jun 12 14:52:44 2004
Date: Sat, 12 Jun 2004 13:50:02 +0930
From: Arthur Marsh <arthur.marsh@internode.on.net>
Organization: what organisation
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8a2) Gecko/20040604
X-Accept-Language: en, en-us
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: ftp, http macros for command line file retrieval?
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: ppp758.adelaide.on.net.au
Message-ID: <40ca8474@duster.adelaide.on.net>
X-Trace: duster.adelaide.on.net 1087014004 150.101.76.245 (12 Jun 2004 13:50:04 +0950)
Lines: 14
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!nntp2.tagonline.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed.mathworks.com!arclight.uoregon.edu!hammer.uoregon.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!news.xtra.co.nz!news.mel.connect.com.au!snewsf0.syd.ops.aspac.uu.net!duster.adelaide.on.net!not-for-mail
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15035

Hi, are there any macros or built-in functionality in C-Kermit to do a 
simple command line retrieval of a file to the current directory?

EG

kermit macroname site.domain/path/to/file.gz

or

kermit --option-name ftp://site.domain/path/to/file.gz

or similar?

Arthur.

From jaltman2@nyc.rr.com Sat Jun 12 14:52:47 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!nntp2.tagonline.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed.mathworks.com!nntp-out.monmouth.com!newspeer.monmouth.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshosting.com!nx01.iad01.newshosting.com!38.144.126.100.MISMATCH!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: <40CA84EC.7070302@nyc.rr.com>
From: Jeffrey Altman <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040608
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: ftp, http macros for command line file retrieval?
References: <40ca8474@duster.adelaide.on.net>
In-Reply-To: <40ca8474@duster.adelaide.on.net>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 24
Date: Sat, 12 Jun 2004 04:22:05 GMT
NNTP-Posting-Host: 24.193.46.55
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1087014125 24.193.46.55 (Sat, 12 Jun 2004 00:22:05 EDT)
NNTP-Posting-Date: Sat, 12 Jun 2004 00:22:05 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15036

Arthur Marsh wrote:
> Hi, are there any macros or built-in functionality in C-Kermit to do a 
> simple command line retrieval of a file to the current directory?
> 
> EG
> 
> kermit macroname site.domain/path/to/file.gz
> 
> or
> 
> kermit --option-name ftp://site.domain/path/to/file.gz
> 
> or similar?
> 
> Arthur.

of course.

kermit <url>

-- 
-----------------
This e-mail account is not read on a regular basis.
Please send private responses to jaltman at mit dot edu

From arthur.marsh@internode.on.net Sat Jun 12 14:52:52 2004
Date: Sat, 12 Jun 2004 13:59:17 +0930
From: Arthur Marsh <arthur.marsh@internode.on.net>
Organization: what organisation
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8a2) Gecko/20040604
X-Accept-Language: en, en-us
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: ftp, http macros for command line file retrieval?
References: <40ca8474@duster.adelaide.on.net> <40CA84EC.7070302@nyc.rr.com>
In-Reply-To: <40CA84EC.7070302@nyc.rr.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: ppp758.adelaide.on.net.au
Message-ID: <40ca86be@duster.adelaide.on.net>
X-Trace: duster.adelaide.on.net 1087014590 150.101.76.245 (12 Jun 2004 13:59:50 +0950)
Lines: 29
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!nntp2.tagonline.com!newsfeed2.dallas1.level3.net!news.level3.com!bloom-beacon.mit.edu!ra.nrl.navy.mil!HSNX.atgi.net!cyclone-sf.pbi.net!216.196.106.144!border2.nntp.sjc.giganews.com!nntp.giganews.com!news1.optus.net.au!optus!news.mel.connect.com.au!news.ade.connect.com.au!duster.adelaide.on.net!not-for-mail
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15037



Jeffrey Altman wrote:

> Arthur Marsh wrote:
> 
>> Hi, are there any macros or built-in functionality in C-Kermit to do a 
>> simple command line retrieval of a file to the current directory?
>>
>> EG
>>
>> kermit macroname site.domain/path/to/file.gz
>>
>> or
>>
>> kermit --option-name ftp://site.domain/path/to/file.gz
>>
>> or similar?
>>
>> Arthur.
> 
> 
> of course.
> 
> kermit <url>

Many thanks, it's also working in K95g

Arthur.

From ickyshuffle@yahoo.com Sat Jun 19 11:38:09 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!nntp2.tagonline.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed.mathworks.com!nntp-out.monmouth.com!newspeer.monmouth.com!news-out.visi.com!petbe.visi.com!news.octanews.net!newsfeed-east.nntpserver.com!nntpserver.com!newsfeed1.sea.pnap.net!newsfeed.pnap.net!forum.apple.com!news.apple.com!not-for-mail
From: Icky <ickyshuffle@yahoo.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Connecting Mac OS X through KeySpan USB adapter to Cisco serial port
Date: Fri, 18 Jun 2004 17:02:17 -0700
Organization: Apple Computer, Inc.
Lines: 25
Message-ID: <cavvq9$ako$1@news.apple.com>
NNTP-Posting-Host: vg0601e-dhcp52.apple.com
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: news.apple.com 1087603337 10904 17.216.30.52 (19 Jun 2004 00:02:17 GMT)
X-Complaints-To: abuse@news.apple.com
NNTP-Posting-Date: Sat, 19 Jun 2004 00:02:17 +0000 (UTC)
User-Agent: Unison/1.0
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15040

Wow!  That's a big subject but I think it covers what I am trying to do.

I can connect to the device (Cisco router) and watch the bootup process but 
when I hit return (or anything else) I get no response from Kermit.

Here's how it looks:

C-Kermit>connect
Connecting to /dev/tty.USA28X181P2.2, speed 9600
 Escape character: Ctrl-\ (ASCII 28, FS): enabled
Type the escape character followed by C to get back,
or followed by ? to see other options.
----------------------------------------------------

Can't send character: Unknown error: 0
                                      (Back at <hostname>)
----------------------------------------------------

It seems like I am having troubles getting through the KeySpan 
(http://www.keyspan.com) adapter to the console port on the router.

I didn't see this in the FAQ or other postings.

Icky


From fdc@columbia.edu Sat Jun 19 11:45:01 2004
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Connecting Mac OS X through KeySpan USB adapter to Cisco serial port
Date: 19 Jun 2004 15:38:05 GMT
Organization: Columbia University
Lines: 26
Message-ID: <slrncd8net.j39.fdc@sesame.cc.columbia.edu>
References: <cavvq9$ako$1@news.apple.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1087659485 20324 128.59.59.56 (19 Jun 2004 15:38:05 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 19 Jun 2004 15:38:05 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15042

On 2004-06-19, Icky <ickyshuffle@yahoo.com> wrote:
: Wow!  That's a big subject but I think it covers what I am trying to do.
:
: I can connect to the device (Cisco router) and watch the bootup process but 
: when I hit return (or anything else) I get no response from Kermit.
:
: Here's how it looks:
:
: C-Kermit>connect
: Connecting to /dev/tty.USA28X181P2.2, speed 9600
: ----------------------------------------------------
:
: Can't send character: Unknown error: 0
:                                       (Back at <hostname>)
: ----------------------------------------------------
:
: It seems like I am having troubles getting through the KeySpan 
: (http://www.keyspan.com) adapter to the console port on the router.
:
The latest version of C-Kermit, 8.0.211, should work with Mac OS X and
the Keyspan adapter:

  http://www.columbia.edu/kermit/ckermit.html
  http://www.columbia.edu/kermit/ck80binaries.html#apple

- Frank

From pbertain@mac.com Sun Jun 20 12:30:54 2004
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsxfer.itd.umich.edu!newsfeed.yul.equant.net!c03.atl99!c01.usenetserver.com!news.usenetserver.com!elnk-atl-nf1!newsfeed.earthlink.net!prodigy.com!newsmst01a.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr29.news.prodigy.com.POSTED!ce4bfe91!not-for-mail
From: Paul Bertain <pbertain@mac.com>
Newsgroups: comp.protocols.kermit.misc
Message-ID: <2004061909592031471%pbertain@maccom>
User-Agent: Unison/1.0.2a
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Subject: How do I "break" a session
Lines: 21
NNTP-Posting-Host: 67.117.124.123
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr29.news.prodigy.com 1087664352 ST000 67.117.124.123 (Sat, 19 Jun 2004 12:59:12 EDT)
NNTP-Posting-Date: Sat, 19 Jun 2004 12:59:12 EDT
Organization: SBC http://yahoo.sbc.com
X-UserInfo1: OHZABVCEQJWUSQH]^JKBOW@@YJ_ZTB\MV@BT]_MIJQR@EPIB_VUKAH_[MTX\IS[K[NGYJJFNOFZR_G[BUNTAOQLFE^TEHRPI]PZZRP_BMDSFQFL_]CBHXRWCMDCUZAZN@D_AKMNLEI]MWHCSXL^]NNC__CZFGSGHYYXWPFG@SCAVA]\FT\@B\RDGENSUQS^M
Date: Sat, 19 Jun 2004 16:59:12 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15043

Hi again,

So, on a separate machine, I downloaded the binary for Mac OS X 10.3 
AND compiled it and both those times it worked just fine connecting to 
a Cisco device.  I'll try again on the original machine and see how 
that goes.

Now I when I am done with my session, I would like to return to Kermit 
but I cannot figure out the break sequence.

I don't mind just closing the terminal window but I would prefer to 
return to Kermit and exit gracefully.

I tried <CTRL>+"\" and <CTRL>+Just about every other key.  I also tried 
<CTRL>+<SHIFT>+Some other sequences.

I figure I must be either missing the obvious or not setting a 
preference from within Kermit (set escape-character ???).

Paul


From slash_dev_slash_null_2000@yahoo.com Sun Jun 20 12:31:47 2004
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!postnews2.google.com!not-for-mail
From: slash_dev_slash_null_2000@yahoo.com (Mark Sapiro)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: How do I "break" a session
Date: 19 Jun 2004 22:50:17 -0700
Organization: http://groups.google.com
Lines: 52
Message-ID: <deb126db.0406192150.50f8a24a@posting.google.com>
References: <2004061909592031471%pbertain@maccom>
NNTP-Posting-Host: 209.182.169.133
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1087710617 647 127.0.0.1 (20 Jun 2004 05:50:17 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sun, 20 Jun 2004 05:50:17 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15045

Paul Bertain <pbertain@mac.com> wrote in message news:<2004061909592031471%pbertain@maccom>...
> 
> Now I when I am done with my session, I would like to return to Kermit 
> but I cannot figure out the break sequence.
> 
> I don't mind just closing the terminal window but I would prefer to 
> return to Kermit and exit gracefully.
> 
> I tried <CTRL>+"\" and <CTRL>+Just about every other key.  I also tried 
> <CTRL>+<SHIFT>+Some other sequences.
> 
> I figure I must be either missing the obvious or not setting a 
> preference from within Kermit (set escape-character ???).

Normally, when a session terminates the remote device closes the
connection. When Kermit detects this via protocol or via loss of
carrier on a serial port, it returns to command mode.

If you want to return to command mode while the connection either is
or appears to be still open, the Kermit escape character must be
enabled (this is the default), and you type the escape character and
then type the letter C. Kermit tells you this when you first connect
with a message that looks like

   Escape character: Ctrl-\ (ASCII 28, FS): enabled
  Type the escape character followed by C to get back,
  or followed by ? to see other options.
  
If the escape character is disabled (must have been done in an
initialization file), you can enable it before connecting with

  set terminal escape-character enabled

If you escape back to a command prompt and then exit Kermit, you will
get a warning that a connection may still be open. You can avoid this
by first issuing

  close connection

or by

  set exit warning off

See
  help set terminal
  help close
  help set exit
  help set carrier-watch

--
Mark Sapiro msapiro -at- value net    The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

From pbertain@mac.com Sun Jun 20 13:54:01 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!nntp2.tagonline.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed.mathworks.com!bigboote.WPI.EDU!logbridge.uoregon.edu!news-feed01.roc.ny.frontiernet.net!nntp.frontiernet.net!prodigy.com!prodigy.com!newsmst01a.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr29.news.prodigy.com.POSTED!ce4bfe91!not-for-mail
From: Paul Bertain <pbertain@mac.com>
Newsgroups: comp.protocols.kermit.misc
Message-ID: <2004062009381939504%pbertain@maccom>
References: <2004061909592031471%pbertain@maccom> <deb126db.0406192150.50f8a24a@posting.google.com>
User-Agent: Unison/1.0.2a
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Subject: Re: How do I "break" a session
Lines: 61
NNTP-Posting-Host: 67.117.124.123
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr29.news.prodigy.com 1087749489 ST000 67.117.124.123 (Sun, 20 Jun 2004 12:38:09 EDT)
NNTP-Posting-Date: Sun, 20 Jun 2004 12:38:09 EDT
Organization: SBC http://yahoo.sbc.com
X-UserInfo1: FKPGGXCDEJV[RTD[ABCD^VX@WB]^PCPDLXUNNHLHQAVTUZ]CLNTCPFK[WDXDHV[K^FCGJCJLPF_D_NCC@FUG^Q\DINVAXSLIFXYJSSCCALP@PB@\OS@BITWAH\CQZKJMMD^SJA^NXA\GVLSRBD^M_NW_F[YLVTWIGAXAQBOATKBBQRXECDFDMQ\DZFUE@\JM
Date: Sun, 20 Jun 2004 16:38:09 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15047

Ah... the old "Read the directions" trick.  I love it when people don't 
read; unfortunately, it was me.

Thanks for the help (in pointing out the obvious).

Paul


On 2004-06-19 22:50:17 -0700, slash_dev_slash_null_2000@yahoo.com (Mark 
Sapiro) said:

> Paul Bertain <pbertain@mac.com> wrote in message 
> news:<2004061909592031471%pbertain@maccom>...
>> 
>> Now I when I am done with my session, I would like to return to Kermit 
>> but I cannot figure out the break sequence.
>> 
>> I don't mind just closing the terminal window but I would prefer to 
>> return to Kermit and exit gracefully.
>> 
>> I tried <CTRL>+"\" and <CTRL>+Just about every other key.  I also tried 
>> <CTRL>+<SHIFT>+Some other sequences.
>> 
>> I figure I must be either missing the obvious or not setting a 
>> preference from within Kermit (set escape-character ???).
> 
> Normally, when a session terminates the remote device closes the
> connection. When Kermit detects this via protocol or via loss of
> carrier on a serial port, it returns to command mode.
> 
> If you want to return to command mode while the connection either is
> or appears to be still open, the Kermit escape character must be
> enabled (this is the default), and you type the escape character and
> then type the letter C. Kermit tells you this when you first connect
> with a message that looks like
> 
>    Escape character: Ctrl-\ (ASCII 28, FS): enabled
>   Type the escape character followed by C to get back,
>   or followed by ? to see other options.
>   If the escape character is disabled (must have been done in an
> initialization file), you can enable it before connecting with
> 
>   set terminal escape-character enabled
> 
> If you escape back to a command prompt and then exit Kermit, you will
> get a warning that a connection may still be open. You can avoid this
> by first issuing
> 
>   close connection
> 
> or by
> 
>   set exit warning off
> 
> See
>   help set terminal
>   help close
>   help set exit
>   help set carrier-watch



From dold@kermitXand.usenet.us.com Tue Jun 22 20:21:57 2004
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!in.100proofnews.com!in.100proofnews.com!wasp.rahul.net!blue.rahul.net!not-for-mail
From: dold@kermitXand.usenet.us.com
Newsgroups: comp.dcom.telecom.tech,comp.protocols.kermit.misc
Subject: Re: kermit and a Mitel SX2000 switch
Followup-To: comp.dcom.telecom.tech
Date: Wed, 23 Jun 2004 00:11:04 +0000 (UTC)
Organization: a2i network
Lines: 21
Sender: Clarence Dold <dold@violet.rahul.net>
Message-ID: <cbahqo$6bt$1@blue.rahul.net>
References: <b5935f8b.0406221348.66d0206e@posting.google.com>
NNTP-Posting-Host: violet.rahul.net
X-Trace: blue.rahul.net 1087949464 6525 192.160.13.70 (23 Jun 2004 00:11:04 GMT)
X-Complaints-To: support@rahul.net
NNTP-Posting-Date: Wed, 23 Jun 2004 00:11:04 +0000 (UTC)
User-Agent: tin/1.4.6-20020816 ("Aerials") (UNIX) (Linux/2.4.20-28.7smp (i686))
X-Comment: Encoded From: line allows replies that preserve original subject
Xref: newsmaster.cc.columbia.edu comp.dcom.telecom.tech:77141 comp.protocols.kermit.misc:15049

Reed Loefgren <reedl@tatteredcover.com> wrote:
> To talk to our ancient SX2000 we telnet from a linux box over the
> network to another linux box and from there we run a kermit session.
> This draws a screen in which we admin the switch.

> I have a test FreeBSD box here that gets to the linux box OK but when
> I run the script to start the kermit session the maintainance screen
> is drawn incorrectly, and the numeric keypad doesn't work (to enter a
> command's number.)

> I'm sure this is from some type of terminal emulation thing in the BSD
> box, but does anybody know of any terminal related stuff that this
> Mitel switch might be looking for?

You can send email to kermit-support@columbia.edu 
or you could post this question to comp.protocols.kermit.misc.

-- 
---
Clarence A Dold - Hidden Valley (Lake County) CA USA  38.8-122.5


From fdc@columbia.edu Tue Jun 22 20:26:40 2004
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.dcom.telecom.tech,comp.protocols.kermit.misc
Subject: Re: kermit and a Mitel SX2000 switch
Date: 23 Jun 2004 00:26:24 GMT
Organization: Columbia University
Lines: 32
Message-ID: <slrncdhjhg.h8k.fdc@sesame.cc.columbia.edu>
References: <b5935f8b.0406221348.66d0206e@posting.google.com> <cbahqo$6bt$1@blue.rahul.net>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1087950384 2599 128.59.59.56 (23 Jun 2004 00:26:24 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 23 Jun 2004 00:26:24 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.dcom.telecom.tech:77142 comp.protocols.kermit.misc:15050

On 2004-06-23, dold@kermitXand.usenet.us.com <dold@kermitXand.usenet.us.com> wrote:
: Reed Loefgren <reedl@tatteredcover.com> wrote:
:> To talk to our ancient SX2000 we telnet from a linux box over the
:> network to another linux box and from there we run a kermit session.
:> This draws a screen in which we admin the switch.
:
:> I have a test FreeBSD box here that gets to the linux box OK but when
:> I run the script to start the kermit session the maintainance screen
:> is drawn incorrectly, and the numeric keypad doesn't work (to enter a
:> command's number.)
:
:> I'm sure this is from some type of terminal emulation thing in the BSD
:> box, but does anybody know of any terminal related stuff that this
:> Mitel switch might be looking for?
:
: You can send email to kermit-support@columbia.edu 
: or you could post this question to comp.protocols.kermit.misc.
:
Terminal emulation in Unix (any kind of Unix including Linux and BSD) is
done by the console screen or xterm window, not by Kermit.  In your previous
setup, the console screen or xterm on the Linux box you were Telnetting from
happened to be compatible with the escape sequences sent and expected by
your application.  Go to that Linux box, get a shell prompt, and type:

  echo $TERM

Hopefully there is an environment on your BSD box that supports the same
kind of emulation.  I believe the Linux and BSD consoles are different,
but if you use an xterm window for Telnetting, it should be the same in
both cases, and probably will work.

- Frank

From dennisnguy@yahoo.com Wed Jun 23 17:12:19 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!nntp2.tagonline.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed.mathworks.com!news-hog.berkeley.edu!newsfeed.berkeley.edu!ucberkeley!nntp-out.svc.us.xo.net!nntp1-feeder.SJ.svc.us.xo.net!newsfeed.concentric.net!sjc1.nntp.concentric.net!nntp-master.svc.us.xo.net
From: Dennis <dennisnguy@yahoo.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Sorry, write access to UUCP lockfile directory denied.
Date: 23 Jun 2004 16:52:05 EDT
Organization: Concentric Internet Services
Lines: 13
Message-ID: <pan.2004.06.23.20.50.40.20684@yahoo.com>
NNTP-Posting-Host: 65.106.93.99
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15051

Everyone,

How can I fix the access to UUCP?

Here is error message:
(/var/lock/) C-Kermit>set line ttyS0
Sorry, write access to UUCP lockfile directory denied.

I used "chmod 777 /dev/ttyS0" 
and "chmod -R 777 /var/log" but it did not work.

Thank you,
Dennis

From fdc@columbia.edu Wed Jun 23 17:12:23 2004
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Sorry, write access to UUCP lockfile directory denied.
Date: 23 Jun 2004 21:12:09 GMT
Organization: Columbia University
Lines: 28
Message-ID: <slrncdjsh9.1h0.fdc@sesame.cc.columbia.edu>
References: <pan.2004.06.23.20.50.40.20684@yahoo.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1088025129 14934 128.59.59.56 (23 Jun 2004 21:12:09 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 23 Jun 2004 21:12:09 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15052

On 2004-06-23, Dennis <dennisnguy@yahoo.com> wrote:
: How can I fix the access to UUCP?
:
: Here is error message:
: (/var/lock/) C-Kermit>set line ttyS0
: Sorry, write access to UUCP lockfile directory denied.
:
: I used "chmod 777 /dev/ttyS0" 
: and "chmod -R 777 /var/log" but it did not work.
:
See the C-Kermit for Unix installation instructions:

  http://www.columbia.edu/kermit/ckuins.html#x10
 
(Sections 10 and 11).

Probably your copy of Kermit does not think /var/log is the UUCP lockfile
directory.  Which version of Kermit is it?  Type:

  show version

to see what version it is, and:

  show comm

to see what it thinks the lockfile directory is.

- Frank

From dennisnguy@yahoo.com Thu Jun 24 10:42:38 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!nntp2.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!newshub.sdsu.edu!elnk-nf2-pas!elnk-pas-nf1!newsfeed.earthlink.net!nntp-out.svc.us.xo.net!nntp1-feeder.SJ.svc.us.xo.net!newsfeed.concentric.net!sjc1.nntp.concentric.net!nntp-master.svc.us.xo.net
From: Dennis <dennisnguy@yahoo.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Sorry, write access to UUCP lockfile directory denied.
Date: 23 Jun 2004 18:29:36 EDT
Organization: Concentric Internet Services
Lines: 38
Message-ID: <pan.2004.06.23.22.28.09.873757@yahoo.com>
References: <pan.2004.06.23.20.50.40.20684@yahoo.com> <slrncdjsh9.1h0.fdc@sesame.cc.columbia.edu>
NNTP-Posting-Host: 65.106.93.99
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15055

Hello,

My mistake!!!
The command is "set line /dev/ttyS0" not "set line ttyS0"

Thanks eveyone,

On Wed, 23 Jun 2004 21:12:09 +0000, Frank da Cruz wrote:

> On 2004-06-23, Dennis <dennisnguy@yahoo.com> wrote:
> : How can I fix the access to UUCP?
> :
> : Here is error message:
> : (/var/lock/) C-Kermit>set line ttyS0
> : Sorry, write access to UUCP lockfile directory denied.
> :
> : I used "chmod 777 /dev/ttyS0" 
> : and "chmod -R 777 /var/log" but it did not work.
> :
> See the C-Kermit for Unix installation instructions:
> 
>   http://www.columbia.edu/kermit/ckuins.html#x10
>  
> (Sections 10 and 11).
> 
> Probably your copy of Kermit does not think /var/log is the UUCP lockfile
> directory.  Which version of Kermit is it?  Type:
> 
>   show version
> 
> to see what version it is, and:
> 
>   show comm
> 
> to see what it thinks the lockfile directory is.
> 
> - Frank


From jkelly@adelphia.net Sun Jun 27 13:23:40 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!newsfeed1.dllstx09.us.to.verio.net!newsfeed1.stlsmo04.us.to.verio.net!news.cc.ukans.edu!solaris.cc.vt.edu!news.vt.edu!news.glorb.com!cyclone1.gnilink.net!spamkiller.gnilink.net!gnilink.net!nwrddc01.gnilink.net.POSTED!68744a0d!not-for-mail
From: "john kelly" <jkelly@adelphia.net>
Subject: ckermit and cygwin
User-Agent: Pan/0.13.3 (That cat's something I can't explain)
Message-ID: <pan.2004.06.25.21.54.36.418822@adelphia.net>
Newsgroups: comp.protocols.kermit.misc
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Lines: 11
Date: Fri, 25 Jun 2004 21:48:24 GMT
NNTP-Posting-Host: 162.83.82.89
X-Complaints-To: abuse@verizon.net
X-Trace: nwrddc01.gnilink.net 1088200104 162.83.82.89 (Fri, 25 Jun 2004 17:48:24 EDT)
NNTP-Posting-Date: Fri, 25 Jun 2004 17:48:24 EDT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15057

I am trying to install Kermit on Cygwin/XP system
during the build I get the following error

ckucmd.c:7118: error: structure has no member named 

I tried using the make with linux, there appears to be no other choice for
a cycgwin install.
can anyone help?

 Thanks, 
 John

From fdc@columbia.edu Sun Jun 27 13:23:56 2004
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: ckermit and cygwin
Date: 27 Jun 2004 17:23:37 GMT
Organization: Columbia University
Lines: 23
Message-ID: <slrncdu0kp.7e7.fdc@sesame.cc.columbia.edu>
References: <pan.2004.06.25.21.54.36.418822@adelphia.net>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1088357017 19005 128.59.59.56 (27 Jun 2004 17:23:37 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 27 Jun 2004 17:23:37 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15060

On 2004-06-25, john kelly <jkelly@adelphia.net> wrote:
: I am trying to install Kermit on Cygwin/XP system
: during the build I get the following error
:
: ckucmd.c:7118: error: structure has no member named 
:
: I tried using the make with linux, there appears to be no other choice for
: a cycgwin install.
: can anyone help?
:
C-Kermit is not the appropriate Kermit software for Windows; it is not
intended for use there, or supported there.  The Kermit software for Windows
is Kermit 95:

  http://www.columbia.edu/kermit/k95.html

Although it might be possible to build C-Kermit for Cygwin, it would not be
very useful because it would not have any terminal emulation features.  Also
please remember that revenue from Kermit 95 is the main source of support
for the nonprofit but completely self-supporting and nonsubsidized Kermit
Project.

- Frank

From dold@slowXsshXt.usenet.us.com Thu Jul  1 17:12:53 2004
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!in.100proofnews.com!in.100proofnews.com!wasp.rahul.net!blue.rahul.net!not-for-mail
From: dold@slowXsshXt.usenet.us.com
Newsgroups: comp.protocols.kermit.misc
Subject: slow ssh to Linux/Solaris
Date: Thu, 1 Jul 2004 16:12:30 +0000 (UTC)
Organization: a2i network
Lines: 24
Sender: Clarence Dold <dold@violet.rahul.net>
Message-ID: <cc1d5e$4eo$5@blue.rahul.net>
NNTP-Posting-Host: violet.rahul.net
X-Trace: blue.rahul.net 1088698350 4568 192.160.13.70 (1 Jul 2004 16:12:30 GMT)
X-Complaints-To: support@rahul.net
NNTP-Posting-Date: Thu, 1 Jul 2004 16:12:30 +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:15062

I just loaded RedHat 9 on a PC.  This seems to have telnet disabled by
default, so I set Kermit 95 2.1.3 for an ssh connection.
That takes a _long_ time to make the connection.
Once the connection is made, the lag on keystrokes is terrible, sometimes
several seconds.
>From a Cygwin prompt on the same source machine, ssh connects very quickly,
and the keystroke response is fine.
I have disabled all of the various timeouts and reverse DNS that I can find.
The Linux box is in a lab that doesn't play DNS.  The PC is on a
DNS-enabled network.

I run ssh to a couple of boxes on the public network, and Kermit is just
fine there.  The RedHat 7 box in the lab responds just fine via
Kermit-telnet but has the same problem with ssh.  

I see that Solaris 5.9 has the same issue in the lab.
I'm sure this is the fault of the lab network, but it's what I have to live
with.  What can I disable in Kermit ssh to make it more like Cygwin-ssh?
connects.

-- 
---
Clarence A Dold - Hidden Valley (Lake County) CA USA  38.8-122.5


From fdc@columbia.edu Thu Jul  1 17:19:42 2004
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: slow ssh to Linux/Solaris
Date: 1 Jul 2004 21:19:30 GMT
Organization: Columbia University
Lines: 35
Message-ID: <slrnce8vv2.ol9.fdc@sesame.cc.columbia.edu>
References: <cc1d5e$4eo$5@blue.rahul.net>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1088716770 7821 128.59.59.56 (1 Jul 2004 21:19:30 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 1 Jul 2004 21:19:30 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15063

On 2004-07-01, dold@slowXsshXt.usenet.us.com
<dold@slowXsshXt.usenet.us.com> wrote:
: I just loaded RedHat 9 on a PC.  This seems to have telnet disabled by
: default, so I set Kermit 95 2.1.3 for an ssh connection.
: That takes a _long_ time to make the connection.
:
Which authentication method are you using?

: Once the connection is made, the lag on keystrokes is terrible, sometimes
: several seconds.
: From a Cygwin prompt on the same source machine, ssh connects very quickly,
: and the keystroke response is fine.
: I have disabled all of the various timeouts and reverse DNS that I can find.
: The Linux box is in a lab that doesn't play DNS.  The PC is on a
: DNS-enabled network.
:
DNS yes-or-no might explain a connection delay but not sluggish performance.

: I run ssh to a couple of boxes on the public network, and Kermit is just
: fine there.  The RedHat 7 box in the lab responds just fine via
: Kermit-telnet but has the same problem with ssh.  
:
: I see that Solaris 5.9 has the same issue in the lab.
: I'm sure this is the fault of the lab network, but it's what I have to live
: with.  What can I disable in Kermit ssh to make it more like Cygwin-ssh?
: connects.
:
Good question.  Maybe a timestamped debug log will tell the tale.  Lots
of people, including me, make exactly the same connection (Windows XP,
Kermit 95 GUI 2.1.3, SSH to Red Hat 9 or Solaris 9) all the time with no
delay in connecting and no keystroke lag.  I, for one, *live* in this kind
of connection all day long, and also make ssh connections to many other
hosts and sites, and have never seen this behavior.

- Frank

From dold@slowXsshXt.usenet.us.com Fri Jul  2 11:24:25 2004
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!in.100proofnews.com!in.100proofnews.com!wasp.rahul.net!blue.rahul.net!not-for-mail
From: dold@slowXsshXt.usenet.us.com
Newsgroups: comp.protocols.kermit.misc
Subject: Re: slow ssh to Linux/Solaris
Date: Thu, 1 Jul 2004 22:40:08 +0000 (UTC)
Organization: a2i network
Lines: 25
Sender: Clarence Dold <dold@violet.rahul.net>
Message-ID: <cc23s8$c6q$2@blue.rahul.net>
References: <cc1d5e$4eo$5@blue.rahul.net> <slrnce8vv2.ol9.fdc@sesame.cc.columbia.edu>
NNTP-Posting-Host: violet.rahul.net
X-Trace: blue.rahul.net 1088721608 12506 192.160.13.70 (1 Jul 2004 22:40:08 GMT)
X-Complaints-To: support@rahul.net
NNTP-Posting-Date: Thu, 1 Jul 2004 22:40:08 +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:15064

Frank da Cruz <fdc@columbia.edu> wrote:
> On 2004-07-01, dold@slowXsshXt.usenet.us.com
> <dold@slowXsshXt.usenet.us.com> wrote:
> : I just loaded RedHat 9 on a PC.  This seems to have telnet disabled by
> : default, so I set Kermit 95 2.1.3 for an ssh connection.
> : That takes a _long_ time to make the connection.
> :
> Which authentication method are you using?

I dunno.  What's the default?  How do I check?

> Good question.  Maybe a timestamped debug log will tell the tale.  Lots
> of people, including me, make exactly the same connection (Windows XP,
> Kermit 95 GUI 2.1.3, SSH to Red Hat 9 or Solaris 9) all the time with no
> delay in connecting and no keystroke lag.  I, for one, *live* in this kind
> of connection all day long, and also make ssh connections to many other
> hosts and sites, and have never seen this behavior.

I thought it was because of the poor lab setup here.
I'll forward a set of debug logs via email to kermit-support@columbia.edu.

-- 
---
Clarence A Dold - Hidden Valley (Lake County) CA USA  38.8-122.5


From dold@slowXsshXt.usenet.us.com Fri Jul  2 11:24:30 2004
Path: newsmaster.cc.columbia.edu!panix!news.linkpendium.com!news.linkpendium.com!news.glorb.com!tdsnet-transit!newspeer.tds.net!gail.ripco.com!wasp.rahul.net!blue.rahul.net!not-for-mail
From: dold@slowXsshXt.usenet.us.com
Newsgroups: comp.protocols.kermit.misc
Subject: Re: slow ssh to Linux/Solaris
Date: Fri, 2 Jul 2004 00:26:39 +0000 (UTC)
Organization: a2i network
Lines: 16
Sender: Clarence Dold <dold@violet.rahul.net>
Message-ID: <cc2a3v$e65$1@blue.rahul.net>
References: <cc1d5e$4eo$5@blue.rahul.net> <slrnce8vv2.ol9.fdc@sesame.cc.columbia.edu> <cc23s8$c6q$2@blue.rahul.net>
NNTP-Posting-Host: violet.rahul.net
X-Trace: blue.rahul.net 1088727999 14533 192.160.13.70 (2 Jul 2004 00:26:39 GMT)
X-Complaints-To: support@rahul.net
NNTP-Posting-Date: Fri, 2 Jul 2004 00:26:39 +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:15065

dold@slowxsshxt.usenet.us.com wrote:
> I thought it was because of the poor lab setup here.
> I'll forward a set of debug logs via email to kermit-support@columbia.edu.

Oops.  Too many new things at once.
I had just installed the Linux 9 box.
I forgot that I had also installed a new monitor and a silly program called
Display Switcher along with it.

That was sucking up CPU cycles, which only seemed to bother Kermit-ssh
initially.  Later in the day, it bothered other programs as well.

-- 
---
Clarence A Dold - Hidden Valley (Lake County) CA USA  38.8-122.5


From gmorris59@yahoo.co.uk Fri Jul  2 13:10:19 2004
Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews2.google.com!not-for-mail
From: gmorris59@yahoo.co.uk (Graham Morris)
Newsgroups: comp.protocols.kermit.misc
Subject: Shutdown of kermit server
Date: 2 Jul 2004 08:59:23 -0700
Organization: http://groups.google.com
Lines: 8
Message-ID: <7a290e81.0407020759.a2b6467@posting.google.com>
NNTP-Posting-Host: 217.155.34.27
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1088783969 32671 127.0.0.1 (2 Jul 2004 15:59:29 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 2 Jul 2004 15:59:29 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15066

We connect a "black box" to a PC and use kermit to transfer files. The
PC runs kermit server and we have developed kermit client code on the
"black box".

Is there a way to stop the server from the client as we would like the
kermit server to stop to automatically free up the serial line for
other use? Are there any control/commands that can be sent down the
serial line from the client to exit the kermit server session.

From fdc@columbia.edu Fri Jul  2 13:11:35 2004
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Shutdown of kermit server
Date: 2 Jul 2004 17:11:00 GMT
Organization: Columbia University
Lines: 13
Message-ID: <slrnceb5p4.gm1.fdc@sesame.cc.columbia.edu>
References: <7a290e81.0407020759.a2b6467@posting.google.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1088788260 16314 128.59.59.56 (2 Jul 2004 17:11:00 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 2 Jul 2004 17:11:00 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15067

On 2004-07-02, Graham Morris <gmorris59@yahoo.co.uk> wrote:
: We connect a "black box" to a PC and use kermit to transfer files. The
: PC runs kermit server and we have developed kermit client code on the
: "black box".
:
: Is there a way to stop the server from the client as we would like the
: kermit server to stop to automatically free up the serial line for
: other use? Are there any control/commands that can be sent down the
: serial line from the client to exit the kermit server session.
:
Sure, send it a BYE packet.

- Frank

From gmatey@127.0.0.1 Wed Jul 14 15:43:21 2004
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!newshosting.com!nx02.iad01.newshosting.com!216.196.98.140.MISMATCH!border1.nntp.dca.giganews.com!nntp.giganews.com!local1.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 14 Jul 2004 14:31:22 -0500
From: "George Matey" <gmatey@127.0.0.1>
Newsgroups: comp.protocols.kermit.misc
Subject: Terminal parameter not being set properly from Dialer
Date: Wed, 14 Jul 2004 15:31:22 -0400
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Message-ID: <xaOdneIj2cqXF2jd4p2dnA@giganews.com>
Lines: 23
X-Trace: sv3-0rmp5auIaVazOw7t3nf7K9osBGGqtUGGNslM2gsNr2s9MwKDGP3PKi46CfAkjusKU3TNG5dYr3SsRvz!5Sgxd9bGRcQfDF58E1SClr0TH6UupBBFZYlnupS8s7tc6tLc4ZHMgaX8
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.1
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15077

I'm connecting to a device using telnet from the Kermit Dialer (K-95 2.1.3)
and am getting
a local echo.  The Local Echo parameter is unchecked in the
Dialer-Terminal-config GUI.
The Generated Script File from the Dialer for that device also shows an
entry of:
"set term echo off", but when it connects, there is some echoing.
If I enter "set term echo off" from the command screen, then all is well for
that session.

Since the dialer script is executed last, it also looks like the "set term
echo off" that I added
to my k95custom.ini file is also being ignored/overwritten.

I'm unsure where is parameter is being set improperly and where it can
"fixed".

--
George





From fdc@columbia.edu Wed Jul 14 15:49:53 2004
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Terminal parameter not being set properly from Dialer
Date: 14 Jul 2004 19:48:24 GMT
Organization: Columbia University
Lines: 27
Message-ID: <slrncfb3g8.6l6.fdc@sesame.cc.columbia.edu>
References: <xaOdneIj2cqXF2jd4p2dnA@giganews.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1089834504 311 128.59.59.56 (14 Jul 2004 19:48:24 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 14 Jul 2004 19:48:24 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15078

On 2004-07-14, George Matey <gmatey@127.0.0.1> wrote:
: I'm connecting to a device using telnet from the Kermit Dialer (K-95 2.1.3)
: and am getting a local echo.  The Local Echo parameter is unchecked in the
: Dialer-Terminal-config GUI.  The Generated Script File from the Dialer for
: that device also shows an entry of: "set term echo off", but when it
: connects, there is some echoing.  If I enter "set term echo off" from the
: command screen, then all is well for that session.
:
: Since the dialer script is executed last, it also looks like the "set term
: echo off" that I added to my k95custom.ini file is also being
: ignored/overwritten.
:
: I'm unsure where is parameter is being set improperly and where it can
: "fixed".
:
Telnet protocol says that the client echoes locally unless the server offers
(by well defined Telnet protocol negotiations) to echo, which evidently does
no happen in your case.  This is one of those confusing cases where certain
things happen before or after certain other things.  You tell Kermit not
to echo locally, but then the Telnet startup sequence goes to local echo
automatically because that's part of the Telnet protocol definition, thus
overriding your "set term echo off" command.  The trick is to "move" that
command someplace where it will be executed after the Telnet protocol
startup sequence, such as the login script or the key map.  Just enter the
command into the text box on the appropriate Dialer entry page.

- Frank

From jaltman2@nyc.rr.com Wed Jul 14 16:03:48 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!nntp2.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!border1.nntp.dca.giganews.com!border2.nntp.dca.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
From: Jeffrey Altman <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040608
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Terminal parameter not being set properly from Dialer
References: <xaOdneIj2cqXF2jd4p2dnA@giganews.com>
In-Reply-To: <xaOdneIj2cqXF2jd4p2dnA@giganews.com>
X-Enigmail-Version: 0.84.2.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 36
Message-ID: <9XfJc.27621$oW6.5016328@twister.nyc.rr.com>
Date: Wed, 14 Jul 2004 19:36:37 GMT
NNTP-Posting-Host: 24.193.46.55
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1089833797 24.193.46.55 (Wed, 14 Jul 2004 15:36:37 EDT)
NNTP-Posting-Date: Wed, 14 Jul 2004 15:36:37 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15079

You are probably not connecting to a Telnet Server and therefore
echoing in the NVT protocol cannot be disabled.

Jeffrey Altman
Kermit 95 Author
Secure Endpoints Inc

George Matey wrote:
> I'm connecting to a device using telnet from the Kermit Dialer (K-95 2.1.3)
> and am getting
> a local echo.  The Local Echo parameter is unchecked in the
> Dialer-Terminal-config GUI.
> The Generated Script File from the Dialer for that device also shows an
> entry of:
> "set term echo off", but when it connects, there is some echoing.
> If I enter "set term echo off" from the command screen, then all is well for
> that session.
> 
> Since the dialer script is executed last, it also looks like the "set term
> echo off" that I added
> to my k95custom.ini file is also being ignored/overwritten.
> 
> I'm unsure where is parameter is being set improperly and where it can
> "fixed".
> 
> --
> George
> 
> 
> 
> 

-- 
-----------------
This e-mail account is not read on a regular basis.
Please send private responses to jaltman at mit dot edu

From root@127.0.0.1 Thu Jul 15 10:06:25 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!nntp2.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!newshosting.com!nx02.iad01.newshosting.com!216.196.98.140.MISMATCH!border1.nntp.dca.giganews.com!nntp.giganews.com!local1.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 14 Jul 2004 16:38:01 -0500
From: "User" <root@127.0.0.1>
Newsgroups: comp.protocols.kermit.misc
References: <xaOdneIj2cqXF2jd4p2dnA@giganews.com> <slrncfb3g8.6l6.fdc@sesame.cc.columbia.edu>
Subject: Re: Terminal parameter not being set properly from Dialer
Date: Wed, 14 Jul 2004 17:37:57 -0400
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Message-ID: <Wt2dna3vwYskOmjdRVn_iw@giganews.com>
Lines: 55
X-Trace: sv3-4PWK3bNMZNdp/nkaqhfDdd5ko8jSTSUuS9mRQaI91xBigT2WTgIK1Wo0vcfUwVXldrMutOkGb/mWDNW!Uoe+CWZdEsn3M90S4JWIyzj4LK4pNLo65Y4DR1rgGnbNJN9AHbpoh98T
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.1
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15080

"Frank da Cruz" <fdc@columbia.edu> wrote in message
news:slrncfb3g8.6l6.fdc@sesame.cc.columbia.edu...
> On 2004-07-14, George Matey <gmatey@127.0.0.1> wrote:
> : I'm connecting to a device using telnet from the Kermit Dialer (K-95
2.1.3)
> : and am getting a local echo.  The Local Echo parameter is unchecked
in the
> : Dialer-Terminal-config GUI.  The Generated Script File from the
Dialer for
> : that device also shows an entry of: "set term echo off", but when it
> : connects, there is some echoing.  If I enter "set term echo off"
from the
> : command screen, then all is well for that session.
> :
> : Since the dialer script is executed last, it also looks like the
"set term
> : echo off" that I added to my k95custom.ini file is also being
> : ignored/overwritten.
> :
> : I'm unsure where is parameter is being set improperly and where it
can
> : "fixed".
> :
> Telnet protocol says that the client echoes locally unless the server
offers
> (by well defined Telnet protocol negotiations) to echo, which
evidently does
> no happen in your case.  This is one of those confusing cases where
certain
> things happen before or after certain other things.  You tell Kermit
not
> to echo locally, but then the Telnet startup sequence goes to local
echo
> automatically because that's part of the Telnet protocol definition,
thus
> overriding your "set term echo off" command.  The trick is to "move"
that
> command someplace where it will be executed after the Telnet protocol
> startup sequence, such as the login script or the key map.  Just enter
the
> command into the text box on the appropriate Dialer entry page.
>
> - Frank


I moved the command "set term echo off" to the text box in the
Login Settings dialog box and everything works fine now.

Thanks!

--
George




From david.secondary@ironmountain.com Fri Jul 16 11:01:08 2004
Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews2.google.com!not-for-mail
From: david.secondary@ironmountain.com (David Olson)
Newsgroups: comp.protocols.kermit.misc
Subject: Kermit 95 Handles Files Collisions Differently from MSKermit
Date: 15 Jul 2004 16:11:09 -0700
Organization: http://groups.google.com
Lines: 102
Message-ID: <7c9a306e.0407151511.38c36ea@posting.google.com>
NNTP-Posting-Host: 216.229.147.20
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1089933070 17479 127.0.0.1 (15 Jul 2004 23:11:10 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 15 Jul 2004 23:11:10 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15081

Hello all,

I have a question that is driving us crazy and causing terrible
support issues. I'd appreciate knowing if anyone has or knows of a
solution or where to find one.

In the past, we have had MS-Kermit running in server mode where
clients dial in and deposit files. This MS-Kermit server has had its
file collision set to rename. When a file collision happens, numbers
are tacked onto the filename before the extension. Example:

Original file: test.fil
After collision: test01.fil

Now we have to use Kermit 95 on the server side so that we can talk to
higher com ports and use TAPI. When file collision is set to either
backup or rename, the behavior is different. Example:

Original file: test.fil
after collision: test.fil.~1~

How do I get Kermit 95 to behave during collisions like the original
MS-Kermit? I've read millions of pages of docs and tried everything
and still cannot find how to do it. The current behavior is breaking
our application.

****************REFERENCE MATERIAL************************

Here's some reference info:
Our prior system: mskermit 3.15 15 sept 97

the server mode is initialized by the following commands:
set com1 \x03F8 \4 FIFO-enabled
set port com1
set speed 57600              
set rec pack 1000
set send pack 1000
set term color 0,1,37,44  ; set colours
set mode-line on      
set input timeout proceed
set input echo on
disable all
enable delete
enable host
enable login
def errstp echo ERROR=> \%1\13,def \%1,pause 3,hangup,exit
log transaction modem.log
cd p:\
output AT\13
input 3 \10
if fail errstp { NO RESPONSE FROM MODEM }
pause 2
output ATZ\13
input 5 \10
if fail errstp { MODEM RESET FAILED }
pause 2
clear
output ATS0=1\13
input 3 \10
if fail errstp { FAILED TO SET MODEM AUTO ANSWER ON }
pause 2
server
output ATS0=0\13
pause 2
exit

And the new system:
Kermit 95 2.1.3 1 Jan 2003

Script to initialize the server instance:

set port com12
set speed 57600
set rec pack 1000
set send pack 1000
set input timeout proceed
set terminal newline-mode on
set input echo on
enable finish
enable send
enable delete
enable host
log transaction c:\comm\kermit\logs\kermit2a.log append
cd c:\landing\kermit2
set file type text
while true {
    answer 0
    if success {
        server
        hangup
    }
}

The clients dialing are using various earlier versions of mskermit
such as mskermit 3.01 20 march 1990.

*****END REFERENCE MATERIAL********************

Thank you,

David Olson
david.secondary@ironmountain.com

From fdc@columbia.edu Wed Jul 21 15:58:10 2004
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Transaction processing revisited
Date: 21 Jul 2004 19:29:06 GMT
Organization: Columbia University
Lines: 89
Message-ID: <slrncfth02.t2m.fdc@sesame.cc.columbia.edu>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1090438146 14018 128.59.59.56 (21 Jul 2004 19:29:06 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 21 Jul 2004 19:29:06 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15085

It is an increasingly common question: how to upload a file in such
a way that another process won't try to process it before the upload
is complete?  This sort of operation -- in which a variety of clients
upload transactions (files) to a central service for processing --
is commonly used in EDI applications, insurance claims, etc.  You want
to be sure that each transaction is processed exactly once; not zero,
or two or more times, and that processing takes place only when the
upload is complete and successful.

Discussions of transaction processing have been available on the
Kermit website for some time:

  http://www.columbia.edu/kermit/case10.html
  http://www.columbia.edu/kermit/ftpscripts.html

The second one concerns FTP but the principles are the same -- the
transaction processing example is about halfway down the document, after
the introductory tutorial material.

In these documents we talk about uploading files to a temporary working
directory and the moving each file to its final destination only after
the upload is complete and successful.

In some situations, however, it is possible that multiple clients might
try to upload different files having the same name to the same working
directory at the same time, and although Kermit's file collision features
can be used to prevent one file from destroying the other, it complicates
the moving or renaming process.

Another approach is for the server to ensure that each incoming file has
a unique name.  This way, no collisions will ever take place and no
renaming within the temporary working directory will be necessary.
This can be done with the following command:

  set receive rename-to xxx

where xxx is a template, as explained here:

  http://www.columbia.edu/kermit/ckermit70.html#x4.1

Let's say the incoming filename is ABCD1234.FIL, and you want the new name
to incorporate the original name and still have the ".FIL" extension.  Here
are some variables you can use:

  \v(filename) = the name the file was sent was (e.g. ABCD1234.FIL).
  \v(ntime)    = current local time, seconds since midnight (e.g. 45369).
  \v(ndate)    = current date, numeric (e.g. 20040716).
  \v(pid)      = Kermit's numeric process ID.

The date, time, and PID combined would produce a guaranteed unique filename
because at any given moment, every process (including every Kermit receiver)
has a unique process ID.

How to construct the new filename?  Let's assume that the filename contains
only one dot (.).  First use string functions to separate the basename from
the extension:

  \fstripx(\v(filename)) = ABCD1234
  \flop(\v(filename))    = FIL

Then concatenate with the date, time, and pid; you can use \flpad() to
left-pad variable-length fields (like \v(ntime) or \v(pid)) if you want to
make them fixed-length.  So here is your renaming function:

  \fstripx(\v(filename))_\v(ndate)_\flpad(\v(ntime),5,0)_\v(pid).-
  \flop(\v(filename))

(This is a single line, which I've broken for benefit of netnews.  Rejoin
by removing the hyphen and the linebreak and indentation.)

I've separated the fields with underscores but of course you don't have to
do that, or you can use a different separator.  The command would be:

  set receive rename-to -
  \fstripx(\v(filename))_\v(ndate)_\flpad(\v(ntime),5,0)_\v(pid).-
  \flop(\v(filename))

which you would execute before putting the Kermit into receive or server
mode.  With this command in effect, a file called ABCD1234.FIL might be
received as ABCD1234_20040721_04739_632.FIL.  Your SET FILE COLLISION
setting should be irrelevant because you won't have any collisions.

If you also want to move the file to a different directory at the same
time you rename it, you can include that in the string, e.g.:

  set receive rename-to ../Ready/\fstripx(\v(filename))_\v(ndate)-
  _\flpad(\v(ntime),5,0)_\v(pid).\flop(\v(filename))

- Frank

From JDanSkinner@JDanSkinner.com Thu Jul 22 14:44:22 2004
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" <JDanSkinner@JDanSkinner.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Transaction processing revisited
Date: Thu, 22 Jul 2004 09:34:32 -0500
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <10fvjee19leje60@corp.supernews.com>
References: <slrncfth02.t2m.fdc@sesame.cc.columbia.edu>
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
X-Complaints-To: abuse@supernews.com
Lines: 40
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15086


"Frank da Cruz" <fdc@columbia.edu> wrote in message
news:slrncfth02.t2m.fdc@sesame.cc.columbia.edu...
> It is an increasingly common question: how to upload a file in such
> a way that another process won't try to process it before the upload
> is complete?  This sort of operation -- in which a variety of clients
> upload transactions (files) to a central service for processing --
> is commonly used in EDI applications, insurance claims, etc.  You want
> to be sure that each transaction is processed exactly once; not zero,
> or two or more times, and that processing takes place only when the
> upload is complete and successful.
<snip>
> - Frank

It must me my morning to grouse.
I've noticed several postings on this subject on this group
and others in the last few weeks.

Seem to me that folks are looking for something like:

connect <server>
do transaction <as I intended>
quit

<RANT>
How come we pay good programmers to write easy programs
like accounts receivable and payroll and airline reservations.
We provide them with training, detail specifications, and constant
supervision.

The same organization will then assign a total newbee to construct
a complex data communications system which exchanges critical
business data among incompatable computers with no more than
a CD (K-95, Procomm, PCAnywhere etc) and some general outline
of the system goals.
</RANT>

Regards...Dan.



From mbecker@NOSPAM.wesun.NOSPAM.uml.edu Mon Jul 26 11:16:40 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!newsfeed1.stngva01.us.to.verio.net!newspeer1.stngva01.us.to.verio.net!news.verio.net!news.maxwell.syr.edu!feed.news.qwest.net!testbox!not-for-mail
Sender: Mark Becker <mbecker@wesun.uml.edu>
From: Mark Becker <mbecker@NOSPAM.wesun.NOSPAM.uml.edu>
Subject: Changing server escape key?
Newsgroups: comp.protocols.kermit.misc
User-Agent: tin/1.4.6-20020816 ("Aerials") (UNIX) (SunOS/5.8 (sun4u))
Lines: 30
Message-ID: <ABjMc.2$J3.17@testbox>
Date: Sat, 24 Jul 2004 02:13:52 GMT
NNTP-Posting-Host: 129.63.117.1
X-Trace: testbox 1090635232 129.63.117.1 (Fri, 23 Jul 2004 22:13:52 EDT)
NNTP-Posting-Date: Fri, 23 Jul 2004 22:13:52 EDT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15087

Hello -

I was asked to get an RS-232 link running between an EZ-TRAX milling-
machine controller and a PC running Windows NT 4.  EZ-TRAX is running
MS-DOS 6.2.

The first thing that crossed my mind was to use Kerlite on EZ-TRAX and
Kermit 3.15 on the PC-box floppy-booted to Windows 98SE.  That works
and files can be moved back and forth.  Good.  However.. this is
awkward.  Kermit 95 on NT would be much better.

But there is another problem..

The keypad connected to the EZ-TRAX controller has only a few
keys.. and no Ctrl-C or a way to generate one.  And while issuing
FINISH from Kermit works to terminate server-mode, I wanted to press
-ESC- on the keypad and have it get translated to Ctrl-C.  A local
abort.

Now I have a TSR that intercepts the Int 0x16 call and replaces 0x011B
with 0x2E03.  Kermit still does not recognize the ..artificial..
Ctrl-C.

Suggestions?  I'm happy recommending Kermit 95 on the NT side.. but am
unsure how to get a local abort feature into the server side running
on the EZ-TRAX system.

Regards,

Mark Becker

From r@9999yahoo.co.uk Mon Jul 26 11:25:45 2004
Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!diablo.theplanet.net!zen.net.uk!demorgan.zen.co.uk!feeder.news.heanet.ie!news.indigo.ie!not-for-mail
From: "John" <r.@9999yahoo.co.uk>
Newsgroups: comp.protocols.kermit.misc
Subject: Use Comm Port #5 Q
Lines: 6
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
Message-ID: <eKKMc.5465$Z14.6759@news.indigo.ie>
Date: Sun, 25 Jul 2004 10:06:16 +0100
NNTP-Posting-Host: 213.94.229.223
X-Complaints-To: abuse@eircom.net
X-Trace: news.indigo.ie 1090746378 213.94.229.223 (Sun, 25 Jul 2004 10:06:18 BST)
NNTP-Posting-Date: Sun, 25 Jul 2004 10:06:18 BST
Organization: Eircom.Net http://www.eircom.net
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15091

I have been told that I can only use Kermit through Comm Port # 1 or 2. Is
it possible to use it through Comm Port #5?

Thanks



From slash_dev_slash_null_2000@yahoo.com Mon Jul 26 11:25:48 2004
Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews2.google.com!not-for-mail
From: slash_dev_slash_null_2000@yahoo.com (Mark Sapiro)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Use Comm Port #5 Q
Date: 25 Jul 2004 20:54:36 -0700
Organization: http://groups.google.com
Lines: 20
Message-ID: <deb126db.0407251954.26df3044@posting.google.com>
References: <eKKMc.5465$Z14.6759@news.indigo.ie>
NNTP-Posting-Host: 209.182.169.133
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1090814076 20181 127.0.0.1 (26 Jul 2004 03:54:36 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 26 Jul 2004 03:54:36 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15092

"John" <r.@9999yahoo.co.uk> wrote in message news:<eKKMc.5465$Z14.6759@news.indigo.ie>...
> I have been told that I can only use Kermit through Comm Port # 1 or 2. Is
> it possible to use it through Comm Port #5?
> 

With what Kermit program?

MS-Kermit can use com1 through com4, but effectively can use any com
port because it has the ability to associate any address and IRQ with
any of com1 through com4

I think Kermit-95 can use any serial port or modem that windows can
see.

The notion that Kermit (presumably MS-Kermit) can only use com1 or
com2 is over 15 years out of date.

--
Mark Sapiro msapiro -at- value net    The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

From johndoconnor@yahoo.co.uk Mon Jul 26 11:25:59 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!nntp2.tagonline.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed.mathworks.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!amsnews01.chello.com!surfnet.nl!feeder.news.heanet.ie!news.indigo.ie!not-for-mail
From: "John" <johndoconnor@yahoo.co.uk>
Newsgroups: comp.protocols.kermit.misc
References: <eKKMc.5465$Z14.6759@news.indigo.ie> <deb126db.0407251954.26df3044@posting.google.com>
Subject: Re: Use Comm Port #5 Q
Lines: 31
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
Message-ID: <UL1Nc.5530$Z14.6817@news.indigo.ie>
Date: Mon, 26 Jul 2004 07:44:56 +0100
NNTP-Posting-Host: 213.94.229.223
X-Complaints-To: abuse@eircom.net
X-Trace: news.indigo.ie 1090824308 213.94.229.223 (Mon, 26 Jul 2004 07:45:08 BST)
NNTP-Posting-Date: Mon, 26 Jul 2004 07:45:08 BST
Organization: Eircom.Net http://www.eircom.net
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15093

Thanks Mark for your reply, its K-95, what settings do I require to alter to
communicate via Comm 5?

Thanks

"Mark Sapiro" <slash_dev_slash_null_2000@yahoo.com> wrote in message
news:deb126db.0407251954.26df3044@posting.google.com...
> "John" <r.@9999yahoo.co.uk> wrote in message
news:<eKKMc.5465$Z14.6759@news.indigo.ie>...
> > I have been told that I can only use Kermit through Comm Port # 1 or 2.
Is
> > it possible to use it through Comm Port #5?
> >
>
> With what Kermit program?
>
> MS-Kermit can use com1 through com4, but effectively can use any com
> port because it has the ability to associate any address and IRQ with
> any of com1 through com4
>
> I think Kermit-95 can use any serial port or modem that windows can
> see.
>
> The notion that Kermit (presumably MS-Kermit) can only use com1 or
> com2 is over 15 years out of date.
>
> --
> Mark Sapiro msapiro -at- value net    The highway is for gamblers,
> San Francisco Bay Area, California    better use your sense - B. Dylan



From robatworkDeleteTheseFourWords@mail.com Mon Jul 26 11:26:10 2004
Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!border1.nntp.dca.giganews.com!nntp.giganews.com!local1.nntp.dca.giganews.com!nntp.nildram.net!news.nildram.net.POSTED!not-for-mail
NNTP-Posting-Date: Mon, 26 Jul 2004 07:27:26 -0500
From: Rob S <robatworkDeleteTheseFourWords@mail.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Use Comm Port #5 Q
Date: Mon, 26 Jul 2004 13:29:46 +0100
Message-ID: <4104f896.274653560@giganews.nildram.co.uk>
References: <eKKMc.5465$Z14.6759@news.indigo.ie> <deb126db.0407251954.26df3044@posting.google.com> <UL1Nc.5530$Z14.6817@news.indigo.ie>
X-Newsreader: Forte Agent 2.0/32.652
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 26
NNTP-Posting-Host: 62.3.253.72
X-Trace: sv3-J5NtipTMEFCFgzgnNITcOkyr/2GkHP/fozsG8+dx4iar95kbhXvlen30uyqAlVSpuJtDjRsSNssw4Mi!SJpj3KeyeZGzcgHHaM/MyEBN2SZCHxU09pJ8R06r8kTjCK3qumuzaSgXfVUk2Fa+zJ1vrViaqf1g!R6QToA==
X-Complaints-To: abuse@nildram.net
X-DMCA-Complaints-To: abuse@nildram.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:15094

On Mon, 26 Jul 2004 07:44:56 +0100, "John" <johndoconnor@yahoo.co.uk> wrote:

-Thanks Mark for your reply, its K-95, what settings do I require to alter to
-communicate via Comm 5?

SET PORT COM5
or
SET PORT 5
or
SET LINE 5

as long as device manager recognises it as COM5, you should be OK.

Then you'll need to SET SPEED xxx, and don't forget to SET FLOW XON (or
whatever. XON if your serial cable has only 3 lines).

Note, I've had variable success with PCI/USB serial ports - the latest K95
manages pretty well to recognise and send data down add-on serial ports. Some of
the earlier versions struggle with various different makes of serial port
combined with various versions of windows.......

regards


-Rob
robatwork at mail dot com

From fdc@columbia.edu Mon Jul 26 11:27:33 2004
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Changing server escape key?
Date: 26 Jul 2004 15:25:25 GMT
Organization: Columbia University
Lines: 29
Message-ID: <slrncga8j5.8ai.fdc@sesame.cc.columbia.edu>
References: <ABjMc.2$J3.17@testbox>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1090855525 6330 128.59.59.56 (26 Jul 2004 15:25:25 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 26 Jul 2004 15:25:25 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15095

On 2004-07-24, Mark Becker <mbecker@NOSPAM.wesun.NOSPAM.uml.edu> wrote:
: I was asked to get an RS-232 link running between an EZ-TRAX milling-
: machine controller and a PC running Windows NT 4.  EZ-TRAX is running
: MS-DOS 6.2.
:
: The first thing that crossed my mind was to use Kerlite on EZ-TRAX and
: Kermit 3.15 on the PC-box floppy-booted to Windows 98SE.  That works
: and files can be moved back and forth.  Good.  However.. this is
: awkward.  Kermit 95 on NT would be much better.
:
: But there is another problem..
:
: The keypad connected to the EZ-TRAX controller has only a few
: keys.. and no Ctrl-C or a way to generate one.  And while issuing
: FINISH from Kermit works to terminate server-mode, I wanted to press
: -ESC- on the keypad and have it get translated to Ctrl-C.  A local
: abort.
:
: Now I have a TSR that intercepts the Int 0x16 call and replaces 0x011B
: with 0x2E03.  Kermit still does not recognize the ..artificial..
: Ctrl-C.
:
: Suggestions?  I'm happy recommending Kermit 95 on the NT side.. but am
: unsure how to get a local abort feature into the server side running
: on the EZ-TRAX system.
:
Do you have a Letter C key?  Just use that key.

- Frank

From fdc@columbia.edu Mon Jul 26 11:27:37 2004
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Use Comm Port #5 Q
Date: 26 Jul 2004 15:27:26 GMT
Organization: Columbia University
Lines: 19
Message-ID: <slrncga8mu.8ai.fdc@sesame.cc.columbia.edu>
References: <eKKMc.5465$Z14.6759@news.indigo.ie> <deb126db.0407251954.26df3044@posting.google.com> <UL1Nc.5530$Z14.6817@news.indigo.ie> <4104f896.274653560@giganews.nildram.co.uk>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1090855646 6330 128.59.59.56 (26 Jul 2004 15:27:26 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 26 Jul 2004 15:27:26 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15096

On 2004-07-26, Rob S <robatworkDeleteTheseFourWords@mail.com> wrote:
: On Mon, 26 Jul 2004 07:44:56 +0100, "John" <johndoconnor@yahoo.co.uk> wrote:
:
: -Thanks Mark for your reply, its K-95, what settings do I require to alter to
: -communicate via Comm 5?
:
: SET PORT COM5
: or
: SET PORT 5
: or
: SET LINE 5
:
: as long as device manager recognises it as COM5, you should be OK.
:
In case it doesn't, see:

  http://www.columbia.edu/kermit/k95faq.html#comport

- Frank

From mbecker@wesun.uml.edu Tue Jul 27 11:12:05 2004
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!logbridge.uoregon.edu!news.maxwell.syr.edu!feed.news.qwest.net!testbox!not-for-mail
From: Mark Becker <mbecker@wesun.uml.edu>
Subject: Re: Changing server escape key?
Newsgroups: comp.protocols.kermit.misc
References: <ABjMc.2$J3.17@testbox> <slrncga8j5.8ai.fdc@sesame.cc.columbia.edu>
User-Agent: tin/1.4.6-20020816 ("Aerials") (UNIX) (SunOS/5.8 (sun4u))
Lines: 17
Message-ID: <oerNc.3$J3.16@testbox>
Date: Tue, 27 Jul 2004 11:44:20 GMT
NNTP-Posting-Host: 129.63.117.1
X-Trace: testbox 1090928660 129.63.117.1 (Tue, 27 Jul 2004 07:44:20 EDT)
NNTP-Posting-Date: Tue, 27 Jul 2004 07:44:20 EDT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15097

Frank da Cruz <fdc@columbia.edu> wrote:
>
> Do you have a Letter C key?  Just use that key.
>

The available keys are:

	F1 through F9
	UpArrow, DownArrow, LeftArrow, RightArrow
	0 through 9
	'/', '*', '-', '+', -ENTER-, and -ESC-

Ideas on getting keys translated would be greatly appreciated.

Regards,

Mark

From dold@SettingXth.usenet.us.com Tue Jul 27 13:23:26 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!newsfeed1.dllstx09.us.to.verio.net!newsfeed1.stlsmo04.us.to.verio.net!news.cc.ukans.edu!logbridge.uoregon.edu!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@SettingXth.usenet.us.com
Newsgroups: comp.protocols.kermit.misc
Subject: Setting the title?
Date: Tue, 27 Jul 2004 16:10:10 +0000 (UTC)
Organization: a2i network
Lines: 21
Sender: Clarence Dold <dold@violet.rahul.net>
Message-ID: <ce5up2$ml6$1@blue.rahul.net>
NNTP-Posting-Host: violet.rahul.net
X-Trace: blue.rahul.net 1090944610 23206 192.160.13.70 (27 Jul 2004 16:10:10 GMT)
X-Complaints-To: support@rahul.net
NNTP-Posting-Date: Tue, 27 Jul 2004 16:10:10 +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-30.7.legacysmp (i686))
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15099

Once upon a time, I had an "xtitle" program that would set the title bar of
an XTerm window, and I thought I had modified it so that if I was on a
vt-kerm ( a name I made up, copied from vt220 ), it would send a couple of
echoed escape strings to set the title of a K95 window.

Somewhere, the Kermit part got lost.
I have an xtitle that works for Xterm, and I have a script from Keith
Peterson that sets MSDOS time, but I can't seem to blend those two.

If I alt-x, I can 
	set terminal text-string
but from the connected unix window, if I 
	echo '\033_set terminal apc unchecked\033\'
	echo '\033_set title text-string\033\'
It doesn't set the title.
This is on Kermit 95 2.1.3

-- 
---
Clarence A Dold - Hidden Valley (Lake County) CA USA  38.8-122.5


From fdc@columbia.edu Tue Jul 27 13:29:16 2004
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Setting the title?
Date: 27 Jul 2004 17:28:57 GMT
Organization: Columbia University
Lines: 28
Message-ID: <slrncgd46p.giv.fdc@sesame.cc.columbia.edu>
References: <ce5up2$ml6$1@blue.rahul.net>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1090949337 11180 128.59.59.56 (27 Jul 2004 17:28:57 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 27 Jul 2004 17:28:57 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15100

On 2004-07-27,
dold@SettingXth.usenet.us.com <dold@SettingXth.usenet.us.com> wrote:
: Once upon a time, I had an "xtitle" program that would set the title bar of
: an XTerm window, and I thought I had modified it so that if I was on a
: vt-kerm ( a name I made up, copied from vt220 ), it would send a couple of
: echoed escape strings to set the title of a K95 window.
:
: Somewhere, the Kermit part got lost.
: I have an xtitle that works for Xterm, and I have a script from Keith
: Peterson that sets MSDOS time, but I can't seem to blend those two.
:
: If I alt-x, I can 
: 	set terminal text-string
: but from the connected unix window, if I 
: 	echo '\033_set terminal apc unchecked\033\'
: 	echo '\033_set title text-string\033\'
: It doesn't set the title.
: This is on Kermit 95 2.1.3
:
You can't SET TERM APC UNCHECKED in an APC sequence for obvious reasons!

There's an escape sequence for setting the title which I can't seem to
locate at the moment, but it's the same as the one used by DECterm
(DEC's VT520-like xterm).  I don't know offhand if that's the same one
used by regular xterm or, if it is different, whether the regular xterm
one works too.

- Frank

From jaltman2@nyc.rr.com Tue Jul 27 13:56:51 2004
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsfeed.telusplanet.net!newsfeed.telus.net!atl-c02.usenetserver.com!news.usenetserver.com!border1.nntp.dca.giganews.com!border2.nntp.dca.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!53ab2750!not-for-mail
Message-ID: <41068BC0.4080407@nyc.rr.com>
From: Jeffrey Altman <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040608
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Setting the title?
References: <ce5up2$ml6$1@blue.rahul.net>
In-Reply-To: <ce5up2$ml6$1@blue.rahul.net>
X-Enigmail-Version: 0.84.2.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 11
Date: Tue, 27 Jul 2004 17:07:12 GMT
NNTP-Posting-Host: 24.193.46.55
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1090948032 24.193.46.55 (Tue, 27 Jul 2004 13:07:12 EDT)
NNTP-Posting-Date: Tue, 27 Jul 2004 13:07:12 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15101

Both the Xterm SET WINDOW TITLE sequence and the DEC VT DECSWT
sequences are supported by Kermit 95 to set the title of the
window.

The problem with your approach is that the host cannot change
the value of the APC mode.  If it could there would be no reason
for having the APC commands be checked in the first place.

Jeffrey Altman
Kermit 95 Author
Secure Endpoints Inc.

From dold@SettingXth.usenet.us.com Tue Jul 27 14:38:16 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!newsfeed1.stngva01.us.to.verio.net!newspeer1.stngva01.us.to.verio.net!news.verio.net!news.glorb.com!tdsnet-transit!newspeer.tds.net!gail.ripco.com!wasp.rahul.net!blue.rahul.net!not-for-mail
From: dold@SettingXth.usenet.us.com
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Setting the title?
Date: Tue, 27 Jul 2004 17:48:55 +0000 (UTC)
Organization: a2i network
Lines: 18
Sender: Clarence Dold <dold@violet.rahul.net>
Message-ID: <ce64i7$oi9$1@blue.rahul.net>
References: <ce5up2$ml6$1@blue.rahul.net> <slrncgd46p.giv.fdc@sesame.cc.columbia.edu>
NNTP-Posting-Host: violet.rahul.net
X-Trace: blue.rahul.net 1090950535 25161 192.160.13.70 (27 Jul 2004 17:48:55 GMT)
X-Complaints-To: support@rahul.net
NNTP-Posting-Date: Tue, 27 Jul 2004 17:48:55 +0000 (UTC)
X-Comment: Encoded From: line allows replies that preserve original subject
User-Agent: tin/1.4.6-20020816 ("Aerials") (UNIX) (Linux/2.4.20-30.7.legacysmp (i686))
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15102

Frank da Cruz <fdc@columbia.edu> wrote:
> You can't SET TERM APC UNCHECKED in an APC sequence for obvious reasons!

Just copying that from an old script from 1994 by Keith Peterson.
I think you were in that thread somewhere, but it is an odd thought.

> There's an escape sequence for setting the title which I can't seem to
> locate at the moment, but it's the same as the one used by DECterm
> (DEC's VT520-like xterm).  I don't know offhand if that's the same one
> used by regular xterm or, if it is different, whether the regular xterm
> one works too.

> - Frank

-- 
---
Clarence A Dold - Hidden Valley (Lake County) CA USA  38.8-122.5


From dold@SettingXth.usenet.us.com Tue Jul 27 16:04:01 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!newsfeed1.stngva01.us.to.verio.net!newspeer1.stngva01.us.to.verio.net!news.verio.net!news.glorb.com!tdsnet-transit!newspeer.tds.net!gail.ripco.com!wasp.rahul.net!blue.rahul.net!not-for-mail
From: dold@SettingXth.usenet.us.com
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Setting the title?
Date: Tue, 27 Jul 2004 19:21:57 +0000 (UTC)
Organization: a2i network
Lines: 18
Sender: Clarence Dold <dold@violet.rahul.net>
Message-ID: <ce6a0l$q7s$1@blue.rahul.net>
References: <ce5up2$ml6$1@blue.rahul.net> <41068BC0.4080407@nyc.rr.com>
NNTP-Posting-Host: violet.rahul.net
X-Trace: blue.rahul.net 1090956117 26876 192.160.13.70 (27 Jul 2004 19:21:57 GMT)
X-Complaints-To: support@rahul.net
NNTP-Posting-Date: Tue, 27 Jul 2004 19:21: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-30.7.legacysmp (i686))
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15103

Jeffrey Altman <jaltman2@nyc.rr.com> wrote:
> Both the Xterm SET WINDOW TITLE sequence and the DEC VT DECSWT
> sequences are supported by Kermit 95 to set the title of the
> window.

Here's what I'm sending to an Xterm successfully (the ^[ is really an
embedded escape, and the ^G is an embedded control-g).
    echo "^[]0;$TITLE^G"
If I send this to a K95 vt320 window, the screen scrolls up one line, but
after that, I have no caharacters echoed to the screen.  Keystorkes are
still working, but I don't see anything on screen until I do alt=

I've looked at a log session, and the string is arriving.

-- 
---
Clarence A Dold - Hidden Valley (Lake County) CA USA  38.8-122.5


From dickey@saltmine.radix.net Wed Jul 28 14:14:10 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!nntp2.tagonline.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed.mathworks.com!news.maxwell.syr.edu!news.airnews.net!cabal13.airnews.net!cabal11.airnews.net!sn-xit-02!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
From: Thomas Dickey <dickey@saltmine.radix.net>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Setting the title?
Date: Wed, 28 Jul 2004 16:49:29 -0000
Organization: RadixNet Internet Services
Message-ID: <10gfm8pqul7k193@corp.supernews.com>
References: <ce5up2$ml6$1@blue.rahul.net> <41068BC0.4080407@nyc.rr.com> <ce6a0l$q7s$1@blue.rahul.net>
User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (SunOS/5.8 (sun4u))
X-Complaints-To: abuse@supernews.com
Lines: 31
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15104

dold@settingxth.usenet.us.com wrote:
> Jeffrey Altman <jaltman2@nyc.rr.com> wrote:
>> Both the Xterm SET WINDOW TITLE sequence and the DEC VT DECSWT
>> sequences are supported by Kermit 95 to set the title of the
>> window.

> Here's what I'm sending to an Xterm successfully (the ^[ is really an
> embedded escape, and the ^G is an embedded control-g).
>     echo "^[]0;$TITLE^G"
> If I send this to a K95 vt320 window, the screen scrolls up one line, but
> after that, I have no caharacters echoed to the screen.  Keystorkes are
> still working, but I don't see anything on screen until I do alt=

> I've looked at a log session, and the string is arriving.

A real DEC terminal would insist that the string be properly terminated
(with a ST - code 0x9c or an ESC followed by backslash).  xterm accepts
a BEL (^G) for a terminator, probably because someone long ago decided
the standard terminators were too much trouble to send in a shell script.

XFree86 xterm accepts either -

xterm supports ANSI color, VT220 emulation and UTF-8
There's an faq at
	http://invisible-island.net/xterm/xterm.faq.html
	ftp://invisible-island.net/xterm/

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

From mbecker@wesun.uml.edu Thu Jul 29 09:45:34 2004
Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!feed.news.qwest.net!testbox!not-for-mail
From: Mark Becker <mbecker@wesun.uml.edu>
Subject: Re: Changing server escape key?
Newsgroups: comp.protocols.kermit.misc
References: <ABjMc.2$J3.17@testbox> <slrncga8j5.8ai.fdc@sesame.cc.columbia.edu> <oerNc.3$J3.16@testbox>
User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (SunOS/5.8 (sun4u))
Lines: 17
Message-ID: <sGYNc.4$J3.17@testbox>
Date: Thu, 29 Jul 2004 01:47:04 GMT
NNTP-Posting-Host: 129.63.117.1
X-Trace: testbox 1091065624 129.63.117.1 (Wed, 28 Jul 2004 21:47:04 EDT)
NNTP-Posting-Date: Wed, 28 Jul 2004 21:47:04 EDT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15106

Hello -

In a previous post lost by my news server, Frank da Cruz wrote:
>
> [ chunk of assembly language supplied by Joe D removed for clarity ]
>

I .. had found that routine in mssser.asm but had managed to misread
it.  That misunderstanding, and a typo in my interrupt handler have
been straightened out.. The TSR is fixed and everything works.  <whew>
Success is a heady feeling.

Thank you.

Regards,

Mark

From JDanSkinner@JDanSkinner.com Sat Jul 31 11:24:36 2004
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsxfer.itd.umich.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-06!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
From: "Dan Skinner" <JDanSkinner@JDanSkinner.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Use Comm Port #5 Q
Date: Mon, 26 Jul 2004 10:34:05 -0500
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <10gn7mi5n3bch0a@corp.supernews.com>
References: <eKKMc.5465$Z14.6759@news.indigo.ie> <deb126db.0407251954.26df3044@posting.google.com> <UL1Nc.5530$Z14.6817@news.indigo.ie> <4104f896.274653560@giganews.nildram.co.uk>
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
X-Complaints-To: abuse@supernews.com
Lines: 26
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15107


"Rob S" <robatworkDeleteTheseFourWords@mail.com> wrote in message
news:4104f896.274653560@giganews.nildram.co.uk...
> On Mon, 26 Jul 2004 07:44:56 +0100, "John" <johndoconnor@yahoo.co.uk>
wrote:
>
> -Thanks Mark for your reply, its K-95, what settings do I require to alter
to
> -communicate via Comm 5?
                               ----------
>
> SET PORT COM5
                      --------
<snip>

> -Rob
> robatwork at mail dot com

John;
I hope you noticed com5  not comm5
                             ------       --------
Good luck.

Regards...Dan.



From nospam@killspam.org Mon Aug  9 14:03:38 2004
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsfeed.arcor.de!news.belwue.de!newsfeed01.sul.t-online.de!newsfeed00.sul.t-online.de!t-online.de!border2.nntp.dca.giganews.com!nntp.giganews.com!wn12feed!worldnet.att.net!63.223.4.70!c01.usenetserver.com!news.usenetserver.com!elnk-atl-nf1!newsfeed.earthlink.net!stamper.news.atl.earthlink.net!newsread2.news.atl.earthlink.net.POSTED!9477d3c5!not-for-mail
From: <nospam@killspam.org>
Newsgroups: comp.protocols.kermit.misc
Subject: get /command syntax help 
Lines: 36
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Message-ID: <HwORc.8953$nx2.3208@newsread2.news.atl.earthlink.net>
Date: Mon, 09 Aug 2004 17:30:15 GMT
NNTP-Posting-Host: 24.148.161.18
X-Complaints-To: abuse@earthlink.net
X-Trace: newsread2.news.atl.earthlink.net 1092072615 24.148.161.18 (Mon, 09 Aug 2004 10:30:15 PDT)
NNTP-Posting-Date: Mon, 09 Aug 2004 10:30:15 PDT
Organization: EarthLink Inc. -- http://www.EarthLink.net
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15111

Hello folks,

Desired Function:

Display contents of remote file onscreen w/o saving it to local file
Store contents of remote file into kermit macro or variable w/o saving to
local file.

I realize I could workaround this by creating a temp file, but then I have
to save/open/read/delete same and it really seems to be just a waste when
the bytes are coming down the pipe and in
a buffer anyway.

Any help / examples appreciated!!!!


Can't seem to figure out how to do this.  It looked like the /command switch
on the
get command would be just what the doctor ordered, but I have unable to

     get the right syntax to do what I desire
      find any example using this syntax.

Example:

if I have a file named   FILE , containing the string CONTENTS

and I type:

get /command FILE echo the file contains

i would hope to see  the line :    the file contains CONTENTS,
rather i see the line: the file contains




From fdc@columbia.edu Mon Aug  9 14:07:55 2004
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: get /command syntax help
Date: 9 Aug 2004 18:07:49 GMT
Organization: Columbia University
Lines: 10
Message-ID: <slrnchffbl.ech.fdc@sesame.cc.columbia.edu>
References: <HwORc.8953$nx2.3208@newsread2.news.atl.earthlink.net>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1092074869 6083 128.59.59.56 (9 Aug 2004 18:07:49 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 9 Aug 2004 18:07:49 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15112

On 2004-08-09, <nospam@killspam.org> <nospam@killspam.org> wrote:
: Desired Function:
:
: Display contents of remote file onscreen w/o saving it to local file
: Store contents of remote file into kermit macro or variable w/o saving to
: local file.
:
REMOTE TYPE filename

- Frank

From nospam@killspam.org Tue Aug 10 13:42:01 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!newsfeed1.dllstx09.us.to.verio.net!newsfeed1.stlsmo04.us.to.verio.net!news.cc.ukans.edu!logbridge.uoregon.edu!news.maxwell.syr.edu!wns13feed!worldnet.att.net!63.223.4.70!c01.usenetserver.com!news.usenetserver.com!elnk-atl-nf1!newsfeed.earthlink.net!stamper.news.atl.earthlink.net!newsread2.news.atl.earthlink.net.POSTED!9477d3c5!not-for-mail
From: <nospam@killspam.org>
Newsgroups: comp.protocols.kermit.misc
References: <HwORc.8953$nx2.3208@newsread2.news.atl.earthlink.net> <slrnchffbl.ech.fdc@sesame.cc.columbia.edu>
Subject: Re: get /command syntax help
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Message-ID: <_q6Sc.10037$nx2.9157@newsread2.news.atl.earthlink.net>
Date: Tue, 10 Aug 2004 16:09:30 GMT
NNTP-Posting-Host: 24.148.161.18
X-Complaints-To: abuse@earthlink.net
X-Trace: newsread2.news.atl.earthlink.net 1092154170 24.148.161.18 (Tue, 10 Aug 2004 09:09:30 PDT)
NNTP-Posting-Date: Tue, 10 Aug 2004 09:09:30 PDT
Organization: EarthLink Inc. -- http://www.EarthLink.net
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15113

>"Frank da Cruz" <fdc@columbia.edu> wrote in message
> REMOTE TYPE filename

Thanks Frank, for the fast replay -- which answered the first goal, I
started looking at the get /command switch when I couldn't figure out how to
stuff the rtype output to a variable...
 --  rtype will display file contents ,
SET QUIET ON gets rid of extraneous header/footer info but I still have to
figure out how to stuff the filecontents into a macro or variable.

I'm sure this is blindingly obvious to someone who has worked with the
product for decades, but I have been unable to locate syntax which
demonstrates the correct use of this.



From fdc@columbia.edu Tue Aug 10 13:55:02 2004
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: get /command syntax help
Date: 10 Aug 2004 17:54:45 GMT
Organization: Columbia University
Lines: 28
Message-ID: <slrnchi2v5.8t0.fdc@sesame.cc.columbia.edu>
References: <HwORc.8953$nx2.3208@newsread2.news.atl.earthlink.net> <slrnchffbl.ech.fdc@sesame.cc.columbia.edu> <_q6Sc.10037$nx2.9157@newsread2.news.atl.earthlink.net>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1092160485 3973 128.59.59.56 (10 Aug 2004 17:54:45 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 10 Aug 2004 17:54:45 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15114

On 2004-08-10, <nospam@killspam.org> <nospam@killspam.org> wrote:
:>"Frank da Cruz" <fdc@columbia.edu> wrote in message
:> REMOTE TYPE filename
:
: Thanks Frank, for the fast replay -- which answered the first goal, I
: started looking at the get /command switch when I couldn't figure out how to
: stuff the rtype output to a variable...
:  --  rtype will display file contents ,
: SET QUIET ON gets rid of extraneous header/footer info but I still have to
: figure out how to stuff the filecontents into a macro or variable.
:
There is no OBVIOUS way to do this.  Consider that a remote file might be
gigabytes long.

Still, there is a non-obvious way:

  def xx query kermit command(cat filename)
  do xx

where "cat" is the command used on the other computer to display a file's
contents (use "type" for most non-Unix systems).  Defining a macro to do this
and then executing the macro is a trick to suppress display of the file on the
screen during download ("set quiet on" doesn't affect QUERY).

The result is in the \v(query) variable, unless the file is too big to fit
or it contains NUL bytes, in which case it will be truncated.

- Frank

From nospam@killspam.org Wed Aug 11 13:35:15 2004
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!nntp.abs.net!newsfeed2.telusplanet.net!newsfeed.telus.net!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!elnk-atl-nf1!newsfeed.earthlink.net!stamper.news.atl.earthlink.net!newsread3.news.atl.earthlink.net.POSTED!9477d3c5!not-for-mail
From: <nospam@killspam.org>
Newsgroups: comp.protocols.kermit.misc
References: <HwORc.8953$nx2.3208@newsread2.news.atl.earthlink.net>
Subject: Re: get /command syntax help 
Lines: 6
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Message-ID: <SurSc.21233$Jp6.8861@newsread3.news.atl.earthlink.net>
Date: Wed, 11 Aug 2004 16:07:14 GMT
NNTP-Posting-Host: 24.148.161.18
X-Complaints-To: abuse@earthlink.net
X-Trace: newsread3.news.atl.earthlink.net 1092240434 24.148.161.18 (Wed, 11 Aug 2004 09:07:14 PDT)
NNTP-Posting-Date: Wed, 11 Aug 2004 09:07:14 PDT
Organization: EarthLink Inc. -- http://www.EarthLink.net
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15115

Neat solution.  I am perversely glad that it wasn't some simple switch I
wasn't
seeing in the documentation.




From froehlich@mn.rr.com Sun Aug 15 14:27:08 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.stngva01.us.to.verio.net!newspeer1.stngva01.us.to.verio.net!verio!news.glorb.com!newshub.sdsu.edu!elnk-nf2-pas!elnk-pas-nf1!newsfeed.earthlink.net!cyclone.socal.rr.com!cyclone2.kc.rr.com!news2.kc.rr.com!twister.rdc-kc.rr.com.POSTED!53ab2750!not-for-mail
From: "Thomas Froehlich" <froehlich@mn.rr.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Kermit as default SSH client via web browser ...
Lines: 12
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Message-ID: <dGeTc.93625$vN3.3910@twister.rdc-kc.rr.com>
Date: Sat, 14 Aug 2004 02:20:57 GMT
NNTP-Posting-Host: 65.27.119.29
X-Complaints-To: abuse@rr.com
X-Trace: twister.rdc-kc.rr.com 1092450057 65.27.119.29 (Fri, 13 Aug 2004 21:20:57 CDT)
NNTP-Posting-Date: Fri, 13 Aug 2004 21:20:57 CDT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15116

Hi ,

was looking for a possibility to use something like ssh://192.168.1.1 5001
in IE. I notice that Kermit (2.1.3) will already do this but the problem is
that it will only use the standard socket port (22) . I do need to set it
for example to 5001 . Any idea on how I can tell Kermit to read ip address
and socket port ?

Thanks,
Thomas



From jaltman2@nyc.rr.com Sun Aug 15 14:27:11 2004
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newspump.monmouth.com!newspeer.monmouth.com!border1.nntp.dca.giganews.com!border2.nntp.dca.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: <411D84D4.90009@nyc.rr.com>
From: Jeffrey Altman <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040803
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit as default SSH client via web browser ...
References: <dGeTc.93625$vN3.3910@twister.rdc-kc.rr.com>
In-Reply-To: <dGeTc.93625$vN3.3910@twister.rdc-kc.rr.com>
X-Enigmail-Version: 0.84.2.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 22
Date: Sat, 14 Aug 2004 03:13:35 GMT
NNTP-Posting-Host: 24.193.46.55
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1092453215 24.193.46.55 (Fri, 13 Aug 2004 23:13:35 EDT)
NNTP-Posting-Date: Fri, 13 Aug 2004 23:13:35 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15117

ssh://192.168.1.1:5001


Thomas Froehlich wrote:

> Hi ,
> 
> was looking for a possibility to use something like ssh://192.168.1.1 5001
> in IE. I notice that Kermit (2.1.3) will already do this but the problem is
> that it will only use the standard socket port (22) . I do need to set it
> for example to 5001 . Any idea on how I can tell Kermit to read ip address
> and socket port ?
> 
> Thanks,
> Thomas
> 
> 

-- 
-----------------
This e-mail account is not read on a regular basis.
Please send private responses to jaltman at mit dot edu

From froehlich@mn.rr.com Sun Aug 15 14:27:16 2004
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsfeed.arcor.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.vmunix.org!peer02.cox.net!cox.net!news-server.columbus.rr.com!cyclone2.kc.rr.com!news2.kc.rr.com!twister.rdc-kc.rr.com.POSTED!53ab2750!not-for-mail
From: "Thomas Froehlich" <froehlich@mn.rr.com>
Newsgroups: comp.protocols.kermit.misc
References: <dGeTc.93625$vN3.3910@twister.rdc-kc.rr.com> <411D84D4.90009@nyc.rr.com>
Subject: Re: Kermit as default SSH client via web browser ...
Lines: 34
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Message-ID: <JngTc.93900$vN3.89036@twister.rdc-kc.rr.com>
Date: Sat, 14 Aug 2004 04:17:45 GMT
NNTP-Posting-Host: 65.27.119.29
X-Complaints-To: abuse@rr.com
X-Trace: twister.rdc-kc.rr.com 1092457065 65.27.119.29 (Fri, 13 Aug 2004 23:17:45 CDT)
NNTP-Posting-Date: Fri, 13 Aug 2004 23:17:45 CDT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15118

I tried this before but it is not working. It looks like that Kermit will
only parse the ip address. Any other combination will cause connection
problems.

"Jeffrey Altman" <jaltman2@nyc.rr.com> wrote in message
news:411D84D4.90009@nyc.rr.com...
> ssh://192.168.1.1:5001
>
>
> Thomas Froehlich wrote:
>
> > Hi ,
> >
> > was looking for a possibility to use something like ssh://192.168.1.1
5001
> > in IE. I notice that Kermit (2.1.3) will already do this but the problem
is
> > that it will only use the standard socket port (22) . I do need to set
it
> > for example to 5001 . Any idea on how I can tell Kermit to read ip
address
> > and socket port ?
> >
> > Thanks,
> > Thomas
> >
> >
>
> -- 
> -----------------
> 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 Sun Aug 15 14:27:20 2004
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newspump.monmouth.com!newspeer.monmouth.com!border1.nntp.dca.giganews.com!border2.nntp.dca.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: <411D9754.4000409@nyc.rr.com>
From: Jeffrey Altman <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040803
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit as default SSH client via web browser ...
References: <dGeTc.93625$vN3.3910@twister.rdc-kc.rr.com> <411D84D4.90009@nyc.rr.com> <JngTc.93900$vN3.89036@twister.rdc-kc.rr.com>
In-Reply-To: <JngTc.93900$vN3.89036@twister.rdc-kc.rr.com>
X-Enigmail-Version: 0.84.2.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 17
Date: Sat, 14 Aug 2004 04:32:31 GMT
NNTP-Posting-Host: 24.193.46.55
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1092457951 24.193.46.55 (Sat, 14 Aug 2004 00:32:31 EDT)
NNTP-Posting-Date: Sat, 14 Aug 2004 00:32:31 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15119

Thomas Froehlich wrote:
> I tried this before but it is not working. It looks like that Kermit will
> only parse the ip address. Any other combination will cause connection
> problems.

Apparently this is one of the many bugs which have been fixed since
the last release from Columbia University.  If you are interested
in obtaining a build which works, please read

	http://www.columbia.edu/~jaltman/



-- 
-----------------
This e-mail account is not read on a regular basis.
Please send private responses to jaltman at mit dot edu

From slash_dev_slash_null_2000@yahoo.com Wed Aug 18 15:59:02 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!newsfeed1.stngva01.us.to.verio.net!newspeer1.stngva01.us.to.verio.net!verio!newsfeed.icl.net!newsfeed.fjserv.net!oleane.net!oleane!freenix!wanadoo.fr!proxad.net!postnews2.google.com!not-for-mail
From: slash_dev_slash_null_2000@yahoo.com (Mark Sapiro)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: [May be OT] Help !! - How to download USENET News **in-spite** of firewall blocks
Date: 18 Aug 2004 09:06:29 -0700
Organization: http://groups.google.com
Lines: 33
Message-ID: <deb126db.0408180806.24875080@posting.google.com>
References: <64457081.0408162255.4a8d4572@posting.google.com>
NNTP-Posting-Host: 66.52.169.141
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1092845190 30207 127.0.0.1 (18 Aug 2004 16:06:30 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 18 Aug 2004 16:06:30 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15122

posts_on_usenet@hotmail.com (posts) wrote in message news:<64457081.0408162255.4a8d4572@posting.google.com>...

> My situation
> -------------------------------------------------
> 
> I can 
> - easily browse and send web mail, 
> - read and send POP, IMAP mail, 
> but cannot get connected to news servers (I've tried a few from
> Newzbot.com)
> 
> I can ping yahoo from my command prompt but can't ping news
> servers from my command prompt
> 
> I've tried to set up news servers on Mozilla and 
> Outlook Exp newsreaders but get a time out message - I guess 
> because of something on my firewall
> 
> 
> questions 
> -------------------------------------------------
> 
> ****Is there a way out ??****. i.e. Is there a way to 
> - Check which ports are blocked by my firewall

This doesn't seem to be a port blocking issue. Ping's are ICMP echo
requests that don't have an associated port. Thus, if you can't ping
any news servers, it's because they all don't respond to ping
(unlikely) or are being blocked in some other way.

--
Mark Sapiro msapiro -at- value net    The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

From dlorentz@sygmanetwork.com Wed Aug 18 15:59:06 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!nntp2.tagonline.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews2.google.com!not-for-mail
From: dlorentz@sygmanetwork.com (Don L)
Newsgroups: comp.protocols.kermit.misc
Subject: Firewall Issue
Date: 18 Aug 2004 09:38:44 -0700
Organization: http://groups.google.com
Lines: 11
Message-ID: <417dde32.0408180838.7d3d74ef@posting.google.com>
NNTP-Posting-Host: 209.115.26.19
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1092847124 31828 127.0.0.1 (18 Aug 2004 16:38:44 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 18 Aug 2004 16:38:44 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15123

We are trying to FTP a file from a clients PC using K95 2.0.1 to our
FTP server.  We have been unable to get through their firewall.  Their
network people have investigated and say that it appears the Kermit
software is using random high ports, which are not allowed thru their
(RFS) firewall.  They think there should be some script settings I
could change to limit the ports.  I've tried the /ACTIVE-/PASSIVE
switche, but no luck.  Any idea what those settings are or where else
to look?

I am not a firewall or FTP expert, but we've used this same script at
other clients without any problems.

From jaltman2@nyc.rr.com Wed Aug 18 15:59:12 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!nntp2.tagonline.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed.gamma.ru!Gamma.RU!border2.nntp.dca.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!53ab2750!not-for-mail
Message-ID: <41238A69.4070205@nyc.rr.com>
From: Jeffrey Altman <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040803
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Firewall Issue
References: <417dde32.0408180838.7d3d74ef@posting.google.com>
In-Reply-To: <417dde32.0408180838.7d3d74ef@posting.google.com>
X-Enigmail-Version: 0.84.2.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 24
Date: Wed, 18 Aug 2004 16:55:56 GMT
NNTP-Posting-Host: 24.193.46.55
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1092848156 24.193.46.55 (Wed, 18 Aug 2004 12:55:56 EDT)
NNTP-Posting-Date: Wed, 18 Aug 2004 12:55:56 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15124

the port numbers for passive ftp data connections are selected
by the FTP server.  If there are options to specify a range
of ports, it will be on the server.



Don L wrote:

> We are trying to FTP a file from a clients PC using K95 2.0.1 to our
> FTP server.  We have been unable to get through their firewall.  Their
> network people have investigated and say that it appears the Kermit
> software is using random high ports, which are not allowed thru their
> (RFS) firewall.  They think there should be some script settings I
> could change to limit the ports.  I've tried the /ACTIVE-/PASSIVE
> switche, but no luck.  Any idea what those settings are or where else
> to look?
> 
> I am not a firewall or FTP expert, but we've used this same script at
> other clients without any problems.

-- 
-----------------
This e-mail account is not read on a regular basis.
Please send private responses to jaltman at mit dot edu

From dlorentz@sygmanetwork.com Thu Aug 19 10:06:26 2004
Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews2.google.com!not-for-mail
From: dlorentz@sygmanetwork.com (Don L)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Firewall Issue
Date: 18 Aug 2004 14:53:11 -0700
Organization: http://groups.google.com
Lines: 30
Message-ID: <417dde32.0408181353.ad47f9a@posting.google.com>
References: <417dde32.0408180838.7d3d74ef@posting.google.com> <41238A69.4070205@nyc.rr.com>
NNTP-Posting-Host: 209.115.26.19
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1092865991 15880 127.0.0.1 (18 Aug 2004 21:53:11 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 18 Aug 2004 21:53:11 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15125

I'm waiting for some clarification on what they mean by "random high
ports", but I suspect they are talking about the command and data
ports the client PC is selecting and not those of the FTP server.  If
my understanding is correct, the client PC can randomly assign its own
command and data ports.

If this is the case (they are talking about the client PC's ports), is
there a way to assign the command and data ports of the client PC
using Kermit?

Jeffrey Altman <jaltman2@nyc.rr.com> wrote in message news:<41238A69.4070205@nyc.rr.com>...
> the port numbers for passive ftp data connections are selected
> by the FTP server.  If there are options to specify a range
> of ports, it will be on the server.
> 
> 
> 
> Don L wrote:
> 
> > We are trying to FTP a file from a clients PC using K95 2.0.1 to our
> > FTP server.  We have been unable to get through their firewall.  Their
> > network people have investigated and say that it appears the Kermit
> > software is using random high ports, which are not allowed thru their
> > (RFS) firewall.  They think there should be some script settings I
> > could change to limit the ports.  I've tried the /ACTIVE-/PASSIVE
> > switche, but no luck.  Any idea what those settings are or where else
> > to look?
> > 
> > I am not a firewall or FTP expert, but we've used this same script at
> > other clients without any problems.

From jaltman2@nyc.rr.com Thu Aug 19 10:06:28 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!nntp2.tagonline.com!newsfeed2.dallas1.level3.net!news.level3.com!bloom-beacon.mit.edu!ra.nrl.navy.mil!HSNX.atgi.net!cyclone-sf.pbi.net!216.196.98.144!border2.nntp.dca.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!53ab2750!not-for-mail
Message-ID: <41240394.2080502@nyc.rr.com>
From: Jeffrey Altman <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040803
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Firewall Issue
References: <417dde32.0408180838.7d3d74ef@posting.google.com> <41238A69.4070205@nyc.rr.com> <417dde32.0408181353.ad47f9a@posting.google.com>
In-Reply-To: <417dde32.0408181353.ad47f9a@posting.google.com>
X-Enigmail-Version: 0.84.2.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 39
Date: Thu, 19 Aug 2004 01:32:54 GMT
NNTP-Posting-Host: 24.193.46.55
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1092879174 24.193.46.55 (Wed, 18 Aug 2004 21:32:54 EDT)
NNTP-Posting-Date: Wed, 18 Aug 2004 21:32:54 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15126

FTP works this way.  The server has a standard port for command 
channels, port 21.  The client allocates a random port number to
use when making a connection and then connects to port 21.  If the
client does not randomize its port number then it would be impossible
for two processes on the same machine to connect to the same FTP
server.

The data connection depends entirely on which side is being the 
acceptor.  In the original "active" model, the client allocates
a random port number and offers it to the server.  The server
then uses port 20 to connect to the client's port.

This does not work through firewalls and NATs.  Therefore, the passive
model was developed.  In the passive model, the server allocates a
random port and publishes it to the client.  The client then allocates
a random port number and connects to the server.  The reason the client
uses a random value is because the server may have a small number of
reused ports.

Kermit defaults to the passive model as does almost every other current
FTP client.  FTP servers are assumed to be in public space; the FTP
client is assumed to be in private space given the current Internet
architecture.

Jeffrey Altman


Don L wrote:

> I'm waiting for some clarification on what they mean by "random high
> ports", but I suspect they are talking about the command and data
> ports the client PC is selecting and not those of the FTP server.  If
> my understanding is correct, the client PC can randomly assign its own
> command and data ports.
> 
> If this is the case (they are talking about the client PC's ports), is
> there a way to assign the command and data ports of the client PC
> using Kermit?


From lcolby@magnaspeed.net Fri Aug 20 09:06:03 2004
Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews2.google.com!not-for-mail
From: lcolby@magnaspeed.net (Logan)
Newsgroups: comp.protocols.kermit.misc
Subject: discovering remote directories via ftp
Date: 19 Aug 2004 14:10:35 -0700
Organization: http://groups.google.com
Lines: 7
Message-ID: <c00b47e5.0408191310.6d364c08@posting.google.com>
NNTP-Posting-Host: 129.42.161.36
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1092949835 23223 127.0.0.1 (19 Aug 2004 21:10:35 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 19 Aug 2004 21:10:35 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15127

The ftpdirectory script
(ftp://kermit.columbia.edu/kermit/scripts/ckermit/ftpdirectory) shows
how to get a file listing from a remote server. Is it possible to
extend this to directory listings? I'd like to be able to script the
retrieval of a file from the most recent directory d.x from [d.1, d.2,
... d.z]. At the very least, can I redirect the results of a remote
dir either to a local variable or to a local file?

From not-a-real-address@usa.net Fri Aug 20 09:25:53 2004
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!news-feed.riddles.org.uk!sn-xit-03!sn-xit-06!sn-post-01!supernews.com!news.supernews.com!not-for-mail
From: those who know me have no need of my name <not-a-real-address@usa.net>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Firewall Issue
Date: 20 Aug 2004 03:22:44 GMT
Organization: earthfriends
Message-ID: <m1llga4i0g.gnus@usa.net>
References: <417dde32.0408180838.7d3d74ef@posting.google.com> <41238A69.4070205@nyc.rr.com>
 <417dde32.0408181353.ad47f9a@posting.google.com>
 <41240394.2080502@nyc.rr.com>
User-Agent: Gnus/5.110002 (No Gnus v0.2) XEmacs/21.4 (Security Through
 Obscurity, linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: abuse@supernews.com
Lines: 14
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15128

in comp.protocols.kermit.misc i read:

>The client then allocates a random port number and connects to the server.

and in particular it is not kermit (or the ftp server code) that is
choosing the port number; the tcp protocol stack provided by the system
makes the choice.  this can often be configured to use a particular range,
e.g., some systems use 1024 and above, others will use only the dynamic
range (49152 to 65535), while still others use a range selected by the
system administration.  so perhaps the client can be tuned to use something
which the firewall admins will find more appealing.

-- 
a signature

From fdc@columbia.edu Fri Aug 20 09:26:14 2004
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: discovering remote directories via ftp
Date: 20 Aug 2004 13:25:37 GMT
Organization: Columbia University
Lines: 44
Message-ID: <slrncibuuh.ams.fdc@sesame.cc.columbia.edu>
References: <c00b47e5.0408191310.6d364c08@posting.google.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1093008337 25022 128.59.59.56 (20 Aug 2004 13:25:37 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 20 Aug 2004 13:25:37 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15129

On 2004-08-19, Logan <lcolby@magnaspeed.net> wrote:
: The ftpdirectory script
: (ftp://kermit.columbia.edu/kermit/scripts/ckermit/ftpdirectory) shows
: how to get a file listing from a remote server. Is it possible to
: extend this to directory listings? I'd like to be able to script the
: retrieval of a file from the most recent directory d.x from [d.1, d.2,
: ... d.z]. At the very least, can I redirect the results of a remote
: dir either to a local variable or to a local file?
:
If the server includes directories in its NLST reply.  Some do, some
don't.  Or if the server supports MLSD:

  http://www.columbia.edu/kermit/newftp.html

Assuming the server's NLST reply includes directories, you can modify
the ftpdirectory script to test for this by trying to CD to each file.
If it succeeds, it's a directory (and you have to remember to CDUP to
get back where you were); if it fails, it's (probably) an ordinary file.

  undef dir
  ftp cd \m(name)
  if success {
      ftp cdup
      .dir := "(DIRECTORY)"
  }
  echo "\flpad(\m(size),12) \fcvtdate(\m(time)) \m(name) \m(dir)" ; Show info

Unfortunately, most FTP servers do NOT return directory names in their
NLST replies, nor do they support MLSD.  This is one of many reasons we
created IKSD:

  http://www.columbia.edu/kermit/iksd.html

It gets around FTP limitations such as this one, and many others too.

If the FTP server does not report directories and you can't install IKSD on
the server, your only other alternative is to use LIST, save the result to
a file:

  ftp directory * > localfilename

and "parse" the file.

- Frank

From broezell@cig.mot.com Wed Aug 25 08:57:53 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!nntp2.tagonline.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed.mathworks.com!news.maxwell.syr.edu!newsfeed-east.nntpserver.com!nntpserver.com!newsfeed1.sea.pnap.net!newsfeed2.sea.pnap.net!newsfeed.pnap.net!newsgate.mot.com!newshost.mot.com!avnika.corp.mot.com!broezell
From: broezell@cig.mot.com (Ken V. Broezell {QMCS11})
Newsgroups: comp.protocols.kermit.misc
Subject: input command
Date: Tue, 24 Aug 2004 20:11:44 +0000 (UTC)
Organization: Motorola, Inc.
Lines: 23
Message-ID: <cgg7e0$3od$1@avnika.corp.mot.com>
NNTP-Posting-Host: login4.cig.mot.com
X-Trace: avnika.corp.mot.com 1093378304 3853 160.22.92.95 (24 Aug 2004 20:11:44 GMT)
X-Complaints-To: news@avnika.corp.mot.com
NNTP-Posting-Date: Tue, 24 Aug 2004 20:11:44 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15133

Is there a way to to get the input/minput command to find an exact match?

I want it to find only the string:

 login:

That's a single space followed by login: and no trailing spaces. Using
the UNIX grep command I would find it using:

grep '^ login:$' file_name

Instead, input/minput is catching any line with login: within it, such
as:

Last login: Tue Aug 17 16:03:20 from 10.195.10.8


Thanks
--
+-----------------+----------------------------------+------------------------+
|     .     .     |Kenny Broezell                    |phone    :(847) 342-5633|
|    ...   ...    |Customer Network Resolution Center|alt phone:(847) 632-5390|
|   ..... .....   |1501 Shure Drive                  |fax      :(847) 632-3157|

From slash_dev_slash_null_2000@yahoo.com Wed Aug 25 08:59:38 2004
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!postnews2.google.com!not-for-mail
From: slash_dev_slash_null_2000@yahoo.com (Mark Sapiro)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: input command
Date: 24 Aug 2004 21:01:55 -0700
Organization: http://groups.google.com
Lines: 26
Message-ID: <deb126db.0408242001.2b978c88@posting.google.com>
References: <cgg7e0$3od$1@avnika.corp.mot.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 1093406516 21674 127.0.0.1 (25 Aug 2004 04:01:56 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 25 Aug 2004 04:01:56 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15134

On Tue, 24 Aug 2004, Ken V. Broezell {QMCS11} wrote:

> Is there a way to to get the input/minput command to find an exact match?
>
> I want it to find only the string:
>
>  login:
>
> That's a single space followed by login: and no trailing spaces. Using
> the UNIX grep command I would find it using:
>
> grep '^ login:$' file_name
>

And with Kermit-95/C-Kermit you use

  input n \fpattern(^ login:$)

etc.  See
  help function pattern 
and
  help pattern

--
Mark Sapiro msapiro at value net       The highway is for gamblers,
San Francisco Bay Area, California     better use your sense - B. Dylan

From broezell@cig.mot.com Wed Aug 25 12:23:42 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!newspeer1.stngva01.us.to.verio.net!verio!news.harvard.edu!news.dfci.harvard.edu!news.ccs.neu.edu!newsfeed1.e.nsc.no!uninett.no!feed.news.tiscali.de!news.maxwell.syr.edu!newsfeed-east.nntpserver.com!nntpserver.com!newsfeed1.sea.pnap.net!newsfeed2.sea.pnap.net!newsfeed.pnap.net!newsgate.mot.com!newshost.mot.com!avnika.corp.mot.com!broezell
From: broezell@cig.mot.com (Ken V. Broezell {QMCS11})
Newsgroups: comp.protocols.kermit.misc
Subject: input/minput commands
Date: Wed, 25 Aug 2004 14:45:38 +0000 (UTC)
Organization: Motorola, Inc.
Lines: 23
Message-ID: <cgi8mi$d1r$1@avnika.corp.mot.com>
NNTP-Posting-Host: login4.cig.mot.com
X-Trace: avnika.corp.mot.com 1093445138 13371 160.22.92.95 (25 Aug 2004 14:45:38 GMT)
X-Complaints-To: news@avnika.corp.mot.com
NNTP-Posting-Date: Wed, 25 Aug 2004 14:45:38 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15135

Is there a way to get the input/minput command to find an exact match?

I want it to find only the string:

 login:

That's a single space followed by login: and no trailing spaces. Using
the UNIX grep command I would find it using:

grep '^ login:$' file_name

Instead, input/minput is catching any line with login: within it, such
as:

Last login: Tue Aug 17 16:03:20 from 10.195.10.8


Thanks
--
+-----------------+----------------------------------+------------------------+
|     .     .     |Kenny Broezell                    |phone    :(847) 342-5633|
|    ...   ...    |Customer Network Resolution Center|alt phone:(847) 632-5390|
|   ..... .....   |1501 Shure Drive                  |fax      :(847) 632-3157|

From fdc@columbia.edu Wed Aug 25 12:30:29 2004
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: input/minput commands
Date: 25 Aug 2004 16:30:13 GMT
Organization: Columbia University
Lines: 33
Message-ID: <slrncipfkl.3rc.fdc@sesame.cc.columbia.edu>
References: <cgi8mi$d1r$1@avnika.corp.mot.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1093451413 28977 128.59.59.56 (25 Aug 2004 16:30:13 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 25 Aug 2004 16:30:13 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15136

On 2004-08-25, Ken V. Broezell {QMCS11} <broezell@cig.mot.com> wrote:
: Is there a way to get the input/minput command to find an exact match?
:
: I want it to find only the string:
:
:  login:
:
: That's a single space followed by login: and no trailing spaces. Using
: the UNIX grep command I would find it using:
:
: grep '^ login:$' file_name
:
: Instead, input/minput is catching any line with login: within it, such as:
:
: Last login: Tue Aug 17 16:03:20 from 10.195.10.8
:
The grep-like pattern mentioned in a previous response to this posting might
do the job, but to be perfectly accurate and precise, you have to take time
into account.  What you probably should be looking for is a carriage return,
a linefeed, a space, the string "login:" (or maybe it should be "login: "?),
and then check that nothing else follows within a certain amount of time.
You could do it like this:

  input 20 "\13\10 login:"
  if failure { (handle failure) }
  input 5
  if success { (handle failure) }
  (handle success)

"input 5" means "wait up to 5 seconds for any character to arrive".  Thus
if it succeeds, you do not have the login prompt you were looking for.

- Frank

From JDanSkinner@JDanSkinner.com Mon Aug 30 13:04:20 2004
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!proxad.net!postnews2.google.com!not-for-mail
From: JDanSkinner@JDanSkinner.com (Dan Skinner)
Newsgroups: comp.protocols.kermit.misc
Subject: Automated login
Date: 29 Aug 2004 17:29:59 -0700
Organization: http://groups.google.com
Lines: 6
Message-ID: <8ce22d01.0408291629.176ba1df@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 1093825800 24898 127.0.0.1 (30 Aug 2004 00:30:00 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 30 Aug 2004 00:30:00 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15137

Does someone have a good trick for using the password encription
function to produce the password for insertion into custom scripts.  I
use the dialer create script funcion for this purpose, but it is a
little messy to dig out the created script and copy the generated set
command.
Regards...Dan.

From stephen.coates@ode.state.oh.us Mon Aug 30 13:04:33 2004
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!proxad.net!postnews2.google.com!not-for-mail
From: stephen.coates@ode.state.oh.us (Steve C.)
Newsgroups: comp.protocols.kermit.misc
Subject: Kermit ftp/auth ssl to Novell server
Date: 30 Aug 2004 06:28:28 -0700
Organization: http://groups.google.com
Lines: 60
Message-ID: <f4830f0e.0408300528.2e7dfb99@posting.google.com>
NNTP-Posting-Host: 156.63.164.180
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1093872508 28049 127.0.0.1 (30 Aug 2004 13:28:28 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 30 Aug 2004 13:28:28 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15138

I am trying to do an ftp/auth sll connection to a novell server. I can
get PC based clients to work but am having issues using kermit on
HPUX. The logs of the session follows:

220 Service Ready for new User
---> AUTH SSL 
234 Enabling SSL
SSL accepted as authentication type
SSL DEBUG ACTIVE
=>START SSL/TLS connect on COMMAND
SSL_handshake:UNKWN  before/connect initialization
SSL_connect:UNKWN  before/connect initialization
SSL_connect:3WCH_A SSLv3 write client hello A
SSL_connect:3RSH_A SSLv3 read server hello A
ssl:client_verify_callback:depth=1 ok=0 err=19-self signed certificate
in certificate chain
[1] Certificate Subject:
    OU=Organizational CA
    O=ODHSTREE
[1] Certificate Issuer:
    OU=Organizational CA
    O=ODHSTREE
Warning: self signed certificate in certificate chain
Certificate Issuer=
    OU=Organizational CA
    O=ODHSTREE
Continue (Y/N)
ssl:client_verify_callback => ok: 1
ssl:client_verify_callback:depth=1 ok=1 err=19-self signed certificate
in certificate chain
ssl:client_verify_callback => ok: 1
ssl:client_verify_callback:depth=0 ok=1 err=19-self signed certificate
in certificate chain
[0] Certificate Subject:
    CN=NW-SVC-I01.ODJFS.STATE.OH.US
    O=ODHSTREE
[0] Certificate Issuer:
    OU=Organizational CA
    O=ODHSTREE
ssl:client_verify_callback => ok: 1
SSL_connect:3RSC_A SSLv3 read server certificate 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 - DES-CBC3-SHA            SSLv3 Kx=RSA      Au=RSA  Enc=3DES(168)
Mac=SHA1
Compression: None
=>DONE SSL/TLS connect on COMMAND
FTP Command channel is Private (encrypted)
---> PBSZ 0 
221 Closing Session
---> PROT P 
SSL_read_alert
SSL_write_alert
421 Service not available, connection closed by server
?Unable to enable encryption on data channel

From gandhishruti@gmail.com Wed Sep  1 08:59:27 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!newspeer1.stngva01.us.to.verio.net!verio!newspeer1.nwr.nac.net!news.maxwell.syr.edu!postnews2.google.com!not-for-mail
From: gandhishruti@gmail.com (Shruti)
Newsgroups: comp.protocols.kermit.misc
Subject: Checking for
Date: 31 Aug 2004 14:45:57 -0700
Organization: http://groups.google.com
Lines: 43
Message-ID: <689dd88f.0408311345.474a3235@posting.google.com>
NNTP-Posting-Host: 63.76.214.3
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1093988758 28266 127.0.0.1 (31 Aug 2004 21:45:58 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 31 Aug 2004 21:45:58 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15139

Hi All,

I am getting files from a unix server to my machine running win2k
using modem dial out. My script is working fine except one small
thing. When I change the directory to where the files are supposed to
be, i want to check if the directory exists. If it does not then I
want to exit.
1. The "If Directory" command checks for the existence of the
directory on the
   local machine not on the remote server. So that did not work.
2. I also tried "remote query" method to get the pwd, but it shows as
being
   unimplemented.
3. "If fail" command also did not help. 

I tried a few more things but nothing seems to be working. Below is
part of my script. After I do cd I want to check.

If any body has any ideas, please help.

Regards,
Shruti.

************************************************************************
output cd /mydirectory
;remote cd /mydirectory
xif fail {
	set exit status 7
	fopen /write \%c \m(logfile)        	
	if fail exit
	fwrite /line \%c \%d
	if fail exit
 	fclose \%c
	if fail exit
 	clear device
	exit
}

output kermit\13		  		; initialize kermit on host

output send *.txt\13  				; get files
receive		
***************************************************************************

From nospam@killspam.org Wed Sep  1 09:30:35 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!newspeer1.stngva01.us.to.verio.net!verio!news.maxwell.syr.edu!elnk-pas-nf1!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!stamper.news.atl.earthlink.net!newsread3.news.atl.earthlink.net.POSTED!9477d3c5!not-for-mail
From: <nospam@killspam.org>
Newsgroups: comp.protocols.kermit.misc
References: <689dd88f.0408311345.474a3235@posting.google.com>
Subject: Re: Checking for
Lines: 43
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Message-ID: <apaZc.7515$JT3.4654@newsread3.news.atl.earthlink.net>
Date: Wed, 01 Sep 2004 02:24:06 GMT
NNTP-Posting-Host: 24.148.161.18
X-Complaints-To: abuse@earthlink.net
X-Trace: newsread3.news.atl.earthlink.net 1094005446 24.148.161.18 (Tue, 31 Aug 2004 19:24:06 PDT)
NNTP-Posting-Date: Tue, 31 Aug 2004 19:24:06 PDT
Organization: EarthLink Inc. -- http://www.EarthLink.net
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15140


"Shruti" <gandhishruti@gmail.com> wrote
> i want to check if the directory exists. If it does not then I
> want to exit.
*******************************************************

you don't mention anything about versions, this quick test
script  was tested on 2.1.3 of k95, connecting to some 8.0
unix build.  If fail works just fine.

my script:
***************************************
rdir /home
if fail stop 1 no home
rcd /home

rdir /home/xxx
if fail stop 2 no xxx
rcd /home/xxx
*******************************************
My Results:::  ( note the no xxx line at the bottom as the if fail returns
true.)
[C:\Documents and Settings\boz\] K-95> take c:/bat/rpwd.ksc
 Press the X or E key to cancel.
drwx------      4096  2004-08-31 09:07:19  /home/apeasy_wpa
drwx------      4096  2004-01-19 09:41:26  /home/boz
drw-------      4096  2004-08-04 08:01:33  /home/data
-rw-------        12  2004-08-14 11:42:13  /home/diskspace
drwx------      4096  2004-08-31 08:11:17  /home/nemclab
drwx------      4096  2004-04-23 08:58:55  /home/newark
drwx------      4096  2004-08-31 09:08:15  /home/nh_wpa
drwx------      4096  2003-03-31 12:34:53  /home/nhmrc
drwx------      4096  2004-08-31 09:09:34  /home/stp
drwx------      4096  2004-08-14 11:41:51  /home/test
/home
 Press the X or E key to cancel.

?No files match
no xxx
****************************************************************




From dold@GPSXNMEAXt.usenet.us.com Wed Sep  1 11:02:45 2004
Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!news.mainstreet.net!wasp.rahul.net!blue.rahul.net!not-for-mail
From: dold@GPSXNMEAXt.usenet.us.com
Newsgroups: comp.protocols.kermit.misc
Subject: GPS NMEA time reader
Date: Wed, 1 Sep 2004 14:26:41 +0000 (UTC)
Organization: a2i network
Lines: 29
Sender: Clarence Dold <dold@green.rahul.net>
Message-ID: <ch4m71$koi$2@blue.rahul.net>
NNTP-Posting-Host: green.rahul.net
X-Trace: blue.rahul.net 1094048801 21266 192.160.13.49 (1 Sep 2004 14:26:41 GMT)
X-Complaints-To: support@rahul.net
NNTP-Posting-Date: Wed, 1 Sep 2004 14:26: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-30.7.legacysmp (i686))
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15142

I have a commodity GPS (Garmin eTrex)
This produces NMEA strings at 4800 baud that I can read easily with
Kermit95.  

A string that starts with $GPRMC contains the date and time in GMT.
The strings appear every few seconds, with a granularity of +/-2 seconds.

What I want to do is read these with Kermit95 and use them to set the time
and date on a Windows PC.  The fact that it is GMT is a little bit of a
problem, and I thought someone else might already have done the work for
me.

If the script also worked on MSDOS and Unix, that would be great.  On Unix,
I think the GMT offset is not a big deal, but I don't know what to do on
Windows/DOS.


This is from 010904 September 1, 2004, at 13:40:58 GMT
Once satellite lock is found, the position appears
$GPRMC,134058,A,3850.1234,N,12230.5678,W,0.0,71.4,010904,15.0,E,A*0D
       ------                                     ------
Before satellite lock is found, there is no position, and no time.
The ",V," indicates that the fix is no good.
$GPRMC,,V,,,,,,,010904,15.0,E,N*00

-- 
---
Clarence A Dold - Hidden Valley (Lake County) CA USA  38.8-122.5


From nobody@nowhere Wed Sep  1 12:32:10 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!newspeer1.stngva01.us.to.verio.net!verio!fu-berlin.de!fr.ip.ndsoftware.net!proxad.net!freenix!sn-xit-02!sn-xit-01!sn-post-01!supernews.com!news20.forteinc.com!not-for-mail
From: "@(none)" <""Sven\"@(none)">
Newsgroups: comp.protocols.kermit.misc
Subject: Problem with C-Kermit  ftp mput, intermittent errors
Date: Wed, 01 Sep 2004 17:04:50 +0200
Organization: Posted via Forte APN, http://www.forteinc.com/apn/index.php
Message-ID: <10jbp5nuksnv91@news20.forteinc.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040805 Netscape/7.2
X-Accept-Language: en-us, en
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: quoted-printable
X-Complaints-To: abuse@supernews.com
Lines: 21
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15143

I'm using C-Kermit 8.0.211 and its wonderful ftp-client to send text=20
files from a AIX 5.2 server to a Windows  NT server.

I use a =93ftp open ....=94 and =93ftp mput /move-to:./bu *.txt=94. Norma=
lly=20
there is 5-10 files to transfer, and most time 2-3 files are not=20
transferd, but gets an error:
    failed: 426 Connection closed; transfer aborted.
If I repeat the =93ftp mput ...=94 command a couple of times normally all=
=20
files will be transferd. But some times there is one file that won't get =

over.

At the moment I'm using a C-Kermit that is compiled for AIX 4.3 because=20
I don't av a compiler on the servers with AIX 5.2. Could this be the=20
cause of my problem?

Anyone that have had the same problem and know what to do?

/Sven

From fdc@columbia.edu Wed Sep  1 12:32:19 2004
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: GPS NMEA time reader
Date: 1 Sep 2004 16:25:25 GMT
Organization: Columbia University
Lines: 39
Message-ID: <slrncjbtvl.iqr.fdc@sesame.cc.columbia.edu>
References: <ch4m71$koi$2@blue.rahul.net>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1094055925 5933 128.59.59.56 (1 Sep 2004 16:25:25 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 1 Sep 2004 16:25:25 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15144

On 2004-09-01, dold@GPSXNMEAXt.usenet.us.com <dold@GPSXNMEAXt.usenet.us.com>
wrote:
: I have a commodity GPS (Garmin eTrex)
: This produces NMEA strings at 4800 baud that I can read easily with
: Kermit95.  
:
: A string that starts with $GPRMC contains the date and time in GMT.
: The strings appear every few seconds, with a granularity of +/-2 seconds.
:
: What I want to do is read these with Kermit95 and use them to set the time
: and date on a Windows PC.  The fact that it is GMT is a little bit of a
: problem, and I thought someone else might already have done the work for
: me.
:
: If the script also worked on MSDOS and Unix, that would be great.  On Unix,
: I think the GMT offset is not a big deal, but I don't know what to do on
: Windows/DOS.
:
C-Kermit and K95 include date/time functions that can handle GMT/localtime
conversion:

  http://www.columbia.edu/kermit/ckermit80.html#x8.13

MS-DOS Kermit, no.  DOS itself (of course) has no knowledge of timezones.

: This is from 010904 September 1, 2004, at 13:40:58 GMT
: Once satellite lock is found, the position appears
: $GPRMC,134058,A,3850.1234,N,12230.5678,W,0.0,71.4,010904,15.0,E,A*0D
:        ------                                     ------
: Before satellite lock is found, there is no position, and no time.
: The ",V," indicates that the fix is no good.
: $GPRMC,,V,,,,,,,010904,15.0,E,N*00
:
You didn't say how to decode these, but if a time is in there, Kermit
string and date/time functions can deal with it.  As to actually setting
the system time, you'll need to invoke an external program (RUN or RUN START)
with appropriate command line options and privileges.

- Frank

From fdc@columbia.edu Wed Sep  1 12:32:22 2004
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc,comp.unix.aix
Subject: Re: Problem with C-Kermit  ftp mput, intermittent errors
Date: 1 Sep 2004 16:31:55 GMT
Organization: Columbia University
Lines: 29
Message-ID: <slrncjbubr.iqr.fdc@sesame.cc.columbia.edu>
References: <10jbp5nuksnv91@news20.forteinc.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1094056315 5933 128.59.59.56 (1 Sep 2004 16:31:55 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 1 Sep 2004 16:31:55 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15145 comp.unix.aix:263188

On 2004-09-01, @(none) <> wrote:
: I'm using C-Kermit 8.0.211 and its wonderful ftp-client to send text 
: files from a AIX 5.2 server to a Windows  NT server.
:
: I use a ?ftp open ....? and ?ftp mput /move-to:./bu *.txt?. Normally 
: there is 5-10 files to transfer, and most time 2-3 files are not 
: transferd, but gets an error:
:     failed: 426 Connection closed; transfer aborted.
:
That's a message from the server.  The server is closing the connection.

: If I repeat the ?ftp mput ...? command a couple of times normally all 
: files will be transferd. But some times there is one file that won't get 
: over.
:
: At the moment I'm using a C-Kermit that is compiled for AIX 4.3 because 
: I don't av a compiler on the servers with AIX 5.2. Could this be the 
: cause of my problem?
:
The compiler used to build the client shouldn't affect the behavior of the
server.  We have a C-Kermit 8.0.209 binary built under AIX 5.1, but the
latest C-Kermit release, 8.0.211, has been built only on AIX 4.3.3.

If somebody can build it on later AIX versions, or give me access to AIX
machines that have compilers and later OS releases, I could add the missing
binaries to the archive.  (Which is why I'm copying this to comp.unix.aix.)

- Frank


From mjb@jobsoft.com Fri Sep  3 11:33:36 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!newspeer1.stngva01.us.to.verio.net!verio!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!oleane.net!oleane!freenix!sn-xit-02!sn-xit-01!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
From: "Mark J. Bailey" <mjb@jobsoft.com>
Newsgroups: comp.protocols.kermit.misc
Subject: How do I script-->interactive "CONNECT"-->script?
Date: Fri, 3 Sep 2004 06:58:13 -0500
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <10jgmo6sl6bjf0a@corp.supernews.com>
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
X-Complaints-To: abuse@supernews.com
Lines: 40
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15147

I have a need to kick off a kermit script in ckermit, then, if I see a
certain string pattern I need to go interactive (on the comm stream) and
then switch back to the script when I recognize another string pattern.
What I need to do is have a script run automatically but if the prompt for
the user to change their password is seen, I need to take the session
interactive (typical CONNECT scenario) and allow the user to change their
password with the remote service, and then (ideally) when a "success"
message is seen, resume the script and carry on.  TERM (from Century
Software) has a "TERMINAL" command that does just this.  With HIPAA and
healthcare, many services (insurance companies in particular) require unique
userids and passwords and require they be changed on a pseudo-regular basis
(30-45 days).  Nothing consistent (of course!), so I need to have the script
handle this.  What we do with TERM (in another scenario - and TERM isn't an
option for this situation) is start the TERM script and then when the login
prompt is recognized, we use the TERMINAL command to switch the session
interactive so that the user can login (and change the password should that
pop up during any particular session).  When the remote service main prompt
is recognized, the TERM script resumes immediately after the TERMINAL
command.

Thanks!

Mark

______________________________________________
Mark J. Bailey        Jobsoft Design and Development, Inc.
277 Wilson Pike Circle, Suite 105, Brentwood, TN 37027
EMAIL: mjb@jobsoft.com  WEB: http://www.jobsoft.com/
Medimation / CardShot(tm) - http://www.medimation.com/
615-425-0932x20 FAX:615-425-0935 CELL:615-308-9099

CONFIDENTIALITY NOTICE: This email message and any attachments are for the
sole use of the intended recipient(s) and may contain proprietary,
confidential, trade secret or privileged information.  Any unauthorized
review, use, disclosure or distribution is prohibited and may be a violation
of law.  If you are not the intended recipient or a person responsible for
delivering this message to an intended recipient, please contact the sender
by reply email and destroy all copies of the original message.



From jaltman2@nyc.rr.com Fri Sep  3 11:33:49 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!newspeer1.stngva01.us.to.verio.net!verio!news.maxwell.syr.edu!border1.nntp.dca.giganews.com!border2.nntp.dca.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: <41387281.8030602@nyc.rr.com>
From: Jeffrey Altman <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040803
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: How do I script-->interactive "CONNECT"-->script?
References: <10jgmo6sl6bjf0a@corp.supernews.com>
In-Reply-To: <10jgmo6sl6bjf0a@corp.supernews.com>
X-Enigmail-Version: 0.84.2.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 98
Date: Fri, 03 Sep 2004 13:23:21 GMT
NNTP-Posting-Host: 24.193.46.55
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1094217801 24.193.46.55 (Fri, 03 Sep 2004 09:23:21 EDT)
NNTP-Posting-Date: Fri, 03 Sep 2004 09:23:21 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15148

Help is built into C-Kermit.  Try typing "HELP CONNECT" and you will
get something similar to this.  (exact output is platform dependent)

Syntax: CONNECT (or C, or CQ) [ switches ]
   Connect to a remote computer via the serial communications device 
given in
   the most recent SET PORT command, or to the network host named in the 
most
   recent SET HOST command.  Type the escape character followed by C to get
   back to the C-Kermit prompt, or followed by ? for a list of CONNECT-mode
   escape commands.  You can also assign the \Kexit verb to the key or
   key-combination of your choice; by default it is assigned to Alt-x.

Other switches include:

/TRIGGER:string
   One or more strings to look for that will cause automatic return to
   command mode.  To specify one string, just put it right after the
   colon, e.g. "/TRIGGER:Goodbye".  If the string contains any spaces, you
   must enclose it in braces, e.g. "/TRIGGER:{READY TO SEND...}".  To
   specify more than one trigger, use the following format:

     /TRIGGER:{{string1}{string2}...{stringn}}

   Upon return from CONNECT mode, the variable \v(trigger) is set to the
   trigger string, if any, that was actually encountered.  This value, like
   all other CONNECT switches applies only to the CONNECT command with which
   it is given, and overrides (temporarily) any global SET TERMINAL TRIGGER
   string that might be in effect.

/IDLE-LIMIT:number
   The number of seconds of idle time, after which Kermit returns
   automatically to command mode; default 0 (no limit).

/IDLE-INTERVAL:number
   The number of seconds of idle time, after which Kermit automatically
   transmits the idle string.

/IDLE-STRING:string
   The string to transmit whenever the idle interval has passed.

/TIME-LIMIT:number
   The maximum number of seconds for which the CONNECT session may last.
   The default is 0 (no limit).  If a nonzero number is given, Kermit 
returns
   automatically to command mode after this many seconds.

Your escape character is Ctrl-] (ASCII 29, GS)



Mark J. Bailey wrote:

> I have a need to kick off a kermit script in ckermit, then, if I see a
> certain string pattern I need to go interactive (on the comm stream) and
> then switch back to the script when I recognize another string pattern.
> What I need to do is have a script run automatically but if the prompt for
> the user to change their password is seen, I need to take the session
> interactive (typical CONNECT scenario) and allow the user to change their
> password with the remote service, and then (ideally) when a "success"
> message is seen, resume the script and carry on.  TERM (from Century
> Software) has a "TERMINAL" command that does just this.  With HIPAA and
> healthcare, many services (insurance companies in particular) require unique
> userids and passwords and require they be changed on a pseudo-regular basis
> (30-45 days).  Nothing consistent (of course!), so I need to have the script
> handle this.  What we do with TERM (in another scenario - and TERM isn't an
> option for this situation) is start the TERM script and then when the login
> prompt is recognized, we use the TERMINAL command to switch the session
> interactive so that the user can login (and change the password should that
> pop up during any particular session).  When the remote service main prompt
> is recognized, the TERM script resumes immediately after the TERMINAL
> command.
> 
> Thanks!
> 
> Mark
> 
> ______________________________________________
> Mark J. Bailey        Jobsoft Design and Development, Inc.
> 277 Wilson Pike Circle, Suite 105, Brentwood, TN 37027
> EMAIL: mjb@jobsoft.com  WEB: http://www.jobsoft.com/
> Medimation / CardShot(tm) - http://www.medimation.com/
> 615-425-0932x20 FAX:615-425-0935 CELL:615-308-9099
> 
> CONFIDENTIALITY NOTICE: This email message and any attachments are for the
> sole use of the intended recipient(s) and may contain proprietary,
> confidential, trade secret or privileged information.  Any unauthorized
> review, use, disclosure or distribution is prohibited and may be a violation
> of law.  If you are not the intended recipient or a person responsible for
> delivering this message to an intended recipient, please contact the sender
> by reply email and destroy all copies of the original message.
> 
> 

-- 
-----------------
This e-mail account is not read on a regular basis.
Please send private responses to jaltman at mit dot edu

From nospam@lisse.NA Sat Sep  4 10:17:56 2004
Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!news2.telebyte.nl!fu-berlin.de!uni-berlin.de!not-for-mail
From: Dr Eberhard W Lisse <nospam@lisse.NA>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: GPS NMEA time reader
Date: Sat, 04 Sep 2004 09:56:17 +0100
Lines: 19
Message-ID: <hico02-os5.ln1@ac.lisse.na>
References: <ch4m71$koi$2@blue.rahul.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de 5MyKNZlHCTireJvqlG6q/gmp1qg+j59pcZ6SrX3RbX9SkAJn0E
X-Orig-Path: ac.lisse.na!news
User-Agent: Mozilla Thunderbird 0.7.3 (X11/20040803)
X-Accept-Language: en-us, en
In-Reply-To: <ch4m71$koi$2@blue.rahul.net>
X-Enigmail-Version: 0.85.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15149

Isn't that a bit complicated?

I have and like the etrex too, but I use the netdate package to
synchronize my unix box with Braunschweig (abnd Boulder) daily,
and if I am not mistake there is such a sucker for Windoze as well.

el

dold@GPSXNMEAXt.usenet.us.com wrote:

> What I want to do is read these with Kermit95 and use them to set the time
> and date on a Windows PC.  The fact that it is GMT is a little bit of a
> problem, and I thought someone else might already have done the work for
> me.


-- 
replace nospam with the initials of my first and last name
if you want to email me

From dold@XReXXGPSXN.usenet.us.com Sat Sep  4 13:56:24 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!newspeer1.stngva01.us.to.verio.net!verio!bloom-beacon.mit.edu!4.24.21.218.MISMATCH!newsfeed2.dallas1.level3.net!news.level3.com!news.mainstreet.net!wasp.rahul.net!192.160.13.20.MISMATCH!rahul.net!not-for-mail
From: dold@XReXXGPSXN.usenet.us.com
Newsgroups: comp.protocols.kermit.misc
Subject: Re: GPS NMEA time reader
Date: Sat, 4 Sep 2004 15:15:53 +0000 (UTC)
Organization: a2i network
Lines: 6
Sender: Clarence Dold <dold@green.rahul.net>
Message-ID: <chcm79$pu4$2@blue.rahul.net>
References: <ch4m71$koi$2@blue.rahul.net> <hico02-os5.ln1@ac.lisse.na>
NNTP-Posting-Host: green.rahul.net
X-Trace: blue.rahul.net 1094310953 26564 192.160.13.49 (4 Sep 2004 15:15:53 GMT)
X-Complaints-To: support
NNTP-Posting-Date: Sat, 4 Sep 2004 15:15:53 +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-30.7.legacysmp (i686))
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15150

Dr Eberhard W Lisse <nospam@lisse.na> wrote:
> I have and like the etrex too, but I use the netdate package to

The thread is about someone who has no internet access, and wants to set
the time using his GPS.
I suppose the simplest thing is gpsutil, since it already exists.

From nospam@lisse.NA Sat Sep  4 13:57:27 2004
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!news2.telebyte.nl!fu-berlin.de!uni-berlin.de!not-for-mail
From: Dr Eberhard W Lisse <nospam@lisse.NA>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: GPS NMEA time reader
Date: Sat, 04 Sep 2004 17:30:59 +0100
Lines: 16
Message-ID: <477p02-3oa.ln1@ac.lisse.na>
References: <ch4m71$koi$2@blue.rahul.net> <hico02-os5.ln1@ac.lisse.na> <chcm79$pu4$2@blue.rahul.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de WqQ6cUB0yivxOiTH8GsWfAoYpNcaM4vV5NO+NPkfWGSYpK4rLz
X-Orig-Path: ac.lisse.na!news
User-Agent: Mozilla Thunderbird 0.7.3 (X11/20040803)
X-Accept-Language: en-us, en
In-Reply-To: <chcm79$pu4$2@blue.rahul.net>
X-Enigmail-Version: 0.85.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15151

dold@XReXXGPSXN.usenet.us.com wrote:
> Dr Eberhard W Lisse <nospam@lisse.na> wrote:
>> I have and like the etrex too, but I use the netdate package to
> 
> The thread is about someone who has no internet access, and wants to set
> the time using his GPS.
> I suppose the simplest thing is gpsutil, since it already exists.

Just in case you haven't looked carefully I am from Namibia, and doubt that I
have more/better access tha you in the US. But, even when I dialup here with my
laptop I have configured ppp to fire ntp up on connect.

el
-- 
replace nospam with the initials of my first and last name
if you want to email me

From dold@XReXXGPSXN.usenet.us.com Sun Sep  5 15:21:22 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!newspeer1.stngva01.us.to.verio.net!verio!newsfeed.cwix.com!newsfeed.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!news.mainstreet.net!wasp.rahul.net!192.160.13.20.MISMATCH!rahul.net!not-for-mail
From: dold@XReXXGPSXN.usenet.us.com
Newsgroups: comp.protocols.kermit.misc
Subject: Re: GPS NMEA time reader
Date: Sun, 5 Sep 2004 02:56:39 +0000 (UTC)
Organization: a2i network
Lines: 12
Sender: Clarence Dold <dold@green.rahul.net>
Message-ID: <chdv97$pr7$1@blue.rahul.net>
References: <ch4m71$koi$2@blue.rahul.net> <hico02-os5.ln1@ac.lisse.na> <chcm79$pu4$2@blue.rahul.net> <477p02-3oa.ln1@ac.lisse.na>
NNTP-Posting-Host: green.rahul.net
X-Trace: blue.rahul.net 1094352999 26471 192.160.13.49 (5 Sep 2004 02:56:39 GMT)
X-Complaints-To: support@rahul.net
NNTP-Posting-Date: Sun, 5 Sep 2004 02:56:39 +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-30.7.legacysmp (i686))
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15155

Dr Eberhard W Lisse <nospam@lisse.na> wrote:
> Just in case you haven't looked carefully I am from Namibia, and doubt that I
> have more/better access tha you in the US. But, even when I dialup here with my
> laptop I have configured ppp to fire ntp up on connect.

There was no internet access alllowed for the user that started the thread,
but he did have a GPS.

-- 
---
Clarence A Dold - Hidden Valley (Lake County) CA USA  38.8-122.5


From bonomi@host122.r-bonomi.com Sun Sep  5 15:22:54 2004
Path: newsmaster.cc.columbia.edu!panix!news.linkpendium.com!news.linkpendium.com!news.moat.net!feeder2.on.meganewsservers.com!meganewsservers.com!reader1.on.meganewsservers.com!reader1.on.meganewsservers.com!not-for-mail
ath: nntpswitch.com
Newsgroups: comp.protocols.kermit.misc
References: <ch4m71$koi$2@blue.rahul.net> <slrncjbtvl.iqr.fdc@sesame.cc.columbia.edu>
Organization: Robert Bonomi Consulting
Subject: Re: GPS NMEA time reader
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
From: bonomi@host122.r-bonomi.com (Robert Bonomi)
Originator: bonomi@host122.r-bonomi.com (Robert Bonomi)
Message-ID: <78889$413b33a0$44a75e7a$24367@msgid.meganewsservers.com>
Date: Sun, 05 Sep 2004 15:41:20 +0000
Lines: 49
NNTP-Posting-Host: 216.251.47.166
X-Trace: 1094398880 reader1.on.meganewsservers.com 1314 216.251.47.166:41147
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15157

In article <slrncjbtvl.iqr.fdc@sesame.cc.columbia.edu>,
Frank da Cruz  <fdc@columbia.edu> wrote:
>On 2004-09-01, dold@GPSXNMEAXt.usenet.us.com <dold@GPSXNMEAXt.usenet.us.com>
>wrote:
>: I have a commodity GPS (Garmin eTrex)
>: This produces NMEA strings at 4800 baud that I can read easily with
>: Kermit95.  
>:
>: A string that starts with $GPRMC contains the date and time in GMT.
>: The strings appear every few seconds, with a granularity of +/-2 seconds.
>:
>: What I want to do is read these with Kermit95 and use them to set the time
>: and date on a Windows PC.  The fact that it is GMT is a little bit of a
>: problem, and I thought someone else might already have done the work for
>: me.
>:
>: If the script also worked on MSDOS and Unix, that would be great.  On Unix,
>: I think the GMT offset is not a big deal, but I don't know what to do on
>: Windows/DOS.
>:
>C-Kermit and K95 include date/time functions that can handle GMT/localtime
>conversion:
>
>  http://www.columbia.edu/kermit/ckermit80.html#x8.13
>
>MS-DOS Kermit, no.  DOS itself (of course) has no knowledge of timezones.
>
>: This is from 010904 September 1, 2004, at 13:40:58 GMT
>: Once satellite lock is found, the position appears
>: $GPRMC,134058,A,3850.1234,N,12230.5678,W,0.0,71.4,010904,15.0,E,A*0D
>:        ------                                     ------
>: Before satellite lock is found, there is no position, and no time.
>: The ",V," indicates that the fix is no good.
>: $GPRMC,,V,,,,,,,010904,15.0,E,N*00
>:
>You didn't say how to decode these, but if a time is in there, Kermit
>string and date/time functions can deal with it.  As to actually setting
>the system time, you'll need to invoke an external program (RUN or RUN START)
>with appropriate command line options and privileges.


The 'decoding' is obvious.  <grin>
The 2nd field is HHMMSS, the 11th field is DDMMYY
(note: decoding derived from his supplied data, with the plain-text 
       explanation line that precedes it, and his underlining of 
       fields 2 and 11.)




From fdc@columbia.edu Sun Sep  5 16:18:49 2004
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: GPS NMEA time reader
Date: 5 Sep 2004 20:17:58 GMT
Organization: Columbia University
Lines: 100
Message-ID: <slrncjmt3m.4t1.fdc@sesame.cc.columbia.edu>
References: <ch4m71$koi$2@blue.rahul.net> <slrncjbtvl.iqr.fdc@sesame.cc.columbia.edu> <78889$413b33a0$44a75e7a$24367@msgid.meganewsservers.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1094415478 1830 128.59.59.56 (5 Sep 2004 20:17:58 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 5 Sep 2004 20:17:58 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15158

On 2004-09-05, Robert Bonomi <bonomi@host122.r-bonomi.com> wrote:
: In article <slrncjbtvl.iqr.fdc@sesame.cc.columbia.edu>,
: Frank da Cruz  <fdc@columbia.edu> wrote:
:>...
:>: This is from 010904 September 1, 2004, at 13:40:58 GMT
:>: Once satellite lock is found, the position appears
:>: $GPRMC,134058,A,3850.1234,N,12230.5678,W,0.0,71.4,010904,15.0,E,A*0D
:>:        ------                                     ------
:>: Before satellite lock is found, there is no position, and no time.
:>: The ",V," indicates that the fix is no good.
:>: $GPRMC,,V,,,,,,,010904,15.0,E,N*00
:>:
:>You didn't say how to decode these, but if a time is in there, Kermit
:>string and date/time functions can deal with it.  As to actually setting
:>the system time, you'll need to invoke an external program (RUN or RUN START)
:>with appropriate command line options and privileges.
:
:
: The 'decoding' is obvious.  <grin>
: The 2nd field is HHMMSS, the 11th field is DDMMYY
: (note: decoding derived from his supplied data, with the plain-text 
:        explanation line that precedes it, and his underlining of 
:        fields 2 and 11.)
:
Hey, no making fun of me!  OK, fine, here is a more helpful response.
The record is a comma-seperated list.  How to extract the date and time?

  .\%a = $GPRMC,134058,A,3850.1234,N,12230.5678,W,0.0,71.4,010904,15.0,E,A*0D
  echo \fsplit(\%a,&a,{,},$.*)

This splits the string items into the array \&a[], using comma as the item
separator, and treating dollar sign, period, and asterisk as data characters.
Here's the result:

  show array a
  \&a[]: Dimension = 13
    0. 13
    1. $GPRMC
    2. 134058
    3. A
    4. 3850.1234
    5. N
    6. 12230.5678
    7. W
    8. 0.0
    9. 71.4
   10. 010904
   11. 15.0
   12. E
   13. A*0D

Now \&a[10] is the date and \&a[2] is the time.  The date format used in
the message is totally ambiguous (yes, *we* know it's ddmmyy but...) so we
have to convert it to something parsable:

  .d := \&a[10]  ; Date (notational convenience)
  .time := 20\s(d[5:2])\s(d[3:2])\s(d[1:2])_\&a[2]
  date \m(time)
  20040901 13:40:58

But it's GMT not local time so we must convert; easy:

  date \m(time)GMT
  20040901 09:40:58

Programmatically:

  .time := \fcvtdate(\m(time)GMT)
  echo \m(date)
  20040901 09:40:58

Now to program this we have to allow for the degenerate form and we might
also have to convert the result into some other format.  Assuming we have
read a satellite record into the variable \%a:

  void \fsplit(\%a,&a,{,},$.*)
  if ( def \&a[2] && def \&a[10] ) {
     .t := \&a[2]
     .time := \fcvtdate(20\s(d[5:2])\s(d[3:2])\s(d[1:2])_\&a[2]GMT)
     echo "Setting time to \m(time)..."
     run xxx \m(time) ; external command to set system time
  } else {
     end 1 "Date-time not not set"
  }

The external time-setting command might require a different operand format.
\vcvtdate() accepts an optional second argument to specify the format of
the result:

  n1 = 1: yyyy-mmm-dd hh:mm:ss (mmm = English 3-letter month abbreviation)
  n1 = 2: dd-mmm-yyyy hh:mm:ss (ditto)
  n1 = 3: yyyymmddhhmmss (all numeric)

Others can be done with string processing as illustrated above with the
date.  You might also need to discard the date portion of the date-time
string and keep just the time:

  .time := \fword(\m(time),2,\32,:)

- Frank

From davidmurray@pricechopper.com Wed Sep  8 12:01:22 2004
Path: newsmaster.cc.columbia.edu!panix!news.linkpendium.com!news.linkpendium.com!news.glorb.com!postnews2.google.com!not-for-mail
From: davidmurray@pricechopper.com (David Murray)
Newsgroups: comp.protocols.kermit.misc
Subject: Changing text in Kermit 95 login/password dialogs
Date: 8 Sep 2004 06:31:39 -0700
Organization: http://groups.google.com
Lines: 26
Message-ID: <2482a3ad.0409080531.7c11d30d@posting.google.com>
NNTP-Posting-Host: 208.30.13.10
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1094650299 6599 127.0.0.1 (8 Sep 2004 13:31:39 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 8 Sep 2004 13:31:39 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15160

Hi:

The default Kermit 95 Login/Password Dialogs for an SSH terminal
emulation connection are as follows:

The login dialog box says:
   User name required for SSH: ______________
 
The password dialog box says:
   SSH Input User Authentication For "": ______________


I'd like to modify the text of these dialog boxes to be more user
friendly for my users. In other words, I'd like them to appear
something like...

The login dialog box says:
   Please enter your XYZ system login: ______________
 
The password dialog box says:
   Please enter your XYZ system password: ______________
 
I haven't been able to locate any command or configuration file to
alter the default dialog text. Any ideas? Thanks!

David Murray

From rbirtell@satelephone.com Thu Sep  9 11:16:33 2004
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!postnews2.google.com!not-for-mail
From: rbirtell@satelephone.com (Randall Birtell)
Newsgroups: comp.protocols.kermit.misc
Subject: SSL with Solaris 9
Date: 9 Sep 2004 08:13:55 -0700
Organization: http://groups.google.com
Lines: 17
Message-ID: <defcff53.0409090713.19277e8a@posting.google.com>
NNTP-Posting-Host: 65.112.185.167
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1094742835 24524 127.0.0.1 (9 Sep 2004 15:13:55 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 9 Sep 2004 15:13:55 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15162

When I compile with the following command:

make solaris2xg+openssl+zlib+pam+shadow

I get a successful compile.

However, when I go into Kermit and do a check ssl I get the following:

ssl/tls not available



Any thoughts?


Thanks,
Randall

From jaltman2@nyc.rr.com Thu Sep  9 12:18:04 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!newspeer1.stngva01.us.to.verio.net!verio!news.harvard.edu!news.dfci.harvard.edu!news.cis.ohio-state.edu!malgudi.oar.net!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.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: <41407E13.2080908@nyc.rr.com>
From: Jeffrey Altman <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040803
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: SSL with Solaris 9
References: <defcff53.0409090713.19277e8a@posting.google.com>
In-Reply-To: <defcff53.0409090713.19277e8a@posting.google.com>
X-Enigmail-Version: 0.84.2.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 36
Date: Thu, 09 Sep 2004 15:50:38 GMT
NNTP-Posting-Host: 24.193.46.55
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1094745038 24.193.46.55 (Thu, 09 Sep 2004 11:50:38 EDT)
NNTP-Posting-Date: Thu, 09 Sep 2004 11:50:38 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15163

The most likely cause is that you are not executing the
binary that you just built.

The SHOW FEATURES output will include the compilation
time of the ckuus5.o module as well as an indication
of which features you have compiled into the program.

Jeffrey Altman




Randall Birtell wrote:

> When I compile with the following command:
> 
> make solaris2xg+openssl+zlib+pam+shadow
> 
> I get a successful compile.
> 
> However, when I go into Kermit and do a check ssl I get the following:
> 
> ssl/tls not available
> 
> 
> 
> Any thoughts?
> 
> 
> Thanks,
> Randall

-- 
-----------------
This e-mail account is not read on a regular basis.
Please send private responses to jaltman at mit dot edu

From flyingboz@hotmail.com Mon Sep 20 16:29:03 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!newspeer1.stngva01.us.to.verio.net!verio!news.maxwell.syr.edu!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.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" <flyingboz@hotmail.com>
Newsgroups: comp.protocols.kermit.misc
Subject: surgeftp server, bizarre prepending of filename with mget *
Lines: 42
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Message-ID: <jTG3d.31142$ci3.967656@twister.southeast.rr.com>
Date: Mon, 20 Sep 2004 20:15:11 GMT
NNTP-Posting-Host: 24.199.148.221
X-Complaints-To: abuse@rr.com
X-Trace: twister.southeast.rr.com 1095711311 24.199.148.221 (Mon, 20 Sep 2004 16:15:11 EDT)
NNTP-Posting-Date: Mon, 20 Sep 2004 16:15:11 EDT
Organization: Road Runner - NC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15168

trying to script a setup that will allow me to grab files from a surgeftp
server,

 Version SurgeFTP 2.2k6 Jul  7 2004


i can get a rdir listing of filenames:

-rwxrwxrwx   1 owner    group            3585 Sep 17 18:30
445284152.G6116RWE.27S
-rwxrwxrwx   1 owner    group             255 Sep 17 16:28
445284152.G6116RWE.997
-rwxrwxrwx   1 owner    group           16071 Sep 17 16:28
445284152.G6116RWE.ACC
-rwxrwxrwx   1 owner    group               0 Sep 17 16:27
45284152.G6116RWE.ANSI203040917-17115188.dat.BID
-rwxrwxrwx   1 owner    group            7238 Sep 17 16:28
445284152.G6116RWE.EXT
-rwxrwxrwx   1 owner    group             186 Sep 17 16:28
445284152.G6116RWE.REJ

then I try to do execute

    ftp mget * t

I get the following msg back for each file :

[type=file;size=7238;modify=20040917212843;create=20040917212842;perm=radfw
445284152.G6116RWE.EXT]
 GET radfw 445284152.G6116RWE.EXT (binary) (7238 bytes)---> PORT
169,254,68,181,6,64
200 PORT command successful.
---> RETR radfw 445284152.G6116RWE.EXT
550 radfw 445284152.G6116RWE.EXT: Cannot open file No such file or directory
: MESSAGE: radfw 445284152.G6116RWE.EXT: Cannot open file No such file or
directory


What on earth is this radfw that is prepending itself to my filename, hence
(I believe) causing the RETR to fail?



From fdc@columbia.edu Mon Sep 20 16:33:11 2004
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: surgeftp server, bizarre prepending of filename with mget *
Date: 20 Sep 2004 20:33:03 GMT
Organization: Columbia University
Lines: 54
Message-ID: <slrnckufjv.s0f.fdc@sesame.cc.columbia.edu>
References: <jTG3d.31142$ci3.967656@twister.southeast.rr.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1095712383 1573 128.59.59.56 (20 Sep 2004 20:33:03 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 20 Sep 2004 20:33:03 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15169

On 2004-09-20, x@y.org <flyingboz@hotmail.com> wrote:
: trying to script a setup that will allow me to grab files from a surgeftp
: server,
:
:  Version SurgeFTP 2.2k6 Jul  7 2004
:
: i can get a rdir listing of filenames:
:
: -rwxrwxrwx   1 owner    group            3585 Sep 17 18:30
: 445284152.G6116RWE.27S
: -rwxrwxrwx   1 owner    group             255 Sep 17 16:28
: 445284152.G6116RWE.997
: -rwxrwxrwx   1 owner    group           16071 Sep 17 16:28
: 445284152.G6116RWE.ACC
: -rwxrwxrwx   1 owner    group               0 Sep 17 16:27
: 45284152.G6116RWE.ANSI203040917-17115188.dat.BID
: -rwxrwxrwx   1 owner    group            7238 Sep 17 16:28
: 445284152.G6116RWE.EXT
: -rwxrwxrwx   1 owner    group             186 Sep 17 16:28
: 445284152.G6116RWE.REJ
:
: then I try to do execute
:
:     ftp mget * t
:
: I get the following msg back for each file :
:
: [type=file;size=7238;modify=20040917212843;create=20040917212842;perm=radfw
: 445284152.G6116RWE.EXT]
:  GET radfw 445284152.G6116RWE.EXT (binary) (7238 bytes)---> PORT
: 169,254,68,181,6,64
: 200 PORT command successful.
: ---> RETR radfw 445284152.G6116RWE.EXT
: 550 radfw 445284152.G6116RWE.EXT: Cannot open file No such file or directory
:: MESSAGE: radfw 445284152.G6116RWE.EXT: Cannot open file No such file or
: directory
:
: What on earth is this radfw that is prepending itself to my filename, hence
: (I believe) causing the RETR to fail?
:
It appears the server supports MLSD:

  http://www.columbia.edu/kermit/newftp.html

The "radfw" bit is the file permissions reported by the server.  Why is it
being prepended to the filename?  Beats me.  Exactly which version of Kermit
are you using?  I'd suggest you tell it to:

  set ftp debug on

repeat the download attempt, and then send the resulting transcript to
kermit-support@columbia.edu .

- Frank

From x@y.org Tue Sep 21 08:33:58 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!newspeer1.stngva01.us.to.verio.net!verio!newsfeed.icl.net!newsfeed.fjserv.net!diablo.theplanet.net!news.maxwell.syr.edu!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.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: <jTG3d.31142$ci3.967656@twister.southeast.rr.com> <slrnckufjv.s0f.fdc@sesame.cc.columbia.edu>
Subject: Re: surgeftp server, bizarre prepending of filename with mget *
Lines: 29
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Message-ID: <tGH3d.31155$ci3.971860@twister.southeast.rr.com>
Date: Mon, 20 Sep 2004 21:09:45 GMT
NNTP-Posting-Host: 24.199.148.221
X-Complaints-To: abuse@rr.com
X-Trace: twister.southeast.rr.com 1095714585 24.199.148.221 (Mon, 20 Sep 2004 17:09:45 EDT)
NNTP-Posting-Date: Mon, 20 Sep 2004 17:09:45 EDT
Organization: Road Runner - NC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15170



>"Frank da Cruz" <fdc@columbia.edu> wrote > :
>It appears the server supports MLSD:
>   http://www.columbia.edu/kermit/newftp.html
>

Frank, you pointed me in the right direction.  I forced NLST,

ftp mget /binary /nlst *

and order was restored to the universe.

If you are interested, I will grab and sanitize logs and provide them to
y'all for debugging info.

I'm testing w/ k95v2.1.3 for implementation on both *nix and m$ platforms.


Thanks for your (unbelievably prompt) and (as always) courteous and helpful
assistance.









From jaltman2@nyc.rr.com Tue Sep 21 08:34:00 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!newspeer1.stngva01.us.to.verio.net!verio!news.maxwell.syr.edu!border1.nntp.dca.giganews.com!border2.nntp.dca.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: <414FA16F.7080409@nyc.rr.com>
From: Jeffrey Altman <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: surgeftp server, bizarre prepending of filename with mget *
References: <jTG3d.31142$ci3.967656@twister.southeast.rr.com> <slrnckufjv.s0f.fdc@sesame.cc.columbia.edu> <tGH3d.31155$ci3.971860@twister.southeast.rr.com>
In-Reply-To: <tGH3d.31155$ci3.971860@twister.southeast.rr.com>
X-Enigmail-Version: 0.84.2.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 35
Date: Tue, 21 Sep 2004 03:25:18 GMT
NNTP-Posting-Host: 24.193.46.55
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1095737118 24.193.46.55 (Mon, 20 Sep 2004 23:25:18 EDT)
NNTP-Posting-Date: Mon, 20 Sep 2004 23:25:18 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15173

x@y.org wrote:
>>"Frank da Cruz" <fdc@columbia.edu> wrote > :
>>It appears the server supports MLSD:
>>  http://www.columbia.edu/kermit/newftp.html
>>
> 
> 
> Frank, you pointed me in the right direction.  I forced NLST,
> 
> ftp mget /binary /nlst *
> 
> and order was restored to the universe.
> 
> If you are interested, I will grab and sanitize logs and provide them to
> y'all for debugging info.
> 
> I'm testing w/ k95v2.1.3 for implementation on both *nix and m$ platforms.
> 
> 
> Thanks for your (unbelievably prompt) and (as always) courteous and helpful
> assistance.

There are several bugs in Kermit 95 2.1.3 related to the processing of
FTP operations such as MSLD.  The fixes for these problems are available
for a fee.  See http://www.columibia.edu/~jaltman/ for a list of the
available fixes and how you can obtain them.

Jeffrey Altman
Kermit 95 Author


-- 
-----------------
This e-mail account is not read on a regular basis.
Please send private responses to jaltman at mit dot edu

From slash_dev_slash_null_2000@yahoo.com Tue Sep 21 08:34:02 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!newspeer1.stngva01.us.to.verio.net!verio!newsfeed.cwix.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!postnews1.google.com!h37g2000oda.googlegroups.com!not-for-mail
From: "Mark Sapiro" <slash_dev_slash_null_2000@yahoo.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: surgeftp server, bizarre prepending of filename with mget *
Date: 20 Sep 2004 17:27:07 -0700
Organization: http://groups.google.com
Lines: 59
Message-ID: <1095726427.519892.271580@h37g2000oda.googlegroups.com>
References: <jTG3d.31142$ci3.967656@twister.southeast.rr.com>
   <slrnckufjv.s0f.fdc@sesame.cc.columbia.edu>
NNTP-Posting-Host: 209.182.169.133
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1095726427 15534 127.0.0.1 (21 Sep 2004 00:27:07 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 21 Sep 2004 00:27:07 +0000 (UTC)
In-Reply-To: <slrnckufjv.s0f.fdc@sesame.cc.columbia.edu>
User-Agent: G2/0.2
Complaints-To: groups-abuse@google.com
Injection-Info: h37g2000oda.googlegroups.com; posting-host=209.182.169.133;
   posting-account=iQNWIg0AAAAD2fStXNC9nwGlPdSqjWrI
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15171

Frank da Cruz wrote:
> On 2004-09-20, x@y.org <flyingboz@hotmail.com> wrote:
<snip>
> :
> : I get the following msg back for each file :
> :
> :
[type=file;size=7238;modify=20040917212843;create=20040917212842;perm=radfw
> : 445284152.G6116RWE.EXT]
> :  GET radfw 445284152.G6116RWE.EXT (binary) (7238 bytes)---> PORT
> : 169,254,68,181,6,64
> : 200 PORT command successful.
> : ---> RETR radfw 445284152.G6116RWE.EXT
> : 550 radfw 445284152.G6116RWE.EXT: Cannot open file No such file or
directory
> :: MESSAGE: radfw 445284152.G6116RWE.EXT: Cannot open file No such
file or
> : directory
> :
> : What on earth is this radfw that is prepending itself to my
filename, hence
> : (I believe) causing the RETR to fail?
> :
> It appears the server supports MLSD:
>
>   http://www.columbia.edu/kermit/newftp.html
>
> The "radfw" bit is the file permissions reported by the server.  Why
is it
> being prepended to the filename?  Beats me.

Your example of an MLSD list on the page at
http://www.columbia.edu/kermit/newftp.html shows the various fields
(type=, size=, etc. being separated from each other and from the file
name by a semicolon.

In the list reported above, it appears the perm=radfw at the end of the
list of attributes is separated from the file name only by a space. I'm
only guessing, but I suspect Kermit is splitting the MLSD response into
tokens separated by "=" and ";" and is thus not separating the "radfw"
from the file name.

The draft at
http://www.ietf.org/internet-drafts/draft-ietf-ftpext-mlst-16.txt says
about MLSD responses:

data-response    = *( entry CRLF )

entry            = [ facts ] SP pathname
facts            = 1*( fact ";" )
fact             = factname "=" value

I.e. all facts are terminated with ";" so it would appear that Kermit
is correct and the servers MLSD response is missing the semicolon.

--
Mark Sapiro <msapiro@value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


From JDanSkinner@JDanSkinner.com Tue Sep 21 08:34:03 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!newspeer1.stngva01.us.to.verio.net!verio!newsfeed.icl.net!newsfeed.fjserv.net!newshosting.com!nx02.iad01.newshosting.com!news.glorb.com!postnews1.google.com!not-for-mail
From: JDanSkinner@JDanSkinner.com (Dan Skinner)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: surgeftp server, bizarre prepending of filename with mget *
Date: 20 Sep 2004 19:39:42 -0700
Organization: http://groups.google.com
Lines: 63
Message-ID: <8ce22d01.0409201839.4d4d6788@posting.google.com>
References: <jTG3d.31142$ci3.967656@twister.southeast.rr.com> <slrnckufjv.s0f.fdc@sesame.cc.columbia.edu>
NNTP-Posting-Host: 24.159.192.106
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1095734383 23266 127.0.0.1 (21 Sep 2004 02:39:43 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 21 Sep 2004 02:39:43 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15172

Frank da Cruz <fdc@columbia.edu> wrote in message news:<slrnckufjv.s0f.fdc@sesame.cc.columbia.edu>...
> On 2004-09-20, x@y.org <flyingboz@hotmail.com> wrote:
> : trying to script a setup that will allow me to grab files from a surgeftp
> : server,
> :
> :  Version SurgeFTP 2.2k6 Jul  7 2004
> :
> : i can get a rdir listing of filenames:
> :
> : -rwxrwxrwx   1 owner    group            3585 Sep 17 18:30
> : 445284152.G6116RWE.27S
> : -rwxrwxrwx   1 owner    group             255 Sep 17 16:28
> : 445284152.G6116RWE.997
> : -rwxrwxrwx   1 owner    group           16071 Sep 17 16:28
> : 445284152.G6116RWE.ACC
> : -rwxrwxrwx   1 owner    group               0 Sep 17 16:27
> : 45284152.G6116RWE.ANSI203040917-17115188.dat.BID
> : -rwxrwxrwx   1 owner    group            7238 Sep 17 16:28
> : 445284152.G6116RWE.EXT
> : -rwxrwxrwx   1 owner    group             186 Sep 17 16:28
> : 445284152.G6116RWE.REJ
> :
> : then I try to do execute
> :
> :     ftp mget * t
> :
> : I get the following msg back for each file :
> :
> : [type=file;size=7238;modify=20040917212843;create=20040917212842;perm=radfw
> : 445284152.G6116RWE.EXT]
> :  GET radfw 445284152.G6116RWE.EXT (binary) (7238 bytes)---> PORT
> : 169,254,68,181,6,64
> : 200 PORT command successful.
> : ---> RETR radfw 445284152.G6116RWE.EXT
> : 550 radfw 445284152.G6116RWE.EXT: Cannot open file No such file or directory
> :: MESSAGE: radfw 445284152.G6116RWE.EXT: Cannot open file No such file or
> : directory
> :
> : What on earth is this radfw that is prepending itself to my filename, hence
> : (I believe) causing the RETR to fail?
> :
> It appears the server supports MLSD:
> 
>   http://www.columbia.edu/kermit/newftp.html
> 
> The "radfw" bit is the file permissions reported by the server.  Why is it
> being prepended to the filename?  Beats me.  Exactly which version of Kermit
> are you using?  I'd suggest you tell it to:
> 
>   set ftp debug on
> 
> repeat the download attempt, and then send the resulting transcript to
> kermit-support@columbia.edu .
> 
> - Frank

Pardon me for butting in, but if this is what was really sent, it looks like the
semi-colon was omitted after the perm parameter.
following copied from above:
> : [type=file;size=7238;modify=20040917212843;create=20040917212842;perm=radfw
> : 445284152.G6116RWE.EXT]

Regards...Dan.

From dm_v_2000@yahoo.com Tue Sep 21 17:46:25 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!newspeer1.stngva01.us.to.verio.net!verio!news.tele.dk!news.tele.dk!small.news.tele.dk!news.glorb.com!postnews1.google.com!not-for-mail
From: dm_v_2000@yahoo.com (Peter V.)
Newsgroups: comp.protocols.kermit.misc
Subject: Return codes and If statments
Date: 21 Sep 2004 13:52:08 -0700
Organization: http://groups.google.com
Lines: 41
Message-ID: <3f9c05b0.0409211252.5aa51cb1@posting.google.com>
NNTP-Posting-Host: 206.6.159.100
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1095799928 24642 127.0.0.1 (21 Sep 2004 20:52:08 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 21 Sep 2004 20:52:08 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15174

Hello,


  I am modifying a C-Kermit script I have to not continue processing
if a call to another script does not return a value of 1 (We are doing
this for fail over testing).

Here is the C-Kermit code in question:

# run the db_status script in the CRON directory
run db_status

# See if the ret value is != 1
#  If it != 1 tell user we are not on the primay server and then
exit).

if != \v(pexitstat) 1 
 { 
   echo Return code != 1 ... Not the primary server
   echo return code =  \v(pexitstat)
   exit
 
  }
# otherwise we are on the primary server so continue processing
...
...
...

When I run this on the Secondary server it works (since the result
returned from the db_status script is a 2 since it is not the primary
server).

However, when I test this on the primay server the code exits (meaning
it executes the body of the if statment above) despite the fact that
the return code from db_status is 1.

Any suggestions, as to what I'm doing wrong?

Many thanks in advance

Peter Vasseur

From fdc@columbia.edu Tue Sep 21 17:51:07 2004
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Return codes and If statments
Date: 21 Sep 2004 21:51:01 GMT
Organization: Columbia University
Lines: 50
Message-ID: <slrncl18i5.56s.fdc@sesame.cc.columbia.edu>
References: <3f9c05b0.0409211252.5aa51cb1@posting.google.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1095803461 4227 128.59.59.56 (21 Sep 2004 21:51:01 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 21 Sep 2004 21:51:01 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15175

On 2004-09-21, Peter V. <dm_v_2000@yahoo.com> wrote:
: I am modifying a C-Kermit script I have to not continue processing
: if a call to another script does not return a value of 1 (We are doing
: this for fail over testing).
:
: Here is the C-Kermit code in question:
:
: # run the db_status script in the CRON directory
: run db_status
:
: # See if the ret value is != 1
: #  If it != 1 tell user we are not on the primay server and then
: exit).
:
: if != \v(pexitstat) 1 
:  { 
:    echo Return code != 1 ... Not the primary server
:    echo return code =  \v(pexitstat)
:    exit
:  
:   }
: # otherwise we are on the primary server so continue processing
: ...
: ...
: ...
:
: When I run this on the Secondary server it works (since the result
: returned from the db_status script is a 2 since it is not the primary
: server).
:
: However, when I test this on the primay server the code exits (meaning
: it executes the body of the if statment above) despite the fact that
: the return code from db_status is 1.
:
: Any suggestions, as to what I'm doing wrong?
:
My first suggestion is to use the recommended format for grouping statements:

  if != \v(pexitstat) 1 { 
      echo Return code != 1 ... Not the primary server
      echo return code =  \v(pexitstat)
      exit
  }

If that doesn't help, then check to see what the subprocess actually
returns as its exit code (OK, you say it is 1 but...).  If so, then make sure
you are running the current version of C-Kermit, which is 8.0.211.  If you
are, then we're in for some debugging; contact kermit-support@columbia.edu.

- Frank

From slash_dev_slash_null_2000@yahoo.com Wed Sep 22 09:14:02 2004
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!postnews1.google.com!k26g2000oda.googlegroups.com!not-for-mail
From: "Mark Sapiro" <slash_dev_slash_null_2000@yahoo.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Return codes and If statments
Date: 21 Sep 2004 21:30:19 -0700
Organization: http://groups.google.com
Lines: 166
Message-ID: <1095827419.338981.28270@k26g2000oda.googlegroups.com>
References: <3f9c05b0.0409211252.5aa51cb1@posting.google.com>
   <slrncl18i5.56s.fdc@sesame.cc.columbia.edu>
NNTP-Posting-Host: 209.182.169.133
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1095827419 19272 127.0.0.1 (22 Sep 2004 04:30:19 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 22 Sep 2004 04:30:19 +0000 (UTC)
In-Reply-To: <slrncl18i5.56s.fdc@sesame.cc.columbia.edu>
User-Agent: G2/0.2
Complaints-To: groups-abuse@google.com
Injection-Info: k26g2000oda.googlegroups.com; posting-host=209.182.169.133;
   posting-account=iQNWIg0AAAAD2fStXNC9nwGlPdSqjWrI
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15177

Frank da Cruz wrote:
> On 2004-09-21, Peter V. <dm_v_2000@yahoo.com> wrote:
> : I am modifying a C-Kermit script I have to not continue processing
> : if a call to another script does not return a value of 1 (We are
doing
> : this for fail over testing).
> :
> : Here is the C-Kermit code in question:
> :
> : # run the db_status script in the CRON directory
> : run db_status
> :
> : # See if the ret value is != 1
> : #  If it != 1 tell user we are not on the primay server and then
> : exit).
> :
> : if != \v(pexitstat) 1
> :  {
> :    echo Return code != 1 ... Not the primary server
> :    echo return code =  \v(pexitstat)
> :    exit
> :
> :   }
> : # otherwise we are on the primary server so continue processing
> : ...
> : ...
> : ...
> :
> : When I run this on the Secondary server it works (since the result
> : returned from the db_status script is a 2 since it is not the
primary
> : server).
> :
> : However, when I test this on the primay server the code exits
(meaning
> : it executes the body of the if statment above) despite the fact
that
> : the return code from db_status is 1.
> :
> : Any suggestions, as to what I'm doing wrong?
> :
> My first suggestion is to use the recommended format for grouping
statements:
>
>   if != \v(pexitstat) 1 {
>       echo Return code != 1 ... Not the primary server
>       echo return code =  \v(pexitstat)
>       exit
>   }
>
> If that doesn't help, then check to see what the subprocess actually
> returns as its exit code (OK, you say it is 1 but...).  If so, then
make sure
> you are running the current version of C-Kermit, which is 8.0.211.
If you
> are, then we're in for some debugging; contact
kermit-support@columbia.edu.
>
> - Frank


Frank's suggestion will help. This is another case of if { } else { }
constructs that only work if written in certain ways.

I've mentioned this before, but the document

http://www.columbia.edu/kermit/ckermit70.html

contains several examples of if/else coding in section 7.20.1. The
first four of these are

Example 1:

IF condition { command1, command2 } ELSE { command3, command4 }

Example 2 (same as Example 1):

IF condition {
command1
command2
} ELSE {
command3
command4
}

Example 3 (same as 1 and 2):

IF condition {
command1
command2
}
ELSE { command3, command4 }

Example 4 (same as 1-3):

IF condition {
command1
command2
}
ELSE {
command3
command4
}

In examples 3 and 4, various problems occur in execution of the ELSE
clause when the condition is false. This change happened somewhere
between 8.0.201 and 8.0.206 due to changes in the handling of
"immediate macros". This is illustrated by the following.

fog: {14} $ cat kt3
# Example 1:

IF false { .theday := \v(day), show macro theday } ELSE { .thedate :=
\v(date), show macro thedate }

# Example 2 (same as Example 1):

IF false {
.theday := \v(day)
show macro theday
} ELSE {
.thedate := \v(date)
show macro thedate
}

# Example 3 (same as 1 and 2):

IF false {
.theday := \v(day)
show macro theday
}
ELSE { .thedate := \v(date), show macro thedate }

# Example 4 (same as 1-3):

IF false {
.theday := \v(day)
show macro theday
}
ELSE {
.thedate := \v(date)
show macro thedate
}
fog: {15} $ kermit
Executing /home_mo/msapiro/.kermrc for UNIX...
Executing /home_mo/msapiro/.mykermrc...
Good Evening.
C-Kermit 8.0.212 Dev.00, 10 May 2004, for HP-UX 11.00
Copyright (C) 1985, 2004,
Trustees of Columbia University in the City of New York.
Type ? or HELP for help.
(/home_mo/msapiro/) C-Kermit>take kt3
thedate = 21 Sep 2004
thedate = 21 Sep 2004
thedate = \v(date)
thedate = \v(date)
(/home_mo/msapiro/) C-Kermit>

I have trained myself to always code if/else in the "recommended
format", but it would be nice if the examples that no longer work were
removed from the documentation.

--
Mark Sapiro msapiro at value dot net       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


From dm_v_2000@yahoo.com Wed Sep 22 13:15:12 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!newspeer1.stngva01.us.to.verio.net!verio!newsfeed.vmunix.org!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!postnews1.google.com!not-for-mail
From: dm_v_2000@yahoo.com (Peter V.)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Return codes and If statments
Date: 22 Sep 2004 09:53:34 -0700
Organization: http://groups.google.com
Lines: 171
Message-ID: <3f9c05b0.0409220853.25e5bd46@posting.google.com>
References: <3f9c05b0.0409211252.5aa51cb1@posting.google.com>   <slrncl18i5.56s.fdc@sesame.cc.columbia.edu> <1095827419.338981.28270@k26g2000oda.googlegroups.com>
NNTP-Posting-Host: 206.6.159.100
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1095872014 30819 127.0.0.1 (22 Sep 2004 16:53:34 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 22 Sep 2004 16:53:34 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15178

Frank and Mark,

  thank you both for your advice.  I am sticking to recommended format
Number 2, and that seems to have done the trick.

 Once again, thanks.

Peter Vasseur

"Mark Sapiro" <slash_dev_slash_null_2000@yahoo.com> wrote in message news:<1095827419.338981.28270@k26g2000oda.googlegroups.com>...
> Frank da Cruz wrote:
> > On 2004-09-21, Peter V. <dm_v_2000@yahoo.com> wrote:
> > : I am modifying a C-Kermit script I have to not continue processing
> > : if a call to another script does not return a value of 1 (We are
>  doing
> > : this for fail over testing).
> > :
> > : Here is the C-Kermit code in question:
> > :
> > : # run the db_status script in the CRON directory
> > : run db_status
> > :
> > : # See if the ret value is != 1
> > : #  If it != 1 tell user we are not on the primay server and then
> > : exit).
> > :
> > : if != \v(pexitstat) 1
> > :  {
> > :    echo Return code != 1 ... Not the primary server
> > :    echo return code =  \v(pexitstat)
> > :    exit
> > :
> > :   }
> > : # otherwise we are on the primary server so continue processing
> > : ...
> > : ...
> > : ...
> > :
> > : When I run this on the Secondary server it works (since the result
> > : returned from the db_status script is a 2 since it is not the
>  primary
> > : server).
> > :
> > : However, when I test this on the primay server the code exits
>  (meaning
> > : it executes the body of the if statment above) despite the fact
>  that
> > : the return code from db_status is 1.
> > :
> > : Any suggestions, as to what I'm doing wrong?
> > :
> > My first suggestion is to use the recommended format for grouping
>  statements:
> >
> >   if != \v(pexitstat) 1 {
> >       echo Return code != 1 ... Not the primary server
> >       echo return code =  \v(pexitstat)
> >       exit
> >   }
> >
> > If that doesn't help, then check to see what the subprocess actually
> > returns as its exit code (OK, you say it is 1 but...).  If so, then
>  make sure
> > you are running the current version of C-Kermit, which is 8.0.211.
>  If you
> > are, then we're in for some debugging; contact
>  kermit-support@columbia.edu.
> >
> > - Frank
> 
> 
> Frank's suggestion will help. This is another case of if { } else { }
> constructs that only work if written in certain ways.
> 
> I've mentioned this before, but the document
> 
> http://www.columbia.edu/kermit/ckermit70.html
> 
> contains several examples of if/else coding in section 7.20.1. The
> first four of these are
> 
> Example 1:
> 
> IF condition { command1, command2 } ELSE { command3, command4 }
> 
> Example 2 (same as Example 1):
> 
> IF condition {
> command1
> command2
> } ELSE {
> command3
> command4
> }
> 
> Example 3 (same as 1 and 2):
> 
> IF condition {
> command1
> command2
> }
> ELSE { command3, command4 }
> 
> Example 4 (same as 1-3):
> 
> IF condition {
> command1
> command2
> }
> ELSE {
> command3
> command4
> }
> 
> In examples 3 and 4, various problems occur in execution of the ELSE
> clause when the condition is false. This change happened somewhere
> between 8.0.201 and 8.0.206 due to changes in the handling of
> "immediate macros". This is illustrated by the following.
> 
> fog: {14} $ cat kt3
> # Example 1:
> 
> IF false { .theday := \v(day), show macro theday } ELSE { .thedate :=
> \v(date), show macro thedate }
> 
> # Example 2 (same as Example 1):
> 
> IF false {
> .theday := \v(day)
> show macro theday
> } ELSE {
> .thedate := \v(date)
> show macro thedate
> }
> 
> # Example 3 (same as 1 and 2):
> 
> IF false {
> .theday := \v(day)
> show macro theday
> }
> ELSE { .thedate := \v(date), show macro thedate }
> 
> # Example 4 (same as 1-3):
> 
> IF false {
> .theday := \v(day)
> show macro theday
> }
> ELSE {
> .thedate := \v(date)
> show macro thedate
> }
> fog: {15} $ kermit
> Executing /home_mo/msapiro/.kermrc for UNIX...
> Executing /home_mo/msapiro/.mykermrc...
> Good Evening.
> C-Kermit 8.0.212 Dev.00, 10 May 2004, for HP-UX 11.00
> Copyright (C) 1985, 2004,
> Trustees of Columbia University in the City of New York.
> Type ? or HELP for help.
> (/home_mo/msapiro/) C-Kermit>take kt3
> thedate = 21 Sep 2004
> thedate = 21 Sep 2004
> thedate = \v(date)
> thedate = \v(date)
> (/home_mo/msapiro/) C-Kermit>
> 
> I have trained myself to always code if/else in the "recommended
> format", but it would be nice if the examples that no longer work were
> removed from the documentation.

From fdc@columbia.edu Wed Sep 22 13:33:01 2004
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Return codes and If statments
Date: 22 Sep 2004 17:32:18 GMT
Organization: Columbia University
Lines: 55
Message-ID: <slrncl3dp2.ftp.fdc@sesame.cc.columbia.edu>
References: <3f9c05b0.0409211252.5aa51cb1@posting.google.com> <slrncl18i5.56s.fdc@sesame.cc.columbia.edu> <1095827419.338981.28270@k26g2000oda.googlegroups.com> <3f9c05b0.0409220853.25e5bd46@posting.google.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1095874338 3737 128.59.59.56 (22 Sep 2004 17:32:18 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 22 Sep 2004 17:32:18 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15179

On 2004-09-22, Peter V. <dm_v_2000@yahoo.com> wrote:
:   thank you both for your advice.  I am sticking to recommended format
: Number 2, and that seems to have done the trick.
:
I realize it might be a big counterintuitive for C programmers, but it
should be recalled that Kermit differs from C not only in being interpretive
rather than compiled, but also it's an interactive command language, and
therefore necessarily line-oriented: each command is one line.  Thus the
true format of a compound IF-ELSE statement is:

  if <condition> { command, command, ... } ELSE { command, command, ... }

Prior to C-Kermit 7.0, if you wanted to break such a statement onto multiple
lines, you had to use line continuation:

  if <condition> { -
      command, -
      command, -
      ... -
  } ELSE {
      command, -
      command, -
      ... -
  }

Version 7.0 added several tricks to the parser to give more natural
syntax: (a) If a line ENDS with "{" (ignoring whitespace) it is continued
and begins a block; (b) if a line BEGINS with "}" (ignoring whitespace) it
ends a block; (c) if a block is active, the end of each line implies a
comma (which is used to separate statements within blocks).  Once a block
is opened at top level, these tricks are used until the block is closed,
and naturally, they persist through any level of nesting.  This explains
why a construction like:

  IF <condition> {
     command
     command
  }

works, but:

  IF <condition>
  {
     command
     command
  }

doesn't.  The first line is an incomplete command with no indication of
continuation.  The documentation:

  http://www.columbia.edu/kermit/ckermit70.html#x7.20

does not list the latter form as a possibility.

- Frank

From jaltman2@nyc.rr.com Wed Sep 22 15:02:34 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!newspeer1.stngva01.us.to.verio.net!verio!newsfeed.vmunix.org!newsfeed.stueberl.de!peer01.cox.net!cox.net!cyclone1.gnilink.net!gnilink.net!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!not-for-mail
From: Jeffrey Altman <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Return codes and If statments
References: <3f9c05b0.0409211252.5aa51cb1@posting.google.com> <slrncl18i5.56s.fdc@sesame.cc.columbia.edu> <1095827419.338981.28270@k26g2000oda.googlegroups.com> <3f9c05b0.0409220853.25e5bd46@posting.google.com> <slrncl3dp2.ftp.fdc@sesame.cc.columbia.edu>
In-Reply-To: <slrncl3dp2.ftp.fdc@sesame.cc.columbia.edu>
X-Enigmail-Version: 0.84.2.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 35
Message-ID: <YZi4d.780$mH1.1555997@twister.nyc.rr.com>
Date: Wed, 22 Sep 2004 17:52:56 GMT
NNTP-Posting-Host: 24.193.46.55
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1095875576 24.193.46.55 (Wed, 22 Sep 2004 13:52:56 EDT)
NNTP-Posting-Date: Wed, 22 Sep 2004 13:52:56 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15180

Frank da Cruz wrote:

>   IF <condition> {
>      command
>      command
>   }
> 
> works, but:
> 
>   IF <condition>
>   {
>      command
>      command
>   }
> 
> doesn't.  The first line is an incomplete command with no indication of
> continuation.

Adding the working example of

IF <condition> -
{
    command
    command
}

might make this a bit clearer.

Jeffrey Altman


-- 
-----------------
This e-mail account is not read on a regular basis.
Please send private responses to jaltman at mit dot edu

From fdc@columbia.edu Wed Sep 22 15:04:07 2004
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Return codes and If statments
Date: 22 Sep 2004 19:03:58 GMT
Organization: Columbia University
Lines: 18
Message-ID: <slrncl3j4u.ql.fdc@sesame.cc.columbia.edu>
References: <3f9c05b0.0409211252.5aa51cb1@posting.google.com> <slrncl18i5.56s.fdc@sesame.cc.columbia.edu> <1095827419.338981.28270@k26g2000oda.googlegroups.com> <3f9c05b0.0409220853.25e5bd46@posting.google.com> <slrncl3dp2.ftp.fdc@sesame.cc.columbia.edu> <YZi4d.780$mH1.1555997@twister.nyc.rr.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1095879838 10436 128.59.59.56 (22 Sep 2004 19:03:58 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 22 Sep 2004 19:03:58 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15181

On 2004-09-22, Jeffrey Altman <jaltman2@nyc.rr.com> wrote:
: Adding the working example of
:
: IF <condition> -
: {
:     command
:     command
: }
:
: might make this a bit clearer.
:
Good idea, done:

  http://www.columbia.edu/kermit/ckermit70.html#x7.20.1

(new material in red).

- Frank

From davidmurray@pricechopper.com Thu Sep 23 15:15:31 2004
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!postnews1.google.com!not-for-mail
From: davidmurray@pricechopper.com (David Murray)
Newsgroups: comp.protocols.kermit.misc
Subject: Kermit 95 NOT prompting for new password after expiration
Date: 23 Sep 2004 11:54:51 -0700
Organization: http://groups.google.com
Lines: 20
Message-ID: <2482a3ad.0409231054.757cd642@posting.google.com>
NNTP-Posting-Host: 208.30.13.10
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1095965691 7007 127.0.0.1 (23 Sep 2004 18:54:51 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 23 Sep 2004 18:54:51 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15182

Hi:

My company has started to implement hardened/expiring passwords on all
of its HP-UX UNIX servers. Prior to the change we had been using
Kermit 95 GUI (SSH v2 enabled) for about two months without any issues
(After some serious scripting work). Anyway, after the expiring
password change went into effect, we're finding that when a user's
login expires, they're not being being prompted to change their login.
As a result of this apparent limitation, they're contacting MIS and
we're resetting their passwords for their accounts. Obviously, that is
not a permenant solution to the problem. Anyone have any ideas?

Note: I've 'heard' that without the password the user's identify can't
be
      authenticated, so SSH won't allow the unauthenticated person to
reset
      the password. If this is true, then it would seem that SSH
password
      authentication and expiring passwords are mutually exclusive.
:*(

From slash_dev_slash_null_2000@yahoo.com Fri Sep 24 17:36:20 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!newsfeed1.stngva01.us.to.verio.net!newspeer1.stngva01.us.to.verio.net!verio!news.tele.dk!news.tele.dk!small.news.tele.dk!news.glorb.com!postnews1.google.com!k26g2000oda.googlegroups.com!not-for-mail
From: "Mark Sapiro" <slash_dev_slash_null_2000@yahoo.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Return codes and If statments
Date: 24 Sep 2004 14:33:57 -0700
Organization: http://groups.google.com
Lines: 142
Message-ID: <1096061637.174541.255970@k26g2000oda.googlegroups.com>
References: <3f9c05b0.0409211252.5aa51cb1@posting.google.com>
   <slrncl18i5.56s.fdc@sesame.cc.columbia.edu>
   <1095827419.338981.28270@k26g2000oda.googlegroups.com>
   <3f9c05b0.0409220853.25e5bd46@posting.google.com>
   <slrncl3dp2.ftp.fdc@sesame.cc.columbia.edu>
NNTP-Posting-Host: 209.182.169.133
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1096061637 23677 127.0.0.1 (24 Sep 2004 21:33:57 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 24 Sep 2004 21:33:57 +0000 (UTC)
In-Reply-To: <slrncl3dp2.ftp.fdc@sesame.cc.columbia.edu>
User-Agent: G2/0.2
Complaints-To: groups-abuse@google.com
Injection-Info: k26g2000oda.googlegroups.com; posting-host=209.182.169.133;
   posting-account=iQNWIg0AAAAD2fStXNC9nwGlPdSqjWrI
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15183

Frank da Cruz wrote:
> On 2004-09-22, Peter V. <dm_v_2000@yahoo.com> wrote:
> :   thank you both for your advice.  I am sticking to recommended
format
> : Number 2, and that seems to have done the trick.
> :
> I realize it might be a big counterintuitive for C programmers, but
it
> should be recalled that Kermit differs from C not only in being
interpretive
> rather than compiled, but also it's an interactive command language,
and
> therefore necessarily line-oriented: each command is one line.  Thus
the
> true format of a compound IF-ELSE statement is:
>
>   if <condition> { command, command, ... } ELSE { command, command,
... }
>
> Prior to C-Kermit 7.0, if you wanted to break such a statement onto
multiple
> lines, you had to use line continuation:
>
>   if <condition> { -
>       command, -
>       command, -
>       ... -
>   } ELSE {
>       command, -
>       command, -
>       ... -
>   }
>
> Version 7.0 added several tricks to the parser to give more natural
> syntax: (a) If a line ENDS with "{" (ignoring whitespace) it is
continued
> and begins a block; (b) if a line BEGINS with "}" (ignoring
whitespace) it
> ends a block; (c) if a block is active, the end of each line implies
a
> comma (which is used to separate statements within blocks).  Once a
block
> is opened at top level, these tricks are used until the block is
closed,
> and naturally, they persist through any level of nesting.  This
explains
> why a construction like:
>
>   IF <condition> {
>      command
>      command
>   }
>
> works, but:
>
>   IF <condition>
>   {
>      command
>      command
>   }
>
> doesn't.  The first line is an incomplete command with no indication
of
> continuation.  The documentation:
>
>   http://www.columbia.edu/kermit/ckermit70.html#x7.20
>
> does not list the latter form as a possibility.

That is true, but that was not my point in my prior post in this
thread. My point is that ever since 8.0.206. The forms of examples 3
and 4 in the referenced documentation do not always produce the same
results as the forms of examples 1 and 2.

In particular,  consider example 2 - the preferred form

IF condition {
command1
command2
} ELSE {
command3
command4
}

vs. Example 3 (same as 1 and 2):

IF condition {
command1
command2
}
ELSE { command3, command4 }

and Example 4 (same as 1-3):

IF condition {
command1
command2
}
ELSE {
command3
command4
}

As far as I can tell, example 2 always works as expected, but in the
case where condition is False and command3 and or command 4 contains a
Macro reference, the macro reference will not be expanded in example 3
and 4 as it is in example 2.

This is illustrated by the following:

# Example 2 (same as Example 1):

IF false {
.theday := \v(day)
show macro theday
} ELSE {
.thedate := \v(date)
show macro thedate
}

# Example 3 (same as 1 and 2):

IF false {
.theday := \v(day)
show macro theday
}
ELSE { .thedate := \v(date), show macro thedate }

If this is run today, example 2 will output

thedate = 24 Sep 2004

but example 3 will output

thedate = \v(date)

This behavior was introduced by changes in the way immediate macro's
are handled in ckuusr.c, 23 Aug 2002.

These changes were intended to solve a problem that might more properly
have been addressed by escapes in the command.


From slash_dev_slash_null_2000@yahoo.com Fri Sep 24 17:37:48 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!newsfeed1.stngva01.us.to.verio.net!newspeer1.stngva01.us.to.verio.net!verio!news.tele.dk!news.tele.dk!small.news.tele.dk!news.glorb.com!postnews1.google.com!k26g2000oda.googlegroups.com!not-for-mail
From: "Mark Sapiro" <slash_dev_slash_null_2000@yahoo.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Return codes and If statments
Date: 24 Sep 2004 14:33:57 -0700
Organization: http://groups.google.com
Lines: 142
Message-ID: <1096061637.174541.255970@k26g2000oda.googlegroups.com>
References: <3f9c05b0.0409211252.5aa51cb1@posting.google.com>
   <slrncl18i5.56s.fdc@sesame.cc.columbia.edu>
   <1095827419.338981.28270@k26g2000oda.googlegroups.com>
   <3f9c05b0.0409220853.25e5bd46@posting.google.com>
   <slrncl3dp2.ftp.fdc@sesame.cc.columbia.edu>
NNTP-Posting-Host: 209.182.169.133
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1096061637 23677 127.0.0.1 (24 Sep 2004 21:33:57 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 24 Sep 2004 21:33:57 +0000 (UTC)
In-Reply-To: <slrncl3dp2.ftp.fdc@sesame.cc.columbia.edu>
User-Agent: G2/0.2
Complaints-To: groups-abuse@google.com
Injection-Info: k26g2000oda.googlegroups.com; posting-host=209.182.169.133;
   posting-account=iQNWIg0AAAAD2fStXNC9nwGlPdSqjWrI
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15183

Frank da Cruz wrote:
> On 2004-09-22, Peter V. <dm_v_2000@yahoo.com> wrote:
> :   thank you both for your advice.  I am sticking to recommended
format
> : Number 2, and that seems to have done the trick.
> :
> I realize it might be a big counterintuitive for C programmers, but
it
> should be recalled that Kermit differs from C not only in being
interpretive
> rather than compiled, but also it's an interactive command language,
and
> therefore necessarily line-oriented: each command is one line.  Thus
the
> true format of a compound IF-ELSE statement is:
>
>   if <condition> { command, command, ... } ELSE { command, command,
... }
>
> Prior to C-Kermit 7.0, if you wanted to break such a statement onto
multiple
> lines, you had to use line continuation:
>
>   if <condition> { -
>       command, -
>       command, -
>       ... -
>   } ELSE {
>       command, -
>       command, -
>       ... -
>   }
>
> Version 7.0 added several tricks to the parser to give more natural
> syntax: (a) If a line ENDS with "{" (ignoring whitespace) it is
continued
> and begins a block; (b) if a line BEGINS with "}" (ignoring
whitespace) it
> ends a block; (c) if a block is active, the end of each line implies
a
> comma (which is used to separate statements within blocks).  Once a
block
> is opened at top level, these tricks are used until the block is
closed,
> and naturally, they persist through any level of nesting.  This
explains
> why a construction like:
>
>   IF <condition> {
>      command
>      command
>   }
>
> works, but:
>
>   IF <condition>
>   {
>      command
>      command
>   }
>
> doesn't.  The first line is an incomplete command with no indication
of
> continuation.  The documentation:
>
>   http://www.columbia.edu/kermit/ckermit70.html#x7.20
>
> does not list the latter form as a possibility.

That is true, but that was not my point in my prior post in this
thread. My point is that ever since 8.0.206. The forms of examples 3
and 4 in the referenced documentation do not always produce the same
results as the forms of examples 1 and 2.

In particular,  consider example 2 - the preferred form

IF condition {
command1
command2
} ELSE {
command3
command4
}

vs. Example 3 (same as 1 and 2):

IF condition {
command1
command2
}
ELSE { command3, command4 }

and Example 4 (same as 1-3):

IF condition {
command1
command2
}
ELSE {
command3
command4
}

As far as I can tell, example 2 always works as expected, but in the
case where condition is False and command3 and or command 4 contains a
Macro reference, the macro reference will not be expanded in example 3
and 4 as it is in example 2.

This is illustrated by the following:

# Example 2 (same as Example 1):

IF false {
.theday := \v(day)
show macro theday
} ELSE {
.thedate := \v(date)
show macro thedate
}

# Example 3 (same as 1 and 2):

IF false {
.theday := \v(day)
show macro theday
}
ELSE { .thedate := \v(date), show macro thedate }

If this is run today, example 2 will output

thedate = 24 Sep 2004

but example 3 will output

thedate = \v(date)

This behavior was introduced by changes in the way immediate macro's
are handled in ckuusr.c, 23 Aug 2002.

These changes were intended to solve a problem that might more properly
have been addressed by escapes in the command.


From slash_dev_slash_null_2000@yahoo.com Sun Sep 26 10:59:45 2004
Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews1.google.com!k17g2000odb.googlegroups.com!not-for-mail
From: "Mark Sapiro" <slash_dev_slash_null_2000@yahoo.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit 95 NOT prompting for new password after expiration
Date: 25 Sep 2004 17:06:56 -0700
Organization: http://groups.google.com
Lines: 55
Message-ID: <1096157216.098407.240810@k17g2000odb.googlegroups.com>
References: <2482a3ad.0409231054.757cd642@posting.google.com>
NNTP-Posting-Host: 209.182.169.133
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1096157216 4711 127.0.0.1 (26 Sep 2004 00:06:56 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sun, 26 Sep 2004 00:06:56 +0000 (UTC)
User-Agent: G2/0.2
Complaints-To: groups-abuse@google.com
Injection-Info: k17g2000odb.googlegroups.com; posting-host=209.182.169.133;
   posting-account=iQNWIg0AAAAD2fStXNC9nwGlPdSqjWrI
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15184

David Murray wrote:
> Hi:
>
> My company has started to implement hardened/expiring passwords on
all
> of its HP-UX UNIX servers. Prior to the change we had been using
> Kermit 95 GUI (SSH v2 enabled) for about two months without any
issues
> (After some serious scripting work). Anyway, after the expiring
> password change went into effect, we're finding that when a user's
> login expires, they're not being being prompted to change their
login.
> As a result of this apparent limitation, they're contacting MIS and
> we're resetting their passwords for their accounts. Obviously, that
is
> not a permenant solution to the problem. Anyone have any ideas?
>
> Note: I've 'heard' that without the password the user's identify
can't
> be
>       authenticated, so SSH won't allow the unauthenticated person to
> reset
>       the password. If this is true, then it would seem that SSH
> password
>       authentication and expiring passwords are mutually exclusive.
> :*(

I have a similar environment to yours with one of my hosts, but I don't
know if I have the problem or not. The host is an HP 9000/800 running
HP-UX B.11.00. I access the host via Kermit-95 2.1.3 GUI acting as an
SSH v2 client with v2 RSA public/private keys.

Passwords on the host expire roughly every 6 months, but beginning
about 10 days before expiration I see a message at logon that says my
password will expire on X date.

Normally I wait until the password is a day or two from expiring and
change it using the passwd command. I've never had a problem, but I
don't know if I've ever actually let the password expire since I've
been using SSH access. I know the password has expired in the past when
I was using Kermit as a telnet client, but of course that isn't
relevant to this.

I would be willing to let the password expire just to see what happens
as telnet is still available as a backup, but it just expired this
month and won't expire again until February.

I note you refer to "some serious scripting work". Did this include a
login script? Could the password change dialog be getting lost in the
script?

--
Mark Sapiro msapiro at value dot net       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


From jaltman2@nyc.rr.com Mon Sep 27 10:30:40 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!newspeer1.stngva01.us.to.verio.net!verio!newsfeed.cwix.com!border1.nntp.dca.giganews.com!border2.nntp.dca.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!53ab2750!not-for-mail
From: Jeffrey Altman <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit 95 NOT prompting for new password after expiration
References: <2482a3ad.0409231054.757cd642@posting.google.com> <1096157216.098407.240810@k17g2000odb.googlegroups.com>
In-Reply-To: <1096157216.098407.240810@k17g2000odb.googlegroups.com>
X-Enigmail-Version: 0.84.2.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 20
Message-ID: <WtG5d.47589$Ot3.27437@twister.nyc.rr.com>
Date: Sun, 26 Sep 2004 21:26:14 GMT
NNTP-Posting-Host: 24.193.46.55
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1096233974 24.193.46.55 (Sun, 26 Sep 2004 17:26:14 EDT)
NNTP-Posting-Date: Sun, 26 Sep 2004 17:26:14 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15187

The primary requirement for password expiration detection
is that the daemon running on the server incorporate the necessary
support for the given password authentication database: shadow
password files, NIS+, AIX passwords, etc.  If the daemon does
not have the necessary support, there is nothing that the client
can do.

Recent versions of OpenSSH provide such support.  The way the
end user is prompted for the password change is via the SSH
keyboard-interactive authentication mechanism.  After the
password is changed the seesion is disconnected and the end user
must re-connect.  Kermit 95 can support this functionality.

Jeffrey Altman


-- 
-----------------
This e-mail account is not read on a regular basis.
Please send private responses to jaltman at mit dot edu

From david20708@comcast.net Thu Sep 30 13:33:14 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!newspeer1.stngva01.us.to.verio.net!verio!opentransit.net!newsfeed.media.kyoto-u.ac.jp!newsgw.ayashii.or.jp!news.moat.net!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local1.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 30 Sep 2004 12:24:36 -0500
Date: Thu, 30 Sep 2004 13:24:36 -0400
From: David Barr <david20708@comcast.net>
User-Agent: Mozilla Thunderbird 0.7.3 (X11/20040803)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: FTP/TLS site commands
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <evOdnTbSQtrJ3MHcRVn-pQ@comcast.com>
Lines: 49
NNTP-Posting-Host: 69.143.231.233
X-Trace: sv3-kLn39AbQXpV8soNbsxBAiABra2l30gABJKQ8Ix7npC9SpBFZAwDJjoMytq9s9krW6AfyiXFLb1H0GgQ!dYaVQHGTcHSsc8YF6b2WwmtCejXnUlx2ayETa0WtpMsl5iShOW7OyoYJ23E2Z1c=
X-Complaints-To: abuse@comcast.net
X-DMCA-Complaints-To: dmca@comcast.net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.17
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15189

I'm trying to figure out how to issue a SITE command to change my
password, which the vendor requires that I do monthly.  They have a
chgpsw command that I'm supposed to use.  I've included the session
where I'm trying to issue the command.

Thanks,

David Barr

C-Kermit 8.0.209, 17 Mar 2003, for IBM AIX 4.3
  Copyright (C) 1985, 2003,
   Trustees of Columbia University in the City of New York.
Type ? or HELP for help.
(/home/hci/tmp/fhsc/) C-Kermit>set ftp authtype tls
(/home/hci/tmp/fhsc/) C-Kermit>set auth tls verify no
(/home/hci/tmp/fhsc/) C-Kermit>ftp open secureftp.fhsc.com 21000
Connected to secureftp.fhsc.com.
TLS accepted as authentication type
[TLS - DHE-RSA-AES128-SHA      SSLv3 Kx=DH       Au=RSA  Enc=AES(128) 
Mac=SHA1
Compression: None
FTP Command channel is Private (encrypted)
FTP Data channel is Private (encrypted)
  Name (secureftp.fhsc.com:hci): 1344
  Password:
user logged in
**********************************************************************
You have successfully logged in to SecureFTP.FHSC.com.
**********************************************************************
user logged in
Switching LOCUS for file-management commands to REMOTE.
Remote system type is UNIX.
Default transfer mode is BINARY
(/home/hci/tmp/fhsc/) C-Kermit>ftp quote site chgpsw oldpw newpw newpw
SITE unknown option
(/home/hci/tmp/fhsc/) C-Kermit>ftp quote chgpsw oldpw newpw newpw
illegal command
(/home/hci/tmp/fhsc/) C-Kermit>ftp quote "chgpsw oldpw newpw newpw"
illegal command
(/home/hci/tmp/fhsc/) C-Kermit>ftp site chgpsw oldpw newpw newpw
SITE unknown option
(/home/hci/tmp/fhsc/) C-Kermit>ftp site "chgpsw oldpw newpw newpw"
SITE unknown option
(/home/hci/tmp/fhsc/) C-Kermit>quit
Good-Bye
221-************************************************************************
221-First Health Services appreciates your business.  Thank You.
221-************************************************************************
Good-Bye

From fdc@columbia.edu Thu Sep 30 13:57:11 2004
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: FTP/TLS site commands
Date: 30 Sep 2004 17:54:01 GMT
Organization: Columbia University
Lines: 10
Message-ID: <slrncloi1p.5sq.fdc@sesame.cc.columbia.edu>
References: <evOdnTbSQtrJ3MHcRVn-pQ@comcast.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1096566841 22194 128.59.59.56 (30 Sep 2004 17:54:01 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 30 Sep 2004 17:54:01 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15190

On 2004-09-30, David Barr <david20708@comcast.net> wrote:
: I'm trying to figure out how to issue a SITE command to change my
: password, which the vendor requires that I do monthly.  They have a
: chgpsw command that I'm supposed to use.  I've included the session
: where I'm trying to issue the command.
:
Try "help ftp site" and then if you see "chgpsw" then
"help ftp site chgpsw".

- Frank

From jaltman2@nyc.rr.com Fri Oct  1 14:06:02 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!newsfeed1.dllstx09.us.to.verio.net!newsfeed1.stlsmo04.us.to.verio.net!newsreader.wustl.edu!unlnews.unl.edu!headwall.stanford.edu!newshub.sdsu.edu!border1.nntp.dca.giganews.com!border2.nntp.dca.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!53ab2750!not-for-mail
From: Jeffrey Altman <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: FTP/TLS site commands
References: <evOdnTbSQtrJ3MHcRVn-pQ@comcast.com> <slrncloi1p.5sq.fdc@sesame.cc.columbia.edu>
In-Reply-To: <slrncloi1p.5sq.fdc@sesame.cc.columbia.edu>
X-Enigmail-Version: 0.84.2.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 19
Message-ID: <UH37d.50224$Ot3.27129@twister.nyc.rr.com>
Date: Fri, 01 Oct 2004 02:56:52 GMT
NNTP-Posting-Host: 24.193.46.55
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1096599412 24.193.46.55 (Thu, 30 Sep 2004 22:56:52 EDT)
NNTP-Posting-Date: Thu, 30 Sep 2004 22:56:52 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15191

Frank da Cruz wrote:

> On 2004-09-30, David Barr <david20708@comcast.net> wrote:
> : I'm trying to figure out how to issue a SITE command to change my
> : password, which the vendor requires that I do monthly.  They have a
> : chgpsw command that I'm supposed to use.  I've included the session
> : where I'm trying to issue the command.
> :
> Try "help ftp site" and then if you see "chgpsw" then
> "help ftp site chgpsw".
> 
> - Frank

I believe Frank meant "FTP SITE HELP"

-- 
-----------------
This e-mail account is not read on a regular basis.
Please send private responses to jaltman at mit dot edu

From david20708@comcast.net Fri Oct  1 14:06:04 2004
Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!nntp-out.monmouth.com!newspeer.monmouth.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local1.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail
NNTP-Posting-Date: Fri, 01 Oct 2004 08:48:28 -0500
Date: Fri, 01 Oct 2004 09:48:26 -0400
From: David Barr <david20708@comcast.net>
User-Agent: Mozilla Thunderbird 0.7.3 (X11/20040803)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: FTP/TLS site commands
References: <evOdnTbSQtrJ3MHcRVn-pQ@comcast.com> <slrncloi1p.5sq.fdc@sesame.cc.columbia.edu> <UH37d.50224$Ot3.27129@twister.nyc.rr.com>
In-Reply-To: <UH37d.50224$Ot3.27129@twister.nyc.rr.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <16udnRwW5_ax_cDcRVn-vg@comcast.com>
Lines: 29
NNTP-Posting-Host: 69.140.17.32
X-Trace: sv3-Khy71VxaFQJoVtkSVbbWoy9ys9PJ50P6Ik50n/QCle0dvmnQcxVKzwhozlM4h4q7kpoKeukZBmLwCHI!RkJeA7FO/P3nAaum8TtGM81mk0FsdwESZbk8P+lu08fu3LZZSvKFw3lsKdFV
X-Complaints-To: abuse@comcast.net
X-DMCA-Complaints-To: dmca@comcast.net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.16
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15192

Jeffrey Altman wrote:
> Frank da Cruz wrote:
> 
>> On 2004-09-30, David Barr <david20708@comcast.net> wrote:
>> : I'm trying to figure out how to issue a SITE command to change my
>> : password, which the vendor requires that I do monthly.  They have a
>> : chgpsw command that I'm supposed to use.  I've included the session
>> : where I'm trying to issue the command.
>> :
>> Try "help ftp site" and then if you see "chgpsw" then
>> "help ftp site chgpsw".
>>
>> - Frank
> 
> 
> I believe Frank meant "FTP SITE HELP"
> 

"FTP SITE HELP" gives me another Kermit prompt without any output.

"FTP SITE CHGPSW" gives "SITE unknown option".

"FTP SITE HELP CHGPSW" gives "SITE unknown option".

Any other ideas?

Thanks,

David

From jaltman2@nyc.rr.com Fri Oct  1 14:06:05 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!newspeer1.stngva01.us.to.verio.net!verio!news.harvard.edu!news.dfci.harvard.edu!news.cis.ohio-state.edu!news.maxwell.syr.edu!border1.nntp.dca.giganews.com!border2.nntp.dca.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!53ab2750!not-for-mail
Message-ID: <415D70DB.5080407@nyc.rr.com>
From: Jeffrey Altman <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: FTP/TLS site commands
References: <evOdnTbSQtrJ3MHcRVn-pQ@comcast.com> <slrncloi1p.5sq.fdc@sesame.cc.columbia.edu> <UH37d.50224$Ot3.27129@twister.nyc.rr.com> <16udnRwW5_ax_cDcRVn-vg@comcast.com>
In-Reply-To: <16udnRwW5_ax_cDcRVn-vg@comcast.com>
X-Enigmail-Version: 0.84.2.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 28
Date: Fri, 01 Oct 2004 14:57:45 GMT
NNTP-Posting-Host: 24.193.46.55
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1096642665 24.193.46.55 (Fri, 01 Oct 2004 10:57:45 EDT)
NNTP-Posting-Date: Fri, 01 Oct 2004 10:57:45 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15193

If you are received "SITE unknown option" that is coming
from the First Health FTP Server.  I suggest you contact
their technical support folks.

Jeffrey Altman


David Barr wrote:

>> I believe Frank meant "FTP SITE HELP"
>>
> 
> "FTP SITE HELP" gives me another Kermit prompt without any output.
> 
> "FTP SITE CHGPSW" gives "SITE unknown option".
> 
> "FTP SITE HELP CHGPSW" gives "SITE unknown option".
> 
> Any other ideas?
> 
> Thanks,
> 
> David

-- 
-----------------
This e-mail account is not read on a regular basis.
Please send private responses to jaltman at mit dot edu

From david20708@comcast.net Wed Oct  6 14:05:55 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!newspeer1.stngva01.us.to.verio.net!verio!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local1.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 06 Oct 2004 10:50:57 -0500
Date: Wed, 06 Oct 2004 11:50:55 -0400
From: David Barr <david20708@comcast.net>
User-Agent: Mozilla Thunderbird 0.7.3 (X11/20040803)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: FTP/TLS site commands
References: <evOdnTbSQtrJ3MHcRVn-pQ@comcast.com> <slrncloi1p.5sq.fdc@sesame.cc.columbia.edu> <UH37d.50224$Ot3.27129@twister.nyc.rr.com> <16udnRwW5_ax_cDcRVn-vg@comcast.com> <415D70DB.5080407@nyc.rr.com>
In-Reply-To: <415D70DB.5080407@nyc.rr.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <G5WdnZXgweP8ifncRVn-iw@comcast.com>
Lines: 101
NNTP-Posting-Host: 69.140.17.32
X-Trace: sv3-FNSI78aykvlNaVVBDrwshqiww92/DuWCIZJE0+920R0c6anMWzkhpnONq8ke1elFFraF/4Q0Q3CvfPV!u9M4gBt4Y5D8nD+rgKLW7I7uNm2ay2r9DGeHVEXlCvuWL6HuDmYz7HIZ7nvn
X-Complaints-To: abuse@comcast.net
X-DMCA-Complaints-To: dmca@comcast.net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.19
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15195

Jeffrey Altman wrote:
 > If you are received "SITE unknown option" that is coming
 > from the First Health FTP Server.  I suggest you contact
 > their technical support folks.
 >
 > Jeffrey Altman

I've contacted their tech support, and we have found a problem with 
their site command.  However, the Kermit "ftp site help" command seems 
to be broken.  Here's a session where I tried to use it:

C-Kermit 8.0.211, 10 Apr 2004, for IBM AIX 4.3
  Copyright (C) 1985, 2004,
   Trustees of Columbia University in the City of New York.
Type ? or HELP for help.
(/home/hci/) C-Kermit>set ftp auth tls
(/home/hci/) C-Kermit>set auth tls verify no
(/home/hci/) C-Kermit>ftp open secureftp.fhsc.com 21000
Connected to secureftp.fhsc.com.
TLS accepted as authentication type
[TLS - DHE-RSA-AES128-SHA      SSLv3 Kx=DH       Au=RSA  Enc=AES(128) 
Mac=SHA1
Compression: None
FTP Command channel is Private (encrypted)
FTP Data channel is Private (encrypted)
  Name (secureftp.fhsc.com:hci): 1344
  Password:
user logged in
**********************************************************************
You have successfully logged in to SecureFTP.FHSC.com.
**********************************************************************
user logged in
Switching LOCUS for file-management commands to REMOTE.
Remote system type is UNIX.
Default transfer mode is BINARY
(/home/hci/) C-Kermit>ftp site help
(/home/hci/) C-Kermit>quit
Good-Bye
221-************************************************************************
221-First Health Services appreciates your business.  Thank You.
221-************************************************************************
Good-Bye

And here is a copy of the same commands on another FTP client:

davidb@mythtv:~/secureftp2/secureftp$ ./ftps.sh secureftp.fhsc.com 21000
Glub Tech Secure FTP v2.0.12 [20040120]
Copyright (c) 2000-04 Glub Tech, Inc.

!!! WARNING !!!: This is a non-standard port for FTP over SSL.

Continuing connection attempt...
Attempting to make an implicit SSL connection to secureftp.fhsc.com on 
port 21000.
Connection failed: Unrecognized SSL message, plaintext connection?
Attempting to make an explicit SSL connection to secureftp.fhsc.com on 
port 21000.
220-SecureFTP.fhsc.com X2 WS_FTP Server 4.0.2 (92389617)
220-******************************************
220-******************************************
220-**   This server is restricted to       **
220-**   authorized First Health Services   **
220-**   business only.  Unauthorized       **
220-**   access is strictly prohibited.     **
220-******************************************
220-******************************************
220 SecureFTP.fhsc.com X2 WS_FTP Server 4.0.2 (92389617)
AUTH TLS
234 SSL enabled and waiting for negotiation
PBSZ 0
200 PBSZ=0
PROT P
200 PRIVATE data channel protection level set
Name (secureftp.fhsc.com:davidb): 1344
USER 1344
331 Password required
Password:
PASS **********
230-user logged in
230-**********************************************************************
230-You have successfully logged in to SecureFTP.FHSC.com.
230-**********************************************************************
230 user logged in
Type set to auto.
ftps> site help
SITE help
214-The following SITE commands are supported
     CPWD password  (change password)
     GMT            (use GMT for filetimes)
     ULT            (use local time for filetimes)
     UTF8           (force use of UTF8)
     HELP
214 SITE command successful
ftps> quit
QUIT
221-Good-Bye
221-************************************************************************
221-First Health Services appreciates your business.  Thank You.
221-************************************************************************
221 Good-Bye


From robertls@nortelnetworks.com Tue Oct 19 14:20:04 2004
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!newspeer1.stngva01.us.to.verio.net!verio!newsfeed3.dallas1.level3.net!news.level3.com!newsfeed1.easynews.com!easynews.com!easynews!sjc1.usenetserver.com!news.usenetserver.com!cyclone.bc.net!nrc-news.nrc.ca!utnut!qcarhaaa.nortelnetworks.com!bcarh189.ca.nortel.com!zcars0v6!not-for-mail
From: "Robert Simmons" <robertls@nortelnetworks.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Kermit Script Output Out of Order
Date: Tue, 19 Oct 2004 00:48:05 -0500
Organization: Nortel
Lines: 18
Message-ID: <cl29ql$dm7$1@zcars0v6.ca.nortel.com>
NNTP-Posting-Host: robertls-1.us.nortel.com
X-Trace: zcars0v6.ca.nortel.com 1098164886 14023 47.102.125.229 (19 Oct 2004 05:48:06 GMT)
X-Complaints-To: hawkinsj@nortelnetworks.com
NNTP-Posting-Date: Tue, 19 Oct 2004 05:48:06 +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.protocols.kermit.misc:15198

Hopefully this group is still monitored...

I have been developing a kermit script.  I have found that when a run the
script normally from a linux prompt that the output is mostly in order.  But
if I fork a process and run the script from a C++ program the output is in
realtime for the AT responces but the script echo lines and the help text
output is not dumped until the process is killed or dies.

I notices the same order of output with the stdout redirected and captured
to a file at the linux command prompt.

Anyone know why? And how to get the output os the echo statements to be dump
before the script dies or is killed?

Thanks,
Robert



From fdc@columbia.edu Tue Oct 19 14:26:12 2004
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit Script Output Out of Order
Date: 19 Oct 2004 18:25:05 GMT
Organization: Columbia University
Lines: 30
Message-ID: <slrncnan01.3s1.fdc@sesame.cc.columbia.edu>
References: <cl29ql$dm7$1@zcars0v6.ca.nortel.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1098210305 13272 128.59.59.56 (19 Oct 2004 18:25:05 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 19 Oct 2004 18:25:05 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15199

On 2004-10-19, Robert Simmons <robertls@nortelnetworks.com> wrote:
: Hopefully this group is still monitored...
:
Of course.

: I have been developing a kermit script.  I have found that when a run the
: script normally from a linux prompt that the output is mostly in order.  But
: if I fork a process and run the script from a C++ program the output is in
: realtime for the AT responces but the script echo lines and the help text
: output is not dumped until the process is killed or dies.
:
: I notices the same order of output with the stdout redirected and captured
: to a file at the linux command prompt.
:
: Anyone know why? And how to get the output os the echo statements to be dump
: before the script dies or is killed?
:
C-Kermit was not really intended to be controlled by another process.
When you use Kermit itself as your scripting tool, which is adequate for
most purposes:

  http://www.columbia.edu/kermit/ckscripts.html

you don't get the jumbled output.

For historical (and to some extent practical) reasons, there is a mixture
of buffered and unbuffered writes to stdout.  If your process is reading
C-Kermit's stdout, maybe it needs to read it in unbuffered mode?

- Frank

From robertls@nortelnetworks.com Tue Oct 19 17:27:41 2004
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsfeed.telusplanet.net!newsfeed.telus.net!snoopy.risq.qc.ca!torn!utnut!qcarhaaa.nortelnetworks.com!bcarh189.ca.nortel.com!zcars0v6!not-for-mail
From: "Robert Simmons" <robertls@nortelnetworks.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit Script Output Out of Order
Date: Tue, 19 Oct 2004 15:27:46 -0500
Organization: Nortel
Lines: 48
Message-ID: <cl3tc5$5n0$1@zcars0v6.ca.nortel.com>
References: <cl29ql$dm7$1@zcars0v6.ca.nortel.com> <slrncnan01.3s1.fdc@sesame.cc.columbia.edu>
NNTP-Posting-Host: robertls-1.us.nortel.com
X-Trace: zcars0v6.ca.nortel.com 1098217669 5856 47.102.125.229 (19 Oct 2004 20:27:49 GMT)
X-Complaints-To: hawkinsj@nortelnetworks.com
NNTP-Posting-Date: Tue, 19 Oct 2004 20:27:49 +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.protocols.kermit.misc:15200


Okay... I'll look into the buffered vs. unbuffered mode.  But what about the
output when it is redirected to a file.  The output from kermit is out of
order there as well.

Robert


"Frank da Cruz" <fdc@columbia.edu> wrote in message
news:slrncnan01.3s1.fdc@sesame.cc.columbia.edu...
> On 2004-10-19, Robert Simmons <robertls@nortelnetworks.com> wrote:
> : Hopefully this group is still monitored...
> :
> Of course.
>
> : I have been developing a kermit script.  I have found that when a run
the
> : script normally from a linux prompt that the output is mostly in order.
But
> : if I fork a process and run the script from a C++ program the output is
in
> : realtime for the AT responces but the script echo lines and the help
text
> : output is not dumped until the process is killed or dies.
> :
> : I notices the same order of output with the stdout redirected and
captured
> : to a file at the linux command prompt.
> :
> : Anyone know why? And how to get the output os the echo statements to be
dump
> : before the script dies or is killed?
> :
> C-Kermit was not really intended to be controlled by another process.
> When you use Kermit itself as your scripting tool, which is adequate for
> most purposes:
>
>   http://www.columbia.edu/kermit/ckscripts.html
>
> you don't get the jumbled output.
>
> For historical (and to some extent practical) reasons, there is a mixture
> of buffered and unbuffered writes to stdout.  If your process is reading
> C-Kermit's stdout, maybe it needs to read it in unbuffered mode?
>
> - Frank



From jaltman2@nyc.rr.com Tue Oct 19 17:27:53 2004
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newspump.monmouth.com!newspeer.monmouth.com!news.maxwell.syr.edu!border1.nntp.dca.giganews.com!border2.nntp.dca.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!53ab2750!not-for-mail
From: Jeffrey Altman <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit Script Output Out of Order
References: <cl29ql$dm7$1@zcars0v6.ca.nortel.com> <slrncnan01.3s1.fdc@sesame.cc.columbia.edu> <cl3tc5$5n0$1@zcars0v6.ca.nortel.com>
In-Reply-To: <cl3tc5$5n0$1@zcars0v6.ca.nortel.com>
X-Enigmail-Version: 0.84.2.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 15
Message-ID: <_mfdd.83561$Ot3.22349@twister.nyc.rr.com>
Date: Tue, 19 Oct 2004 21:08:10 GMT
NNTP-Posting-Host: 24.193.46.55
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1098220090 24.193.46.55 (Tue, 19 Oct 2004 17:08:10 EDT)
NNTP-Posting-Date: Tue, 19 Oct 2004 17:08:10 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15201

Robert Simmons wrote:

> Okay... I'll look into the buffered vs. unbuffered mode.  But what about the
> output when it is redirected to a file.  The output from kermit is out of
> order there as well.
> 
> Robert

Don't try piping the output of two processes into the same file
and you won't have issues with output being out of order.

-- 
-----------------
This e-mail account is not read on a regular basis.
Please send private responses to jaltman at mit dot edu

From robertls@nortelnetworks.com Wed Oct 20 14:52:20 2004
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!news.maxwell.syr.edu!newsfeed-east.nntpserver.com!nntpserver.com!chi1.usenetserver.com!news.usenetserver.com!snoopy.risq.qc.ca!nrc-news.nrc.ca!utnut!qcarhaaa.nortelnetworks.com!bcarh189.ca.nortel.com!zcars0v6!not-for-mail
From: "Robert Simmons" <robertls@nortelnetworks.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit Script Output Out of Order
Date: Tue, 19 Oct 2004 21:54:51 -0500
Organization: Nortel
Lines: 147
Message-ID: <cl4k1s$97u$1@zcars0v6.ca.nortel.com>
References: <cl29ql$dm7$1@zcars0v6.ca.nortel.com> <slrncnan01.3s1.fdc@sesame.cc.columbia.edu> <cl3tc5$5n0$1@zcars0v6.ca.nortel.com> <_mfdd.83561$Ot3.22349@twister.nyc.rr.com>
NNTP-Posting-Host: robertls-1.us.nortel.com
X-Trace: zcars0v6.ca.nortel.com 1098240893 9470 47.102.125.229 (20 Oct 2004 02:54:53 GMT)
X-Complaints-To: hawkinsj@nortelnetworks.com
NNTP-Posting-Date: Wed, 20 Oct 2004 02:54:53 +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.protocols.kermit.misc:15202

I am not piping the output of two processes to one file.  I tried the piping
of the output of only the kermit script to help debug the weird behaviour I
was seeing in the output during the fork of the script from the C++ process.

As you can see below the line "Hello and welcome to csd_send_script.ksc!"
should be output well before "NO CARRIER" since it takes about 15 seconds
for NO CARRIER to be determined.

Here is by script and output file with the command used to redirect.

[root:CDragon-99 robertls]# cat csd_send_script.ksc
#!/usr/bin/kermit +

echo Hello and welcome to csd_send_script.ksc!\10
echo Speed:              \%1\10
echo Init String:        \%2\10
echo Called Number:      \%3\10
echo Port:               \%4\10
echo Number of Transfer: \%5\10
echo Transfer File Path: \%6\10

trace /on all
set port \%4
if fail exit 1 Cannot open \%4
echo Using port \%4\13
#set modem type hayes-high-speed
#set hints off
set modem type hayes-2400
set speed \%1
echo Speed set to \%1\10
set carrier-watch off
set flow-control rts/cts
set transfer slow-start off
set receive packet-length 1500
set transfer display crt
set modem name QualComm_CSD
set modem hangup-method rs232-signal
set modem command hardware-flow AT+ IFC=2,2\{13}
set modem speed-matching off
set transfer interruption off
set input echo on
set modem command init-string \%2\13
if fail exit 1 Cannot communicate with modem
echo Dialing \%3\10
set dial display on
dial \%3\13
#output atdt 9045554444\13
#wait 5 cd
if fail exit 1 Cannot make data call

set count \%5
:loop
   echo Sending File. Transfer Count: \v(count)\10
   send \%6
   if success echo Send File #\v(count) complete\10
   if fail echo Failed Sending File #\v(count)
if count goto loop
bye
hangup
echo CSD Send Session Complete.\10
exit 0 CSD Send Session Complete.

[root:CDragon-99 robertls]# ./csd_send_script.ksc 115200 AT+CMUX=2
9049440006 /dev/ttyR5 1 robert > robtemp.err 2>&1
[root:CDragon-99 robertls]# cat robtemp.err
ATQ0
OK
AT+ IFC=2,2
OK
AT+CMUX=2
OK
ATM1L2
OK
ATS7=70
OK
ATD9049440006

NO CARRIER
Hello and welcome to csd_send_script.ksc!

Speed:              115200

Init String:        AT+CMUX=2

Called Number:      9049440006

Port:               /dev/ttyR5

Number of Transfer: 1

Transfer File Path: robert

TRACE ON
Using port /dev/ttyR5
Speed set to 115200

Dialing 9049440006

 Hangup OK
 Initializing: 21:30:30...
ATQ0
 Dialing: 21:30:31...
DIAL Failure: 21:30:47:  "NO CARRIER"

*************************
DIAL-class command failed.
Modem type:  hayes-2400
Device:      /dev/ttyR5
Speed:       115200
Dial status: 23 [No carrier]
 . Are you sure you have chosen the appropriate modem type?
 . Maybe the interface speed (115200) is too fast:
    SET SPEED to a lower speed and try again.
    SET SPEED ? to see the list of valid speeds.
 . SET MODEM HANGUP-METHOD MODEM-COMMAND and try again.
 . If that doesn't work, try again with SET DIAL HANGUP OFF.
 . SHOW COMMUNICATIONS, SHOW MODEM, SHOW DIAL to see current settings.
 . HELP SET MODEM, HELP SET DIAL, and HELP DIAL for more information.
(Use SET HINTS OFF to suppress future hints.)
*************************

Cannot make data call
[1] -F: "/home/robertls/csd_send_script.ksc"
[root:CDragon-99 robertls]#


"Jeffrey Altman" <jaltman2@nyc.rr.com> wrote in message
news:_mfdd.83561$Ot3.22349@twister.nyc.rr.com...
> Robert Simmons wrote:
>
> > Okay... I'll look into the buffered vs. unbuffered mode.  But what about
the
> > output when it is redirected to a file.  The output from kermit is out
of
> > order there as well.
> >
> > Robert
>
> Don't try piping the output of two processes into the same file
> and you won't have issues with output being out of order.
>
> -- 
> -----------------
> This e-mail account is not read on a regular basis.
> Please send private responses to jaltman at mit dot edu



From fdc@columbia.edu Wed Oct 20 15:05:30 2004
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit Script Output Out of Order
Date: 20 Oct 2004 19:04:46 GMT
Organization: Columbia University
Lines: 33
Message-ID: <slrncnddme.qmr.fdc@sesame.cc.columbia.edu>
References: <cl29ql$dm7$1@zcars0v6.ca.nortel.com> <slrncnan01.3s1.fdc@sesame.cc.columbia.edu> <cl3tc5$5n0$1@zcars0v6.ca.nortel.com> <_mfdd.83561$Ot3.22349@twister.nyc.rr.com> <cl4k1s$97u$1@zcars0v6.ca.nortel.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1098299086 1103 128.59.59.56 (20 Oct 2004 19:04:46 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 20 Oct 2004 19:04:46 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15203

On 2004-10-20, Robert Simmons <robertls@nortelnetworks.com> wrote:
: I am not piping the output of two processes to one file.  I tried the piping
: of the output of only the kermit script to help debug the weird behaviour I
: was seeing in the output during the fork of the script from the C++ process.
:
: As you can see below the line "Hello and welcome to csd_send_script.ksc!"
: should be output well before "NO CARRIER" since it takes about 15 seconds
: for NO CARRIER to be determined.
:
It's what I said: ECHO is buffered, whereas SET DIAL DISPLAY ON output is
not.  By the way, Kermit has had FOR (and WHILE) loops for many years, so
you don't need the old SET COUNT / IF COUNT trick any more:

: set count \%5
::loop
:    echo Sending File. Transfer Count: \v(count)\10
:    send \%6
:    if success echo Send File #\v(count) complete\10
:    if fail echo Failed Sending File #\v(count)
: if count goto loop

Why are you sending the same file repeatedly?  Something like this
looks more sensible:

  set flag off
  for \%i 1 \%5 1 {
      send \%6
      if success break
      echo "\%6: Failed - Try #\%i..."
   }
   if != \v(xferstatus) { ... }  # 0 means success

- Frank

From robertls@nortelnetworks.com Thu Oct 21 11:03:40 2004
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!snoopy.risq.qc.ca!nrc-news.nrc.ca!utnut!qcarhaaa.nortelnetworks.com!bcarh189.ca.nortel.com!zcars0v6!not-for-mail
From: "Robert Simmons" <robertls@nortelnetworks.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit Script Output Out of Order
Date: Wed, 20 Oct 2004 18:19:44 -0500
Organization: Nortel
Lines: 58
Message-ID: <cl6rqi$mo0$1@zcars0v6.ca.nortel.com>
References: <cl29ql$dm7$1@zcars0v6.ca.nortel.com> <slrncnan01.3s1.fdc@sesame.cc.columbia.edu> <cl3tc5$5n0$1@zcars0v6.ca.nortel.com> <_mfdd.83561$Ot3.22349@twister.nyc.rr.com> <cl4k1s$97u$1@zcars0v6.ca.nortel.com> <slrncnddme.qmr.fdc@sesame.cc.columbia.edu>
NNTP-Posting-Host: robertls-1.us.nortel.com
X-Trace: zcars0v6.ca.nortel.com 1098314386 23296 47.102.125.229 (20 Oct 2004 23:19:46 GMT)
X-Complaints-To: hawkinsj@nortelnetworks.com
NNTP-Posting-Date: Wed, 20 Oct 2004 23:19:46 +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.protocols.kermit.misc:15204

I tried the fork with the stdout and stdin unbuffered.  But this had no
effect.  Probably because as you wrote the echos and help text output is
buffered internally in kermit.  Is there any way to flush the buffer for
echo and help text?  Or set it so that these are not buffered?

Thanks for the advise on the script.  I'll use it.  The book I have is
outdated.  I'll use the website for more up to date info.

As for the looping send: We are sending the same file as a soak test of the
connection so we don't care about the content, just that the connection
stays up and the transfers complete.

Thanks,
Robert


"Frank da Cruz" <fdc@columbia.edu> wrote in message
news:slrncnddme.qmr.fdc@sesame.cc.columbia.edu...
> On 2004-10-20, Robert Simmons <robertls@nortelnetworks.com> wrote:
> : I am not piping the output of two processes to one file.  I tried the
piping
> : of the output of only the kermit script to help debug the weird
behaviour I
> : was seeing in the output during the fork of the script from the C++
process.
> :
> : As you can see below the line "Hello and welcome to
csd_send_script.ksc!"
> : should be output well before "NO CARRIER" since it takes about 15
seconds
> : for NO CARRIER to be determined.
> :
> It's what I said: ECHO is buffered, whereas SET DIAL DISPLAY ON output is
> not.  By the way, Kermit has had FOR (and WHILE) loops for many years, so
> you don't need the old SET COUNT / IF COUNT trick any more:
>
> : set count \%5
> ::loop
> :    echo Sending File. Transfer Count: \v(count)\10
> :    send \%6
> :    if success echo Send File #\v(count) complete\10
> :    if fail echo Failed Sending File #\v(count)
> : if count goto loop
>
> Why are you sending the same file repeatedly?  Something like this
> looks more sensible:
>
>   set flag off
>   for \%i 1 \%5 1 {
>       send \%6
>       if success break
>       echo "\%6: Failed - Try #\%i..."
>    }
>    if != \v(xferstatus) { ... }  # 0 means success
>
> - Frank



From fdc@columbia.edu Thu Oct 21 11:14:50 2004
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit Script Output Out of Order
Date: 21 Oct 2004 15:13:51 GMT
Organization: Columbia University
Lines: 40
Message-ID: <slrncnfkhf.lng.fdc@sesame.cc.columbia.edu>
References: <cl29ql$dm7$1@zcars0v6.ca.nortel.com> <slrncnan01.3s1.fdc@sesame.cc.columbia.edu> <cl3tc5$5n0$1@zcars0v6.ca.nortel.com> <_mfdd.83561$Ot3.22349@twister.nyc.rr.com> <cl4k1s$97u$1@zcars0v6.ca.nortel.com> <slrncnddme.qmr.fdc@sesame.cc.columbia.edu> <cl6rqi$mo0$1@zcars0v6.ca.nortel.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1098371631 11768 128.59.59.56 (21 Oct 2004 15:13:51 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 21 Oct 2004 15:13:51 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15206

On 2004-10-20, Robert Simmons <robertls@nortelnetworks.com> wrote:
: I tried the fork with the stdout and stdin unbuffered.  But this had no
: effect.  Probably because as you wrote the echos and help text output is
: buffered internally in kermit.  Is there any way to flush the buffer for
: echo and help text?  Or set it so that these are not buffered?
:
There is no universal setting to make all output the same (buffered or
unbuffered).  This could be added, but it would be a very big job.

Well, there IS one thing you might try.  If you can build from source,
you can recompile as follows:

  make clean
  make linux (or whatever) "KFLAGS=-DNONOSETBUF"

This is supposed to make all output unbuffered.  You probably won't like
the result, but at least it should be synchronized.  (I can't guarantee this
will work, as some of the setbuf() calls are pretty deeply embedded in
#ifdefs, but failing that, just add "setbuf(stdout,NULL);" to some part of
sysinit() in ckutio.c, that is not conditionally compiled.)

Let us know the results; if favorable, I suppose this could be converted
from a compile-time option to a runtime setting.

: Thanks for the advise on the script.  I'll use it.  The book I have is
: outdated.  I'll use the website for more up to date info.
:
: As for the looping send: We are sending the same file as a soak test of the
: connection so we don't care about the content, just that the connection
: stays up and the transfers complete.
:
Here's an undocumented feature you might want to use for testing and
benchmarking:

  SEND /CALIBRATE:xxx

This creates a random-content uncompressable dummy file on the fly for
sending, of length xxx K bytes.

- Frank

From junkmail@eracc.com Mon Oct 25 10:18:03 2004
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!not-for-mail
From: ERACC <junkmail@eracc.com>
Newsgroups: comp.protocols.kermit.misc
Subject: IKSD from a user account?
Date: Fri, 22 Oct 2004 11:35:35 -0500
Organization: ERA Computer Consulting
Lines: 27
Message-ID: <2tsr6nF24redcU1@uni-berlin.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de BwV9W3NdsD6/AajlJKafIwDGxKq2GrWP/ylBki/SVv7GNWJlM2
User-Agent: M$ O and OE SUCK! Ok, anything from M$ sucks.
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15207

I've been looking into running IKSD as a regular user instead of as
root for security reasons. For example like Squid starts up as "root"
but runs all its' other processes as user "squid", same with Apache
and user "apache". I also want to give incoming connections
"anonymous" access over some sort of secure tunnel for download
only. I know about sftp, scp - I don't want those - I want Kermit 95
or c-kermit on the client side for the robust scripting. I will have
complete control over the client and server side of this application.

Is this possible? I've read through what I can find so far on The
Kermit Project web pages but nothing jumped out that let me know I
can do this. So, I'll ask here for a URL if this can be done and the
URL to a HOWTO exists. Of course a concise explanation in the group
will work as well.

I did find a post by Jeffrey Altman in a Google Groups search about
running C-Kermit and then using the "SET SERVER ..." command. That is
not what I want although I will use it as a last resort.

TIA!
Gene (e-mail: gene \a\t eracc \d\o\t com)
-- 
Linux era4.eracc.UUCP 2.4.22-28mdkenterprise i686
 11:04:34 up 237 days,  5:08, 17 users,  load average: 0.00, 0.01, 0.00
ERA Computer Consulting - http://www.eracc.com/
eCS, OS/2, Mandrake GNU/Linux, OpenServer & UnixWare resellers


From JDanSkinner@JDanSkinner.com Mon Oct 25 10:18:07 2004
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!torn!snoopy.risq.qc.ca!headwall.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: JDanSkinner@JDanSkinner.com (Dan Skinner)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: IKSD from a user account?
Date: 23 Oct 2004 14:07:38 -0700
Organization: http://groups.google.com
Lines: 42
Message-ID: <8ce22d01.0410231307.21fe8c70@posting.google.com>
References: <2tsr6nF24redcU1@uni-berlin.de>
NNTP-Posting-Host: 24.159.192.106
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1098565658 15744 127.0.0.1 (23 Oct 2004 21:07:38 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sat, 23 Oct 2004 21:07:38 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15208

ERACC <junkmail@eracc.com> wrote in message news:<2tsr6nF24redcU1@uni-berlin.de>...
> I've been looking into running IKSD as a regular user instead of as
> root for security reasons. For example like Squid starts up as "root"
> but runs all its' other processes as user "squid", same with Apache
> and user "apache". I also want to give incoming connections
> "anonymous" access over some sort of secure tunnel for download
> only. I know about sftp, scp - I don't want those - I want Kermit 95
> or c-kermit on the client side for the robust scripting. I will have
> complete control over the client and server side of this application.
> 
> Is this possible? I've read through what I can find so far on The
> Kermit Project web pages but nothing jumped out that let me know I
> can do this. So, I'll ask here for a URL if this can be done and the
> URL to a HOWTO exists. Of course a concise explanation in the group
> will work as well.
> 
> I did find a post by Jeffrey Altman in a Google Groups search about
> running C-Kermit and then using the "SET SERVER ..." command. That is
> not what I want although I will use it as a last resort.
> 
> TIA!
> Gene (e-mail: gene \a\t eracc \d\o\t com)

I'm not sure I understand exactly what you mean, but we use C-Kermit
on Linux and Unix machines to exchange data (flat ascii files) with
remote K95 machines.  This is a fully scripted exchange, which can be
initiated by either the scheduler or clicking on an icon at the remote
end. The login to the *n?x machine is by straight dial-up, by Telnet,
or SSH (telnet or ssh usually over the open internet.) Login(s) are
either to a unique user for each remote site or to a system wide user,
based on customer preference.   The login launches c-kermit in server
mode pointing at the server side exchange directory.  The K95 script
sends and gets selected files, deleting the files on the source end on
successful transmission.   SSH does pretty good security for the
paranoid.  We have been using this basic method since 1991. In the
early days Unix c-kermit was 300K and Procomm fit on 1 diskette. We
switched over to K95 to take advantage of SSH, run supported on WXP,
and get back to single threaded scripts.  The dead simple approach
gives us lots of flexibility and portability and seems to be
absolutely reliable.  Hope this is of some help.  Can provide more
details if you think they would help.
Regards…Dan.

From junkmail@eracc.com Mon Oct 25 10:18:20 2004
Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!npeer.de.kpn-eurorings.net!fu-berlin.de!uni-berlin.de!not-for-mail
From: ERACC <junkmail@eracc.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: IKSD from a user account?
Date: Sat, 23 Oct 2004 19:27:14 -0500
Organization: ERA Computer Consulting
Lines: 34
Message-ID: <2u0b72F24mm05U1@uni-berlin.de>
References: <2tsr6nF24redcU1@uni-berlin.de> <Nmbed.91338$Ot3.47365@twister.nyc.rr.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de jN/JWd+F68D28bbYpc/nJQP2dW4pAsGyv13R1zZcrInCqwX3yy
User-Agent: M$ O and OE SUCK! Ok, anything from M$ sucks.
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15209

On Fri, 22 Oct 2004 17:23:57 +0000, Jeffrey Altman wrote:

> ERACC wrote:
> 
>> I've been looking into running IKSD as a regular user instead of as
>> root for security reasons. For example like Squid starts up as "root"
>> but runs all its' other processes as user "squid", same with Apache
>> and user "apache". [...]
>
> IKSD does not have any secondary processes.  IKSD must be able to
> switch to the userid of the authenticated and authorized user
> in order to access the filesystem as the user.  It would certainly
> be possible to re-architect C-Kermit to allow login to be performed
> and then have a user process be kicked off but I am not going to be
> the one to do the work.
> 
> You can always run C-Kermit as an OpenSSH subsystem.
> 
>    http://www.kermit-project.org/skermit.html

Hmmm. Ok, I'll look into implementing this. The client is going to
have about 200 remote locations hitting this over the internet for
pricing downloads daily. I hope I can do it with this solution. I'd
really like to get a 200 site license sale for The Kermit Project.
You guys have been great with solutions to my data x-fer needs over
the years. ;-)

Gene (e-mail: gene \a\t eracc \d\o\t com)
-- 
Linux era4.eracc.UUCP 2.4.22-28mdkenterprise i686
 19:21:20 up 238 days, 13:25, 17 users,  load average: 0.00, 0.00, 0.00
ERA Computer Consulting - http://www.eracc.com/
eCS, OS/2, Mandrake GNU/Linux, OpenServer & UnixWare resellers


From delgado_harvey@yahoo.com Mon Oct 25 12:38:48 2004
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!postnews1.google.com!not-for-mail
From: delgado_harvey@yahoo.com (Harvey)
Newsgroups: comp.protocols.kermit.misc
Subject: Kermit ftp syntax
Date: 25 Oct 2004 07:49:44 -0700
Organization: http://groups.google.com
Lines: 14
Message-ID: <2f35e2b3.0410250649.23a55eca@posting.google.com>
NNTP-Posting-Host: 148.87.1.170
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1098715785 28579 127.0.0.1 (25 Oct 2004 14:49:45 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 25 Oct 2004 14:49:45 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15210

Hi All,
I am doing a ftp of files and for this first I am doing a cd to the
target directory. The directory name is 'HD Test Folder' and the only
way to change to this directory is using the following command:

cd HD Test Folder

When a try to use: cd "HD Test Folder" or cd {HD Test Folder} then I
get and error saying is an invalid directory.

What is the correct way to enclose the path having blank spaces.

Regards
Harvey

From fdc@columbia.edu Mon Oct 25 12:43:25 2004
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit ftp syntax
Date: 25 Oct 2004 16:43:16 GMT
Organization: Columbia University
Lines: 42
Message-ID: <slrncnqb94.4a8.fdc@sesame.cc.columbia.edu>
References: <2f35e2b3.0410250649.23a55eca@posting.google.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1098722596 10002 128.59.59.56 (25 Oct 2004 16:43:16 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 25 Oct 2004 16:43:16 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15211

On 2004-10-25, Harvey <delgado_harvey@yahoo.com> wrote:
: Hi All,
: I am doing a ftp of files and for this first I am doing a cd to the
: target directory. The directory name is 'HD Test Folder' and the only
: way to change to this directory is using the following command:
:
: cd HD Test Folder
:
: When a try to use: cd "HD Test Folder" or cd {HD Test Folder} then I
: get and error saying is an invalid directory.
:
: What is the correct way to enclose the path having blank spaces.
:
Kermit sends what you type.  For example, if you type:

  cd HD Test Folder

it sends the FTP protocol command:

  CWD HD Test Folder

If you enclose the directory name in doublequotes, they are stripped:

  cd "HD Test Folder"
  CWD HD Test Folder

To force Kermit to send the doublequotes, use:

  cd ""HD Test Folder""
  CWD "HD Test Folder"

If this doesn't work, then maybe there is some other syntax the server will
accept but I can only guess what it might be.  For example:

  cd HD_Test_Folder
  cd HD%20Test%20Folder
  cd HD%%20Test%%20Folder

etc.  Also, if you can find out the "Windows short name" of the folder you
use do that instead of the long name.

- Frank

From j+usenet@2004.salmi.ch Wed Oct 27 13:11:40 2004
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsfeed.arcor.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: Jukka Salmi <j+usenet@2004.salmi.ch>
Newsgroups: comp.protocols.kermit.misc
Subject: abusing kermit for Xmodem uploads
Date: 27 Oct 2004 15:22:32 GMT
Lines: 72
Message-ID: <2u9spoF28kmiqU1@uni-berlin.de>
X-Trace: news.uni-berlin.de HPVq4ldQNrCTrRCBcRHueA9if+lVYz5kIoBGnXTUcgcxPWIDk=
User-Agent: slrn/0.9.8.0 (NetBSD)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15212

Hi,

I'm trying to do Xmodem uploads from a NetBSD 2.0 system to a
Soekris net4501 using kermit and lrzsz. I know how to do this
using tip(1)/cu(1) and lrzsz, but I'd like to achieve the same
using kermit. However, I've never used kermit before...

When using tip, I connect to the corresponding serial port, use
the "download" to put the net4501 in "receive mode", use tip's ~C
escape to fork a child process, and start uploading the file
with "lsz -X file".

How can I do this with kermit? So far I tried the following kermit
commands:

set protocol xmodem-crc download {} {lsx %s} {} {lrx %s} {}
set line /dev/tty00
set speed 9600
set carrier-watch off
set flow-control xon/xoff
send /binary file

but this fails:

Sending file, 608 blocks: Give your local XMODEM receive command now.
Xmodem sectors/kbytes sent:   0/ 0kRetry 0: Got 52 for sector ACK
Retry 0: NAK on sector
Retry 0: Got 20 for sector ACK
Retry 0: Cancelled

Transfer incomplete

*************************
SEND-class command failed.
 Packets sent: 0
 Retransmissions: 0
 Timeouts: 0
 Damaged packets: 0

HINTS... If the preceding error message does not explain the failure:
 . Did you start a Kermit receiver on the far end?
 . Try it again with SET STREAMING OFF.
 . Try it again with SET PARITY SPACE.
 . As a last resort, give a ROBUST command and try again.
Also:
 . Be sure the source file has read permission.
 . Be sure the target directory has write permission.
(Use SET HINTS OFF to suppress hints.)
*************************


A diff between stty outputs when using tip and when using kermit
gives:

$ diff tty00.kermit tty00.tip 
5,6c5,6
< iflags: -istrip -icrnl -inlcr -igncr ixon ixoff -ixany imaxbel ignbrk
<       brkint -inpck ignpar -parmrk
---
> iflags: -istrip -icrnl -inlcr -igncr ixon ixoff ixany imaxbel -ignbrk
>       brkint -inpck -ignpar -parmrk


Help is appreciated!

Regards, Jukka

[1] http://www.ohse.de/uwe/software/lrzsz.html

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~

From fdc@columbia.edu Wed Oct 27 13:12:48 2004
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: abusing kermit for Xmodem uploads
Date: 27 Oct 2004 17:12:33 GMT
Organization: Columbia University
Lines: 28
Message-ID: <slrncnvlo1.3tj.fdc@sesame.cc.columbia.edu>
References: <2u9spoF28kmiqU1@uni-berlin.de>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1098897153 21420 128.59.59.56 (27 Oct 2004 17:12:33 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 27 Oct 2004 17:12:33 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15213

On 2004-10-27, Jukka Salmi <j+usenet@2004.salmi.ch> wrote:
: I'm trying to do Xmodem uploads from a NetBSD 2.0 system to a
: Soekris net4501 using kermit and lrzsz. I know how to do this
: using tip(1)/cu(1) and lrzsz, but I'd like to achieve the same
: using kermit. However, I've never used kermit before...
:
: When using tip, I connect to the corresponding serial port, use
: the "download" to put the net4501 in "receive mode", use tip's ~C
: escape to fork a child process, and start uploading the file
: with "lsz -X file".
:
: How can I do this with kermit? So far I tried the following kermit
: commands:
:
: set protocol xmodem-crc download {} {lsx %s} {} {lrx %s} {}
: set line /dev/tty00
: set speed 9600
: set carrier-watch off
: set flow-control xon/xoff
: send /binary file
:
: but this fails:
:
Try telling Kermit to "set flow rts/cts" or (if that doesn't work)
"set flow none".  Xon/Xoff flow control is incompatible with Xmodem 
protocol.

- Frank

From robertls@nortelnetworks.com Tue Nov  2 14:36:29 2004
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!router1.news.adelphia.net!router3.news.adelphia.net!feed.100proofnews.com.MISMATCH!in.100proofnews.com!in.100proofnews.com!snoopy.risq.qc.ca!nrc-news.nrc.ca!utnut!qcarhaaa.nortelnetworks.com!bcarh189.ca.nortel.com!zcars0v6!not-for-mail
From: "Robert Simmons" <robertls@nortelnetworks.com>
Newsgroups: comp.protocols.kermit.misc
Subject: How to compile kermit w/o buffers???
Date: Tue, 2 Nov 2004 13:01:49 -0600
Organization: Nortel
Lines: 142
Message-ID: <cm8lit$n11$1@zcars0v6.ca.nortel.com>
NNTP-Posting-Host: robertls-1.us.nortel.com
X-Trace: zcars0v6.ca.nortel.com 1099422110 23585 47.102.125.229 (2 Nov 2004 19:01:50 GMT)
X-Complaints-To: hawkinsj@nortelnetworks.com
NNTP-Posting-Date: Tue, 2 Nov 2004 19:01:50 +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.protocols.kermit.misc:15214

Frank,

I got side tracked with other tasks and failed to copy the information you
sent on how to recompile the kermit with no buffers. Now the thread is no
longer available.  Can you please reply to me with your last correspondence
to the thread below?

Thanks in advance,

Robert





"Robert Simmons" <robertls@nortelnetworks.com> wrote in message news:...

> I tried the fork with the stdout and stdin unbuffered. But this had

> no effect. Probably because as you wrote the echos and help text

> output is buffered internally in kermit. Is there any way to flush

> the buffer for echo and help text? Or set it so that these are not

> buffered?

>

> Thanks for the advise on the script. I'll use it. The book I have is

> outdated. I'll use the website for more up to date info.

>

> As for the looping send: We are sending the same file as a soak test

> of the connection so we don't care about the content, just that the

> connection stays up and the transfers complete.

>

> Thanks,

> Robert

>

>

> "Frank da Cruz" <fdc@columbia.edu> wrote in message

> news:slrncnddme.qmr.fdc@sesame.cc.columbia.edu...

> > On 2004-10-20, Robert Simmons <robertls@nortelnetworks.com> wrote:

> > : I am not piping the output of two processes to one file. I tried

> > the

> piping

> > : of the output of only the kermit script to help debug the weird

> behaviour I

> > : was seeing in the output during the fork of the script from the

> > C++

> process.

> > :

> > : As you can see below the line "Hello and welcome to

> csd_send_script.ksc!"

> > : should be output well before "NO CARRIER" since it takes about 15

> seconds

> > : for NO CARRIER to be determined.

> > :

> > It's what I said: ECHO is buffered, whereas SET DIAL DISPLAY ON

> > output is not. By the way, Kermit has had FOR (and WHILE) loops for

> > many years, so you don't need the old SET COUNT / IF COUNT trick any

> > more:

> >

> > : set count \%5

> > ::loop

> > : echo Sending File. Transfer Count: \v(count)\10

> > : send \%6

> > : if success echo Send File #\v(count) complete\10

> > : if fail echo Failed Sending File #\v(count)

> > : if count goto loop

> >

> > Why are you sending the same file repeatedly? Something like this

> > looks more sensible:

> >

> > set flag off

> > for \%i 1 \%5 1 {

> > send \%6

> > if success break

> > echo "\%6: Failed - Try #\%i..."

> > }

> > if != \v(xferstatus) { ... } # 0 means success

> >

> > - Frank

>

>



From dold@XReXXHowXt.usenet.us.com Tue Nov  2 14:52:47 2004
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newspump.monmouth.com!newspeer.monmouth.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news-feed01.roc.ny.frontiernet.net!nntp.frontiernet.net!tdsnet-transit!newspeer.tds.net!gail.ripco.com!wasp.rahul.net!192.160.13.20.MISMATCH!rahul.net!not-for-mail
From: dold@XReXXHowXt.usenet.us.com
Newsgroups: comp.protocols.kermit.misc
Subject: Re: How to compile kermit w/o buffers???
Date: Tue, 2 Nov 2004 19:50:40 +0000 (UTC)
Organization: a2i network
Lines: 17
Sender: Clarence Dold <dold@green.rahul.net>
Message-ID: <cm8oeg$6fa$2@blue.rahul.net>
References: <cm8lit$n11$1@zcars0v6.ca.nortel.com>
NNTP-Posting-Host: green.rahul.net
X-Trace: blue.rahul.net 1099425040 6634 192.160.13.49 (2 Nov 2004 19:50:40 GMT)
X-Complaints-To: support@rahul.net
NNTP-Posting-Date: Tue, 2 Nov 2004 19:50:40 +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-30.7.legacysmp (i686))
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15215

Robert Simmons <robertls@nortelnetworks.com> wrote:
> Frank,

> I got side tracked with other tasks and failed to copy the information you
> sent on how to recompile the kermit with no buffers. Now the thread is no
> longer available.  Can you please reply to me with your last correspondence
> to the thread below?

http://makeashorterlink.com/?R29B11EA9
Google has a very long memory.


<http://groups.google.com/groups?group=comp.protocols.kermit.misc>

---
Clarence A Dold - Hidden Valley (Lake County) CA USA  38.8-122.5


From fdc@columbia.edu Tue Nov  2 14:52:51 2004
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: How to compile kermit w/o buffers???
Date: 2 Nov 2004 19:52:33 GMT
Organization: Columbia University
Lines: 44
Message-ID: <slrncofpc1.etl.fdc@sesame.cc.columbia.edu>
References: <cm8lit$n11$1@zcars0v6.ca.nortel.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1099425153 6784 128.59.59.56 (2 Nov 2004 19:52:33 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 2 Nov 2004 19:52:33 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15216

On 2004-11-02, Robert Simmons <robertls@nortelnetworks.com> wrote:
: I got side tracked with other tasks and failed to copy the information you
: sent on how to recompile the kermit with no buffers. Now the thread is no
: longer available.  Can you please reply to me with your last correspondence
: to the thread below?
:
I can't seem to find it either but anyway, in the Unix version of Kermit,
in the module ckutio.c, in routine concb(), nested within all sorts of
confusing sequences of #ifdefs, you'll see (in several places):

#ifndef NOSETBUF
    if (x > -1) {
	setbuf(stdout,NULL);    /* Make console unbuffered. */
	debug(F100,"concb setbuf B","",0);
    }
#endif /* NOSETBUF */

This has a long and convoluted history.  Briefly, on some platforms buffered
output could not be used for console i/o for various reasons, so a setbuf()
call was added.  But it soon developed that on certain other platforms,
unbuffered i/o could *not* be used because it was SOOOOOO SLOOOOOOOOOOOW, so
the NOSETBUF macro was added to select this feature at compile time, and then
-DNOSEBUF added as needed to different makefile entries.  Eventually the
platforms that needed the setbuf() call mostly vanished from the scene, so
#define SETBUF was added in the ckcdeb.h header file for most builds.  But
then it became necessary for other reasons to be able to undo the -DNOSEBUF
from the 'make' command line, so a second macro was added, -DNONOSETBUF.  So
first try this:

    make xxxxx "KFLAGS=-DNONOSETBUF"

If that works, fine.  If not, you'll have to see if the setbuf() call was
actually compiled and executed.  You can tell by starting Kermit with a debug
log:

    kermit -d

(just start it and exit).  Then look in the debug.log file for "concb setbuf".
If you find it then I would have to start wondering what setbuf() was good
for.  If you don't, then you'll have add a setbuf(stdout,NULL) call to
concb() someplace where it will actually be compiled.  Let me know what
happens.

- Frank

From G.Lambert@unsw.edu.au Thu Nov 11 09:58:16 2004
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!router1.news.adelphia.net!news-east.rr.com!news.rr.com!ngpeer.news.aol.com!feed1.newsreader.com!newsreader.com!news-out.visi.com!transit-1.news.visi.com!news1.optus.net.au!optus!news.usyd.edu.au!news.unsw.edu.au!not-for-mail
From: G.Lambert@unsw.edu.au (Geoff Lambert)
Newsgroups: comp.protocols.kermit.misc
Subject: Kermit file transfer changes date stamp from 2004 to 1980
Date: Wed, 10 Nov 2004 23:23:34 GMT
Organization: The University of New South Wales
Lines: 17
Message-ID: <4192a0f0.110158922@nntp.unsw.edu.au>
NNTP-Posting-Host: 149.171.240.45
X-Trace: tomahawk.unsw.edu.au 1100128666 20230 149.171.240.45 (10 Nov 2004 23:17:46 GMT)
X-Complaints-To: abuse@unsw.edu.au
NNTP-Posting-Date: Wed, 10 Nov 2004 23:17:46 +0000 (UTC)
X-Newsreader: Forte Free Agent 1.21/32.243
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15219

I transfer files acquired on a DOS machineDOS 6) onto a Windows
network, using Kermit, via a serial line, the Win machine runs Win98.

On both machines I run Kermit version 3.1.

I find that when I transfer files, the year in the date/time stamp
alters from 2004 on the DOS machine to 1980 when it arrives on the
Win98 machine. No other aspects of the time/date stamp alter- i.e. not
h:m:s or d:m... only the year. This doesn't happen when transferring
between two Win98 machines. It looks a bit like a Y2K problem.

Is there a setting somewhere that I can alter to rectify this?

Thanks

Geoff Lambert


From slash_dev_slash_null_2000@yahoo.com Thu Nov 11 09:58:20 2004
Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!4.24.21.218.MISMATCH!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!c13g2000cwb.googlegroups.com!not-for-mail
From: "Mark Sapiro" <slash_dev_slash_null_2000@yahoo.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit file transfer changes date stamp from 2004 to 1980
Date: 10 Nov 2004 21:23:50 -0800
Organization: http://groups.google.com
Lines: 22
Message-ID: <1100150630.654965.227550@c13g2000cwb.googlegroups.com>
References: <4192a0f0.110158922@nntp.unsw.edu.au>
NNTP-Posting-Host: 209.182.169.133
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1100150669 2996 127.0.0.1 (11 Nov 2004 05:24:29 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 11 Nov 2004 05:24:29 +0000 (UTC)
User-Agent: G2/0.2
Complaints-To: groups-abuse@google.com
Injection-Info: c13g2000cwb.googlegroups.com; posting-host=209.182.169.133;
   posting-account=iQNWIg0AAAAD2fStXNC9nwGlPdSqjWrI
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15221

Geoff Lambert wrote:
> I transfer files acquired on a DOS machineDOS 6) onto a Windows
> network, using Kermit, via a serial line, the Win machine runs Win98.
>
> On both machines I run Kermit version 3.1.

This may or may not be part of the problem. MS-Kermit 3.1 is ancient.
The "current" versions of MS-Kermit are 3.15 or 3.16 (as in
fifteen/sixteen, not one point five/six). Also, MS-Kermit is not
designed or recommended to be run under Win98.

See http://www.columbia.edu/kermit/mskermit.html which among other
things says

MS-DOS Kermit is not designed or intended for use in Windows 95, 98,
ME, NT,  2000, or XP, or OS/2. The recommended, supported, native,
and current Kermit  software for these operating systems is Kermit 95.

--
Mark Sapiro msapiro at value net      The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


From fred1968@free.fr Thu Nov 11 09:58:24 2004
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!proxad.net!infeed-2.proxad.net!news13-e.free.fr!not-for-mail
Reply-To: "Frederic" <fred1968@free.fr>
From: "Frederic" <fred1968@free.fr>
Newsgroups: comp.protocols.kermit.misc
Subject: How to use shell variable in a kermit shell script
Date: Thu, 11 Nov 2004 00:46:25 +0100
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
Lines: 11
Message-ID: <4192a867$0$9345$626a14ce@news.free.fr>
Organization: Guest of ProXad - France
NNTP-Posting-Date: 11 Nov 2004 00:46:48 MET
NNTP-Posting-Host: 82.232.210.28
X-Trace: 1100130408 news13-e.free.fr 9345 82.232.210.28:2029
X-Complaints-To: abuse@proxad.net
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15218

Hi,

In a kermit shell script doing FTP transfert, between 1 master server to 
many slave, I need to use values stored in shell environment variable. How 
can I do this?
Best regards,


frederic, 



From slash_dev_slash_null_2000@yahoo.com Thu Nov 11 09:58:26 2004
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!proxad.net!216.239.36.134.MISMATCH!postnews.google.com!f14g2000cwb.googlegroups.com!not-for-mail
From: "Mark Sapiro" <slash_dev_slash_null_2000@yahoo.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: How to use shell variable in a kermit shell script
Date: 10 Nov 2004 21:03:35 -0800
Organization: http://groups.google.com
Lines: 28
Message-ID: <1100149415.017612.185600@f14g2000cwb.googlegroups.com>
References: <4192a867$0$9345$626a14ce@news.free.fr>
NNTP-Posting-Host: 209.182.169.133
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1100149418 13859 127.0.0.1 (11 Nov 2004 05:03:38 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 11 Nov 2004 05:03:38 +0000 (UTC)
User-Agent: G2/0.2
Complaints-To: groups-abuse@google.com
Injection-Info: f14g2000cwb.googlegroups.com; posting-host=209.182.169.133;
   posting-account=iQNWIg0AAAAD2fStXNC9nwGlPdSqjWrI
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15220

Frederic wrote:
> Hi,
>
> In a kermit shell script doing FTP transfert, between 1 master server
to
> many slave, I need to use values stored in shell environment
variable. How
> can I do this?
> Best regards,

Do you mean a Kermit script? If so, in MS-Kermit, C-Kermit and
Kermit-95, the environment is accessible via \$(environment_variable).

For example:

[C:\Program Files\Kermit 95 2.1\] K-95> echo \$(temp)
C:\DOCUME~1\Owner\LOCALS~1\Temp
[C:\Program Files\Kermit 95 2.1\] K-95> echo \$(path)
C:\Tcl\bin;F:\CVS\ssh\ssh;c:\program files\kermit 95
2.1;c:\gnuwin32\bin;f:\bin;f:\m51;f:\m51\bin;f:\c51;f:\c51\bin;f:AST_C\progra~1\basic;C:\WINDOWS\system32;C:\WINDOWS;c:\gs\gs8.14\bin;c:\gs\gs8.14\lib;C:\Program
Files\Python;C:\WINDOWS\System32\Wbem;C:\Program files\PC-Doctor for
Windows XP\WINDSAPI
[C:\Program Files\Kermit 95 2.1\] K-95>

--
Mark Sapiro msapiro at value net      The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


From dold@XReXXKermi.usenet.us.com Fri Nov 12 12:20:14 2004
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!logbridge.uoregon.edu!news-feed01.roc.ny.frontiernet.net!nntp.frontiernet.net!nntp.giganews.com.MISMATCH!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!wn14feed!worldnet.att.net!209.244.4.230!newsfeed1.dallas1.level3.net!newsfeed2.dallas1.level3.net!news.level3.com!news.mainstreet.net!wasp.rahul.net!192.160.13.20.MISMATCH!rahul.net!not-for-mail
From: dold@XReXXKermi.usenet.us.com
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit file transfer changes date stamp from 2004 to 1980
Date: Thu, 11 Nov 2004 16:35:29 +0000 (UTC)
Organization: a2i network
Lines: 29
Sender: Clarence Dold <dold@green.rahul.net>
Message-ID: <cn04ch$f54$1@blue.rahul.net>
References: <4192a0f0.110158922@nntp.unsw.edu.au> <1100150630.654965.227550@c13g2000cwb.googlegroups.com>
NNTP-Posting-Host: green.rahul.net
X-Trace: blue.rahul.net 1100190929 15524 192.160.13.49 (11 Nov 2004 16:35:29 GMT)
X-Complaints-To: support@rahul.net
NNTP-Posting-Date: Thu, 11 Nov 2004 16:35:29 +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-30.7.legacysmp (i686))
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15222

Mark Sapiro <slash_dev_slash_null_2000@yahoo.com> wrote:
> Geoff Lambert wrote:
>> I transfer files acquired on a DOS machineDOS 6) onto a Windows
>> network, using Kermit, via a serial line, the Win machine runs Win98.
>>
>> On both machines I run Kermit version 3.1.

> This may or may not be part of the problem. MS-Kermit 3.1 is ancient.
> The "current" versions of MS-Kermit are 3.15 or 3.16 (as in
> fifteen/sixteen, not one point five/six). Also, MS-Kermit is not
> designed or recommended to be run under Win98.

MSKermit didn't play well with the IP stack of the modern Windows, and it
didn't like most winmodems, but on a serial link or even a proper modem,
MSKermit 3.16 works fine on Win98.

Around that time, I supported a lot of computers running MSKermit under Win
3.11, and a few under Win95.  The ones that needed TCP/IP were upgraded to
MSKermit95, but that was a high enough cost item that only a couple were
upgraded.

For an individual, I think an upgrade to Kermit95 is well worthwhile.
My problem currently is ppor scrolling amongst the dialer entries, and
trying to keep the names of machines straight ;-)


---
Clarence A Dold - Hidden Valley (Lake County) CA USA  38.8-122.5


From slash_dev_slash_null_2000@yahoo.com Mon Nov 15 12:41:29 2004
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!postnews.google.com!c13g2000cwb.googlegroups.com!not-for-mail
From: "Mark Sapiro" <slash_dev_slash_null_2000@yahoo.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: beginners problems
Date: 13 Nov 2004 17:52:25 -0800
Organization: http://groups.google.com
Lines: 43
Message-ID: <1100397145.238051.4410@c13g2000cwb.googlegroups.com>
References: <cn5ll6$ptc$1@news1.zwoll1.ov.home.nl>
NNTP-Posting-Host: 209.182.169.133
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1100397148 13133 127.0.0.1 (14 Nov 2004 01:52:28 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sun, 14 Nov 2004 01:52:28 +0000 (UTC)
User-Agent: G2/0.2
Complaints-To: groups-abuse@google.com
Injection-Info: c13g2000cwb.googlegroups.com; posting-host=209.182.169.133;
   posting-account=iQNWIg0AAAAD2fStXNC9nwGlPdSqjWrI
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15223

Roelof Wobben wrote:
>
> Im trying to make a connection from a win98 machine to a Win Xp
machine
> trough Kermit. But al what i try , no connections.
>
> When i use the dialer with a telnet or another template all i get is
no
> connection. The two computers are connected to each other trough a
router.
>
> How do i make a connection ?? I read all the faq en manuals but i
can't find
> the answer. Please help me.

What are you trying to connect to? If you are trying to Telnet from A
to B for example, you need a telnet demon listening on port 23 on B to
connect to.

If you want to do Kermit file transfers between A and B, you need a
Kermit on each machine - one connecting and one answering the connect.
You can use "host mode" or IKSD for the listener, but there are some
unresolved issues with IKSD.

The simplest way is to have a K95 on each machine and tell one to
listen on a port (e.g. 3000) and enter server mode upon connect with

set network type tcp
set host /server * 3000

and then connect from the other machine with

set network type tcp
set host xxxx 3000

where xxxx is either the name or the IP address of the other machine.
Then, after the second machine is connected, you can do rcd, rdir, get,
put, etc. to navigate and transfer files.

--
Mark Sapiro msapiro at value net      The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


From r.wobben2@home.nl Mon Nov 15 12:41:32 2004
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsfeed.arcor.de!news.belwue.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.vmunix.org!news2.euro.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!newsfeeder.wxs.nl!news.cambrium.nl!newshub2.home.nl!newshub1.home.nl!home.nl!not-for-mail
From: "Roelof Wobben" <r.wobben2@home.nl>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: beginners problems
Date: Sun, 14 Nov 2004 11:08:39 +0100
Organization: @Home Benelux
Lines: 54
Message-ID: <cn7aog$8bq$1@news2.zwoll1.ov.home.nl>
References: <cn5ll6$ptc$1@news1.zwoll1.ov.home.nl> <1100397145.238051.4410@c13g2000cwb.googlegroups.com>
NNTP-Posting-Host: cc63358-a.hnglo1.ov.home.nl
X-Trace: news2.zwoll1.ov.home.nl 1100426832 8570 82.75.162.143 (14 Nov 2004 10:07:12 GMT)
X-Complaints-To: usenet@corp.home.nl
NNTP-Posting-Date: Sun, 14 Nov 2004 10:07:12 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15224


"Mark Sapiro" <slash_dev_slash_null_2000@yahoo.com> schreef in bericht 
news:1100397145.238051.4410@c13g2000cwb.googlegroups.com...
> Roelof Wobben wrote:
>>
>> Im trying to make a connection from a win98 machine to a Win Xp
> machine
>> trough Kermit. But al what i try , no connections.
>>
>> When i use the dialer with a telnet or another template all i get is
> no
>> connection. The two computers are connected to each other trough a
> router.
>>
>> How do i make a connection ?? I read all the faq en manuals but i
> can't find
>> the answer. Please help me.
>
> What are you trying to connect to? If you are trying to Telnet from A
> to B for example, you need a telnet demon listening on port 23 on B to
> connect to.

Im trying to connect  machine A en B wih the reason that i will catch up the 
boot-messages of machine B.
With that i can hopefully find the reason why my keyboard is freezing on 
startup.


> If you want to do Kermit file transfers between A and B, you need a
> Kermit on each machine - one connecting and one answering the connect.
> You can use "host mode" or IKSD for the listener, but there are some
> unresolved issues with IKSD.
>
> The simplest way is to have a K95 on each machine and tell one to
> listen on a port (e.g. 3000) and enter server mode upon connect with
>
> set network type tcp
> set host /server * 3000
>
> and then connect from the other machine with
>
> set network type tcp
> set host xxxx 3000
>
> where xxxx is either the name or the IP address of the other machine.
> Then, after the second machine is connected, you can do rcd, rdir, get,
> put, etc. to navigate and transfer files.
>
> --
> Mark Sapiro msapiro at value net      The highway is for gamblers,
> San Francisco Bay Area, California    better use your sense - B. Dylan
> 



From r.wobben2@home.nl Mon Nov 15 12:41:36 2004
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsxfer.itd.umich.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!news.nl.colt.net!newsgate.cistron.nl!news.cambrium.nl!newshub2.home.nl!newshub1.home.nl!home.nl!not-for-mail
From: "Roelof Wobben" <r.wobben2@home.nl>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: beginners problems
Date: Sun, 14 Nov 2004 11:40:33 +0100
Organization: @Home Benelux
Lines: 79
Message-ID: <cn7ck9$8p5$1@news6.zwoll1.ov.home.nl>
References: <cn5ll6$ptc$1@news1.zwoll1.ov.home.nl> <1100397145.238051.4410@c13g2000cwb.googlegroups.com> <cn7aog$8bq$1@news2.zwoll1.ov.home.nl>
NNTP-Posting-Host: cc63358-a.hnglo1.ov.home.nl
X-Trace: news6.zwoll1.ov.home.nl 1100428746 8997 82.75.162.143 (14 Nov 2004 10:39:05 GMT)
X-Complaints-To: usenet@corp.home.nl
NNTP-Posting-Date: Sun, 14 Nov 2004 10:39:05 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15225

oke,

I tried it but with no succes,

On the Wind machine i did a :

set network type tcp
set host / server * 3000

on the Linux machine i changed the grub bootloader with the following :

serial --unit=0 --speed=9600 --word=8 --parity=no --stop=1

terminal --timeout=10 serial console

kernel ..... console-tty0 console-ttS0

What do i wrong ??

roelof

"Roelof Wobben" <r.wobben2@home.nl> schreef in bericht 
news:cn7aog$8bq$1@news2.zwoll1.ov.home.nl...
>
> "Mark Sapiro" <slash_dev_slash_null_2000@yahoo.com> schreef in bericht 
> news:1100397145.238051.4410@c13g2000cwb.googlegroups.com...
>> Roelof Wobben wrote:
>>>
>>> Im trying to make a connection from a win98 machine to a Win Xp
>> machine
>>> trough Kermit. But al what i try , no connections.
>>>
>>> When i use the dialer with a telnet or another template all i get is
>> no
>>> connection. The two computers are connected to each other trough a
>> router.
>>>
>>> How do i make a connection ?? I read all the faq en manuals but i
>> can't find
>>> the answer. Please help me.
>>
>> What are you trying to connect to? If you are trying to Telnet from A
>> to B for example, you need a telnet demon listening on port 23 on B to
>> connect to.
>
> Im trying to connect  machine A en B wih the reason that i will catch up 
> the boot-messages of machine B.
> With that i can hopefully find the reason why my keyboard is freezing on 
> startup.
>
>
>> If you want to do Kermit file transfers between A and B, you need a
>> Kermit on each machine - one connecting and one answering the connect.
>> You can use "host mode" or IKSD for the listener, but there are some
>> unresolved issues with IKSD.
>>
>> The simplest way is to have a K95 on each machine and tell one to
>> listen on a port (e.g. 3000) and enter server mode upon connect with
>>
>> set network type tcp
>> set host /server * 3000
>>
>> and then connect from the other machine with
>>
>> set network type tcp
>> set host xxxx 3000
>>
>> where xxxx is either the name or the IP address of the other machine.
>> Then, after the second machine is connected, you can do rcd, rdir, get,
>> put, etc. to navigate and transfer files.
>>
>> --
>> Mark Sapiro msapiro at value net      The highway is for gamblers,
>> San Francisco Bay Area, California    better use your sense - B. Dylan
>>
>
> 



From ishikawa@yk.rim.or.jp Mon Nov 15 12:41:40 2004
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!newsfeed.rim.or.jp!news.rim.or.jp!not-for-mail
From: ishikawa <ishikawa@yk.rim.or.jp>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: beginners problems
Date: Sun, 14 Nov 2004 22:42:33 +0900
Organization: Ye 'Ol Disorganized NNTPCache groupie
Lines: 12
Message-ID: <1100439753.715121@duron>
References: <cn5ll6$ptc$1@news1.zwoll1.ov.home.nl> <1100397145.238051.4410@c13g2000cwb.googlegroups.com> <cn7aog$8bq$1@news2.zwoll1.ov.home.nl> <cn7ck9$8p5$1@news6.zwoll1.ov.home.nl>
NNTP-Posting-Host: 39.70.150.220.ap.yournet.ne.jp
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.rim.or.jp 1100439755 45633 220.150.70.39 (14 Nov 2004 13:42:35 GMT)
X-Complaints-To: root@rim.or.jp
NNTP-Posting-Date: Sun, 14 Nov 2004 13:42:35 +0000 (UTC)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913
X-Accept-Language: ja, en-us, en
In-Reply-To: <cn7ck9$8p5$1@news6.zwoll1.ov.home.nl>
Cache-Post-Path: duron!unknown@localhost
X-Cache: nntpcache 3.0.1 (see http://www.nntpcache.org/)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15226


So you are trying to capture the boot message of machine B:

  - what OS's boot message are you going to capture?

  - Are you booting that OS using grub on machine B?

I think it would be much easier to connect machine A and B
directly with a serial cable rather than relying on TCP.
I doubt there are many OSs for PCs that can emits boot message via TCP 
connection.


From r.wobben2@home.nl Mon Nov 15 12:41:44 2004
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newspump.monmouth.com!newspeer.monmouth.com!newsgate.cistron.nl!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!newshub3.home.nl!newshub1.home.nl!home.nl!not-for-mail
From: "Roelof Wobben" <r.wobben2@home.nl>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: beginners problems
Date: Sun, 14 Nov 2004 14:57:30 +0100
Organization: @Home Benelux
Lines: 21
Message-ID: <cn7o5h$jq9$1@news2.zwoll1.ov.home.nl>
References: <cn5ll6$ptc$1@news1.zwoll1.ov.home.nl> <1100397145.238051.4410@c13g2000cwb.googlegroups.com> <cn7aog$8bq$1@news2.zwoll1.ov.home.nl> <cn7ck9$8p5$1@news6.zwoll1.ov.home.nl> <1100439753.715121@duron>
NNTP-Posting-Host: cc63358-a.hnglo1.ov.home.nl
X-Trace: news2.zwoll1.ov.home.nl 1100440561 20297 82.75.162.143 (14 Nov 2004 13:56:01 GMT)
X-Complaints-To: usenet@corp.home.nl
NNTP-Posting-Date: Sun, 14 Nov 2004 13:56:01 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15227


"ishikawa" <ishikawa@yk.rim.or.jp> schreef in bericht 
news:1100439753.715121@duron...
>
> So you are trying to capture the boot message of machine B:
>
>  - what OS's boot message are you going to capture?

Im trying to capture boot messages from a linux system.
>
>  - Are you booting that OS using grub on machine B?

Yes, I am
>
> I think it would be much easier to connect machine A and B
> directly with a serial cable rather than relying on TCP.
> I doubt there are many OSs for PCs that can emits boot message via TCP 
> connection.
> 



From ishikawa@yk.rim.or.jp Mon Nov 15 12:41:48 2004
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!torn!snoopy.risq.qc.ca!newsfeed.media.kyoto-u.ac.jp!newsfeed.rim.or.jp!news.rim.or.jp!not-for-mail
From: ishikawa <ishikawa@yk.rim.or.jp>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: beginners problems
Date: Tue, 16 Nov 2004 01:55:32 +0900
Organization: Ye 'Ol Disorganized NNTPCache groupie
Lines: 221
Message-ID: <4198DF84.8020406@yk.rim.or.jp>
References: <cn5ll6$ptc$1@news1.zwoll1.ov.home.nl> <1100397145.238051.4410@c13g2000cwb.googlegroups.com> <cn7aog$8bq$1@news2.zwoll1.ov.home.nl> <cn7ck9$8p5$1@news6.zwoll1.ov.home.nl> <1100439753.715121@duron> <cn7o5h$jq9$1@news2.zwoll1.ov.home.nl>
NNTP-Posting-Host: 102.83.150.220.ap.yournet.ne.jp
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: news.rim.or.jp 1100537736 91028 220.150.83.102 (15 Nov 2004 16:55:36 GMT)
X-Complaints-To: root@rim.or.jp
NNTP-Posting-Date: Mon, 15 Nov 2004 16:55:36 +0000 (UTC)
To: Roelof Wobben <r.wobben2@home.nl>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913
X-Accept-Language: ja, en-us, en
In-Reply-To: <cn7o5h$jq9$1@news2.zwoll1.ov.home.nl>
Cache-Post-Path: duron!unknown@localhost
X-Cache: nntpcache 3.0.1 (see http://www.nntpcache.org/)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15228

Roelof Wobben wrote:
> "ishikawa" <ishikawa@yk.rim.or.jp> schreef in bericht 
> news:1100439753.715121@duron...
> 
>>So you are trying to capture the boot message of machine B:
>>
>> - what OS's boot message are you going to capture?
> 
> 
> Im trying to capture boot messages from a linux system.
> 
>> - Are you booting that OS using grub on machine B?
> 
> 
> Yes, I am
> 
>>I think it would be much easier to connect machine A and B
>>directly with a serial cable rather than relying on TCP.
>>I doubt there are many OSs for PCs that can emits boot message via TCP 
>>connection.
>>
> 


I am not familiar with grub, but I doubt if it can emit message with TCP
during boot. So I think you definitely should use kermit.

So I think you should prepare a so called NULL modem cable to
connect machine A and machine B (linux).

- Using grub, you should add "debug" command option to linux kernel
  because otherwise no boot message is diverted serial line if I am not
  mistaken.

The reason was explained by a kind poster when I had trouble booting
2.6.9-rc2 (it turns out there was a bug in tmpfs support, which was
subsequently fixed).

To quote a private message:

> that you do not see all messages is probably caused by console logging
> code - /dev/console logs only messages which have priority above
> console_loglevel...	

> ... [a slight omission] ...

> 
> After system boot console_loglevel is visible/changeable through
> /proc/sys/kernel/print - first number in this file is console_loglevel.
> 
> Default value is 7 - which blocks KERN_DEBUG messages.  If you boot
> with 'debug' kernel option, console_loglevel is set to 10, providing
> you with *all* messages (and for completness if you boot with 'quiet',
> you'll get only really serious messages, with priority 4 or higher).
> 
> So I think that document you were reading should say:
> 
> 4. To see ALL THE CONSOLE MESSAGES during boot on the TARGET
> 
> Boot kernel on target with debug option, like
> 
> loadlin 269rc2 console=ttyS0,9600n8 debug

This was for using loadin, another bootloader that is invoked from DOS.


Below is a short memo I concoted after hearing a few tips from mailing
list and from a private e-mail.

This gives you a general idea of how to capture boot message from linux.

I think you might be able to fill in the details.
I am using a different boot loader and so not quite familiar with
how to use grab's feature.


PS: Note on serial console setup with loadlin.

I studied the excellent guide posted to linux-kernel in August, 2003
regarding how to set up the serial console.

However, I am using LOADLIN and this boot utiltiy seems to
require a certain modification to the setup mentioned in the post.
(The post assumed "lilo").

Also, the linking of /dev/console to /dev/ttyS0 is not quite correct
according to the later tips I obtained. (I explained it above in this
post.)

The doc below assumes cu to capture the boot message, but you can
certainly use kermit and that is what I would have done.

--- quote from the post and my comment ---

>      Your need a NULL modem serial cable available
>      from any computer store.
>
>    Install uucp - I use on the HOST :
>
>    uucp-1.06.1-33.7.2.
>
>    Also , LILO is broken on some machines and ignores
>    serial input so make sure you use at least
>
>    lilo-21.6-71
>
>    On the TARGET
>
>    1. Connect the serial ports together ( COM1->COM1 ) with
>    the serial cable .
>
>    2. Modify LILO to use serial line on the TARGET
>    add to lilo.conf:
>       append="console=ttyS0,9600n8  console=tty0 "
>       serial=0,9600N8
>
>    Run lilo

CI's comment starts here: I use loadlin and so
needed to change this part for loadlin
and kernel 2.4.22 as follows. [I tested the serial
console setup under 2.4.22 and it took me a long time to set this up.]

I needed to omit console=tty0 portion for testing the setup under 2.4.22.
If the second console= part is present, the initial portion shown
on the screen namely,

  BIOS-provided physical RAM map:
   BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
   ... omitted ..

disappeared somewhere and not seen on the CRT of the original PC
nor on the serial console screen. They simply disappeared and
so the setup was useless! (All I got was the login prompt: after a while.)

Under 2.4.22, if I remove the later command options, and use a command
line like this, (omitting console=tty0 serial=0,9600N8. serial=
... must be a command option to "lilo" itself.)

loadlin lin2422.ip6 root=/dev/sda6 ro vga=3 scsihosts=sym53c8xx:tmscsim
console=ttyS0,9600n8

I DID get a partial portion of the messages originally shown on the
original PC on the serial console, but only partially.  ONLY the
messages AFTER `init' starts are shown on serial console.  So
"BIOS-provided ..." message lines and those many lines that follow
until `init' starts are not shown.  Why? I have no idea.

(CI's comment in 2004: maybe this has something to do with "debug" option I
explained above.)

However, it turns out 2.6.0-test10 handles the kernel message
output to serial console in a slightly different manner, and
"BIOS-provided ..." messages and all lines that follow are dumped to serial
console immediately without any problem after
my setup [ step 4 below included ].

Again I have no idea why, but as you can see in
the attached log, the serial console for message dumping purposes
seems to work just fine with 2.6.0-test10.  (In any case,
/etc/syslog.conf DID have kern.* /dev/ttyS0 for the log.)

>    3. Add to /etc/inittab on the HOST
>
>       S0:s12345:respawn:/sbin/agetty 9600 ttyS0
>
>    4. To see ALL THE CONSOLE MESSAGES during boot on the TARGET
>
*>    mv /dev/console /dev/console.org
*>    ln  /dev/ttyS0 /dev/console

The above is not quite the correct way according to the later tip
which I mentioned above.
You should add "debug" and every console message should appear
on /dev/ttyS0. You don't have to rename and link /dev/cosole to
/dev/ttyS0.

CI's comment: If you DO want to rename
the /dev/console as in the original post marked with "*",
this had to be done AFTER disabling devfs and rebooting
2.4.22 on my PC.  (for obvious reasons to those who use devfs. /dev
directory after devfsd is invoked is a "virtual directory" and mv and
other modifications are NOT allowed.)


>    5. Start uucp on the HOST:
>
>     cu -l /dev/ttyS0 -s 9600
>

    My second PC is a window98 PC. I disabled the TTY ports
    on that PC long time ago, and so it took me a while
    to enable the tty ports, and configure it under win98.
    Hyperterminal happily tries to open non-functioning com1 and
    com2 ports and simply crashed under that platform and so
    it took me a while to figure out that the tty ports were not
    configured at all!

    I was afraid that win98 PC was not fast enough to capture all
    the boot message, but it was.

    A kermit on a second linux PC should be satisfactory.

>    6. Boot your target
>
>    ///
>
>    John Donnelly AT HP DOT com
--- end quote ---


There are some issues like
 - using the right cable (NULL modem cable)
 - making sure that you get the correct tty port on the back of
   the computer. They can be incorrect easily.
 - The syntax of specifying tty port is very different from one
   bootloader to the other, and
 - different major linux version seems to handle console logging
   slightly differently (or not).

So a little experimentaion probably will be necessary.

