From fdc@columbia.edu Wed Apr  9 15:54:46 EDT 2003
Article: 14214 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.os.linux.misc,comp.os.linux.networking,comp.os.linux.security,comp.protocols.kermit.misc
Subject: ANNOUNCE: C-Kermit included with Red Hat 9.0
Date: 9 Apr 2003 15:51:30 -0400
Organization: Columbia University
Lines: 74
Message-ID: <b71tk2$a19$1@watsol.cc.columbia.edu>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1049917893 9741 128.59.39.139 (9 Apr 2003 19:51:33 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 9 Apr 2003 19:51:33 GMT
Xref: newsmaster.cc.columbia.edu comp.os.linux.misc:588545 comp.os.linux.networking:418029 comp.os.linux.security:59832 comp.protocols.kermit.misc:14214


I'm happy to announce that C-Kermit is now included with the basic
Red Hat Linux distribution.  This means that Red Hat Linux users will
no longer have to download, install, and configure it themselves.

Red Hat 9.0, just released, includes C-Kermit 8.0.206 as /usr/bin/kermit.
This is a fully configured version including Kerberos and SSL/TLS
security, ready to run -- just type "kermit" at the shell prompt to start
it and type "help" at the C-Kermit> prompt to get started.

Use C-Kermit to:

 . Make secure or clear-text Telnet connections.
 . Make secure or clear-text FTP connections.
 . Make secure or clear-text HTTP connections.

(Security methods include SSL/TLS, Kerberos IV, and Kerberos V.)

 . Make directly dialed modem connections.
 . Make serial-port null-modem connections.
 . Make RFC 2217 Telnet Com-Port connections.
 . Have online text-mode terminal sessions with other computers,
   services, or devices.
 . Transfer files with Kermit or FTP protocol.
 . Capture or transmit files with "ascii" protocol.
 . Transfer files with external protocols such as rz/sz.
 . Convert character sets (now including Unicode) on terminal
   connections and in text-mode file Kermit or FTP transfer.
 . Send numeric or alphanumeric (TAP/IXO) pages.
 . Manage local files.
 . Manage remote files on Kermit or FTP client/server connections.

Red Hat characterizes C-Kermit as "The quintessential all-purpose
communications program":

  http://www.redhat.com/software/linux/technical/packages.html

It embodies the functions of a host of other packages (ftp, telnet, cu,
minicom, find, grep, ls, iconv, recode, expect, wget, etc) into a single
consistent package with an integrated command and scripting language,
allowing you to automate any communication or file-transfer or management
task you could do by hand in a platform- and transport-independent
manner, thus allowing rapid prototyping and development of complicated
and/or secure procedures with decision-making capabilities, hooks into
the file system, the transport medium and protocol, and so on.

C-Kermit also can use your external SSH client as a transport, thus
allowing in-band file transfer, character-set conversion, and scripting
on SSH connections.  And C-Kermit can be configured as an SSH subsystem
on the server side, offering a more-powerful alternative to SCP and SFTP,
especially across platforms.  It can even be an Internet file-transfer
and management service in its own right, as described in RFCs 2839 and 2840.

Links:

  http://www.columbia.edu/kermit/                 The Kermit Project
  http://www.columbia.edu/kermit/ckermit.html     C-Kermit Home Page
  http://www.columbia.edu/kermit/ckspecs.html     Specifications
  http://www.columbia.edu/kermit/ckututor.html    Tutorial
  http://www.columbia.edu/kermit/ckfaq.html       FAQ
  http://www.columbia.edu/kermit/ckscripts.html   Script library
  http://www.columbia.edu/kermit/ftpclient.html   FTP client overview
  http://www.columbia.edu/kermit/ftpscripts.html  FTP scripting tutorial
  http://www.columbia.edu/kermit/security.html    Security reference
  http://www.columbia.edu/kermit/iksd.html        Internet Kermit Service
  http://www.columbia.edu/kermit/k95.html         Windows version of Kermit

In Red Hat Linux 9.0, type "man kermit" for an introduction (the man page
is the same as the C-Kermit tutorial on the Kermit website).

Frank da Cruz
The Kermit Project
Columbia University
New York City


From nkadel@verizon.net Thu Apr 10 12:57:32 EDT 2003
Article: 14215 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!newsfeed.stueberl.de!cox.net!cyclone1.gnilink.net!spamkiller2.gnilink.net!nwrdny02.gnilink.net.POSTED!53ab2750!not-for-mail
Message-ID: <3E94E734.8080700@verizon.net>
From: Nico Kadel-Garcia <nkadel@verizon.net>
User-Agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.os.linux.misc,comp.os.linux.networking,comp.os.linux.security,comp.protocols.kermit.misc
Subject: Re: ANNOUNCE: C-Kermit included with Red Hat 9.0
References: <b71tk2$a19$1@watsol.cc.columbia.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 19
Date: Thu, 10 Apr 2003 03:38:34 GMT
NNTP-Posting-Host: 151.203.22.73
X-Complaints-To: abuse@verizon.net
X-Trace: nwrdny02.gnilink.net 1049945914 151.203.22.73 (Wed, 09 Apr 2003 23:38:34 EDT)
NNTP-Posting-Date: Wed, 09 Apr 2003 23:38:34 EDT
Xref: newsmaster.cc.columbia.edu comp.os.linux.misc:588585 comp.os.linux.networking:418065 comp.os.linux.security:59848 comp.protocols.kermit.misc:14215

Frank da Cruz wrote:
> I'm happy to announce that C-Kermit is now included with the basic
> Red Hat Linux distribution.  This means that Red Hat Linux users will
> no longer have to download, install, and configure it themselves.
> 
> Red Hat 9.0, just released, includes C-Kermit 8.0.206 as /usr/bin/kermit.
> This is a fully configured version including Kerberos and SSL/TLS
> security, ready to run -- just type "kermit" at the shell prompt to start
> it and type "help" at the C-Kermit> prompt to get started.
> 

Yay, huzzah, huzzah!  I was sick to death of having to rebuild Kermit 
RPM's and rebuild and install them locally. Unfortunately, there is no 
such thing as "Red Hat 9.0". It's "RedHat 9". "RedHat" is the company 
name as well as the release name, and as near as I can tell RedHat got 
tired of the bad (and well-deserved) reputation that their "*.0" 
releases had for being unusable, and bit the bullet and came up with a 
new numbering scheme.



From kasperd@daimi.au.dk Thu Apr 10 12:57:37 EDT 2003
Article: 14216 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!news.tele.dk!news.tele.dk!small.news.tele.dk!uninett.no!news.net.uni-c.dk!not-for-mail
From: Kasper Dupont <kasperd@daimi.au.dk>
Newsgroups: comp.os.linux.misc,comp.os.linux.networking,comp.os.linux.security,comp.protocols.kermit.misc
Subject: Re: ANNOUNCE: C-Kermit included with Red Hat 9.0
Date: Thu, 10 Apr 2003 12:19:44 +0200
Organization: daimi.au.dk
Lines: 14
Message-ID: <3E954540.DB1ECB8C@daimi.au.dk>
References: <b71tk2$a19$1@watsol.cc.columbia.edu> <3E94E734.8080700@verizon.net>
NNTP-Posting-Host: chef.daimi.au.dk
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news.net.uni-c.dk 1049969984 11340 130.225.17.171 (10 Apr 2003 10:19:44 GMT)
X-Complaints-To: usenet@news.net.uni-c.dk
NNTP-Posting-Date: Thu, 10 Apr 2003 10:19:44 +0000 (UTC)
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.18-19.7.x i686)
X-Accept-Language: en
Xref: newsmaster.cc.columbia.edu comp.os.linux.misc:588613 comp.os.linux.networking:418084 comp.os.linux.security:59850 comp.protocols.kermit.misc:14216

Nico Kadel-Garcia wrote:
> 
> "RedHat" is the company
> name as well as the release name, and as near as I can tell RedHat got
> tired of the bad (and well-deserved) reputation that their "*.0"
> releases had for being unusable, and bit the bullet and came up with a
> new numbering scheme.

7.3 -> 8.0 -> 9 what will the next be? 9.0, 9.1, 10, 10.0, 10.1?

-- 
Kasper Dupont -- der bruger for meget tid på usenet.
For sending spam use mailto:aaarep@daimi.au.dk
for(_=52;_;(_%5)||(_/=5),(_%5)&&(_-=2))putchar(_);


From nkadel@verizon.net Thu Apr 10 12:57:41 EDT 2003
Article: 14217 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!newsfeed.vmunix.org!newsfeed01.sul.t-online.de!t-online.de!news.csl-gmbh.net!news-out.nuthinbutnews.com!propagator2-sterling!news-in.nuthinbutnews.com!cyclone1.gnilink.net!spamkiller2.gnilink.net!nwrdny02.gnilink.net.POSTED!53ab2750!not-for-mail
Message-ID: <3E954CA3.9060803@verizon.net>
From: Nico Kadel-Garcia <nkadel@verizon.net>
User-Agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.os.linux.misc,comp.os.linux.networking,comp.os.linux.security,comp.protocols.kermit.misc
Subject: Re: ANNOUNCE: C-Kermit included with Red Hat 9.0
References: <b71tk2$a19$1@watsol.cc.columbia.edu> <3E94E734.8080700@verizon.net> <3E954540.DB1ECB8C@daimi.au.dk>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 16
Date: Thu, 10 Apr 2003 10:51:34 GMT
NNTP-Posting-Host: 151.203.22.73
X-Complaints-To: abuse@verizon.net
X-Trace: nwrdny02.gnilink.net 1049971894 151.203.22.73 (Thu, 10 Apr 2003 06:51:34 EDT)
NNTP-Posting-Date: Thu, 10 Apr 2003 06:51:34 EDT
Xref: newsmaster.cc.columbia.edu comp.os.linux.misc:588615 comp.os.linux.networking:418086 comp.os.linux.security:59851 comp.protocols.kermit.misc:14217

Kasper Dupont wrote:
> Nico Kadel-Garcia wrote:
> 
>>"RedHat" is the company
>>name as well as the release name, and as near as I can tell RedHat got
>>tired of the bad (and well-deserved) reputation that their "*.0"
>>releases had for being unusable, and bit the bullet and came up with a
>>new numbering scheme.
> 
> 
> 7.3 -> 8.0 -> 9 what will the next be? 9.0, 9.1, 10, 10.0, 10.1?
> 

I have no idea. Maybe they could call it "RedHat 2000"? Or "Red 
Glowlaris", for those of us who remember the SunOS/Solaris misnaming?



From hal@foobox.net Thu Apr 10 12:57:57 EDT 2003
Article: 14218 of comp.protocols.kermit.misc
Newsgroups: comp.os.linux.misc,comp.os.linux.networking,comp.os.linux.security,comp.protocols.kermit.misc
From: Hal Burgiss <hal@burgiss.net>
Subject: Re: ANNOUNCE: C-Kermit included with Red Hat 9.0
References: <b71tk2$a19$1@watsol.cc.columbia.edu> <3E94E734.8080700@verizon.net> <3E954540.DB1ECB8C@daimi.au.dk>
Reply-To: Hal Burgiss <hal@foobox.net>
Followup-To: comp.os.linux.security
Organization: Earthlings for an Alpha Particle free universe.
Message-ID: <slrnb9aq91.h7k.hal@feenix.burgiss.net>
User-Agent: slrn/0.9.7.3 (Linux)
X-Original-NNTP-Posting-Host: 127.0.0.1
Date: 10 Apr 2003 08:52:49 -0400
X-Original-Trace: 10 Apr 2003 08:52:49 -0400, 127.0.0.1
Lines: 12
NNTP-Posting-Host: loudsl01.4.0.5.189.iglou.com
X-Original-NNTP-Posting-Host: loudsl01.4.0.5.189.iglou.com
X-Trace: news.iglou.com 1049979171 loudsl01.4.0.5.189.iglou.com (10 Apr 2003 08:52:51 -0400)
X-Original-NNTP-Posting-Host: 64.253.101.55
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!nntp1.roc.gblx.net!nntp.gblx.net!nntp.gblx.net!news-out.visi.com!petbe.visi.com!uunet!ash.uu.net!sac.uu.net!news.iglou.com!localhost
Xref: newsmaster.cc.columbia.edu comp.os.linux.misc:588626 comp.os.linux.networking:418094 comp.os.linux.security:59853 comp.protocols.kermit.misc:14218

On Thu, 10 Apr 2003 12:19:44 +0200, Kasper Dupont <kasperd@daimi.au.dk> wrote:
> 
> 7.3 -> 8.0 -> 9 what will the next be? 9.0, 9.1, 10, 10.0, 10.1?

According to their announced intentions, it will be 9 -> 10 -> 11 -> 12,
etc. This is for "Red Hat Linux". What people are missing is the shift
in emphasis for businesses to the "Red Hat Enterprise Linux" line
(mucho more expensive). 

-- 
Hal Burgiss
 


From ynotssor Thu Apr 10 12:58:04 EDT 2003
Article: 14219 of comp.protocols.kermit.misc
From: "ynotssor" <"ynotssor">
Newsgroups: comp.os.linux.misc,comp.os.linux.networking,comp.os.linux.security,comp.protocols.kermit.misc
References: <b71tk2$a19$1@watsol.cc.columbia.edu> <3E94E734.8080700@verizon.net> <3E954540.DB1ECB8C@daimi.au.dk>
Subject: Re: ANNOUNCE: C-Kermit included with Red Hat 9.0
Date: Thu, 10 Apr 2003 08:02:20 -0700
Lines: 15
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 63.164.115.154
Message-ID: <3e95884a_1@corp.newsgroups.com>
X-Trace: corp.newsgroups.com 1049987146 63.164.115.154 (10 Apr 2003 10:05:46 -0500)
X-Comments: This message was posted through Newsfeeds.com
X-Comments2: IMPORTANT: Newsfeeds.com does not condone, nor support,  spam or any illegal or copyrighted postings.
X-Comments3: IMPORTANT: Under NO circumstances will postings containing illegal or copyrighted material through this service be tolerated!!
X-Report: Please report illegal or inappropriate use to <abuse@newsfeeds.com>
X-Abuse-Info: Please be sure to forward a copy of ALL headers, INCLUDING the body (DO NOT SEND ATTACHMENTS)
Organization: Newsfeeds.com http://www.newsfeeds.com 100,000+ UNCENSORED Newsgroups.
Path: newsmaster.cc.columbia.edu!panix!news.linkpendium.com!nntp-relay.ihug.net!ihug.co.nz!news-out.newsfeeds.com!l2!corp.newsgroups.com!not-for-mail
Xref: newsmaster.cc.columbia.edu comp.os.linux.misc:588640 comp.os.linux.networking:418099 comp.os.linux.security:59857 comp.protocols.kermit.misc:14219

"Kasper Dupont" <kasperd@daimi.au.dk> quoted and wrote in message
news:3E954540.DB1ECB8C@daimi.au.dk 

>> "RedHat" is the company
>> name as well as the release name, and as near as I can tell RedHat got
>> tired of the bad (and well-deserved) reputation that their "*.0"
>> releases had for being unusable, and bit the bullet and came up with a
>> new numbering scheme.
> 
> 7.3 -> 8.0 -> 9 what will the next be? 9.0, 9.1, 10, 10.0, 10.1?

RedHat IX.I

-- 
use hotmail.com for any email replies


-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----==  Over 80,000 Newsgroups - 16 Different Servers! =-----


From fdc@hazelnut.cc.columbia.edu Fri Apr 18 09:23:24 EDT 2003
Article: 14221 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news-not-for-mail
From: fdc@hazelnut.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: ckermit on HPUX11.
Date: 18 Apr 2003 09:23:20 -0400
Organization: Columbia University
Lines: 15
Message-ID: <b7ou88$dpq$1@hazelnut.cc.columbia.edu>
References: <c30aaa81.0304180518.3a35503b@posting.google.com>
NNTP-Posting-Host: hazelnut.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1050672201 5229 128.59.59.162 (18 Apr 2003 13:23:21 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 18 Apr 2003 13:23:21 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14221

In article <c30aaa81.0304180518.3a35503b@posting.google.com>,
Eric <ericboniface@chez.com> wrote:
: I try to make c-kermit under HPUX11 with Openssl and I have the
: following message.
: Did someone succeed in making kermit on this system with SSL ? 
: 
Which version of C-Kermit are you trying to build?
The one you want is 8.0.209:

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

Which makefile target did you use?  The one you want is hpux1100o+openssl.
It requires the ANSI C (unbundled) optimizing compiler.

- Frank


From richg@mav-mail.com Fri Apr 18 17:54:07 EDT 2003
Article: 14222 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!newsfeed.icl.net!newsfeed.fjserv.net!newspump.monmouth.com!newspeer.monmouth.com!cyclone.bc.net!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: richg@mav-mail.com (Rich)
Newsgroups: comp.protocols.kermit.misc
Subject: can't condition console terminal
Date: 18 Apr 2003 12:34:22 -0700
Organization: http://groups.google.com/
Lines: 103
Message-ID: <36aaffea.0304181134.3b7b004b@posting.google.com>
NNTP-Posting-Host: 208.178.167.107
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1050694463 1170 127.0.0.1 (18 Apr 2003 19:34:23 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 18 Apr 2003 19:34:23 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14222

Hello all,

Having much trouble trying to convert a kermit script from serial to
IP. When I try to execute these two commands in my script:

    set host /userid:eralink <host>
    connect

I get:

   Sorry, can't condition console terminal

I printed out a bunch of debug info. (it follows). Getting pretty
frustrated and would love some insight ... Note that I changed the
actualy hostname/IP for privacy issues.

Thanks if advance.

 Trying <hostname>...  Reverse DNS Lookup... (OK)
 <hostname> connected on port telnet
TELNET SENT WILL AUTHENTICATION
TELNET SENT WILL NAWS
TELNET SENT WILL TERMINAL-TYPE
TELNET SENT WILL NEW-ENVIRONMENT
TELNET SENT WILL COM-PORT-CONTROL
<wait for outstanding negotiations>
TELNET RCVD DO TERMINAL-TYPE
TELNET RCVD DO TSPEED
TELNET SENT WONT TSPEED
TELNET RCVD DO XDISPLOC
TELNET SENT WONT XDISPLOC
TELNET RCVD DO NEW-ENVIRONMENT
TELNET RCVD DONT AUTHENTICATION
TELNET RCVD DO NAWS
TELNET RCVD DONT COM-PORT-CONTROL
<no outstanding negotiations>
TELNET SENT SB NAWS 148 63 IAC SE
TELNET SENT DO KERMIT
TELNET SENT WILL KERMIT
<wait for outstanding negotiations>
TELNET RCVD SB NEW-ENVIRONMENT SEND  IAC SE
TELNET RCVD SB TERMINAL-TYPE SEND  IAC SE
TELNET RCVD WONT KERMIT
TELNET RCVD DONT KERMIT
<no outstanding negotiations>
TELNET SENT SB TERMINAL-TYPE IS VT100 IAC SE
TELNET SENT SB NEW-ENVIRONMENT IS VAR USER VALUE eralink VAR
SYSTEMTYPE VALUE UNIX IAC SE

Network directory: (none)
SSH COMMAND: ssh -e none

Supported networks:
 TCP/IP

SET TCP parameters:
 Reverse DNS lookup: automatic
 DNS Service Records lookup: off
 Keepalive: on
 Linger: off
 DontRoute: off
 Nodelay: off
 Send buffer: 16384 bytes
 Receive buffer: 87380 bytes
 address: (none)
 http-proxy: (none)

SET TELNET parameters:
 echo: local
 NVT newline-mode: on (cr-lf)
 authentication: accepted    in use: NULL
  credentials forwarding disabled
 encryption: refused         in use: plain text in both directions
 kermit: u, requested; me, requested;  u, n/a me, n/a;
 BINARY newline-mode: raw (cr)
 binary-mode: u, accepted;  me, accepted; u, NVT; me, NVT
 binary-transfer-mode: off
 bug binary-me-means-u-too: off
 bug binary-u-means-me-too: off
 bug sb-implies-will-do: on
 terminal-type: none (vt100 will be used)
 environment: on
   ACCOUNT: 
   DISPLAY: 
   JOB    : 
   PRINTER: 
   USER   : eralink
   SYSTEM : UNIX
  LOCATION: 
 .Xauthority-file: /root/.Xauthority

Active network connection:
 Host: <hostname> [<IP>], via: tcp/ip
 TELNET protocol
 Echoing is currently local

Connecting to host <hostname>:23.
The escape character is Ctrl-\ (ASCII 28, FS)
Type the escape character followed by C to get back,
or followed by ? to see other options.
Sorry, can't condition console terminal
end
TELNET SENT DO LOGOUT


From fdc@hazelnut.cc.columbia.edu Fri Apr 18 17:56:29 EDT 2003
Article: 14223 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news-not-for-mail
From: fdc@hazelnut.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: can't condition console terminal
Date: 18 Apr 2003 17:56:24 -0400
Organization: Columbia University
Lines: 21
Message-ID: <b7psa8$bue$1@hazelnut.cc.columbia.edu>
References: <36aaffea.0304181134.3b7b004b@posting.google.com>
NNTP-Posting-Host: hazelnut.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1050702984 868 128.59.59.162 (18 Apr 2003 21:56:24 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 18 Apr 2003 21:56:24 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14223

In article <36aaffea.0304181134.3b7b004b@posting.google.com>,
Rich <richg@mav-mail.com> wrote:
: Having much trouble trying to convert a kermit script from serial to
: IP. When I try to execute these two commands in my script:
: 
:     set host /userid:eralink <host>
:     connect
: 
: I get:
: 
:    Sorry, can't condition console terminal
: 
Because you should be using INPUT and OUTPUT instead of CONNECT?
See:

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

If you really want the script to enter terminal mode, the script has to 
be run on a real terminal device, not as a cron job or whatever.

- Frank


From ericboniface@chez.com Tue Apr 22 10:05:28 EDT 2003
Article: 14225 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: ericboniface@chez.com (Eric)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: ckermit on HPUX11.
Date: 22 Apr 2003 06:42:08 -0700
Organization: http://groups.google.com/
Lines: 21
Message-ID: <c30aaa81.0304220542.1af3b1ab@posting.google.com>
References: <c30aaa81.0304180518.3a35503b@posting.google.com> <b7ou88$dpq$1@hazelnut.cc.columbia.edu>
NNTP-Posting-Host: 195.115.61.15
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1051018928 26917 127.0.0.1 (22 Apr 2003 13:42:08 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 22 Apr 2003 13:42:08 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14225

fdc@hazelnut.cc.columbia.edu (Frank da Cruz) wrote in message news:<b7ou88$dpq$1@hazelnut.cc.columbia.edu>...
> In article <c30aaa81.0304180518.3a35503b@posting.google.com>,
> Eric <ericboniface@chez.com> wrote:
> : I try to make c-kermit under HPUX11 with Openssl and I have the
> : following message.
> : Did someone succeed in making kermit on this system with SSL ? 
> : 
> Which version of C-Kermit are you trying to build?
> The one you want is 8.0.209:
> 
>   http://www.columbia.edu/kermit/ckermit.html
> 
> Which makefile target did you use?  The one you want is hpux1100o+openssl.
> It requires the ANSI C (unbundled) optimizing compiler.
> 
> - Frank
I  am using the last C-Kermit version (8.0.209), with the right target
(hpux1100o+openssl) and with the standard HPUX C compiler (that has an
ANSI mode with -Aa flag).

Any idea ?


From fdc@columbia.edu Tue Apr 22 10:17:08 EDT 2003
Article: 14226 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: ckermit on HPUX11.
Date: 22 Apr 2003 10:17:02 -0400
Organization: Columbia University
Lines: 44
Message-ID: <b83isu$fa4$1@watsol.cc.columbia.edu>
References: <c30aaa81.0304180518.3a35503b@posting.google.com> <b7ou88$dpq$1@hazelnut.cc.columbia.edu> <c30aaa81.0304220542.1af3b1ab@posting.google.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1051021023 11388 128.59.39.139 (22 Apr 2003 14:17:03 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 22 Apr 2003 14:17:03 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14226

In article <c30aaa81.0304220542.1af3b1ab@posting.google.com>,
Eric <ericboniface@chez.com> wrote:
: fdc@hazelnut.cc.columbia.edu (Frank da Cruz) wrote
: in message news:<b7ou88$dpq$1@hazelnut.cc.columbia.edu>...
: > In article <c30aaa81.0304180518.3a35503b@posting.google.com>,
: > Eric <ericboniface@chez.com> wrote:
: > : I try to make c-kermit under HPUX11 with Openssl and I have the
: > : following message.
: > : Did someone succeed in making kermit on this system with SSL ? 
: > : 
: > Which version of C-Kermit are you trying to build?
: > The one you want is 8.0.209:
: > 
: >   http://www.columbia.edu/kermit/ckermit.html
: > 
: > Which makefile target did you use?  The one you want is hpux1100o+openssl.
: > It requires the ANSI C (unbundled) optimizing compiler.
: > 
: > - Frank
: I  am using the last C-Kermit version (8.0.209), with the right target
: (hpux1100o+openssl) and with the standard HPUX C compiler (that has an
: ANSI mode with -Aa flag).
: 
: Any idea ?
:
Messages such as these:

     COMP_CTX_new (first referenced in
  /home/tact/tmp/ebe/openssl/lib/libssl.a(s3_enc.o)) (code)
     HMAC_Init_ex (first referenced in
  /home/tact/tmp/ebe/openssl/lib/libssl.a(t1_enc.o)) (code)
     HMAC_CTX_cleanup (first referenced in
  /home/tact/tmp/ebe/openssl/lib/libssl.a(t1_enc.o)) (code)
     COMP_compress_block (first referenced in
  /home/tact/tmp/ebe/openssl/lib/libssl.a(s3_pkt.o)) (code)
     EVP_aes_192_cbc (first referenced in
  /home/tact/tmp/ebe/openssl/lib/libssl.a(ssl_algs.o)) (code)
     ...

suggest that something is awry with your OpenSSL library installation.
Elements within the library are referring to other elements within
the library that are not being found by the linker.

- Frank


From jaltman2@nyc.rr.com Tue Apr 22 11:05:35 EDT 2003
Article: 14227 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!newsfeed-east.nntpserver.com!nntpserver.com!news-west.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: <3EA555B8.9090601@nyc.rr.com>
From: "Jeffrey Altman [Road Runner NYC]" <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: ckermit on HPUX11.
References: <c30aaa81.0304180518.3a35503b@posting.google.com> <b7ou88$dpq$1@hazelnut.cc.columbia.edu> <c30aaa81.0304220542.1af3b1ab@posting.google.com> <b83isu$fa4$1@watsol.cc.columbia.edu>
In-Reply-To: <b83isu$fa4$1@watsol.cc.columbia.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 55
Date: Tue, 22 Apr 2003 14:42:52 GMT
NNTP-Posting-Host: 66.108.138.151
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1051022572 66.108.138.151 (Tue, 22 Apr 2003 10:42:52 EDT)
NNTP-Posting-Date: Tue, 22 Apr 2003 10:42:52 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14227

There are two libraries:

   libssl.a
   libcrypto.a

It sounds like you are failing to link to the libcrypto.a library.



Frank da Cruz wrote:
> In article <c30aaa81.0304220542.1af3b1ab@posting.google.com>,
> Eric <ericboniface@chez.com> wrote:
> : fdc@hazelnut.cc.columbia.edu (Frank da Cruz) wrote
> : in message news:<b7ou88$dpq$1@hazelnut.cc.columbia.edu>...
> : > In article <c30aaa81.0304180518.3a35503b@posting.google.com>,
> : > Eric <ericboniface@chez.com> wrote:
> : > : I try to make c-kermit under HPUX11 with Openssl and I have the
> : > : following message.
> : > : Did someone succeed in making kermit on this system with SSL ? 
> : > : 
> : > Which version of C-Kermit are you trying to build?
> : > The one you want is 8.0.209:
> : > 
> : >   http://www.columbia.edu/kermit/ckermit.html
> : > 
> : > Which makefile target did you use?  The one you want is hpux1100o+openssl.
> : > It requires the ANSI C (unbundled) optimizing compiler.
> : > 
> : > - Frank
> : I  am using the last C-Kermit version (8.0.209), with the right target
> : (hpux1100o+openssl) and with the standard HPUX C compiler (that has an
> : ANSI mode with -Aa flag).
> : 
> : Any idea ?
> :
> Messages such as these:
> 
>      COMP_CTX_new (first referenced in
>   /home/tact/tmp/ebe/openssl/lib/libssl.a(s3_enc.o)) (code)
>      HMAC_Init_ex (first referenced in
>   /home/tact/tmp/ebe/openssl/lib/libssl.a(t1_enc.o)) (code)
>      HMAC_CTX_cleanup (first referenced in
>   /home/tact/tmp/ebe/openssl/lib/libssl.a(t1_enc.o)) (code)
>      COMP_compress_block (first referenced in
>   /home/tact/tmp/ebe/openssl/lib/libssl.a(s3_pkt.o)) (code)
>      EVP_aes_192_cbc (first referenced in
>   /home/tact/tmp/ebe/openssl/lib/libssl.a(ssl_algs.o)) (code)
>      ...
> 
> suggest that something is awry with your OpenSSL library installation.
> Elements within the library are referring to other elements within
> the library that are not being found by the linker.
> 
> - Frank



From squares@shaw.ca Wed Apr 23 09:00:16 EDT 2003
Article: 14228 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!sjc70.webusenet.com!news.webusenet.com!pd2nf1so.cg.shawcable.net!residential.shaw.ca!news3.calgary.shaw.ca.POSTED!not-for-mail
X-Trace-PostClient-IP: 24.68.68.120
From: "Will Martin" <squares@shaw.ca>
Newsgroups: comp.protocols.kermit.misc
Subject: File Transfer as Backup from Xenix 2.3.4 to WinOS
Lines: 123
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: <ofnpa.182462$vs.18609662@news3.calgary.shaw.ca>
Date: Wed, 23 Apr 2003 02:54:12 GMT
NNTP-Posting-Host: 24.69.255.232
X-Complaints-To: abuse@shaw.ca
X-Trace: news3.calgary.shaw.ca 1051066452 24.69.255.232 (Tue, 22 Apr 2003 20:54:12 MDT)
NNTP-Posting-Date: Tue, 22 Apr 2003 20:54:12 MDT
Organization: Shaw Residential Internet
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14228

I'm new to Kermit and would appreciate some assistance with the following
problem:

We have a Xenix 2.3.4 box that I need to backup files off of onto the NT
network. Files are regularly created, changed, or deleted from the data
areas. The Xenix box is date-windowed as well, so some files have current
year, some current -28.

I've written a xenix script to create a file listing, then use the following
listing to loop through the file listing. The kermit scripts are running on
the Xenix box.

    Set file names literal
    Set file collision backup
    Set send pathname relative
    ; Open the file listing
    open read xenixfilelist
    xif fail {
         open read XENIXFILELIST
         xif fail {
         echo File list not found
         stop
         }
    }
    ; Read first item and begin testing variable
    read line
    define \%a ./
    define \%b ../
    define \%c /
    define \%d :
    define \%e NOTASSIGNED
    define \%z \v(date)
    define CurDir .

    ; Enter loop to check listing entry
    while success {
     assign \%e Blank
     take kermlnset.txt
     read line
    }
    close read-file

The following file checks each file listing line to determine if it's a file
and appends the correct path to the filename.

    define \%h \fsubstring(\m(line),1,\flength(\m(line))-1)
    if = \flength(\m(line)) 0 GOTO ZERLEN
    if equal \m(line) \%a GOTO DIRTOP
    if equal \m(line) \%b Goto DIRSUB
    define \%g \Frindex(\%d, \m(line),1)
    if > \%g 0 GOTO DirChg
    define \%f \Frindex(\%c, \m(line),1)
    if > \%f 0 GOTO FinChar
    define \%e FIL
    goto DONE
    :DIRTOP
         define \%e TOP
         goto DONE
    :DIRSUB
         define \%e SUB
         goto DONE
    :ZERLEN
         define \%e ZER
         goto DONE
    :FinCHAR
         define \%e SLS
         goto DONE
    :DirChg
         assign CurDir \%h
         define \%e COL
         goto DONE
    :DONE
         define \%i \m(CurDir)/\m(line)  ; Path and file name of current
item
         define \%j None    ; Define empty field
         define \%k 0    ; Define empty date field
         if exist \%i {    ; If the file exists
              define \%j Found FILE  ; report that file is found
              define \%k \Fdate(\%i)  ; determine the file modification
              }      ; date and store to variable
         if equal \%e FIL {   ; If the item is a file
              define \%l \fmjd(\%z)  ;  Store today as julian
              define \%m \fmjd(\%k)  ; Store file date as julian
          if < \%m \%l {   ; If file date < today         ** as the Xenix
box is date windowed, today returns 1975 as the year.....
               echo \%i \%j
               remote set file collision backup
               send \%i
          } else {
               echo \%i \%j
               remote set file collision update
               send \%i
          }
     }
     end

Based on the date of the file I need to ensure the update to the NT system
is accurate; all of the files affected by date windowing are not updating to
the NT box with the date from the Xenix system. The above script simply
tries to set file collision to "backup" for any files whose year is less
than the date windowed year, and to update for all others.

The problems at this time:
1.    For "remote set file collision update" I receive an invalid set
parameter message.
2.    The receiving system is not getting the date attribute correctly; the
date windowed files are all being received as current year, which prevents
simply updating them.
3. I'm not familiar enough with file/date manipulation to change the file
creation date in Xenix through kermit. This would be a clean solution. I
have read many sections of "Using C-Kermit"  and the varied and plentiful
addenda available on the columbia site.
4. My lack of learning time at this date, and the robust nature of kermit,
tell me that I've not found the best solution to this mishmash.

Any assistance that can be provided is appreciated.

Thanks,

Will Martin
will_m@novax.com




From fdc@columbia.edu Wed Apr 23 09:14:25 EDT 2003
Article: 14229 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: File Transfer as Backup from Xenix 2.3.4 to WinOS
Date: 23 Apr 2003 09:14:16 -0400
Organization: Columbia University
Lines: 46
Message-ID: <b863j8$hfe$1@watsol.cc.columbia.edu>
References: <ofnpa.182462$vs.18609662@news3.calgary.shaw.ca>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1051103658 5061 128.59.39.139 (23 Apr 2003 13:14:18 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 23 Apr 2003 13:14:18 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14229

In article <ofnpa.182462$vs.18609662@news3.calgary.shaw.ca>,
Will Martin <squares@shaw.ca> wrote:
: ...
: We have a Xenix 2.3.4 box that I need to backup files off of onto the NT
: network. Files are regularly created, changed, or deleted from the data
: areas. The Xenix box is date-windowed as well, so some files have current
: year, some current -28.
: ...
: Based on the date of the file I need to ensure the update to the NT system
: is accurate; all of the files affected by date windowing are not updating to
: the NT box with the date from the Xenix system. The above script simply
: tries to set file collision to "backup" for any files whose year is less
: than the date windowed year, and to update for all others.
: 
: The problems at this time:
: 1.    For "remote set file collision update" I receive an invalid set
: parameter message.
:
You didn't say which version of Kermit you are using Xenix, and which
Kermit program and version is on the other end.  It sounds like one or
the other doesn't support this command.  Current versions of C-Kermit and
Kermit 95 support both the client and server end of this command:

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

: 2.    The receiving system is not getting the date attribute correctly; the
: date windowed files are all being received as current year, which prevents
: simply updating them.
:
What Kermit program and version does the receiving system have?

: 3. I'm not familiar enough with file/date manipulation to change the file
: creation date in Xenix through kermit. This would be a clean solution. I
: have read many sections of "Using C-Kermit"  and the varied and plentiful
: addenda available on the columbia site.
:
Date arithmetic is easy in Kermit, e.g.:

  date \fdate(filename)+28years

but at present there is no way to tell Kermit to change a file's creation
date, or to lie about it in the file attribute packet.  I'll add this items
to my to-do list to consider for a future release.

- Frank


From will_m@novax.com Wed Apr 23 17:27:44 EDT 2003
Article: 14230 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!sn-xit-03!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
From: "Will Martin" <will_m@novax.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: File Transfer as Backup from Xenix 2.3.4 to WinOS
Date: Wed, 23 Apr 2003 13:36:00 -0700
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <vaduahmqsbgs59@corp.supernews.com>
References: <ofnpa.182462$vs.18609662@news3.calgary.shaw.ca> <b863j8$hfe$1@watsol.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: 73
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14230

Thanks, you've given me ideas, and more questions.

"Frank da Cruz" <fdc@columbia.edu> wrote in message
news:b863j8$hfe$1@watsol.cc.columbia.edu...
> In article <ofnpa.182462$vs.18609662@news3.calgary.shaw.ca>,
> Will Martin <squares@shaw.ca> wrote:
> : ...
> : We have a Xenix 2.3.4 box that I need to backup files off of onto the NT
> : network. Files are regularly created, changed, or deleted from the data
> : areas. The Xenix box is date-windowed as well, so some files have
current
> : year, some current -28.
> : ...
> : Based on the date of the file I need to ensure the update to the NT
system
> : is accurate; all of the files affected by date windowing are not
updating to
> : the NT box with the date from the Xenix system. The above script simply
> : tries to set file collision to "backup" for any files whose year is less
> : than the date windowed year, and to update for all others.
> :
> : The problems at this time:
> : 1.    For "remote set file collision update" I receive an invalid set
> : parameter message.
> :
> You didn't say which version of Kermit you are using Xenix, and which
> Kermit program and version is on the other end.  It sounds like one or
> the other doesn't support this command.  Current versions of C-Kermit and
> Kermit 95 support both the client and server end of this command:

K95 2.1.3 and CK 8.0.209. If I've read correctly, both are the most recent
versions.

>
> : 2.    The receiving system is not getting the date attribute correctly;
the
> : date windowed files are all being received as current year, which
prevents
> : simply updating them.
> :
> What Kermit program and version does the receiving system have?

K95 2.1.3. It appears to be text file transfers that have this difficulty. I
know I can
override the file type setting and will attempt this today.
>
> : 3. I'm not familiar enough with file/date manipulation to change the
file
> : creation date in Xenix through kermit. This would be a clean solution. I
> : have read many sections of "Using C-Kermit"  and the varied and
plentiful
> : addenda available on the columbia site.
> :
> Date arithmetic is easy in Kermit, e.g.:
>
>   date \fdate(filename)+28years
>
> but at present there is no way to tell Kermit to change a file's creation
> date, or to lie about it in the file attribute packet.  I'll add this
items
> to my to-do list to consider for a future release.
>
> - Frank

Thanks Frank. Is it possible for me to query the receiver/server, check
if the next file exists, get its date to a variable, and then compare with
the file on the sender? If possible, it gives a relatively clean comparison
method.

Will





From fdc@columbia.edu Wed Apr 23 17:37:08 EDT 2003
Article: 14231 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: File Transfer as Backup from Xenix 2.3.4 to WinOS
Date: 23 Apr 2003 17:36:52 -0400
Organization: Columbia University
Lines: 66
Message-ID: <b8711k$qi4$1@watsol.cc.columbia.edu>
References: <ofnpa.182462$vs.18609662@news3.calgary.shaw.ca> <b863j8$hfe$1@watsol.cc.columbia.edu> <vaduahmqsbgs59@corp.supernews.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1051133818 1166 128.59.39.139 (23 Apr 2003 21:36:58 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 23 Apr 2003 21:36:58 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14231

In article <vaduahmqsbgs59@corp.supernews.com>,
Will Martin <will_m@novax.com> wrote:
: Thanks, you've given me ideas, and more questions.
: 
: "Frank da Cruz" <fdc@columbia.edu> wrote in message
: news:b863j8$hfe$1@watsol.cc.columbia.edu...
: > In article <ofnpa.182462$vs.18609662@news3.calgary.shaw.ca>,
: > Will Martin <squares@shaw.ca> wrote:
: > : ...
: > : The problems at this time:
: > : 1.    For "remote set file collision update" I receive an invalid set
: > : parameter message.
: > :
: > You didn't say which version of Kermit you are using Xenix, and which
: > Kermit program and version is on the other end.  It sounds like one or
: > the other doesn't support this command.  Current versions of C-Kermit and
: > Kermit 95 support both the client and server end of this command:
: 
: K95 2.1.3 and CK 8.0.209. If I've read correctly, both are the most recent
: versions.
: 
They are.

: > : 2.    The receiving system is not getting the date attribute correctly;
: > : the date windowed files are all being received as current year, which
: > : prevents simply updating them.
: >
: > What Kermit program and version does the receiving system have?
: 
: K95 2.1.3. It appears to be text file transfers that have this difficulty. I
: know I can override the file type setting and will attempt this today.
:
"remote set file collision update" (or other option) sends a protocol message
to the server.  When I do this here -- also from K95 8.0.209 on Unix to a
K95 2.1.3 server on Windows -- I get no error.  That is, the client and the
server support the command.

: Thanks Frank. Is it possible for me to query the receiver/server, check
: if the next file exists...
:
See:

  http://www.columbia.edu/kermit/ckermit70.html#x5.2

The command would be:

  remote query kermit date(xxx)

where xxx is the name of the file.

: ... get its date to a variable...
:
The result is in the \v(query) variable.

: and then compare with
: the file on the sender? If possible, it gives a relatively clean comparison
: method.
: 
See the \fdiffdates() function described here:

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

If you want to troubleshoot the "invalid set parameter" problem, please
send email to kermit-support@columbia.edu.

- Frank


From jaltman2@nyc.rr.com Thu Apr 24 11:05:14 EDT 2003
Article: 14232 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!newsfeed-east.nntpserver.com!nntpserver.com!news-west.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
From: "Jeffrey Altman [Road Runner NYC]" <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Bitstream Vera Fonts work with Kermit 95
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 23
Message-ID: <8TDpa.21775$7M5.1588527@twister.nyc.rr.com>
Date: Wed, 23 Apr 2003 21:48:52 GMT
NNTP-Posting-Host: 66.108.138.151
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1051134532 66.108.138.151 (Wed, 23 Apr 2003 17:48:52 EDT)
NNTP-Posting-Date: Wed, 23 Apr 2003 17:48:52 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14232

Bitstream and the Gnome Project have worked to release a set of Open 
Source fonts.  The notion was to provide a free set of fonts which could
be used on Open Source operating systems unlike the "free" fonts which
Microsoft recently pulled from their web site.  These are standard True 
Type Fonts (.TTF) which can be installed on Microsoft Windows as well as 
X Windows.

The Bitstream Vera Sans Mono font is not as well populated as other 
Unicode True Type Fonts however it is extremely readable.  One of the 
nice things about the license is that the font may be modified and 
redistributed without royalties.  Perhaps someone will add the terminal 
graphics.

You can read the license and download the fonts from

   http://www.gnome.org/fonts/

You will need 'gunzip' and 'tar' in order to expand the distribution.
Perhaps Frank will be willing to place the expanded files on the Kermit 
ftp site.

- Jeffrey Altman



From tom.horsley@att.net Thu Apr 24 11:05:19 EDT 2003
Article: 14233 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed!wn13feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!not-for-mail
Sender: tom@SPIKE
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Bitstream Vera Fonts work with Kermit 95
References: <8TDpa.21775$7M5.1588527@twister.nyc.rr.com>
From: tom.horsley@att.net (Thomas A. Horsley)
Message-ID: <ufzo8rgnu.fsf@att.net>
Lines: 11
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: f79e6ba7aec06cad32b84e3daf2e8e5f
X-Complaints-To: abuse@worldnet.att.net
X-Trace: bgtnsc04-news.ops.worldnet.att.net 1051136997 f79e6ba7aec06cad32b84e3daf2e8e5f (Wed, 23 Apr 2003 22:29:57 GMT)
NNTP-Posting-Date: Wed, 23 Apr 2003 22:29:57 GMT
Organization: AT&T Worldnet
Date: Wed, 23 Apr 2003 22:29:57 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14233

>Bitstream and the Gnome Project have worked to release a set of Open Source
>fonts.

I'll have to take a look, but I still haven't found a font I think is
more readable than the good old original X Windows 9x15 font (of course,
it lacks something in the unicode area :-).
--
>>==>> 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 Thu Apr 24 11:05:37 EDT 2003
Article: 14234 of comp.protocols.kermit.misc
Date: Thu, 24 Apr 2003 22:32:08 +0930
From: Arthur Marsh <arthur.marsh@internode.on.net>
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4a) Gecko/20030401
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Bitstream Vera Fonts work with Kermit 95
References: <8TDpa.21775$7M5.1588527@twister.nyc.rr.com>
In-Reply-To: <8TDpa.21775$7M5.1588527@twister.nyc.rr.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: ppp1472.adelaide.on.net.au
Message-ID: <3ea7e04d@duster.adelaide.on.net>
X-Trace: duster.adelaide.on.net 1051189325 ppp1472.adelaide.on.net.au (24 Apr 2003 22:32:05 +0950)
Lines: 34
Path: newsmaster.cc.columbia.edu!panix!news-out.cwix.com!newsfeed.cwix.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:14234



Jeffrey Altman [Road Runner NYC] wrote:
> Bitstream and the Gnome Project have worked to release a set of Open 
> Source fonts.  The notion was to provide a free set of fonts which could
> be used on Open Source operating systems unlike the "free" fonts which
> Microsoft recently pulled from their web site.  These are standard True 
> Type Fonts (.TTF) which can be installed on Microsoft Windows as well as 
> X Windows.
> 
> The Bitstream Vera Sans Mono font is not as well populated as other 
> Unicode True Type Fonts however it is extremely readable.  One of the 
> nice things about the license is that the font may be modified and 
> redistributed without royalties.  Perhaps someone will add the terminal 
> graphics.
> 
> You can read the license and download the fonts from
> 
>   http://www.gnome.org/fonts/
> 
> You will need 'gunzip' and 'tar' in order to expand the distribution.
> Perhaps Frank will be willing to place the expanded files on the Kermit 
> ftp site.
> 
> - Jeffrey Altman
> 

Thanks, I downloaded and unpacked the .bz2 version on Solaris, then used 
C-Kermit to send the .ttf files to my PC running K95 and Vera Sans Mono 
looks good (and just fits a 24 line by 80 column terminal window) at 13 
points on a monitor set to a 1024 * 768 display resolution.

Arthur.



From fdc@columbia.edu Thu Apr 24 11:39:37 EDT 2003
Article: 14235 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Bitstream Vera Fonts work with Kermit 95
Date: 24 Apr 2003 11:39:12 -0400
Organization: Columbia University
Lines: 24
Message-ID: <b890f0$4lb$1@watsol.cc.columbia.edu>
References: <8TDpa.21775$7M5.1588527@twister.nyc.rr.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1051198754 25439 128.59.39.139 (24 Apr 2003 15:39:14 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 24 Apr 2003 15:39:14 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14235

In article <8TDpa.21775$7M5.1588527@twister.nyc.rr.com>,
Jeffrey Altman [Road Runner NYC] <jaltman2@nyc.rr.com> wrote:
: Bitstream and the Gnome Project have worked to release a set of Open 
: Source fonts...
:
:    http://www.gnome.org/fonts/
:
: The Bitstream Vera Sans Mono font is not as well populated as other 
: Unicode True Type Fonts...
:
A quick inspection of this font shows it's not much more than ASCII plus
Latin-1:  It has the Euro symbol, a couple Greek letters, a few letters
needed for Polish/Czech/Turkish, a few symbols from the Apple Quickdraw set
(per mille, "smart quotes", etc) and that's about it.  It doesn't even have
line/box-drawing characters (what Jeff meant by "terminal graphics").

Although it is an attractive and readable font and installs effortlessly on
Windows, it's not particularly useful for terminal emulation.  Compare
(e.g.) with Courier New or Lucida Console, both of which come with recent
Windows versions and handle most terminal emulation tasks including math,
technical, and forms, plus Greek and Cyrillic, and (Courier New only) Arabic
and Hebrew.

- Frank


From toralf-delete-this@procaptura.com Fri Apr 25 09:31:38 EDT 2003
Article: 14236 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!newsfeed.icl.net!newsfeed.fjserv.net!news.teledanmark.no!uninett.no!newsfeed1.e.nsc.no!nsc.no!nextra.com!news4.e.nsc.no.POSTED!53ab2750!not-for-mail
From: Toralf Lund <toralf-delete-this@procaptura.com>
Subject: Communication protocol for direct serial link (null-modem or similar)?
Newsgroups: comp.protocols.misc,comp.protocols.kermit.misc,comp.protocols.ppp
Followup-To: comp.protocols.misc
Organization: ProCaptura AS
User-Agent: Pan/0.11.4 (Unix)
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Comment-To: ALL
Lines: 29
Message-ID: <3R6qa.6946$b71.104830@news4.e.nsc.no>
NNTP-Posting-Host: 193.214.130.21
X-Complaints-To: news-abuse@telenor.net
NNTP-Posting-Date: Fri, 25 Apr 2003 11:02:55 MEST
X-Trace: news4.ulv.nextra.no 1051261375 193.214.130.21
Date: Fri, 25 Apr 2003 11:02:55 +0200
Xref: newsmaster.cc.columbia.edu comp.protocols.misc:9747 comp.protocols.kermit.misc:14236 comp.protocols.ppp:39839

I'm looking for a protocol that may be used for simple communication
across a direct serial link - RS232 using null-modem cable or similar -
between a Linux host and a simple (old) IPC (Intelligent Peripheral
Controller) board.

The IPC has no real OS, just a simple, custom kernel, and rather limited
development support, so the protocol needs to be simple to implement.
Also, the system is really low-end by today's standards - it's has a
12.5Mhz MC68010 CPU and 1Mb RAM - so the runtime must be fairly small and
efficient.

The link will be used only to send simple packets ("commands") to the IPC,
and status from the IPC back to the Linux system; there will be no file
transfers or anything.

Protocols I've considered:
- Kermit
- AHDLC/LAPB (as utilised e.g. by PPP) - X/Y/Z-modem

What would you people out there recommend choosing? And does anyone know
of any good example source code that may help me get started? I'm
primarily interested in a nice and isolated implementation of the packet
communication itself, i.e. source code without all the additional bits
normally found in comms packages, like UI operations, file I/O, modem dial
etc., which I don't need (and I don't want them there to confuse
everything.)

-- 
- Toralf


From toralf-delete-this@procaptura.com Mon Apr 28 09:21:49 EDT 2003
Article: 14237 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!newsfeed.icl.net!newsfeed.fjserv.net!skynet.be!skynet.be!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed1.e.nsc.no!nsc.no!nextra.com!news2.e.nsc.no.POSTED!53ab2750!not-for-mail
From: Toralf Lund <toralf-delete-this@procaptura.com>
Subject: Re: Communication protocol for direct serial link (null-modem or similar)?
Newsgroups: comp.protocols.misc,comp.protocols.kermit.misc
Organization: ProCaptura AS
References: <3R6qa.6946$b71.104830@news4.e.nsc.no> <b8bdvn$iun$1@watsol.cc.columbia.edu>
User-Agent: Pan/0.11.4 (Unix)
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Comment-To: "Frank da Cruz" <fdc@columbia.edu>
Lines: 56
Message-ID: <n05ra.7849$8g5.113401@news2.e.nsc.no>
NNTP-Posting-Host: 193.214.130.21
X-Complaints-To: news-abuse@telenor.net
NNTP-Posting-Date: Mon, 28 Apr 2003 09:47:31 MEST
X-Trace: news2.ulv.nextra.no 1051516051 193.214.130.21
Date: Mon, 28 Apr 2003 09:47:31 +0200
Xref: newsmaster.cc.columbia.edu comp.protocols.misc:9757 comp.protocols.kermit.misc:14237

On Fri, 25 Apr 2003 15:42:15 +0200, Frank da Cruz wrote:

> In article <3R6qa.6946$b71.104830@news4.e.nsc.no>, Toralf Lund
> <toralf-delete-this@procaptura.com> wrote:
> : I'm looking for a protocol that may be used for simple communication
> : across a direct serial link - RS232 using null-modem cable or similar
> : - between a Linux host and a simple (old) IPC (Intelligent Peripheral
> : Controller) board.
> : 
> : The IPC has no real OS, just a simple, custom kernel, and rather
> : limited development support, so the protocol needs to be simple to
> : implement. Also, the system is really low-end by today's standards -
> : it's has a 12.5Mhz MC68010 CPU and 1Mb RAM - so the runtime must be
> : fairly small and efficient.
> : 
> : The link will be used only to send simple packets ("commands") to the
> : IPC, and status from the IPC back to the Linux system; there will be
> : no file transfers or anything.
> : 
> : Protocols I've considered:
> : - Kermit
> : - AHDLC/LAPB (as utilised e.g. by PPP) - X/Y/Z-modem
> : 
> : What would you people out there recommend choosing? And does anyone
> : know of any good example source code that may help me get started? I'm
> : primarily interested in a nice and isolated implementation of the
> : packet communication itself, i.e. source code without all the
> : additional bits normally found in comms packages, like UI operations,
> : file I/O, modem dial etc., which I don't need (and I don't want them
> : there to confuse everything.)
> : 
> Embedded Kermit is exactly like that, except it's for transferring
> files, not sending simple messages:
> 
>   http://www.columbia.edu/kermit/ek.html
> 
> If you treat a message as a file, then Kermit would be fine.
How would I do that? What does the "file" interface look like?

> You'd need
> to adapt E-Kermit to the IPC, but that's what it's designed for.  Then
> use a regular Kermit version on whatever you are connecting to the IPC,
> such as Linux.  The nice thing about Kermit is that you are not
> constrained when picking implementation platforms.  You can switch from
> Linux to Windows to DOS to Solaris, etc, at any time:
> 
>   http://www.columbia.edu/kermit/
> 
> Kermit is also appropriate because it was designed with unreliable
> serial ports in mind, and therefore expects transmission errors and
> recovers from them efficiently.
Yes, that would be the whole point, obviously.


-- 
- Toralf


From marcowcl@hotmail.com Mon Apr 28 10:21:28 EDT 2003
Article: 14238 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: marcowcl@hotmail.com (Marco)
Newsgroups: comp.protocols.kermit.misc
Subject: question on SSL session persistence solution on a server farm
Date: 28 Apr 2003 03:00:59 -0700
Organization: http://groups.google.com/
Lines: 14
Message-ID: <56e6376d.0304280200.60ab0b41@posting.google.com>
NNTP-Posting-Host: 202.128.229.3
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1051524059 14386 127.0.0.1 (28 Apr 2003 10:00:59 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 28 Apr 2003 10:00:59 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14238

I would like to setup a server farm which allows a SSL session stick
to the same server during the session. Each server in the server farm
represent different web site.

Here are the questions:

1. It is possible to use one domain name (e.g. www.abc.com) to
represent different web site within the server farm (e.g.
www.abc.com/website1, www.abc.com/website2) and maintain the SSL
session on the same server during the same session. and How to
acheive?

2. It content switch a solution to the above. And what are they? Which
are popular in the market?


From fdc@columbia.edu Mon Apr 28 10:21:34 EDT 2003
Article: 14239 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.misc,comp.protocols.kermit.misc
Subject: Re: Communication protocol for direct serial link (null-modem or similar)?
Date: 28 Apr 2003 10:17:04 -0400
Organization: Columbia University
Lines: 80
Message-ID: <b8jd50$4fr$1@watsol.cc.columbia.edu>
References: <3R6qa.6946$b71.104830@news4.e.nsc.no> <b8bdvn$iun$1@watsol.cc.columbia.edu> <n05ra.7849$8g5.113401@news2.e.nsc.no>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1051539425 12588 128.59.39.139 (28 Apr 2003 14:17:05 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 28 Apr 2003 14:17:05 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.misc:9759 comp.protocols.kermit.misc:14239

In article <n05ra.7849$8g5.113401@news2.e.nsc.no>,
Toralf Lund  <toralf-delete-this@procaptura.com> wrote:
: On Fri, 25 Apr 2003 15:42:15 +0200, Frank da Cruz wrote:
: > In article <3R6qa.6946$b71.104830@news4.e.nsc.no>, Toralf Lund
: > <toralf-delete-this@procaptura.com> wrote:
: > : I'm looking for a protocol that may be used for simple communication
: > : across a direct serial link - RS232 using null-modem cable or similar
: > : - between a Linux host and a simple (old) IPC (Intelligent Peripheral
: > : Controller) board.
: > : 
: > : The IPC has no real OS, just a simple, custom kernel, and rather
: > : limited development support, so the protocol needs to be simple to
: > : implement. Also, the system is really low-end by today's standards -
: > : it's has a 12.5Mhz MC68010 CPU and 1Mb RAM - so the runtime must be
: > : fairly small and efficient.
: > : 
: > : The link will be used only to send simple packets ("commands") to the
: > : IPC, and status from the IPC back to the Linux system; there will be
: > : no file transfers or anything.
: > : 
: > : Protocols I've considered:
: > : - Kermit
: > : - AHDLC/LAPB (as utilised e.g. by PPP) - X/Y/Z-modem
: > : 
: > : What would you people out there recommend choosing? And does anyone
: > : know of any good example source code that may help me get started? I'm
: > : primarily interested in a nice and isolated implementation of the
: > : packet communication itself, i.e. source code without all the
: > : additional bits normally found in comms packages, like UI operations,
: > : file I/O, modem dial etc., which I don't need (and I don't want them
: > : there to confuse everything.)
: > : 
: > Embedded Kermit is exactly like that, except it's for transferring
: > files, not sending simple messages:
: > 
: >   http://www.columbia.edu/kermit/ek.html
: > 
: > If you treat a message as a file, then Kermit would be fine.
: How would I do that? What does the "file" interface look like?
: 
A file is whatever you want it to be.  From Kermit's point of view, it is
an ordered series of bytes that has a name.  A message does not normally have
a name, but otherwise it's the same as a file as far as Kermit is concerned.

When Kermit sends a file, it breaks it up into packets that have a certain
maximum length.  Thus if the file is longer than a packet, multiple packets
must be sent, and therefore packets must have sequence numbers.

Packets can be lost or damaged in transit; therefore they must have checksums
or CRCs so errors can be detected.

Packets must be framed so the packet reader can identify the beginning and
end as well as control fields such as the sequence number and checksum.

When errors are detected, the packet receiver must have a way of notifying
the packet sender so the same packet can be retransmitted; thus packets are
acknowledged or negatively acknowledged.

All this is necessary no matter whether you are sending a message or a file,
and all of it is already done by Kermit.

The suitability of this model to the IPC (send command, get status back)
depends on what you mean by "status".  If it's simply an indication of success
or failure, this is handled within the Kermit protocol by the Acknowledgement
to the Z (end-of-file) packet, which can contain a status indicator.

If the return status is something more complicated, it can be sent back as
a file in the reverse direction.

You get a slight amount of extra overhead because Kermit is designed to send
not just one file, but any number of them, in a single session.  Thus there
is the per-session overhead (begin and end packet) and the per-file overhead
((begin packet, attribute packet, and end packet).  Then for each file, zero
or more data packets.

So while this might not seem ideal for a simple command-and-status protocol,
it's already done.  E-Kermit should be easily adaptable to the IPC, and
Kermit software is already available for Windows, Unix, etc etc.

- Frank


From JDanSkinner@JDanSkinner.com Tue Apr 29 09:41:49 EDT 2003
Article: 14240 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: JDanSkinner@JDanSkinner.com (Dan Skinner)
Newsgroups: comp.protocols.misc,comp.protocols.kermit.misc,comp.protocols.ppp
Subject: Re: Communication protocol for direct serial link (null-modem or similar)?
Date: 28 Apr 2003 16:46:24 -0700
Organization: http://groups.google.com/
Lines: 44
Message-ID: <8ce22d01.0304281546.7fcd7cdf@posting.google.com>
References: <3R6qa.6946$b71.104830@news4.e.nsc.no>
NNTP-Posting-Host: 24.159.192.106
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1051573585 26283 127.0.0.1 (28 Apr 2003 23:46:25 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 28 Apr 2003 23:46:25 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.misc:9760 comp.protocols.kermit.misc:14240 comp.protocols.ppp:39864

Toralf Lund <toralf-delete-this@procaptura.com> wrote in message news:<3R6qa.6946$b71.104830@news4.e.nsc.no>...
> I'm looking for a protocol that may be used for simple communication
> across a direct serial link - RS232 using null-modem cable or similar -
> between a Linux host and a simple (old) IPC (Intelligent Peripheral
> Controller) board.
> 
> The IPC has no real OS, just a simple, custom kernel, and rather limited
> development support, so the protocol needs to be simple to implement.
> Also, the system is really low-end by today's standards - it's has a
> 12.5Mhz MC68010 CPU and 1Mb RAM - so the runtime must be fairly small and
> efficient.
> 
> The link will be used only to send simple packets ("commands") to the IPC,
> and status from the IPC back to the Linux system; there will be no file
> transfers or anything.
> 
> Protocols I've considered:
> - Kermit
> - AHDLC/LAPB (as utilised e.g. by PPP) - X/Y/Z-modem
> 
> What would you people out there recommend choosing? And does anyone know
> of any good example source code that may help me get started? I'm
> primarily interested in a nice and isolated implementation of the packet
> communication itself, i.e. source code without all the additional bits
> normally found in comms packages, like UI operations, file I/O, modem dial
> etc., which I don't need (and I don't want them there to confuse
> everything.)


I may be missing the point, but sounds to me like plain old full
duplex
RS232 is all you need.  We all ran terminal sessions on Unix and other
hosts
using this non-protocol for years.  The non-reliability of this hook
up would
show up as a typo, although the error may have been the key struck,
the sending of the key, the receipt of the key, the echo of the key,
or the receipt of the
echo. We fixed it with backspace (rubout) an ended up with machine b
understanding exactly what machine a wanted to send.  We even managed
to send strings of some length in this environment.  I even use this
kind of connection
to automatically start kermit file transfers over modem circuts now.
Regards...Dan.


From ericboniface@chez.com Tue Apr 29 09:42:35 EDT 2003
Article: 14241 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed!arclight.uoregon.edu!logbridge.uoregon.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: ericboniface@chez.com (Eric)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: ckermit on HPUX11.
Date: 29 Apr 2003 03:00:05 -0700
Organization: http://groups.google.com/
Lines: 17
Message-ID: <c30aaa81.0304290200.20917245@posting.google.com>
References: <c30aaa81.0304180518.3a35503b@posting.google.com> <b7ou88$dpq$1@hazelnut.cc.columbia.edu> <c30aaa81.0304220542.1af3b1ab@posting.google.com> <b83isu$fa4$1@watsol.cc.columbia.edu> <3EA555B8.9090601@nyc.rr.com>
NNTP-Posting-Host: 192.6.111.74
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1051610406 22169 127.0.0.1 (29 Apr 2003 10:00:06 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 29 Apr 2003 10:00:06 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14241

"Jeffrey Altman [Road Runner NYC]" <jaltman2@nyc.rr.com> wrote in message news:<3EA555B8.9090601@nyc.rr.com>...
> There are two libraries:
> 
>    libssl.a
>    libcrypto.a
> 
> It sounds like you are failing to link to the libcrypto.a library.
Strange as I compile the last openssl version without any error and I
gave kermit make command the right path to the openssl lib.
By the way I also get back an already compiled openssl library file
for HPUX, and I still have the same message.

did someone succeed in making kermit under HPUX ? 

Thanks in advance ! 
Regards,
Eric.


From fdc@columbia.edu Tue Apr 29 09:50:38 EDT 2003
Article: 14242 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: ckermit on HPUX11.
Date: 29 Apr 2003 09:50:33 -0400
Organization: Columbia University
Lines: 37
Message-ID: <b8lvv9$nu6$1@watsol.cc.columbia.edu>
References: <c30aaa81.0304180518.3a35503b@posting.google.com> <b83isu$fa4$1@watsol.cc.columbia.edu> <3EA555B8.9090601@nyc.rr.com> <c30aaa81.0304290200.20917245@posting.google.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1051624234 18737 128.59.39.139 (29 Apr 2003 13:50:34 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 29 Apr 2003 13:50:34 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14242

In article <c30aaa81.0304290200.20917245@posting.google.com>,
Eric <ericboniface@chez.com> wrote:
: "Jeffrey Altman [Road Runner NYC]" <jaltman2@nyc.rr.com>
: wrote in message news:<3EA555B8.9090601@nyc.rr.com>...
: > There are two libraries:
: > 
: >    libssl.a
: >    libcrypto.a
: > 
: > It sounds like you are failing to link to the libcrypto.a library.
:
: Strange as I compile the last openssl version without any error and I
: gave kermit make command the right path to the openssl lib.
: By the way I also get back an already compiled openssl library file
: for HPUX, and I still have the same message.
: 
As Jeff said, it's the crypto library -- not openssl -- that is contains
the missing stuff.  The hpux1100o+openssl target was sent in by somebody who
said it worked, but maybe something was lost in transit.  Try this one:

hpux1100o+openssl:
	MFLAGS='+ESlit +ESsfc' ; \
	KFLAGS="-DCK_AUTHENTICATION -DCK_SSL -I/opt/zlib/include \
	-DZLIB -DOPENSSL_097 $(SSLINC) $(KFLAGS) -DHPUX1100 -D__HP_CURSES \
	-Aa -D_HPUX_SOURCE -DCK_ANSIC -DUTIMEH +O2 -Wl,-Fw $$MFLAGS" ; \
	LIBS="$(SSLLIB) $(KRB5LIB) -lssl -lcrypto \
	-L/opt/zlib/lib -lz" \
	$(MAKE) "SHELL=/usr/bin/sh" "PATH=/opt/ansic/bin:$$PATH" xermit \
	KTARGET=$${KTARGET:-$(@)} \
	"CFLAGS = -DHPUX10 -DDIRENT -DSTERMIOX -DCK_DSYSINI -DHDBUUCP \
	-DCK_CURSES -DCK_WREFRESH -DTCPSOCKET -DCK_REDIR -DRENAME -DFNFLOAT \
	$$KFLAGS $$OFLAGS $(KFLAGS)" \
	"LNKFLAGS=-s $(LNKFLAGS)" "LIBS = -lm -lcurses $$LIBS $(KLIBS)"

and please let us know whether it worked.

- Frank


From nucemfromorbit@yahoo.com Wed Apr 30 15:23:53 EDT 2003
Article: 14243 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: nucemfromorbit@yahoo.com (Rick)
Newsgroups: comp.protocols.kermit.misc
Subject: SSL_connect:error in 3RSH_A SSLv3 read server hello A
Date: 30 Apr 2003 12:14:18 -0700
Organization: http://groups.google.com/
Lines: 35
Message-ID: <8ba3a1cf.0304301114.461c38b3@posting.google.com>
NNTP-Posting-Host: 63.80.54.82
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1051730059 20555 127.0.0.1 (30 Apr 2003 19:14:19 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 30 Apr 2003 19:14:19 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14243

What seems to be the problem with my trying to connect?


I am using CKermit 8.0.209 with OpenSSL 0.9.7 on HPUX 11.00
The server is WS_FTP.
I issue the following commands:

>set ftp auth ssl
>set ftp debug
>set auth ssl debug
>ftp open  www3.xxxxx.net 21  /user:test /password:test

I get the following:


Connected to www3.xxxxx.net. 
220 necho5 X2 WS_FTP Server 3.1.4 (1437008836) 
---> AUTH SSL 
234 SSL enabled and waiting for negotiation 
SSL accepted as authentication type 
SSL_handshake:UNKWN  before/connect initialization 
SSL_connect:UNKWN  before/connect initialization 
SSL_connect:3WCH_A SSLv3 write client hello A 
SSL_write_alert 
SSL_connect:error in 3RSH_A SSLv3 read server hello A 
Connected to www3.necho.net. 
220 necho5 X2 WS_FTP Server 3.1.4 (1437009492) 
---> USER test 
530 Non SSL connections forbidden 
[/home/ghostdev/] C-Kermit> 
[/home/ghostdev/] C-Kermit>Login failed 
---> QUIT 


-Rick


From dhuff@armadillo.itg.ti.com Wed Apr 30 15:45:10 EDT 2003
Article: 14244 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!newsfeed.vmunix.org!feed.news.nacamar.de!eusc.inter.net!priapus.visi.com!news-out.visi.com!petbe.visi.com!attcg2!attdl2!ip.att.net!news.ti.com!not-for-mail
From: David Huff <dhuff@armadillo.itg.ti.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Newbie user: logging connections
Date: Wed, 30 Apr 2003 14:37:12 -0500
Organization: Texas Instruments
Lines: 14
Message-ID: <pan.2003.04.30.14.37.12.485694.29665@armadillo.itg.ti.com>
NNTP-Posting-Host: armadillo.itg.ti.com
Mime-Version: 1.0
Content-Type: text/plain; charset=iso885915
Content-Transfer-Encoding: 8bit
X-Trace: tilde.itg.ti.com 1051731215 13718 172.25.44.25 (30 Apr 2003 19:33:35 GMT)
X-Complaints-To: usenet@news.ti.com
NNTP-Posting-Date: 30 Apr 2003 19:33:35 GMT
User-Agent: Pan/0.11.2 (Unix)
X-Comment-To: ALL
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14244

I'm running C-Kermit 8.0.209 for Linux. When I use kermit to dial a phone
number (and it works) I'm used to seeing:

   Call complete: "CONNECT...

on screen. I'd like to log this "Call complete" message in a file, if I
can. Thought I'd found the proper command with "log cx," but the CX.LOG
file doesn't have that in there - matter of fact, it's empty :)

I've looked through the "Using C-Kermit" book and in the FAQs, but
nothing seems to present itself as a solution. Could someone point me in
the right direction ?

Thanks.


From fdc@columbia.edu Wed Apr 30 15:47:23 EDT 2003
Article: 14245 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Newbie user: logging connections
Date: 30 Apr 2003 15:47:17 -0400
Organization: Columbia University
Lines: 19
Message-ID: <b8p985$abs$1@watsol.cc.columbia.edu>
References: <pan.2003.04.30.14.37.12.485694.29665@armadillo.itg.ti.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1051732039 6710 128.59.39.139 (30 Apr 2003 19:47:19 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 30 Apr 2003 19:47:19 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14245

In article <pan.2003.04.30.14.37.12.485694.29665@armadillo.itg.ti.com>,
David Huff  <dhuff@armadillo.itg.ti.com> wrote:
: I'm running C-Kermit 8.0.209 for Linux. When I use kermit to dial a phone
: number (and it works) I'm used to seeing:
: 
:    Call complete: "CONNECT...
: 
: on screen. I'd like to log this "Call complete" message in a file, if I
: can. Thought I'd found the proper command with "log cx"...
:
Which is a nickname for "log connections"...

: ... but the CX.LOG
: file doesn't have that in there - matter of fact, it's empty :)
: 
It's not supposed to be.  The log record is not written until the connection
is closed.  Did you look at it then?

- Frank


From nucemfromorbit@yahoo.com Wed Apr 30 16:29:12 EDT 2003
Article: 14246 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: nucemfromorbit@yahoo.com (Rick)
Newsgroups: comp.protocols.kermit.misc
Subject: ftp: SSL/TLS connect COMMAND error: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number
Date: 30 Apr 2003 13:26:38 -0700
Organization: http://groups.google.com/
Lines: 23
Message-ID: <8ba3a1cf.0304301226.40e22c0a@posting.google.com>
NNTP-Posting-Host: 63.80.54.82
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1051734398 24249 127.0.0.1 (30 Apr 2003 20:26:38 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 30 Apr 2003 20:26:38 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14246

I am getting this error msg.  Is it from Kermit, OpenSSL or ftp server
(WS_FTP)?

---> AUTH TLS 
234 SSL enabled and waiting for negotiation
SSL DEBUG ACTIVE
=>START SSL/TLS connect on COMMAND
ftp: SSL/TLS connect COMMAND error: error:1408F10B:SSL
routines:SSL3_GET_RECORD:wrong version number
=>DONE SSL/TLS connect on COMMAND
TLS authentication failed
TLS accepted as authentication type
SSL_handshake:UNKWN  before/connect initialization
SSL_connect:UNKWN  before/connect initialization
SSL_connect:3WCH_A SSLv3 write client hello A
SSL_write_alert
SSL_connect:error in 3RSH_A SSLv3 read server hello A
Connected to www3.necho.net.
220 necho5 X2 WS_FTP Server 3.1.4 (1456372211)
[/home/ghostdev/] C-Kermit>
[/home/ghostdev/] C-Kermit>Login failed
---> QUIT 
221 Good-Bye


From fdc@columbia.edu Wed Apr 30 16:34:33 EDT 2003
Article: 14247 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: ftp: SSL/TLS connect COMMAND error: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number
Date: 30 Apr 2003 16:34:05 -0400
Organization: Columbia University
Lines: 14
Message-ID: <b8pbvt$hg1$1@watsol.cc.columbia.edu>
References: <8ba3a1cf.0304301226.40e22c0a@posting.google.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1051734846 9009 128.59.39.139 (30 Apr 2003 20:34:06 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 30 Apr 2003 20:34:06 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14247

In article <8ba3a1cf.0304301226.40e22c0a@posting.google.com>,
Rick <nucemfromorbit@yahoo.com> wrote:
: I am getting this error msg.  Is it from Kermit, OpenSSL or ftp server
: (WS_FTP)?
: 
The problem in this case appears to be in Kermit.  I can't tell you when
or if it will be fixed.  Of course the code is in the open so, as always,
users are welcome to take a whack at it:

  ftp://kermit.columbia.edu/kermit/archives/cku209.tar.gz

The FTP module is ckcftp.c; the OpenSSL interface modules are ck_ssl.[ch].

- Frank


From jaltman2@nyc.rr.com Wed Apr 30 16:34:57 EDT 2003
Article: 14248 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!newsfeed-east.nntpserver.com!nntpserver.com!news-west.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
From: "Jeffrey Altman [Road Runner NYC]" <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: SSL_connect:error in 3RSH_A SSLv3 read server hello A
References: <8ba3a1cf.0304301114.461c38b3@posting.google.com>
In-Reply-To: <8ba3a1cf.0304301114.461c38b3@posting.google.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 41
Message-ID: <LlWra.28262$su3.3349069@twister.nyc.rr.com>
Date: Wed, 30 Apr 2003 20:28:27 GMT
NNTP-Posting-Host: 66.108.138.151
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1051734507 66.108.138.151 (Wed, 30 Apr 2003 16:28:27 EDT)
NNTP-Posting-Date: Wed, 30 Apr 2003 16:28:27 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14248

Does the server support SSLv3?  If not, file a complaint with the author.

Rick wrote:
> What seems to be the problem with my trying to connect?
> 
> 
> I am using CKermit 8.0.209 with OpenSSL 0.9.7 on HPUX 11.00
> The server is WS_FTP.
> I issue the following commands:
> 
> 
>>set ftp auth ssl
>>set ftp debug
>>set auth ssl debug
>>ftp open  www3.xxxxx.net 21  /user:test /password:test
> 
> 
> I get the following:
> 
> 
> Connected to www3.xxxxx.net. 
> 220 necho5 X2 WS_FTP Server 3.1.4 (1437008836) 
> ---> AUTH SSL 
> 234 SSL enabled and waiting for negotiation 
> SSL accepted as authentication type 
> SSL_handshake:UNKWN  before/connect initialization 
> SSL_connect:UNKWN  before/connect initialization 
> SSL_connect:3WCH_A SSLv3 write client hello A 
> SSL_write_alert 
> SSL_connect:error in 3RSH_A SSLv3 read server hello A 
> Connected to www3.necho.net. 
> 220 necho5 X2 WS_FTP Server 3.1.4 (1437009492) 
> ---> USER test 
> 530 Non SSL connections forbidden 
> [/home/ghostdev/] C-Kermit> 
> [/home/ghostdev/] C-Kermit>Login failed 
> ---> QUIT 
> 
> 
> -Rick



From jaltman2@nyc.rr.com Wed Apr 30 16:53:51 EDT 2003
Article: 14249 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!newsfeed-east.nntpserver.com!nntpserver.com!news-west.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
From: "Jeffrey Altman [Road Runner NYC]" <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: ftp: SSL/TLS connect COMMAND error: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong
 version number
References: <8ba3a1cf.0304301226.40e22c0a@posting.google.com>
In-Reply-To: <8ba3a1cf.0304301226.40e22c0a@posting.google.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 32
Message-ID: <ztWra.28269$su3.3348850@twister.nyc.rr.com>
Date: Wed, 30 Apr 2003 20:36:47 GMT
NNTP-Posting-Host: 66.108.138.151
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1051735007 66.108.138.151 (Wed, 30 Apr 2003 16:36:47 EDT)
NNTP-Posting-Date: Wed, 30 Apr 2003 16:36:47 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14249

The error is a version incompatibility.
When negotiating AUTH TLS, the TLSv1 protocol is required.  My guess is 
that WS_FTP does not support SSLv3 or TLSv1 but only SSLv2.  If that is 
the case the program is violating the protocol.



Rick wrote:
> I am getting this error msg.  Is it from Kermit, OpenSSL or ftp server
> (WS_FTP)?
> 
> ---> AUTH TLS 
> 234 SSL enabled and waiting for negotiation
> SSL DEBUG ACTIVE
> =>START SSL/TLS connect on COMMAND
> ftp: SSL/TLS connect COMMAND error: error:1408F10B:SSL
> routines:SSL3_GET_RECORD:wrong version number
> =>DONE SSL/TLS connect on COMMAND
> TLS authentication failed
> TLS accepted as authentication type
> SSL_handshake:UNKWN  before/connect initialization
> SSL_connect:UNKWN  before/connect initialization
> SSL_connect:3WCH_A SSLv3 write client hello A
> SSL_write_alert
> SSL_connect:error in 3RSH_A SSLv3 read server hello A
> Connected to www3.necho.net.
> 220 necho5 X2 WS_FTP Server 3.1.4 (1456372211)
> [/home/ghostdev/] C-Kermit>
> [/home/ghostdev/] C-Kermit>Login failed
> ---> QUIT 
> 221 Good-Bye



From jaltman2@nyc.rr.com Thu May  1 09:10:41 EDT 2003
Article: 14250 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!not-for-mail
From: "Jeffrey Altman [Road Runner NYC]" <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: ftp: SSL/TLS connect COMMAND error: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong
 version number
References: <8ba3a1cf.0304301226.40e22c0a@posting.google.com> <ztWra.28269$su3.3348850@twister.nyc.rr.com>
In-Reply-To: <ztWra.28269$su3.3348850@twister.nyc.rr.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 22
Message-ID: <MR_ra.35867$7M5.3506077@twister.nyc.rr.com>
Date: Thu, 01 May 2003 01:35:40 GMT
NNTP-Posting-Host: 66.108.138.151
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1051752940 66.108.138.151 (Wed, 30 Apr 2003 21:35:40 EDT)
NNTP-Posting-Date: Wed, 30 Apr 2003 21:35:40 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14250

I spent some time tonight testing Kermit's implementation of FTP AUTH 
{SSL, TLS} against the wide variety of WS_FTP servers available as

   ftp1.ipswitch.com
   .
   .
   .
   ftp6.ipswitch.com

My conclusion is that the WS_FTP implementation of AUTH SSL and AUTH TLS
is quite buggy.  I was able to test a variety of versions of WS_FTP from
3.0 to 3.1.4 to 4.0.0.  In all of the cases I was able to periodicly 
establish connections to these servers using SSLv3.  However, more often 
then not after the SSLv3 client hello packet was sent to WS_FTP the 
server hello packet was never returned.  Eventually the connection would 
timeout and an incorrect version error would be reported by Kermit.  The 
reason the version was incorrect was that the connection was dropped.

There is nothing that can be done about this problem from within the 
client.  Kermit is doing the correct thing.  The server just appears to 
be broken.



From dave.lloyd@aah.co.uk Thu May  1 11:47:43 EDT 2003
Article: 14251 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: dave.lloyd@aah.co.uk (DaveL)
Newsgroups: comp.protocols.kermit.misc
Subject: can't establish X.509 authenticated connection
Date: 1 May 2003 08:25:30 -0700
Organization: http://groups.google.com/
Lines: 42
Message-ID: <36c7c5aa.0305010725.497e5a04@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 1051802730 11161 127.0.0.1 (1 May 2003 15:25:30 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 1 May 2003 15:25:30 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14251

Hi, 

I'm trying to set up a Proof of Concept FTP system with Openssh and
openssl as the server end and C-Kermit 8.0 as the client.  Both ends
are running on AIX 4.3.3.

I believe that I have the server end listening correctly with rsa key
authentication enabled and an arbitrary port chosen
'Server' side command:
openssl s_server -accept 4000 -cert /root/sslkeys/test1.x509.cert.pem
-key /root/sslkeys/test1.rsa.pem -CApath /root/sslkeys -ssl2

this is the error that I receive on the server end:
ERROR
884780:error:140EC0AF:SSL routines:SSL2_READ_INTERNAL:non sslv2
initial packet:s2_pkt.c:187:
shutting down SSL
CONNECTION CLOSED
ACCEPT


C-Kermit 
(/root/) C-Kermit>check ssl
 ssl/tls available
(/root/) C-Kermit>

(/root/) C-Kermit>telnet /auth:ssl /userid:lloydd u607su62 4000
 DNS Lookup...  Trying 221.206.29.62...  Reverse DNS Lookup... (OK)

?Connection closed by peer.
Can't open connection to u607su62:4000
(/root/) C-Kermit>

Success will be an automated ftp connection (I'll accept unencrypted
keys for this) and I don't see where I'm going wrong and I expect that
I have a fundamental misunderstanding of certain elements (I've only
just read through the open documentation!) so any help greatfully
received!

Thanks

Dave


From dbecker@cpicorp.com Thu May  1 12:28:45 EDT 2003
Article: 14252 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!news-peer.gip.net!news.gsl.net!gip.net!news.maxwell.syr.edu!feed.uncensored-news.com!ord-feed.news.verio.net!stl-feed.news.verio.net!news.cpicorp.com!not-for-mail
From: Derek Chen-Becker <dbecker@cpicorp.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Changed behavior of receive/transmit move-to
Date: Thu, 01 May 2003 10:50:46 -0500
Organization: CPI Corporation
Lines: 44
Message-ID: <b8rfll$kfv$1@cpimail.cpicorp.com>
NNTP-Posting-Host: dbecker-ld.cpicorp.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: cpimail.cpicorp.com 1051804149 20991 131.100.250.5 (1 May 2003 15:49:09 GMT)
X-Complaints-To: abuse@cpicorp.com
NNTP-Posting-Date: Thu, 1 May 2003 15:49:09 +0000 (UTC)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225
X-Accept-Language: en-us, en
X-Enigmail-Version: 0.71.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14252

Hi,
     The behavior of the set receive move-to command seems to have 
changed between c-kermit 8.206 and 8.209. It used to resolve the full 
path of the move-to target upon each transfer, and now it appears to 
resolve it on login through IKSD. We have a directory structure like this:

~/
~/a
~/a/incoming
~/a/complete-rx
~/a/outgoing
~/a/complete-tx
~/b
~/b/incoming
~/b/complete-rx
~/b/outgoing
~/b/complete-tx

The .kermrc for the account had lines like:

set receive move-to complete-rx
set send move-to complete-tx

Under 8.206 we could change to directory "a" or directory "b" and issue 
a send command like "send test.txt incoming/test.txt". The incomplete 
file during transfer would sit in the appropriate incoming directory and 
then would be moved to the approprate complete-rx directory on 
completion. Under 8.209 the completed files sit in the incoming 
directory unless we create a "complete-rx" directory in the home:

~/complete-rx

and then they move there no matter which incoming directory they arrived 
in. If this was for one or two sites we could work around it by creating 
different accounts for each one, but this is for 1200+ sites and one 
account makes it managable. If I could remotely set the send/receive 
move-to destinations, that might work, too.

Any comments on the behavior change and on a possible solution?

Thanks,

Derek



From dbecker@cpicorp.com Thu May  1 13:10:16 EDT 2003
Article: 14252 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!news-peer.gip.net!news.gsl.net!gip.net!news.maxwell.syr.edu!feed.uncensored-news.com!ord-feed.news.verio.net!stl-feed.news.verio.net!news.cpicorp.com!not-for-mail
From: Derek Chen-Becker <dbecker@cpicorp.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Changed behavior of receive/transmit move-to
Date: Thu, 01 May 2003 10:50:46 -0500
Organization: CPI Corporation
Lines: 44
Message-ID: <b8rfll$kfv$1@cpimail.cpicorp.com>
NNTP-Posting-Host: dbecker-ld.cpicorp.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: cpimail.cpicorp.com 1051804149 20991 131.100.250.5 (1 May 2003 15:49:09 GMT)
X-Complaints-To: abuse@cpicorp.com
NNTP-Posting-Date: Thu, 1 May 2003 15:49:09 +0000 (UTC)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225
X-Accept-Language: en-us, en
X-Enigmail-Version: 0.71.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14252

Hi,
     The behavior of the set receive move-to command seems to have 
changed between c-kermit 8.206 and 8.209. It used to resolve the full 
path of the move-to target upon each transfer, and now it appears to 
resolve it on login through IKSD. We have a directory structure like this:

~/
~/a
~/a/incoming
~/a/complete-rx
~/a/outgoing
~/a/complete-tx
~/b
~/b/incoming
~/b/complete-rx
~/b/outgoing
~/b/complete-tx

The .kermrc for the account had lines like:

set receive move-to complete-rx
set send move-to complete-tx

Under 8.206 we could change to directory "a" or directory "b" and issue 
a send command like "send test.txt incoming/test.txt". The incomplete 
file during transfer would sit in the appropriate incoming directory and 
then would be moved to the approprate complete-rx directory on 
completion. Under 8.209 the completed files sit in the incoming 
directory unless we create a "complete-rx" directory in the home:

~/complete-rx

and then they move there no matter which incoming directory they arrived 
in. If this was for one or two sites we could work around it by creating 
different accounts for each one, but this is for 1200+ sites and one 
account makes it managable. If I could remotely set the send/receive 
move-to destinations, that might work, too.

Any comments on the behavior change and on a possible solution?

Thanks,

Derek



From fdc@columbia.edu Thu May  1 13:27:42 EDT 2003
Article: 14253 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Changed behavior of receive/transmit move-to
Date: 1 May 2003 13:10:10 -0400
Organization: Columbia University
Lines: 81
Message-ID: <b8rkdi$mo0$1@watsol.cc.columbia.edu>
References: <b8rfll$kfv$1@cpimail.cpicorp.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1051809012 5710 128.59.39.139 (1 May 2003 17:10:12 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 1 May 2003 17:10:12 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14253

In article <b8rfll$kfv$1@cpimail.cpicorp.com>,
Derek Chen-Becker  <dbecker@cpicorp.com> wrote:
:      The behavior of the set receive move-to command seems to have 
: changed between c-kermit 8.206 and 8.209. It used to resolve the full 
: path of the move-to target upon each transfer, and now it appears to 
: resolve it on login through IKSD. We have a directory structure like this:
: 
: ~/
: ~/a
: ~/a/incoming
: ~/a/complete-rx
: ~/a/outgoing
: ~/a/complete-tx
: ~/b
: ~/b/incoming
: ~/b/complete-rx
: ~/b/outgoing
: ~/b/complete-tx
: 
: The .kermrc for the account had lines like:
: 
: set receive move-to complete-rx
: set send move-to complete-tx
: 
: Under 8.206 we could change to directory "a" or directory "b" and issue 
: a send command like "send test.txt incoming/test.txt". The incomplete 
: file during transfer would sit in the appropriate incoming directory and 
: then would be moved to the approprate complete-rx directory on 
: completion. Under 8.209 the completed files sit in the incoming 
: directory unless we create a "complete-rx" directory in the home:
: 
: ~/complete-rx
: 
: and then they move there no matter which incoming directory they 
: arrived in.
:
I would venture to say that the behavior you were relying on was not
intentional.  Although my notes don't show it, I suspect that somebody else
-- maybe even me -- was surprised when a relative directory name was not
resolved in the context in which the command was given, especially since
after changing contexts it might not be be valid.

: If this was for one or two sites we could work around it by creating 
: different accounts for each one, but this is for 1200+ sites and one 
: account makes it managable.
:
Well, when you put it that way I can see how deferred evaluation could be 
useful too, in a use-at-your-own-risk sort of way.  But this turns out to
be a rather tricky question, since immediate and deferred evaluation can
be applied independently to the context (current directory for relative
filespecs) and to any variables in the MOVE-TO or RENAME-TO string, e.g.:

  SET RECEIVE RENAME-TO \v(filename)_\v(ndate)_\v(ntime)_\v(userid)_\v(pid)

Deferring evaluation of the MOVE/RENAME-TO string until it is used means
that an error might not be detected until hours into the operation, after
everybody has gone home.

: If I could remotely set the send/receive move-to destinations, that 
: might work, too.
:
That would be a change too.  But clearly changes are necessary, especially
since in researching this I discovered that the SET RECEIVE RENAME-TO
example (which is taken from the C-Kermit 7.0 update notes) is broken too.

My first reaction would be accept the MOVE-TO/RENAME-TO argument as-is
at parse time, with no checking, and then evaluate it upon use.  This way,
if you give an absolute pathname, it is constant; if you give a
relative one, its resoluation varies with the context.  To extend same
flexiblity to variables in the string, such as \v(time), we'd have to
evaluate them at *parse* time.  If the user wanted to defer evaluation
until use, s/he'd have to double the backslash.  A tad hard to explain,
but it leaves the user with every combination of choices.  If I get a
chance to work on the code again, I'll try this and see how it feels.

In the meantime, I'd recommend you fall back to whatever version of
C-Kermit you were using before.

Thanks for the report.

- Frank


From dbecker@cpicorp.com Thu May  1 14:19:30 EDT 2003
Article: 14254 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed!news.maxwell.syr.edu!feed.uncensored-news.com!ord-feed.news.verio.net!stl-feed.news.verio.net!news.cpicorp.com!not-for-mail
From: Derek Chen-Becker <dbecker@cpicorp.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Changed behavior of receive/transmit move-to
Date: Thu, 01 May 2003 12:56:13 -0500
Organization: CPI Corporation
Lines: 108
Message-ID: <b8rn1f$d5i$1@cpimail.cpicorp.com>
References: <b8rfll$kfv$1@cpimail.cpicorp.com> <b8rkdi$mo0$1@watsol.cc.columbia.edu>
NNTP-Posting-Host: dbecker-ld.cpicorp.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: cpimail.cpicorp.com 1051811695 13490 131.100.250.5 (1 May 2003 17:54:55 GMT)
X-Complaints-To: abuse@cpicorp.com
NNTP-Posting-Date: Thu, 1 May 2003 17:54:55 +0000 (UTC)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225
X-Accept-Language: en-us, en
In-Reply-To: <b8rkdi$mo0$1@watsol.cc.columbia.edu>
X-Enigmail-Version: 0.71.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14254

Thanks for the info. I understand your concerns with deferring 
evaluation of the path. I think deferring does make the option much more 
flexible (especially the way we're using it :) ). Perhaps a flag that 
controls whether the evaluation is performed immediately or deferred 
would allow for a more consistent usage. In the meantime we'll move back 
to 8.206.

Thanks,

Derek

Frank da Cruz wrote:
> In article <b8rfll$kfv$1@cpimail.cpicorp.com>,
> Derek Chen-Becker  <dbecker@cpicorp.com> wrote:
> :      The behavior of the set receive move-to command seems to have 
> : changed between c-kermit 8.206 and 8.209. It used to resolve the full 
> : path of the move-to target upon each transfer, and now it appears to 
> : resolve it on login through IKSD. We have a directory structure like this:
> : 
> : ~/
> : ~/a
> : ~/a/incoming
> : ~/a/complete-rx
> : ~/a/outgoing
> : ~/a/complete-tx
> : ~/b
> : ~/b/incoming
> : ~/b/complete-rx
> : ~/b/outgoing
> : ~/b/complete-tx
> : 
> : The .kermrc for the account had lines like:
> : 
> : set receive move-to complete-rx
> : set send move-to complete-tx
> : 
> : Under 8.206 we could change to directory "a" or directory "b" and issue 
> : a send command like "send test.txt incoming/test.txt". The incomplete 
> : file during transfer would sit in the appropriate incoming directory and 
> : then would be moved to the approprate complete-rx directory on 
> : completion. Under 8.209 the completed files sit in the incoming 
> : directory unless we create a "complete-rx" directory in the home:
> : 
> : ~/complete-rx
> : 
> : and then they move there no matter which incoming directory they 
> : arrived in.
> :
> I would venture to say that the behavior you were relying on was not
> intentional.  Although my notes don't show it, I suspect that somebody else
> -- maybe even me -- was surprised when a relative directory name was not
> resolved in the context in which the command was given, especially since
> after changing contexts it might not be be valid.
> 
> : If this was for one or two sites we could work around it by creating 
> : different accounts for each one, but this is for 1200+ sites and one 
> : account makes it managable.
> :
> Well, when you put it that way I can see how deferred evaluation could be 
> useful too, in a use-at-your-own-risk sort of way.  But this turns out to
> be a rather tricky question, since immediate and deferred evaluation can
> be applied independently to the context (current directory for relative
> filespecs) and to any variables in the MOVE-TO or RENAME-TO string, e.g.:
> 
>   SET RECEIVE RENAME-TO \v(filename)_\v(ndate)_\v(ntime)_\v(userid)_\v(pid)
> 
> Deferring evaluation of the MOVE/RENAME-TO string until it is used means
> that an error might not be detected until hours into the operation, after
> everybody has gone home.
> 
> : If I could remotely set the send/receive move-to destinations, that 
> : might work, too.
> :
> That would be a change too.  But clearly changes are necessary, especially
> since in researching this I discovered that the SET RECEIVE RENAME-TO
> example (which is taken from the C-Kermit 7.0 update notes) is broken too.
> 
> My first reaction would be accept the MOVE-TO/RENAME-TO argument as-is
> at parse time, with no checking, and then evaluate it upon use.  This way,
> if you give an absolute pathname, it is constant; if you give a
> relative one, its resoluation varies with the context.  To extend same
> flexiblity to variables in the string, such as \v(time), we'd have to
> evaluate them at *parse* time.  If the user wanted to defer evaluation
> until use, s/he'd have to double the backslash.  A tad hard to explain,
> but it leaves the user with every combination of choices.  If I get a
> chance to work on the code again, I'll try this and see how it feels.
> 
> In the meantime, I'd recommend you fall back to whatever version of
> C-Kermit you were using before.
> 
> Thanks for the report.
> 
> - Frank

-- 
----------------------------------------------------------------------
Derek Chen-Becker
Senior Network Engineer
CPI Corp, Inc.
1706 Washington Ave
St. Louis, MO 63103
Phone: 314-231-1575 x6014
Fax:   314-613-6724
dbecker@cpicorp.com
PGP Key available from public key servers
Fingerprint: 1C34 D81E D8A0 641D 6C8C  E952 3B15 693F 9184 BC58
----------------------------------------------------------------------



From jaltman2@nyc.rr.com Thu May  1 14:51:31 EDT 2003
Article: 14255 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!not-for-mail
From: "Jeffrey Altman [Road Runner NYC]" <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: can't establish X.509 authenticated connection
References: <36c7c5aa.0305010725.497e5a04@posting.google.com>
In-Reply-To: <36c7c5aa.0305010725.497e5a04@posting.google.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 92
Message-ID: <TUdsa.30547$su3.3454739@twister.nyc.rr.com>
Date: Thu, 01 May 2003 18:42:59 GMT
NNTP-Posting-Host: 66.108.138.151
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1051814579 66.108.138.151 (Thu, 01 May 2003 14:42:59 EDT)
NNTP-Posting-Date: Thu, 01 May 2003 14:42:59 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14255

I tried replying to this earlier today but the posting apparently as lost.

DaveL wrote:
> Hi, 
> 
> I'm trying to set up a Proof of Concept FTP system with Openssh and
> openssl as the server end and C-Kermit 8.0 as the client.  Both ends
> are running on AIX 4.3.3.

OpenSSH implements Secure Shell protocols: SSHv1 and SSHv2; and the
SFTP file transfer protocol.

OpenSSL implements Secure Socket Layer / Transport Layer Security 
protocols versions SSLv2, SSLv3, TLSv1.

The only relationship between OpenSSH and OpenSSL is that OpenSSH 
utilizes the crypto library from OpenSSL.

In no other way are SSH and SSL protocols related or interoperable.

The FTP protocol is not related to the SFTP protocol.

Secure FTP implementations utilizing the AUTH TLS option are supported 
by Kermit

The Internet Kermit Service supports secure file transfer operations 
utilizing Kermit protocol across a TELNET START_TLS connection.

> I believe that I have the server end listening correctly with rsa key
> authentication enabled and an arbitrary port chosen
> 'Server' side command:
> openssl s_server -accept 4000 -cert /root/sslkeys/test1.x509.cert.pem
> -key /root/sslkeys/test1.rsa.pem -CApath /root/sslkeys -ssl2
> 
> this is the error that I receive on the server end:
> ERROR
> 884780:error:140EC0AF:SSL routines:SSL2_READ_INTERNAL:non sslv2
> initial packet:s2_pkt.c:187:
> shutting down SSL
> CONNECTION CLOSED
> ACCEPT

The "openssl s_server" command only implements an SSL/TLS  protocol 
server for the purpose of testing the protocol engine.  It does not 
implement Secure Shell protocols; Telnet START_TLS; or any form of file 
transfer.

You are specifying the use of the SSLv2 protocol which should never be 
used anymore.

> 
> C-Kermit 
> (/root/) C-Kermit>check ssl
>  ssl/tls available
> (/root/) C-Kermit>
> 
> (/root/) C-Kermit>telnet /auth:ssl /userid:lloydd u607su62 4000
>  DNS Lookup...  Trying 221.206.29.62...  Reverse DNS Lookup... (OK)
> 
> ?Connection closed by peer.
> Can't open connection to u607su62:4000
> (/root/) C-Kermit>


You are instructing Kermit to establish a TELNET connection and to 
negotiate the AUTH SSL option.  This is incompatible with "openssl 
s_server".   To connect to s_server you would need to use

   set host u607su62 4000 /ssl

Since s_server does not implement anything you can log into there is no 
reason to specify a username.

> Success will be an automated ftp connection (I'll accept unencrypted
> keys for this) and I don't see where I'm going wrong and I expect that
> I have a fundamental misunderstanding of certain elements (I've only
> just read through the open documentation!) so any help greatfully
> received!
> 
> Thanks
> 
> Dave


It sounds like you need to do a bit of reading.  Start with

   http://www.kermit-project.org/security.html
   http://www.kermit-project.org/iksd.html
   http://www.kermit-project.org/ftpclient.html
   http://www.kermit-project.org/telnet.html
   http://www.kermit-project.org/telnetd.html



From jaltman2@nyc.rr.com Thu May  1 17:33:28 EDT 2003
Article: 14256 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!newsfeed-east.nntpserver.com!nntpserver.com!news-west.rr.com!news-server.columbus.rr.com!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!53ab2750!not-for-mail
Message-ID: <3EB182CB.8000502@nyc.rr.com>
From: "Jeffrey Altman [Road Runner NYC]" <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Changed behavior of receive/transmit move-to
References: <b8rfll$kfv$1@cpimail.cpicorp.com> <b8rkdi$mo0$1@watsol.cc.columbia.edu>
In-Reply-To: <b8rkdi$mo0$1@watsol.cc.columbia.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 46
Date: Thu, 01 May 2003 20:25:50 GMT
NNTP-Posting-Host: 66.108.138.151
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1051820750 66.108.138.151 (Thu, 01 May 2003 16:25:50 EDT)
NNTP-Posting-Date: Thu, 01 May 2003 16:25:50 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14256

Frank da Cruz wrote:
> I would venture to say that the behavior you were relying on was not
> intentional.  Although my notes don't show it, I suspect that somebody else
> -- maybe even me -- was surprised when a relative directory name was not
> resolved in the context in which the command was given, especially since
> after changing contexts it might not be be valid.

Actually the person who initiated the original complaint about the
unpredictable behavior of the SET ... MOVE-TO command was Derek.  We had
quite a long discussion about this with him just after the New Year 2003.

There were several issues:

  * a SET command that accepts out output directory will fail if the
    directory does not exist when the command is executed.  Otherwise
    the command will fail.

  * what should happen if the relative MOVE-TO directory does not exist
    at the time of the move?

    - Should the file transfer fail?  I think so.

    - Should the directory be created on the fly?  Some people
      might want this option.

    - Should the move only take place if the relative directory exists?
      Others might prefer this choice.

The concern I have with Frank's approach is that it is going to break
existing scripts by adding another layer of string evaluation.  On 
Windows this is going to become an even greater nightmare.

I think there is a better solution.  Kermit already supports on_open, 
on_close, and on_exit macros.  I propose that we simply add support for 
a new on_cd macro which would be executed whenever a the current working
directory changes.  Then the macro can be defined to do the right thing:

define on_cd {
   if = \fdirectories(<path>) 0 mkdir <path>
   set send move-to <path>
   set receive move-to <path>
}

This allows the interpretation of the MOVE-TO path to remain fixed while
providing the flexibility that Derek requires to get his job done.



From fdc@columbia.edu Thu May  1 17:33:31 EDT 2003
Article: 14257 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Changed behavior of receive/transmit move-to
Date: 1 May 2003 17:33:17 -0400
Organization: Columbia University
Lines: 49
Message-ID: <b8s3qt$bkm$1@watsol.cc.columbia.edu>
References: <b8rfll$kfv$1@cpimail.cpicorp.com> <b8rkdi$mo0$1@watsol.cc.columbia.edu> <3EB182CB.8000502@nyc.rr.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1051824799 18679 128.59.39.139 (1 May 2003 21:33:19 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 1 May 2003 21:33:19 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14257

In article <3EB182CB.8000502@nyc.rr.com>,
Jeffrey Altman [Road Runner NYC] <jaltman2@nyc.rr.com> wrote:
: There were several issues:
: 
:   * a SET command that accepts out output directory will fail if the
:     directory does not exist when the command is executed.  Otherwise
:     the command will fail.
: 
I changed the SET { SEND, RECEIVE } MOVE-TO to fail only if an absolute
name was given and it didn't exist.  A relative name is not checked until
move time.

:   * what should happen if the relative MOVE-TO directory does not exist
:     at the time of the move?
: 
:     - Should the file transfer fail?  I think so.
: 
It did and it still does.

:     - Should the directory be created on the fly?  Some people
:       might want this option.
: 
:     - Should the move only take place if the relative directory exists?
:       Others might prefer this choice.
: 
I haven't done anything about these.

: The concern I have with Frank's approach is that it is going to break
: existing scripts by adding another layer of string evaluation.  On 
: Windows this is going to become an even greater nightmare.
: 
Turns out no changes were needed here.  SET { SEND, RECEIVE } MOVE-TO
did not need to use deferred evaluation of embedded variables, since we're
dealing with names of directories which must already exist (at least for
now).  SET { SEND, RECEIVE } RENAME-TO already deferred evaluation of
embedded variables, so it does not make sense to change it.  Except that it
was totally broken anyway (it always got a parse error), and that's just
been fixed.

: I think there is a better solution.  Kermit already supports on_open, 
: on_close, and on_exit macros.  I propose that we simply add support for 
: a new on_cd macro...
:
I'll add this to my to-do list and/or revisit it if today's changes are
not sufficient.  Today's version is here:

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

- Frank


From jaltman2@nyc.rr.com Fri May  2 09:21:33 EDT 2003
Article: 14258 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!out.nntp.be!propagator2-sterling!in.nntp.be!newsfeed1.easynews.com!easynews.com!easynews!news-west.rr.com!news-server.columbus.rr.com!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!53ab2750!not-for-mail
From: "Jeffrey Altman [Road Runner NYC]" <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Changed behavior of receive/transmit move-to
References: <b8rfll$kfv$1@cpimail.cpicorp.com> <b8rkdi$mo0$1@watsol.cc.columbia.edu> <3EB182CB.8000502@nyc.rr.com> <b8s3qt$bkm$1@watsol.cc.columbia.edu>
In-Reply-To: <b8s3qt$bkm$1@watsol.cc.columbia.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 64
Message-ID: <7Sgsa.48386$J17.32926@twister.nyc.rr.com>
Date: Thu, 01 May 2003 22:04:51 GMT
NNTP-Posting-Host: 66.108.138.151
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1051826691 66.108.138.151 (Thu, 01 May 2003 18:04:51 EDT)
NNTP-Posting-Date: Thu, 01 May 2003 18:04:51 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14258

Frank da Cruz wrote:
>> Turns out no changes were needed here.  SET { SEND, RECEIVE } MOVE-TO
> did not need to use deferred evaluation of embedded variables, since we're
> dealing with names of directories which must already exist (at least for
> now).  SET { SEND, RECEIVE } RENAME-TO already deferred evaluation of
> embedded variables, so it does not make sense to change it.  Except that it
> was totally broken anyway (it always got a parse error), and that's just
> been fixed.

I am not convinced that this is an acceptable solution.  The naive end 
user who interactively issues the commands

   CD foo
   DIR bar

sees that 'bar' does exist and now issues

   SET RECEIVE MOVE-TO bar

is going to end up with quite a surprise if s/he accidently changes 
directory.  Either the file transfer will fail; or the files may
unexpectedly be placed into random locations on the disk.  This
behavior could in some situations even be dangerous and irreversible
if the unexpected MOVE-TO results in files of the same name being
overwritten.

Unless the user explicitly requests that the directory be treated as
relative to the current working directory at the time of file transfer
the specified path must be treated as referring to a fixed location.

We should not intentionally be adding features to Kermit which are going
to hurt people who do not happen to know every in and out of the program.

If deferred evaluation is a necessity, then it must be implemented 
either with a new command or a switch.  If you do not want to deal with
the difficulties of parsing a switch prior to the filename parse it 
afterwards.

  SET {SEND, RECEIVE} MOVE-TO <path> {/DEFERRED-EVALUATION} {/CREATE-DIR}

> : I think there is a better solution.  Kermit already supports on_open, 
> : on_close, and on_exit macros.  I propose that we simply add support for 
> : a new on_cd macro...
> :
> I'll add this to my to-do list and/or revisit it if today's changes are
> not sufficient.

The code to implement the processing of an on_cd macro is trivial.
Add the following code to the end of zchdir():

#ifndef NOSPL
    if (nmac) {             /* Any macros defined? */
      int k;                /* Yes */
      k = mlook(mactab,"on_cd",nmac); /* Look this up */
      if (k >= 0) {                   /* If found, */
        if (dodo(k,zgtdir(),0) > -1)  /* set it up, */
          parser(1);                  /* and execute it */
      }
    }
#endif /* NOSPL */






From dbecker@cpicorp.com Fri May  2 09:21:45 EDT 2003
Article: 14260 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!hammer.uoregon.edu!news.cc.ukans.edu!stl-feed.news.verio.net!news.cpicorp.com!not-for-mail
From: Derek Chen-Becker <dbecker@cpicorp.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Changed behavior of receive/transmit move-to
Date: Fri, 02 May 2003 08:01:11 -0500
Organization: CPI Corporation
Lines: 39
Message-ID: <b8tq4l$kq4$1@cpimail.cpicorp.com>
References: <b8rfll$kfv$1@cpimail.cpicorp.com> <b8rkdi$mo0$1@watsol.cc.columbia.edu> <3EB182CB.8000502@nyc.rr.com> <b8s3qt$bkm$1@watsol.cc.columbia.edu> <7Sgsa.48386$J17.32926@twister.nyc.rr.com>
NNTP-Posting-Host: dbecker-ld.cpicorp.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: cpimail.cpicorp.com 1051880405 21316 131.100.250.5 (2 May 2003 13:00:05 GMT)
X-Complaints-To: abuse@cpicorp.com
NNTP-Posting-Date: Fri, 2 May 2003 13:00:05 +0000 (UTC)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225
X-Accept-Language: en-us, en
In-Reply-To: <7Sgsa.48386$J17.32926@twister.nyc.rr.com>
X-Enigmail-Version: 0.71.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14260

Jeffrey Altman [Road Runner NYC] wrote:
...
> Unless the user explicitly requests that the directory be treated as
> relative to the current working directory at the time of file transfer
> the specified path must be treated as referring to a fixed location.
> 
> We should not intentionally be adding features to Kermit which are going
> to hurt people who do not happen to know every in and out of the program.
> 
> If deferred evaluation is a necessity, then it must be implemented 
> either with a new command or a switch.  If you do not want to deal with
> the difficulties of parsing a switch prior to the filename parse it 
> afterwards.
> 
>  SET {SEND, RECEIVE} MOVE-TO <path> {/DEFERRED-EVALUATION} {/CREATE-DIR}
> 

This was actually my original request (for a flag for deferred eval). I 
agree that if this behavior is not what was expected in the past then it 
needs to be explicitly requested.

Thanks,

Derek

-- 
----------------------------------------------------------------------
Derek Chen-Becker
Senior Network Engineer
CPI Corp, Inc.
1706 Washington Ave
St. Louis, MO 63103
Phone: 314-231-1575 x6014
Fax:   314-613-6724
dbecker@cpicorp.com
PGP Key available from public key servers
Fingerprint: 1C34 D81E D8A0 641D 6C8C  E952 3B15 693F 9184 BC58
----------------------------------------------------------------------



From hartnuj@uk.ibm.com Fri May  2 09:21:50 EDT 2003
Article: 14259 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!nntp1.roc.gblx.net!nntp.gblx.net!nntp.gblx.net!priapus.visi.com!news-out.visi.com!petbe.visi.com!uunet!ash.uu.net!dfw.uu.net!an02.austin.ibm.com!ausnews.austin.ibm.com!sp15ce20.hursley.ibm.com!not-for-mail
From: John Hartnup <hartnuj@uk.ibm.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: can't establish X.509 authenticated connection
Date: Fri, 02 May 2003 11:09:35 +0100
Organization: IBM Hursley
Lines: 18
Message-ID: <b8tg5h$1eq0$1@sp15at20.hursley.ibm.com>
References: <36c7c5aa.0305010725.497e5a04@posting.google.com> <TUdsa.30547$su3.3454739@twister.nyc.rr.com>
NNTP-Posting-Host: dyn-9-140-179-235.warwick.uk.ibm.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: sp15at20.hursley.ibm.com 1051870193 47936 9.140.179.235 (2 May 2003 10:09:53 GMT)
X-Complaints-To: news@hursley.ibm.com
NNTP-Posting-Date: Fri, 2 May 2003 10:09:53 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
In-Reply-To: <TUdsa.30547$su3.3454739@twister.nyc.rr.com>
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14259

Jeffrey Altman [Road Runner NYC] wrote:

> 
> You are instructing Kermit to establish a TELNET connection and to 
> negotiate the AUTH SSL option.  This is incompatible with "openssl 
> s_server".
> 

Note also that "AUTH SSL" is deprecated, you should use "AUTH TLS" 
wherever possible. The only reason to support "AUTH SSL is for 
interoperability with old servers. Kermit supports both.

Use "set ftp authtype tls" to specify "AUTH TLS".

To stave off confusion, I'll clarify right now that "AUTH SSL" and "AUTH 
TLS" are *not* mechanisms for selecting between SSLv2, SSLv3 and TLSv1: 
these are negotiated in the SSL handshake.



From nucemfromorbit@yahoo.com Fri May  2 09:43:39 EDT 2003
Article: 14261 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!hammer.uoregon.edu!logbridge.uoregon.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: nucemfromorbit@yahoo.com (Rick)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: ftp: SSL/TLS connect COMMAND error: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number
Date: 2 May 2003 06:30:47 -0700
Organization: http://groups.google.com/
Lines: 12
Message-ID: <8ba3a1cf.0305020530.678cde69@posting.google.com>
References: <8ba3a1cf.0304301226.40e22c0a@posting.google.com> <ztWra.28269$su3.3348850@twister.nyc.rr.com> <MR_ra.35867$7M5.3506077@twister.nyc.rr.com>
NNTP-Posting-Host: 63.80.54.82
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1051882249 7756 127.0.0.1 (2 May 2003 13:30:49 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 2 May 2003 13:30:49 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14261

I tried against kermit.columbia.edu, but it does not seems to support SSL/TLS.
I get:

---> AUTH SSL 
504 Unknown authentication type: SSL
SSL rejected as an authentication type


Is there a kermit server I can try against?

Thanks,
RIck


From fdc@columbia.edu Fri May  2 09:50:19 EDT 2003
Article: 14262 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: ftp: SSL/TLS connect COMMAND error: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number
Date: 2 May 2003 09:49:54 -0400
Organization: Columbia University
Lines: 25
Message-ID: <b8tt22$5rn$1@watsol.cc.columbia.edu>
References: <8ba3a1cf.0304301226.40e22c0a@posting.google.com> <ztWra.28269$su3.3348850@twister.nyc.rr.com> <MR_ra.35867$7M5.3506077@twister.nyc.rr.com> <8ba3a1cf.0305020530.678cde69@posting.google.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1051883395 22846 128.59.39.139 (2 May 2003 13:49:55 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 2 May 2003 13:49:55 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14262

In article <8ba3a1cf.0305020530.678cde69@posting.google.com>,
Rick <nucemfromorbit@yahoo.com> wrote:
: I tried against kermit.columbia.edu, but it does not seems to support
: SSL/TLS.  I get:
: 
: ---> AUTH SSL 
: 504 Unknown authentication type: SSL
: SSL rejected as an authentication type
: 
: Is there a kermit server I can try against?
: 
Due to circumstances beyond our control, our former FTP server, which we
administered ourselves and which supported SSL/TLS and which negotiated
according to the specification:

  http://www.ietf.org/internet-drafts/draft-murray-auth-ftp-ssl-11.txt

and therefore worked with the Kermit FTP client, is out of service.
This is also the reason that IKSD is unavailable.

We hope to set up a new server soon and restore FTP/TLS as well as IKSD.

Sorry, I can't give a date.

- Frank


From jaltman2@nyc.rr.com Fri May  2 10:07:29 EDT 2003
Article: 14263 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!newsfeed-east.nntpserver.com!nntpserver.com!diablo.voicenet.com!cyclone.nyroc.rr.com!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!not-for-mail
From: "Jeffrey Altman [Road Runner NYC]" <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: ftp: SSL/TLS connect COMMAND error: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong
 version number
References: <8ba3a1cf.0304301226.40e22c0a@posting.google.com> <ztWra.28269$su3.3348850@twister.nyc.rr.com> <MR_ra.35867$7M5.3506077@twister.nyc.rr.com> <8ba3a1cf.0305020530.678cde69@posting.google.com>
In-Reply-To: <8ba3a1cf.0305020530.678cde69@posting.google.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 62
Message-ID: <ANusa.238$pq.35415@twister.nyc.rr.com>
Date: Fri, 02 May 2003 13:55:44 GMT
NNTP-Posting-Host: 66.108.138.151
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1051883744 66.108.138.151 (Fri, 02 May 2003 09:55:44 EDT)
NNTP-Posting-Date: Fri, 02 May 2003 09:55:44 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14263

Unfortunately all of the Kermit servers are no longer maintained by the
Kermit Project.  Instead they are now maintained by the Columbia 
University AcIS Unix Systems Group.  This means that no special daemons 
are installed on the machines.  This is one of the prices that had to be
paid by the community when the Kermit Project was forced to lay off 
myself and Max Evarts due to ever decreasing sales of new Kermit 95 
licenses.

No longer does Columbia University host an Internet Kermit Service 
daemon supporting all of the security protocols implemented within 
C-Kermit.

No longer does Columbia University host an FTP Service which provides 
for private anonymous connections via the use of AUTH TLS protocol.

Why are sales of Kermit 95 descreasing to unheard of levels?  I hope it 
is not the quality of the product.  :)

Could it be the economy?

Could it be the policies of the current United States President?

Could it be the inability to find "Kermit 95" listed on Google when 
searching for "terminal emulator", "file transfer", "telnet", "ssh",
"vt320", "ftp", and any of the other thousand terms which are included
in the web pages for Kermit 95 and C-Kermit?  (Of course, if you add
"kermit" to the search you will find us.)

I don't know.  But boy could I use a shot of tequila right about now.

I have been told that if every Kermit 95 user was to link to the Kermit 
95 page from their web page that Google would list us.

Back to the question at hand.  You need a public server that supports
FTP AUTH TLS that works.  Try Peter Runestig's public ftp server at

   ftp://ftp.runestig.com/

on it you can find the source code to patched versions of popular FTP
servers to add support for AUTH TLS.

Enjoy :)

- Jeffrey Altman




Rick wrote:
> I tried against kermit.columbia.edu, but it does not seems to support SSL/TLS.
> I get:
> 
> ---> AUTH SSL 
> 504 Unknown authentication type: SSL
> SSL rejected as an authentication type
> 
> 
> Is there a kermit server I can try against?
> 
> Thanks,
> RIck



From hartnuj@uk.ibm.com Fri May  2 10:17:36 EDT 2003
Article: 14264 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!news.linkpendium.com!news-out.visi.com!petbe.visi.com!uunet!ash.uu.net!an02.austin.ibm.com!ausnews.austin.ibm.com!sp15ce20.hursley.ibm.com!not-for-mail
From: John Hartnup <hartnuj@uk.ibm.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: ftp: SSL/TLS connect COMMAND error: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong
 version number
Date: Fri, 02 May 2003 14:48:54 +0100
Organization: IBM Hursley
Lines: 16
Message-ID: <b8tt07$uls$1@sp15at20.hursley.ibm.com>
References: <8ba3a1cf.0304301226.40e22c0a@posting.google.com> <ztWra.28269$su3.3348850@twister.nyc.rr.com> <MR_ra.35867$7M5.3506077@twister.nyc.rr.com> <8ba3a1cf.0305020530.678cde69@posting.google.com>
NNTP-Posting-Host: dyn-9-140-179-235.warwick.uk.ibm.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: sp15at20.hursley.ibm.com 1051883335 31420 9.140.179.235 (2 May 2003 13:48:55 GMT)
X-Complaints-To: news@hursley.ibm.com
NNTP-Posting-Date: Fri, 2 May 2003 13:48:55 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
In-Reply-To: <8ba3a1cf.0305020530.678cde69@posting.google.com>
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14264

Rick wrote:
> I tried against kermit.columbia.edu, but it does not seems to support SSL/TLS.
> I get:
> 
> ---> AUTH SSL 
> 504 Unknown authentication type: SSL
> SSL rejected as an authentication type
> 
> 
> Is there a kermit server I can try against?

Dunno, but there is a list of FTP/TLS implementations at 
http://www.ford-hutchinson.com/~fh-1-pfh/ftps-ext.html -- there are free 
server implementations there (but you would have to install and 
configure them yourself).



From fdc@columbia.edu Fri May  2 10:17:42 EDT 2003
Article: 14265 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: ftp: SSL/TLS connect COMMAND error: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong
 version number
Date: 2 May 2003 10:17:17 -0400
Organization: Columbia University
Lines: 26
Message-ID: <b8tuld$a0t$1@watsol.cc.columbia.edu>
References: <8ba3a1cf.0304301226.40e22c0a@posting.google.com> <MR_ra.35867$7M5.3506077@twister.nyc.rr.com> <8ba3a1cf.0305020530.678cde69@posting.google.com> <ANusa.238$pq.35415@twister.nyc.rr.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1051885039 24273 128.59.39.139 (2 May 2003 14:17:19 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 2 May 2003 14:17:19 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14265

In article <ANusa.238$pq.35415@twister.nyc.rr.com>,
Jeffrey Altman [Road Runner NYC] <jaltman2@nyc.rr.com> wrote:
: ... This is one of the prices that had to be
: paid by the community when the Kermit Project was forced to lay off 
: myself and Max Evarts due to ever decreasing sales of new Kermit 95 
: licenses.
: 
It's written everywhere on our website: The Kermit Project is paid for
only by the revenue it generates: software licenses, support contracts,
etc.  No revenue, no Kermit Project.  It wasn't a joke.

We're hoping the revenue stream will pick up again and we can reassemble
the group and resume work at our previous inhuman pace.

: I have been told that if every Kermit 95 user was to link to the Kermit 
: 95 page from their web page that Google would list us.
:
We have never had an advertising budget; we rely entirely on our website,
newsgroup postings, and "word of mouth" for publicity.  More links to
our website would be a big help.

: ...boy could I use a shot of tequila right about now.
: 
At 09:55:44 EDT?  Let's hope things look up.  For everybody.

- Frank


From arthur.marsh@internode.on.net Sat May  3 13:07:59 EDT 2003
Article: 14270 of comp.protocols.kermit.misc
Date: Sat, 03 May 2003 09:32:32 +0930
From: Arthur Marsh <arthur.marsh@internode.on.net>
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4a) Gecko/20030401
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: ftp: SSL/TLS connect COMMAND error: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrongversion
 number
References: <8ba3a1cf.0304301226.40e22c0a@posting.google.com> <ztWra.28269$su3.3348850@twister.nyc.rr.com> <MR_ra.35867$7M5.3506077@twister.nyc.rr.com> <8ba3a1cf.0305020530.678cde69@posting.google.com> <ANusa.238$pq.35415@twister.nyc.rr.com>
In-Reply-To: <ANusa.238$pq.35415@twister.nyc.rr.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: ppp1119.adelaide.on.net.au
Message-ID: <3eb30719@duster.adelaide.on.net>
X-Trace: duster.adelaide.on.net 1051920153 ppp1119.adelaide.on.net.au (3 May 2003 09:32:33 +0950)
Lines: 13
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!newsfeed01.tsnz.net!news.xtra.co.nz!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:14270



Jeffrey Altman [Road Runner NYC] wrote:

> I have been told that if every Kermit 95 user was to link to the Kermit 
> 95 page from their web page that Google would list us.

The trouble I have with this is that the ISP's here won't provide links 
to members' pages from their main pages )-:. I'll add a link from my 
work page.

Arthur.



From ericboniface@chez.com Mon May  5 14:08:08 EDT 2003
Article: 14271 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!newsfeed.icl.net!newsfeed.fjserv.net!c03.atl99!news.webusenet.com!news-hog.berkeley.edu!ucberkeley!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: ericboniface@chez.com (Eric)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: ckermit on HPUX11.
Date: 5 May 2003 09:33:12 -0700
Organization: http://groups.google.com/
Lines: 25
Message-ID: <c30aaa81.0305050833.14579553@posting.google.com>
References: <c30aaa81.0304180518.3a35503b@posting.google.com> <b83isu$fa4$1@watsol.cc.columbia.edu> <3EA555B8.9090601@nyc.rr.com> <c30aaa81.0304290200.20917245@posting.google.com> <b8lvv9$nu6$1@watsol.cc.columbia.edu>
NNTP-Posting-Host: 192.6.111.74
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1052152393 11084 127.0.0.1 (5 May 2003 16:33:13 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 5 May 2003 16:33:13 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14271

> hpux1100o+openssl:
> 	MFLAGS='+ESlit +ESsfc' ; \
> 	KFLAGS="-DCK_AUTHENTICATION -DCK_SSL -I/opt/zlib/include \
> 	-DZLIB -DOPENSSL_097 $(SSLINC) $(KFLAGS) -DHPUX1100 -D__HP_CURSES \
> 	-Aa -D_HPUX_SOURCE -DCK_ANSIC -DUTIMEH +O2 -Wl,-Fw $$MFLAGS" ; \
> 	LIBS="$(SSLLIB) $(KRB5LIB) -lssl -lcrypto \
> 	-L/opt/zlib/lib -lz" \
> 	$(MAKE) "SHELL=/usr/bin/sh" "PATH=/opt/ansic/bin:$$PATH" xermit \
> 	KTARGET=$${KTARGET:-$(@)} \
> 	"CFLAGS = -DHPUX10 -DDIRENT -DSTERMIOX -DCK_DSYSINI -DHDBUUCP \
> 	-DCK_CURSES -DCK_WREFRESH -DTCPSOCKET -DCK_REDIR -DRENAME -DFNFLOAT \
> 	$$KFLAGS $$OFLAGS $(KFLAGS)" \
> 	"LNKFLAGS=-s $(LNKFLAGS)" "LIBS = -lm -lcurses $$LIBS $(KLIBS)"
> 
> and please let us know whether it worked.
> 
> - Frank

thanks for your help ! 
In fact I found the solution : it is right, it was due to a mistake in
the makefile; in fact, you need to switch -lssl and -lcrypto !
the right order is '-lssl -lcrypto'

Thanks for your help ! 
Eric.


From ericboniface@chez.com Wed May  7 09:54:26 EDT 2003
Article: 14272 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: ericboniface@chez.com (Eric)
Newsgroups: comp.protocols.kermit.misc
Subject: Kermit/HPUX11 and socks
Date: 6 May 2003 06:46:46 -0700
Organization: http://groups.google.com/
Lines: 8
Message-ID: <c30aaa81.0305060546.dabfef@posting.google.com>
NNTP-Posting-Host: 192.6.111.74
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1052228806 6594 127.0.0.1 (6 May 2003 13:46:46 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 6 May 2003 13:46:46 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14272

Hi,

I'd like to make kermit under an HPUX11 system and with a socks library like dante).

does anyone already try such things ? 

Regards,
Eric.


From jaltman2@nyc.rr.com Wed May  7 09:54:34 EDT 2003
Article: 14274 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!nntp1.roc.gblx.net!nntp.gblx.net!nntp.gblx.net!priapus.visi.com!news-out.visi.com!green.readfreenews.net!news.readfreenews.net!news-xfer.cox.net!cox.net!bigfeed1.bellsouth.net!news.bellsouth.net!news-east.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: <3EB830E7.7050907@nyc.rr.com>
From: "Jeffrey Altman [Road Runner NYC]" <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit/HPUX11 and socks
References: <c30aaa81.0305060546.dabfef@posting.google.com>
In-Reply-To: <c30aaa81.0305060546.dabfef@posting.google.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 15
Date: Tue, 06 May 2003 21:57:31 GMT
NNTP-Posting-Host: 66.108.138.151
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1052258251 66.108.138.151 (Tue, 06 May 2003 17:57:31 EDT)
NNTP-Posting-Date: Tue, 06 May 2003 17:57:31 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14274

You can link to socks libraries.  define CK_SOCKS and CK_SOCKS5 when 
compiling.

I am not familiar with the dante implementation.

Eric wrote:
> Hi,
> 
> I'd like to make kermit under an HPUX11 system and with a socks library like dante).
> 
> does anyone already try such things ? 
> 
> Regards,
> Eric.



From onions@kr01.piahost.net Wed May  7 09:54:45 EDT 2003
Article: 14273 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: onions@kr01.piahost.net (onions)
Newsgroups: comp.protocols.kermit.misc
Subject: "ftp check file": some machines are ok, some are not
Date: 6 May 2003 12:27:49 -0700
Organization: http://groups.google.com/
Lines: 33
Message-ID: <8a794c4f.0305061127.44650bc6@posting.google.com>
NNTP-Posting-Host: 203.226.144.34
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1052249269 24633 127.0.0.1 (6 May 2003 19:27:49 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 6 May 2003 19:27:49 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14273

Hello kermit users,

  I am trying to download files only when a certain file is not on the 
  directory.  As you may guess, the file is an indicator and means 
  " files on the directory are being modified, so don't download ".
  
  I have used "ftp check INDICATOR" as below: 
         ...      
         ftp check INDICATOR
         if success exit 1
         if fail {
            ftp mget *
            ftp bye
         }
         exit

  The problem is the above code works on machines connected by ppp, 
  and dosn't work on machines connected by internet. 

  It shows the message as below, and hold for the user's input. 
  "Control-C" makes move forward, but it should be done without 
  user's input. 

        Remote system type is UNIX.
        Default transfer mode is BINARY
        CWD command successful.
        INDICATOR: No such file or directory.  -----> waiting 

  Any help would be appreciated. 

  My working env is Linux(Redhat 8.0) and C-Kermit 8.0.209

  onions (onions@kr01.piahost.net)


From jaltman2@nyc.rr.com Wed May  7 09:54:52 EDT 2003
Article: 14276 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!newsfeed.vmunix.org!central.cox.net!cox.net!bigfeed1.bellsouth.net!news.bellsouth.net!news-east.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
From: "Jeffrey Altman [Road Runner NYC]" <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: "ftp check file": some machines are ok, some are not
References: <8a794c4f.0305061127.44650bc6@posting.google.com>
In-Reply-To: <8a794c4f.0305061127.44650bc6@posting.google.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 39
Message-ID: <HgWta.30$kH.24064@twister.nyc.rr.com>
Date: Tue, 06 May 2003 22:01:11 GMT
NNTP-Posting-Host: 66.108.138.151
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1052258471 66.108.138.151 (Tue, 06 May 2003 18:01:11 EDT)
NNTP-Posting-Date: Tue, 06 May 2003 18:01:11 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14276

FTP is an application level protocol.  It cannot be effected by the type
of underlying connection.  There must be something else going on here.


onions wrote:
> Hello kermit users,
> 
>   I am trying to download files only when a certain file is not on the 
>   directory.  As you may guess, the file is an indicator and means 
>   " files on the directory are being modified, so don't download ".
>   
>   I have used "ftp check INDICATOR" as below: 
>          ...      
>          ftp check INDICATOR
>          if success exit 1
>          if fail {
>             ftp mget *
>             ftp bye
>          }
>          exit
> 
>   The problem is the above code works on machines connected by ppp, 
>   and dosn't work on machines connected by internet. 
> 
>   It shows the message as below, and hold for the user's input. 
>   "Control-C" makes move forward, but it should be done without 
>   user's input. 
> 
>         Remote system type is UNIX.
>         Default transfer mode is BINARY
>         CWD command successful.
>         INDICATOR: No such file or directory.  -----> waiting 
> 
>   Any help would be appreciated. 
> 
>   My working env is Linux(Redhat 8.0) and C-Kermit 8.0.209
> 
>   onions (onions@kr01.piahost.net)



From roberto2312@hotmail.com Thu May  8 09:09:16 EDT 2003
Article: 14277 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!news.mailgate.org!nntp.infostrada.it!twister2.libero.it.POSTED!not-for-mail
From: Roberto Colmegna <roberto2312@hotmail.com>
User-Agent: Mozilla/5.0 (Windows; U; Win95; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: ASCII to integer
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 10
Message-ID: <Vsmua.100267$iy5.3080023@twister2.libero.it>
Date: Thu, 08 May 2003 06:05:41 GMT
NNTP-Posting-Host: 151.38.135.18
X-Complaints-To: abuse@net24.it
X-Trace: twister2.libero.it 1052373941 151.38.135.18 (Thu, 08 May 2003 08:05:41 MET DST)
NNTP-Posting-Date: Thu, 08 May 2003 08:05:41 MET DST
Organization: [Infostrada]
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14277

Hi,

there are in kermit a function which convert
a char to an ascii (like C-fun atoi())?

And the opposite ones (itoa)?

TIA
Roberto COlmegna



From jaltman2@nyc.rr.com Thu May  8 09:09:19 EDT 2003
Article: 14278 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!skynet.be!skynet.be!newsfeed-east.nntpserver.com!nntpserver.com!news-west.rr.com!news-server.columbus.rr.com!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!53ab2750!not-for-mail
From: "Jeffrey Altman [Road Runner NYC]" <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030507
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: ASCII to integer
References: <Vsmua.100267$iy5.3080023@twister2.libero.it>
In-Reply-To: <Vsmua.100267$iy5.3080023@twister2.libero.it>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 29
Message-ID: <8Squa.14558$h42.2624@twister.nyc.rr.com>
Date: Thu, 08 May 2003 11:05:40 GMT
NNTP-Posting-Host: 66.108.138.151
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1052391940 66.108.138.151 (Thu, 08 May 2003 07:05:40 EDT)
NNTP-Posting-Date: Thu, 08 May 2003 07:05:40 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14278

HELP FUNCTION <name> gives the calling conventions of the given function.

[C:\] K-95> help fun char

\fcharacter(n1)
   n1 = integer.
Returns character:
   The character whose numeric code is n1.

[C:\] K-95> help fun code

\fcode(c1)
   c1 = character.
Returns integer:
   The numeric code of character c1.


Roberto Colmegna wrote:
> Hi,
> 
> there are in kermit a function which convert
> a char to an ascii (like C-fun atoi())?
> 
> And the opposite ones (itoa)?
> 
> TIA
> Roberto COlmegna
> 



From cpetty1963@yahoo.com Fri May  9 15:14:37 EDT 2003
Article: 14279 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: cpetty1963@yahoo.com (Craig Petty)
Newsgroups: comp.protocols.kermit.misc
Subject: C-Kermit AIX Binary with SSL
Date: 9 May 2003 11:52:46 -0700
Organization: http://groups.google.com/
Lines: 8
Message-ID: <bb491ed9.0305091052.295b8a63@posting.google.com>
NNTP-Posting-Host: 12.9.138.11
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1052506366 1049 127.0.0.1 (9 May 2003 18:52:46 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 9 May 2003 18:52:46 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14279

Anyone know where I can get an AIX (4.3) binary build with SSL?  I've
downloaded several from columbia.edu, but none have SSL support
compiled in.

We don't have compilers on our AIX boxes and I wanted to check first
for a built version before going down the path of building my own.

Thanks


From fdc@columbia.edu Fri May  9 15:14:39 EDT 2003
Article: 14280 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: C-Kermit AIX Binary with SSL
Date: 9 May 2003 15:14:00 -0400
Organization: Columbia University
Lines: 23
Message-ID: <b9gulo$p0g$1@watsol.cc.columbia.edu>
References: <bb491ed9.0305091052.295b8a63@posting.google.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1052507648 6288 128.59.39.139 (9 May 2003 19:14:08 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 9 May 2003 19:14:08 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14280

In article <bb491ed9.0305091052.295b8a63@posting.google.com>,
Craig Petty <cpetty1963@yahoo.com> wrote:
: Anyone know where I can get an AIX (4.3) binary build with SSL?  I've
: downloaded several from columbia.edu, but none have SSL support
: compiled in.
: 
USA law forbids us putting up binaries containing strong encryption
algorithms for public access.

: We don't have compilers on our AIX boxes and I wanted to check first
: for a built version before going down the path of building my own.
: 
Personally I think that the whole concept of Unix without C is pretty
strange.  Then again so is so is a law that allows us to publish
source code but not binaries.

It's a conundrum, isn't it?  If I were you, I would mention it to IBM.
They could either include compilers with AIX, so users could build
Kermit and other software that is available in source-code only, or
they could get a license to include the secure version of Kermit
with AIX.

- Frank


From dold@C-KermitXA.usenet.us.com Fri May  9 18:32:17 EDT 2003
Article: 14281 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!newsfeed.icl.net!newsfeed.fjserv.net!diablo.theplanet.net!mephistopheles.news.clara.net!news.clara.net!skynet.be!skynet.be!news.lightlink.com!wasp.rahul.net!blue.rahul.net!not-for-mail
From: dold@C-KermitXA.usenet.us.com
Newsgroups: comp.protocols.kermit.misc
Subject: Re: C-Kermit AIX Binary with SSL
Date: Fri, 9 May 2003 19:44:15 +0000 (UTC)
Organization: a2i network
Lines: 19
Sender: Clarence Dold <dold@violet.rahul.net>
Message-ID: <b9h0ef$qr7$1@blue.rahul.net>
References: <bb491ed9.0305091052.295b8a63@posting.google.com>
NNTP-Posting-Host: violet.rahul.net
X-Trace: blue.rahul.net 1052509455 27495 66.237.72.28 (9 May 2003 19:44:15 GMT)
X-Complaints-To: support@rahul.net
NNTP-Posting-Date: Fri, 9 May 2003 19:44:15 +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.18-27.7.xsmp (i686))
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14281

Craig Petty <cpetty1963@yahoo.com> wrote:
> Anyone know where I can get an AIX (4.3) binary build with SSL?  I've
> downloaded several from columbia.edu, but none have SSL support
> compiled in.

> We don't have compilers on our AIX boxes and I wanted to check first
> for a built version before going down the path of building my own.

If there's no philosophical reason not to use gcc, you could download that
>from  
http://www-1.ibm.com/servers/aix/products/aixos/linux/download.html
Ignore the "Linux" part of the name.  All of the AIX freeware is built to
RPM distribution.
I used the gcc from here to compile kermit on 4.3 and 5.1 H80.


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


From fdc@columbia.edu Fri May  9 18:35:15 EDT 2003
Article: 14282 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: C-Kermit AIX Binary with SSL
Date: 9 May 2003 18:35:11 -0400
Organization: Columbia University
Lines: 27
Message-ID: <b9haev$fbl$1@watsol.cc.columbia.edu>
References: <bb491ed9.0305091052.295b8a63@posting.google.com> <b9h0ef$qr7$1@blue.rahul.net>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1052519712 15316 128.59.39.139 (9 May 2003 22:35:12 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 9 May 2003 22:35:12 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14282

In article <b9h0ef$qr7$1@blue.rahul.net>,
 <dold@C-KermitXA.usenet.us.com> wrote:
: Craig Petty <cpetty1963@yahoo.com> wrote:
: > Anyone know where I can get an AIX (4.3) binary build with SSL?  I've
: > downloaded several from columbia.edu, but none have SSL support
: > compiled in.
: 
: > We don't have compilers on our AIX boxes and I wanted to check first
: > for a built version before going down the path of building my own.
: 
: If there's no philosophical reason not to use gcc, you could download that
: from 
: http://www-1.ibm.com/servers/aix/products/aixos/linux/download.html
: Ignore the "Linux" part of the name.  All of the AIX freeware is built to
: RPM distribution.
: I used the gcc from here to compile kermit on 4.3 and 5.1 H80.
: 
The only makefile targets for building C-Kermit with OpenSSL on AIX are:

  aix43gcc+openssl (OpenSSL only)
  aix43gcc+krb5+krb4+openssl (OpenSSL + Kerberos 4 and 5)

Since you have AIX 4.3, the first one should work.  Those who have other
AIX versions and want to build with OpenSSL might need to add makefile 
targets for these combinations.

- Frank


From onions@kr01.piahost.net Mon May 12 08:56:10 EDT 2003
Article: 14283 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed!arclight.uoregon.edu!logbridge.uoregon.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: onions@kr01.piahost.net (onions)
Newsgroups: comp.protocols.kermit.misc
Subject: telnet to system with no password set
Date: 11 May 2003 18:25:22 -0700
Organization: http://groups.google.com/
Lines: 19
Message-ID: <8a794c4f.0305111725.1f996faa@posting.google.com>
NNTP-Posting-Host: 203.226.144.34
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1052702722 10513 127.0.0.1 (12 May 2003 01:25:22 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 12 May 2003 01:25:22 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14283

Hello kermit users, 

I am trying to connect to the system that requires no password. 
The problem is I am unable to log in by telnet function. It stops 
at the password step. I think there is an option for that somewhere,
but my search has been fruitless so far. 

Any help would be appreciated. Thank you in advance. 

onions@kr01.piahost.net


Working env is = Redhat 8.0, C-Kermit 8.0.209
Connection is  = ppp
Commands are: 
        C-Kermit> set host 123.123.123.1 
                  Trying 123.123.123.1 ... (OK)
        C-Kermit> c
                  ~~~~~~~~  ------------------>> hold at this step


From jaltman2@nyc.rr.com Mon May 12 08:56:15 EDT 2003
Article: 14286 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newspump.monmouth.com!newspeer.monmouth.com!newsfeed!wn13feed!wn12feed!worldnet.att.net!24.30.200.11!news-east.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
From: "Jeffrey Altman [Road Runner NYC]" <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030507
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: telnet to system with no password set
References: <8a794c4f.0305111725.1f996faa@posting.google.com>
In-Reply-To: <8a794c4f.0305111725.1f996faa@posting.google.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 35
Message-ID: <WWLva.7563$4_1.1962722@twister.nyc.rr.com>
Date: Mon, 12 May 2003 11:53:26 GMT
NNTP-Posting-Host: 66.108.138.151
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1052740406 66.108.138.151 (Mon, 12 May 2003 07:53:26 EDT)
NNTP-Posting-Date: Mon, 12 May 2003 07:53:26 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14286

What type of host are you connecting to?
You may want to debug the Telnet negotiations to see if they are 
succeeding or not.

   SET TELNET DEBUG ON

You can read me about common Telnet negotiation errors at

   http://www.kermit-project.org/telnet.html

Jeffrey Altman
Volunter, Lead Kermit Developer


onions wrote:
> Hello kermit users, 
> 
> I am trying to connect to the system that requires no password. 
> The problem is I am unable to log in by telnet function. It stops 
> at the password step. I think there is an option for that somewhere,
> but my search has been fruitless so far. 
> 
> Any help would be appreciated. Thank you in advance. 
> 
> onions@kr01.piahost.net
> 
> 
> Working env is = Redhat 8.0, C-Kermit 8.0.209
> Connection is  = ppp
> Commands are: 
>         C-Kermit> set host 123.123.123.1 
>                   Trying 123.123.123.1 ... (OK)
>         C-Kermit> c
>                   ~~~~~~~~  ------------------>> hold at this step



From ishikawa@yk.rim.or.jp Mon May 12 08:58:56 EDT 2003
Article: 14285 of comp.protocols.kermit.misc
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: ftp: SSL/TLS connect COMMAND error: error:1408F10B:SSL 
 routines:SSL3_GET_RECORD:wrongversion number
Date: Mon, 12 May 2003 19:12:28 +0900
Organization: Ye 'Ol Disorganized NNTPCache groupie
Lines: 85
Message-ID: <3EBF738C.E694248F@yk.rim.or.jp>
References: <8ba3a1cf.0304301226.40e22c0a@posting.google.com> <MR_ra.35867$7M5.3506077@twister.nyc.rr.com> <8ba3a1cf.0305020530.678cde69@posting.google.com> <ANusa.238$pq.35415@twister.nyc.rr.com> <b8tuld$a0t$1@watsol.cc.columbia.edu>
NNTP-Posting-Host: pl111.nas911.n-yokohama.nttpc.ne.jp
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
X-Trace: news.rim.or.jp 1052734601 1492 210.139.98.111 (12 May 2003 10:16:41 GMT)
X-Complaints-To: root@rim.or.jp
NNTP-Posting-Date: Mon, 12 May 2003 10:16:41 +0000 (UTC)
X-Mailer: Mozilla 4.8 [en] (X11; U; Linux 2.4.20 i686)
X-Accept-Language: ja, en
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:14285

Frank da Cruz wrote:

> It's written everywhere on our website: The Kermit Project is paid for
> only by the revenue it generates: software licenses, support contracts,
> etc.  No revenue, no Kermit Project.  It wasn't a joke.
> 
> We're hoping the revenue stream will pick up again and we can reassemble
> the group and resume work at our previous inhuman pace.
> 
> : I have been told that if every Kermit 95 user was to link to the Kermit 
> : 95 page from their web page that Google would list us.
> :
> We have never had an advertising budget; we rely entirely on our website,
> newsgroup postings, and "word of mouth" for publicity.  More links to
> our website would be a big help.

One thing you might try is to get listed in Google's category 
listing.

Example.
If we type telnet to google search engine, (well I am re-directed
to Google's Japanese engine, it seems. But I hope everybody
sees the same listing.)
we get an entry for "BetterTelnet for MacOS" first.
But above it, we see the category listing:
Computers > Software > Internet > Clients > Telnet

If we follow this link, we get 17 listings of telnet-related pages.
(Yes, too bad, we don't have Kermit link here).

Now, when you look at the bottom of this category link page,
you see a submit a site page.
This is category listing application link. With a suitable
description of the Kermit project page, you have a chance
of getting it listed there, i.e., category for "telnet".
Ditto for "terminal emulation", "ssh", "ftp", "file transfer", 
etc..

Actually, I tried to submit kermit to these categories, but
the submission server seems to be overloaded. (Those spammers who claim
"Your web page in major search engines in 72 hours or your money back!"
guys must have overloaded the server very much.).
So I am not sure if the submission worked or not. Also, the submission
is evaluated by human editor and checked according to the
web page and so can be rejected. 

So you or your colleagues might want to try submitting the 
entry until the Kermit page is listed in these categories 
>from  time to time.

Of course this is no cure of the lack of user pages pointing to Kermit
web site, but a start for remedying the situation.

I have no idea for the cure for this problem.
(I added a link to my own web pages, but not sure
whether one instance alone is useful in the short term.)

One thing I noticed is on Japanese google engine is that
a Japanase software house was advertizing for a
shareware ftp client for Windows when I searched for ftp
key word. (The ad appears on the right hand column.)
I got curious and found that shareware costs about US 17 dollars.
Google seems to have a method of targeting a very focused
users (for example, this ftp client is obviously shown for
accesses from Japanese domain only) and so it might be
very cost-efficient: otherwise, I don't think promoting
17 dollars shareware won't be possible using google.
Agreed that this ftp client uses GUI and seems to have
some features for casual PC users who just want to upload
their web pages to web hosting sites, etc. and so may have
an appeal to broad market (broader than Kermit???).

So if you can somehow find out the cost of google ads in USA,
and the budget allows the use of such promotion, then
google might be a very useful way to promote the name
recognition of Kermit.

Just a thought.

-- 
int main(void){int j=2003;/*(c)2003 cishikawa. */
char t[] ="<CI> @abcdefghijklmnopqrstuvwxyz.,\n\"";
char *i ="g>qtCIuqivb,gCwe\np@.ietCIuqi\"tqkvv is>dnamz";
while(*i)((j+=strchr(t,*i++)-(int)t),(j%=sizeof t-1),
(putchar(t[j])));return 0;}/* under GPL */


From ericboniface@chez.com Mon May 12 10:02:35 EDT 2003
Article: 14287 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: ericboniface@chez.com (Eric)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit/HPUX11 and socks
Date: 12 May 2003 06:08:12 -0700
Organization: http://groups.google.com/
Lines: 13
Message-ID: <c30aaa81.0305120508.2a9f2264@posting.google.com>
References: <c30aaa81.0305060546.dabfef@posting.google.com> <3EB830F9.2030106@nyc.rr.com>
NNTP-Posting-Host: 192.6.111.74
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1052744892 8839 127.0.0.1 (12 May 2003 13:08:12 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 12 May 2003 13:08:12 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14287

"Jeffrey Altman [Road Runner NYC]" <jaltman2@nyc.rr.com> wrote in message news:<3EB830F9.2030106@nyc.rr.com>...
> You can link to socks libraries.  define CK_SOCKS and CK_SOCKS5 when 
> compiling.
> 
> I am not familiar with the dante implementation.
> 
I try to do so with dante library, not really successful.

Did you try such compilation under HPUX11 ? 
If so, with wich socks library ? 

Regards,
Eric.


From ericboniface@chez.com Mon May 12 10:05:30 EDT 2003
Article: 14288 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed!arclight.uoregon.edu!logbridge.uoregon.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: ericboniface@chez.com (Eric)
Newsgroups: comp.protocols.kermit.misc
Subject: Kermit/W2k ftp over SSL issue
Date: 12 May 2003 06:13:20 -0700
Organization: http://groups.google.com/
Lines: 30
Message-ID: <c30aaa81.0305120513.b8a4732@posting.google.com>
NNTP-Posting-Host: 192.6.111.74
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1052745200 8991 127.0.0.1 (12 May 2003 13:13:20 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 12 May 2003 13:13:20 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14288

Hello,

I try to connect to a FTP over SSL server with kermit, but without
success.

Here are the traces : 

Warning: Server has a self-signed certificate
[0] subject=/CN=xx.xx.xx.xx/L=..........

Continue? (Y/N) Y
Warning: hostname ("xx.xx.xx.xx") does not match server's certificate
("NO IP IN CERT")

Continue? (Y/N) Y
[TLS - RC4-SHA  SSLv3 .....]
...
Connected to xx.xx.xx.xx
..
User name okay, need password
Not logged in, unauthorized IP address.
FTP login failed.

I use FTPVoyager on the same W2K station without any trouble (except
bugs of course!).

Do you have any idea ? 

Regards,
Eric.


From fdc@columbia.edu Mon May 12 10:06:10 EDT 2003
Article: 14289 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit/HPUX11 and socks
Date: 12 May 2003 10:05:15 -0400
Organization: Columbia University
Lines: 19
Message-ID: <b9o9mr$39g$1@watsol.cc.columbia.edu>
References: <c30aaa81.0305060546.dabfef@posting.google.com> <3EB830F9.2030106@nyc.rr.com> <c30aaa81.0305120508.2a9f2264@posting.google.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1052748316 15529 128.59.39.139 (12 May 2003 14:05:16 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 12 May 2003 14:05:16 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14289

In article <c30aaa81.0305120508.2a9f2264@posting.google.com>,
Eric <ericboniface@chez.com> wrote:
: "Jeffrey Altman [Road Runner NYC]" <jaltman2@nyc.rr.com>
: wrote in message news:<3EB830F9.2030106@nyc.rr.com>...
: > You can link to socks libraries.  define CK_SOCKS and CK_SOCKS5 when 
: > compiling.
: > 
: > I am not familiar with the dante implementation.
: > 
: I try to do so with dante library, not really successful.
: 
: Did you try such compilation under HPUX11 ? 
: If so, with wich socks library ? 
: 
We don't have access to any HP-UX platforms that have SOCKS libraries.
If Jeff's suggestion didn't work for you, you should send the error
messages to kermit-support@columbia.edu.

- Frank


From jaltman2@nyc.rr.com Mon May 12 11:06:55 EDT 2003
Article: 14290 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!news.gtei.net!news.inet.it!area.cu.mi.it!news.mailgate.org!newsfeed.stueberl.de!small1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed1.easynews.com!easynews.com!easynews!news01.optonline.net!news-east.rr.com!news-server.columbus.rr.com!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!53ab2750!not-for-mail
From: "Jeffrey Altman [Road Runner NYC]" <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030507
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit/W2k ftp over SSL issue
References: <c30aaa81.0305120513.b8a4732@posting.google.com>
In-Reply-To: <c30aaa81.0305120513.b8a4732@posting.google.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 35
Message-ID: <emOva.23753$h42.6163@twister.nyc.rr.com>
Date: Mon, 12 May 2003 14:39:06 GMT
NNTP-Posting-Host: 66.108.138.151
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1052750346 66.108.138.151 (Mon, 12 May 2003 10:39:06 EDT)
NNTP-Posting-Date: Mon, 12 May 2003 10:39:06 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14290

You will have to look in the logs for the FTP daemon to find out why
it accepts the IP address for one program and not the other.

Eric wrote:
> Hello,
> 
> I try to connect to a FTP over SSL server with kermit, but without
> success.
> 
> Here are the traces : 
> 
> Warning: Server has a self-signed certificate
> [0] subject=/CN=xx.xx.xx.xx/L=..........
> 
> Continue? (Y/N) Y
> Warning: hostname ("xx.xx.xx.xx") does not match server's certificate
> ("NO IP IN CERT")
> 
> Continue? (Y/N) Y
> [TLS - RC4-SHA  SSLv3 .....]
> ...
> Connected to xx.xx.xx.xx
> ..
> User name okay, need password
> Not logged in, unauthorized IP address.
> FTP login failed.
> 
> I use FTPVoyager on the same W2K station without any trouble (except
> bugs of course!).
> 
> Do you have any idea ? 
> 
> Regards,
> Eric.



From jaltman2@nyc.rr.com Mon May 12 11:07:08 EDT 2003
Article: 14291 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!news.gtei.net!colt.net!peernews-us.colt.net!newsfeed.news2me.com!cyclone1.gnilink.net!wn14feed!worldnet.att.net!24.30.200.11!news-east.rr.com!news-server.columbus.rr.com!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!53ab2750!not-for-mail
From: "Jeffrey Altman [Road Runner NYC]" <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030507
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit/HPUX11 and socks
References: <c30aaa81.0305060546.dabfef@posting.google.com> <3EB830F9.2030106@nyc.rr.com> <c30aaa81.0305120508.2a9f2264@posting.google.com>
In-Reply-To: <c30aaa81.0305120508.2a9f2264@posting.google.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 27
Message-ID: <ioOva.23764$h42.19015@twister.nyc.rr.com>
Date: Mon, 12 May 2003 14:41:18 GMT
NNTP-Posting-Host: 66.108.138.151
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1052750478 66.108.138.151 (Mon, 12 May 2003 10:41:18 EDT)
NNTP-Posting-Date: Mon, 12 May 2003 10:41:18 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14291

I have not compiled C-Kermit against the Dante libraries.  I am not sure 
that anyone has done so.  If you would like to hire me to port C-Kermit 
to support Dante, I would be happy to do the work.  Please contact me 
privately.

Jeffrey Altman
Volunteer Kermit Developer.


Eric wrote:

> "Jeffrey Altman [Road Runner NYC]" <jaltman2@nyc.rr.com> wrote in message news:<3EB830F9.2030106@nyc.rr.com>...
> 
>>You can link to socks libraries.  define CK_SOCKS and CK_SOCKS5 when 
>>compiling.
>>
>>I am not familiar with the dante implementation.
>>
> 
> I try to do so with dante library, not really successful.
> 
> Did you try such compilation under HPUX11 ? 
> If so, with wich socks library ? 
> 
> Regards,
> Eric.



From dold@ftpXXSSLXT.usenet.us.com Mon May 12 16:04:32 EDT 2003
Article: 14292 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsfeed.nyc.globix.net!newsfeed.sjc.globix.net!cyclone-sf.pbi.net!151.164.30.35!cyclone.swbell.net!newsfeed1.easynews.com!easynews.com!easynews!crtntx1-snh1.gtei.net!mtvwca1-snh1.ops.genuity.net!mtvwca1-snf1.ops.genuity.net!news.gtei.net!news.mainstreet.net!wasp.rahul.net!blue.rahul.net!not-for-mail
From: dold@ftpXXSSLXT.usenet.us.com
Newsgroups: comp.protocols.kermit.misc
Subject: Re: ftp: SSL/TLS connect COMMAND error: error:1408F10B:SSL  routines:SSL3_GET_RECORD:wrongversion number
Date: Mon, 12 May 2003 16:32:37 +0000 (UTC)
Organization: a2i network
Lines: 12
Sender: Clarence Dold <dold@violet.rahul.net>
Message-ID: <b9oib5$ogn$1@blue.rahul.net>
References: <8ba3a1cf.0304301226.40e22c0a@posting.google.com> <MR_ra.35867$7M5.3506077@twister.nyc.rr.com> <8ba3a1cf.0305020530.678cde69@posting.google.com> <ANusa.238$pq.35415@twister.nyc.rr.com> <b8tuld$a0t$1@watsol.cc.columbia.edu> <3EBF738C.E694248F@yk.rim.or.jp>
NNTP-Posting-Host: violet.rahul.net
X-Trace: blue.rahul.net 1052757157 25111 66.237.72.28 (12 May 2003 16:32:37 GMT)
X-Complaints-To: support@rahul.net
NNTP-Posting-Date: Mon, 12 May 2003 16:32:37 +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.18-27.7.xsmp (i686))
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14292

Ishikawa <ishikawa@yk.rim.or.jp> wrote:
> shareware ftp client for Windows when I searched for ftp
> key word. (The ad appears on the right hand column.)
> I got curious and found that shareware costs about US 17 dollars.
> Google seems to have a method of targeting a very focused
> users (for example, this ftp client is obviously shown for

I have a contact inside Google, who works in that department.
The banners at the top are fixed price, and rather expensive.
The adverts on the right side are priced per click, with some bundled
amounts available.



From dhuff@armadillo.itg.ti.com Tue May 13 16:55:39 EDT 2003
Article: 14293 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed!arclight.uoregon.edu!logbridge.uoregon.edu!news.smu.edu!news.ti.com!not-for-mail
From: David Huff <dhuff@armadillo.itg.ti.com>
Newsgroups: comp.protocols.kermit.misc
Subject: making kermit exit to the cmd prompt
Date: Tue, 13 May 2003 15:46:19 -0500
Organization: Texas Instruments
Lines: 15
Message-ID: <pan.2003.05.13.15.46.19.79295.24789@armadillo.itg.ti.com>
NNTP-Posting-Host: armadillo.itg.ti.com
Mime-Version: 1.0
Content-Type: text/plain; charset=iso885915
Content-Transfer-Encoding: 8bit
X-Trace: home.itg.ti.com 1052858665 8972 172.25.44.25 (13 May 2003 20:44:25 GMT)
X-Complaints-To: usenet@news.ti.com
NNTP-Posting-Date: 13 May 2003 20:44:25 GMT
User-Agent: Pan/0.11.2 (Unix)
X-Comment-To: ALL
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14293

I've got a kermit session that I'd like to have exit to the Unix cmd
prompt in the following circumstances:

1) invoke kermit with a file of SET cmds, with the ANSWER cmd as the last
one in the file. So it's just sitting there waiting for someone to
dial-in.

2) once another kermit session dials-in, it may or may not send a file.
however, the remote kermit will issue the HANGUP cmd to break the
connection.

3) at this point, I'd like the kermit session in item 1) above to EXIT
and drop bake to the Unix cmd prompt. 

AllI've tried


From dhuff@armadillo.itg.ti.com Tue May 13 16:55:54 EDT 2003
Article: 14294 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed!arclight.uoregon.edu!logbridge.uoregon.edu!news.smu.edu!news.ti.com!not-for-mail
From: David Huff <dhuff@armadillo.itg.ti.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: making kermit exit to the cmd prompt
Date: Tue, 13 May 2003 15:49:42 -0500
Organization: Texas Instruments
Lines: 27
Message-ID: <pan.2003.05.13.15.49.42.267491.24789@armadillo.itg.ti.com>
References: <pan.2003.05.13.15.46.19.79295.24789@armadillo.itg.ti.com>
NNTP-Posting-Host: armadillo.itg.ti.com
Mime-Version: 1.0
Content-Type: text/plain; charset=iso885915
Content-Transfer-Encoding: 8bit
X-Trace: home.itg.ti.com 1052858868 8972 172.25.44.25 (13 May 2003 20:47:48 GMT)
X-Complaints-To: usenet@news.ti.com
NNTP-Posting-Date: 13 May 2003 20:47:48 GMT
User-Agent: Pan/0.11.2 (Unix)
X-Comment-To: "David Huff" <dhuff@armadillo.itg.ti.com>
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14294

On Tue, 13 May 2003 15:46:19 -0500, David Huff wrote:

> I've got a kermit session that I'd like to have exit to the Unix cmd
> prompt in the following circumstances:
> 
> 1) invoke kermit with a file of SET cmds, with the ANSWER cmd as the
> last one in the file. So it's just sitting there waiting for someone to
> dial-in.
> 
> 2) once another kermit session dials-in, it may or may not send a file.
> however, the remote kermit will issue the HANGUP cmd to break the
> connection.
> 
> 3) at this point, I'd like the kermit session in item 1) above to EXIT
> and drop bake to the Unix cmd prompt.
> 
> AllI've tried

darn it, hit 'post' before I was done ;) Anyways, all this should happen
w/o any user interaction. I've tried it like this:

  kermit setparams.ksc -E

but when the remote kermit hangs up, I'm still at the kermit prompt. Am I
simply not understanding what '-E' does ?

Thanks, David


From fdc@columbia.edu Tue May 13 16:57:42 EDT 2003
Article: 14295 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: making kermit exit to the cmd prompt
Date: 13 May 2003 16:57:32 -0400
Organization: Columbia University
Lines: 34
Message-ID: <b9rm7s$4tv$1@watsol.cc.columbia.edu>
References: <pan.2003.05.13.15.46.19.79295.24789@armadillo.itg.ti.com> <pan.2003.05.13.15.49.42.267491.24789@armadillo.itg.ti.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1052859453 6554 128.59.39.139 (13 May 2003 20:57:33 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 13 May 2003 20:57:33 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14295

In article <pan.2003.05.13.15.49.42.267491.24789@armadillo.itg.ti.com>,
David Huff  <dhuff@armadillo.itg.ti.com> wrote:
: On Tue, 13 May 2003 15:46:19 -0500, David Huff wrote:
: 
: > I've got a kermit session that I'd like to have exit to the Unix cmd
: > prompt in the following circumstances:
: > 
: > 1) invoke kermit with a file of SET cmds, with the ANSWER cmd as the
: > last one in the file. So it's just sitting there waiting for someone to
: > dial-in.
: > 
: > 2) once another kermit session dials-in, it may or may not send a file.
: > however, the remote kermit will issue the HANGUP cmd to break the
: > connection.
: > 
: > 3) at this point, I'd like the kermit session in item 1) above to EXIT
: > and drop bake to the Unix cmd prompt.
: > 
: > AllI've tried
: 
: darn it, hit 'post' before I was done ;) Anyways, all this should happen
: w/o any user interaction. I've tried it like this:
: 
:   kermit setparams.ksc -E
: 
: but when the remote kermit hangs up, I'm still at the kermit prompt. Am I
: simply not understanding what '-E' does ?
: 
It's for use when making connections.  Theoretically it should also work
when *receiving* connections, but I'm not sure that was ever tried before
now.  Anyway, why not just put EXIT commands at the appropriate points in
your script?

- Frank


From dhuff@armadillo.itg.ti.com Tue May 13 17:35:56 EDT 2003
Article: 14296 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed!arclight.uoregon.edu!logbridge.uoregon.edu!news.smu.edu!news.ti.com!not-for-mail
From: David Huff <dhuff@armadillo.itg.ti.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: making kermit exit to the cmd prompt
Date: Tue, 13 May 2003 16:28:22 -0500
Organization: Texas Instruments
Lines: 35
Message-ID: <pan.2003.05.13.16.28.20.796869.24852@armadillo.itg.ti.com>
References: <pan.2003.05.13.15.46.19.79295.24789@armadillo.itg.ti.com> <pan.2003.05.13.15.49.42.267491.24789@armadillo.itg.ti.com> <b9rm7s$4tv$1@watsol.cc.columbia.edu>
NNTP-Posting-Host: armadillo.itg.ti.com
Mime-Version: 1.0
Content-Type: text/plain; charset=iso885915
Content-Transfer-Encoding: 8bit
X-Trace: home.itg.ti.com 1052861187 13366 172.25.44.25 (13 May 2003 21:26:27 GMT)
X-Complaints-To: usenet@news.ti.com
NNTP-Posting-Date: 13 May 2003 21:26:27 GMT
User-Agent: Pan/0.11.2 (Unix)
X-Comment-To: "Frank da Cruz" <fdc@columbia.edu>
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14296

On Tue, 13 May 2003 15:57:32 -0500, Frank da Cruz wrote:

> It's for use when making connections.  Theoretically it should also work when *receiving*
> connections, but I'm not sure that was ever tried before now.  Anyway,
> why not just put EXIT commands at the appropriate points in your script?
> 
> - Frank

Yeah, tried that:

  set <blah, blah>    ; set params
  answer              ; put in answer mode with no timeout
  exit                

Of course, as soon as it answers, it prompts me if it's OK to exit.
I believe I can control this prompting behaviuor with SET EXIT 
WARNING. But I don't want it to immediately exit after it answers, 
I want it to wait until the other end hangs up. I suppose I could 
just have it PAUSE first:

  set <blah, blah>      ; set params
  set exit warning off  ; don't prompt on exit
  answer                ; put in answer mode with no timeout
  pause 10              ; sleep 10 secs
  exit

but that seems, I dunno.. kinda cheesey ;) What I'd like to do is
replace the 'pause 10' line with something like (pardon the pseudo 
code):

  while connected {
      loop
  }

David


From dhuff@armadillo.itg.ti.com Tue May 13 17:46:20 EDT 2003
Article: 14296 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed!arclight.uoregon.edu!logbridge.uoregon.edu!news.smu.edu!news.ti.com!not-for-mail
From: David Huff <dhuff@armadillo.itg.ti.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: making kermit exit to the cmd prompt
Date: Tue, 13 May 2003 16:28:22 -0500
Organization: Texas Instruments
Lines: 35
Message-ID: <pan.2003.05.13.16.28.20.796869.24852@armadillo.itg.ti.com>
References: <pan.2003.05.13.15.46.19.79295.24789@armadillo.itg.ti.com> <pan.2003.05.13.15.49.42.267491.24789@armadillo.itg.ti.com> <b9rm7s$4tv$1@watsol.cc.columbia.edu>
NNTP-Posting-Host: armadillo.itg.ti.com
Mime-Version: 1.0
Content-Type: text/plain; charset=iso885915
Content-Transfer-Encoding: 8bit
X-Trace: home.itg.ti.com 1052861187 13366 172.25.44.25 (13 May 2003 21:26:27 GMT)
X-Complaints-To: usenet@news.ti.com
NNTP-Posting-Date: 13 May 2003 21:26:27 GMT
User-Agent: Pan/0.11.2 (Unix)
X-Comment-To: "Frank da Cruz" <fdc@columbia.edu>
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14296

On Tue, 13 May 2003 15:57:32 -0500, Frank da Cruz wrote:

> It's for use when making connections.  Theoretically it should also work when *receiving*
> connections, but I'm not sure that was ever tried before now.  Anyway,
> why not just put EXIT commands at the appropriate points in your script?
> 
> - Frank

Yeah, tried that:

  set <blah, blah>    ; set params
  answer              ; put in answer mode with no timeout
  exit                

Of course, as soon as it answers, it prompts me if it's OK to exit.
I believe I can control this prompting behaviuor with SET EXIT 
WARNING. But I don't want it to immediately exit after it answers, 
I want it to wait until the other end hangs up. I suppose I could 
just have it PAUSE first:

  set <blah, blah>      ; set params
  set exit warning off  ; don't prompt on exit
  answer                ; put in answer mode with no timeout
  pause 10              ; sleep 10 secs
  exit

but that seems, I dunno.. kinda cheesey ;) What I'd like to do is
replace the 'pause 10' line with something like (pardon the pseudo 
code):

  while connected {
      loop
  }

David


From fdc@columbia.edu Tue May 13 17:46:23 EDT 2003
Article: 14297 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: making kermit exit to the cmd prompt
Date: 13 May 2003 17:46:03 -0400
Organization: Columbia University
Lines: 64
Message-ID: <b9rp2r$crl$1@watsol.cc.columbia.edu>
References: <pan.2003.05.13.15.46.19.79295.24789@armadillo.itg.ti.com> <pan.2003.05.13.15.49.42.267491.24789@armadillo.itg.ti.com> <b9rm7s$4tv$1@watsol.cc.columbia.edu> <pan.2003.05.13.16.28.20.796869.24852@armadillo.itg.ti.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1052862364 8684 128.59.39.139 (13 May 2003 21:46:04 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 13 May 2003 21:46:04 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14297

In article <pan.2003.05.13.16.28.20.796869.24852@armadillo.itg.ti.com>,
David Huff  <dhuff@armadillo.itg.ti.com> wrote:
: On Tue, 13 May 2003 15:57:32 -0500, Frank da Cruz wrote:
: > It's for use when making connections.  Theoretically it should also work
: > when *receiving* connections, but I'm not sure that was ever tried before
: > now.  Anyway, why not just put EXIT commands at the appropriate points in
: > your script?
: 
: Yeah, tried that:
: 
:   set <blah, blah>    ; set params
:   answer              ; put in answer mode with no timeout
:   exit                
: 
: Of course, as soon as it answers, it prompts me if it's OK to exit.
:
Well of course at this point you have to add commands after ANSWER that
do what you want done after Kermit answers the phone.

: I believe I can control this prompting behaviuor with SET EXIT 
: WARNING.
:
Right...

: But I don't want it to immediately exit after it answers, 
: I want it to wait until the other end hangs up. I suppose I could 
: just have it PAUSE first:
: 
:   set <blah, blah>      ; set params
:   set exit warning off  ; don't prompt on exit
:   answer                ; put in answer mode with no timeout
:   pause 10              ; sleep 10 secs
:   exit
: 
: but that seems, I dunno.. kinda cheesey ;) What I'd like to do is
: replace the 'pause 10' line with something like (pardon the pseudo 
: code):
: 
:   while connected {
:       loop
:   }
: 
So wait, all you want Kermit to do is answer the phone, then wait until
the other side hangs up, then exit?  Well that's easy:

  answer
  if fail exit 1
  while > \v(m_sig_cd) 0 {  ; Check CD signal.
      sleep 1               ; Still there - loop til gone.
  }
  exit 0

There are other ways too; e.g. you could try defining an ON_CLOSE macro.
The WAIT command would have been perfect; it can be used to wait for
specified modem signals to come on, but currently there is no syntax to
wait for them to go off; I'll add this to my list.  Then you could do
something like:

  answer
  if fail exit 1
  wait 0 -cd
  exit \v(status)

- Frank


From cpetty1963@yahoo.com Wed May 14 17:33:45 EDT 2003
Article: 14298 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: cpetty1963@yahoo.com (Craig Petty)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: C-Kermit AIX Binary with SSL
Date: 13 May 2003 17:59:00 -0700
Organization: http://groups.google.com/
Lines: 25
Message-ID: <bb491ed9.0305131659.329a544a@posting.google.com>
References: <bb491ed9.0305091052.295b8a63@posting.google.com> <b9h0ef$qr7$1@blue.rahul.net> <b9haev$fbl$1@watsol.cc.columbia.edu>
NNTP-Posting-Host: 12.9.138.11
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1052873941 14887 127.0.0.1 (14 May 2003 00:59:01 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 14 May 2003 00:59:01 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14298

Thanks for your tips everyone.  Things went smoothly during the build.
 I did have to comment out the OpenSSL version check.  It was
complaining that it was an incompatible version.  I am using the
latest, openssl-0.9.7b .

- Craig

fdc@columbia.edu (Frank da Cruz) wrote in message news:<b9haev$fbl$1@watsol.cc.columbia.edu>...
> In article <b9h0ef$qr7$1@blue.rahul.net>,
>  <dold@C-KermitXA.usenet.us.com> wrote:
> : Craig Petty <cpetty1963@yahoo.com> wrote:
> : > Anyone know where I can get an AIX (4.3) binary build with SSL?  I've
> : > downloaded several from columbia.edu, but none have SSL support
> : > compiled in.

> The only makefile targets for building C-Kermit with OpenSSL on AIX are:
> 
>   aix43gcc+openssl (OpenSSL only)
>   aix43gcc+krb5+krb4+openssl (OpenSSL + Kerberos 4 and 5)
> 
> Since you have AIX 4.3, the first one should work.  Those who have other
> AIX versions and want to build with OpenSSL might need to add makefile 
> targets for these combinations.
> 
> - Frank


From jaltman2@nyc.rr.com Wed May 14 17:33:50 EDT 2003
Article: 14299 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsfeed.news.ucla.edu!newsfeed.media.kyoto-u.ac.jp!CALA-MUZIK!news-out.spamkiller.net!propagator2-maxim!news-in.superfeed.net!news-west.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: <3EC1B26A.1010700@nyc.rr.com>
From: "Jeffrey Altman [Road Runner NYC]" <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030507
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: C-Kermit AIX Binary with SSL
References: <bb491ed9.0305091052.295b8a63@posting.google.com> <b9h0ef$qr7$1@blue.rahul.net> <b9haev$fbl$1@watsol.cc.columbia.edu> <bb491ed9.0305131659.329a544a@posting.google.com>
In-Reply-To: <bb491ed9.0305131659.329a544a@posting.google.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 35
Date: Wed, 14 May 2003 03:05:12 GMT
NNTP-Posting-Host: 66.108.138.151
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1052881512 66.108.138.151 (Tue, 13 May 2003 23:05:12 EDT)
NNTP-Posting-Date: Tue, 13 May 2003 23:05:12 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14299

If it is complaining, it is because you are not loading the same library 
at run time that you compiled with.  This could leave inconsistencies. 
The version check is there for a good reason.



Craig Petty wrote:
> Thanks for your tips everyone.  Things went smoothly during the build.
>  I did have to comment out the OpenSSL version check.  It was
> complaining that it was an incompatible version.  I am using the
> latest, openssl-0.9.7b .
> 
> - Craig
> 
> fdc@columbia.edu (Frank da Cruz) wrote in message news:<b9haev$fbl$1@watsol.cc.columbia.edu>...
> 
>>In article <b9h0ef$qr7$1@blue.rahul.net>,
>> <dold@C-KermitXA.usenet.us.com> wrote:
>>: Craig Petty <cpetty1963@yahoo.com> wrote:
>>: > Anyone know where I can get an AIX (4.3) binary build with SSL?  I've
>>: > downloaded several from columbia.edu, but none have SSL support
>>: > compiled in.
> 
> 
>>The only makefile targets for building C-Kermit with OpenSSL on AIX are:
>>
>>  aix43gcc+openssl (OpenSSL only)
>>  aix43gcc+krb5+krb4+openssl (OpenSSL + Kerberos 4 and 5)
>>
>>Since you have AIX 4.3, the first one should work.  Those who have other
>>AIX versions and want to build with OpenSSL might need to add makefile 
>>targets for these combinations.
>>
>>- Frank



From cpetty1963@yahoo.com Wed May 14 17:33:55 EDT 2003
Article: 14301 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: cpetty1963@yahoo.com (Craig Petty)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: C-Kermit AIX Binary with SSL
Date: 14 May 2003 00:22:43 -0700
Organization: http://groups.google.com/
Lines: 11
Message-ID: <bb491ed9.0305132322.3940f5c1@posting.google.com>
References: <bb491ed9.0305091052.295b8a63@posting.google.com> <b9h0ef$qr7$1@blue.rahul.net> <b9haev$fbl$1@watsol.cc.columbia.edu> <bb491ed9.0305131659.329a544a@posting.google.com>
NNTP-Posting-Host: 68.99.90.70
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1052896963 31452 127.0.0.1 (14 May 2003 07:22:43 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 14 May 2003 07:22:43 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14301

cpetty1963@yahoo.com (Craig Petty) wrote in message news:<bb491ed9.0305131659.329a544a@posting.google.com>...
> Thanks for your tips everyone.  Things went smoothly during the build.
>  I did have to comment out the OpenSSL version check.  It was
> complaining that it was an incompatible version.  I am using the
> latest, openssl-0.9.7b .
> 

There was an older version of openssl on our system (from an ssh
install) which was causing the version check error message.  When I
built kermit, it picked up the older include from
/usr/include/openssl.  Things are okay now.  thanks


From dkcombs@panix.com Wed May 14 17:34:06 EDT 2003
Article: 14300 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!panix1.panix.com!not-for-mail
From: dkcombs@panix.com (David Combs)
Newsgroups: comp.protocols.kermit.misc
Subject: ckermit 192 to v9: need help changing my init-files
Date: 14 May 2003 01:41:44 -0400
Organization: PANIX -- Public Access Networks Corp.
Lines: 259
Message-ID: <b9skuo$dbh$1@panix1.panix.com>
NNTP-Posting-Host: panix1.panix.com
X-Trace: reader1.panix.com 1052890905 5588 166.84.1.1 (14 May 2003 05:41:45 GMT)
X-Complaints-To: abuse@panix.com
NNTP-Posting-Date: Wed, 14 May 2003 05:41:45 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14300


I've been using c-kermit-192/wermit; I've  now downloaded version 9
(for solaris-9), and it looks like some changes are needed in
my init-files.

My old .mykermrc-for-v6 worked even for 192; finally, I have
to make some changes.

Perhaps someone who really knows this stuff could simply edit
in the hopefuylly-few lines that that need changing or insertion.

(Actually, within a couple of weeks I'll no longer  be 
getting dialing into my ISP (panix), but will be using
a cable-modem (and ssh).  I know so little about 
operating via a cable-modem that I don't know if I'll
need Kermit or not.  Even if not, I'd still like to 
successfully upgrade to the newest version, so that
if from some site I have no cable-modem, I can revert
to dial-in, via Kermit.  So, any help would be much
appreciated!  Thanks!)



------- First, my (failing) run of it:

50 ==/big7.1/dkc==> ./cku209.solaris9g-sparc
./cku209.solaris9g-sparc: Permission denied
51 ==/big7.1/dkc==> ls -l !$
ls -l ./cku209.solaris9g-sparc
-rw-r--r--   1 dkc      other    4588476 Mar 30 17:47 ./cku209.solaris9g-sparc
52 ==/big7.1/dkc==> chmod u+x !$
chmod u+x ./cku209.solaris9g-sparc
53 ==/big7.1/dkc==> ./cku209.solaris9g-sparc
C-Kermit 8.0.209, 17 Mar 2003, for Solaris 9
 Copyright (C) 1985, 2003,
  Trustees of Columbia University in the City of New York.
Type ? or HELP for help.
(/big7.1/dkc/) C-Kermit>take /dkcjunk/some-dkc-homepreserve-stuff/.mykermrc-for-v6

------- ENTER .mykermrc::
  HELLO David, this is the LOCAL LOCAL LOCAL LOCAL .mykermrc!
  HELLO David, this is the LOCAL LOCAL LOCAL LOCAL .mykermrc!
  HELLO David, this is the LOCAL LOCAL LOCAL LOCAL .mykermrc!
  ---------------------------
  ---------------------------
  ---------------------------
  PANIX DIAL-IN (Lower-Westchester) (914) 509-9202 (ie 5099202) <<===
"     (212)  12128129201          (718) 17183609201
      (BUT to PHONE panix-hq PEOPLE: 212-741-4400)
           (x-1 service; x-4 tech spt; x-5 bill) 
"      (I am: panix Customer
/var/spool/locks: Permission denied
?SET SPEED has no effect without prior SET LINE
?SET SPEED has no effect without prior SET LINE
------- EXIT .mykermrc.

(/big7.1/dkc/) C-Kermit>





------------------------ Now, my init file, .mykermrc:



#!/usr/local/bin/kermit
; File CKERMOD.INI, Sample C-Kermit 7.0 customization file.
;
; This file, which is ONLY A SAMPLE, should be called:
;
;   .mykermrc   (UNIX, OS-9, Aegis, BeBox, Plan 9)
;   CKERMOD.INI (VMS, OpenVMS, AOS/VS, OS/2, Amiga, Atari ST)
;   ckermod.ini (Stratus VOS)
;
; MODify it to suit your needs and preferences, and install it in the same
; directory as your C-Kermit initialization file.  The design of this file
; lets you fill in a section for each different operating system where you run
; C-Kermit.  This file is executed automatically by the standard C-Kermit
; initialization file, CKERMIT.INI (or .kermrc).  See the manual, "Using
; C-Kermit", for further information.
;
; Authors:  Christine Gianone, Frank da Cruz, Jeffrey Altman,
;           The Kermit Project, Columbia University.
; Creation: 23 November 1992 for C-Kermit 5A(188).
; Modified: 30 June 1993 for edit 189.
;           04 October 1994 for edit 190.
;           17 April 1995 for edit 191.
;            6 September 1996 for version 6.0, edit 192.
;            1 January 2000 for version 7.0, edit 196.

ECHO
ECHO Executing SAMPLE C-Kermit customization file \v(cmdfile) for \v(system)...
ECHO { Please edit this file to reflect your needs and preferences.}
ECHO
;
; ... and then remove the ECHO commands above.




; this block came from .mykermrc-for-v6: dkc:
; run fuser
; set dial display on
; show modem, show dial
; dial 5099202
echo "  PANIX DIAL-IN (Lower-Westchester) (914) 509-9202 (ie 5099202) <<==="
echo "      (BUT to PHONE panix-hq PEOPLE: 212-741-4400)" 
echo "           (x-1 service; x-4 tech spt; x-5 bill) "
echo "      (I am: panix Customer # 00000-16967 David Combs)"


set line /dev/cua/a     ; dkc


COMMENT - Settings that apply to all the systems I use:
;
set delay 1                  ; I escape back quickly
set dial display on          ; I like to watch C-Kermit dial

; Dialing locale and method
;
; SET DIAL COUNTRY-CODE 1    ; Uncomment and replace with yours
; SET DIAL AREA-CODE 000     ; Uncomment and replace with yours
; SET DIAL LD-PREFIX 1       ; Uncomment and replace with yours
; SET DIAL INTL-PREFIX 011   ; Uncomment and replace with yours
; SET DIAL METHOD TONE       ; Uncomment and replace with PULSE if necessary
; SET DIAL DIRECTORY ... ... ; List dialing directory files here

; File transfer preferences
;
 FAST                       ; Uncomment to enable fast file transfer
; SET FILE TYPE BINARY       ; Uncomment to force binary-mode file transfer
 SET FILE NAMES LITERAL     ; Uncomment to defeat filename conversion dkc
; SET SEND PATHNAMES ON      ; Uncomment to defeat send pathname stripping
; SET RECEIVE PATHNAMES ON   ; Uncomment to defeat receive pathname stripping
; SET EXIT WARNING OFF       ; Uncomment this to remove connection warnings
; SET TERMINAL APC ON        ; Uncomment to allow APC commands
 SET TERM AUTODOWNLOAD ON   ; Uncomment to allow autodownload   dkc

if < \v(version) 600192 -
  stop 1 \v(cmdfile): C-Kermit 6.0.192 or later required.

set take error on            ; Make errors fatal temporarily
check if                     ; Do we have an IF command?
set take error off           ; Yes we do, back to normal

; The ON_EXIT macro is executed automatically when C-Kermit exits.
; Define as desired.
;
define ON_EXIT echo Returning you to \v(system) now.

; System-independent quick dialing macro.  Depends on having the
; macros MYMODEM, MYPORT, and (optionally) MYSPEED defined in the
; system-dependent sections below.
;
define MYDIAL {
    if not defined MYMODEM end 1 {\%0: Modem type not defined.}
    set modem type \m(MYMODEM)
    if fail end 1 {\%0: \m(MYMODEM): Unsupported modem type.}
    if not defined MYPORT end 1 {\%0: Communication port not defined.}
    set port \m(MYPORT)
    if fail end 1 {\%0: SET PORT \m(MYPORT) failed.}
    if defined MYFLOW set flow \m(MYFLOW)
    if fail end 1 {\%0: SET FLOW \m(MYFLOW) failed.}
    if defined MYSPEED set speed \m(MYSPEED)
    if fail end 1 {\%0: SET SPEED \m(MYSPEED) failed.}
    dial \%1\%2\%3\%4\%5\%6\%7\%8\%9
    end \v(status)
}

forward \v(system)              ; Go execute system-dependent commands

:UNIX                           ; UNIX, all versions...
define MYPORT /dev/cua/a        ; My dialing environment   dkc: added "/a" suffix.
define MYMODEM usrrobotics      ; Replace these by what you actually have.   dkc.
define MYSPEED 57600
;
; If you want all your downloads to go to the same directory, no matter
; what your current directory is, uncomment and edit the following command:
;
;   set file download-directory ~/download ; Download directory for UNIX

; Put other UNIX-specific commands here...
end                             ; End of UNIX section

:VMS                            ; VMS and OpenVMS
define MYPORT TXA0:             ; My dialing environment
define MYMODEM usr              ; Replace these by what you actually have
define MYSPEED 57600
; set file download-directory [\$(USER).DOWNLOAD] ; Download directory for VMS
; Put other VMS-specific commands here...
end                             ; End of VMS section

:WIN32                          ; Windows and OS/2 customizations...
:OS/2
define MYPORT COM1              ; My dialing environment
define MYMODEM usr              ; Replace these by what you actually have
define MYSPEED 57600
set command byte 8              ; Use 8 bits between Kermit and console
set xfer char latin1            ; Use Latin-1 for text file transfer
set term char latin1            ; And use Latin-1 during CONNECT mode
; set file download-directory C:\DOWNLOADS
end

:OS9/68K                        ; OS-9/68000
define MYPORT /t3               ; My dialing environment
define MYMODEM usr              ; Replace these by what you actually have
define MYSPEED 9600
; set file download-directory ~/downloads
end                             ; End of OS-9 section

:AOS/VS                         ; Data General AOS/VS
define MYPORT @con3             ; My dialing environment
define MYMODEM usrobotics       ; Replace these by what you actually have dkc
define MYSPEED 9600
; set file download-directory \v(home)DOWNLOADS
end

; And so on, you get the idea...
; Fill in the sections that apply to you.

:Stratus_VOS			; Stratus VOS
:Amiga                          ; Commodore Amiga
:Atari_ST                       ; Atari ST
:Macintosh                      ; Apple Macintosh
:unknown                        ; Others


; dkc:
# At exit from ISP, then quit from kermit, run "fuser -u /dev/cua/a".
# 28may01: -- we try panix' advice of adding "s32=66" to command string.
#   kermit's show modem  gives "ATQ0X4&A3&N0&Y3\{13}" as cmd string,
#   so we'll trying to set it to "ATQ0X4&A3&N0&Y3\{13}s32=66"
set modem command init-string ATQ0X4&A3&N0&Y3\{13}s32=66    ; dkc

; (End of CKERMOD.INI)

------------ so ends .mykermrc.



Simple, or difficult, to convert this to work for v-9?

What would be by far the nicest would be if someone
could hack into that file whatever changes are needed;
my brain is totally taken up with trying to comprehend
enough unix security, public key stuff, ssh, and 10,000
other (to me) esoteric things, that without someone's
help, I'll just have to stick with 192.

Thanks so much for any help you can give -- especially
for either a cut-n-paste or some 100% cookbook-like
directions that even a robot could follow.

Thanks!

David



From fdc@columbia.edu Wed May 14 17:36:56 EDT 2003
Article: 14302 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: ckermit 192 to v9: need help changing my init-files
Date: 14 May 2003 17:36:51 -0400
Organization: Columbia University
Lines: 18
Message-ID: <b9uctj$o6n$1@watsol.cc.columbia.edu>
References: <b9skuo$dbh$1@panix1.panix.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1052948212 2673 128.59.39.139 (14 May 2003 21:36:52 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 14 May 2003 21:36:52 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14302

In article <b9skuo$dbh$1@panix1.panix.com>,
David Combs <dkcombs@panix.com> wrote:
: 
: I've been using c-kermit-192/wermit; I've  now downloaded version 9
: (for solaris-9), and it looks like some changes are needed in
: my init-files.
: 
: My old .mykermrc-for-v6 worked even for 192; finally, I have
: to make some changes.
: ...
: /var/spool/locks: Permission denied
:
It's not the init file, it's the new executable.  See the installation
instructions in the Unix appendix of the manual, or on the website:

  http://www.columbia.edu/kermit/ckuins.html#x10

- Frank


From onions@kr01.piahost.net Sat May 17 11:40:50 EDT 2003
Article: 14303 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsfeed.arcor-online.net!nntp-relay.ihug.net!ihug.co.nz!logbridge.uoregon.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: onions@kr01.piahost.net (onions)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: telnet to system with no password set
Date: 17 May 2003 01:18:04 -0700
Organization: http://groups.google.com/
Lines: 53
Message-ID: <8a794c4f.0305170018.4971067e@posting.google.com>
References: <8a794c4f.0305111725.1f996faa@posting.google.com> <WWLva.7563$4_1.1962722@twister.nyc.rr.com>
NNTP-Posting-Host: 203.226.144.34
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1053159485 1770 127.0.0.1 (17 May 2003 08:18:05 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 17 May 2003 08:18:05 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14303

Mr. Jeffrey

Thank you for your assistance and sorry for couldn't follow up 
your message. Now finally I've manged to get back to this topic and
tried option by option test. The answer was :
        set login userid aaa
        set login password aaa
I don't know why I haven't test this option at the first place. 
May be I thought that command for all telnet options start with
        set telnet ???
and I was blinded. 

I do appreciated for your help. 

onions@kr01.piahost.net



"Jeffrey Altman [Road Runner NYC]" <jaltman2@nyc.rr.com> wrote in message news:<WWLva.7563$4_1.1962722@twister.nyc.rr.com>...
> What type of host are you connecting to?
> You may want to debug the Telnet negotiations to see if they are 
> succeeding or not.
> 
>    SET TELNET DEBUG ON
> 
> You can read me about common Telnet negotiation errors at
> 
>    http://www.kermit-project.org/telnet.html
> 
> Jeffrey Altman
> Volunter, Lead Kermit Developer
> 
> 
> onions wrote:
> > Hello kermit users, 
> > 
> > I am trying to connect to the system that requires no password. 
> > The problem is I am unable to log in by telnet function. It stops 
> > at the password step. I think there is an option for that somewhere,
> > but my search has been fruitless so far. 
> > 
> > Any help would be appreciated. Thank you in advance. 
> > 
> > onions@kr01.piahost.net
> > 
> > 
> > Working env is = Redhat 8.0, C-Kermit 8.0.209
> > Connection is  = ppp
> > Commands are: 
> >         C-Kermit> set host 123.123.123.1 
> >                   Trying 123.123.123.1 ... (OK)
> >         C-Kermit> c
> >                   ~~~~~~~~  ------------------>> hold at this step


From henry.thorpe@att.net Mon May 19 10:21:16 EDT 2003
Article: 14304 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed!wn13feed!wn12feed!wn14feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!not-for-mail
Message-ID: <3EC85C5F.8090102@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.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit/HPUX11 and socks
References: <c30aaa81.0305060546.dabfef@posting.google.com>
In-Reply-To: <c30aaa81.0305060546.dabfef@posting.google.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 23
NNTP-Posting-Host: 06fae7f4953f9e2de8d504caf920550d
X-Complaints-To: abuse@worldnet.att.net
X-Trace: bgtnsc05-news.ops.worldnet.att.net 1053318248 06fae7f4953f9e2de8d504caf920550d (Mon, 19 May 2003 04:24:08 GMT)
NNTP-Posting-Date: Mon, 19 May 2003 04:24:08 GMT
Date: Mon, 19 May 2003 04:24:08 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14304

Eric;

I just checked; C-Kermit 8.0.209 works fine via Dante 1.1.13 under 
FreeBSD 4.7.

Make sure that you link in the shared object socket libraries, and then 
just run:

   socksify kermit

once you have your ${prefix}/etc/socks.conf file set up correctly to 
connect through your socks daemon.

Eric wrote:
> Hi,
> 
> I'd like to make kermit under an HPUX11 system and with a socks library like dante).
> 
> does anyone already try such things ? 
> 
> Regards,
> Eric.



From ericboniface@chez.com Mon May 19 10:21:31 EDT 2003
Article: 14305 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!headwall.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: ericboniface@chez.com (Eric)
Newsgroups: comp.protocols.kermit.misc
Subject: Kermit : SSL/TLS script
Date: 19 May 2003 03:13:14 -0700
Organization: http://groups.google.com/
Lines: 7
Message-ID: <c30aaa81.0305190213.4d15781f@posting.google.com>
NNTP-Posting-Host: 192.6.111.74
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1053339194 29367 127.0.0.1 (19 May 2003 10:13:14 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 19 May 2003 10:13:14 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14305

Hello,

doea anyone can sen me a SSL/TLS script example ? 
May be I am wrong, but I did not find some on the kermit's site.

Thanks in advance,
Eric.


From jaltman2@nyc.rr.com Mon May 19 10:21:36 EDT 2003
Article: 14306 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!53ab2750!not-for-mail
From: "Jeffrey Altman [Road Runner NYC]" <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030507
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit : SSL/TLS script
References: <c30aaa81.0305190213.4d15781f@posting.google.com>
In-Reply-To: <c30aaa81.0305190213.4d15781f@posting.google.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 25
Message-ID: <My4ya.36982$h42.28162@twister.nyc.rr.com>
Date: Mon, 19 May 2003 12:59:24 GMT
NNTP-Posting-Host: 66.108.138.151
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1053349164 66.108.138.151 (Mon, 19 May 2003 08:59:24 EDT)
NNTP-Posting-Date: Mon, 19 May 2003 08:59:24 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14306

There are examples of how to configure Kermit to use SSL/TLS
in the Security document

   http://www.kermit-project.org/security.html

There is an extensive set of scripts for using FTP AUTH TLS
>from  within Kermit to communicate with IBM EDI services

   http://www.kermit-project.org/ibm_ie.html

What type of connection are you attempting to create?

What type of authentication are you attempting to provide?



Eric wrote:
> Hello,
> 
> doea anyone can sen me a SSL/TLS script example ? 
> May be I am wrong, but I did not find some on the kermit's site.
> 
> Thanks in advance,
> Eric.



From ericboniface@chez.com Mon May 19 11:30:59 EDT 2003
Article: 14307 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!hammer.uoregon.edu!logbridge.uoregon.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: ericboniface@chez.com (Eric)
Newsgroups: comp.protocols.kermit.misc
Subject: Kermit/SSL-TLS : connection refused
Date: 19 May 2003 08:14:24 -0700
Organization: http://groups.google.com/
Lines: 16
Message-ID: <c30aaa81.0305190714.f336f03@posting.google.com>
NNTP-Posting-Host: 192.6.111.74
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1053357265 11102 127.0.0.1 (19 May 2003 15:14:25 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 19 May 2003 15:14:25 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14307

Hello,

finally, kermit works fine under HPUX11 with Socks library (an HPUX11
one, not dante).
I can connect to outside FTP server on standard port (21).

Now I try to connect to SSL/TLS FTP server, but I always have a (very
quick) connection refused message.

I try to put verbose on, but I did not have any message.
When I try to connect to "normal" site, I have verbose message.

Do you have some ideas ? 

Thanks in advance,
Eric.


From fdc@columbia.edu Mon May 19 11:33:47 EDT 2003
Article: 14308 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.sys.hp.hpux,comp.security.unix,comp.security.misc,comp.protocols.kermit.misc
Subject: Re: SSRT3555 Potential Security Vulnerability in kermit
Date: 19 May 2003 11:20:51 -0400
Organization: Columbia University
Lines: 45
Message-ID: <baasoj$e3d$1@watsol.cc.columbia.edu>
References: <3ec8ed8d$1_2@hpb10302.boi.hp.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1053357652 4850 128.59.39.139 (19 May 2003 15:20:52 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 19 May 2003 15:20:52 GMT
Xref: newsmaster.cc.columbia.edu comp.sys.hp.hpux:156621 comp.security.unix:80576 comp.security.misc:91519 comp.protocols.kermit.misc:14308

In article <3ec8ed8d$1_2@hpb10302.boi.hp.com>,
Security Alert <secure@cup.hp.com> wrote:
: PROBLEM: Potential security vulnerability in kermit
: 
What version of Kermit?

: IMPACT: Potential increase in privilege.
: 
: PLATFORM: HP9000 Series 700/800 running HP-UX releases 10.20
:           and 11.00.
: 
: SOLUTION: Until a fix is available remove suid permissions
:           from /usr/bin/kermit.
: 
If I'm not mistaken, this report refers to buffer overflow 
vulnerabilities in C-Kermit 6.0 from 1996, or C-Kermit 7.0 from 2000.

A thorough audit of buffer-overflow vulnerabilities was performed for
C-Kermit 8.0, which was released in 2001 and furnished to HP at that
time.  If you have HP-UX 11.22, then you also have C-Kermit 8.0 --
problem solved.

But if you have HP-UX 11.11, you have C-Kermit 7.0.

And If you have HP-UX 11.00 or earlier, you still have C-Kermit 6.0.

Thus the problem is that HP does not make new C-Kermit releases available
for previous HP-UX releases.  There is no excuse for this.  I furnish all
new C-Kermit releases to HP and include them in the development cycle.  I
ensure that each new version of C-Kermit builds and runs correctly on every
version of HP-UX from 5.21 to the very latest, and I make prebuilt binaries
available for more than SIXTY (60) different combinations of HP hardware and
HP-UX version.

Therefore the "patch" for the above mentioned "problem" is to install an
up-to-date version of Kermit, which is available for all to download right
here:

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

Prebuilt HP-UX binaries can be found here:

  http://www.columbia.edu/kermit/ck80binaries.html#hp

- Frank


From fdc@columbia.edu Mon May 19 11:33:54 EDT 2003
Article: 14309 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit/SSL-TLS : connection refused
Date: 19 May 2003 11:33:29 -0400
Organization: Columbia University
Lines: 24
Message-ID: <baatg9$fs7$1@watsol.cc.columbia.edu>
References: <c30aaa81.0305190714.f336f03@posting.google.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1053358411 5355 128.59.39.139 (19 May 2003 15:33:31 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 19 May 2003 15:33:31 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14309

In article <c30aaa81.0305190714.f336f03@posting.google.com>,
Eric <ericboniface@chez.com> wrote:
: finally, kermit works fine under HPUX11 with Socks library (an HPUX11
: one, not dante).
: I can connect to outside FTP server on standard port (21).
:
Good.  For the benefit of others, could you explain exactly how you
did this?

: Now I try to connect to SSL/TLS FTP server, but I always have a (very
: quick) connection refused message.
: 
: I try to put verbose on, but I did not have any message.
: When I try to connect to "normal" site, I have verbose message.
: 
: Do you have some ideas ? 
: 
See:

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

(It's the Kermit 95 FAQ, but the FTP client is the same.)

- Frank


From ericboniface@chez.com Tue May 20 12:21:47 EDT 2003
Article: 14310 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: ericboniface@chez.com (Eric)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit/SSL-TLS : connection refused
Date: 20 May 2003 08:57:01 -0700
Organization: http://groups.google.com/
Lines: 48
Message-ID: <c30aaa81.0305200757.3e414319@posting.google.com>
References: <c30aaa81.0305190714.f336f03@posting.google.com> <baatg9$fs7$1@watsol.cc.columbia.edu>
NNTP-Posting-Host: 192.6.111.74
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1053446222 15433 127.0.0.1 (20 May 2003 15:57:02 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 20 May 2003 15:57:02 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14310

fdc@columbia.edu (Frank da Cruz) wrote in message news:<baatg9$fs7$1@watsol.cc.columbia.edu>...
> In article <c30aaa81.0305190714.f336f03@posting.google.com>,
> Eric <ericboniface@chez.com> wrote:
> : finally, kermit works fine under HPUX11 with Socks library (an HPUX11
> : one, not dante).
> : I can connect to outside FTP server on standard port (21).
> :
> Good.  For the benefit of others, could you explain exactly how you
> did this?
1)Change in makefile 
- add SOCKSLIB=-L/opt/socks/lib
In hpux1100o+openssl:
- add $(LIBS) to "LNKFLAGS=-s $(LNKFLAGS) $(LIBS)"
- add  -DCK_SOCKS -DCK_SOCKS5 to KFLAGS
- add $(SOCKSLIB) -lSocks to LIBS (Socks as the library is named
libSocks.a)
- check the order of -lssl -lcrypto (in this order)
- removal of zlib reference as I do not use it.
2) Code changes : 
- change ckcmai.c : comment SOCKSinit (as it does not exist in HPUX
socks library)
- change ckcnet.c & ckcftp.c : comment SOCKS* function (do not exist
in socks library -
generate an error during link step)

/* #define accept  SOCKSaccept
#define bind    SOCKSbind
#define connect SOCKSconnect
#define getsockname SOCKSgetsockname
#define listen SOCKSlisten
#else  Not SOCKS 5 */

> : Now I try to connect to SSL/TLS FTP server, but I always have a (very
> : quick) connection refused message.
> : 
> : I try to put verbose on, but I did not have any message.
> : When I try to connect to "normal" site, I have verbose message.
> : 
> : Do you have some ideas ? 
> : 
> See:
> 
>   http://www.columbia.edu/kermit/k95faq.html#ftp
It's really strange as I can not get any debugging information; I have
instantaneously a connection refused message.
On the server side, they do not have any trace of my tests.

Eric.


From ericboniface@chez.com Tue May 20 12:32:27 EDT 2003
Article: 14311 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed!arclight.uoregon.edu!logbridge.uoregon.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: ericboniface@chez.com (Eric)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit/SSL-TLS : connection refused
Date: 20 May 2003 09:30:18 -0700
Organization: http://groups.google.com/
Lines: 40
Message-ID: <c30aaa81.0305200830.43f36783@posting.google.com>
References: <c30aaa81.0305190714.f336f03@posting.google.com> <baatg9$fs7$1@watsol.cc.columbia.edu>
NNTP-Posting-Host: 192.6.111.74
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1053448219 17171 127.0.0.1 (20 May 2003 16:30:19 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 20 May 2003 16:30:19 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14311

> : Now I try to connect to SSL/TLS FTP server, but I always have a (very
> : quick) connection refused message.
> : 
> : I try to put verbose on, but I did not have any message.
> : When I try to connect to "normal" site, I have verbose message.
> : 
> : Do you have some ideas ? 
> : 
> See:
> 
>   http://www.columbia.edu/kermit/k95faq.html#ftp
Finally, I can create a debug.log file.
Here is a part of the traces doing a ftp open xx.xx.xx.xx 990 or ftp
open /TLS xx.xx.xx.xx :
18:06:26.600 ftp hookup A[xx.xx.xx.xx]
18:06:26.601 ftp hookup C[xx.xx.xx.xx]
18:06:26.601 ftp hookup socket=4
18:06:26.601 ftp hookup HADDRLIST
18:06:26.603 ftp hookup connect failed=239
18:06:26.603 ftp hookup bad
ftp openftp D ftpopen success[xx.xx.xx.xx]=0
ftp openftp D ftpopen connected[xx.xx.xx.xx]=0

If I try to connect to standard port (they also have an unsecure ftp
server), I have (ftp open xx.xx.xx.xx) :
18:25:51.358 ftp hookup A[xx.xx.xx.xx]
18:25:51.359 ftp hookup C[xx.xx.xx.xx]
18:25:51.359 ftp hookup socket=4
18:25:51.360 ftp hookup HADDRLIST
18:25:51.407 ftp hookup connect ok
18:25:51.408 ftp hookup getsockname ok
18:25:51.408 ftp getreply lcs=-1
18:25:51.409 ftp getreply rcs=46
18:25:51.409 ftp getreply fc=0
18:25:51.467 FTP RCVD [220 Serv-U FTP Server v4.0 for WinSock
ready...]

If you have some idea, do not hesitate ! 
Thanks in advance,
Eric.


From fdc@columbia.edu Tue May 20 12:38:19 EDT 2003
Article: 14312 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit/SSL-TLS : connection refused
Date: 20 May 2003 12:38:15 -0400
Organization: Columbia University
Lines: 23
Message-ID: <badlln$dsa$1@watsol.cc.columbia.edu>
References: <c30aaa81.0305190714.f336f03@posting.google.com> <baatg9$fs7$1@watsol.cc.columbia.edu> <c30aaa81.0305200830.43f36783@posting.google.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1053448696 13260 128.59.39.139 (20 May 2003 16:38:16 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 20 May 2003 16:38:16 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14312

In article <c30aaa81.0305200830.43f36783@posting.google.com>,
Eric <ericboniface@chez.com> wrote:
: > : Now I try to connect to SSL/TLS FTP server, but I always have a (very
: > : quick) connection refused message.
: ...
: Finally, I can create a debug.log file.
: Here is a part of the traces doing a ftp open xx.xx.xx.xx 990 or ftp
: open /TLS xx.xx.xx.xx :
: 18:06:26.600 ftp hookup A[xx.xx.xx.xx]
: 18:06:26.601 ftp hookup C[xx.xx.xx.xx]
: 18:06:26.601 ftp hookup socket=4
: 18:06:26.601 ftp hookup HADDRLIST
: 18:06:26.603 ftp hookup connect failed=239
:
239 = "Connection refused".  In other words, you can't even connect to
the server.  This happens when the server is not there at all, or the
port is blocked.

Are you sure you're supposed to be using SSL CONNECT?  What happens when
you try to connect to the same host on the regular FTP port.  Maybe then
it will negotiate TLS as described in the reference I gave you yesterday.

- Frank


From jaltman2@nyc.rr.com Tue May 20 12:43:02 EDT 2003
Article: 14313 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!ken-transit.news.telstra.net!news.telstra.net!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed-east.nntpserver.com!nntpserver.com!news-west.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
From: "Jeffrey Altman [Road Runner NYC]" <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030507
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit/SSL-TLS : connection refused
References: <c30aaa81.0305190714.f336f03@posting.google.com> <baatg9$fs7$1@watsol.cc.columbia.edu> <c30aaa81.0305200830.43f36783@posting.google.com>
In-Reply-To: <c30aaa81.0305200830.43f36783@posting.google.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 50
Message-ID: <fNsya.23462$4_1.4655662@twister.nyc.rr.com>
Date: Tue, 20 May 2003 16:33:15 GMT
NNTP-Posting-Host: 66.108.138.151
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1053448395 66.108.138.151 (Tue, 20 May 2003 12:33:15 EDT)
NNTP-Posting-Date: Tue, 20 May 2003 12:33:15 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14313

Simple:

Your socks server does not permit outbound connections to port 990  OR
the host is not running their FTP server on port 990.



Eric wrote:
>>: Now I try to connect to SSL/TLS FTP server, but I always have a (very
>>: quick) connection refused message.
>>: 
>>: I try to put verbose on, but I did not have any message.
>>: When I try to connect to "normal" site, I have verbose message.
>>: 
>>: Do you have some ideas ? 
>>: 
>>See:
>>
>>  http://www.columbia.edu/kermit/k95faq.html#ftp
> 
> Finally, I can create a debug.log file.
> Here is a part of the traces doing a ftp open xx.xx.xx.xx 990 or ftp
> open /TLS xx.xx.xx.xx :
> 18:06:26.600 ftp hookup A[xx.xx.xx.xx]
> 18:06:26.601 ftp hookup C[xx.xx.xx.xx]
> 18:06:26.601 ftp hookup socket=4
> 18:06:26.601 ftp hookup HADDRLIST
> 18:06:26.603 ftp hookup connect failed=239
> 18:06:26.603 ftp hookup bad
> ftp openftp D ftpopen success[xx.xx.xx.xx]=0
> ftp openftp D ftpopen connected[xx.xx.xx.xx]=0
> 
> If I try to connect to standard port (they also have an unsecure ftp
> server), I have (ftp open xx.xx.xx.xx) :
> 18:25:51.358 ftp hookup A[xx.xx.xx.xx]
> 18:25:51.359 ftp hookup C[xx.xx.xx.xx]
> 18:25:51.359 ftp hookup socket=4
> 18:25:51.360 ftp hookup HADDRLIST
> 18:25:51.407 ftp hookup connect ok
> 18:25:51.408 ftp hookup getsockname ok
> 18:25:51.408 ftp getreply lcs=-1
> 18:25:51.409 ftp getreply rcs=46
> 18:25:51.409 ftp getreply fc=0
> 18:25:51.467 FTP RCVD [220 Serv-U FTP Server v4.0 for WinSock
> ready...]
> 
> If you have some idea, do not hesitate ! 
> Thanks in advance,
> Eric.



From fdc@columbia.edu Wed May 21 18:11:51 EDT 2003
Article: 14315 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: alt.folklore.computers,comp.protocols.kermit.misc
Subject: Columbia U Computing History - New stuff
Date: 21 May 2003 17:54:38 -0400
Organization: Columbia University
Lines: 48
Message-ID: <bagsiu$6d7$1@watsol.cc.columbia.edu>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1053554080 20553 128.59.39.139 (21 May 2003 21:54:40 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 21 May 2003 21:54:40 GMT
Xref: newsmaster.cc.columbia.edu alt.folklore.computers:329712 comp.protocols.kermit.misc:14315


Many of you may have seen this:

  http://www.columbia.edu/acis/history/

which is a history of computing at Columbia University.  If you haven't,
you might be surprised at how many "firsts" and "biggests" and "fastests"
happened here, especially in the 1930s, 40s, and 50s, including (perhaps
arguably):

 . The first automatic scientific calculations (1933-34)
 . The first computer book (1940)
 . The first computer course (1947-1957)
 . The first "personal computer" (1948-56)
 . The first supercomputer (1950-54)

Herman Hollerith got his engineering degrees here (1879, 1890); the ACM
was founded here (1947), etc etc.

The golden age was 1945-70, when IBM's Watson Scientific Computing 
Laboratory was at Columbia.  Recently some prominent personalities from
those days have come forward with copious new information, photos,
artifacts, and even a book:

  http://www.columbia.edu/acis/history/computer.html
    "Computer: Bit Slices of a Life" by Dr. Herb Grosch, 600+ pages,
    a memoir covering the 1940s through about 1960, full text in HTML.
    including material on World War II, Watson Lab, the Manhattan
    Project, IBM and its early machines, GE, ACM, NBS, and a great 
    deal more.  This is the Third-Edition-In-Progress.  New chapters
    might be added from time to time; so far it has 56 (the First
    [printed] Edition of 1991 had only 23).

  http://www.columbia.edu/acis/history/ssec.html
    The IBM Selective Sequence Electronic Calculator, designed at
    Watson Lab in 1946-47 and installed at IBM headquarters in 1948.
    Its calculations were used as the basis for the Apollo moon missions.    

  http://www.columbia.edu/acis/history/norc.html
    NORC, the first supercomputer, and the fastest computer on earth for
    about ten years (1954-63).

The latter two pages existed before, but are now greatly expanded with text
and pictures.  Much else is new besides; I've added a "New / Recent / Updated
Sub-Pages" list at the top for quick access.

Frank da Cruz
Columbia University


From dougq@iglou.com Thu May 22 09:25:54 EDT 2003
Article: 14316 of comp.protocols.kermit.misc
From: "Douglas H. Quebbeman" <dougq@iglou.com>
Newsgroups: alt.folklore.computers,comp.protocols.kermit.misc
References: <bagsiu$6d7$1@watsol.cc.columbia.edu>
Subject: Re: Columbia U Computing History - New stuff
Date: Thu, 22 May 2003 08:27:58 -0400
Lines: 25
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
NNTP-Posting-Host: c005766.customers.cinergycom.net
X-Original-NNTP-Posting-Host: c005766.customers.cinergycom.net
Message-ID: <3eccc250$1_2@news.iglou.com>
X-Trace: news.iglou.com 1053606480 c005766.customers.cinergycom.net (22 May 2003 08:28:00 -0400)
X-Authenticated-User: dougq
X-Original-NNTP-Posting-Host: 216.135.61.138
Path: newsmaster.cc.columbia.edu!panix!news-out.cwix.com!newsfeed.cwix.com!nntp.abs.net!uunet!dca.uu.net!news.iglou.com!not-for-mail
Xref: newsmaster.cc.columbia.edu alt.folklore.computers:329778 comp.protocols.kermit.misc:14316

Frank da Cruz wrote:

[..snip..]

>   http://www.columbia.edu/acis/history/norc.html
>     NORC, the first supercomputer, and the fastest computer on earth
>     for about ten years (1954-63).

IIRC, the term had not been coined and in usage prior to its
application to the CDC 6600, generally ackowledged as the
first supercomputer...

Granted, it may well have been faster in relation to the
other hardware of the day to deserve the moniker, but it
still seems somewhat revisionist to apply the term to a
machine that early...

-dq

--
-Douglas Hurst Quebbeman (dougq@iglou.com)            [Call me "Doug"]
To reply, place PUNCHTHRU in square brackets in SUBJECT line
"The large print giveth, and the small print taketh away."  -Tom Waits




From ekklein@pacbell.net Thu May 22 14:41:51 EDT 2003
Article: 14319 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!news.gtei.net!news.inet.it!area.cu.mi.it!news.mailgate.org!newsfeed.stueberl.de!newspeer1-gui.server.ntli.net!ntli.net!east.cox.net!peer02.cox.net!cox.net!news-feed01.roc.ny.frontiernet.net!nntp.frontiernet.net!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr13.news.prodigy.com.POSTED!c0b7320f!not-for-mail
Reply-To: "Erik S. Klein" <ekklein@pacbell.net>
From: "Erik S. Klein" <ekklein@pacbell.net>
Newsgroups: alt.folklore.computers,comp.protocols.kermit.misc
References: <bagsiu$6d7$1@watsol.cc.columbia.edu>
Subject: Re: Columbia U Computing History - New stuff
Lines: 20
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: <pC7za.38$gg6.3636259@newssvr13.news.prodigy.com>
NNTP-Posting-Host: 207.214.111.148
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr13.news.prodigy.com 1053623829 ST000 207.214.111.148 (Thu, 22 May 2003 13:17:09 EDT)
NNTP-Posting-Date: Thu, 22 May 2003 13:17:09 EDT
Organization: Prodigy Internet http://www.prodigy.com
X-UserInfo1: [[PAPDCA[S@YRSDXBJJVOQTDEB\@PD\MNPWZKB]MPXHNDQUBLNTC@AWZWDXZXQ[K\FFSKCVM@F_N_DOBWVWG__LG@VVOIPLIGX\\BU_B@\P\PFX\B[APHTWAHDCKJF^NHD[YJAZMCY_CWG[SX\Y]^KC\HSZRWSWKGAY_PC[BQ[BXAS\F\\@DMTLFZFUE@\VL
Date: Thu, 22 May 2003 17:17:10 GMT
Xref: newsmaster.cc.columbia.edu alt.folklore.computers:329847 comp.protocols.kermit.misc:14319



"Frank da Cruz" <fdc@columbia.edu> wrote in message
news:bagsiu$6d7$1@watsol.cc.columbia.edu...
>
> Many of you may have seen this:
>
>   http://www.columbia.edu/acis/history/

This is an excellent resource!

Would it be okay if I cross posted it on my boards at
www.vintage-computer.com/vcforum?


Thank you!

    Erik




From fdc@columbia.edu Thu May 22 14:41:54 EDT 2003
Article: 14321 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: alt.folklore.computers,comp.protocols.kermit.misc
Subject: Re: Columbia U Computing History - New stuff
Date: 22 May 2003 14:31:32 -0400
Organization: Columbia University
Lines: 19
Message-ID: <baj524$brk$1@watsol.cc.columbia.edu>
References: <bagsiu$6d7$1@watsol.cc.columbia.edu> <pC7za.38$gg6.3636259@newssvr13.news.prodigy.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1053628296 14895 128.59.39.139 (22 May 2003 18:31:36 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 22 May 2003 18:31:36 GMT
Xref: newsmaster.cc.columbia.edu alt.folklore.computers:329855 comp.protocols.kermit.misc:14321

In article <pC7za.38$gg6.3636259@newssvr13.news.prodigy.com>,
Erik S. Klein <ekklein@pacbell.net> wrote:
: "Frank da Cruz" <fdc@columbia.edu> wrote in message
: news:bagsiu$6d7$1@watsol.cc.columbia.edu...
: >
: > Many of you may have seen this:
: >
: >   http://www.columbia.edu/acis/history/
: 
: This is an excellent resource!
: 
: Would it be okay if I cross posted it on my boards at
: www.vintage-computer.com/vcforum?
: 
Sure -- anybody who wants to link to it, be my guest.
Comments, corrections, photos, improved references appreciated
too.

- Frank


From dougq@iglou.com Thu May 22 14:42:15 EDT 2003
Article: 14320 of comp.protocols.kermit.misc
From: "Douglas H. Quebbeman" <dougq@iglou.com>
Newsgroups: alt.folklore.computers,comp.protocols.kermit.misc
References: <bagsiu$6d7$1@watsol.cc.columbia.edu> <3eccc250$1_2@news.iglou.com> <baivhm$s2o$1@watsol.cc.columbia.edu>
Subject: Re: Columbia U Computing History - New stuff
Date: Thu, 22 May 2003 14:17:25 -0400
Lines: 35
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
NNTP-Posting-Host: c005766.customers.cinergycom.net
X-Original-NNTP-Posting-Host: c005766.customers.cinergycom.net
Message-ID: <3ecd1437$1_3@news.iglou.com>
X-Trace: news.iglou.com 1053627447 c005766.customers.cinergycom.net (22 May 2003 14:17:27 -0400)
X-Authenticated-User: dougq
X-Original-NNTP-Posting-Host: 216.135.61.138
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!news.ticon.net!tdsnet-transit!newspeer.tds.net!falcon.america.net!uunet!dca.uu.net!ash.uu.net!news.iglou.com!not-for-mail
Xref: newsmaster.cc.columbia.edu alt.folklore.computers:329853 comp.protocols.kermit.misc:14320

Frank da Cruz wrote:
> In article <3eccc250$1_2@news.iglou.com>,
> Douglas H. Quebbeman <dougq@iglou.com> wrote:
>> Frank da Cruz wrote:
>>
>> [..snip..]
>>
>>>   http://www.columbia.edu/acis/history/norc.html
>>>     NORC, the first supercomputer, and the fastest computer on
>>>     earth for about ten years (1954-63).
>>
>> IIRC, the term had not been coined and in usage prior to its
>> application to the CDC 6600, generally ackowledged as the
>> first supercomputer...
>>
>> Granted, it may well have been faster in relation to the
>> other hardware of the day to deserve the moniker, but it
>> still seems somewhat revisionist to apply the term to a
>> machine that early...
>>
> That's why I said "arguably" :-)  I added a note just now to the NORC
> page explaining how the term can be applied, albeit retroactively, to
> NORC.  As yet, the word "supercomputer" is not defined with great
> precision.  For example, one paper I read claims it should not apply
> to "one-off" computers such as NORC, others disagree.

NORC is rather cool-looking though, with the glass cover panels
for the racks... nice touch for those days!

--
-Douglas Hurst Quebbeman (dougq@iglou.com)            [Call me "Doug"]
To reply, place PUNCHTHRU in square brackets in SUBJECT line
"The large print giveth, and the small print taketh away."  -Tom Waits




From fdc@columbia.edu Thu May 22 14:42:17 EDT 2003
Article: 14322 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: alt.folklore.computers,comp.protocols.kermit.misc
Subject: Re: Columbia U Computing History - New stuff
Date: 22 May 2003 14:40:13 -0400
Organization: Columbia University
Lines: 16
Message-ID: <baj5id$d4g$1@watsol.cc.columbia.edu>
References: <bagsiu$6d7$1@watsol.cc.columbia.edu> <3eccc250$1_2@news.iglou.com> <baivhm$s2o$1@watsol.cc.columbia.edu> <3ecd1437$1_3@news.iglou.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1053628814 15386 128.59.39.139 (22 May 2003 18:40:14 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 22 May 2003 18:40:14 GMT
Xref: newsmaster.cc.columbia.edu alt.folklore.computers:329858 comp.protocols.kermit.misc:14322

In article <3ecd1437$1_3@news.iglou.com>,
Douglas H. Quebbeman <dougq@iglou.com> wrote:
: NORC is rather cool-looking though, with the glass cover panels
: for the racks... nice touch for those days!
: 
Those photos were taken in the building where I work, still known as
Watson Lab, just a few feet from where I sit.  Note, especially, the NY
Herald Tribute photo (looks best with browser maximized) in which the
engineer is standing inside the logic/control unit, velvet rope marking
off the walkway:

  http://www.columbia.edu/acis/history/norc-herald.html

Not even HAL had a velvet rope.

- Frank


From roo@dark-try-removing-this-boong.demon.co.uk Thu May 22 15:39:20 EDT 2003
Article: 14324 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail
From: "Rupert Pigott" <roo@dark-try-removing-this-boong.demon.co.uk>
Newsgroups: alt.folklore.computers,comp.protocols.kermit.misc
Subject: Re: Columbia U Computing History - New stuff
Date: Thu, 22 May 2003 20:36:12 +0100
Organization: Titanic Enterprises Unlimited
Lines: 15
Message-ID: <1053632172.301602@saucer.planet.gong>
References: <bagsiu$6d7$1@watsol.cc.columbia.edu> <3eccc250$1_2@news.iglou.com> <baivhm$s2o$1@watsol.cc.columbia.edu> <3ecd1437$1_3@news.iglou.com>
NNTP-Posting-Host: darkboong.demon.co.uk
X-Trace: news.demon.co.uk 1053632174 8225 80.177.7.220 (22 May 2003 19:36:14 GMT)
X-Complaints-To: abuse@demon.net
NNTP-Posting-Date: Thu, 22 May 2003 19:36:14 +0000 (UTC)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
X-Priority: 3
X-Cache: nntpcache 3.0.1 (see http://www.nntpcache.org/)
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MSMail-Priority: Normal
Cache-Post-Path: saucer.planet.gong!unknown@voodoo.planet.gong
Xref: newsmaster.cc.columbia.edu alt.folklore.computers:329865 comp.protocols.kermit.misc:14324

"Douglas H. Quebbeman" <dougq@iglou.com> wrote in message
news:3ecd1437$1_3@news.iglou.com...

> NORC is rather cool-looking though, with the glass cover panels
> for the racks... nice touch for those days!

I was going to mention that. That machine looks fantastic,
really nice job. Just looking at it you get an impression
of quality and power... Judging by it's long service life
I guess it must have lived up to it's looks.

Cheers,
Rupert




From eugene@cse.ucsc.edu Fri May 23 10:54:12 EDT 2003
Article: 14325 of comp.protocols.kermit.misc
Newsgroups: alt.folklore.computers,comp.protocols.kermit.misc
Subject: Re: Columbia U Computing History - New stuff
References: <bagsiu$6d7$1@watsol.cc.columbia.edu> <3eccc250$1_2@news.iglou.com> <baivhm$s2o$1@watsol.cc.columbia.edu>
Organization: UC Santa Cruz CIS/CE
From: eugene@cse.ucsc.edu (Eugene Miya)
NNTP-Posting-Host: sundance.cse.ucsc.edu
Message-ID: <3ecd7aae$1@news.ucsc.edu>
Date: 22 May 2003 18:34:38 -0800
X-Trace: 22 May 2003 18:34:38 -0800, sundance.cse.ucsc.edu
Lines: 38
Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!news.ucsc.edu!eugene
Xref: newsmaster.cc.columbia.edu alt.folklore.computers:329899 comp.protocols.kermit.misc:14325

In article <baivhm$s2o$1@watsol.cc.columbia.edu>,
Frank da Cruz <fdc@columbia.edu> wrote:
>In article <3eccc250$1_2@news.iglou.com>,
>Douglas H. Quebbeman <dougq@iglou.com> wrote:
>: Frank da Cruz wrote:
>: >   http://www.columbia.edu/acis/history/norc.html
>: >     NORC, the first supercomputer, and the fastest computer on 
>: >     earth for about ten years (1954-63).
>: 
>: IIRC, the term had not been coined and in usage prior to its
>: application to the CDC 6600, generally ackowledged as the
>: first supercomputer...

Our's has been partially reassembled into the classic X-shape (s/n 1).

>: Granted, it may well have been faster in relation to the
>: other hardware of the day to deserve the moniker, but it
>: still seems somewhat revisionist to apply the term to a
>: machine that early...
>: 
>That's why I said "arguably" :-)  I added a note just now to the NORC
>page explaining how the term can be applied, albeit retroactively, to
>NORC.  As yet, the word "supercomputer" is not defined with great
>precision.  For example, one paper I read claims it should not apply
>to "one-off" computers such as NORC, others disagree.

The general consenus in certain knowledgeable circles is to simply say
that most computers in the early eras were "super" because there were so
many of these one-ofs or one-offs.

As this is a cross post, a.f.c has an occasional shill for IBM who posts
as lwinsome (and attempts to set X-no-archive) and tries to get people
to say the STRETCH was a supercomputer (sort of arguably, too).

W/o looking at the page, but seeing your original post, I'm surprised
you left out Ira Fuchs and BITNET (some of those people have been
engaging in revisionist history in the IEEE Annals).



From roo@dark-try-removing-this-boong.demon.co.uk Fri May 23 10:54:21 EDT 2003
Article: 14326 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail
From: "Rupert Pigott" <roo@dark-try-removing-this-boong.demon.co.uk>
Newsgroups: alt.folklore.computers,comp.protocols.kermit.misc
Subject: Re: Columbia U Computing History - New stuff
Date: Fri, 23 May 2003 12:43:13 +0100
Organization: Titanic Enterprises Unlimited
Lines: 23
Message-ID: <1053690194.8103@saucer.planet.gong>
References: <bagsiu$6d7$1@watsol.cc.columbia.edu> <3eccc250$1_2@news.iglou.com> <baivhm$s2o$1@watsol.cc.columbia.edu> <3ecd7aae$1@news.ucsc.edu>
NNTP-Posting-Host: darkboong.demon.co.uk
X-Trace: news.demon.co.uk 1053690194 23984 80.177.7.220 (23 May 2003 11:43:14 GMT)
X-Complaints-To: abuse@demon.net
NNTP-Posting-Date: Fri, 23 May 2003 11:43:14 +0000 (UTC)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
X-Priority: 3
X-Cache: nntpcache 3.0.1 (see http://www.nntpcache.org/)
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MSMail-Priority: Normal
Cache-Post-Path: saucer.planet.gong!unknown@voodoo.planet.gong
Xref: newsmaster.cc.columbia.edu alt.folklore.computers:329950 comp.protocols.kermit.misc:14326

"Eugene Miya" <eugene@cse.ucsc.edu> wrote in message
news:3ecd7aae$1@news.ucsc.edu...

[SNIP]

> As this is a cross post, a.f.c has an occasional shill for IBM who posts
> as lwinsome (and attempts to set X-no-archive) and tries to get people
> to say the STRETCH was a supercomputer (sort of arguably, too).

To be honest I don't really care if a machine is or is
not a supercomputer. Supercomputer appears to be a term
used for marketing machines that will cost as much as a
customer can pay and more.

What I'm interested in is does it supply an elegant
solution to a problem... In terms of ILP and 'might is
right' arguably STRETCH won the war even if it lost a
battle or two. :)

Cheers,
Rupert




From fdc@columbia.edu Fri May 23 10:54:24 EDT 2003
Article: 14327 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: alt.folklore.computers,comp.protocols.kermit.misc
Subject: Re: Columbia U Computing History - New stuff
Date: 23 May 2003 10:45:53 -0400
Organization: Columbia University
Lines: 14
Message-ID: <balc71$7pi$1@watsol.cc.columbia.edu>
References: <bagsiu$6d7$1@watsol.cc.columbia.edu> <3eccc250$1_2@news.iglou.com> <baivhm$s2o$1@watsol.cc.columbia.edu> <3ecd7aae$1@news.ucsc.edu>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1053701155 24877 128.59.39.139 (23 May 2003 14:45:55 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 23 May 2003 14:45:55 GMT
Xref: newsmaster.cc.columbia.edu alt.folklore.computers:329981 comp.protocols.kermit.misc:14327

In article <3ecd7aae$1@news.ucsc.edu>, Eugene Miya <eugene@cse.ucsc.edu> wrote:
: ...
: W/o looking at the page, but seeing your original post, I'm surprised
: you left out Ira Fuchs and BITNET...
: 
Not at all; see the May 1973 entry:

  http://www.columbia.edu/acis/history/

Feb-May 1982, etc, not to mention our famous hand-drawn 1982 BITNET map:

  http://www.columbia.edu/acis/history/bitnet.jpg

- Frank


From shuford@list.stratagy.REM0VE-THlS-PART.com Mon May 26 15:21:28 EDT 2003
Article: 14329 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!cambridge1-snf1.gtei.net!news.gtei.net!transfer.stratus.com!stratagy.com!no-spam-here
From: "Richard S. Shuford" <shuford@list.stratagy.REM0VE-THlS-PART.com>
Newsgroups: comp.terminals,comp.protocols.kermit.misc
Subject: Re: Handbook of interactive Computeur Terminals
Date: Sun, 25 May 2003 19:18:17 -0400
Organization: The Late Great Stratagy Users Group
Lines: 49
Expires: 30 Jun 2003 22:33:44 GMT
Message-ID: <rshu_20030525191817@stratagy.com>
References: <BAF6FE40.23F7%daplincourt@skynet.be> <BAF6B799.2380%daplincourt@skynet.be> <Qa9Aa.3228$Zr7.1019267208@twister2.starband.net> <baragp$cah$2@news1.radix.net>
NNTP-Posting-Host: list.stratagy.com
Xref: newsmaster.cc.columbia.edu comp.terminals:17979 comp.protocols.kermit.misc:14329

Daniel Daplincourt wrote from Belgium...
| 
| Handbook of interactive Computeur Terminals
| by Duane E. Sharp.
| Ed.: Reston
| isn: 0-87909-331-5
| anyone interesting ?
..
> Thank you for the answers. This book doesn't interest me.
> I am a collector of Macintosh.  I want that this book is not
> lost, then I give it free to a person on an interesting
> NewsGroup.  I send it to the first person who sends me his  
> address.

Here's an idea:  Send it to Paul Williams, and perhaps, in his
spare time, he will make it a resource available to anyone who
needs its information.  Paul maintains a very useful website
with reference documentation about video terminals; most of the
material concerns Digital Equipment Corporation products, so
he named the site:
 
    http://vt100.net/

If he doesn't notice this newsgroup thread, you can send him email:

    paul(at)celigne.co.uk

He admits to living in West Sussex, UK.

My own eclectic collection of video-terminal information is here:

    http://www.cs.utk.edu/~shuford/terminal_index.html

and, yes, there is some information about the Wyse 50 there.  

One source of information you may not have considered is the book

    "termcap and terminfo"
    by John Strang, Linda Mui, and Tim O'Reilly
    3rd Edition, April 1988
    ISBN: 0-937175-22-6, ORA order number: 226
    269 pages, $29.95 US, $43.95 CA, £20.95 UK

    http://www.oreilly.com/catalog/term/

Most of the examples in this book employ codes for the Wyse 50.

 ...Richard S. Shuford



From greg180@aol.com Tue May 27 12:50:48 EDT 2003
Article: 14330 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!news.stealth.net news.stealth.net!news.stealth.net!cyclone1.gnilink.net!ngpeer.news.aol.com!audrey-m2.news.aol.com!not-for-mail
Lines: 60
X-Admin: news@aol.com
From: greg180@aol.com (Greg180)
Newsgroups: comp.protocols.kermit.misc
Date: 27 May 2003 16:38:09 GMT
Organization: AOL http://www.aol.com
Subject: server mode help needed
Message-ID: <20030527123809.04226.00000370@mb-m15.aol.com>
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14330

Windows 98/Kermit 95 2.0.1

The script show below has worked well for some time.  For unknown reasons we
have recently found our server machine in an unbroken cycle as displayed on the
server display screen.

Bad Sequence Number
Check Sum Error
   the above appearing several time in sequence then followed by
FAILURE: Too many retries

This sequence continues until we Ctrl\C out of Kermit.

I have been able to create this same scenario by starting the script and then
placing a voice call to the host, and hanging up the voice call after the modem
starts it handshake.

During the duration, the line to the modem remains busy.

I am reading the manual looking for a way to trap such errors, or a server
setting which will force an exit from server mode.

Any suggestions as to diagnostic work or an appropiate fix via script will be
very much welcomed.

Thanks,


Current script follows:

echo ----------------------------\013
echo -   elcomm.ksx started     -\013
echo ----------------------------\013
set speed 115200

;---------------------------
; modem change
set flow rts/cts
set modem speed-matching off
set speed 14
; --------------------------

ENABLE DELETE
set server login CPS CPS1
set server display on
set file collision overwrite
cd f:\wtdcom
while true {
  clear command-screen
  echo Now listening.....(ver 2.1).\013
  echo
  echo Two quick Ctrl-C's to fully escape Kermit
  echo
  sleep 1
  answer 0
  if success server
  }
echo out of the loop.. 20 sec to end\013
sleep 20



From fdc@columbia.edu Tue May 27 12:50:52 EDT 2003
Article: 14331 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: server mode help needed
Date: 27 May 2003 12:50:44 -0400
Organization: Columbia University
Lines: 76
Message-ID: <bb0514$e4$1@watsol.cc.columbia.edu>
References: <20030527123809.04226.00000370@mb-m15.aol.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1054054245 17811 128.59.39.139 (27 May 2003 16:50:45 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 27 May 2003 16:50:45 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14331

In article <20030527123809.04226.00000370@mb-m15.aol.com>,
Greg180 <greg180@aol.com> wrote:
: Windows 98/Kermit 95 2.0.1
: 
: The script show below has worked well for some time.  For unknown reasons
: we have recently found our server machine in an unbroken cycle as
: displayed on the server display screen.
: 
You never know, it could be a deliberate denial of service attack.

: Bad Sequence Number
: Check Sum Error
:    the above appearing several time in sequence then followed by
: FAILURE: Too many retries
: 
: This sequence continues until we Ctrl\C out of Kermit.
: 
: I have been able to create this same scenario by starting the script and
: then placing a voice call to the host, and hanging up the voice call after
: the modem starts it handshake.
: 
: During the duration, the line to the modem remains busy.
: 
: I am reading the manual looking for a way to trap such errors, or a server
: setting which will force an exit from server mode.
: 
: Any suggestions as to diagnostic work or an appropiate fix via script will
: be very much welcomed.
: 
: echo ----------------------------\013
: echo -   elcomm.ksx started     -\013
: echo ----------------------------\013
: set speed 115200
: 
You don't need to put \013 at the end of an ECHO string.  However, when
a command ends with "-" but you don't want it to act as a continuation
character, you have to do something to prevent it.  For ECHO the normal
thing is:

  echo {-------}

or (in more recent Kermit versions):

  echo "-------"

: ; modem change
: set flow rts/cts
: set modem speed-matching off
: set speed 14
: 
"14" is short for 14400, which is a modem-to-modem speed, not a serial-port
speed.  But "set speed" sets the serial port speed.  Instead I think you
should be doing something like this:

  set modem type xxx             ; Specify the type of modem you have
  set port com1
  set flow rts/cts
  set speed 57600
  set modem speed-matching off   ; <-- this is the default anyway

(Note: SET MODEM TYPE ? shows the modem types you can choose.)

Or, if you are using a TAPI device (Control Panel -> Modems name):

  set port tapi
  set flow rts/cts
  set speed 57600
  set modem speed-matching off

The rest looks OK.

I suspect you have a speed mismatch or a noisy connection.  Anyway, try
the suggestions above, which would help in that case, and then get back
to kermit-support@columbia.edu if you continue to have trouble.

- Frank


From jaltman2@nyc.rr.com Wed May 28 14:14:26 EDT 2003
Article: 14332 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!news.gtei.net!colt.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!feed.news.nacamar.de!newsfeed.vmunix.org!peer02.cox.net!cox.net!news-server.columbus.rr.com!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!53ab2750!not-for-mail
From: "Jeffrey Altman [Road Runner NYC]" <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030525
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: server mode help needed
References: <20030527123809.04226.00000370@mb-m15.aol.com>
In-Reply-To: <20030527123809.04226.00000370@mb-m15.aol.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 67
Message-ID: <eAVAa.73380$h42.41351@twister.nyc.rr.com>
Date: Wed, 28 May 2003 02:57:14 GMT
NNTP-Posting-Host: 66.108.138.151
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1054090634 66.108.138.151 (Tue, 27 May 2003 22:57:14 EDT)
NNTP-Posting-Date: Tue, 27 May 2003 22:57:14 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14332

I would suggest upgrading to 2.1.3.  There are some issues with data 
loss on timeouts on serial ports when there is high cpu load in 2.0.x



Greg180 wrote:
> Windows 98/Kermit 95 2.0.1
> 
> The script show below has worked well for some time.  For unknown reasons we
> have recently found our server machine in an unbroken cycle as displayed on the
> server display screen.
> 
> Bad Sequence Number
> Check Sum Error
>    the above appearing several time in sequence then followed by
> FAILURE: Too many retries
> 
> This sequence continues until we Ctrl\C out of Kermit.
> 
> I have been able to create this same scenario by starting the script and then
> placing a voice call to the host, and hanging up the voice call after the modem
> starts it handshake.
> 
> During the duration, the line to the modem remains busy.
> 
> I am reading the manual looking for a way to trap such errors, or a server
> setting which will force an exit from server mode.
> 
> Any suggestions as to diagnostic work or an appropiate fix via script will be
> very much welcomed.
> 
> Thanks,
> 
> 
> Current script follows:
> 
> echo ----------------------------\013
> echo -   elcomm.ksx started     -\013
> echo ----------------------------\013
> set speed 115200
> 
> ;---------------------------
> ; modem change
> set flow rts/cts
> set modem speed-matching off
> set speed 14
> ; --------------------------
> 
> ENABLE DELETE
> set server login CPS CPS1
> set server display on
> set file collision overwrite
> cd f:\wtdcom
> while true {
>   clear command-screen
>   echo Now listening.....(ver 2.1).\013
>   echo
>   echo Two quick Ctrl-C's to fully escape Kermit
>   echo
>   sleep 1
>   answer 0
>   if success server
>   }
> echo out of the loop.. 20 sec to end\013
> sleep 20
> 



From LesCharles Wed May 28 14:14:49 EDT 2003
Article: 14337 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsfeed.berkeley.edu!ucberkeley!newstransit.mitre.org!news.tufts.edu!logbridge.uoregon.edu!newshub.sdsu.edu!newsfeed2.earthlink.net!newsfeed.earthlink.net!newsfeed.news2me.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 28 May 2003 10:05:53 -0500
From: <LesCharles>
Newsgroups: comp.protocols.kermit.misc
References: <20030527123809.04226.00000370@mb-m15.aol.com> <eAVAa.73380$h42.41351@twister.nyc.rr.com>
Subject: Re: server mode help needed
Date: Wed, 28 May 2003 11:08:07 -0400
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: <JPOdnfKtG47MTUmjXTWcoA@comcast.com>
Lines: 89
NNTP-Posting-Host: 68.45.3.220
X-Trace: sv3-3v6LxyUhhTYv+RlDwewZkplICdf5zG+IMif03ggYqNoZu60TYiwLT7NDGTsqnj8dqwAr6kkVHApyyzh!gTte9Ro75o3FuJfGDKMTgcLEhv4ZNqH564MqTYg9KYWXcBLeapN7smkRpBI=
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.1
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14337

Thanks for all your inputs. They will be implemented. As part of my
diagnostics,  I swapped out the modem with another of the same mfg and was
able to duplicate the failure.  I then swapped this "no name" modem for a
well known brand name.  I was unable to make it fail.  File transfers ran
smoothly last night.

My conclusion is that the original modem didn't detect the disconnect and/or
report it to Kermit.

Thanks again


"Jeffrey Altman [Road Runner NYC]" <jaltman2@nyc.rr.com> wrote in message
news:eAVAa.73380$h42.41351@twister.nyc.rr.com...
> I would suggest upgrading to 2.1.3.  There are some issues with data
> loss on timeouts on serial ports when there is high cpu load in 2.0.x
>
>
>
> Greg180 wrote:
> > Windows 98/Kermit 95 2.0.1
> >
> > The script show below has worked well for some time.  For unknown
reasons we
> > have recently found our server machine in an unbroken cycle as displayed
on the
> > server display screen.
> >
> > Bad Sequence Number
> > Check Sum Error
> >    the above appearing several time in sequence then followed by
> > FAILURE: Too many retries
> >
> > This sequence continues until we Ctrl\C out of Kermit.
> >
> > I have been able to create this same scenario by starting the script and
then
> > placing a voice call to the host, and hanging up the voice call after
the modem
> > starts it handshake.
> >
> > During the duration, the line to the modem remains busy.
> >
> > I am reading the manual looking for a way to trap such errors, or a
server
> > setting which will force an exit from server mode.
> >
> > Any suggestions as to diagnostic work or an appropiate fix via script
will be
> > very much welcomed.
> >
> > Thanks,
> >
> >
> > Current script follows:
> >
> > echo ----------------------------\013
> > echo -   elcomm.ksx started     -\013
> > echo ----------------------------\013
> > set speed 115200
> >
> > ;---------------------------
> > ; modem change
> > set flow rts/cts
> > set modem speed-matching off
> > set speed 14
> > ; --------------------------
> >
> > ENABLE DELETE
> > set server login CPS CPS1
> > set server display on
> > set file collision overwrite
> > cd f:\wtdcom
> > while true {
> >   clear command-screen
> >   echo Now listening.....(ver 2.1).\013
> >   echo
> >   echo Two quick Ctrl-C's to fully escape Kermit
> >   echo
> >   sleep 1
> >   answer 0
> >   if success server
> >   }
> > echo out of the loop.. 20 sec to end\013
> > sleep 20
> >
>




From sorana@cs.technion.ac.il Wed May 28 14:14:57 EDT 2003
Article: 14333 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!news.stealth.net news.stealth.net!news.stealth.net!logbridge.uoregon.edu!news.iucc.ac.il!csd.cs.technion.ac.il!sorana
From: Fraier Sorana <sorana@cs.technion.ac.il>
Newsgroups: comp.protocols.kermit.misc
Subject: C kermit binary for SunOs 5.8 with SSL
Date: Wed, 28 May 2003 14:26:01 +0300
Organization: The Israel Inter-University Computation Center
Lines: 11
Message-ID: <Pine.GSO.4.33_heb2.09.0305281418500.22927-100000@csd.cs.technion.ac.il>
NNTP-Posting-Host: csd.cs.technion.ac.il
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Trace: news.iucc.ac.il 1054121100 14692 132.68.32.8 (28 May 2003 11:25:00 GMT)
X-Complaints-To: abuse@news.iucc.ac.il
NNTP-Posting-Date: Wed, 28 May 2003 11:25:00 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14333

I'm looking for binary build for SunOs 5.8 with SSL. I can't find it
anywhere. I don't have root access, so I can't install the package
normally.

As a second alternative I consider to change the directories paths in the
makefile in order to install it in my home directory. Which directories I
need to change? Any help regarding this issue, will be highly appreciated.

Thanks in advance,




From not-a-real-address@usa.net Wed May 28 14:15:20 EDT 2003
Article: 14335 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsfeed.berkeley.edu!ucberkeley!newstransit.mitre.org!news.tufts.edu!elk.ncren.net!aanews.merit.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-01!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: C kermit binary for SunOs 5.8 with SSL
Date: 28 May 2003 12:49:42 GMT
Organization: earthfriends
Message-ID: <m17k8bz1jl.gnus@usa.net>
References: <Pine.GSO.4.33_heb2.09.0305281418500.22927-100000@csd.cs.technion.ac.il>
User-Agent: Gnus/5.1003 (Gnus v5.10.3) XEmacs/21.4 (Portable Code, 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:14335

in comp.protocols.kermit.misc i read:

>As a second alternative I consider to change the directories paths in the
>makefile in order to install it in my home directory. Which directories I
>need to change? Any help regarding this issue, will be highly appreciated.

the binary can be placed anywhere, it need not be installed into a system
directory.

-- 
bringing you boring signatures for 17 years


From arthur.marsh@internode.on.net Wed May 28 14:16:08 EDT 2003
Article: 14336 of comp.protocols.kermit.misc
Date: Wed, 28 May 2003 23:09:24 +0930
From: Arthur Marsh <arthur.marsh@internode.on.net>
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4a) Gecko/20030401
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: C kermit binary for SunOs 5.8 with SSL
References: <Pine.GSO.4.33_heb2.09.0305281418500.22927-100000@csd.cs.technion.ac.il>
In-Reply-To: <Pine.GSO.4.33_heb2.09.0305281418500.22927-100000@csd.cs.technion.ac.il>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: ppp551.adelaide.on.net.au
Message-ID: <3ed4bc0d@duster.adelaide.on.net>
X-Trace: duster.adelaide.on.net 1054129165 ppp551.adelaide.on.net.au (28 May 2003 23:09:25 +0950)
Lines: 152
Path: newsmaster.cc.columbia.edu!panix!newsfeed!enews.sgi.com!news.xtra.co.nz!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:14336


Fraier Sorana wrote:
 > I'm looking for binary build for SunOs 5.8 with SSL. I can't find it
 > anywhere. I don't have root access, so I can't install the package
 > normally.
 >
 > As a second alternative I consider to change the directories paths in the
 > makefile in order to install it in my home directory. Which directories I
 > need to change? Any help regarding this issue, will be highly 
appreciated.
 >
 > Thanks in advance,
 >
 >

Hi, I just compiled OpenSSL-0.9.6h and the daily build of C-Kermit under 
Solaris 8 (SunOS 5.8) as a regular user.

You need to build OpenSSL to install its libraries and include files in 
a directory under your home directory.

The build environment used the Sun cc compiler for compiling OpenSSL 
with shared libraries, then GCC for compiling C-Kermit with OpenSSL, 
Perl 5 and GNU bc...)

cd

gzip -dc openssl-0.9.6h.tar.gz|tar -xvf /dev/fd/0
cd open*h
./config --prefix=/usr/users/amarsh \
--openssldir=/usr/users/amarsh/openssl shared \

make
make test
make install
# openssl libs are now in /usr/users/amarsh/lib
make clean
cd ..
mkdir kermit-src
cd kermit-src
lynx ftp.columbia.edu/kermit/test/tar/x.tar.gz
gzip -dc x.tar.gz|tar -xvf /dev/fd/0

# set environmental variable LD_LIBRARY_PATH
# to include your private library directory
# (/usr/users/amarsh/lib in my case)

make solaris8g+openssl+zlib+pam+shadow \
SSLLIB=-L/usr/users/amarsh/lib \
SSLINC=-I/usr/users/amarsh/include

./wermit
C-Kermit 8.0.210 Dev.00, 20 May 2003, for Solaris 8
  Copyright (C) 1985, 2003,
   Trustees of Columbia University in the City of New York.
Type ? or HELP for help.
(/home54/disk2/amarsh/kermit-src/) C-Kermit>show features
C-Kermit 8.0.210 Dev.00, 20 May 2003

Major optional features included:
  Network support (type SHOW NET for further info)
  Telnet Kermit Option
  Telnet Authentication Option
  Secure Sockets Layer (SSL)
  Transport Layer Security (TLS)
  Secure Shell (SSH) [external]
  X Windows forwarding
  Telnet Remote Com Port Control Option
  Built-in FTP client
  Built-in HTTP client
  Hardware flow control
  External XYZMODEM protocol support
  Latin-1 (West European) character-set translation
  Latin-2 (East European) character-set translation
  Cyrillic (Russian, Ukrainian, etc) character-set translation
  Greek character-set translation
  Hebrew character-set translation
  Japanese character-set translation
  Unicode character-set translation
  Pseudoterminal control
  REDIRECT command
  RESEND command
  Fullscreen file transfer display
  Control-character unprefixing
  Streaming
  Autodownload
  Internet Kermit Service with user login support

Major optional features not included:
  No Kerberos(TM) authentication
  No SRP(TM) (Secure Remote Password) authentication
  No encryption
  No SOCKS

Host info:
  Machine:    sun4u
  Model:      SUNW,Sun-Blade-100
  OS:         SunOS
  OS Release: 5.8
  OS Version: Generic_108528-21


Target: solaris8g+openssl+zlib+pam+shadow
GCC version: 3.3
Compiled May 28 2003 22:48:31, options:
  __GNUC__ __STDC__ _POSIX_JOB_CONTROL _POSIX_SOURCE _SC_JOB_CONTROL
  ARRAYREFLEN=1024 ATTSV BIGBUFOK BROWSER BSD44ORPOSIX CK_ANSIC CK_ANSILIBS
  CK_APC CK_AUTODL CK_CURSES CK_DNS_SRV CK_DTRCD CK_ENVIRONMENT CK_FAST
  CK_FORWARD_X CK_LOGIN CK_MKDIR CK_NAWS CK_NEWTERM CK_PAM CK_PCT_BAR 
CK_PERMS
  CK_RECALL CK_RTSCTS CK_SHADOW CK_SPEED CK_SSL CK_TIMERS CK_TMPDIR 
CK_TTGWSIZ
  CK_TTYFD CK_WREFRESH CKEXEC CKFLOAT=double CKGHNLHOST CKHTTP CKLEARN
  ckmaxfiles=256 CKMAXOPEN=20 CKMAXPATH=1024 CKREALPATH CKREGEX CKROOT 
CKSYSLOG
  CKTUNING CMDBL=32763 CMDDEP=64 CONGSPD DCMDBUF DEVNAMLEN=1024 DIRENT 
DYNAMIC
  FD_SETSIZE=1024 FNFLOAT FOPEN_MAX=20 FORDEPTH=32 GFTIMER h_addr HADDRLIST
  HDBUUCP HWPARITY IFDEBUG IKS_OPTION IKSDB IKSDCONF INBUFSIZE=32768
  INCL_PARAM_H INPBUFSIZ=4096 MAC_MAX=16384 MACLEVEL=128 MAXDDIR=32
  MAXDNUMS=4095 MAXGETPATH=128 MAXPATHLEN=1024 MAXTAKE=54 MAXWLD=102400 
MDMHUP
  MSENDMAX=1024 NETCMD NETCONN NETPTY NEWFTP NOFILEH NOKVERBS NOSETBUF
  OBUFSIZE=32768 OS2ORUNIX PARSENSE PATTERNS PIPESEND POSIX 
POSIX_CRTSCTS RENAME
  RLOGCODE SELECT SIG_V SO_DONTROUTE SO_KEEPALIVE SO_LINGER SO_OOBINLINE
  SO_RCVBUF SO_SNDBUF SOL_SOCKET SOLARIS SOLARIS25 SOLARIS26 SOLARIS7 
SOLARIS8
  sparc STERMIOX STREAMING SVORPOSIX SVR3 SVR4 SVR4ORPOSIX TCP_NODELAY 
TCPSOCKET
  TIMEH TLOG TN_COMPORT TNCODE TTLEBUF TTSPDLIST UIDBUFLEN=256 UNIX 
UNPREFIXZERO
  USE_LSTAT USE_MEMCPY UTIMEH VMSORUNIX VNAML=4096 WHATAMI XFRCAN XPRINT
  z_maxchan=2 Z_MAXCHAN=2 ZXREWIND

  byte order: big endian

  sizeofs: int=4 long=4 short=2 char=1 char*=4 float=4 double=8

  floating-point: precision=16 rounding=1

(/home54/disk2/amarsh/kermit-src/) C-Kermit>q
batman>

I'm not expert in compiling software. Perhaps Frank or Jeff could 
suggest what changes to make to avoid having to set LD_LIBRARY_PATH in 
order to build and run C-Kermit with OpenSSL under SunOS 5.8.

Regards,

Arthur.



From joe.murphy17@verizon.net Wed May 28 14:17:19 EDT 2003
Article: 14334 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!router1.news.adelphia.net!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.nacamar.de!news.csl-gmbh.net!news-out.nuthinbutnews.com!propagator2-sterling!news-in.nuthinbutnews.com!cyclone1.gnilink.net!spamkiller2.gnilink.net!nwrdny02.gnilink.net.POSTED!53ab2750!not-for-mail
From: "William Murphy" <joe.murphy17@verizon.net>
Newsgroups: comp.protocols.kermit.misc
Subject: Running Kermit with Hyper Access
Lines: 11
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: <bz1Ba.20000$ca5.7989@nwrdny02.gnilink.net>
Date: Wed, 28 May 2003 12:02:15 GMT
NNTP-Posting-Host: 151.205.195.188
X-Complaints-To: abuse@verizon.net
X-Trace: nwrdny02.gnilink.net 1054123335 151.205.195.188 (Wed, 28 May 2003 08:02:15 EDT)
NNTP-Posting-Date: Wed, 28 May 2003 08:02:15 EDT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14334

I am having a problem uploading a file from a PC to a MicroVax using
C-Kermit.  Kermit does not accept the upload from the HyperAccess.  The
MicroVax is running Ver 5.5-2A and the ver of C-Kermit is 5A (189).  I can
upload from any other terminal program, such as Reflections, Procomm and
HyperTerm.  The problem seems to be with HyperAccess Ver.6.3.

If you have any ideal please let me know.  I have a vendor that wants to use
HyperAccess with our system.





From fdc@columbia.edu Wed May 28 14:21:31 EDT 2003
Article: 14338 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Running Kermit with Hyper Access
Date: 28 May 2003 14:21:25 -0400
Organization: Columbia University
Lines: 32
Message-ID: <bb2un5$ceo$1@watsol.cc.columbia.edu>
References: <bz1Ba.20000$ca5.7989@nwrdny02.gnilink.net>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1054146086 14693 128.59.39.139 (28 May 2003 18:21:26 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 28 May 2003 18:21:26 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14338

In article <bz1Ba.20000$ca5.7989@nwrdny02.gnilink.net>,
William Murphy <joe.murphy17@verizon.net> wrote:
: I am having a problem uploading a file from a PC to a MicroVax using
: C-Kermit.  Kermit does not accept the upload from the HyperAccess.  The
: MicroVax is running Ver 5.5-2A and the ver of C-Kermit is 5A (189).  I can
: upload from any other terminal program, such as Reflections, Procomm and
: HyperTerm.  The problem seems to be with HyperAccess Ver.6.3.
: 
: If you have any ideal please let me know.  I have a vendor that wants to 
: use HyperAccess with our system.
: 
It would be a lot easier for them if they used a program whose Kermit
protocol implementation worked, worked well, and was supported, such as
Kermit 95:

  http://www.hilgraeve.com/

Since Kermit 95, as well as the other packages you mention, interoperate
with C-Kermit, the problem is clearly with HyperAccess, so they are the
ones you should ask for help:

  http://www.hilgraeve.com/

But their web site doesn't seem functional at the moment.

Incidentally, the current release of C-Kermit is 8.0:

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

The one you have is ten years old.

- Frank


From fdc@columbia.edu Wed May 28 14:45:43 EDT 2003
Article: 14339 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: C kermit binary for SunOs 5.8 with SSL
Date: 28 May 2003 14:45:34 -0400
Organization: Columbia University
Lines: 22
Message-ID: <bb304e$j1e$1@watsol.cc.columbia.edu>
References: <Pine.GSO.4.33_heb2.09.0305281418500.22927-100000@csd.cs.technion.ac.il>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1054147538 15846 128.59.39.139 (28 May 2003 18:45:38 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 28 May 2003 18:45:38 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14339

In article <Pine.GSO.4.33_heb2.09.0305281418500.22927-100000@csd.cs.technion.ac.il>,
Fraier Sorana  <sorana@cs.technion.ac.il> wrote:
: I'm looking for binary build for SunOs 5.8 with SSL. I can't find it
: anywhere. I don't have root access, so I can't install the package
: normally.
: 
The reason you can't find it anywhere is that US export law forbids making
it available.  This is explained in the C-Kermit web pages.  Everybody on
earth who wants a secure version of C-Kermit must download the source code
and compile it with the appropriate options and link it with the desired
security libraries.

I'm merely stating this for the record, since the question seems to be 
coming up with increasing frequency.  The situation is explained here:

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

and now also here:

  http://www.columbia.edu/kermit/ckfaq.html#export

- Frank


From deja@alienbigcats.com Thu May 29 09:03:07 EDT 2003
Article: 14340 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: deja@alienbigcats.com (paul wells)
Newsgroups: comp.protocols.kermit.misc
Subject: ftp DIR times out
Date: 28 May 2003 16:47:26 -0700
Organization: http://groups.google.com/
Lines: 18
Message-ID: <669ac511.0305281547.1cec3194@posting.google.com>
NNTP-Posting-Host: 206.81.198.130
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1054165646 7203 127.0.0.1 (28 May 2003 23:47:26 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 28 May 2003 23:47:26 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14340

We've just installed 8.0.209 running on Solaris 8 [well, I didn't
install it, but I'm assuming there were no problems with it] and I'm
having at look at the Kermit version of FTP - and getting problems
straight away.

I can get to the remote machine, log in with username and password,
and can see I'm in the correct place with PWD.  But when I try DIR (or
FTP DIR, or any combination of upper and lower case) I'm getting

ftp: connect: Connection timed out

Using a non-Kermit ftp I can DIR and get a listing within seconds.

So what am I doing wrong, or where do I need to look to find out
what's set wrong?

-- 
paul


From jaltman2@nyc.rr.com Thu May 29 09:03:18 EDT 2003
Article: 14342 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!nntp.abs.net!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!53ab2750!not-for-mail
From: "Jeffrey Altman [Road Runner NYC]" <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030525
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: ftp DIR times out
References: <669ac511.0305281547.1cec3194@posting.google.com>
In-Reply-To: <669ac511.0305281547.1cec3194@posting.google.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 28
Message-ID: <zGgBa.77352$h42.24210@twister.nyc.rr.com>
Date: Thu, 29 May 2003 05:14:07 GMT
NNTP-Posting-Host: 66.108.138.151
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1054185247 66.108.138.151 (Thu, 29 May 2003 01:14:07 EDT)
NNTP-Posting-Date: Thu, 29 May 2003 01:14:07 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14342

FTP requires the use of two sockets.  One for the command channel and 
one for the data channel.  Your attempt to establish the data channel is 
being blocked.  Most likely your firewall is configured to block 
outbound connections to arbitrary ports.

You will need to configure Kermit to use an HTTP Proxy Server or SOCKS.

- Jeffrey Altman
Volunteer Kermit Developer

paul wells wrote:
> We've just installed 8.0.209 running on Solaris 8 [well, I didn't
> install it, but I'm assuming there were no problems with it] and I'm
> having at look at the Kermit version of FTP - and getting problems
> straight away.
> 
> I can get to the remote machine, log in with username and password,
> and can see I'm in the correct place with PWD.  But when I try DIR (or
> FTP DIR, or any combination of upper and lower case) I'm getting
> 
> ftp: connect: Connection timed out
> 
> Using a non-Kermit ftp I can DIR and get a listing within seconds.
> 
> So what am I doing wrong, or where do I need to look to find out
> what's set wrong?
> 



From josh@ssimr.com Thu May 29 09:03:52 EDT 2003
Article: 14341 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed!arclight.uoregon.edu!logbridge.uoregon.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: josh@ssimr.com (Josh Kuperman)
Newsgroups: comp.protocols.kermit.misc
Subject: Mac OS X, Break, and Keyspan USB Twin Serial Adaptor
Date: 28 May 2003 19:20:04 -0700
Organization: http://groups.google.com/
Lines: 19
Message-ID: <ac67ee9b.0305281820.6fd13658@posting.google.com>
NNTP-Posting-Host: 206.231.158.3
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1054174804 14116 127.0.0.1 (29 May 2003 02:20:04 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 29 May 2003 02:20:04 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14341

I downloaded the most recent OS X binary, and followed some
instructions someone else provided on how to set up permissions for
the lock file. Everything seemed to be working.

I wanted to see if I could control a Sun Sparc 10 running headless
>from  an iMac using Kermit. To get at the serial port on the SS 10 I
have the following set up [ iMac -> [ Linksys 4-Port Hub] -> USB Twin
Serial Adaptor -> Old Mac 9 mini din to 25DB modem cable -> null modem
-> SS10.

I was able to connect as far as I can tell, but I was not able to send
a Break. I emailed Keyspan and have been scouring the net, but I'm
wondering if anyone here can offer me insight.  I was able to do some
form of loop back testing by taking an old Mac 9 pin mini-din (both
ends) printer cable and connecting both ports on the Keyspan USB twin
serial adaptor.  All I established there was I don't seem to get line
feeds and sending a break seems to disconnect. Anyone have good
suggestions on loopback testing, connecting through USB ports, or Mac
OS X perculiarities?


From fdc@columbia.edu Thu May 29 09:13:13 EDT 2003
Article: 14343 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Mac OS X, Break, and Keyspan USB Twin Serial Adaptor
Date: 29 May 2003 09:13:08 -0400
Organization: Columbia University
Lines: 49
Message-ID: <bb5114$5co$1@watsol.cc.columbia.edu>
References: <ac67ee9b.0305281820.6fd13658@posting.google.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1054213989 2818 128.59.39.139 (29 May 2003 13:13:09 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 29 May 2003 13:13:09 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14343

In article <ac67ee9b.0305281820.6fd13658@posting.google.com>,
Josh Kuperman <josh@ssimr.com> wrote:
: I downloaded the most recent OS X binary, and followed some
: instructions someone else provided on how to set up permissions for
: the lock file. Everything seemed to be working.
: 
: I wanted to see if I could control a Sun Sparc 10 running headless
: from an iMac using Kermit. To get at the serial port on the SS 10 I
: have the following set up [ iMac -> [ Linksys 4-Port Hub] -> USB Twin
: Serial Adaptor -> Old Mac 9 mini din to 25DB modem cable -> null modem
: -> SS10.
: 
: I was able to connect as far as I can tell, but I was not able to send
: a Break.
:
The way to send a Break in Kermit is to type Ctrl-\, then b.  Is that
what you did?

: I emailed Keyspan and have been scouring the net, but I'm
: wondering if anyone here can offer me insight.  I was able to do some
: form of loop back testing by taking an old Mac 9 pin mini-din (both
: ends) printer cable and connecting both ports on the Keyspan USB twin
: serial adaptor.
:
I would not necessarily depend on that.  Is a Mac printer cable the same
as a Mac null-modem cable?

: All I established there was I don't seem to get line
: feeds and sending a break seems to disconnect. Anyone have good
: suggestions on loopback testing, connecting through USB ports, or Mac
: OS X perculiarities?
:
Sending Break is one of those crannies of Unix that was never noticed by
standards makers; there are almost as many ways to do it as there are
varieties of Unix.

C-Kermit's Break code for Mac OS X uses the 4.4BSD method, just like
FreeBSD, etc.  I don't have hands-on access to Mac OS X so I can't put a
breakout box on it to see if it's really working.  Maybe somebody with
physical access can try this.  If you don't have a breakout box, use an
external modem that has lights.  Ctrl-\ b should make the TxD light 
come on for 250 milliseconds (1/4 second).  Ctrl-\ l (letter L) should
send a 1.5-second Long Break.

If the Break-sending code in Mac OS X doesn't work, then somebody who
has Mac OS X is invited to fix it.  That's why we publish the source
code.

- Frank


From josh@imac.ssimr.com Fri May 30 15:41:55 EDT 2003
Article: 14344 of comp.protocols.kermit.misc
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!news.alt.net!netheaven.com!usenet
From: Josh  Kuperman <josh@imac.ssimr.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Mac OS X, Break, and Keyspan USB Twin Serial Adaptor
Date: 30 May 2003 18:54:24 GMT
Lines: 30
Message-ID: <bb89d0$m7v$0@206.231.158.3>
References: <ac67ee9b.0305281820.6fd13658@posting.google.com> <bb5114$5co$1@watsol.cc.columbia.edu>
NNTP-Posting-Host: 206.231.158.3
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14344


OK I tried the modem, using and old USB Sportser 28.8. The thing has
the following lights: AA, CD, RD, SD, TR, CS, and ARQ/FAX. It made
no difference if I was in command more or connect mode. I did issue
an ATZ command and I don't have any phone lines connected. All I had
to measure time is an old horse trainers stop watch; accurate but
1/5 second increments. The TR and CS lights are always on. When I
issued the Break Command both the SD and RD came on -- for 1 second
with "output \b" and two with "output \l". Since you said the TxD
(which I'm taking to be the same as SD on this modem) should come on
but nothing else I'm assuming that either Keyspan or Kermit or the
MacOS is generating and inappropriate signal.

I have also found that I might have some timing issue where I
 connect and don't seem to be able to communicate with the device at
 all, but just get messages like "Can't send character: Undefined
 error: 0 " I can exit out of kermit and get back in but I do seem
 to ofter wind up in an envrionment where key strokes are either
 being delayed or ignored.


In repsonse to two other issue: I've never seen a Mac Null Modem
cable, everyone uses printer cables -- but that doesn't mean it is
the same as a printer cable.I don't think it matters. And I was
using the correct control characters but often not getting the
correct responses.

-- 
Josh Kuperman
josh@ssimr.com


From fdc@columbia.edu Fri May 30 16:28:23 EDT 2003
Article: 14345 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Mac OS X, Break, and Keyspan USB Twin Serial Adaptor
Date: 30 May 2003 16:28:02 -0400
Organization: Columbia University
Lines: 65
Message-ID: <bb8esi$6o3$1@watsol.cc.columbia.edu>
References: <ac67ee9b.0305281820.6fd13658@posting.google.com> <bb5114$5co$1@watsol.cc.columbia.edu> <bb89d0$m7v$0@206.231.158.3>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1054326484 15599 128.59.39.139 (30 May 2003 20:28:04 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 30 May 2003 20:28:04 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14345

In article <bb89d0$m7v$0@206.231.158.3>,
Josh  Kuperman  <josh@imac.ssimr.com> wrote:
: 
: OK I tried the modem, using and old USB Sportser 28.8. The thing has
: the following lights: AA, CD, RD, SD, TR, CS, and ARQ/FAX. It made
: no difference if I was in command more or connect mode. I did issue
: an ATZ command and I don't have any phone lines connected. All I had
: to measure time is an old horse trainers stop watch; accurate but
: 1/5 second increments. The TR and CS lights are always on. When I
: issued the Break Command both the SD and RD came on -- for 1 second
: with "output \b" and two with "output \l". Since you said the TxD
: (which I'm taking to be the same as SD on this modem) should come on
: but nothing else I'm assuming that either Keyspan or Kermit or the
: MacOS is generating and inappropriate signal.
: 
Actually I think this indicates Kermit is working sort of right.  The
timing might be off, but that shouldn't matter (formally, a Break is a
spacing condition lasting *at least* 250 msec).  As for RD coming on at
the same time, it could be that your modem is just echoing it back.

: I have also found that I might have some timing issue where I
: connect and don't seem to be able to communicate with the device at
: all, but just get messages like "Can't send character: Undefined
: error: 0 " I can exit out of kermit and get back in but I do seem
: to ofter wind up in an envrionment where key strokes are either
: being delayed or ignored.
: 
OK, that's worrisome.  A debug log might show you where this is
happening.  This is CONNECT mode, right?  "Error 0" usually means
the application told the OS to write() n characters, and write()
returned indicating no (zero) characters were written, yet did not
set an error code.

Not having hands-on access to Mac OS X, and not knowing anything about
its serial interface, I can't say for sure why this would happen, but
one guess is that it's not getting certain modem signals that it likes
to have such as DSR (but not CTS if your modem's CS light indicates CTS).

: In repsonse to two other issue: I've never seen a Mac Null Modem
: cable, everyone uses printer cables -- but that doesn't mean it is
: the same as a printer cable.I don't think it matters.
:
Famous last words :-)

: And I was
: using the correct control characters but often not getting the
: correct responses.
: 
If it works sometimes but not others, suspect a loose connection.
I know this sounds obvious, but (here comes a story...)

Once many years ago my boss's boss's boss's boss got a Macintosh and
wanted to be able to connect its serial port to our data switch to get
at e-mail.  We set it up, put Kermit on it, plugged it in, everything
was fine except it would not communicate.  We checked everything, found
nothing wrong, and left very embarrassed.  Eventually it turned out
that the rubber sleeve on the Din-8 connector was just a tad too long;
even though it was plugged firmly into the Mac, contact was not made.
Hopefully DB-9 connectors are better standardized than Din-8's, but
still I would not necessarily trust a printer cable to do null-modem
duty.  Anyway, I don't even know what a Mac OS X box uses for a
serial port -- is it RS-232, RS-423, or what?  That is, does it even
have modem signals?

- Frank


From ishikawa@yk.rim.or.jp Sat May 31 17:33:05 EDT 2003
Article: 14346 of comp.protocols.kermit.misc
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: ftp DIR times out
Date: Sun, 01 Jun 2003 06:26:46 +0900
Organization: Ye 'Ol Disorganized NNTPCache groupie
Lines: 35
Message-ID: <3ED91E16.1F55E438@yk.rim.or.jp>
References: <669ac511.0305281547.1cec3194@posting.google.com> <zGgBa.77352$h42.24210@twister.nyc.rr.com>
NNTP-Posting-Host: pl1058.nas911.n-yokohama.nttpc.ne.jp
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
X-Trace: news.rim.or.jp 1054416659 30866 210.139.43.34 (31 May 2003 21:30:59 GMT)
X-Complaints-To: root@rim.or.jp
NNTP-Posting-Date: Sat, 31 May 2003 21:30:59 +0000 (UTC)
X-Mailer: Mozilla 4.8 [en] (X11; U; Linux 2.4.20 i686)
X-Accept-Language: ja, en
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:14346

"Jeffrey Altman [Road Runner NYC]" wrote:
> 
> FTP requires the use of two sockets.  One for the command channel and
> one for the data channel.  Your attempt to establish the data channel is
> being blocked.  Most likely your firewall is configured to block
> outbound connections to arbitrary ports.
> 
> You will need to configure Kermit to use an HTTP Proxy Server or SOCKS.
	...[omissin]...

I thought I was going to write why not use PASV mode of ftp originally.

But then I got curious and tried to see how I enabled PASV mode
inside Kermit. I found that KERMIT indeed uses/issues PASV mode
internally 
without being told so.

Since use of PASV requires the
cooperation of ftp server in question (some ftp servers may not
be configured to allow PASV or doesn't support PASV
at all), use of PASV does not solve firewall problem always.
(I just found out that my ISP's ftp doesn't seem to grok PASV.)

So, for the original question, 
it is indeed good if HTTP Proxy Server and/or SOCKS proxy
is available or that the firewall is a flexible and
powerful one such as Firewall-1, etc..


-- 
int main(void){int j=2003;/*(c)2003 cishikawa. */
char t[] ="<CI> @abcdefghijklmnopqrstuvwxyz.,\n\"";
char *i ="g>qtCIuqivb,gCwe\np@.ietCIuqi\"tqkvv is>dnamz";
while(*i)((j+=strchr(t,*i++)-(int)t),(j%=sizeof t-1),
(putchar(t[j])));return 0;}/* under GPL */


From JDanSkinner@JDanSkinner.com Mon Jun  2 12:25:55 EDT 2003
Article: 14347 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: JDanSkinner@JDanSkinner.com (Dan Skinner)
Newsgroups: comp.protocols.kermit.misc
Subject: Trouble with dialup connection from K95
Date: 2 Jun 2003 09:20:52 -0700
Organization: http://groups.google.com/
Lines: 39
Message-ID: <8ce22d01.0306020820.640a4c8b@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 1054570853 16169 127.0.0.1 (2 Jun 2003 16:20:53 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 2 Jun 2003 16:20:53 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14347

I'm moving from a W98 laptop to a WXP laptop.
Have successfully installed K95 2.1.3, Telnet and SSH connections
work as normal.  I can't however seem to get dial-up (out) to work
properly.
I was using an external Multitech modem with the old laptop (best of
all worlds except convenience.) The new laptop has ,of course,
integrated modem (win-modem I presume) I am trying to use.  I am able
to successfully dial out connect and
login to a remote (Unix) system using HyperTerm.  With K95 I get a
rather strange result.  First I tried to convert my connection script,
just change the
modem name from Multitech to Smart_Link_56K_Modem. This failed as I
will describe below.  It is also a rather big and messy script so I
decided to first create a straight forward situation.  In the K95
dialer I cloned the
Template: Dialup - VT100 and made the minimum changes for my
connection
(phone number, scoansi, etc) Same result.  I have also tried from the
Kermit
command line with same result.

It dials, and connects (with HyperTerm get login and am able to),
Nothing appears on the screen although the little modem Icon shows
inbound traffic.  To shorten the story I am able to login blind, but
nothing
appears on the screen, No echo of keystrokes and no display of traffic
sent from remote machine, although the little modem Icon shows both
outbound and inbound activity. and I can verify the login by checking
remote logs from
another machine.

I'd like to attach the external modem, but this new Laptop has no
serial port.

I presume some flow control or similar parameter is the problem, but
after
some fooling around without success, I decided to ask for help here.

Regards...Dan.


From fdc@columbia.edu Mon Jun  2 12:25:57 EDT 2003
Article: 14348 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Trouble with dialup connection from K95
Date: 2 Jun 2003 12:25:51 -0400
Organization: Columbia University
Lines: 25
Message-ID: <bbftqf$b8$1@watsol.cc.columbia.edu>
References: <8ce22d01.0306020820.640a4c8b@posting.google.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1054571152 27360 128.59.39.139 (2 Jun 2003 16:25:52 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 2 Jun 2003 16:25:52 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14348

In article <8ce22d01.0306020820.640a4c8b@posting.google.com>,
Dan Skinner <JDanSkinner@JDanSkinner.com> wrote:
: I'm moving from a W98 laptop to a WXP laptop.
: Have successfully installed K95 2.1.3, Telnet and SSH connections
: work as normal.  I can't however seem to get dial-up (out) to work
: properly.
: I was using an external Multitech modem with the old laptop (best of
: all worlds except convenience.) The new laptop has ,of course,
: integrated modem (win-modem I presume) I am trying to use.  I am able
: to successfully dial out connect and
: login to a remote (Unix) system using HyperTerm.  With K95 I get a
: rather strange result.  First I tried to convert my connection script,
: just change the
: modem name from Multitech to Smart_Link_56K_Modem.
:
The old commands would have been something like:

  set modem type multitech
  set port com1

Replace these by:

  set port tapi Smart_Link_56K_Modem

- Frank


From jdanskinner@jdanskinner.com Tue Jun  3 09:29:02 EDT 2003
Article: 14349 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed!news.maxwell.syr.edu!sn-xit-03!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
From: JDan Skinner <jdanskinner@jdanskinner.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Trouble with dialup connection from K95
Date: Mon, 02 Jun 2003 16:11:46 -0500
Organization: JDanSkinner.com
Message-ID: <vdnfcm1t55b4c@corp.supernews.com>
Reply-To: jdanskinner@jdanskinner.com
References: <8ce22d01.0306020820.640a4c8b@posting.google.com> <bbftqf$b8$1@watsol.cc.columbia.edu>
User-Agent: KNode/0.7.1
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
X-Complaints-To: abuse@supernews.com
Lines: 69
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14349

Frank da Cruz wrote:

> In article <8ce22d01.0306020820.640a4c8b@posting.google.com>,
> Dan Skinner <JDanSkinner@JDanSkinner.com> wrote:
> : I'm moving from a W98 laptop to a WXP laptop.
> : Have successfully installed K95 2.1.3, Telnet and SSH connections
> : work as normal.  I can't however seem to get dial-up (out) to work
> : properly.
> : I was using an external Multitech modem with the old laptop (best of
> : all worlds except convenience.) The new laptop has ,of course,
> : integrated modem (win-modem I presume) I am trying to use.  I am able
> : to successfully dial out connect and
> : login to a remote (Unix) system using HyperTerm.  With K95 I get a
> : rather strange result.  First I tried to convert my connection script,
> : just change the
> : modem name from Multitech to Smart_Link_56K_Modem.
> :
> The old commands would have been something like:
> 
>   set modem type multitech
>   set port com1
> 
> Replace these by:
> 
>   set port tapi Smart_Link_56K_Modem
> 
> - Frank

Thanks Frank;
Agreed!
I was able to get that far.
The problem (after some more searching) seems to be:
after the set port, if I do
set carr off
c
I get the terminal screen with cursor.
If I type
at<cr>
nothing is echoed to the screen, cursor does not move.
if I type
at&f<cr>
nothing ie echoed
if I type 
atdt<phone_number><cr>
blind - I can hear the modem dial and negotiate and connect, I can login 
blind as confirmed by later connection with the old machine
Nothing is ever displayed on the terminal screen. There is a modem icon in 
the task bar which shows bi-directional traffic.
If I force HyperTerm to a direct serial connection to the modem and type 
at<cr>
It works as one would expect, as K95 does on the old machine.
type
at<cr>
and it echos
OK

I was suspicious of DTR but its value is unknown on both the working and 
non-working machines.

One more piece of confusion.
I tried the old script with the changes you suggest above.
It dials, connects and the login prompt is displayed on the command screen.
It switches to terminal screen with the same login prompt and then nothing 
echos.

More guidance please!!
-- 
Regards...Dan   
JDanSkinner@JDanSkinner.com


From jaltman@columbia.edu Tue Jun  3 09:29:05 EDT 2003
Article: 14350 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!nycmny1-snh1.gtei.net!crtntx1-snh1.gtei.net!news.gtei.net!newsfeed1.easynews.com!easynews.com!easynews!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.4) Gecko/20030529
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Trouble with dialup connection from K95
References: <8ce22d01.0306020820.640a4c8b@posting.google.com> <bbftqf$b8$1@watsol.cc.columbia.edu> <vdnfcm1t55b4c@corp.supernews.com>
In-Reply-To: <vdnfcm1t55b4c@corp.supernews.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 54
Message-ID: <ZuQCa.94460$h42.92508@twister.nyc.rr.com>
Date: Mon, 02 Jun 2003 22:48:25 GMT
NNTP-Posting-Host: 66.108.138.151
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1054594105 66.108.138.151 (Mon, 02 Jun 2003 18:48:25 EDT)
NNTP-Posting-Date: Mon, 02 Jun 2003 18:48:25 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14350

When you use a TAPI device you cannot communicate with the modem
unless you instruct K95 to disable TAPI's control of the dialing
sequence.

   SET TAPI MODEM-DIALING OFF
   SET TAPI LINE <device>
   SET CARRIER OFF

...

Jeffrey Altman
Kermit 95 Author, Volunteer

JDan Skinner wrote:
>
> Thanks Frank;
> Agreed!
> I was able to get that far.
> The problem (after some more searching) seems to be:
> after the set port, if I do
> set carr off
> c
> I get the terminal screen with cursor.
> If I type
> at<cr>
> nothing is echoed to the screen, cursor does not move.
> if I type
> at&f<cr>
> nothing ie echoed
> if I type 
> atdt<phone_number><cr>
> blind - I can hear the modem dial and negotiate and connect, I can login 
> blind as confirmed by later connection with the old machine
> Nothing is ever displayed on the terminal screen. There is a modem icon in 
> the task bar which shows bi-directional traffic.
> If I force HyperTerm to a direct serial connection to the modem and type 
> at<cr>
> It works as one would expect, as K95 does on the old machine.
> type
> at<cr>
> and it echos
> OK
> 
> I was suspicious of DTR but its value is unknown on both the working and 
> non-working machines.
> 
> One more piece of confusion.
> I tried the old script with the changes you suggest above.
> It dials, connects and the login prompt is displayed on the command screen.
> It switches to terminal screen with the same login prompt and then nothing 
> echos.
> 
> More guidance please!!



From jdanskinner@jdanskinner.com Tue Jun  3 09:29:21 EDT 2003
Article: 14351 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!bstnma1-snf1.gtei.net!nycmny1-snh1.gtei.net!news.gtei.net!newsfeed!news.tele.dk!news.tele.dk!small.news.tele.dk!sn-xit-02!sn-xit-04!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
From: JDan Skinner <jdanskinner@jdanskinner.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Trouble with dialup connection from K95
Date: Mon, 02 Jun 2003 20:55:59 -0500
Organization: JDanSkinner.com
Message-ID: <vdo01ti3qmnv9a@corp.supernews.com>
Reply-To: jdanskinner@jdanskinner.com
References: <8ce22d01.0306020820.640a4c8b@posting.google.com> <bbftqf$b8$1@watsol.cc.columbia.edu> <vdnfcm1t55b4c@corp.supernews.com> <ZuQCa.94460$h42.92508@twister.nyc.rr.com>
User-Agent: KNode/0.7.1
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
X-Complaints-To: abuse@supernews.com
Lines: 68
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14351

Jeffrey Altman wrote:

> When you use a TAPI device you cannot communicate with the modem
> unless you instruct K95 to disable TAPI's control of the dialing
> sequence.
> 
>    SET TAPI MODEM-DIALING OFF
>    SET TAPI LINE <device>
>    SET CARRIER OFF
> 
> ...
> 
> Jeffrey Altman
> Kermit 95 Author, Volunteer
> 
> JDan Skinner wrote:
>>
>> Thanks Frank;
>> Agreed!
>> I was able to get that far.
>> The problem (after some more searching) seems to be:
>> after the set port, if I do
>> set carr off
>> c
>> I get the terminal screen with cursor.
>> If I type
>> at<cr>
>> nothing is echoed to the screen, cursor does not move.
>> if I type
>> at&f<cr>
>> nothing ie echoed
>> if I type
>> atdt<phone_number><cr>
>> blind - I can hear the modem dial and negotiate and connect, I can login
>> blind as confirmed by later connection with the old machine
>> Nothing is ever displayed on the terminal screen. There is a modem icon
>> in the task bar which shows bi-directional traffic.
>> If I force HyperTerm to a direct serial connection to the modem and type
>> at<cr>
>> It works as one would expect, as K95 does on the old machine.
>> type
>> at<cr>
>> and it echos
>> OK
>> 
>> I was suspicious of DTR but its value is unknown on both the working and
>> non-working machines.
>> 
>> One more piece of confusion.
>> I tried the old script with the changes you suggest above.
>> It dials, connects and the login prompt is displayed on the command
>> screen. It switches to terminal screen with the same login prompt and
>> then nothing echos.
>> 
>> More guidance please!!

Thanks Jeff

I tried your suggestion. No improvement.
I tried K95 with another Win modem and it worked
as expected.  I assume the problem is with this
particular modem, but can't figure out exactly what.
Any ideas?


-- 
Regards...Dan   
JDanSkinner@JDanSkinner.com


From jaltman2@nyc.rr.com Tue Jun  3 09:35:38 EDT 2003
Article: 14352 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsfeed.arcor-online.net!easynews.net!newsfeed3.easynews.net!newsfeed.vmunix.org!newsfeed.stueberl.de!peer01.cox.net!peer02.cox.net!cox.net!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 [Road Runner NYC]" <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030529
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Trouble with dialup connection from K95
References: <8ce22d01.0306020820.640a4c8b@posting.google.com> <bbftqf$b8$1@watsol.cc.columbia.edu> <vdnfcm1t55b4c@corp.supernews.com> <ZuQCa.94460$h42.92508@twister.nyc.rr.com> <vdo01ti3qmnv9a@corp.supernews.com>
In-Reply-To: <vdo01ti3qmnv9a@corp.supernews.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 54
Message-ID: <NvTCa.94881$h42.5129@twister.nyc.rr.com>
Date: Tue, 03 Jun 2003 02:14:05 GMT
NNTP-Posting-Host: 66.108.138.151
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1054606445 66.108.138.151 (Mon, 02 Jun 2003 22:14:05 EDT)
NNTP-Posting-Date: Mon, 02 Jun 2003 22:14:05 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14352

If I was still working for the Kermit Project I would be happy to spend 
hours tracking this problem down.  Unfortunately, I just do not have the 
time anymore.  One of the big changes in my life now that I must pay the 
rent working contract to contract is that every hour seems more 
precious.  Whether it be working for the mighty buck or simply sitting 
outside enjoying a bit of sunshine.  Every moment seems to have greater 
value.

There is nothing that I will be able to suggest based upon the 
information provided.  I would need to see a debug.log file as well as 
the output of

   SHOW TAPI
   SHOW TAPI-MODEM
   SHOW TAPI-COMM

The most likely cause is an inconsistency between the flow control used 
by the modem and that used by K95.  Perhaps the modem commands are 
inconsistent in the Windows registry.

Why do you want to use SET CARRIER OFF with a modem connection?

What are you specifying for the flow control?

Jeffrey Altman
volunteer kermit developer



JDan Skinner wrote:
> Jeffrey Altman wrote:
> 
> 
>>When you use a TAPI device you cannot communicate with the modem
>>unless you instruct K95 to disable TAPI's control of the dialing
>>sequence.
>>
>>   SET TAPI MODEM-DIALING OFF
>>   SET TAPI LINE <device>
>>   SET CARRIER OFF
>>
>>...
>>
> 
> Thanks Jeff
> 
> I tried your suggestion. No improvement.
> I tried K95 with another Win modem and it worked
> as expected.  I assume the problem is with this
> particular modem, but can't figure out exactly what.
> Any ideas?
> 
> 



From fdc@columbia.edu Tue Jun  3 09:35:40 EDT 2003
Article: 14353 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Trouble with dialup connection from K95
Date: 3 Jun 2003 09:34:58 -0400
Organization: Columbia University
Lines: 25
Message-ID: <bbi862$bl7$1@watsol.cc.columbia.edu>
References: <8ce22d01.0306020820.640a4c8b@posting.google.com> <vdnfcm1t55b4c@corp.supernews.com> <ZuQCa.94460$h42.92508@twister.nyc.rr.com> <vdo01ti3qmnv9a@corp.supernews.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1054647304 21068 128.59.39.139 (3 Jun 2003 13:35:04 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 3 Jun 2003 13:35:04 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14353

In article <vdo01ti3qmnv9a@corp.supernews.com>,
JDan Skinner  <jdanskinner@jdanskinner.com> wrote:
: ...
: I tried your suggestion. No improvement.
: I tried K95 with another Win modem and it worked
: as expected.  I assume the problem is with this
: particular modem, but can't figure out exactly what. 
: Any ideas?
: 
Welcome to modern times.  In the discredited, legacy,
deprecated old days, a serial port was a serial port
and modem was a modem, and we knew how they worked.

Now with Winmodems, all bets are off.  NOBODY knows how
they work (if they do!) -- each one is different and
completely secret and closed.  When they don't behave
as expected, you have no recourse but to "try this, try
that" until (if you're lucky) you find some combination
of incantations that helps.

If your PC still has a legacy, deprecated, discredited
actual serial port, save yourself the aggravation and
go out and buy an external modem for it.

- Frank


From joyce_haferman@yahoo.com Wed Jun  4 12:41:54 EDT 2003
Article: 14355 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: joyce_haferman@yahoo.com (Joyce)
Newsgroups: comp.protocols.kermit.misc
Subject: cutape
Date: 3 Jun 2003 17:01:06 -0700
Organization: http://groups.google.com/
Lines: 32
Message-ID: <3834495c.0306031601.34eb05ba@posting.google.com>
NNTP-Posting-Host: 131.120.76.51
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1054684867 9451 127.0.0.1 (4 Jun 2003 00:01:07 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 4 Jun 2003 00:01:07 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14355

I am using Kermit's cutape on a Solaris system.
It appears to work correctly, but when I try to read it with Kermit's
ostape it gives me the following output, but no file:

# ./cutape cutape.c
Tape /dev/rmt/0, volume KERMIT, owner
recfm VB, blocksize 8192, lrecl 300, type e

  1 CUTAPE.C


# ./ostape
0+3 records in
0+1 records out
VOL: 'KERMIT'
Filename:  'cutape.c'
rl: 300, bs: 8192, rf: V
0+2 records in
0+1 records out
dd cannot read cutape.c in V formatUnexpected ID header label:
EOF1CUTAPE.C         KERMIT00010001       10315 103150000004

Unexpected ID header label:
EOF2V081920030030                     B

All done! Files Read: 0 -- Files Skipped: 1

Question: What software do I use to read the cutape tape after it
copies the file?
Can I use dd or do I need a program to read the tape cutape created?
Thanks,
Joyce


From eugene@cse.ucsc.edu Wed Jun  4 12:55:53 EDT 2003
Article: 14356 of comp.protocols.kermit.misc
Newsgroups: alt.folklore.computers,comp.protocols.kermit.misc
Subject: Re: Columbia U Computing History - New stuff
References: <bagsiu$6d7$1@watsol.cc.columbia.edu> <baivhm$s2o$1@watsol.cc.columbia.edu> <3ecd7aae$1@news.ucsc.edu> <balc71$7pi$1@watsol.cc.columbia.edu>
Organization: UC Santa Cruz CIS/CE
From: eugene@cse.ucsc.edu (Eugene Miya)
NNTP-Posting-Host: sundance.cse.ucsc.edu
Message-ID: <3edd8230$1@news.ucsc.edu>
Date: 3 Jun 2003 22:22:56 -0800
X-Trace: 3 Jun 2003 22:22:56 -0800, sundance.cse.ucsc.edu
Lines: 8
Path: newsmaster.cc.columbia.edu!panix!news.linkpendium.com!nntp-relay.ihug.net!ihug.co.nz!newsfeed.berkeley.edu!ucberkeley!news.ucsc.edu!eugene
Xref: newsmaster.cc.columbia.edu alt.folklore.computers:331638 comp.protocols.kermit.misc:14356

In article <balc71$7pi$1@watsol.cc.columbia.edu>,
Frank da Cruz <fdc@columbia.edu> wrote:
>Feb-May 1982, etc, not to mention our famous hand-drawn 1982 BITNET map:
>
>  http://www.columbia.edu/acis/history/bitnet.jpg

Why almost as good as the 4 node ARPAnet map of 1969.



From jcmorris@mitre.org Wed Jun  4 12:56:52 EDT 2003
Article: 14357 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed!newstransit.mitre.org!news.mitre.org!jcmorris
From: Joe Morris <jcmorris@mitre.org>
Newsgroups: alt.folklore.computers,comp.protocols.kermit.misc
Subject: Re: Columbia U Computing History - New stuff
Date: Wed, 4 Jun 2003 12:25:18 +0000 (UTC)
Organization: The MITRE Organization
Lines: 11
Message-ID: <bbkofe$jgu$1@newslocal.mitre.org>
References: <bagsiu$6d7$1@watsol.cc.columbia.edu> <baivhm$s2o$1@watsol.cc.columbia.edu> <3ecd7aae$1@news.ucsc.edu> <balc71$7pi$1@watsol.cc.columbia.edu>
NNTP-Posting-Host: jmorris-pc.mitre.org
X-Trace: newslocal.mitre.org 1054729518 19998 128.29.24.210 (4 Jun 2003 12:25:18 GMT)
X-Complaints-To: news@mitre.org
NNTP-Posting-Date: Wed, 4 Jun 2003 12:25:18 +0000 (UTC)
User-Agent: nn/6.6.4
Xref: newsmaster.cc.columbia.edu alt.folklore.computers:331656 comp.protocols.kermit.misc:14357

Frank da Cruz <fdc@columbia.edu> wrote:
>Feb-May 1982, etc, not to mention our famous hand-drawn 1982 BITNET map:
>
>  http://www.columbia.edu/acis/history/bitnet.jpg

The image is a bit fuzzy; did anyone else look at the label on the box
just above CU20B and initially read it as KREM VAX?

And speaking of BITNET, where are Ira Fuchs and Marty Solomon these days?

Joe Morris


From lynn@garlic.com Wed Jun  4 12:59:39 EDT 2003
Article: 14358 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!buck.internorth.com!cyclone.bc.net!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail
Newsgroups: alt.folklore.computers,comp.protocols.kermit.misc
Subject: Re: Columbia U Computing History - New stuff
Reply-To: Anne & Lynn Wheeler <lynn@garlic.com>
References: <bagsiu$6d7$1@watsol.cc.columbia.edu> <baivhm$s2o$1@watsol.cc.columbia.edu>
 <3ecd7aae$1@news.ucsc.edu> <balc71$7pi$1@watsol.cc.columbia.edu>
 <bbkofe$jgu$1@newslocal.mitre.org>
From: Anne & Lynn Wheeler <lynn@garlic.com>
Message-ID: <uznkxq3bs.fsf@earthlink.net>
Organization: Wheeler&Wheeler
User-Agent: Gnus/5.090024 (Oort Gnus v0.24) Emacs/21.2 (windows-nt)
Cancel-Lock: sha1:0x8MQnaJdA5vAT09N8h9AP1ZdcU=
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Lines: 25
Date: Wed, 04 Jun 2003 15:16:45 GMT
NNTP-Posting-Host: 67.31.152.50
X-Complaints-To: abuse@earthlink.net
X-Trace: newsread2.prod.itd.earthlink.net 1054739805 67.31.152.50 (Wed, 04 Jun 2003 08:16:45 PDT)
NNTP-Posting-Date: Wed, 04 Jun 2003 08:16:45 PDT
Xref: newsmaster.cc.columbia.edu alt.folklore.computers:331677 comp.protocols.kermit.misc:14358

Joe Morris <jcmorris@mitre.org> writes:
> The image is a bit fuzzy; did anyone else look at the label on the box
> just above CU20B and initially read it as KREM VAX?
>
> And speaking of BITNET, where are Ira Fuchs and Marty Solomon these days?

and somewhat aside june 10th is the 20th anniversity of the 1000th
node on the internal network.

copy of the original 1000th node distribution update:
http://www.garlic.com/~lynn/99.html#112 OS/360 names and error codes (was: Humorous and/or Interesting Opcodes)
http://www.garlic.com/~lynn/internet.htm#22 OS/360 names and error codes (was: Humorous and/or Interesting Opcodes)

random other:
http://www.garlic.com/~lynn/2001n.html#12 Author seeks help - net in 1981
http://www.garlic.com/~lynn/2002k.html#26 DEC eNet: was Vnet : Unbelievable
http://www.garlic.com/~lynn/2003g.html#18 Multiple layers of virtual address translation
http://www.garlic.com/~lynn/2003g.html#51 vnet 1000th node anniversary 6/10
http://www.garlic.com/~lynn/2003h.html#16 Why did TCP become popular ?
http://www.garlic.com/~lynn/2003i.html#27 instant messaging
http://www.garlic.com/~lynn/2003i.html#32 A Dark Day

-- 
Anne & Lynn Wheeler | http://www.garlic.com/~lynn/ 
Internet trivia 20th anv http://www.garlic.com/~lynn/rfcietff.htm


From fdc@columbia.edu Wed Jun  4 12:59:41 EDT 2003
Article: 14360 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: alt.folklore.computers,comp.protocols.kermit.misc
Subject: Re: Columbia U Computing History - New stuff
Date: 4 Jun 2003 12:59:34 -0400
Organization: Columbia University
Lines: 17
Message-ID: <bbl8hm$qgi$1@watsol.cc.columbia.edu>
References: <bagsiu$6d7$1@watsol.cc.columbia.edu> <3ecd7aae$1@news.ucsc.edu> <balc71$7pi$1@watsol.cc.columbia.edu> <bbkofe$jgu$1@newslocal.mitre.org>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1054745975 26376 128.59.39.139 (4 Jun 2003 16:59:35 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 4 Jun 2003 16:59:35 GMT
Xref: newsmaster.cc.columbia.edu alt.folklore.computers:331698 comp.protocols.kermit.misc:14360

In article <bbkofe$jgu$1@newslocal.mitre.org>,
Joe Morris  <jcmorris@mitre.org> wrote:
: Frank da Cruz <fdc@columbia.edu> wrote:
: >Feb-May 1982, etc, not to mention our famous hand-drawn 1982 BITNET map:
: >
: >  http://www.columbia.edu/acis/history/bitnet.jpg
: 
: The image is a bit fuzzy; did anyone else look at the label on the box
: just above CU20B and initially read it as KREM VAX?
: 
: And speaking of BITNET, where are Ira Fuchs and Marty Solomon these days?
: 
http://www.upenn.edu/heia/people/bio/fuchs.html

http://www.cni.org/docs/farnet/story135.SC.html

- Frank


From fdc@columbia.edu Wed Jun  4 12:59:45 EDT 2003
Article: 14359 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: cutape
Date: 4 Jun 2003 12:55:45 -0400
Organization: Columbia University
Lines: 53
Message-ID: <bbl8ah$pvn$1@watsol.cc.columbia.edu>
References: <3834495c.0306031601.34eb05ba@posting.google.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1054745746 26271 128.59.39.139 (4 Jun 2003 16:55:46 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 4 Jun 2003 16:55:46 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14359

In article <3834495c.0306031601.34eb05ba@posting.google.com>,
Joyce <joyce_haferman@yahoo.com> wrote:
: I am using Kermit's cutape on a Solaris system.
: It appears to work correctly, but when I try to read it with Kermit's
: ostape it gives me the following output, but no file:
: 
: # ./cutape cutape.c
: Tape /dev/rmt/0, volume KERMIT, owner
: recfm VB, blocksize 8192, lrecl 300, type e
: 
:   1 CUTAPE.C
: 
Thus you have created an IBM OS-format tape with variable-block
record format and EBCDIC encoding; blocksize and logical record
length as shown.

: # ./ostape
: 0+3 records in
: 0+1 records out
: VOL: 'KERMIT'
: Filename:  'cutape.c'
: rl: 300, bs: 8192, rf: V
: 0+2 records in
: 0+1 records out
: dd cannot read cutape.c in V formatUnexpected ID header label:
: EOF1CUTAPE.C         KERMIT00010001       10315 103150000004
: 
: Unexpected ID header label:
: EOF2V081920030030                     B
: 
: All done! Files Read: 0 -- Files Skipped: 1
: 
: Question: What software do I use to read the cutape tape after it copies
: the file?  Can I use dd or do I need a program to read the tape cutape
: created?
:
These programs were used successfully for many years on Ultrix 1.0 and later,
and then SunOS 4.0 and 4.1.  We have never tried them on Solaris.  It looks
like some tinkering might be necessary; either record boundaries are not
being recorded correctly by cutape, or ostape is not identifying them.

Questions:

 . Do you really need to write IBM mainframe format tapes?
   If not, you might want to try cutape's "a" option to write
   ANSI "D" format, and then you can use ansitar to read them.

 . Assuming you really do intend to write IBM EBCDIC tapes, you'll
   need to find out whether cutape-generated tapes can be read
   on a real IBM mainframe.  If so, then ostape is at fault.
   If not, then cutape needs changes for Solaris.

- Frank


From joyce_haferman@yahoo.com Thu Jun  5 09:48:56 EDT 2003
Article: 14361 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!News.Math.NCTU.edu.tw!newsfeed.news2me.com!headwall.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: joyce_haferman@yahoo.com (Joyce)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: cutape
Date: 4 Jun 2003 17:02:02 -0700
Organization: http://groups.google.com/
Lines: 65
Message-ID: <3834495c.0306041602.353fa8d6@posting.google.com>
References: <3834495c.0306031601.34eb05ba@posting.google.com> <bbl8ah$pvn$1@watsol.cc.columbia.edu>
NNTP-Posting-Host: 131.120.76.51
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1054771323 13851 127.0.0.1 (5 Jun 2003 00:02:03 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 5 Jun 2003 00:02:03 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14361

fdc@columbia.edu (Frank da Cruz) wrote in message news:<bbl8ah$pvn$1@watsol.cc.columbia.edu>...
> In article <3834495c.0306031601.34eb05ba@posting.google.com>,
> Joyce <joyce_haferman@yahoo.com> wrote:
> : I am using Kermit's cutape on a Solaris system.
> : It appears to work correctly, but when I try to read it with Kermit's
> : ostape it gives me the following output, but no file:
> : 
> : # ./cutape cutape.c
> : Tape /dev/rmt/0, volume KERMIT, owner
> : recfm VB, blocksize 8192, lrecl 300, type e
> : 
> :   1 CUTAPE.C
> : 
> Thus you have created an IBM OS-format tape with variable-block
> record format and EBCDIC encoding; blocksize and logical record
> length as shown.
> 
> : # ./ostape
> : 0+3 records in
> : 0+1 records out
> : VOL: 'KERMIT'
> : Filename:  'cutape.c'
> : rl: 300, bs: 8192, rf: V
> : 0+2 records in
> : 0+1 records out
> : dd cannot read cutape.c in V formatUnexpected ID header label:
> : EOF1CUTAPE.C         KERMIT00010001       10315 103150000004
> : 
> : Unexpected ID header label:
> : EOF2V081920030030                     B
> : 
> : All done! Files Read: 0 -- Files Skipped: 1
> : 
> : Question: What software do I use to read the cutape tape after it copies
> : the file?  Can I use dd or do I need a program to read the tape cutape
> : created?
> :
> These programs were used successfully for many years on Ultrix 1.0 and later,
> and then SunOS 4.0 and 4.1.  We have never tried them on Solaris.  It looks
> like some tinkering might be necessary; either record boundaries are not
> being recorded correctly by cutape, or ostape is not identifying them.
> 
> Questions:
> 
>  . Do you really need to write IBM mainframe format tapes?
>    If not, you might want to try cutape's "a" option to write
>    ANSI "D" format, and then you can use ansitar to read them.
> 
>  . Assuming you really do intend to write IBM EBCDIC tapes, you'll
>    need to find out whether cutape-generated tapes can be read
>    on a real IBM mainframe.  If so, then ostape is at fault.
>    If not, then cutape needs changes for Solaris.
> 
> - Frank

Yes, I really need to write an IBM mainframe format tape.  So, it
sounds like I have to try the tape on the IBM mainframe to see if it
can read it.  Does the IBM mainframe read variable block format?

I also need to be able to read EBCDIC tapes coming from an IBM
mainframe on an UNIX system.  Do you know any software that runs on
UNIX (preferably - Solaris box) that can read an EBCDIC tape that has
an IBM label?  I am willing to purchase the software.
Thanks,
Joyce


From dold@cutape.usenet.us.com Thu Jun  5 10:01:18 EDT 2003
Article: 14362 of comp.protocols.kermit.misc
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@cutape.usenet.us.com
Newsgroups: comp.protocols.kermit.misc
Subject: Re: cutape
Date: Thu, 5 Jun 2003 01:57:12 +0000 (UTC)
Organization: a2i network
Lines: 23
Sender: Clarence Dold <dold@violet.rahul.net>
Message-ID: <bbm81o$j7s$2@blue.rahul.net>
References: <3834495c.0306031601.34eb05ba@posting.google.com> <bbl8ah$pvn$1@watsol.cc.columbia.edu> <3834495c.0306041602.353fa8d6@posting.google.com>
NNTP-Posting-Host: violet.rahul.net
X-Trace: blue.rahul.net 1054778232 19708 66.237.72.28 (5 Jun 2003 01:57:12 GMT)
X-Complaints-To: support@rahul.net
NNTP-Posting-Date: Thu, 5 Jun 2003 01:57:12 +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-13.7smp (i686))
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14362

Joyce <joyce_haferman@yahoo.com> wrote:

> I also need to be able to read EBCDIC tapes coming from an IBM
> mainframe on an UNIX system.  Do you know any software that runs on
> UNIX (preferably - Solaris box) that can read an EBCDIC tape that has
> an IBM label?  I am willing to purchase the software.

Purchase?  That's not something we usually talk about here ;-)

Alan Warzaki, CHI software, 800-928-9099
I bought some Windows Software from them to read IBM tapes.
I think they had Unix software as well.
The tape drive that I had, and the software that I used, was originally
>from  Overland Data Inc, in San Diego, CA, but they moved on to other
things, and CHI bought the tape software.

I also see lots of sites from a Google search
	unix tape reader IBM EBCDIC


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


From fdc@columbia.edu Thu Jun  5 10:01:24 EDT 2003
Article: 14363 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: cutape
Date: 5 Jun 2003 10:00:55 -0400
Organization: Columbia University
Lines: 40
Message-ID: <bbnien$ebu$1@watsol.cc.columbia.edu>
References: <3834495c.0306031601.34eb05ba@posting.google.com> <bbl8ah$pvn$1@watsol.cc.columbia.edu> <3834495c.0306041602.353fa8d6@posting.google.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1054821656 24408 128.59.39.139 (5 Jun 2003 14:00:56 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 5 Jun 2003 14:00:56 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14363

In article <3834495c.0306041602.353fa8d6@posting.google.com>,
Joyce <joyce_haferman@yahoo.com> wrote:
: Yes, I really need to write an IBM mainframe format tape.  So, it
: sounds like I have to try the tape on the IBM mainframe to see if it
: can read it.  Does the IBM mainframe read variable block format?
: 
I should hope so, but the method for doing it depends on the specific
operating system -- CMS, MVS, etc.  You can find some information about
this here:

  ftp://kermit.columbia.edu/kermit/a/aatape.txt

: I also need to be able to read EBCDIC tapes coming from an IBM
: mainframe on an UNIX system.  Do you know any software that runs on
: UNIX (preferably - Solaris box) that can read an EBCDIC tape that has
: an IBM label?  I am willing to purchase the software.
:
You should be able to do this with dd, except dd doesn't understand
labels or anything -- it thinks everything on the tape is a file.
What ostape does is use dd to read a label, then ostape decodes the
label, then it uses dd to read the file, which it stores under the name
found in the label.

If you are a programmer, you should be able to make these programs work
in Solaris, just as they did in SunOS.  Unfortunately we can't do this
for you because we don't have tape drives any more to test the result.
As I said before, it is probably some very minor API difference between
SunOS and Solaris that is causing file marks to be omitted when writing
labels, or to be ignored when reading them.

If you are not a programmer, then perhaps some kind soul reading this
thread will help.  The programs in question are:

cutape.c: Writes tapes in ANSI D or OS SL VB format:
  ftp://kermit.columbia.edu/kermit/tu/tuuwao.c

ostape.c: Reads OS SL VB tape:
  ftp://kermit.columbia.edu/kermit/tu/tuuros.c

- Frank


From joyce_haferman@yahoo.com Fri Jun  6 14:05:18 EDT 2003
Article: 14364 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!headwall.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: joyce_haferman@yahoo.com (Joyce)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: cutape
Date: 5 Jun 2003 15:51:10 -0700
Organization: http://groups.google.com/
Lines: 20
Message-ID: <3834495c.0306051451.5fe43fb8@posting.google.com>
References: <3834495c.0306031601.34eb05ba@posting.google.com> <bbl8ah$pvn$1@watsol.cc.columbia.edu> <3834495c.0306041602.353fa8d6@posting.google.com> <bbm81o$j7s$2@blue.rahul.net>
NNTP-Posting-Host: 131.120.76.51
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1054853471 14400 127.0.0.1 (5 Jun 2003 22:51:11 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 5 Jun 2003 22:51:11 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14364

dold@cutape.usenet.us.com wrote in message news:<bbm81o$j7s$2@blue.rahul.net>...
> Joyce <joyce_haferman@yahoo.com> wrote:
> 
> > I also need to be able to read EBCDIC tapes coming from an IBM
> > mainframe on an UNIX system.  Do you know any software that runs on
> > UNIX (preferably - Solaris box) that can read an EBCDIC tape that has
> > an IBM label?  I am willing to purchase the software.
> 
> Purchase?  That's not something we usually talk about here ;-)
> 
> Alan Warzaki, CHI software, 800-928-9099
> I bought some Windows Software from them to read IBM tapes.
> I think they had Unix software as well.
> The tape drive that I had, and the software that I used, was originally
> from Overland Data Inc, in San Diego, CA, but they moved on to other
> things, and CHI bought the tape software.
> 
> I also see lots of sites from a Google search
> 	unix tape reader IBM EBCDIC
Thanks for the lead - I called CHI, and their software only works on Windows.


From joyce_haferman@yahoo.com Fri Jun  6 14:05:28 EDT 2003
Article: 14365 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!nycmny1-snh1.gtei.net!news.gtei.net!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: joyce_haferman@yahoo.com (Joyce)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: cutape
Date: 5 Jun 2003 15:54:18 -0700
Organization: http://groups.google.com/
Lines: 44
Message-ID: <3834495c.0306051454.29aa1356@posting.google.com>
References: <3834495c.0306031601.34eb05ba@posting.google.com> <bbl8ah$pvn$1@watsol.cc.columbia.edu> <3834495c.0306041602.353fa8d6@posting.google.com> <bbnien$ebu$1@watsol.cc.columbia.edu>
NNTP-Posting-Host: 131.120.76.51
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1054853659 14480 127.0.0.1 (5 Jun 2003 22:54:19 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 5 Jun 2003 22:54:19 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14365

fdc@columbia.edu (Frank da Cruz) wrote in message news:<bbnien$ebu$1@watsol.cc.columbia.edu>...
> In article <3834495c.0306041602.353fa8d6@posting.google.com>,
> Joyce <joyce_haferman@yahoo.com> wrote:
> : Yes, I really need to write an IBM mainframe format tape.  So, it
> : sounds like I have to try the tape on the IBM mainframe to see if it
> : can read it.  Does the IBM mainframe read variable block format?
> : 
> I should hope so, but the method for doing it depends on the specific
> operating system -- CMS, MVS, etc.  You can find some information about
> this here:
> 
>   ftp://kermit.columbia.edu/kermit/a/aatape.txt
> 
> : I also need to be able to read EBCDIC tapes coming from an IBM
> : mainframe on an UNIX system.  Do you know any software that runs on
> : UNIX (preferably - Solaris box) that can read an EBCDIC tape that has
> : an IBM label?  I am willing to purchase the software.
> :
> You should be able to do this with dd, except dd doesn't understand
> labels or anything -- it thinks everything on the tape is a file.
> What ostape does is use dd to read a label, then ostape decodes the
> label, then it uses dd to read the file, which it stores under the name
> found in the label.
> 
> If you are a programmer, you should be able to make these programs work
> in Solaris, just as they did in SunOS.  Unfortunately we can't do this
> for you because we don't have tape drives any more to test the result.
> As I said before, it is probably some very minor API difference between
> SunOS and Solaris that is causing file marks to be omitted when writing
> labels, or to be ignored when reading them.
> 
> If you are not a programmer, then perhaps some kind soul reading this
> thread will help.  The programs in question are:
> 
> cutape.c: Writes tapes in ANSI D or OS SL VB format:
>   ftp://kermit.columbia.edu/kermit/tu/tuuwao.c
> 
> ostape.c: Reads OS SL VB tape:
>   ftp://kermit.columbia.edu/kermit/tu/tuuros.c
> 
> - Frank

Thanks for the details of how the tape software works - I'll see if
one of the programmers at work can fix it for Solaris.


From josh@ssimr.com Sat Jun  7 11:23:08 EDT 2003
Article: 14366 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!news.stealth.net news.stealth.net!news.stealth.net!logbridge.uoregon.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: josh@ssimr.com (Josh Kuperman)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Mac OS X, Break, and Keyspan USB Twin Serial Adaptor
Date: 6 Jun 2003 18:08:30 -0700
Organization: http://groups.google.com/
Lines: 14
Message-ID: <ac67ee9b.0306061708.7173165d@posting.google.com>
References: <ac67ee9b.0305281820.6fd13658@posting.google.com> <bb5114$5co$1@watsol.cc.columbia.edu> <bb89d0$m7v$0@206.231.158.3> <bb8esi$6o3$1@watsol.cc.columbia.edu>
NNTP-Posting-Host: 206.231.158.3
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1054948111 18880 127.0.0.1 (7 Jun 2003 01:08:31 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 7 Jun 2003 01:08:31 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14366

Needless to say I misspoke (misemailed? misnewsgroup-posted?) and
meant the exact same type of a miniDIN8 you had trouble with and not a
9 pin connector. Be that as it may I have now tried a usb to 9 pin
serial converter connected to a cable with db9serial to db25 (no null
modem) with similar results. I can see what the output from the device
but I don't seem able to get a break key signal through. I have
concluded that there is either something odd with the way Mac OS X
treats the break, or that for some reason it is not being detected by
my Sun SparcStation 10. My next steps are to try with a PC, since I
can use any USB connection. I have seen some comments indicating some
people starting having trouble with kermit after the Mac OS X, 10.2.6
upgrade and that keyspan was going under, so the autoresponder to my
e-mailed support request will be all I'll ever hear from them anyhow.
So for the moment I will try to take that out of the equation.


From fdc@columbia.edu Sat Jun  7 11:32:51 EDT 2003
Article: 14367 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc,comp.sys.mac.system
Subject: Re: Mac OS X, Break, and Keyspan USB Twin Serial Adaptor
Date: 7 Jun 2003 11:32:41 -0400
Organization: Columbia University
Lines: 36
Message-ID: <bbt0ip$hgj$1@watsol.cc.columbia.edu>
References: <ac67ee9b.0305281820.6fd13658@posting.google.com> <bb89d0$m7v$0@206.231.158.3> <bb8esi$6o3$1@watsol.cc.columbia.edu> <ac67ee9b.0306061708.7173165d@posting.google.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1054999963 1232 128.59.39.139 (7 Jun 2003 15:32:43 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 7 Jun 2003 15:32:43 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14367 comp.sys.mac.system:615211

In article <ac67ee9b.0306061708.7173165d@posting.google.com>,
Josh Kuperman <josh@ssimr.com> wrote:
: Needless to say I misspoke (misemailed? misnewsgroup-posted?) and
: meant the exact same type of a miniDIN8 you had trouble with and not a
: 9 pin connector. Be that as it may I have now tried a usb to 9 pin
: serial converter connected to a cable with db9serial to db25 (no null
: modem) with similar results. I can see what the output from the device
: but I don't seem able to get a break key signal through. I have
: concluded that there is either something odd with the way Mac OS X
: treats the break, or that for some reason it is not being detected by
: my Sun SparcStation 10.
:
If you look at the source file, ckutio.c:

  ftp://kermit.columbia.edu/kermit/f/ckutio.c

you'll find a routine sndbrk().  You'll see that it has a multitude of
#ifdef'd code selections because Break-sending is perhaps the least
standardized of all Unix APIs.

See if you can find Mac OS X documentation on how to send Break.  Hopefully
the recommended method matches one of those already selectable in sndbrk().
If so, "just" finagle the #ifdefs to select the appropriate code.  The
symbol for Mac OS X is MACOSX.

Let me know what works and I'll add it to the C-Kermit code base.  If you
have questions, send email to kermit-support@columbia.edu.

: I have seen some comments indicating some
: people starting having trouble with kermit after the Mac OS X, 10.2.6
: upgrade ...
:
This kind of comment should be sent to us too.  What kind of trouble?
What changed in Mac OS 10.2.6 that might have caused it?

- Frank


From JDanSkinner@JDanSkinner.com Sun Jun  8 12:48:02 EDT 2003
Article: 14368 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: JDanSkinner@JDanSkinner.com (Dan Skinner)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Trouble with dialup connection from K95
Date: 7 Jun 2003 18:46:11 -0700
Organization: http://groups.google.com/
Lines: 53
Message-ID: <8ce22d01.0306071746.49b85cf0@posting.google.com>
References: <8ce22d01.0306020820.640a4c8b@posting.google.com> <vdnfcm1t55b4c@corp.supernews.com> <ZuQCa.94460$h42.92508@twister.nyc.rr.com> <vdo01ti3qmnv9a@corp.supernews.com> <bbi862$bl7$1@watsol.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 1055036772 15976 127.0.0.1 (8 Jun 2003 01:46:12 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 8 Jun 2003 01:46:12 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14368

fdc@columbia.edu (Frank da Cruz) wrote in message news:<bbi862$bl7$1@watsol.cc.columbia.edu>...
> In article <vdo01ti3qmnv9a@corp.supernews.com>,
> JDan Skinner  <jdanskinner@jdanskinner.com> wrote:
> : ...
> : I tried your suggestion. No improvement.
> : I tried K95 with another Win modem and it worked
> : as expected.  I assume the problem is with this
> : particular modem, but can't figure out exactly what. 
> : Any ideas?
> : 
> Welcome to modern times.  In the discredited, legacy,
> deprecated old days, a serial port was a serial port
> and modem was a modem, and we knew how they worked.
> 
> Now with Winmodems, all bets are off.  NOBODY knows how
> they work (if they do!) -- each one is different and
> completely secret and closed.  When they don't behave
> as expected, you have no recourse but to "try this, try
> that" until (if you're lucky) you find some combination
> of incantations that helps.
> 
> If your PC still has a legacy, deprecated, discredited
> actual serial port, save yourself the aggravation and
> go out and buy an external modem for it.
> 
> - Frank

As an old Unix geek I understand and agree.
I however found an opportunity I couldn't pass up
A new 12 inch WXP laptop for $679.00 less $250.00 in mail-in-rebates
($429.00 net) That's the good news. The bad news is no serial port (3
usb) no ps2 port (keyboard or mouse) (3 usb), I've never heard of the
brand (Averatec) or the WINmoden (Smart Link) I was able to make a
HyperTerm dialup connection
to a Unix machine I control from the store, so I bought it.
I added my wireless card and installed my navigation software and gps
antenna  (usb.)
K95 works as normal with network connection.  K95 works as normal
until connect.
Then no display on the screen.  Keyboard out works as normal.  I can
dial, connect and operate the remote blind.  This is what I use set
car off (answer to Jeff's question) for. To manually dial the modem.
If I make a direct connection(com3) with HyperTerm and manually dial
(atdt1234567)
Screen display is normal.  Nothing  similar to set car off required
for HyperTerm

I'd appreciate suggestions for parameters to fool with.  
It's like set carr off works on the input (keyboard) side of the
connection but not on the
output (display) side.

RegardsDan.


From ishikawa@yk.rim.or.jp Sun Jun  8 12:48:09 EDT 2003
Article: 14370 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!news.linkpendium.com!diablo.efnet.com!efnet.com!Q.T.Honey!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: Trouble with dialup connection from K95
Date: Mon, 09 Jun 2003 00:55:50 +0900
Organization: Ye 'Ol Disorganized NNTPCache groupie
Lines: 19
Message-ID: <3EE35C86.26D97A1B@yk.rim.or.jp>
References: <8ce22d01.0306020820.640a4c8b@posting.google.com> <vdnfcm1t55b4c@corp.supernews.com> <ZuQCa.94460$h42.92508@twister.nyc.rr.com> <vdo01ti3qmnv9a@corp.supernews.com> <bbi862$bl7$1@watsol.cc.columbia.edu> <8ce22d01.0306071746.49b85cf0@posting.google.com>
NNTP-Posting-Host: pl149.nas911.n-yokohama.nttpc.ne.jp
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
X-Trace: news.rim.or.jp 1055088000 62596 210.139.98.149 (8 Jun 2003 16:00:00 GMT)
X-Complaints-To: root@rim.or.jp
NNTP-Posting-Date: Sun, 8 Jun 2003 16:00:00 +0000 (UTC)
X-Mailer: Mozilla 4.8 [en] (X11; U; Linux 2.4.20 i686)
X-Accept-Language: ja, en
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:14370

I noticed that many note PCs these days omit
serial ports and have USBs ports instead,
I am curious.
How do you connect telephone to your PC?
Is there a direct telephone plug (instead of the serial com port)
on the notebook PC?

Maybe the best chance you have might be to buy
a modem PC card with a well known working winmodem inside
or use a serial port PC card 
although I am not sure how well
such cards behave in practice.

-- 
int main(void){int j=2003;/*(c)2003 cishikawa. */
char t[] ="<CI> @abcdefghijklmnopqrstuvwxyz.,\n\"";
char *i ="g>qtCIuqivb,gCwe\np@.ietCIuqi\"tqkvv is>dnamz";
while(*i)((j+=strchr(t,*i++)-(int)t),(j%=sizeof t-1),
(putchar(t[j])));return 0;}/* under GPL */


From fdc@columbia.edu Sun Jun  8 13:09:24 EDT 2003
Article: 14371 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Trouble with dialup connection from K95
Date: 8 Jun 2003 12:52:09 -0400
Organization: Columbia University
Lines: 17
Message-ID: <bbvpjp$po4$1@watsol.cc.columbia.edu>
References: <8ce22d01.0306020820.640a4c8b@posting.google.com> <bbi862$bl7$1@watsol.cc.columbia.edu> <8ce22d01.0306071746.49b85cf0@posting.google.com> <3EE35C86.26D97A1B@yk.rim.or.jp>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1055091130 6911 128.59.39.139 (8 Jun 2003 16:52:10 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 8 Jun 2003 16:52:10 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14371

In article <3EE35C86.26D97A1B@yk.rim.or.jp>,
Ishikawa  <ishikawa@yk.rim.or.jp> wrote:
: I noticed that many note PCs these days omit
: serial ports and have USBs ports instead,
: I am curious.
: How do you connect telephone to your PC?
:
Search Google for "usb to serial converter".  I don't have any
personal experience these (together with their drivers) but one hopes
they provide a reasonable facsimile of a serial port to the software.

: Is there a direct telephone plug (instead of the serial com port)
: on the notebook PC?
: 
That's the internal (Win)modem.

- Frank


From fdc@columbia.edu Sun Jun  8 13:09:28 EDT 2003
Article: 14372 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Trouble with dialup connection from K95
Date: 8 Jun 2003 13:09:15 -0400
Organization: Columbia University
Lines: 57
Message-ID: <bbvqjr$s70$1@watsol.cc.columbia.edu>
References: <8ce22d01.0306020820.640a4c8b@posting.google.com> <vdo01ti3qmnv9a@corp.supernews.com> <bbi862$bl7$1@watsol.cc.columbia.edu> <8ce22d01.0306071746.49b85cf0@posting.google.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1055092156 7730 128.59.39.139 (8 Jun 2003 17:09:16 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 8 Jun 2003 17:09:16 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14372

In article <8ce22d01.0306071746.49b85cf0@posting.google.com>,
Dan Skinner <JDanSkinner@JDanSkinner.com> wrote:
: 
: As an old Unix geek I understand and agree.
: I however found an opportunity I couldn't pass up
: A new 12 inch WXP laptop for $679.00 less $250.00 in mail-in-rebates
: ($429.00 net) That's the good news. The bad news is no serial port (3
: usb) no ps2 port (keyboard or mouse) (3 usb), I've never heard of the
: brand (Averatec) or the WINmoden (Smart Link)...
:
The typical "legacy free" no-name unsupportable junk that floods the
market nowadays.  You get what you pay for.

: I was able to make a HyperTerm dialup connection
: to a Unix machine I control from the store, so I bought it.
:
If Hyperterminal works, so should Kermit 95, but only if you use its
TAPI interface to the modem:

  set port tapi
  set tapi modem-dialing on

You almost certainly can't use it as as COM port.

: I added my wireless card and installed my navigation software and gps
: antenna (usb.)  K95 works as normal with network connection.  K95 works
: as normal until connect.  Then no display on the screen.
:
And later you said it actually does echo, but five minutes later.

: Keyboard out
: works as normal.  I can dial, connect and operate the remote blind.
: This is what I use set car off (answer to Jeff's question) for. To
: manually dial the modem.  If I make a direct connection(com3) with
: HyperTerm and manually dial (atdt1234567) Screen display is normal.
: Nothing similar to set car off required for HyperTerm
: 
I believe there is a difference between how Kermit and Hyperterimal
deal with COM ports.  Kermit lets you access them "directly" via
"set port com1" (com1, com3, ...).  But Hyperterminal does not let you
use serial ports at all.  It only lets you use *modems* -- i.e. devices
that are in the Control Panal -> Phone and Modem Options -> Modems
folder.  Windows lets you add a Com port to this folder as "Communications
cable between two computers".  If you are using Com3 this way from
Hyperterminal, then you should also be able to use it from K95, but only
as a TAPI device, not "set port com3":

  [C:\tmp\] K-95> set port tapi ? TAPI device name, one of the following:
   Communications_cable_between_two_computers
   Courier_V.Everything_EXT_PnP_(V90-x2)
  [C:\tmp\] K-95> set port tapi Communications_cable_between_two_computers
  [C:\tmp\] K-95> 

The real question is why you want to talk directly to the modem.  Normally
Kermit does that for you with its DIAL command.

- Frank


From JDanSkinner@JDanSkinner.com Sun Jun  8 13:09:34 EDT 2003
Article: 14369 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: JDanSkinner@JDanSkinner.com (Dan Skinner)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Trouble with dialup connection from K95
Date: 7 Jun 2003 19:21:24 -0700
Organization: http://groups.google.com/
Lines: 74
Message-ID: <8ce22d01.0306071821.16b357dc@posting.google.com>
References: <8ce22d01.0306020820.640a4c8b@posting.google.com> <vdnfcm1t55b4c@corp.supernews.com> <ZuQCa.94460$h42.92508@twister.nyc.rr.com> <vdo01ti3qmnv9a@corp.supernews.com> <bbi862$bl7$1@watsol.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 1055038885 17563 127.0.0.1 (8 Jun 2003 02:21:25 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 8 Jun 2003 02:21:25 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14369

fdc@columbia.edu (Frank da Cruz) wrote in message news:<bbi862$bl7$1@watsol.cc.columbia.edu>...
> In article <vdo01ti3qmnv9a@corp.supernews.com>,
> JDan Skinner  <jdanskinner@jdanskinner.com> wrote:
> : ...
> : I tried your suggestion. No improvement.
> : I tried K95 with another Win modem and it worked
> : as expected.  I assume the problem is with this
> : particular modem, but can't figure out exactly what. 
> : Any ideas?
> : 
> Welcome to modern times.  In the discredited, legacy,
> deprecated old days, a serial port was a serial port
> and modem was a modem, and we knew how they worked.
> 
> Now with Winmodems, all bets are off.  NOBODY knows how
> they work (if they do!) -- each one is different and
> completely secret and closed.  When they don't behave
> as expected, you have no recourse but to "try this, try
> that" until (if you're lucky) you find some combination
> of incantations that helps.
> 
> If your PC still has a legacy, deprecated, discredited
> actual serial port, save yourself the aggravation and
> go out and buy an external modem for it.
> 
> - Frank

I discovered something else.
While I was typing the previous message and watching the IRL race I
left a K95 screen
Into which I had typed
At
Atdt123
<esc>

When I returned to that screen which displayed blank when I left it
showed
AT
OK
ATDT123
NO CARRIER

I tried some more examples and discovered that the modem commands do
get
echoed,  but from 3 to 7 minutes after they are typed

Most recent example:

I typed 
Ati1
Ati2
Ati3
Blind as fast as I could.
7 minutes later the following displayed all at once:

ati1
Smart Link 56K Voice Modem
Smart Link (www.smlink.com)
Ver3.20.04W

OK
ati2
Smart Link (www.smlink.com)
Ver3.20.04W
MV (CID)

OK
ati3
Smart Link (www.smlink.com)
HAMR5603(Sec) on SiS

OK

RegardsDan.


From JDanSkinner@JDanSkinner.com Sun Jun  8 21:56:56 EDT 2003
Article: 14373 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: JDanSkinner@JDanSkinner.com (Dan Skinner)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Trouble with dialup connection from K95
Date: 8 Jun 2003 18:44:50 -0700
Organization: http://groups.google.com/
Lines: 81
Message-ID: <8ce22d01.0306081744.6d8c9d9a@posting.google.com>
References: <8ce22d01.0306020820.640a4c8b@posting.google.com> <vdo01ti3qmnv9a@corp.supernews.com> <bbi862$bl7$1@watsol.cc.columbia.edu> <8ce22d01.0306071746.49b85cf0@posting.google.com> <bbvqjr$s70$1@watsol.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 1055123091 11782 127.0.0.1 (9 Jun 2003 01:44:51 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 9 Jun 2003 01:44:51 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14373

fdc@columbia.edu (Frank da Cruz) wrote in message news:<bbvqjr$s70$1@watsol.cc.columbia.edu>...
<snip>
I agree with your value comment except the Sony 12" laptop I have been
admiring has a price of $1,500.00 an has about the same ports and a
winmodem of some flavor.  I still have $900.00 to spend and stay well.
Pls see my post listed after this one.
> :
> If Hyperterminal works, so should Kermit 95, but only if you use its
> TAPI interface to the modem:
> 
>   set port tapi
>   set tapi modem-dialing on
I tried this one with the very long delay knowledge.
connection made and communication with remote host works.
Just takes about 8 minutes from my keystroke, or series of keystrokes
to
have response echoed.  Actually acts just like set carr off and set
line com3.
The pseudo com port is provided by the modem driver.  In the modem
driver setup
I changed the port from com3 to com5 and now I can address the modem
as com5 as I addressed it as com3 before
> 
> You almost certainly can't use it as as COM port.
> 
> : I added my wireless card and installed my navigation software and gps
> : antenna (usb.)  K95 works as normal with network connection.  K95 works
> : as normal until connect.  Then no display on the screen.
> :
> And later you said it actually does echo, but five minutes later.
> 
> : Keyboard out
> : works as normal.  I can dial, connect and operate the remote blind.
> : This is what I use set car off (answer to Jeff's question) for. To
> : manually dial the modem.  If I make a direct connection(com3) with
> : HyperTerm and manually dial (atdt1234567) Screen display is normal.
> : Nothing similar to set car off required for HyperTerm
> : 
> I believe there is a difference between how Kermit and Hyperterimal
> deal with COM ports.  Kermit lets you access them "directly" via
> "set port com1" (com1, com3, ...).  But Hyperterminal does not let you
> use serial ports at all.  It only lets you use *modems* -- i.e. devices
> that are in the Control Panal -> Phone and Modem Options -> Modems
> folder. 
I'm no HyperTerm expert but my WXP version lets me choose a com port
>from  a list (the com3 port created by the modem driver) and create a
command connection to the modem which I can control just like a real
hardware modem on a real serial port.  Same thing works in K95 with
set carr off except for the multi minute delay.

> Windows lets you add a Com port to this folder as "Communications
> cable between two computers".  If you are using Com3 this way from
> Hyperterminal, then you should also be able to use it from K95, but only
> as a TAPI device, not "set port com3":
> 
>   [C:\tmp\] K-95> set port tapi ? TAPI device name, one of the following:
>    Communications_cable_between_two_computers
>    Courier_V.Everything_EXT_PnP_(V90-x2)
>   [C:\tmp\] K-95> set port tapi Communications_cable_between_two_computers
>   [C:\tmp\] K-95> 
> 
> The real question is why you want to talk directly to the modem.  Normally
> Kermit does that for you with its DIAL command.
> 
> - Frank
I don't consider a command connection with the modem a goal.  I'm just
looking for a way to get rid of the long delay.  Now it does not seem
to be related to
the form of connection to the modem.  What I know now is that keyboard
to modem connection works as normal.  Modem to Modem connection works
as normal.
Modem to Hyperterm screen works as normal. Modem to K95 screen works
with very very long delay.  This is true if the software to modem
connection is made tapi or through the modem's pseudo com port with
either program. Hyperterm does not provide the function I need. 
Getting K95 to work is the goal.

I suspect the easiest solution is to find a pcmcia modem that works,
but it may not be the most interesting.

Regards...Dan


From fdc@columbia.edu Sun Jun  8 21:56:58 EDT 2003
Article: 14374 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Trouble with dialup connection from K95
Date: 8 Jun 2003 21:56:44 -0400
Organization: Columbia University
Lines: 30
Message-ID: <bc0pgs$hgq$1@watsol.cc.columbia.edu>
References: <8ce22d01.0306020820.640a4c8b@posting.google.com> <8ce22d01.0306071746.49b85cf0@posting.google.com> <bbvqjr$s70$1@watsol.cc.columbia.edu> <8ce22d01.0306081744.6d8c9d9a@posting.google.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1055123805 467 128.59.39.139 (9 Jun 2003 01:56:45 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 9 Jun 2003 01:56:45 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14374

In article <8ce22d01.0306081744.6d8c9d9a@posting.google.com>,
Dan Skinner <JDanSkinner@JDanSkinner.com> wrote:
: > The real question is why you want to talk directly to the modem.  Normally
: > Kermit does that for you with its DIAL command.
:
: I don't consider a command connection with the modem a goal.  I'm just
: looking for a way to get rid of the long delay.  Now it does not seem to be
: related to the form of connection to the modem.  What I know now is that
: keyboard to modem connection works as normal.
:
Interacting directly with a fake modem is not a good test.  Why don't you
try using Kermit 95 to dial a number and then see if you can interact with
the dialed host?  If not, report back with all the details about the Kermit
version, the connection, etc, as listed in:

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

: Modem to Modem connection
: works as normal.
:
With K95?  So there's no problem as long as you let TAPI dial the modem
rather than trying to do it by hand?  In that case, I'd say problem solved.
Or I did I misunderstand?

I admit I'm curious as to why you can type at the modem's command processor
in Hyperterminal but not Kermit, and if you want to follow it up, please
send mail to kermit-support@columbia.edu and we'll collect logs and analyze
them etc.  You know the drill.

- Frank


From ler@lerctr.org Tue Jun 10 11:43:32 EDT 2003
Article: 14376 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsfeed.arcor-online.net!newsfeed01.sul.t-online.de!t-online.de!feed.news.nacamar.de!news.maxwell.syr.edu!news.airnews.net!cabal12.airnews.net!cabal11.airnews.net!lerami!lerami.lerctr.org!not-for-mail
From: ler@lerctr.org (Larry Rosenman)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Trouble with dialup connection from K95
Date: Mon, 9 Jun 2003 21:47:50 +0000 (UTC)
Organization: Larry Rosenman's Private INN 2.4.0 server
Lines: 27
Message-ID: <bc2va6$aa9$1@lerami.lerctr.org>
References: <8ce22d01.0306020820.640a4c8b@posting.google.com> <8ce22d01.0306071746.49b85cf0@posting.google.com> <3EE35C86.26D97A1B@yk.rim.or.jp> <bbvpjp$po4$1@watsol.cc.columbia.edu>
NNTP-Posting-Host: lerlaptop.iadfw.net
X-Trace: lerami.lerctr.org 1055195270 10569 206.66.13.21 (9 Jun 2003 21:47:50 GMT)
X-Complaints-To: news@lerctr.org
NNTP-Posting-Date: Mon, 9 Jun 2003 21:47:50 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: ler@lerctr.org (Larry Rosenman)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14376

In article <bbvpjp$po4$1@watsol.cc.columbia.edu>,
Frank da Cruz <fdc@columbia.edu> wrote:
>In article <3EE35C86.26D97A1B@yk.rim.or.jp>,
>Ishikawa  <ishikawa@yk.rim.or.jp> wrote:
>: I noticed that many note PCs these days omit
>: serial ports and have USBs ports instead,
>: I am curious.
>: How do you connect telephone to your PC?
>:
>Search Google for "usb to serial converter".  I don't have any
>personal experience these (together with their drivers) but one hopes
>they provide a reasonable facsimile of a serial port to the software.
I have an ATEN version, works great for my Palm and C-Kermit on 
FreeBSD.


>
>: Is there a direct telephone plug (instead of the serial com port)
>: on the notebook PC?
>: 
>That's the internal (Win)modem.


-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


From jaltman@columbia.edu Tue Jun 10 11:43:40 EDT 2003
Article: 14377 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: jaltman@columbia.edu (Jeffrey Altman)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Trouble with dialup connection from K95
Date: 9 Jun 2003 20:26:31 -0400
Organization: Columbia University
Lines: 22
Message-ID: <bc38jn$s0b$1@watsol.cc.columbia.edu>
References: <8ce22d01.0306020820.640a4c8b@posting.google.com> <bbi862$bl7$1@watsol.cc.columbia.edu> <8ce22d01.0306071746.49b85cf0@posting.google.com> <bbvqjr$s70$1@watsol.cc.columbia.edu>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1055204792 24476 128.59.39.139 (10 Jun 2003 00:26:32 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 10 Jun 2003 00:26:32 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14377

In article <bbvqjr$s70$1@watsol.cc.columbia.edu>,
Frank da Cruz <fdc@columbia.edu> wrote:

: If Hyperterminal works, so should Kermit 95, but only if you use its
: TAPI interface to the modem:
: 
:   set port tapi
:   set tapi modem-dialing on
: 

SET TAPI MODEM-DIALING {ON, OFF} affects how the TAPI device is opened.
It must be issued before the SET PORT TAPI <device> or SET TAPI LINE <device>
commands.

Jeffrey Altman
Volunteer Kermit Developer

-- 
 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 bridge1@email.mot.com Thu Jun 12 09:30:46 EDT 2003
Article: 14378 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!router1.news.adelphia.net!solaris.cc.vt.edu!news.vt.edu!out.nntp.be!propagator2-sterling!news-in.nuthinbutnews.com!newsfeed-east.nntpserver.com!nntpserver.com!newsfeed1.sea.pnap.net!newsfeed.pnap.net!newsgate.mot.com!newshost.mot.com!avnika.corp.mot.com!not-for-mail
From: Francis R Bridge {BRIDGE1} <bridge1@email.mot.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Indexed & Printable Update Notes?
Date: 11 Jun 2003 18:02:20 -0500
Organization: Motorola Applications Directory Team
Lines: 7
Sender: bridge@login10
Message-ID: <xqlhe6w9q0z.fsf@email.mot.com>
NNTP-Posting-Host: login10.cig.mot.com
X-Trace: localhost.localdomain 1055372540 29409 136.182.116.212 (11 Jun 2003 23:02:20 GMT)
X-Complaints-To: news@localhost.localdomain
NNTP-Posting-Date: Wed, 11 Jun 2003 23:02:20 +0000 (UTC)
X-Newsreader: Gnus v5.5/Emacs 20.3
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14378

I was wondering if the version 7 & 8 update notes to "Using C-Kermit 2nd
Edition" are available in a printable, indexed format?  HTML is nice, but
I'd like to have a thumbable version!

Are there any plans up release a 3rd Edition of the book?

Thank you.


From fdc@columbia.edu Thu Jun 12 09:30:51 EDT 2003
Article: 14380 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Indexed & Printable Update Notes?
Date: 12 Jun 2003 09:30:32 -0400
Organization: Columbia University
Lines: 18
Message-ID: <bc9v9o$8d1$1@watsol.cc.columbia.edu>
References: <xqlhe6w9q0z.fsf@email.mot.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1055424636 3456 128.59.39.139 (12 Jun 2003 13:30:36 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 12 Jun 2003 13:30:36 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14380

In article <xqlhe6w9q0z.fsf@email.mot.com>,
Francis R Bridge {BRIDGE1}  <bridge1@email.mot.com> wrote:
: I was wondering if the version 7 & 8 update notes to "Using C-Kermit 2nd
: Edition" are available in a printable, indexed format?  HTML is nice, but
: I'd like to have a thumbable version!
: 
: Are there any plans up release a 3rd Edition of the book?
: 
It's been on our list for a long while.  As you know, the Kermit Project is
funded completely from whatever revenue it can generate from sales.  Books
don't make much money and the failing economy has forced us into placing
highest priority on whatever generates the most revenue.  Unfortunately
these days, that's hardly anything, hence the recent layoffs that make it
even more difficult to find time for the things we'd LIKE to work on.

Get your company to buy a big K95 or Omnibus license, or a support contract.

- Frank


From michel.chamberland@jtax.com Thu Jun 12 15:49:49 EDT 2003
Article: 14381 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: michel.chamberland@jtax.com (mchamber)
Newsgroups: comp.protocols.kermit.misc
Subject: HTTP Proxy in ckermit
Date: 12 Jun 2003 12:24:13 -0700
Organization: http://groups.google.com/
Lines: 44
Message-ID: <f270e7b1.0306121124.4e268ecd@posting.google.com>
NNTP-Posting-Host: 198.151.35.6
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1055445854 5713 127.0.0.1 (12 Jun 2003 19:24:14 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 12 Jun 2003 19:24:14 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14381

Hi, I am trying to write a small script to download pages via a proxy
using the http protocol. Somehow though it seems that kermit is
ignoring the "SET TCP HTTP-PROXY 192.168.40.1:8080" command and tries
to connect directly to the host. As you can see from the output below
kermit says its trying to connect to the iternet address instead of
the 192.168.40.1 proxy. Any pointers would be greatly appreciated.

Sincerely,
mchamber


Here is the relevant part of the script:

<snip>
#!/usr/bin/kermit +

SET TCP HTTP-PROXY 192.168.40.1:8080
HTTP OPEN www.slashdot.org 80
http close
quit
</snip>

Here is the output of the script:

<snip>
C-Kermit 8.0.201, 8 Feb 2002, for Linux
 Numeric: 800201
 Type COPYRIGHT for copyright information.

SET TCP parameters:
 Reverse DNS lookup: off
 DNS Service Records lookup: off
 Keepalive: on
 Linger: off
 DontRoute: off
 Nodelay: off
 Send buffer: (default size)
 Receive buffer: (default size)
 address: (none)
 http-proxy: 192.168.40.1:8080

 DNS Lookup...  Trying 66.35.250.151... Failed: Connection timed out
?HTTP Connection failed.
</snip>


From jaltman@columbia.edu Fri Jun 13 09:26:51 EDT 2003
Article: 14382 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: jaltman@columbia.edu (Jeffrey Altman)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: HTTP Proxy in ckermit
Date: 13 Jun 2003 03:04:16 -0400
Organization: Columbia University
Lines: 57
Message-ID: <bcbt1g$2ph$1@watsol.cc.columbia.edu>
References: <f270e7b1.0306121124.4e268ecd@posting.google.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1055487857 19182 128.59.39.139 (13 Jun 2003 07:04:17 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 13 Jun 2003 07:04:17 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14382

This should be fixed in the current release.
Please upgrade.


In article <f270e7b1.0306121124.4e268ecd@posting.google.com>,
mchamber <michel.chamberland@jtax.com> wrote:
: Hi, I am trying to write a small script to download pages via a proxy
: using the http protocol. Somehow though it seems that kermit is
: ignoring the "SET TCP HTTP-PROXY 192.168.40.1:8080" command and tries
: to connect directly to the host. As you can see from the output below
: kermit says its trying to connect to the iternet address instead of
: the 192.168.40.1 proxy. Any pointers would be greatly appreciated.
: 
: Sincerely,
: mchamber
: 
: 
: Here is the relevant part of the script:
: 
: <snip>
: #!/usr/bin/kermit +
: 
: SET TCP HTTP-PROXY 192.168.40.1:8080
: HTTP OPEN www.slashdot.org 80
: http close
: quit
: </snip>
: 
: Here is the output of the script:
: 
: <snip>
: C-Kermit 8.0.201, 8 Feb 2002, for Linux
:  Numeric: 800201
:  Type COPYRIGHT for copyright information.
: 
: SET TCP parameters:
:  Reverse DNS lookup: off
:  DNS Service Records lookup: off
:  Keepalive: on
:  Linger: off
:  DontRoute: off
:  Nodelay: off
:  Send buffer: (default size)
:  Receive buffer: (default size)
:  address: (none)
:  http-proxy: 192.168.40.1:8080
: 
:  DNS Lookup...  Trying 66.35.250.151... Failed: Connection timed out
: ?HTTP Connection failed.
: </snip>


-- 
 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 michel.chamberland@jtax.com Fri Jun 13 09:26:56 EDT 2003
Article: 14384 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: michel.chamberland@jtax.com (mchamber)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: HTTP Proxy in ckermit
Date: 13 Jun 2003 05:48:41 -0700
Organization: http://groups.google.com/
Lines: 59
Message-ID: <f270e7b1.0306130448.299b24bc@posting.google.com>
References: <f270e7b1.0306121124.4e268ecd@posting.google.com> <bcbt1g$2ph$1@watsol.cc.columbia.edu>
NNTP-Posting-Host: 198.151.35.6
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1055508522 9616 127.0.0.1 (13 Jun 2003 12:48:42 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 13 Jun 2003 12:48:42 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14384

great! thanks that did it, it is now at least connecting to the proxy,
Now im getting a "403 Tunnel or SSL Forbidden" which ill have to
figure out a away around... Might be because of the user agent... I
dont know.. ill find out

Thanks Again!
mchamber

jaltman@columbia.edu (Jeffrey Altman) wrote in message news:<bcbt1g$2ph$1@watsol.cc.columbia.edu>...
> This should be fixed in the current release.
> Please upgrade.
> 
> 
> In article <f270e7b1.0306121124.4e268ecd@posting.google.com>,
> mchamber <michel.chamberland@jtax.com> wrote:
> : Hi, I am trying to write a small script to download pages via a proxy
> : using the http protocol. Somehow though it seems that kermit is
> : ignoring the "SET TCP HTTP-PROXY 192.168.40.1:8080" command and tries
> : to connect directly to the host. As you can see from the output below
> : kermit says its trying to connect to the iternet address instead of
> : the 192.168.40.1 proxy. Any pointers would be greatly appreciated.
> : 
> : Sincerely,
> : mchamber
> : 
> : 
> : Here is the relevant part of the script:
> : 
> : <snip>
> : #!/usr/bin/kermit +
> : 
> : SET TCP HTTP-PROXY 192.168.40.1:8080
> : HTTP OPEN www.slashdot.org 80
> : http close
> : quit
> : </snip>
> : 
> : Here is the output of the script:
> : 
> : <snip>
> : C-Kermit 8.0.201, 8 Feb 2002, for Linux
> :  Numeric: 800201
> :  Type COPYRIGHT for copyright information.
> : 
> : SET TCP parameters:
> :  Reverse DNS lookup: off
> :  DNS Service Records lookup: off
> :  Keepalive: on
> :  Linger: off
> :  DontRoute: off
> :  Nodelay: off
> :  Send buffer: (default size)
> :  Receive buffer: (default size)
> :  address: (none)
> :  http-proxy: 192.168.40.1:8080
> : 
> :  DNS Lookup...  Trying 66.35.250.151... Failed: Connection timed out
> : ?HTTP Connection failed.
> : </snip>


From Jasew@nospam.om Fri Jun 13 09:26:59 EDT 2003
Article: 14383 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed!news-out.cwix.com!newsfeed.cwix.com!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.nacamar.de!uninett.no!hist.no!not-for-mail
From: JaseW<Jasew@nospam.om>
Newsgroups: comp.protocols.kermit.misc
Subject: MSDOS Kermit 3.15
Date: Fri, 13 Jun 2003 09:28:07 +0100
Organization: HiST
Lines: 12
Message-ID: <bcc1rn$cpl$1@balder.stud.idb.hist.no>
NNTP-Posting-Host: colargol.tihlde.hist.no
X-Trace: balder.stud.idb.hist.no 1055492792 13109 158.38.48.10 (13 Jun 2003 08:26:32 GMT)
X-Complaints-To: usenet@balder.stud.idb.hist.no
NNTP-Posting-Date: Fri, 13 Jun 2003 08:26:32 +0000 (UTC)
X-Newsreader: Groupwise 6.0.1
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14383

Hi

We have been telnetting using kermit 3.14 successfully for many years. Recently we switched to using Novell DHCP servers which also respond to BOOTP requests but for some reason KERMIT would not obtain IP information from the new DHCP servers. The solution seemed to be switching to MSDOS Kermit 3.15 which supports DHCP and this did appear to work fine - the machines obtained their IP information as before and the telnet application seemed to work again. 

Now we are getting many reports of sessions hanging at random whilst in the application. This could be every 5 or 10 minutes. If we hard code the IP into the MSCUSTOM.INI things work fine but this involves copying the Kermit application locally on many PCs. The only thing we changed in the MSCUSTOM.INI was the BOOTP to DHCP.

Any ideas? Is it worth trying the 3.16 Beta?


Thanks

Jase


From fdc@columbia.edu Fri Jun 13 09:34:08 EDT 2003
Article: 14385 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: MSDOS Kermit 3.15
Date: 13 Jun 2003 09:33:55 -0400
Organization: Columbia University
Lines: 27
Message-ID: <bccjs3$l47$1@watsol.cc.columbia.edu>
References: <bcc1rn$cpl$1@balder.stud.idb.hist.no>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1055511236 28401 128.59.39.139 (13 Jun 2003 13:33:56 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 13 Jun 2003 13:33:56 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14385

In article <bcc1rn$cpl$1@balder.stud.idb.hist.no>,
JaseW <Jasew@nospam.om> wrote:

: We have been telnetting using kermit 3.14 successfully for many
: years. Recently we switched to using Novell DHCP servers which also respond
: to BOOTP requests but for some reason KERMIT would not obtain IP information
: from the new DHCP servers. The solution seemed to be switching to MSDOS
: Kermit 3.15 which supports DHCP and this did appear to work fine - the
: machines obtained their IP information as before and the telnet application
: seemed to work again.
: 
: Now we are getting many reports of sessions hanging at random whilst in the
: application. This could be every 5 or 10 minutes. If we hard code the IP
: into the MSCUSTOM.INI things work fine but this involves copying the Kermit
: application locally on many PCs. The only thing we changed in the
: MSCUSTOM.INI was the BOOTP to DHCP.
: 
That suggests that your DHCP lease expired.  Or that you have Virtual Private
Network and it's recycyling the IP addresses, especially (but not necessarily)
if it happens after a few minutes of no keyboard activity.

: Any ideas? Is it worth trying the 3.16 Beta?
: 
It can't hurt but I doubt it will make a difference.  Talk to your network
manager about the DHCP lease period or VPN address recycling.

- Frank


From michel.chamberland@jtax.com Fri Jun 13 11:16:53 EDT 2003
Article: 14386 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed!news.maxwell.syr.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: michel.chamberland@jtax.com (mchamber)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: HTTP Proxy in ckermit
Date: 13 Jun 2003 08:13:58 -0700
Organization: http://groups.google.com/
Lines: 67
Message-ID: <f270e7b1.0306130713.2ecc7069@posting.google.com>
References: <f270e7b1.0306121124.4e268ecd@posting.google.com> <bcbt1g$2ph$1@watsol.cc.columbia.edu>
NNTP-Posting-Host: 198.151.35.6
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1055517238 14498 127.0.0.1 (13 Jun 2003 15:13:58 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 13 Jun 2003 15:13:58 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14386

It looks like there is still quite a bit of bugs in the http proxy
code, for example the user variable in http_connect (ckcnet.c) is set
to "" so the if (user) always return true, therfore a
Proxy-authorization and Extension header is always sent even if
authentication is not desired. The /AGENT argument to http commands
seems to have no effect on the headers sent to the server (its always
C-Kermit). An other problem i found is that the proxy code only
support the CONNECT call but this call is not OK with our proxy
because they dont want us to stream anything throught the proxy. It
does support however keeping the connection alive for multiple POST
and GET. I guess ill have to figure out the kermit code and try to fix
it or am I not using kermit right?

Thanks,
mchamber

jaltman@columbia.edu (Jeffrey Altman) wrote in message news:<bcbt1g$2ph$1@watsol.cc.columbia.edu>...
> This should be fixed in the current release.
> Please upgrade.
> 
> 
> In article <f270e7b1.0306121124.4e268ecd@posting.google.com>,
> mchamber <michel.chamberland@jtax.com> wrote:
> : Hi, I am trying to write a small script to download pages via a proxy
> : using the http protocol. Somehow though it seems that kermit is
> : ignoring the "SET TCP HTTP-PROXY 192.168.40.1:8080" command and tries
> : to connect directly to the host. As you can see from the output below
> : kermit says its trying to connect to the iternet address instead of
> : the 192.168.40.1 proxy. Any pointers would be greatly appreciated.
> : 
> : Sincerely,
> : mchamber
> : 
> : 
> : Here is the relevant part of the script:
> : 
> : <snip>
> : #!/usr/bin/kermit +
> : 
> : SET TCP HTTP-PROXY 192.168.40.1:8080
> : HTTP OPEN www.slashdot.org 80
> : http close
> : quit
> : </snip>
> : 
> : Here is the output of the script:
> : 
> : <snip>
> : C-Kermit 8.0.201, 8 Feb 2002, for Linux
> :  Numeric: 800201
> :  Type COPYRIGHT for copyright information.
> : 
> : SET TCP parameters:
> :  Reverse DNS lookup: off
> :  DNS Service Records lookup: off
> :  Keepalive: on
> :  Linger: off
> :  DontRoute: off
> :  Nodelay: off
> :  Send buffer: (default size)
> :  Receive buffer: (default size)
> :  address: (none)
> :  http-proxy: 192.168.40.1:8080
> : 
> :  DNS Lookup...  Trying 66.35.250.151... Failed: Connection timed out
> : ?HTTP Connection failed.
> : </snip>


From jaltman@watsun.cc.columbia.edu Sat Jun 14 13:33:40 EDT 2003
Article: 14388 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!jaltman
From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: HTTP Proxy in ckermit
Date: 14 Jun 2003 08:44:17 GMT
Organization: Columbia University
Lines: 93
Message-ID: <bcen91$jsr$1@newsmaster.cc.columbia.edu>
References: <f270e7b1.0306121124.4e268ecd@posting.google.com> <bcbt1g$2ph$1@watsol.cc.columbia.edu> <f270e7b1.0306130713.2ecc7069@posting.google.com>
NNTP-Posting-Host: watsun.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1055580257 20379 128.59.39.2 (14 Jun 2003 08:44:17 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 14 Jun 2003 08:44:17 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14388

Kermit only supports HTTP CONNECT.  Kermit absolutely does not support
the use of POST/GET sequences to transmit data to a Proxy.  If there is a 
desire for that functionality there are two ways of getting it:

 * write the code and submit it as a patch to kermit-support@columbia.edu

 * find specifications for the protocol and send them to
   kermit-support@columbia.edu.  I will add the request to my list of 
   things to do when I have time.  The easiest way to ensure that I have
   time is to fund the development of the code.

As for the bugs, please file a bug report with kermit-support@columbia.edu.
I will do my best to look into the problems.

Jeffrey Altman
Volunteer Kermit Developer


In article <f270e7b1.0306130713.2ecc7069@posting.google.com>,
mchamber <michel.chamberland@jtax.com> wrote:
: It looks like there is still quite a bit of bugs in the http proxy
: code, for example the user variable in http_connect (ckcnet.c) is set
: to "" so the if (user) always return true, therfore a
: Proxy-authorization and Extension header is always sent even if
: authentication is not desired. The /AGENT argument to http commands
: seems to have no effect on the headers sent to the server (its always
: C-Kermit). An other problem i found is that the proxy code only
: support the CONNECT call but this call is not OK with our proxy
: because they dont want us to stream anything throught the proxy. It
: does support however keeping the connection alive for multiple POST
: and GET. I guess ill have to figure out the kermit code and try to fix
: it or am I not using kermit right?
: 
: Thanks,
: mchamber
: 
: jaltman@columbia.edu (Jeffrey Altman) wrote in message news:<bcbt1g$2ph$1@watsol.cc.columbia.edu>...
: > This should be fixed in the current release.
: > Please upgrade.
: > 
: > 
: > In article <f270e7b1.0306121124.4e268ecd@posting.google.com>,
: > mchamber <michel.chamberland@jtax.com> wrote:
: > : Hi, I am trying to write a small script to download pages via a proxy
: > : using the http protocol. Somehow though it seems that kermit is
: > : ignoring the "SET TCP HTTP-PROXY 192.168.40.1:8080" command and tries
: > : to connect directly to the host. As you can see from the output below
: > : kermit says its trying to connect to the iternet address instead of
: > : the 192.168.40.1 proxy. Any pointers would be greatly appreciated.
: > : 
: > : Sincerely,
: > : mchamber
: > : 
: > : 
: > : Here is the relevant part of the script:
: > : 
: > : <snip>
: > : #!/usr/bin/kermit +
: > : 
: > : SET TCP HTTP-PROXY 192.168.40.1:8080
: > : HTTP OPEN www.slashdot.org 80
: > : http close
: > : quit
: > : </snip>
: > : 
: > : Here is the output of the script:
: > : 
: > : <snip>
: > : C-Kermit 8.0.201, 8 Feb 2002, for Linux
: > :  Numeric: 800201
: > :  Type COPYRIGHT for copyright information.
: > : 
: > : SET TCP parameters:
: > :  Reverse DNS lookup: off
: > :  DNS Service Records lookup: off
: > :  Keepalive: on
: > :  Linger: off
: > :  DontRoute: off
: > :  Nodelay: off
: > :  Send buffer: (default size)
: > :  Receive buffer: (default size)
: > :  address: (none)
: > :  http-proxy: 192.168.40.1:8080
: > : 
: > :  DNS Lookup...  Trying 66.35.250.151... Failed: Connection timed out
: > : ?HTTP Connection failed.
: > : </snip>


 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 heiby_u@falkor.chi.il.us Sun Jun 15 12:36:56 EDT 2003
Article: 14389 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!router1.news.adelphia.net!logbridge.uoregon.edu!newshub.sdsu.edu!elnk-pas-nf2!elnk-pas-nf1!newsfeed.earthlink.net!small1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!nntp.giganews.com!wn14feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc54.POSTED!not-for-mail
From: Ron Heiby <heiby_u@falkor.chi.il.us>
Newsgroups: comp.protocols.kermit.misc
Subject: Backspace Insists on sending ^H
Message-ID: <779oev84tluh03lpoag0imeueh45algboj@4ax.com>
X-Newsreader: Forte Agent 1.91/32.564
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 120
NNTP-Posting-Host: 12.248.231.128
X-Complaints-To: abuse@attbi.com
X-Trace: rwcrnsc54 1055665144 12.248.231.128 (Sun, 15 Jun 2003 08:19:04 GMT)
NNTP-Posting-Date: Sun, 15 Jun 2003 08:19:04 GMT
Organization: AT&T Broadband
Date: Sun, 15 Jun 2003 08:19:04 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14389

Based on the amount of documentation of Backspace / Delete / Keyboard issues, I am sure
that I am not the only one confused by this area of endeavor. But, I have read an awful
lot of documentation that sounds like it should be helping me figure this out, but I'm
still not successfully sending the character I want to send.

I've constructed a dialer entry to connect me with a system in my lab. I have told it
to use vt320 emulation, and sure enough, my Linux session thinks I'm on a vt320. In the
"Keyboard" setup area, I have told Kermit that "Backspace key sends Delete (Rubout)".
In the script generated by the dialer (below), I see a line that says, "set dialer
backspace \127", which looks like it probably is intended to cause Kermit to send a DEL
when I press my PC's [<- Backspace] key. However, the character that gets sent is a BS
(^H). If I enter the Kermit command "show key one" and press that key, I am told, "Key
code \264 Backspace (default) => Character: \8". This sure looks like it wants to send
a BS when I press that key, despite the "set dialer backspace \127" command.

At this point, it looks like the dialer configuration for the backspace key does
nothing. But, I find that hard to believe, as *someone* would have noticed before now.
It does look like I am able to add an explicit "set key" to get the backspace key to
emit a DEL, which seems an OK workaround. But, I can't help feeling that I'm missing
something.

========================

; Kermit 95 Dialer Generated Script - Version 1.37
set title 0-Lab
set command color LightGray Black
clear command
if gui {
set gui window resize-mode change-dimensions
set gui window run-mode restore
set gui rgbcolor black 0 0 0
set gui rgbcolor blue 0 0 127
set gui rgbcolor green 0 127 0
set gui rgbcolor cyan 0 127 127
set gui rgbcolor red 127 0 0
set gui rgbcolor magenta 127 0 127
set gui rgbcolor brown 127 127 0
set gui rgbcolor lightgray 192 192 192
set gui rgbcolor darkgray 127 127 127
set gui rgbcolor lightblue 0 0 255
set gui rgbcolor lightgreen 0 255 0
set gui rgbcolor lightcyan 0 255 255
set gui rgbcolor lightred 255 0 0
set gui rgbcolor lightmagenta 255 0 255
set gui rgbcolor yellow 255 255 0
set gui rgbcolor white 255 255 255
}
cd \v(home)
set terminal type vt320
set term bytesize 8
set term echo off
set term wrap on
set term apc off
set term autodown on
set term status on
set term width 110
set term height 50
set term cursor full
set term color term Yellow Black
set term color status LightGray Cyan
set term color help LightGray Cyan
set term color selection Black Yellow
set term color underline LightGray Red
set term scrollback 8096
set term remote-char utf8
set exit on-disconnect on
set printer /WINDOWS-QUEUE:
set printer /TIMEOUT:0
set printer /CHARACTER-SET:cp437
set file download-directory {}
set file type binary
set file collision backup
set file incomplete auto
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
do fast
set xfer char latin1
set mouse activate on
set key \269  \13
set term newline off
set dialer backspace \127
ssh add local-port-forward 5924 localhost 5909
ssh add local-port-forward 3306 localhost 3306
ssh add local-port-forward 5923 [host1.domain].com 5900
ssh add local-port-forward 5922 [host2.domain].com 5900
ssh add local-port-forward 5921 [host3.domain].com 5900
ssh add local-port-forward 5920 [host4.domain].com 5909
ssh add local-port-forward 5919 [host5.domain].com 5909
set command quoting off
set login userid heiby
set command quoting on
set command quoting off
set login password {}
set command quoting on
set login prompt {}
set network directory 
set network type ssh
if fail end 1 SSH Failed
set ssh version automatic
set ssh compression on
set ssh x11-forwarding on
set ssh v1 cipher 3des
set ssh strict-host-key-check ask
set ssh v2 authentication external-keyx gssapi srp-gex-sha1 publickey
keyboard-interactive hostbased 
set ssh v2 ciphers aes128-cbc 3des-cbc blowfish-cbc cast128-cbc arcfour aes192-cbc
aes256-cbc 
set ssh v2 macs hmac-md5 hmac-sha1 hmac-ripemd160 hmac-sha1-96 hmac-md5-96 
set ssh v2 hostkey-algorithms ssh-rsa ssh-dss 
set ssh gssapi delegate-credentials off
set ssh kerberos5 tgt-passing off
set ssh kerberos4 tgt-passing off
set host [host0.domain].com ssh
if success connect



From heiby_u@falkor.chi.il.us Sun Jun 15 12:37:12 EDT 2003
Article: 14390 of comp.protocols.kermit.misc
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!small1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!nntp.giganews.com!wn14feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc52.ops.asp.att.net.POSTED!not-for-mail
From: Ron Heiby <heiby_u@falkor.chi.il.us>
Newsgroups: comp.protocols.kermit.misc
Subject: K95 Linux Emacs vt320 ^Q^I Behavior
Message-ID: <70boevk3dddlael4md65i3g3d5j1v3cqct@4ax.com>
X-Newsreader: Forte Agent 1.91/32.564
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 14
NNTP-Posting-Host: 12.248.231.128
X-Complaints-To: abuse@attbi.com
X-Trace: rwcrnsc52.ops.asp.att.net 1055665641 12.248.231.128 (Sun, 15 Jun 2003 08:27:21 GMT)
NNTP-Posting-Date: Sun, 15 Jun 2003 08:27:21 GMT
Organization: AT&T Broadband
Date: Sun, 15 Jun 2003 08:27:21 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14390

This query may be a bit far afield. If so, sorry.

Using K95, I connect via SSH to one of my lab systems. I have set (via a Dialer entry)
my terminal type to be vt320, and Linux knows that I am a vt320. I enter "emacs" and
attempt to enter a quoted-literal TAB character by typing Ctrl-Q, followed by Ctrl-I
(or Tab). Instead of seeing the cursor move a few blank spaces to the right, a "^@"
appears on the screen at the point, the bell rings, and the minibuffer displays, "End
of buffer".

If, using the same kermit session, I lie to Linux and set TERM=vt100, then the same
test results in the cursor moving a few blank spaces to the right, just as I would
expect. TERM=vt102 and TERM=vt220 also give the expected behavior.

What's different about vt320 that Linux emacs doesn't seem to care for? Thanks!


From fdc@columbia.edu Sun Jun 15 12:45:01 EDT 2003
Article: 14391 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Backspace Insists on sending ^H
Date: 15 Jun 2003 12:36:51 -0400
Organization: Columbia University
Lines: 83
Message-ID: <bci7b3$plv$1@watsol.cc.columbia.edu>
References: <779oev84tluh03lpoag0imeueh45algboj@4ax.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1055695012 15418 128.59.39.139 (15 Jun 2003 16:36:52 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 15 Jun 2003 16:36:52 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14391

In article <779oev84tluh03lpoag0imeueh45algboj@4ax.com>,
Ron Heiby  <heiby_u@falkor.chi.il.us> wrote:
: Based on the amount of documentation of Backspace / Delete / Keyboard
: issues, I am sure that I am not the only one confused by this area of
: endeavor. But, I have read an awful lot of documentation that sounds like
: it should be helping me figure this out, but I'm still not successfully
: sending the character I want to send.
: 
: I've constructed a dialer entry to connect me with a system in my lab. I
: have told it to use vt320 emulation, and sure enough, my Linux session
: thinks I'm on a vt320.
:
But this does not affect what the remote Unix system's erase character is.

: In the "Keyboard" setup area, I have told Kermit
: that "Backspace key sends Delete (Rubout)".  In the script generated by
: the dialer (below), I see a line that says, "set dialer backspace \127",
: which looks like it probably is intended to cause Kermit to send a DEL
: when I press my PC's [<- Backspace] key.
:
In K95, which (unlike C-Kermit) supports multiple terminal types with a
separate keymap for each, this performs the equivalent of "set key \264 \127"
for each terminal type, because this is a keyboard setting and not a
terminal-specific setting, thus applies to the keyoard independently of
the terminal type.  OK, so..

: However, the character that gets
: sent is a BS (^H). If I enter the Kermit command "show key one" and press
: that key, I am told, "Key code \264 Backspace (default) => Character:
: \8". This sure looks like it wants to send a BS when I press that key,
: despite the "set dialer backspace \127" command.
: 
Doesn't happen here.

: At this point, it looks like the dialer configuration for the backspace
: key does nothing.
:
The default setting is \127.  A command must have been executed that changed
it from this to \8.

: But, I find that hard to believe, as *someone* would
: have noticed before now.  It does look like I am able to add an explicit
: "set key" to get the backspace key to emit a DEL, which seems an OK
: workaround.
:
Where do you add it?

Either:

 (a) You're doing something that overrides the Dialer's setting; or:
 (b) There's something you didn't tell us; or:
 (c) I'm missing something; or:
 (d) There's a bug.

When Kermit 95 starts, commands are executed in the following order:

  certain "pre-scanned" command-line options
  k95.ini
  k95site.ini
  k95custom.ini
  Any command-line options that were not pre-scanned
  Dialer script
  Interactive commands or scripts explicitly invoked

The Dialer script itself can execute two other scripts if you tell it:

  The keyboard script (selected on the Keyboard Settings page)
  The login script (selected from the Login page)

If you have specified either one of these scripts, and it contains a SET
KEY command, this can override the Enter and Backspace key settings on
the Keyboard Settings page.

However, the Dialer script you sent did not include any TAKE commands.

Therefore it's not obvious why this happens to you but not to me.  I think
more evidence is needed.  Did you execute any other command files or macros
after the connection was made that might have changed the key setting?

The way that you worked around this by adding "set key" to a file should
provide a good clue.

- Frank


From fdc@columbia.edu Sun Jun 15 12:45:04 EDT 2003
Article: 14392 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: K95 Linux Emacs vt320 ^Q^I Behavior
Date: 15 Jun 2003 12:44:51 -0400
Organization: Columbia University
Lines: 36
Message-ID: <bci7q3$qqu$1@watsol.cc.columbia.edu>
References: <70boevk3dddlael4md65i3g3d5j1v3cqct@4ax.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1055695492 15644 128.59.39.139 (15 Jun 2003 16:44:52 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 15 Jun 2003 16:44:52 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14392

In article <70boevk3dddlael4md65i3g3d5j1v3cqct@4ax.com>,
Ron Heiby  <heiby_u@falkor.chi.il.us> wrote:
: This query may be a bit far afield. If so, sorry.
: 
: Using K95, I connect via SSH to one of my lab systems. I have set (via a
: Dialer entry) my terminal type to be vt320, and Linux knows that I am a
: vt320. I enter "emacs" and attempt to enter a quoted-literal TAB character
: by typing Ctrl-Q, followed by Ctrl-I (or Tab). Instead of seeing the
: cursor move a few blank spaces to the right, a "^@" appears on the screen
: at the point, the bell rings, and the minibuffer displays, "End of
: buffer".
: 
I think this is an EMACS peculiarity having nothing to do with Kermit.
The same thing started happening to me the last the local copy of EMACS
was upgraded.  I happen to have an old copy laying around:

  GNU Emacs 19.22.24: ^Q Tab inserts a Tab
  GNU Emacs 20.7.1:   ^Q Tab does what you describe

Same copy of K95, same settings, same host, same .emacs.

: If, using the same kermit session, I lie to Linux and set TERM=vt100, then
: the same test results in the cursor moving a few blank spaces to the
: right, just as I would expect. TERM=vt102 and TERM=vt220 also give the
: expected behavior.
: 
Hmmm, I never noticed that before, but yes, same here.

: What's different about vt320 that Linux emacs doesn't seem to care for?
: Thanks!
:
Clearly it's nothing to do with Kermit.  It's some strange EMACS-curses-
termcap/terminfo interaction on the host.  If you figure it out, let us
know because it's been bugging me too.

- Frank


From heiby_u@falkor.chi.il.us Sun Jun 15 15:30:26 EDT 2003
Article: 14393 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!lon-transit.news.telstra.net!news.telstra.net!144.212.100.101.MISMATCH!newsfeed!arclight.uoregon.edu!wn13feed!wn12feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi_feed4!attbi.com!sccrnsc01.POSTED!not-for-mail
From: Ron Heiby <heiby_u@falkor.chi.il.us>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Backspace Insists on sending ^H
Message-ID: <pufpevgagen327afgv17aqs21t6f34tq1v@4ax.com>
References: <779oev84tluh03lpoag0imeueh45algboj@4ax.com> <bci7b3$plv$1@watsol.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: 48
NNTP-Posting-Host: 12.248.231.128
X-Complaints-To: abuse@attbi.com
X-Trace: sccrnsc01 1055703844 12.248.231.128 (Sun, 15 Jun 2003 19:04:04 GMT)
NNTP-Posting-Date: Sun, 15 Jun 2003 19:04:04 GMT
Organization: AT&T Broadband
Date: Sun, 15 Jun 2003 19:04:04 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14393

fdc@columbia.edu (Frank da Cruz) wrote:
>But this does not affect what the remote Unix system's erase character is.

Right. Just noted that for "completeness", and in case I was missing something there.

>: have noticed before now.  It does look like I am able to add an explicit
>: "set key" to get the backspace key to emit a DEL, which seems an OK
>Where do you add it?

In the keyboard setup area -- the one that is suggested for use in defining the SSH
port forwarding commands.

>When Kermit 95 starts, commands are executed in the following order:
>
>  certain "pre-scanned" command-line options
>  k95.ini
>  k95site.ini
>  k95custom.ini
>  Any command-line options that were not pre-scanned
>  Dialer script
>  Interactive commands or scripts explicitly invoked

Aha! I trapped myself in the glitz and glamour of the GUI interface, rather than
sticking exclusively with the commands. :-)

I had completely forgotten that my *own* k95custom.ini would still get executed, even
though I was going through the GUI Dialer to start the session. In there, I was
explicitly setting the key to transmit a BS. (This, from the old days when I usually
did want a BS sent by that key.) Having been reminded of that, I'll have to look
through it for other potential "gotchas" that are setting things that I think I'm
setting via the Dialer.

Is there something I can test that would let my k95custom.ini know whether it was
invoked via the Dialer, so it could still set up certain things if it was not?

>If you have specified either one of these scripts, and it contains a SET
>KEY command, this can override the Enter and Backspace key settings on
>the Keyboard Settings page.

This corresponds to what I have observed, and I found that commenting out my
k95custom.ini "set key" line has things working as I would have expected. (Yay!)

However, I am confused by your (above) list of execution order. If my k95custom.ini is
being executed before the Dialer script, why isn't the Dialer script command to "set
dialer backspace \127" coming later overruling the earlier "set key"? BTW, commanding
Kermit "help set dialer" does not enlighten. ("set dialer ?" does yield a bit of info.)

Thanks much. I am always impressed by the great support I get for Kermit.


From heiby_u@falkor.chi.il.us Sun Jun 15 15:46:11 EDT 2003
Article: 14394 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed!wn13feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!sccrnsc02.POSTED!not-for-mail
From: Ron Heiby <heiby_u@falkor.chi.il.us>
Newsgroups: comp.protocols.kermit.misc,comp.emacs
Subject: Re: K95 Linux Emacs vt320 ^Q^I Behavior
Message-ID: <eehpevo01in7mms9cn4ft8mvetqdbi0pf7@4ax.com>
References: <70boevk3dddlael4md65i3g3d5j1v3cqct@4ax.com> <bci7q3$qqu$1@watsol.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: 44
NNTP-Posting-Host: 12.248.231.128
X-Complaints-To: abuse@attbi.com
X-Trace: sccrnsc02 1055704588 12.248.231.128 (Sun, 15 Jun 2003 19:16:28 GMT)
NNTP-Posting-Date: Sun, 15 Jun 2003 19:16:28 GMT
Organization: AT&T Broadband
Date: Sun, 15 Jun 2003 19:18:21 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14394 comp.emacs:88730

This is now being cross-posted to comp.emacs. I first posted this query in the Kermit
newsgroup. They are indicating that it is an Emacs issue -- one that changed since an
earlier version. I am using version "21.2.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll
bars) of 2002-08-28 on astest" on Red Hat 8.0 with current updates.

fdc@columbia.edu (Frank da Cruz) wrote:

>In article <70boevk3dddlael4md65i3g3d5j1v3cqct@4ax.com>,
>Ron Heiby  <heiby_u@falkor.chi.il.us> wrote:
>: This query may be a bit far afield. If so, sorry.
>: 
>: Using K95, I connect via SSH to one of my lab systems. I have set (via a
>: Dialer entry) my terminal type to be vt320, and Linux knows that I am a
>: vt320. I enter "emacs" and attempt to enter a quoted-literal TAB character
>: by typing Ctrl-Q, followed by Ctrl-I (or Tab). Instead of seeing the
>: cursor move a few blank spaces to the right, a "^@" appears on the screen
>: at the point, the bell rings, and the minibuffer displays, "End of
>: buffer".
>: 
>I think this is an EMACS peculiarity having nothing to do with Kermit.
>The same thing started happening to me the last the local copy of EMACS
>was upgraded.  I happen to have an old copy laying around:
>
>  GNU Emacs 19.22.24: ^Q Tab inserts a Tab
>  GNU Emacs 20.7.1:   ^Q Tab does what you describe
>
>Same copy of K95, same settings, same host, same .emacs.
>
>: If, using the same kermit session, I lie to Linux and set TERM=vt100, then
>: the same test results in the cursor moving a few blank spaces to the
>: right, just as I would expect. TERM=vt102 and TERM=vt220 also give the
>: expected behavior.
>: 
>Hmmm, I never noticed that before, but yes, same here.
>
>: What's different about vt320 that Linux emacs doesn't seem to care for?
>: Thanks!
>:
>Clearly it's nothing to do with Kermit.  It's some strange EMACS-curses-
>termcap/terminfo interaction on the host.  If you figure it out, let us
>know because it's been bugging me too.
>
>- Frank



From fdc@columbia.edu Sun Jun 15 15:46:18 EDT 2003
Article: 14395 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Backspace Insists on sending ^H
Date: 15 Jun 2003 15:44:05 -0400
Organization: Columbia University
Lines: 46
Message-ID: <bciia5$np1$1@watsol.cc.columbia.edu>
References: <779oev84tluh03lpoag0imeueh45algboj@4ax.com> <bci7b3$plv$1@watsol.cc.columbia.edu> <pufpevgagen327afgv17aqs21t6f34tq1v@4ax.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1055706246 23234 128.59.39.139 (15 Jun 2003 19:44:06 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 15 Jun 2003 19:44:06 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14395

In article <pufpevgagen327afgv17aqs21t6f34tq1v@4ax.com>,
Ron Heiby  <heiby_u@falkor.chi.il.us> wrote:
: fdc@columbia.edu (Frank da Cruz) wrote:
: 
: I had completely forgotten that my *own* k95custom.ini would still get
: executed, even though I was going through the GUI Dialer to start the
: session. In there, I was explicitly setting the key to transmit a BS. (This,
: from the old days when I usually did want a BS sent by that key.) Having
: been reminded of that, I'll have to look through it for other potential
: "gotchas" that are setting things that I think I'm setting via the Dialer.
: 
: Is there something I can test that would let my k95custom.ini know whether
: it was invoked via the Dialer, so it could still set up certain things if it
: was not?
: 
Why yes:

  if [ not ] started-from-dialer ...

: >If you have specified either one of these scripts, and it contains a SET
: >KEY command, this can override the Enter and Backspace key settings on
: >the Keyboard Settings page.
: 
: However, I am confused by your (above) list of execution order. If my
: k95custom.ini is being executed before the Dialer script, why isn't the
: Dialer script command to "set dialer backspace \127" coming later overruling
: the earlier "set key"?
: 
Good question.  The initialization files must be executed first, because the
Dialer script contains the command that makes the connection, and of course
you want all your customizations in place by the time you are online.  So
then why would SET DIALER BACKSPACE not override the K95CUSTOM.INI definition?
I thought maybe there might be a clause in the code that said "don't override
any settings that the user already explicitly made" but I don't see it.
There must be an explanation though :-)

: BTW, commanding Kermit "help set dialer" does not
: enlighten. ("set dialer ?" does yield a bit of info.)
:
Because it's a secret command.

: Thanks much. I am always impressed by the great support I get for Kermit.
:
Even on a Sunday :-)

- Frank


From jaltman@columbia.edu Mon Jun 16 09:13:02 EDT 2003
Article: 14396 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: jaltman@columbia.edu (Jeffrey Altman)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Backspace Insists on sending ^H
Date: 15 Jun 2003 18:50:43 -0400
Organization: Columbia University
Lines: 25
Message-ID: <bcit83$kvm$1@watsol.cc.columbia.edu>
References: <779oev84tluh03lpoag0imeueh45algboj@4ax.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1055717444 1132 128.59.39.139 (15 Jun 2003 22:50:44 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 15 Jun 2003 22:50:44 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14396

SET DIALER BACKSPACE is a private command that the dialer uses to 
instruct the K95[G].exe instance running the script to reset the
default SET TERMINAL KEY <terminal> for the Backspace Key (\8).

Values set by the user in a SET KEY command for all terminal types
take precedence over the key definitions of a specific terminal type.

SET KEY is meant to be use only for backward compatibility with MS-DOS
Kermit and the documentation in the "Using C-Kermit" books.  It should
not be used in Kermit 95.

Jeffrey Altman
Volunteer Kermit Developer



In article <779oev84tluh03lpoag0imeueh45algboj@4ax.com>,
Ron Heiby  <heiby_u@falkor.chi.il.us> wrote:
: set dialer backspace \127

-- 
 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 michel@mjka.nl Tue Jun 17 09:10:51 EDT 2003
Article: 14397 of comp.protocols.kermit.misc
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!news2.euro.net!beastiality.euro.net!postnews1.euro.net!news.euronet.nl!not-for-mail
From: "Michel Krabshuis" <michel@mjka.nl>
Newsgroups: comp.protocols.kermit.misc
Subject: Kermit 95 and Microsoft Telnet Server
Date: Tue, 17 Jun 2003 11:34:35 +0200
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
Lines: 15
Message-ID: <3eeee0ff$0$28912$1b62eedf@news.euronet.nl>
Organization: EuroNet Internet
NNTP-Posting-Date: 17 Jun 2003 09:35:59 GMT
NNTP-Posting-Host: mnd-1a44.mxs.adsl.euronet.nl
X-Trace: 1055842559 news.euronet.nl 28912 212.129.154.68:2924
X-Complaints-To: abuse@euronet.nl
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14397

I am using Kermit 95 1.1.20 on the Microsoft Telnet Server.
First struggling with the VTNT emulation, now i am using ANSI emulation, and
thats works a bit.

One thing i cant get to work, is the ESCAPE key itselfs.
When i press the Escape key, it should send a \027 to the Telnet Server, i
seems that
either Kermit 95 or Microsoft blokks this key.

Does anyone know this problem? and has a solution?

Kind regards,
Michel Krabshuis




From fdc@columbia.edu Tue Jun 17 09:10:54 EDT 2003
Article: 14398 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit 95 and Microsoft Telnet Server
Date: 17 Jun 2003 09:10:48 -0400
Organization: Columbia University
Lines: 21
Message-ID: <bcn40o$q5m$1@watsol.cc.columbia.edu>
References: <3eeee0ff$0$28912$1b62eedf@news.euronet.nl>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1055855449 5500 128.59.39.139 (17 Jun 2003 13:10:49 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 17 Jun 2003 13:10:49 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14398

In article <3eeee0ff$0$28912$1b62eedf@news.euronet.nl>,
Michel Krabshuis <michel@mjka.nl> wrote:
: I am using Kermit 95 1.1.20 on the Microsoft Telnet Server.
: First struggling with the VTNT emulation, now i am using ANSI emulation, and
: thats works a bit.
: 
You might want to try the current version of K95.  VTNT is an undocumented
proprietary protocol, which we had to reverse engineer.  After we did that,
Microsoft changed it.  K95 1.1.21 and later include the necessary
adjustments:

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

: One thing i cant get to work, is the ESCAPE key itselfs.  When i press the
: Escape key, it should send a \027 to the Telnet Server, i seems that either
: Kermit 95 or Microsoft blokks this key.
: 
If you still have a problem with the current release, please follow up to
kermit-support@columbia.edu.

- Frank


From michel@krabshuis.nl Tue Jun 17 14:28:43 EDT 2003
Article: 14399 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!buck.internorth.com!cyclone.bc.net!in.100proofnews.com!in.100proofnews.com!news2.euro.net!postnews1.euro.net!news.euronet.nl!not-for-mail
From: "Michel Krabshuis" <michel@krabshuis.nl>
Newsgroups: comp.protocols.kermit.misc
References: <3eeee0ff$0$28912$1b62eedf@news.euronet.nl> <bcn40o$q5m$1@watsol.cc.columbia.edu>
Subject: Re: Kermit 95 and Microsoft Telnet Server
Date: Tue, 17 Jun 2003 20:12:34 +0200
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
Lines: 46
Message-ID: <3eef5a0b$0$28908$1b62eedf@news.euronet.nl>
Organization: EuroNet Internet
NNTP-Posting-Date: 17 Jun 2003 18:12:27 GMT
NNTP-Posting-Host: mnd-7082.mxs.adsl.euronet.nl
X-Trace: 1055873547 news.euronet.nl 28908 62.234.144.130:3624
X-Complaints-To: abuse@euronet.nl
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14399

Hi Frank,

Thanks for your quick answer.
Where can we download the upgrade 1.1.21?  The only download i see, is the
upgrade to the GUI version 2.1
The GUI version 2.1 works fine with VTNT.
The character version 2.1 doesn't work with VTNT?!?!?! Very strange
characters etc/etc/

We gave up the Micrsoft Telnet Server and are now testing Georgia Softworks
Telnet Server for Windows Server 2003.
Can you advise a good Telnet Server for Windows Server 2003????

Kind regards,
Michel Krabshuis


"Frank da Cruz" <fdc@columbia.edu> schreef in bericht
news:bcn40o$q5m$1@watsol.cc.columbia.edu...
> In article <3eeee0ff$0$28912$1b62eedf@news.euronet.nl>,
> Michel Krabshuis <michel@mjka.nl> wrote:
> : I am using Kermit 95 1.1.20 on the Microsoft Telnet Server.
> : First struggling with the VTNT emulation, now i am using ANSI emulation,
and
> : thats works a bit.
> :
> You might want to try the current version of K95.  VTNT is an undocumented
> proprietary protocol, which we had to reverse engineer.  After we did
that,
> Microsoft changed it.  K95 1.1.21 and later include the necessary
> adjustments:
>
>   http://www.columbia.edu/kermit/k95upgrade.html
>
> : One thing i cant get to work, is the ESCAPE key itselfs.  When i press
the
> : Escape key, it should send a \027 to the Telnet Server, i seems that
either
> : Kermit 95 or Microsoft blokks this key.
> :
> If you still have a problem with the current release, please follow up to
> kermit-support@columbia.edu.
>
> - Frank




From fdc@columbia.edu Tue Jun 17 14:28:45 EDT 2003
Article: 14400 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit 95 and Microsoft Telnet Server
Date: 17 Jun 2003 14:28:40 -0400
Organization: Columbia University
Lines: 21
Message-ID: <bcnmko$ne2$1@watsol.cc.columbia.edu>
References: <3eeee0ff$0$28912$1b62eedf@news.euronet.nl> <bcn40o$q5m$1@watsol.cc.columbia.edu> <3eef5a0b$0$28908$1b62eedf@news.euronet.nl>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1055874521 20240 128.59.39.139 (17 Jun 2003 18:28:41 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 17 Jun 2003 18:28:41 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14400

In article <3eef5a0b$0$28908$1b62eedf@news.euronet.nl>,
Michel Krabshuis <michel@krabshuis.nl> wrote:
: Thanks for your quick answer.
: Where can we download the upgrade 1.1.21?  The only download i see, is the
: upgrade to the GUI version 2.1
:
That's the current upgrade.  Since 2.0 was announced, we no longer provide
a complete set of upgrades from any version to any other version, only to
the current version.

: The GUI version 2.1 works fine with VTNT.
:
Then why not use it?

: The character version 2.1 doesn't work with VTNT?!?!?! Very strange
: characters etc/etc/
: 
Why do you need the Console version to work?  Probably the "very strange
characters" are a code page mismatch.

- Frank


From jaltman@columbia.edu Tue Jun 17 16:06:42 EDT 2003
Article: 14401 of comp.protocols.kermit.misc
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!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.vmunix.org!peer02.cox.net!cox.net!news3.optonline.net!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!53ab2750!not-for-mail
Message-ID: <3EEF6796.9000307@columbia.edu>
From: Jeffrey Altman <jaltman@columbia.edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030529
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit 95 and Microsoft Telnet Server
References: <3eeee0ff$0$28912$1b62eedf@news.euronet.nl>
In-Reply-To: <3eeee0ff$0$28912$1b62eedf@news.euronet.nl>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 32
Date: Tue, 17 Jun 2003 19:10:17 GMT
NNTP-Posting-Host: 66.108.138.151
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1055877017 66.108.138.151 (Tue, 17 Jun 2003 15:10:17 EDT)
NNTP-Posting-Date: Tue, 17 Jun 2003 15:10:17 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14401

The two important questions are:

* have you read the section discussing Microsoft Windows Telnet Server 
and Kermit 95 in http://www.kermit-project.org/telnet.html ?

* which version of the Microsoft Windows Telnet Server are you using?
   K95 1.1.20 is only compatible with the SFU version 1 Telnet Server
   when using VTNT since the implementation of the terminal definition
   changed in future releases:  Windows 2000, Windows XP, SFU version 2

Jeffrey Altman
Volunteer Kermit Developer



Michel Krabshuis wrote:
> I am using Kermit 95 1.1.20 on the Microsoft Telnet Server.
> First struggling with the VTNT emulation, now i am using ANSI emulation, and
> thats works a bit.
> 
> One thing i cant get to work, is the ESCAPE key itselfs.
> When i press the Escape key, it should send a \027 to the Telnet Server, i
> seems that
> either Kermit 95 or Microsoft blokks this key.
> 
> Does anyone know this problem? and has a solution?
> 
> Kind regards,
> Michel Krabshuis
> 
> 



From jaltman@columbia.edu Tue Jun 17 16:07:00 EDT 2003
Article: 14402 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!news.gtei.net!colt.net!news.tele.dk!news.tele.dk!small.news.tele.dk!news100.image.dk!feed.news.nacamar.de!newsfeed.vmunix.org!peer02.cox.net!cox.net!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.4) Gecko/20030529
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit 95 and Microsoft Telnet Server
References: <3eeee0ff$0$28912$1b62eedf@news.euronet.nl> <bcn40o$q5m$1@watsol.cc.columbia.edu> <3eef5a0b$0$28908$1b62eedf@news.euronet.nl> <bcnmko$ne2$1@watsol.cc.columbia.edu>
In-Reply-To: <bcnmko$ne2$1@watsol.cc.columbia.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 19
Message-ID: <xKJHa.147545$h42.140266@twister.nyc.rr.com>
Date: Tue, 17 Jun 2003 19:12:29 GMT
NNTP-Posting-Host: 66.108.138.151
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1055877149 66.108.138.151 (Tue, 17 Jun 2003 15:12:29 EDT)
NNTP-Posting-Date: Tue, 17 Jun 2003 15:12:29 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14402

Frank da Cruz wrote:

> In article <3eef5a0b$0$28908$1b62eedf@news.euronet.nl>,
> Michel Krabshuis <michel@krabshuis.nl> wrote:
> : The character version 2.1 doesn't work with VTNT?!?!?! Very strange
> : characters etc/etc/
> : 
> Why do you need the Console version to work?  Probably the "very strange
> characters" are a code page mismatch.
> 

VTNT is Unicode based.  The problem is most likely the failure to set
the console window to use a Unicode based True Type font such as Lucida
Console.

Jeffrey Altman
Volunteer Kermit Developer




From michel@krabshuis.nl Wed Jun 18 14:54:24 EDT 2003
Article: 14403 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!News.Math.NCTU.edu.tw!newsfeed.news2me.com!newspeer1-gui.server.ntli.net!ntli.net!news2.euro.net!postnews1.euro.net!news.euronet.nl!not-for-mail
From: "Michel Krabshuis" <michel@krabshuis.nl>
Newsgroups: comp.protocols.kermit.misc
References: <3eeee0ff$0$28912$1b62eedf@news.euronet.nl> <3EEF6796.9000307@columbia.edu>
Subject: Re: Kermit 95 and Microsoft Telnet Server
Date: Wed, 18 Jun 2003 20:13:18 +0200
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
Lines: 48
Message-ID: <3ef0ac7b$0$28906$1b62eedf@news.euronet.nl>
Organization: EuroNet Internet
NNTP-Posting-Date: 18 Jun 2003 18:16:27 GMT
NNTP-Posting-Host: mnd-7082.mxs.adsl.euronet.nl
X-Trace: 1055960187 news.euronet.nl 28906 62.234.144.130:3057
X-Complaints-To: abuse@euronet.nl
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14403

Yes I RTFM. I am using WIndows Server 2003, and so i think SFU version 3
maybe.

Strange thing is that the GUI portion of Kermit 95 2.1 is able to correctly
display VTNT emulation,
but the character portion of Kermit 95 isn't.

Regards,
MIchel

"Jeffrey Altman" <jaltman@columbia.edu> schreef in bericht
news:3EEF6796.9000307@columbia.edu...
> The two important questions are:
>
> * have you read the section discussing Microsoft Windows Telnet Server
> and Kermit 95 in http://www.kermit-project.org/telnet.html ?
>
> * which version of the Microsoft Windows Telnet Server are you using?
>    K95 1.1.20 is only compatible with the SFU version 1 Telnet Server
>    when using VTNT since the implementation of the terminal definition
>    changed in future releases:  Windows 2000, Windows XP, SFU version 2
>
> Jeffrey Altman
> Volunteer Kermit Developer
>
>
>
> Michel Krabshuis wrote:
> > I am using Kermit 95 1.1.20 on the Microsoft Telnet Server.
> > First struggling with the VTNT emulation, now i am using ANSI emulation,
and
> > thats works a bit.
> >
> > One thing i cant get to work, is the ESCAPE key itselfs.
> > When i press the Escape key, it should send a \027 to the Telnet Server,
i
> > seems that
> > either Kermit 95 or Microsoft blokks this key.
> >
> > Does anyone know this problem? and has a solution?
> >
> > Kind regards,
> > Michel Krabshuis
> >
> >
>




From fdc@columbia.edu Wed Jun 18 14:57:34 EDT 2003
Article: 14404 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit 95 and Microsoft Telnet Server
Date: 18 Jun 2003 14:57:11 -0400
Organization: Columbia University
Lines: 16
Message-ID: <bcqcm7$2pt$1@watsol.cc.columbia.edu>
References: <3eeee0ff$0$28912$1b62eedf@news.euronet.nl> <3EEF6796.9000307@columbia.edu> <3ef0ac7b$0$28906$1b62eedf@news.euronet.nl>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1055962632 17677 128.59.39.139 (18 Jun 2003 18:57:12 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 18 Jun 2003 18:57:12 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14404

In article <3ef0ac7b$0$28906$1b62eedf@news.euronet.nl>,
Michel Krabshuis <michel@krabshuis.nl> wrote:
: Yes I RTFM. I am using WIndows Server 2003, and so i think SFU version 3
: maybe.
: 
: Strange thing is that the GUI portion of Kermit 95 2.1 is able to correctly
: display VTNT emulation, but the character portion of Kermit 95 isn't.
: 
The character (console) version of Kermit 95 runs in a Windows Console
window, where Kermit itself can not control the font or even find out what
font is in use.  As Jeff pointed out, VTNT uses Unicode encoding so you need
to configure your Console window (menu bar -> Windows menu -> Properties ->
Font) to pick Lucida Console rather than Raster Fonts.  If you still have
trouble after that, follow up to kermit-support@columbia.edu.

- Frank


From snaple@earthlink.net Thu Jun 19 13:15:28 EDT 2003
Article: 14405 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!newsfeed.gol.com!news-hog.berkeley.edu!ucberkeley!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: snaple@earthlink.net (Jerry)
Newsgroups: comp.protocols.kermit.misc
Subject: send a \27SO when pressing Ctrl-e
Date: 19 Jun 2003 10:13:11 -0700
Organization: http://groups.google.com/
Lines: 13
Message-ID: <cd17ed36.0306190913.2719a13@posting.google.com>
NNTP-Posting-Host: 64.240.66.249
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1056042792 30801 127.0.0.1 (19 Jun 2003 17:13:12 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 19 Jun 2003 17:13:12 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14405

Is there any way to send the ESC[SO (\27SO) when pressing CTRL-e keys?
 I've tried

set key \5 \27SO  (the \5 key was given to me when I just typed in set
key and enter.  It asked "Which key to define".  I went ahead and
pressed CTRL-E gave me just \5).  It might be that \5 is just the ctrl
key ;).
Can anyone help?  I am also willing to change the Linux Keymapping if
it is not feasible in Kermit.
Thank you all for your help,
Jerry

PS: the OS is Linux 7.3 and the kermit version is 7.*.*


From fdc@columbia.edu Thu Jun 19 13:21:48 EDT 2003
Article: 14406 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: send a \27SO when pressing Ctrl-e
Date: 19 Jun 2003 13:21:08 -0400
Organization: Columbia University
Lines: 25
Message-ID: <bcsre4$enq$1@watsol.cc.columbia.edu>
References: <cd17ed36.0306190913.2719a13@posting.google.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1056043269 18788 128.59.39.139 (19 Jun 2003 17:21:09 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 19 Jun 2003 17:21:09 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14406

In article <cd17ed36.0306190913.2719a13@posting.google.com>,
Jerry <snaple@earthlink.net> wrote:
: Is there any way to send the ESC[SO (\27SO) when pressing CTRL-e keys?
:  I've tried
: 
: set key \5 \27SO  (the \5 key was given to me when I just typed in set
: key and enter.  It asked "Which key to define".  I went ahead and
: pressed CTRL-E gave me just \5).  It might be that \5 is just the ctrl
: key ;).
:
I'm assuming you want ESC [ S O (letter O), not ESC S O (you said it
both ways above).  The following works:

  set key \5 \27[SO

So does this:

  set key \5 \{27}[SO

C-Kermit key definitions are active only in CONNECT mode.  The current
version of C-Kermit is 8.0:

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

- Frank


From jaltman@columbia.edu Thu Jun 19 15:02:07 EDT 2003
Article: 14407 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newspump.monmouth.com!newspeer.monmouth.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!news.space.net!newsfeed.vmunix.org!peer02.cox.net!cox.net!news3.optonline.net!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!not-for-mail
From: Jeffrey Altman <jaltman@columbia.edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030612
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: send a \27SO when pressing Ctrl-e
References: <cd17ed36.0306190913.2719a13@posting.google.com>
In-Reply-To: <cd17ed36.0306190913.2719a13@posting.google.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 27
Message-ID: <nfmIa.16$IA3.113962@twister.nyc.rr.com>
Date: Thu, 19 Jun 2003 17:18:11 GMT
NNTP-Posting-Host: 66.108.138.151
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1056043091 66.108.138.151 (Thu, 19 Jun 2003 13:18:11 EDT)
NNTP-Posting-Date: Thu, 19 Jun 2003 13:18:11 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14407

   ESC [ S O

is

   \{27}[SO

not

   \27SO



Jerry wrote:
> Is there any way to send the ESC[SO (\27SO) when pressing CTRL-e keys?
>  I've tried
> 
> set key \5 \27SO  (the \5 key was given to me when I just typed in set
> key and enter.  It asked "Which key to define".  I went ahead and
> pressed CTRL-E gave me just \5).  It might be that \5 is just the ctrl
> key ;).
> Can anyone help?  I am also willing to change the Linux Keymapping if
> it is not feasible in Kermit.
> Thank you all for your help,
> Jerry
> 
> PS: the OS is Linux 7.3 and the kermit version is 7.*.*



From KentMartin@TexasHealth.org Thu Jun 19 16:38:41 EDT 2003
Article: 14408 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed!news.maxwell.syr.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: KentMartin@TexasHealth.org (Kent W. Martin)
Newsgroups: comp.protocols.kermit.misc
Subject: Access to all lines of an FTP multi-line reply
Date: 19 Jun 2003 13:32:49 -0700
Organization: http://groups.google.com/
Lines: 26
Message-ID: <b97068c6.0306191232.37ef0ff0@posting.google.com>
NNTP-Posting-Host: 216.61.195.1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1056054770 4849 127.0.0.1 (19 Jun 2003 20:32:50 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 19 Jun 2003 20:32:50 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14408

I'm using the FTP client in Kermit 95 2.1.3 on Windows XP.  The FTP
server to which I'm connected is issuing multi-line replies:

 PUT T1H4CPPZ (text) (32760092 bytes)---> PASV
227 Entering Passive Mode (167,99,56,239,135,132).
---> STOR T1H4CPPZ
150 Sending file to member T1H4CPPZ in file T1H4CPPZ in library
DOWNLOADA.
426-Records written to file T1H4CPPZ in library DOWNLOADA have been
truncated. Data in file may not be valid.
426 Data transfer ended.
: MESSAGE: Data transfer ended.

According to section 4.2 (FTP replies) at
ftp://ftp.isi.edu/in-notes/rfc959.txt the format of this multi-line
reply is correct.

In K95 \v(ftp_code) is correctly getting set to 426.  However,
\v(ftp_message) is getting set to "Data transfer ended.".  How can I
access the "Records written to file yadda, yadda, yadda" part of the
message?

BTW, I know why the server is issuing the message about the file
having been truncated.  That's not what I'm trying to fix.

Kent


From fdc@columbia.edu Thu Jun 19 16:49:02 EDT 2003
Article: 14409 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Access to all lines of an FTP multi-line reply
Date: 19 Jun 2003 16:48:40 -0400
Organization: Columbia University
Lines: 46
Message-ID: <bct7j8$je3$1@watsol.cc.columbia.edu>
References: <b97068c6.0306191232.37ef0ff0@posting.google.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1056055721 29036 128.59.39.139 (19 Jun 2003 20:48:41 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 19 Jun 2003 20:48:41 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14409

In article <b97068c6.0306191232.37ef0ff0@posting.google.com>,
Kent W. Martin <KentMartin@TexasHealth.org> wrote:
: I'm using the FTP client in Kermit 95 2.1.3 on Windows XP.  The FTP
: server to which I'm connected is issuing multi-line replies:
: 
:  PUT T1H4CPPZ (text) (32760092 bytes)---> PASV
: 227 Entering Passive Mode (167,99,56,239,135,132).
: ---> STOR T1H4CPPZ
: 150 Sending file to member T1H4CPPZ in file T1H4CPPZ in library
: DOWNLOADA.
: 426-Records written to file T1H4CPPZ in library DOWNLOADA have been
: truncated. Data in file may not be valid.
: 426 Data transfer ended.
: : MESSAGE: Data transfer ended.
: 
: According to section 4.2 (FTP replies) at
: ftp://ftp.isi.edu/in-notes/rfc959.txt the format of this multi-line
: reply is correct.
: 
: In K95 \v(ftp_code) is correctly getting set to 426.  However,
: \v(ftp_message) is getting set to "Data transfer ended.".  How can I
: access the "Records written to file yadda, yadda, yadda" part of the
: message?
: 
: BTW, I know why the server is issuing the message about the file
: having been truncated.  That's not what I'm trying to fix.
: 
When there are multiple lines in a message, Kermit saves only the last
one (as you noticed).  If there are multiple messages, Kermit saves only
the last one.

If a message can have 2 lines, it can have 2 million; there's no good way
to save everything when there's no limit on what might have to be saved.

Similarly if there are multiple replies.

I suppose it would be possible to add an option to log FTP server replies
to a file, but then you'd have to open the file and read it to get the
messages out.  But if that's OK with you, then you can do it already, like
this (assuming you're using C-Kermit):

  log debug {| grep "^FTP" > ftp.log}

and then everything you want is in ftp.log.

- Frank


From snaple@earthlink.net Fri Jun 20 14:18:46 EDT 2003
Article: 14410 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!headwall.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: snaple@earthlink.net (Jerry)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: send a \27SO when pressing Ctrl-e
Date: 20 Jun 2003 08:50:22 -0700
Organization: http://groups.google.com/
Lines: 36
Message-ID: <cd17ed36.0306200750.202d975c@posting.google.com>
References: <cd17ed36.0306190913.2719a13@posting.google.com> <nfmIa.16$IA3.113962@twister.nyc.rr.com>
NNTP-Posting-Host: 64.240.66.249
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1056124223 4298 127.0.0.1 (20 Jun 2003 15:50:23 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 20 Jun 2003 15:50:23 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14410

Thank you all for your help.  It worked.. my mistake was doing the
following:
set key \5 \27SO 

where the HPUX command was \27OS if you don't pay attention, you can
miss how SO was backwards.  It was supposed to be OS.
again, thank you guys for the help.
Jerry

Jeffrey Altman <jaltman@columbia.edu> wrote in message news:<nfmIa.16$IA3.113962@twister.nyc.rr.com>...
> ESC [ S O
> 
> is
> 
>    \{27}[SO
> 
> not
> 
>    \27SO
> 
> 
> 
> Jerry wrote:
> > Is there any way to send the ESC[SO (\27SO) when pressing CTRL-e keys?
> >  I've tried
> > 
> > set key \5 \27SO  (the \5 key was given to me when I just typed in set
> > key and enter.  It asked "Which key to define".  I went ahead and
> > pressed CTRL-E gave me just \5).  It might be that \5 is just the ctrl
> > key ;).
> > Can anyone help?  I am also willing to change the Linux Keymapping if
> > it is not feasible in Kermit.
> > Thank you all for your help,
> > Jerry
> > 
> > PS: the OS is Linux 7.3 and the kermit version is 7.*.*


From jaltman@columbia.edu Sat Jun 21 11:41:29 EDT 2003
Article: 14411 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: jaltman@columbia.edu (Jeffrey Altman)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: HTTP Proxy in ckermit
Date: 20 Jun 2003 22:47:50 -0400
Organization: Columbia University
Lines: 46
Message-ID: <bd0h0m$3cv$1@watsol.cc.columbia.edu>
References: <f270e7b1.0306121124.4e268ecd@posting.google.com> <bcbt1g$2ph$1@watsol.cc.columbia.edu> <f270e7b1.0306130713.2ecc7069@posting.google.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1056163671 12792 128.59.39.139 (21 Jun 2003 02:47:51 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 21 Jun 2003 02:47:51 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14411

In article <f270e7b1.0306130713.2ecc7069@posting.google.com>,
mchamber <michel.chamberland@jtax.com> wrote:
: It looks like there is still quite a bit of bugs in the http proxy
: code, for example the user variable in http_connect (ckcnet.c) is set
: to "" so the if (user) always return true, therfore a
: Proxy-authorization and Extension header is always sent even if
: authentication is not desired. 

The bug is in ckuus3.c.  When there is no /USER: provided when
setting SET TCP HTTP-PROXY the tcp_http_proxy_user variable should be
NULL.

: The /AGENT argument to http commands
: seems to have no effect on the headers sent to the server (its always
: C-Kermit). 

This was fixed in dohttp().  HTTP /AGENT:agent OPEN ... now utilizes
the specified agent string

: An other problem i found is that the proxy code only
: support the CONNECT call but this call is not OK with our proxy
: because they dont want us to stream anything throught the proxy. It
: does support however keeping the connection alive for multiple POST
: and GET. I guess ill have to figure out the kermit code and try to fix
: it or am I not using kermit right?

The HTTP PROXY support is designed to be used for streaming connections
such as TELNET and FTP through the firewall.  That is why the HTTP 
CONNECT functionality was implemented.

I'm not sure how the behavior you are requesting is supposed to work.
Can you identify which Proxy Server you are using?

If you can send a tcpdump or other network trace showing the communication
with the server I should be able to figure it out.

Jeffrey Altman
Volunteer Kermit Developer



-- 
 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 Sat Jun 21 11:42:59 EDT 2003
Article: 14412 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: HTTP Proxy in ckermit
Date: 21 Jun 2003 11:42:40 -0400
Organization: Columbia University
Lines: 10
Message-ID: <bd1udg$kes$1@watsol.cc.columbia.edu>
References: <f270e7b1.0306121124.4e268ecd@posting.google.com> <bcbt1g$2ph$1@watsol.cc.columbia.edu> <f270e7b1.0306130713.2ecc7069@posting.google.com> <bd0h0m$3cv$1@watsol.cc.columbia.edu>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1056210161 17836 128.59.39.139 (21 Jun 2003 15:42:41 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 21 Jun 2003 15:42:41 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14412

In article <bd0h0m$3cv$1@watsol.cc.columbia.edu>,
Jeffrey Altman <jaltman@columbia.edu> wrote:
: 
: (about fixes to HTTP /AGENT and /USER switches...)
:
The fixes are available here:

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

- Frank


From kleine@fh-jena.de Sun Jun 22 12:57:34 EDT 2003
Article: 14413 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed!fu-berlin.de!news.uni-leipzig.de!news.uni-jena.de!news.fh-jena.de!not-for-mail
From: Prof Karl Kleine <kleine@fh-jena.de>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: cutape
Date: Sun, 22 Jun 2003 10:53:23 +0000 (UTC)
Organization: Fachhochschule Jena, Germany
Lines: 33
Sender: Prof Karl Kleine <kleine@hoare.gw.fh-jena.de>
Message-ID: <bd41r3$tbh$1@beta.szi.fh-jena.de>
References: <3834495c.0306031601.34eb05ba@posting.google.com> <bbl8ah$pvn$1@watsol.cc.columbia.edu> <3834495c.0306041602.353fa8d6@posting.google.com> <bbnien$ebu$1@watsol.cc.columbia.edu> <3834495c.0306051454.29aa1356@posting.google.com>
NNTP-Posting-Host: hoare.gw.fh-jena.de
X-Trace: beta.szi.fh-jena.de 1056279203 30065 194.94.38.12 (22 Jun 2003 10:53:23 GMT)
X-Complaints-To: news@beta.szi.fh-jena.de
NNTP-Posting-Date: Sun, 22 Jun 2003 10:53:23 +0000 (UTC)
User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (Linux/2.2.16 (i686))
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14413

Joyce <joyce_haferman@yahoo.com> wrote:
> fdc@columbia.edu (Frank da Cruz) wrote in message news:<bbnien$ebu$1@watsol.cc.columbia.edu>...
>> In article <3834495c.0306041602.353fa8d6@posting.google.com>,
>> Joyce <joyce_haferman@yahoo.com> wrote:
>> : Yes, I really need to write an IBM mainframe format tape.  So, it
	[....]
>> If you are not a programmer, then perhaps some kind soul reading this
>> thread will help.  The programs in question are:
>> 
>> cutape.c: Writes tapes in ANSI D or OS SL VB format:
>>   ftp://kermit.columbia.edu/kermit/tu/tuuwao.c
>> 
>> ostape.c: Reads OS SL VB tape:
>>   ftp://kermit.columbia.edu/kermit/tu/tuuros.c
>> 
>> - Frank

> Thanks for the details of how the tape software works - I'll see if
> one of the programmers at work can fix it for Solaris.


	google in usenet groups for my old posting of
	"sltape", which does exactly what you need. It
	reads and writes both ANSI and IBM/MVS tapes
	on Unix systems. Written in C (K&R).

kl

________________________________________________________
Prof. Karl Kleine          http://www.fh-jena.de/~kleine
Fachhochschule Jena        kleine@fh-jena.de
Carl-Zeiss-Promenade 2     +49-3641-205-502 [fax -503]
D-07745 Jena, Germany


From kleine@fh-jena.de Sun Jun 22 12:57:57 EDT 2003
Article: 14414 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!nycmny1-snh1.gtei.net!news.gtei.net!newsfeed!fu-berlin.de!news.uni-leipzig.de!news.uni-jena.de!news.fh-jena.de!not-for-mail
From: Prof Karl Kleine <kleine@fh-jena.de>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: cutape
Date: Sun, 22 Jun 2003 11:32:58 +0000 (UTC)
Organization: Fachhochschule Jena, Germany
Lines: 2461
Sender: Prof Karl Kleine <kleine@hoare.gw.fh-jena.de>
Message-ID: <bd445a$tbh$2@beta.szi.fh-jena.de>
References: <3834495c.0306031601.34eb05ba@posting.google.com> <bbl8ah$pvn$1@watsol.cc.columbia.edu> <3834495c.0306041602.353fa8d6@posting.google.com> <bbnien$ebu$1@watsol.cc.columbia.edu> <3834495c.0306051454.29aa1356@posting.google.com> <bd41r3$tbh$1@beta.szi.fh-jena.de>
NNTP-Posting-Host: hoare.gw.fh-jena.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: beta.szi.fh-jena.de 1056281578 30065 194.94.38.12 (22 Jun 2003 11:32:58 GMT)
X-Complaints-To: news@beta.szi.fh-jena.de
NNTP-Posting-Date: Sun, 22 Jun 2003 11:32:58 +0000 (UTC)
User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (Linux/2.2.16 (i686))
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14414

Prof Karl Kleine <kleine@fh-jena.de> wrote:

> 	google in usenet groups for my old posting of
> 	"sltape", which does exactly what you need. It
> 	reads and writes both ANSI and IBM/MVS tapes
> 	on Unix systems. Written in C (K&R).

> kl

	oops... sltape was the name of the original version.
	better look for slt.c, resp. slt-20.c (the version 2)
	that I made available. google/usenet has a shar-archive.

	but to make it even easier for you, I digged it from my
	own archives, and include it at the end of this message.

________________________________________________________
Prof. Karl Kleine          http://www.fh-jena.de/~kleine
Fachhochschule Jena        kleine@fh-jena.de
Carl-Zeiss-Promenade 2     +49-3641-205-502 [fax -503]
D-07745 Jena, Germany


=============================================================================

#!/bin/sh
# This is a shell archive (produced by shar 3.49)
# To extract the files from this archive, save it to a file, remove
# everything above the "!/bin/sh" line above, and type "sh file_name".
#
# made 06/30/1994 19:27 UTC by kleine@bullerbue
# Source directory /usr/fhj/gw/kleine/binsrc
#
# existing files will NOT be overwritten unless -c is specified
#
# This shar contains:
# length  mode       name
# ------ ---------- ------------------------------------------
#   6986 -rw-r----- slt-20.1
#  43183 -rw-r----- slt-20.c
#
# ============= slt-20.1 ==============
if test -f 'slt-20.1' -a X"$1" != X"-c"; then
	echo 'x - skipping slt-20.1 (File already exists)'
else
echo 'x - extracting slt-20.1 (Text)'
sed 's/^X//' << 'SHAR_EOF' > 'slt-20.1' &&
.\" pltroff -manl $1
.tr ~"
.if t .ds i \(fm\(fm
.if n .ds i ""
.TH SLT 1 FZI-Karlsruhe
.SH NAME
slt \- standard labelled tape processing
.SH SYNOPSIS
.B slt
[
.B -i
]
[
.B -t
tapefile
]
.B -l
.PP
.B slt
[
.B -i
]
[
.B -t
tapefile
]
[
.B -s
]
.B -x
[
file ...
]
.PP
.B slt
[
.B -i
]
[
.B -t
tapefile
]
[
.B -s
]
.B -c
volser owner file/format ...
.SH DESCRIPTION
.I Slt
creates, reads, and lists industry standard \(12" magnetic tapes
according to the
.B "ANSI\|X3.27-1987"
standard entitled
.BR "Magnetic tape labels and file structure for information interchange" .
Internationally, this standard was also adopted by ISO as
.B "ISO\|1001"
and in Germany by DIN as
.BR "DIN\|66029" .
Slt also reads and writes tapes according other editions of these standards.
.PP
If
.I slt
is invoked with a first argument
.BR -i ,
the tape format is IBM/OS standard labelled,
which is similar to the ANSI format, and documented in the IBM manual
.BR "OS\|/\|VS Tape Labels" ,
GC26-3795.
IBM tapes are in the EBCDIC character set.
.PP
.I Slt
is intended for interchange of textual information between
a very wide variety of machines and operating systems,
structured as sequence of lines, generally called records.
In the Unix world a record is a sequence of characters
separated by newline characters.
The characteristics of magnetic tape drives require to put several
records into a larger unit called a block which can be stored on tape.
The relation between blocks and records is called a format, which may be
fixed, where all record have the same length, or variable, where additional
information is stored to describe the length of each record.
.PP
When writing a file onto tape in fixed format, each record is padded
with blanks to the record length, resp. truncated to that length.
Truncations are reported.
Reading a fixed format file reverses that process by removing all trailing
blanks from a line.
.PP
There are three tape processing options:
.TP
.B "-l"
List contents of tape: Label, owner, and then for each file on the tape,
its position, its name, number of blocks, record format,
block and record sizes, creation and expiration dates
is written to standard output.
.TP
.B "-x"
Extract files from tape:
If specified without further parameters, all files are extracted from the tape.
Names are taken from the file header label and translated to lowercase letters.
For non-BSD Unix systems, truncation to 14 characters takes place.
.TP
.BI "-x" "\ \ filename ..."
Extract specific files from tape:
The first file is give the first name provided, the second file the second
name, until the list of names is exhausted.
Files on tape can be skipped by specifying
.I "/dev/null"
or some other junk name as output filename.
.TP
.BI "-c" "\ \ volser\ \ owner\ \ filename/format ..."
Create new tape:
Write a volume label with the volume serial number
.I volser
(max. 6 characters)
and owner name
.I owner
(max. 10 characters).
.I Volser
is also known as "the tape label".
Then append files or change format for files following.
Format and file secifications may freely be mixed.
Unix filenames are stripped of all directory prefixes and are
translated to uppercase.
Wildcarding is supported by shell expansion of filenames prior to execution of
.IR slt .
.PP
Format specifications for newly created tapes:
.TP
.B -ff
Fixed (blocked) format. See above for padding and truncation.
.TP
.B -fd
Variable record format (ANSI).
The record length specifies the maximum size of a line of text.
.TP
.B -fv
Variable record format (IBM).
The
.B -fv
and
.B -fd
formats are synonyms.
.TP
.B -fu
The record format is undefined.
There is no interpretation of the data written to tape; it is just a
byte stream written to tape in blocks of the size specified.
.TP
.BI -b n
The block length is set to
.IR n ,
which must be in the range 18 to 2048 for ANSI tapes.
IBM tapes can have a larger block size.
.TP
.BI -r n
The record length is set to
.IR n .
For fixed (blocked) format, the blocksize must be a multiple
of the record length.
.PP
New settings are reported when the next file is written.
Default format is ANSI standard, blocksize 2048, recordlength 512,
variable record format.
For IBM tapes, the default is blocksize 1600, recordlength 80,
fixed record format.
.PP
An alternate tape drive can be specified by the
.B -t
.I tapefile
option, where
.I tapefile
must be a raw device (character special file) specification for a tape drive,
like
.IR /dev/rmt2 .
.PP
By default,
.I slt
writes a VOL1 header according to the 4th edition (ANSI X3.27-1987) of the
standard. You can also select previous editions by suffixing the
.B -c
option with the edition number, e.g.
.BI -c 3.
.PP
Usually
.I slt
reports what it is doing by messages written to standard output.
You can redirect or
.I tee
this output to a file to get a log what's on the tape,
and send this log with the tape to other sites.
Logging can be suppressed by the silence option
.BR -s .
.PP
Invoking
.I slt
with the help option
.B -h
will print a brief summary of commands.
.PP
When a tape is given to you with the notice that is follows the standard, but
.I slt
does not agree,
the debugging option
.B -D
in front of
.B -l
will log the tape labels.
For interpretation, you should be familiar with the standard definitions.
(If unsuccessful or in doubt, you might also try the
.I analtape
utility by the same author).
.PP
All option flags may also be specified in uppercase.
.SH EXAMPLES
.TP 15
.I "slt\ \ -i\ \ -l"
List all files on an IBM tape.
.TP 15
.I "slt\ \ -x\ \ x\ \ x\ \ x\ \ x\ \ f5\ \ f6"
Skip four files by reading them all into a scratch file
.I x
and then read the 5th and 6th file as files
.I f5
and
.IR f6 .
.TP 15
.I "slt\ \ -c\ \ mytape\ \ whizzard"
Initialize the tape with only a volume label
.I MYTAPE
for owner
.IR WHIZZARD .
Note that these values are always written in uppercase in tape labels.
.TP 15
.I "slt\ \ -c\ \ slt\ \ kleine\ \ slt.c\ \ slt.1"
Create an ANSI tape, labelled
.I SLT
for owner
.I KLEINE
containing two files
.I SLT.C
(the sourcetext of the slt program)
and
.I SLT.1
(the nroff/troff input text for the manual page you are just reading)
in the standard format.
.TP 15
.I "slt\ \ -i\ \ -c\ \ xyz789\ \ poorguy\ \ -ff\ \ -b4000\ \ -r80\ \ punched\ \ cards"
Create an IBM/OS tape for
.I POORGUY
labelled
.I XYZ789
with two files
.I PUNCHED
and
.I CARDS
in 80/4000 fixed blocked format.
.SH FILES
/dev/rmt0
.SH AUTHOR
Karl Kleine, Forschungszentrum Informatik, Karlsruhe, Germany,
(kleine@fzi.de), 1985 to 1992, based on an earlier program
.I sltape
by H. M. Stahl, KUN Nijmegen (NL)
.SH SHORTCOMINGS
.I Slt
does not support multi-volume files, volume sets, spanned records.
Furthermore, only complete tapes can be written;
there is no support for adding files to an existing sequence of files
on a tape.
.I Slt
is intended for interchange of textual information,
and has not been tested on binary information.
The character code translation for ibm tapes may differ from what
siemens or ibm expect.
X
SHAR_EOF
chmod 0640 slt-20.1 ||
echo 'restore of slt-20.1 failed'
Wc_c="`wc -c < 'slt-20.1'`"
test 6986 -eq "$Wc_c" ||
	echo 'slt-20.1: original size 6986, current size' "$Wc_c"
fi
# ============= slt-20.c ==============
if test -f 'slt-20.c' -a X"$1" != X"-c"; then
	echo 'x - skipping slt-20.c (File already exists)'
else
echo 'x - extracting slt-20.c (Text)'
sed 's/^X//' << 'SHAR_EOF' > 'slt-20.c' &&
#
/*************************************************************************
**************************************************************************
***
***	s l t 		standard labelled tape
***
***	according to	- ANSI X3.27-1978  (DIN 66029)
***			- IBM OS/VS Tape Labels (IBM Doc GC-26-3795-3)
***
***	written by	Karl Kleine, FZI Karlsruhe
***	adapted from	'sltape' by H.M.Stahl,
***			Kath. University of Nijmegen (NL), Informatika
***
***	version		march 1992, see program history and PROGID below
***
***	usage
***		listing contents of tape
***
***			slt [ -i ] -l
***
***		creating a new tape (writing disk to tape)
***
***			slt [ -i ] -c volser owner ffs
***
***			where	volser	is volume serial number (6 chars)
***
***				owner	is owner (10 chars)
***
***				ffs	is a format / file name sequence
***
***				format	consists of three specs:
***					record format (-f), block (-b),
***					and record length (-r) as follows:
***
***					-ff	fixed (blocked) format
***					-fv	variable format (ibm)
***					-fd	variable format (ansi)
***					-fu	undefined
***					-bn	specifies blocklength,
***						where n is 18 .. 2048
***					-rn	specifies record length,
***						where n is a suitable number
***
***					default format is ansi d format with
***					blocksize 2048, recordlength 512.
***
***				file name sequence is a sequence of unix
***				names. if pathnames are specified, directory
***				prefixes are stripped.
***
***			example:  slt -i -c slt kleine -ff -b2000 -r80 slt.c
***				this creates a new tape holding one file
***				in ibm/os format, fixed blocked 2000/80.
***
***			the -c option can be followed by a digit 1 to 4,
***			defining the standard version. in essence we follow
***			the common rules, als already defined in version 1
***			of the standard. default is version / level 4 (1987).
***			4:	ANSI X3.27-1987		DIN 66029 Aug 1987
***			3:	ANSI X3.27-1978		DIN 66029 Mai 1979
***			2:				DIN 66029 Jun 1976
***			1:	ANSI X3.27-1969		DIN 66029 Aug 1972
***
***		extracting files from tape
***
***			slt [ -i ] -x file1 file2 ...
***
***				extracts as many files as given from tape
***				and assigns the names specified to them.
***
***			slt [ -i ] -x
***
***				if no names are specified, all files are
***				extracted. attention: the file names on tape
***				are 17 characters long, whereas unix (std)
***				names are are only 14 chars long. this may
***				result in duplicate names and overwriting
***				of files previously extracted. in this case
***				you have to resort to explicit extraction.
***
***		spefication of an alternate tape drive
***
***			slt [ -i ] -t tapedrive ....
***
***		tapedrive must be a raw device which specifies a tape drive,
***		e.g. /dev/rmt2, /dev/rmt0h, whatever it's called in your UNIX
***
***		the -s option switches to silent mode. by default, slt will
***		log on standard output what is is doing in some detail.
***
***		the option -i specifies IBM/OS tape standard to be used in
***		contrast to the default ANSI tape standard. if specified,
***		this option must be given first.
***
***		the debug option -D reports details of tape labels
***		in case of doubt. useful when slt refuses to read a tape
***		which was said to adhere to one of the standards.
***
***		all options are also accepted in upper case.
***
***		volser, owner, and file names are all translated to
***		upper case when writing them to tape. similarly,
***		file names are converted to lower case on extraction.
***
**************************************************************************
*************************************************************************/
X
X
/* revision history:
**	V1.0	08-FEB-1985	Karl Kleine, FZI KA
**				prototype finished, put into use on
**				PCS - F2 of GMDKA at FZI.
**	V1.1	31-MAY-1985	blocksize enlarged for ibm tapes,
**				minor cleanups
**				unix manual page (slt.1) written
**	V1.2	10-MAR-1987	sun version / just the program id
**	V1.3	28-APR-1989	enlarged temp buf, silly, but shortcut.
**	V1.4	26-APR-1990	SunOS 4 version
**
**	V2.0	23-MAR-1992	cleanup, removal of old PCS hacks,
**				tape selection and proper tape ioctl handling
*/
X
#define	PROGID	"V2.0 of 23-MAR-1992"
X
/* one of the symbols BSD42, SUNOS3, SUNOS4, ULTRIX4 must be defined.
/* add more machines as needed
*/
X
#define K	1024
X
#ifdef	BSD42
#define	SYSID	"SLT20-BSD42"
#define	TAPE	"/dev/nrmt0"
#define UBLKS	1024
#define	TMPSIZ	32*K
#define	SETUP	1
#endif
X
#ifdef	SUNOS3
#define	SYSID	"SLT20-SUNOS3"
#define	TAPE	"/dev/nrmt0"
#define	UBLKS	1024
#define	TMPSIZ	32*K
#define	SETUP	1
#endif
X
#ifdef	SUNOS4
#define	SYSID	"SLT20-SUNOS4"
#define	TAPE	"/dev/nrmt0"
#define	UBLKS	4*K
#define	TMPSIZ	32*K
#include <sys/types.h>
#define	SETUP	1
#endif
X
#ifdef	ULTRIX4
#define	SYSID	"SLT20-ULTRIX4"
#define	TAPE	"/dev/nrmt0h"
#define	UBLKS	4*K
#define	TMPSIZ	32*K
#define	SETUP	1
#endif
X
/* a generic definition, check if this fits you, or make another entry */
X
#ifndef SETUP
#define	SYSID	"SLT20-UNIX"
#define TAPE	"/dev/nrmt0"
#define	UBLKS	1024
#define	TMPSIZ	32*K
#define	SETUP	1
#endif
X
X
/*************************************************************************
***	label field definitions
*************************************************************************/
X
X				/* constants for all tape labels */
#define	LABLEN	80
#define MAXLABLEN	512
#define	LIDPOS	0
#define	LIDLEN	4
X				/* constants for VOL label */
#define	SERPOS	4
#define SERLEN	6
#define VR1POS	10
#define	OWNPOS	41
#define OWNLEN	10
#define LSLPOS	79
#define LSLLEN	1
X				/* constants for HDR / EOF 1 label */
#define	DSNPOS	4
#define	DSNLEN	17
#define	DSSRPOS	21
#define DSSRLEN	6
#define	VSSNPOS	27
#define	VSSNLEN	4
#define	DSSNPOS	31
#define DSSNLEN	4
#define	GENNPOS	35
#define GENNLEN	4
#define	GVNPOS	39
#define GVNLEN	2
#define	CDPOS	41
#define CDLEN	6
#define	EDPOS	47
#define EDLEN	6
#define	DSSPOS	53
#define	BCPOS	54
#define BCLEN	6
#define	SCPOS	60
#define SCLEN	13
X				/* constants for HDR / EOF 2 label */
#define	RFPOS	4
#define RFLEN	1
#define	BLPOS	5
#define	BLLEN	5
#define	RLPOS	10
#define	RLLEN	5
#define	TDPOS	15
#define	DSPPOS	16
#define	JIPOS	17
#define	JILEN	17
#define	TRTPOS	34
#define	TRTLEN	2
#define	PCCPOS	36
#define	R1POS	37
#define	BAPOS	38
#define	R2POS	39
#define	R2LEN	41
#define BOPOS	50
X
X
/*************************************************************************
***	character translation tables  ASCII <--> EBCDIC
*************************************************************************/
X
char	etoa[] =				/* EBCDIC to ASCII */
{
X	0000,0001,0002,0003,0234,0011,0206,0177,
X	0227,0215,0216,0013,0014,0015,0016,0017,
X	0020,0021,0022,0023,0235,0205,0010,0207,
X	0030,0031,0222,0217,0034,0035,0036,0037,
X	0200,0201,0202,0203,0204,0012,0027,0033,
X	0210,0211,0212,0213,0214,0005,0006,0007,
X	0220,0221,0026,0223,0224,0225,0226,0004,
X	0230,0231,0232,0233,0024,0025,0236,0032,
X	0040,0240,0241,0242,0243,0244,0245,0246,
X	0247,0250,0133,0056,0074,0050,0053,0041,
X	0046,0251,0252,0253,0254,0255,0256,0257,
X	0260,0261,0135,0044,0052,0051,0073,0136,
X	0055,0057,0262,0263,0264,0265,0266,0267,
X	0270,0271,0174,0054,0045,0137,0076,0077,
X	0272,0273,0274,0275,0276,0277,0300,0301,
X	0302,0140,0072,0043,0100,0047,0075,0042,
X	0303,0141,0142,0143,0144,0145,0146,0147,
X	0150,0151,0304,0305,0306,0307,0310,0311,
X	0312,0152,0153,0154,0155,0156,0157,0160,
X	0161,0162,0313,0314,0315,0316,0317,0320,
X	0321,0176,0163,0164,0165,0166,0167,0170,
X	0171,0172,0322,0323,0324,0325,0326,0327,
X	0330,0331,0332,0333,0334,0335,0336,0337,
X	0340,0341,0342,0343,0344,0345,0346,0347,
X	0173,0101,0102,0103,0104,0105,0106,0107,
X	0110,0111,0350,0351,0352,0353,0354,0355,
X	0175,0112,0113,0114,0115,0116,0117,0120,
X	0121,0122,0356,0357,0360,0361,0362,0363,
X	0134,0237,0123,0124,0125,0126,0127,0130,
X	0131,0132,0364,0365,0366,0367,0370,0371,
X	0060,0061,0062,0063,0064,0065,0066,0067,
X	0070,0071,0372,0373,0374,0375,0376,0377,
};
X
char	atoe[] =				/* ASCII to EBCDIC */
{
X	0000,0001,0002,0003,0067,0055,0056,0057,
X	0026,0005,0045,0013,0014,0015,0016,0017,
X	0020,0021,0022,0023,0074,0075,0062,0046,
X	0030,0031,0077,0047,0034,0035,0036,0037,
X	0100,0117,0177,0173,0133,0154,0120,0175,
X	0115,0135,0134,0116,0153,0140,0113,0141,
X	0360,0361,0362,0363,0364,0365,0366,0367,
X	0370,0371,0172,0136,0114,0176,0156,0157,
X	0174,0301,0302,0303,0304,0305,0306,0307,
X	0310,0311,0321,0322,0323,0324,0325,0326,
X	0327,0330,0331,0342,0343,0344,0345,0346,
X	0347,0350,0351,0112,0340,0132,0137,0155,
X	0171,0201,0202,0203,0204,0205,0206,0207,
X	0210,0211,0221,0222,0223,0224,0225,0226,
X	0227,0230,0231,0242,0243,0244,0245,0246,
X	0247,0250,0251,0300,0152,0320,0241,0007,
X	0040,0041,0042,0043,0044,0025,0006,0027,
X	0050,0051,0052,0053,0054,0011,0012,0033,
X	0060,0061,0032,0063,0064,0065,0066,0010,
X	0070,0071,0072,0073,0004,0024,0076,0341,
X	0101,0102,0103,0104,0105,0106,0107,0110,
X	0111,0121,0122,0123,0124,0125,0126,0127,
X	0130,0131,0142,0143,0144,0145,0146,0147,
X	0150,0151,0160,0161,0162,0163,0164,0165,
X	0166,0167,0170,0200,0212,0213,0214,0215,
X	0216,0217,0220,0232,0233,0234,0235,0236,
X	0237,0240,0252,0253,0254,0255,0256,0257,
X	0260,0261,0262,0263,0264,0265,0266,0267,
X	0270,0271,0272,0273,0274,0275,0276,0277,
X	0312,0313,0314,0315,0316,0317,0332,0333,
X	0334,0335,0336,0337,0352,0353,0354,0355,
X	0356,0357,0372,0373,0374,0375,0376,0377,
};
X
X
/*************************************************************************
***	unix system includes needed
*************************************************************************/
X
#include <time.h>
#include <stdio.h>
#include <fcntl.h>
#include <errno.h>
#include <sys/ioccom.h>
#include <sys/mtio.h>
X
X
/*************************************************************************
***	global variables
*************************************************************************/
X
int operation;				/* kind of operation wanted	*/
#define NOOPER		0
#define	CREATAPE	1
#define	READTAPE	2
#define	LISTTAPE	3
X
int standard;				/* which standard ?		*/
#define	ANSISTD	0
#define	IBMSTD	1
char *stdlevel;				/* ANSI std level; default "4"	*/
X
char *tapename;				/* name of tape device 		*/
int tapefid;				/* unix file identifier for it	*/
X
char *volser;				/* volume serial number		*/
char *owner;				/* tape owner name		*/
int fseqno;				/* file sequence number on tape	*/
int recfm;				/* record format		*/
#define	FIXED	'f'
#define	VAR	'v'
#define AVAR	'd'
#define UNDEF	'u'
int blksize;				/* blocksize			*/
int lrecl;				/* record length		*/
int fchange;				/* any of recfm, blksize, lrecl	*/
X					/* changed? needs reporting	*/
int truncated;				/* no of truncated records      */
X
X					/* extra space at end of buffer	*/
X					/* for NULL chars (printf %s)	*/
char vollab[LABLEN+2];			/* volume label buffer		*/
char hdr1lab[LABLEN+2];			/* HDR1 / EOF1 buffer		*/
char hdr2lab[LABLEN+2];			/* HDR2 / EOF2 buffer		*/
X
char temp[TMPSIZ];			/* temporary string buffer	*/
X					/* indecently large, should be	*/
X					/* allocated dynamically, but..	*/
X
int diskfid;				/* unix file identifier for 	*/
X					/* disk file to read / write	*/
X
long clock;				/* see time(2), resp. ctime(3)	*/
int verbose;				/* report details flag		*/
int debug;				/* there is always a bug...	*/
X
X
/*************************************************************************
***	main program
*************************************************************************/
X
main (argc, argv)
X	int argc;
X	char *argv[];
{
X	register int i;
X	register int c;
X	char *ctime();
X	char std;
X
X	/* check for legal configuration data first */
X	if (sizeof(SYSID) > 13) {
X		printf (stderr, "Systemid %s not ANSI X3.27 conformant (>13)\n",
X			SYSID);
X		exit (-1);
X	}
X
X	/* identify yourself and tell the time (for a possible log) */
X	time (&clock);
X	printf ("slt %s / %s run at %s\n", PROGID, SYSID, ctime (&clock));
X
X	/* set defaults */
X	tapename = TAPE;
X	operation = NOOPER;		/* none specified yet */
X	standard = ANSISTD;		/* assume ANSI standard */
X	stdlevel = "4";
X	fchange = 1;			/* set format */
X	recfm = AVAR;
X	blksize = 2048;
X	lrecl = 512;
X	verbose = 1;			/* report by default */
X	fseqno = 0;			/* no file touched yet */
X	debug = 0;
X
X	/* go thru argument list */
X	for (i = 1; i < argc; i++)
X	{
X		if ( (c=argv[i][0]) == '-')
X		{
X			switch( argv[i][1])
X			{
X			case 'i':	/* -i for IBM tape std */
X			case 'I':	/* if specified, flag must be first */
X				if (i != 1)
X					stopit ("-i flag must be first");
X				/* set IBM std and associated dflt format */
X				standard = IBMSTD;
X				recfm = FIXED;	/* good old card images */
X				blksize = 1600; /* ibm seems to like it */
X				lrecl = 80;
X				break;
X
X			case 'b':	/* define blocksize */
X			case 'B':
X				blksize = atoi (&argv[i][2]);
X				fchange++;
X				break;
X
X			case 'r':	/* define record length */
X			case 'R':
X				lrecl = atoi (&argv[i][2]);
X				fchange++;
X				break;
X
X			case 'f':	/* define record format */
X			case 'F':
X				c = argv[i][2];
X				switch (c)
X				{
X					case 'f':
X					case 'F':
X						recfm = FIXED;
X						break;
X					case 'v':
X					case 'V':
X					case 'd':
X					case 'D':
X						if (standard == ANSISTD)
X							recfm = AVAR;
X						else
X							recfm = VAR;
X						break;
X					case 'u':
X					case 'U':
X						recfm = UNDEF;
X						lrecl = blksize;
X						break;
X					case 's':
X					case 'S':
X						err ("Spanned records not supported");
X						break;
X					default:
X						err ("Bad format spec");
X				}
X				fchange++;
X				break;
X
X			case 'c':	/* create a new tape */
X			case 'C':
X				std = (char)argv[i][2];
X				if ('1'<=std && std<='4')
X					stdlevel[0] = std;
X				if (operation != NOOPER)
X					stopit ("Can't redefine operation");
X				operation = CREATAPE;
X				if (argc-i < 2)
X					stopit ("Missing arguments");
X				volser = argv[++i];
X				owner = argv[++i];
X				writevol ();
X				break;
X
X			case 'x':	/* extract files from tape */
X			case 'X':
X				if (operation != NOOPER)
X					stopit ("Can't redefine operation");
X				operation = READTAPE;
X				readvol1 ();
X				if ((i+1) == argc)
X				{	/* last option, read all files */
X					readall ();
X					exit (0);
X				}
X				/* otherwise, read files as names provided */
X				break;
X
X			case 'l':	/* list files on tape */
X			case 'L':
X				if (operation != NOOPER)
X					stopit ("Can't redefine operation");
X				operation = LISTTAPE;
X				readvol1 ();
X				listtape ();
X				exit (0);
X
X			case 't':	/* specify tape drive */
X			case 'T':	/* must be a raw device file */
X				tapename = argv[++i];
X				break;
X
X			case 's':	/* silent mode */
X			case 'S':
X				verbose = 0;
X				break;
X
X			case 'D':	/* debug flag - see abort handling */
X				debug++;
X				break;
X
X			case 'h':
X			case 'H':	/* online help */
X				helpme ();
X				exit (0);
X
X			default:
X				err ("bad flag - ignored");
X			}
X		}
X		else
X		{	/* handle file argument */
X			if (operation == NOOPER)
X				stopit ("No operation [l/c/x] selected");
X			else if (operation == CREATAPE)
X				writefile (argv[i]);
X			else if (operation == READTAPE)
X				readfile (argv[i]);
X			else
X				stopit ("??");
X		}
X	}
X	if (operation == CREATAPE)
X	{
X		tapewtm ();
X		tapewtm ();
X		taperew ();
X	}
X	else if (operation == NOOPER)
X	{
X		helpme ();
X	}
}
X
X
numopt (cp)
X	char *cp;
{
X	if (cp == 0)
X		return (0);
X	else
X		return (atoi(cp));
}
X
X
helpme ()
{
X	printf ("\nANSI or IBM/OS standard labelled tape processing:\n\n");
X	printf ("  slt -l			list contents of tape\n");
X	printf ("  slt -x a b c			extract 3 files as a, b, c\n");
X	printf ("  slt -x			extract all files\n");
X	printf ("  slt -c volser owner a b c	create new tape\n");
X	printf ("  slt -t rawdev [-l|-c|-x]...	use tape drive rawdev\n\n");
X	printf ("  specifying -i as first flag selects IBM OS/VS format\n\n");
X	printf ("read manual page for advanced usage!\n");
}
X
X
/***********************************************************************
***	listing file properties
***********************************************************************/
X
listtape ()
{
X	printf (
"\nseq# filename           creat expir  blocks  f blks  lrecl  created by\n");
X	printf (
X  "----------------------------------------------------------------------\n");
X	for (;;)
X	{
X		/* read hdr labels -- will finish on EOT */
X		readhdr (1);
X		if (debug)
X			printf ("\n--- reading HDR1/2:\n%80s\n%80s\n",
X				hdr1lab, hdr2lab);
X		/* skip data blocks -- to next tape mark */
X		tapefsf ();
X		if (debug)
X			printf ("--- forward skip file\n");
X		/* read eof labels and report */
X		readhdr (0);
X		if (debug)
X			printf ("--- reading EOF1/2:\n%80s\n%80s\n\n",
X				hdr1lab, hdr2lab);
X		listfile ();
X	}
}
X
X
listfile ()
{
X	/* data set seq number and data set name (filename) */
X	lstlab (hdr1lab, DSSNPOS, DSSNLEN, " ");
X	lstlab (hdr1lab, DSNPOS, DSNLEN, " ");
X
X	/* creation and expiration date (leading blank part of field) */
X	lstlab (hdr1lab, CDPOS, CDLEN, "");
X	lstlab (hdr1lab, EDPOS, EDLEN, "  ");
X
X	/* number of blocks */
X	lstlab (hdr1lab, BCPOS, BCLEN, "  ");
X
X	/* format, blocksize, record length */
X	lstlab (hdr2lab, RFPOS, RFLEN, " ");
X	lstlab (hdr2lab, BLPOS, BLLEN, " ");
X	lstlab (hdr2lab, RLPOS, RLLEN, "  ");
X	
X	/* created by */
X	lstlab (hdr1lab, SCPOS, SCLEN, "\n");
}
X
X
/*************************************************************************
***	reading and writing of files
*************************************************************************/
X
readfile (ufn)
X	char *ufn;
{
X	int format, bcount;
X	char *unixfn;
X	char *getlfnlc(), *getlfnuc();
X
X	/* next file header labels -- will finish on EOT */
X	readhdr (1);
X
X	/* select tape format */
X	recfm = getlrecfm();
X	
X	if (standard == ANSISTD)
X	{		/* encode both format and direction of transfer */
X		if (recfm == 'F')
X			format = 'f';
X		else if (recfm == 'D')
X			format = 'd';
X		else
X			format = 'u';
X	} else
X	{
X		if (recfm == 'V')
X			format = 'v';
X		else format = 'a';
X	}
X
X	fseqno++;
X	if (verbose)
X		printf ("%d.  %s  ==>  ", fseqno, getlfnuc());
X
X	if (ufn == 0)
X		/* use name on tape */
X		unixfn = getlfnlc ();
X	else
X		/* use name provided */
X		unixfn = ufn;
X
X	if (verbose)
X		printf ("%s", unixfn);
X
X	if ((diskfid = creat (unixfn, 0644)) < 0)
X		ioabort ("Can't create Unix file\n");
X
X	blksize = getlblks();
X	blksize +=  (blksize % 2);	/* must be even - stupid controller */
X
X	bcount = movefil (tapefid, diskfid, blksize, UBLKS,
X			getllrecl(), format, 0);
X
X	if (verbose)
X		printf ("  (%d tape blocks)\n", bcount);
X
X	close(diskfid);
X
X	/* read and forget eof labels */
X	readhdr (0);
X	return (1);
}
X
X
readall ()
{
X	printf ("Extracting all files on tape...\n");
X	for (;;)
X		readfile ((char *)0);
}
X
X
writefile (ufn)
X	char *ufn;
{
X	int format, bsi;
X	int bcount;
X	char *unixname;
X	char *leafname(), *getlfnuc();
X
X	if (standard == ANSISTD)
X	{		/* encode both format and direction of transfer */
X		if (recfm == FIXED)
X			format = 'F';
X		else if (recfm == VAR)
X		{
X			recfm = AVAR;
X			format = 'D';
X		}
X		else if (recfm == AVAR)
X			format = 'D';
X		else format = 0;
X	}
X	else if (recfm == VAR)
X			format = 'V';
X	else format = 'E';
X
X	if (fchange)
X	{
X		fchange = 0;
X		if (verbose)
X			tellform ();
X		if (!formatok ())
X		{
X			printf ("file %s ignored\n\n", ufn);
X			return;
X		}
X	}
X
X	/* strip directories from unix pathname */
X	unixname = leafname (ufn);
X
X	if ((diskfid = open (ufn, 0)) < 0)
X	{
X		fprintf (stderr, "Can't open file \"%s\" -- ignored\n", ufn);
X		return;
X	}
X
X	/* write header labels */
X	fseqno++;
X	mkhdr1 (unixname, fseqno, 0, 1);
X	mkhdr2 (1);
X	if (verbose)
X		printf ("%d.  %s  ==>  %s  ", fseqno, ufn, getlfnuc());
X	writehdrs ();
X
X	/* set input blocksize */
X	if ((standard == ANSISTD) && ((blksize % 512) == 0))
X		bsi = blksize;
X	else bsi = UBLKS;
X
X	/* write data blocks */
X	truncated = 0;
X	bcount = movefil (diskfid, tapefid, bsi, blksize, lrecl, format, 0);
X	tapewtm ();
X
X	close (diskfid);
X
X	if (bcount == -1)
X	{
X		tapewtm ();
X		taperew ();
X		exit (-1);
X	}
X	else
X	{
X		/* write eof labels */
X		mkhdr1 (unixname, fseqno, bcount, 0);
X		mkhdr2 (0);
X		writehdrs ();
X
X		if (debug)
X		{	printf (" written to\n");
X			listfile ();
X			printf ("\n");
X		}
X		else if (verbose)
X			printf (" (%d tape blocks)\n", bcount);
X
X		if (truncated)
X		{
X			printf ("**** %d truncated input records", truncated);
X			if (verbose || debug)
X				printf ("\n");
X			else
X				printf (" for file %s\n", ufn);
X		}
X
X		return(1);
X	}
}
X
X
formatok ()
{
X	if (recfm == FIXED)
X	{
X		if ( lrecl > 0 && blksize % lrecl)
X			stopit ("Blocksize must be multiple of record length");
X	}
X	if (recfm == VAR)
X	{
X		if (standard == ANSISTD)
X		{
X			if (blksize < 18)
X			{
X				err ("Blocksize must at least be 18 bytes");
X				blksize = 18;
X				return (0);
X			}
X			if (blksize > 2048)
X				err ("Blocksize should be upto 2048 bytes");
X		}
X		if ((blksize - lrecl) < 4)
X			stopit (
"Blocksize must be at least 4 bytes greater than record length");
X		if (lrecl < 5) 
X			stopit ("Record length too small for recfm=V");
X	}
X	return(1);
}
X
X
tellform ()
{
X	printf ("\nBlock size %d, record length %d, record format %c\n",
X		blksize, lrecl, (recfm & 0337));
}
X
X
char *
leafname (path)
X	char *path;
{
X	register char *p, *q;
X
X	p = q = path;
X	while (*p != '\0')
X		if (*p++ == '/')
X			q = p;
X	return (q);
}
X
X
/*************************************************************************
***	reading / writing tape labels
*************************************************************************/
X
readvol1 ()
{
X	char *getlvser(), *getlown();
X
X	tapeopen ();
X	if (!readlab (vollab))
X		ioabort ("Reading volume label");
X	if (isvol ())
X	{
X		printf ("Volume serial number \"%s\",  ", getlvser ());
X		printf ("tape owner \"%s\", ", getlown());
X		liststd ();
X	} else {
X		if (debug)
X			printf ("Bad volume label <%s>\n", vollab);
X		stopit ("Bad VOL1 label\n");
X	}
}
X
X
liststd ()
{
X	char *getlstd();
X
X	if (standard == ANSISTD)
X		printf ("ANSI X3.27 level %s label.\n", getlstd());
X	else
X		printf ("IBM std label.\n");
}
X
X
readhdr (hdrflag)
X	int hdrflag;
{
X	if (!readlab (hdr1lab) || !readlab (hdr2lab))
X	{
X		printf ("EOT\n");	/* eof == end of tape reached */
X		exit (0);
X	}
X	tapefsf ();			/* skip user labels and tape mark */
X	if (hdrflag)			/* header ? */
X	{
X		if (ishdr (hdr1lab) && ishdr (hdr2lab))
X			return;
X		if (debug)
X		{
X			printf ("Bad file header label(s):\n");
X			printf ("*** HDR1 ***\n%80s\n", hdr1lab);
X			printf ("*** HDR2 ***\n%80s\n", hdr2lab);
X		}
X		stopit ("Missing or badly formed header label");
X	}
X	else
X	{
X		if (iseof (hdr1lab) && iseof (hdr2lab))
X			return;
X		if (debug)
X		{
X			printf ("Bad end of file label(s):\n");
X			printf ("*** EOF1 ***\n%80s\n", hdr1lab);
X			printf ("*** EOF2 ***\n%80s\n", hdr2lab);
X		}
X		stopit ("Missing or badly formed eof label");
X	}
}
X
X
writevol ()
{
X	tapecreat ();
X	upcase (volser);
X	upcase (owner);
X	mkvol1 ();
X	writelab (vollab);
X	printf ("Volume initialized, volser \"%s\", owner \"%s\", ",
X		volser, owner);
X	liststd ();
}
X
X
writehdrs ()
{
X	writelab (hdr1lab);
X	writelab (hdr2lab);
X	tapewtm ();
}
X
X
/*************************************************************************
***	label composition
*************************************************************************/
X
mkvol1 ()
{
X	clearlab (vollab, 0, LABLEN);
X
X	/* label identifier */
X	putlab (vollab, LIDPOS, LIDLEN, "VOL1");
X
X	/* reserved field */
X	if (standard == IBMSTD)
X		putlab (vollab, VR1POS, 1, "0");
X
X	/* volume serial number */
X	putlab (vollab, SERPOS, SERLEN, volser);
X
X	/* owner of tape */
X	putlab (vollab, OWNPOS, OWNLEN, owner);
X
X	/* label standard level */
X	if (standard == ANSISTD)
X		putlab (vollab, LSLPOS, 1, stdlevel);
}
X
X
mkhdr1 (name, number, bcount, hdr)
X	char name[];		/* data det name */
X	int number;		/* data set sequence number on tape */
X	int bcount;		/* block count */
X	int hdr;		/* flag: 1 for HDR1, 0 for EOF1 */
{
X	struct tm *convtime;	/* converted time; see upm, ctime(3) */
X	int year, day;
X
X	clearlab (hdr1lab, 0, LABLEN);
X
X	/* label identifier */
X	if (hdr)
X		putlab (hdr1lab, LIDPOS, LIDLEN, "HDR1");
X	else
X		putlab (hdr1lab, LIDPOS, LIDLEN, "EOF1");
X
X	/* data set identifier */
X	putlab (hdr1lab, DSNPOS, DSNLEN, name);
X	
X	/* data set serial number */
X	putlab (hdr1lab, DSSRPOS, DSSRLEN, volser);
X
X	/* volume sequence number */
X	putlab (hdr1lab, VSSNPOS, VSSNLEN, "0001");
X
X	/* data set sequence number */
X	putlabint (hdr1lab, DSSNPOS, DSSNLEN, number);
X
X	/* generation number */
X	putlab (hdr1lab, GENNPOS, GENNLEN, "0001");
X
X	/* version number of generation */
X	putlab (hdr1lab, GVNPOS, GVNLEN, "00");
X
X	/* creation date, julian date form (year, day in year) */
X	convtime = gmtime (&clock);
X	year = convtime->tm_year;
X	day = convtime->tm_yday;
X	putlabint (hdr1lab, CDPOS+1, 2, year);
X	putlabint (hdr1lab, CDPOS+3, 3, day);
X
X	/* expiration date */
X	putlabint (hdr1lab, EDPOS+1, 2, year);
X	putlabint (hdr1lab, EDPOS+3, 3, day);
X
X	/* data set security */
X	putlab (hdr1lab, DSSPOS, 1," ");
X
X	/* block count */
X	if (hdr)
X		putlabint (hdr1lab, BCPOS, BCLEN, 0);
X	else
X		putlabint (hdr1lab, BCPOS, BCLEN, bcount);
X
X	/* system code */
X	putlab (hdr1lab, SCPOS, SCLEN, SYSID);
}
X
X
mkhdr2 (hdr)
X	int  hdr;		/* header flag, see mkhdr1 */
{
X	clearlab (hdr2lab, 0, LABLEN);
X
X	/* label identifier */
X	if (hdr)
X		putlab (hdr2lab, LIDPOS, LIDLEN, "HDR2");
X	else
X		putlab (hdr2lab, LIDPOS, LIDLEN, "EOF2");
X
X	/* record format */
X	if (recfm == FIXED)
X		putlab (hdr2lab, RFPOS, 1, "F");
X	else if (recfm == AVAR)
X		putlab (hdr2lab, RFPOS, 1, "D");
X	else if (recfm == VAR)
X		putlab (hdr2lab, RFPOS, 1, "V");
X	else
X		putlab (hdr2lab, RFPOS, 1, "U");
X
X	/* block length */
X	putlabint (hdr2lab, BLPOS, BLLEN, blksize);
X
X	/* record length */
X	putlabint (hdr2lab, RLPOS, RLLEN, lrecl);
X
X	if (standard == IBMSTD)
X	{
X		/* tape density == 1600 bpi */
X		putlab (hdr2lab, TDPOS, 1, "3");
X	
X		/* data set position */
X		putlab (hdr2lab, DSPPOS, 1, "0");
X	
X		/* job/step identification */
X		putlab (hdr2lab, JIPOS, JILEN, "STDTAPE /SLT");
X	
X		/* tape recording technique */
X		putlab (hdr2lab, TRTPOS, TRTLEN, "  ");
X	
X		/* printer control characters */
X		putlab (hdr2lab, PCCPOS, 1, " ");
X	
X		/* reserved 1 -- must be blank*/
X		putlab (hdr2lab, R1POS, 1, " ");
X	
X		/* block attributes */
X		if (blksize != lrecl)
X			putlab (hdr2lab, BAPOS, 1, "B");
X	}
X	else if (standard == ANSISTD)
X	{
X		/* buffer offset */
X		putlab (hdr2lab, BOPOS, 2, "00");
X	}
}
X
X
/*************************************************************************
***	label field access
*************************************************************************/
X
clearlab (label, start, leng)
X	char label[];
X	int start, leng;
{
X	register int i;
X	for (i = start; i < start+leng; i++)
X		label[i] = ' ';
}
X
X
putlab (label, pos, maxlen, string)
X	char label[];
X	int pos, maxlen;
X	char string[];
{
X	register int i;
X	register char c;
X	for (i = 0; i < maxlen && (c = *string++) != '\0'; i++)
X	{
X		if ( c >= 'a' && c <= 'z')	/* label in uppercase */
X			c &= ~040;
X		label[pos+i] = c;
X	}
}
X
X
putlabint (label, pos, len, num)
X	char *label;
X	int pos, len, num;
{
X	/* put integer with length 'len' to 'pos' in 'label'
X	 * insert leading zeros where needed */
X	int i, rest;
X
X	rest = num;
X	for (i=len+pos-1; i >= pos; i --)
X	{
X		label[i] = (rest % 10) + '0';
X		rest = rest / 10;
X	}
}
X
X
lstlab (label, pos, length, trailer)
X	char *label, *trailer;
X	int pos, length;
{
X	char *p;
X
X	p = &label[pos];
X	while (length--)
X		putchar (*p++);
X	printf ("%s", trailer);
}
X
X
char *
getlab (label, pos, length, lowcase)
X	char *label;
X	int pos, length, lowcase;
{
X	register int i;
X	register char c;
X
X	for ( i=0; i < length && (c = label[pos + i]) != ' '; i++)
X	{
X		if (lowcase  &&  c >= 'A' && c <= 'Z')
X			temp[i] = c + 'a' - 'A';
X		else
X			temp[i] = c;
X	}
X	temp[i] = '\0';
X	return (temp);
}
X
X
getlabint (label, pos, len)
X	char *label;
X	int pos, len;
{
X	/* read an integer from a label */
X	register int i, num;
X
X	num = 0;
X	for (i = 0; i < len; i++)
X		num = num * 10 + label[pos+i] - '0';
X	return (num);
}
X
X
getlabchar (label, pos)
X	char *label;
X	int pos;
{
X	return (label[pos]);
}
X
X
/*************************************************************************
***	specific label field access routines
*************************************************************************/
X
char *
getlvser ()
{
X	return (getlab (vollab, SERPOS, SERLEN, 0));
}
X
char *
getlown ()
{
X	return (getlab (vollab, OWNPOS, OWNLEN, 0));
}
X
char *
getlstd ()
{
X	return (getlab (vollab, LSLPOS, LSLLEN, 0));
}
X
char *
getlfnuc ()
{
X	return (getlab (hdr1lab, DSNPOS, DSNLEN, 0));
}
X
char *
getlfnlc ()
{
X	return (getlab (hdr1lab, DSNPOS, DSNLEN, 1));
}
X
getlblks ()
{
X	return (getlabint (hdr2lab, BLPOS, BLLEN));
}
X
getllrecl ()
{
X	return (getlabint (hdr2lab, RLPOS, RLLEN));
}
X
getlrecfm ()
{
X	return (getlabchar (hdr2lab, RFPOS) & 0337);
}
X
getldssn ()
{
X	return (getlabint (hdr1lab, DSSNPOS, DSSNLEN));
}
X
X
/*************************************************************************
***	reading / writing tape labels
*************************************************************************/
X
readlab (lab)
X	char *lab;
{
X	int r;
X	char *strncpy ();
X	r= read (tapefid, temp, MAXLABLEN);
X        if (r >= LABLEN)
X	{
X		strncpy (lab, temp, LABLEN);
X		if (standard == IBMSTD)
X			toascii (lab, LABLEN);
X		return (1);
X	}
X	else if (r < 0)
X	{	/* error */
X		ioabort ("Can't read tape label");
X		/* never come here, but please lint */
X		return (0);
X	}
X	else return (0);
}
X
writelab (lab)
X	char *lab;
{
X	int w;
X
X	if (standard == IBMSTD)
X		toebcdic (lab, LABLEN);
X
X	w = write (tapefid, lab, LABLEN);
X	if (w < 0)
X		ioabort ("Can't write tape label");
}
X
X
/*************************************************************************
***	label type checking
*************************************************************************/
X
isvol ()
{
X	return (cmpstr ("VOL1", getlab (vollab, LIDPOS, LIDLEN, 0)) == 0);
}
X
ishdr (lab)
X	char *lab;
{
X	return (cmpstr ("HDR", getlab (lab, LIDPOS, 3, 0)) == 0);
}
X
iseof (lab)
X	char *lab;
{
X	if (cmpstr ("EOF", getlab (lab, LIDPOS, 3, 0)) == 0)
X		return (1);
X	if (cmpstr ("EOV", getlab (lab, LIDPOS, 3, 0)) == 0)
X		return (1);
X	else return (0);
}
X
X
/*************************************************************************
***	moving the data -- the actual work
*************************************************************************/
X
#define	LCASE	01
#define	UCASE	02
#define PAD	020	/* pad input records to ibs */
X
int	cflag;
int	fflag;
int	ibf;		/* input file descriptor */
int	obf;		/* output file descriptor */
int	ibs;		/* input buffer size */
int	obs;		/* output buffer size */
int	cbs;		/* conversion buffer size */
char	*ibuf;		/* input buffer */
char	*obuf;		/* output buffer */
char 	*rbuf;
int	ibc;		/* input block count (number of chars read) */
int	obc;		/* output block count (number of chars written) */
int	cbc;
int	lr;
int	nifr;		/* number of filled input blocks */
int	nipr;		/* number of partially filled input blocks */
int	nofr;		/* number of filled output blocks */
int	nopr;		/* number of partially filled output blocks */
char	*op;
char	*rp;		/* pointer into record buffer (for var recs) */
int	nspace;
X
char 	*sbrk();	/* sbrk() returns ptr to buffer */
X
X
movefil (infile, outfile, pibs, pobs, pcbs, code, cas)
X	int	infile, outfile;	/* filedescriptors */
X	int	pibs, pobs, pcbs;	/* block sizes */
X	int	code, cas;		/* translations */
{
X	register (*conv)();
X	register char *ip;
X	register c;
X	int fixibm(), unfixibm(), null (), cnull();
X        int fix(), unfix();
X	int var(), unvar();
X	int varibm(), unvaribm();
X	int a;
X
X	/* globalize parms -- artefact of old pgm */
X	ibf = infile;
X	obf = outfile;
X	ibs = pibs;
X	obs = pobs;
X	cbs = pcbs;
X	conv = null;
X	fflag = 0;
X	cflag = 0;
X
X	nipr = 0; nifr = 0; nopr = 0; nofr = 0; nspace = 0;
X
X	/* translations */
X	switch (code)
X	{
X		case 'E': conv = fixibm; break;		/* to tape */
X		case 'a': conv = unfixibm; break;	/* from tape */
X		case 'F': conv = fix; break;		/* to tape */
X		case 'f': conv = unfix; break;	 	/* from tape */
X		case 'V': conv = varibm; break;		/* to tape */
X		case 'v': conv = unvaribm; break;	/* from tape */
X		case 'D': conv = var; break;		/* to tape */
X		case 'd': conv = unvar; break;		/* from tape */
X	}
X	if (cas == 'l')
X		cflag |= LCASE;
X	if (cas == 'u')
X		cflag |= UCASE;
X
X	if (conv == null && cflag&(LCASE|UCASE))
X		conv = cnull;
X	if (ibs == 0)
X		ibs = UBLKS;
X	if (obs == 0)
X		obs = UBLKS;
X	if (ibs == obs && conv == null)
X		fflag ++;
X
X	/* get buffers */
X	ibuf = sbrk (ibs);
X	if (fflag)
X	{
X		obuf = ibuf;
X		rbuf = ibuf;
X	}
X	else
X	{
X		obuf = sbrk (obs);
X		if (code == 'D' || code == 'V' )
X			rbuf = sbrk (cbs);
X		else rbuf=obuf;
X	}
X	if ((ibuf == (caddr_t) -1)
X	|| (obuf == (caddr_t) -1)
X	|| (rbuf == (caddr_t) -1))
X		stopit ("Insufficient memory for buffers");
X	ibc = 0;
X	obc = 0;
X	cbc = 0;
X	lr = 0;
X	op = obuf;
X
X	if (conv == varibm)
X	{
X		/* reserve block length field */
X		op += 4;
X		obc = 4;
X		/* reserve record length field */
X		rp = rbuf + 4;
X		cbc = 4;
X	}
X	if (conv == var )
X	{
X		/* reserve record length field */
X		rp = rbuf + 4;
X		cbc = 4;
X	}
X	rp = rbuf+4;
X
X
X	/* now do the job */
loop:
X	if (ibc-- == 0)
X	{
X		/* read a block */
X		ibc = read (ibf, ibuf, ibs);
X		if (ibc == -1)			/* read error */
X		{
X			perror ("read");
X			flsh ();
X			exit (-1);
X		}
X		if (ibc == 0)			/* eof */
X		{
X			if (conv == var)
X			{			/* pad buffer with '^' */
X				a = obs - obc;
X				while ( a--)
X					null ('^');
X			}
X			if (conv == varibm)
X			{
X				/* insert block length */
X				putlength (obuf,obc);
X	
X				a = obs - obc;
X				while (a--)
X					null (0);
X			}
X			flsh ();
X			brk (ibuf);
X			return (nopr+nofr);
X		}
X		if (ibc != ibs)			/* partial block read */
X		{
X			nipr++;
X			if ( cflag & PAD )
X			{
X				/* pad input buffer to ibs with 0's */
X				for (ip = &ibuf[ibs]; ip > &ibuf[ibc]; )
X					*--ip = '\0';
X				ibc = ibs;
X			}
X		} else
X			nifr++;
X
X		ip = ibuf;
X		if (conv == unvaribm)
X		{
X			/* get block length from input block ;
X			** must built ibc explicitly in two assignments,
X			** otherwise there might be reordering of
X			** expression by c compiler (lint saw it...) */
X			ibc =  ((*ip++) << 8 );
X			ibc |= ((*ip++) & 0377) ;
X			ip++; ip++;
X			ibc -= 4;	/* account for length field */
X		}
X		ip = ibuf;
X		if (conv == unvaribm)
X			ip = ip + 4;
X
X		/* no conversions to be done ? */
X		if (fflag)
X		{
X			obc = ibc;
X			flsh ();
X			ibc = 0;
X		}
X		goto loop;
X	}
X	c = 0;
X	c |= *ip++;
X	(*conv)(c);
X	goto loop;
}
X
flsh ()
{
X	if (obc)
X	{
X		if (obc == obs)
X			nofr++;
X		else
X		{
X			nopr++;
X			if (obc & 01 && obf == tapefid)
X			{
X				/* prevent writing out uneven number of bytes
X				   tapeunit does not like it */
X				*op = 0;
X				obc ++ ;
X			}
X		}
X		if (write (obf, obuf, obc) != obc)
X			ioabort ("write");
X		obc = 0;
X	}
}
X
X
cnull (cc)
{
X	register c;
X
X	c = cc;
X	if (cflag&UCASE && c>='a' && c<='z')
X		c += 'A'-'a';
X	if (cflag&LCASE && c>='A' && c<='Z')
X		c += 'a'-'A';
X	null (c);
}
X
null (c)
{
X	*op = c;
X	op++;
X	if (++obc >= obs)
X	{
X		flsh ();
X		op = obuf;
X	}
}
X
X
/*	unfixibm - convert fixed format records from tape to
**	unix format and translate them to ascii
**	throw away trailing blanks
**	insert newline character at end of line
*/
X
unfixibm (cc)
{
X	register c;
X
X	c = 0;
X	c |= etoa[cc & 0377];
X	if (cbs == 0)
X	{
X		cnull (c);
X		return;
X	}
X	if (c == ' ')
X		nspace++;
X	else
X	{
X		while (nspace > 0)
X		{
X			null (' ');
X			nspace--;
X		}
X		cnull (c);
X	}
X	if (++cbc >= cbs)
X	{
X		null ('\n');
X		cbc = 0;
X		nspace = 0;
X	}
}
X
X
/*	unfix - convert fixed record format records from tape
**	to unix format (no code conversion)
**	throw away trailing blanks
**	insert newline character at end of record
*/
X
unfix (cc)
{
X	register c;
X
X	c = cc;
X	if (cbs == 0)
X	{
X		cnull (c);
X		return;
X	}
X	if (c == ' ')
X		nspace++;
X	else
X	{
X		while (nspace > 0)
X		{
X			null (' ');
X			nspace--;
X		}
X		cnull (c);
X	}
X	if (++cbc >= cbs)
X	{
X		null ('\n');
X		cbc = 0;
X		nspace = 0;
X	}
}
X
X
/*	fixibm - convert unix files to fixed record fromat records
**	for tape, translate to ebcdic
**	newlines are discarded
**	records are padded with spaces to the desired record length
*/
X
fixibm (cc)
{
X	register c;
X
X	c = cc;
X	if (cflag&UCASE && c>='a' && c<='z')
X		c += 'A'-'a';
X	if (cflag&LCASE && c>='A' && c<='Z')
X		c += 'a'-'A';
X	c = atoe[c] & 0377;
X	if (cbs == 0)
X	{
X		null (c);
X		return;
X	}
X	/* translate tabs to blanks */
X	if (cc == '\t')
X	{
X		c = atoe[' '];
X		while ((cbc < cbs) && ( cbc+1 & 07 ))
X		{
X			null (c);
X			cbc ++;
X		}
X	}
X	else if (cc == '\n')
X	{
X		c = atoe[' '];
X		while (cbc < cbs)
X		{
X			null (c);
X			cbc++;
X		}
X		cbc = 0;
X		return;
X	}
X	if (cbc == cbs)
X		truncated++;
X	cbc++;
X	if (cbc <= cbs)
X		null (c);
}
X
X
/*	fix - convert unix files to fixed record format records for
**	tape, no character translation
**	newlines are discarded
**	records are padded with spaces up to the desired recordlength
*/
X
fix (cc)
{
X	register c;
X
X	c = cc;
X	if (cbs == 0)
X	{
X		cnull (c);
X		return;
X	}
X	if (cc == '\n')
X	{
X		while (cbc < cbs)
X		{
X			null (' ');
X			cbc++;
X		}
X		cbc = 0;
X		return;
X	}
X	if (cbc == cbs)
X		truncated++;
X	cbc++;
X	if (cbc <= cbs)
X		cnull (c);
}
X
X
/*	convert unix disk file to ANSI variable blocked format D
**	files on tape.
**	newlines (\n) are discarded, i.e. taken as end-of-record indicators.
**	records do not span blocks
**	blocks not completely filled are padded with ANSI padding char '^'
**	to full output block size.
*/
X
var (cc)
X	int cc;
{
X	register c, l;
X	register char *lrp;
X	int i;
X	c = cc;
X	if (cc == '\n')
X	{	/* end of input record reached */
X		l = (cbc > cbs ? cbs : cbc );
X
X		/* insert ANSI format record length field */
X		lrp = rbuf+4;
X		for ( i=4; i > 0; i-- )
X		{
X			*--lrp = (l % 10) + '0';
X			l = l / 10;
X		}
X
X	copyr:	/* copy record to output buffer */
X		lrp = rbuf;
X		l = (cbc > cbs ? cbs : cbc );
X		if ( obc + l <= obs)
X		{	/* record fits in block */
X			while (l--)
X				cnull (*lrp++);
X			cbc = 4;
X			rp = rbuf+4;
X			return;
X		}
X		else
X		{	/* pad the block, make new block */
X			l = obs - obc;
X			while (l--)
X				cnull ('^');
X			goto copyr;
X		}
X	}
X	if (cbc == cbs )	/* truncated record */
X		truncated ++;
X	cbc++;
X	if (cbc <= cbs )
X		*rp++ = c;		/* char to record */
}
X
X
/*	convert ANSI blocked variable format D records files on tape
**	to unix file on disk.
**	a newline (\n) will be append after every record on disk.
*/
X
unvar (cc)
X	int cc;
{
X	register c;
X	c = cc;
X	if (cbc < 4)
X	{	/* still in length field */
X		if (c == '^')
X			return;
X		lr = lr * 10 + c - '0';
X		cbc ++;
X		if (cbc == 4 && lr == 4) 
X		{	/* empty record */
X			cbc = 0;
X			lr = 0;
X			null ('\n');
X		}
X		return;
X	}
X	cnull (c);
X	cbc ++;
X	if (cbc == lr)
X	{	/* at end of record */
X		cnull ('\n');
X		lr = 0;
X		cbc = 0;
X	}
}
X
X
/*	convert IBM blocked variable format V record files
**	to unix files on disk.
**	translate from ebcdic to ascii.
**	append newline (\n) to every record on disk.
*/
X
unvaribm (cc)
{
X	register c;
X	c = cc;
X	if (cbc < 4)
X	{	/* still in record length field */
X		if (cbc == 0)
X			lr = c;
X		else if (cbc == 1)
X			lr = (lr << 8) + (c & 0377) ;
X		cbc ++;
X		if (cbc == 4 && lr == 4) 
X		{	/* empty record - shouldn't happen on ibm */
X			cbc = 0;
X			lr = 0;
X			null ('\n');
X		}
X		return;
X	}
X	cnull (etoa[c & 0377]);
X	cbc ++;
X	if (cbc == lr)
X	{	/* at end of record */
X		null ('\n');
X		lr = 0;
X		cbc = 0;
X	}
}
X
X
/*	convert unix files on disk to IBM blocked variable format V
**	record files on tape.
**	translate from ascii to ebcdic.
**	records do not span blocks.
**	blocks not completely filled are padded to output blocksize
**	with null characters (the block length field however contains
**	the block length without padding chars).
*/
X
varibm (cc)
{
X	register c, l;
X	register char *lrp;
X
X	c = cc;
X	if (c == '\n')
X	{	/* end of input record */
X		l = (cbc > cbs ? cbs : cbc );
X		/* insert record length */
X		putlength (rbuf,l);
X
X	copyrec:	/* copy record to output buffer */
X		lrp = rbuf;
X		if (obc + l <= obs)
X		{	/* record fits in block */
X			if (obc + l == obs)
X			{	/* record first exactly */
X				/* insert block length */
X				putlength (obuf,obs);
X				while (l--)
X					null (*lrp++);
X				obc = 4;
X				op  += 4;
X				cbc = 4;
X				rp  = rbuf+4;
X				return;
X			}
X			while (l--)
X				null (*lrp++);
X			cbc = 4;
X			rp = rbuf+4;
X			return;
X		}
X		else
X		{	/* complete block and write it */
X			/* insert block length */
X			putlength (obuf,obc);
X
X			/* pad with zero chars to obs */
X			l = obs - obc;
X			while (l-- )
X				null (0);
X			op = op + 4;
X			obc = 4;
X
X			/* block written, write record to next */
X			l = (cbc > cbs ? cbs : cbc );
X			goto copyrec;
X		}
X	}
X	if (cflag&UCASE && c>='a' && c<='z')
X		c += 'A'-'a';
X	else if (cflag&LCASE && c>='A' && c<='Z')
X		c += 'a'-'A';
X	c = atoe[c] & 0377;
X
X	if (cbc == cbs)
X		truncated++ ;		/* record truncated */
X	cbc++;
X	if (cbc <= cbs)
X		*rp++ = c;		/* char to record buffer */
}
X
X
/*	insert length to block or record.
**	IBM length field: byte 1 and 2 contain the length, byte 3 and 4 zero.
**	(don't forget: IBM count the bytes from left to right).
*/
X
putlength (buf,len)
X	char *buf;
X	int len;
{
X	register char *p;
X
X	p = buf + 4;
X	*--p = 0; *--p = 0;		/* two zero bytes */
X	*--p = len & 0377;
X	*--p = len >> 8;		/* halfword with binary length */
}
X
X
/*	buffer translation routines
**	ebcdic to ascii and asci to ebcdic
*/
X
toascii (buf,len)
X	char *buf;
X	int len;
{
X	register char *ip;
X	register c;
X	for (ip = buf; ip < buf+len; )
X	{
X		c = etoa[*ip &0377];
X		*ip++ = c;
X	}
}
X
toebcdic (buf,len)
X	char *buf;
X	int len;
{
X	register char *ip;
X	register c;
X	for (ip = buf; ip < buf+len; )
X	{
X		c = *ip;
X		*ip++ = atoe[c & 0377];
X	}
}
X
X
/*************************************************************************
***	tape command emulation
*************************************************************************/
X
X
struct mtget mtg;
struct mtop mto;
X
X
tapeopen ()
{
X	if ((tapefid = open (tapename, 0)) < 0)
X		ioabort ("Cant open tape file\n");
X	mustbetape ();
X	taperew ();
}
X
X
tapecreat ()
{
X	if ((tapefid = creat (tapename, 0)) < 0)
X		ioabort ("Can't open tape file for writing / ring?\n");
X	mustbetape ();
X	taperew ();
}
X
mustbetape ()
{
X	if (ioctl (tapefid, MTIOCGET, &mtg) < 0) {
X		if (errno == ENOTTY) {
X			fprintf (stderr, "SLT: %s is not a tape device\n",
X				tapename);
X			exit (-1);
X		} else {
X			ioabort ("error getting tape status");
X		}
X	}
}
X
tapewtm ()
{
X	if (debug)
X		printf ("\n---------------- TAPEMARK\n");
X	mto.mt_op = MTWEOF;
X	mto.mt_count = 1;
X	if (ioctl (tapefid, MTIOCTOP, &mto) < 0)
X		perror ("tape/wtm");
}
X
X
tapefsf ()
{
X	mto.mt_op = MTFSF;
X	mto.mt_count = 1;
X	if (ioctl (tapefid, MTIOCTOP, &mto) < 0)
X		perror ("tape/fsf");
}
X
X
taperew ()
{
X	mto.mt_op = MTREW;
X	mto.mt_count = 1;
X	ioctl (tapefid, MTIOCTOP, &mto);
X	/* ignore errors on rewind, as taperew may be called in closed
X	** file state, after some error had occurred, just to be safe  */
}
X
X
/*************************************************************************
***	writing messages, error reports
*************************************************************************/
X
ioabort (msgtext)
X	char *msgtext;
{
X	perror (msgtext);
X	taperew ();
X	exit (-1);
}
X
X
stopit (msgtext)
X	char *msgtext;
{
X	fprintf( stderr, "\nABORT: %s\n", msgtext);
X	if (debug)
X		abort ();	/* trap for debugger if any,
X				** write 'core' file */
X	else
X		taperew ();
X		exit (-1);
}
X
X
err (msgtext)
X	char *msgtext;
{
X	fprintf (stderr, "\nERROR: %s\n", msgtext);
}
X
X
cmpstr (s1,s2)
X	char *s1, *s2;
{
X	register char *p1, *p2;
X	char	c1, c2;
X
X	p1 = s1;
X	p2 = s2;
X	while ( (c1 = *p1++) == ( c2 = *p2++))
X		if (c1 == '\0')
X			return(0);
X	return (c2 - c1);
}
X
X
upcase (s)
X	char *s;
{
X	register char *p;
X	register char c;
X	p = s;
X	while (c = *p)
X		if ('a' <= c && c <= 'z')
X			*p++ = c + 'A'-'a';
X		else
X			p++;
}
X
X
/*************************************************************************
***	end of program 'slt'
*************************************************************************/
SHAR_EOF
chmod 0640 slt-20.c ||
echo 'restore of slt-20.c failed'
Wc_c="`wc -c < 'slt-20.c'`"
test 43183 -eq "$Wc_c" ||
	echo 'slt-20.c: original size 43183, current size' "$Wc_c"
fi
exit 0




From heiby_u@falkor.chi.il.us Tue Jun 24 18:32:31 EDT 2003
Article: 14415 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!nycmny1-snh1.gtei.net!crtntx1-snh1.gtei.net!news.gtei.net!chcgil2-snh1.gtei.net!news.bbnplanet.com!wn12feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc51.ops.asp.att.net.POSTED!not-for-mail
From: Ron Heiby <heiby_u@falkor.chi.il.us>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Backspace Insists on sending ^H
Message-ID: <cpfhfvcpc1huv288mcri08me17ufanu1uh@4ax.com>
References: <779oev84tluh03lpoag0imeueh45algboj@4ax.com> <bcit83$kvm$1@watsol.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: 14
NNTP-Posting-Host: 12.248.231.128
X-Complaints-To: abuse@attbi.com
X-Trace: rwcrnsc51.ops.asp.att.net 1056489724 12.248.231.128 (Tue, 24 Jun 2003 21:22:04 GMT)
NNTP-Posting-Date: Tue, 24 Jun 2003 21:22:04 GMT
Organization: AT&T Broadband
Date: Tue, 24 Jun 2003 21:22:04 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14415

jaltman@columbia.edu (Jeffrey Altman) wrote:
>... only for backward compatibility with ... the documentation....

I love it! Do you mind if I use this? :-)

More seriously, I had overlooked the SET TERMINAL KEY stuff. SET KEY on steroids!

Anyway, if I read you correctly, the private command is setting the preferred default
value for the backspace key per the GUI interface choice. However, since I had an
explicit "set key" in the init file, that was overriding the default value being read
in later in the initialization process. Since the later command was only for setting
the default value, it did not override the explicit value I had already set. I imagine
that a SET TERMINAL KEY command would have also been used in preference to the private
command's default setting.


From jaltman@columbia.edu Wed Jun 25 09:13:33 EDT 2003
Article: 14416 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!nycmny1-snh1.gtei.net!news.gtei.net!newsfeed!nntp.abs.net!uunet!dca.uu.net!ash.uu.net!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.4) Gecko/20030612
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Backspace Insists on sending ^H
References: <779oev84tluh03lpoag0imeueh45algboj@4ax.com> <bcit83$kvm$1@watsol.cc.columbia.edu> <cpfhfvcpc1huv288mcri08me17ufanu1uh@4ax.com>
In-Reply-To: <cpfhfvcpc1huv288mcri08me17ufanu1uh@4ax.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 27
Message-ID: <cW9Ka.172779$h42.32786@twister.nyc.rr.com>
Date: Wed, 25 Jun 2003 04:54:32 GMT
NNTP-Posting-Host: 66.108.138.151
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1056516872 66.108.138.151 (Wed, 25 Jun 2003 00:54:32 EDT)
NNTP-Posting-Date: Wed, 25 Jun 2003 00:54:32 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14416

Ron Heiby wrote:
> jaltman@columbia.edu (Jeffrey Altman) wrote:
> 
>>... only for backward compatibility with ... the documentation....
> 
> 
> I love it! Do you mind if I use this? :-)
> 
> More seriously, I had overlooked the SET TERMINAL KEY stuff. SET KEY on steroids!
> 
> Anyway, if I read you correctly, the private command is setting the preferred default
> value for the backspace key per the GUI interface choice. However, since I had an
> explicit "set key" in the init file, that was overriding the default value being read
> in later in the initialization process. Since the later command was only for setting
> the default value, it did not override the explicit value I had already set. I imagine
> that a SET TERMINAL KEY command would have also been used in preference to the private
> command's default setting.

The SET BACKSPACE alters the SET TERMINAL KEY values for all terminals. 
  What it does not do is erase any value that might have been set via 
SET KEY.  To prevent this problem from affecting other users in the 
future I will make that change now.  Changing the backspace value will 
erase the SET KEY definition.

Jeffrey Altman
Volunteer Kermit Developer



From bill.loard@nowhere.org Wed Jun 25 16:14:31 EDT 2003
Article: 14417 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!nycmny1-snh1.gtei.net!crtntx1-snh1.gtei.net!news.gtei.net!newsfeed1.easynews.com!easynews.com!easynews!elnk-pas-nf1!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!stamper.news.atl.earthlink.net!harp.news.atl.earthlink.net!not-for-mail
From: Bill <bill.loard@nowhere.org>
Newsgroups: comp.protocols.kermit.misc
Subject: Keyboard Emulation for WordPerfect 5.1 UNIX
Date: Wed, 25 Jun 2003 03:39:43 -0400
Organization: Dunwoody Georgia
Lines: 19
Message-ID: <6ujifv8fqje07hjlmml1p8vv8epcq98kq2@4ax.com>
NNTP-Posting-Host: cf.45.45.a3
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Server-Date: 25 Jun 2003 19:37:50 GMT
X-Newsreader: Forte Agent 1.93/32.576 English (American)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14417

vt220 Keyboard Emulation

Well here goes. A friend of mine has a "handed down" version of Procom
DOS and I have suggested that she change to Kermit and buy the latest
version. RIght now the trial version is loaded.

We copied the settings from ProCom and are able to access the site and
get into WP. In ProCom the function keys work as expected but with the
Kermit emulation nothing happens except the F7 key which exits. Both
programs are set to use a vt220 emulation.  I have not checked to see
what if any ProCom has in it's .ini files.  I never used ProCom and
always used CrossTalk and  the latest BBS uses were with Kermit.

Any tips or ideas are appreciated.


Bill Loard

Atlanta


From fdc@columbia.edu Wed Jun 25 16:14:34 EDT 2003
Article: 14419 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Keyboard Emulation for WordPerfect 5.1 UNIX
Date: 25 Jun 2003 16:13:42 -0400
Organization: Columbia University
Lines: 25
Message-ID: <bdcvpm$de4$1@watsol.cc.columbia.edu>
References: <6ujifv8fqje07hjlmml1p8vv8epcq98kq2@4ax.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1056572024 2105 128.59.39.139 (25 Jun 2003 20:13:44 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 25 Jun 2003 20:13:44 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14419

In article <6ujifv8fqje07hjlmml1p8vv8epcq98kq2@4ax.com>,
Bill  <bill.loard@nowhere.org> wrote:
: vt220 Keyboard Emulation
: 
: Well here goes. A friend of mine has a "handed down" version of Procom
: DOS and I have suggested that she change to Kermit and buy the latest
: version. RIght now the trial version is loaded.
: 
: We copied the settings from ProCom and are able to access the site and
: get into WP. In ProCom the function keys work as expected but with the
: Kermit emulation nothing happens except the F7 key which exits. Both
: programs are set to use a vt220 emulation.  I have not checked to see
: what if any ProCom has in it's .ini files.  I never used ProCom and
: always used CrossTalk and  the latest BBS uses were with Kermit.
: 
Gee nobody has asked us that question in years and years...  Try this:

  set terminal keyboard-mode wp

This activates WordPerfect keyboard mode.  To find out what the key
mappings are, type:

  show key all wp

- Frank


From deja@alienbigcats.com Wed Jun 25 16:14:53 EDT 2003
Article: 14418 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!nycmny1-snh1.gtei.net!news.gtei.net!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: deja@alienbigcats.com (paul wells)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: ftp DIR times out
Date: 25 Jun 2003 12:44:11 -0700
Organization: http://groups.google.com/
Lines: 31
Message-ID: <669ac511.0306251144.2f18194e@posting.google.com>
References: <669ac511.0305281547.1cec3194@posting.google.com> <zGgBa.77352$h42.24210@twister.nyc.rr.com> <3ED91E16.1F55E438@yk.rim.or.jp>
NNTP-Posting-Host: 206.81.198.130
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1056570251 11529 127.0.0.1 (25 Jun 2003 19:44:11 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 25 Jun 2003 19:44:11 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14418

Ishikawa <ishikawa@yk.rim.or.jp> wrote in message news:<3ED91E16.1F55E438@yk.rim.or.jp>...
> "Jeffrey Altman [Road Runner NYC]" wrote:
> > 
> > FTP requires the use of two sockets.  One for the command channel and
> > one for the data channel.  Your attempt to establish the data channel is
> > being blocked.  Most likely your firewall is configured to block
> > outbound connections to arbitrary ports.
> > 
> > You will need to configure Kermit to use an HTTP Proxy Server or SOCKS.
> 	...[omissin]...
> 
> I thought I was going to write why not use PASV mode of ftp originally.
> 
> But then I got curious and tried to see how I enabled PASV mode
> inside Kermit. I found that KERMIT indeed uses/issues PASV mode
> internally 
> without being told so.
> 
> Since use of PASV requires the
> cooperation of ftp server in question (some ftp servers may not
> be configured to allow PASV or doesn't support PASV
> at all), use of PASV does not solve firewall problem always.
> (I just found out that my ISP's ftp doesn't seem to grok PASV.)
> 
> So, for the original question, 
> it is indeed good if HTTP Proxy Server and/or SOCKS proxy
> is available or that the firewall is a flexible and
> powerful one such as Firewall-1, etc..

Belated thanks for both replies - turned out I needed to set passive
mode off to talk to a particular site.


From bill.loard@nowhere.org Thu Jun 26 09:53:49 EDT 2003
Article: 14420 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!newsfeed.stueberl.de!peer01.cox.net!cox.net!feed2.news.rcn.net!rcn!elnk-nf1-atl!newsfeed.earthlink.net!stamper.news.atl.earthlink.net!harp.news.atl.earthlink.net!not-for-mail
From: Bill <bill.loard@nowhere.org>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Keyboard Emulation for WordPerfect 5.1 UNIX
Date: Wed, 25 Jun 2003 04:22:34 -0400
Organization: Dunwoody Georgia
Lines: 32
Message-ID: <lqmifvgt9erlo60ajola5np74hdqkgnttd@4ax.com>
References: <6ujifv8fqje07hjlmml1p8vv8epcq98kq2@4ax.com> <bdcvpm$de4$1@watsol.cc.columbia.edu>
NNTP-Posting-Host: cf.45.45.a3
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Server-Date: 25 Jun 2003 20:20:42 GMT
X-Newsreader: Forte Agent 1.93/32.576 English (American)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14420

On 25 Jun 2003 16:13:42 -0400, fdc@columbia.edu (Frank da Cruz) wrote:

>In article <6ujifv8fqje07hjlmml1p8vv8epcq98kq2@4ax.com>,
>Bill  <bill.loard@nowhere.org> wrote:
>: vt220 Keyboard Emulation
>: 
>: Well here goes. A friend of mine has a "handed down" version of Procom
>: DOS and I have suggested that she change to Kermit and buy the latest
>: version. RIght now the trial version is loaded.
>: 
>: We copied the settings from ProCom and are able to access the site and
>: get into WP. In ProCom the function keys work as expected but with the
>: Kermit emulation nothing happens except the F7 key which exits. Both
>: programs are set to use a vt220 emulation.  I have not checked to see
>: what if any ProCom has in it's .ini files.  I never used ProCom and
>: always used CrossTalk and  the latest BBS uses were with Kermit.
>: 
>Gee nobody has asked us that question in years and years...  Try this:
>
>  set terminal keyboard-mode wp
>
>This activates WordPerfect keyboard mode.  To find out what the key
>mappings are, type:
>
>  show key all wp
>
>- Frank
Has been awhile hasn't it. I  used to have a real vt220 on my desk and
then we direct connected with a pc /keyboard and CrossTalk.. Thanks 
for the reply

Bill


From jaltman2@nyc.rr.com Thu Jun 26 09:53:51 EDT 2003
Article: 14421 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!news.maxwell.syr.edu!newsfeed-east.nntpserver.com!nntpserver.com!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 [Road Runner NYC]" <jaltman2@nyc.rr.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Keyboard Emulation for WordPerfect 5.1 UNIX
References: <6ujifv8fqje07hjlmml1p8vv8epcq98kq2@4ax.com> <bdcvpm$de4$1@watsol.cc.columbia.edu>
In-Reply-To: <bdcvpm$de4$1@watsol.cc.columbia.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 13
Message-ID: <I4pKa.173596$h42.163499@twister.nyc.rr.com>
Date: Wed, 25 Jun 2003 22:09:44 GMT
NNTP-Posting-Host: 66.108.138.151
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyc.rr.com 1056578984 66.108.138.151 (Wed, 25 Jun 2003 18:09:44 EDT)
NNTP-Posting-Date: Wed, 25 Jun 2003 18:09:44 EDT
Organization: Road Runner - NYC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14421

Frank da Cruz wrote:
> In article <6ujifv8fqje07hjlmml1p8vv8epcq98kq2@4ax.com>,
> Gee nobody has asked us that question in years and years...  Try this:
> 
>   set terminal keyboard-mode wp

Toggle Word Perfect mode on/off from the Terminal Emulation session with

   Ctrl-Alt-Shift-w

Jeffrey Altman
Volunteer Kermit Developer



From kaanospam@yahoo.fr Thu Jun 26 10:53:13 EDT 2003
Article: 14422 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!news.linkpendium.com!nerim.net!usenet-fr.net!freenix!wanadoo.fr!not-for-mail
From: "Kaa" <kaanospam@yahoo.fr>
Newsgroups: comp.protocols.kermit.misc
Subject: Kermit - linux to Solaris
Date: Thu, 26 Jun 2003 16:30:58 +0200
Organization: Wanadoo, l'internet avec France Telecom
Lines: 13
Message-ID: <bdf033$h8u$1@news-reader3.wanadoo.fr>
NNTP-Posting-Host: aph-aug-103-1-2-166.w193-251.abo.wanadoo.fr
X-Trace: news-reader3.wanadoo.fr 1056637859 17694 193.251.45.166 (26 Jun 2003 14:30:59 GMT)
X-Complaints-To: abuse@wanadoo.fr
NNTP-Posting-Date: 26 Jun 2003 14:30:59 GMT
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:14422

Hello,

I'm using C-Kermit 8.0.209 on Linux Redhat 8.0 to connect to a Solaris
machine. I've got trouble upon reception. All I have is weird characters
meaningless.

Has anybody heard about that and know about some incompatibility ?

Thanks

Philippe




From fdc@columbia.edu Thu Jun 26 10:59:49 EDT 2003
Article: 14423 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit - linux to Solaris
Date: 26 Jun 2003 10:53:57 -0400
Organization: Columbia University
Lines: 16
Message-ID: <bdf1e5$ffh$1@watsol.cc.columbia.edu>
References: <bdf033$h8u$1@news-reader3.wanadoo.fr>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1056639238 21639 128.59.39.139 (26 Jun 2003 14:53:58 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 26 Jun 2003 14:53:58 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14423

In article <bdf033$h8u$1@news-reader3.wanadoo.fr>,
Kaa <kaanospam@yahoo.fr> wrote:
> I'm using C-Kermit 8.0.209 on Linux Redhat 8.0 to connect to a Solaris
> machine. I've got trouble upon reception. All I have is weird characters
> meaningless.
>
> Has anybody heard about that and know about some incompatibility ?
>
We would need a lot more information before we could help you.  Please
read:

  http://www.columbia.edu/kermit/support.html#hints

starting with hint #9.  Follow up to kermit-support@columbia.edu.

- Frank


From junkman@attglobal.net Mon Jun 30 08:52:12 EDT 2003
Article: 14425 of comp.protocols.kermit.misc
From: "Richard" <junkman@attglobal.net>
Newsgroups: comp.protocols.kermit.misc
Subject: Kermit for PDP Micro RSX v1.1
Date: Sat, 28 Jun 2003 04:33:43 -0400
Lines: 10
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
NNTP-Posting-Host: 12.65.6.91
Message-ID: <3efd5379_4@news1.prserv.net>
X-Trace: 28 Jun 2003 08:36:09 GMT, 12.65.6.91
Organization: Global Network Services - Remote Access Mail & News Services
X-Complaints-To: abuse@prserv.net
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!logbridge.uoregon.edu!newsfeed.us.prserv.net!prserv.net!news1.prserv.net!12.65.6.91
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14425

Does anybody know where I might get a suitable executable?  I downloaded the
executable from columbia's web site, but it is for version 3.3.  It works
fine, except MAP files transfer with all sorts of weird characters at the
start of each line.  Some bits are missing from files too.

Thanks

Richard




From bill@loard@ieee@org Mon Jun 30 10:44:33 EDT 2003
Article: 14430 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!newsfeed.vmunix.org!logbridge.uoregon.edu!newshub.sdsu.edu!elnk-pas-nf2!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!stamper.news.atl.earthlink.net!harp.news.atl.earthlink.net!not-for-mail
From: Bill <bill@loard@ieee@org>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Keyboard Emulation for WordPerfect 5.1 UNIX
Date: Mon, 30 Jun 2003 09:11:36 -0400
Organization: MindSpring Enterprises
Lines: 23
Message-ID: <9id0gvojg8u0mflbmajoqmubb11ggtunos@4ax.com>
References: <6ujifv8fqje07hjlmml1p8vv8epcq98kq2@4ax.com> <bdcvpm$de4$1@watsol.cc.columbia.edu> <I4pKa.173596$h42.163499@twister.nyc.rr.com>
NNTP-Posting-Host: cf.45.5a.9b
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Server-Date: 30 Jun 2003 13:05:06 GMT
X-Newsreader: Forte Agent 1.9/32.560
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14430

On Wed, 25 Jun 2003 22:09:44 GMT, "Jeffrey Altman [Road Runner NYC]"
<jaltman2@nyc.rr.com> wrote:

>Frank da Cruz wrote:
>> In article <6ujifv8fqje07hjlmml1p8vv8epcq98kq2@4ax.com>,
>> Gee nobody has asked us that question in years and years...  Try this:
>> 
>>   set terminal keyboard-mode wp
>
>Toggle Word Perfect mode on/off from the Terminal Emulation session with
>
>   Ctrl-Alt-Shift-w
>
>Jeffrey Altman
>Volunteer Kermit Developer

Thanks for the help. The user was out of town I didn't know her
passwords etc. and didn't try the set commands. She is back now and I
hope this solves her problems! 

Bill 
Atlanta



From arthur.marsh@internode.on.net Mon Jul 14 14:09:11 EDT 2003
Article: 14432 of comp.protocols.kermit.misc
Date: Sun, 13 Jul 2003 16:21:14 +0930
From: Arthur Marsh <arthur.marsh@internode.on.net>
Organization: National Centre for Petroleum Geology and Geophysics
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4) Gecko/20030624
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: GCC 3.3 builds of C-Kermit
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: ppp1011.adelaide.on.net.au
Message-ID: <3f110163@duster.adelaide.on.net>
X-Trace: duster.adelaide.on.net 1058079075 ppp1011.adelaide.on.net.au (13 Jul 2003 16:21:15 +0950)
Lines: 10
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!newsfeed01.tsnz.net!news.xtra.co.nz!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:14432

Hi, I've had a solaris7g (Solaris 7 with GCC) makefile target for 
C-Kermit with Secure Remote Password included in the daily builds of 
C-Kermit, which I've built with GCC 3.3.

Has anyone else been doing many builds of C-Kermit with GCC 3.3?

Regards,

Arthur.



From bob.hewitt@noaa.gov Thu Jul 17 12:33:26 EDT 2003
Article: 14433 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: bob.hewitt@noaa.gov (Bob H.)
Newsgroups: comp.protocols.kermit.misc
Subject: wiksd configuration file missing; how to create it?
Date: 16 Jul 2003 17:38:56 -0700
Organization: http://groups.google.com/
Lines: 10
Message-ID: <7bac5259.0307161638.451808f3@posting.google.com>
NNTP-Posting-Host: 161.55.112.97
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1058402336 27221 127.0.0.1 (17 Jul 2003 00:38:56 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 17 Jul 2003 00:38:56 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14433

I installed Kermit95 a while ago, and just installed host and IKSD [
the installer got an error code 1116 - for too many installs, but the
iksdsvc.exe got installed and runs. ]

How ever, there is no 'iksd.ksc' file which I expected to contain
configuration for wiksd.

I want to connect to the wiksd server. Where are the permitted hosts
and listening port number listed?
                                      Thanks


From jaltman@columbia.edu Thu Jul 17 12:33:54 EDT 2003
Article: 14434 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: jaltman@columbia.edu (Jeffrey Altman)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: wiksd configuration file missing; how to create it?
Date: 16 Jul 2003 21:12:23 -0400
Organization: Columbia University
Lines: 25
Message-ID: <bf4t5n$jbl$1@watsol.cc.columbia.edu>
References: <7bac5259.0307161638.451808f3@posting.google.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1058404344 8523 128.59.39.139 (17 Jul 2003 01:12:24 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 17 Jul 2003 01:12:24 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14434

In article <7bac5259.0307161638.451808f3@posting.google.com>,
Bob H. <bob.hewitt@noaa.gov> wrote:
: I installed Kermit95 a while ago, and just installed host and IKSD [
: the installer got an error code 1116 - for too many installs, but the
: iksdsvc.exe got installed and runs. ]
: 
: How ever, there is no 'iksd.ksc' file which I expected to contain
: configuration for wiksd.
: 
: I want to connect to the wiksd server. Where are the permitted hosts
: and listening port number listed?
:                                       Thanks


Please read

  http://www.kermit-project.org/wiksd.html

iksd.ksc does not do what you think it does

-- 
 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 nospam.none@notnow.org Sun Jul 20 20:14:08 EDT 2003
Article: 14435 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!nycmny1-snh1.gtei.net!crtntx1-snh1.gtei.net!news.gtei.net!newsfeed1.easynews.com!easynews.com!easynews!c03.atl99!news.webusenet.com!pc01.webusenet.com!fe02.atl2.webusenet.com.POSTED!not-for-mail
From: Bev <nospam.none@notnow.org>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Keyboard Emulation for WordPerfect 5.1 UNIX
Message-ID: <skamhvs0jic2tfb0ifau7qicfqda4mcff1@4ax.com>
References: <6ujifv8fqje07hjlmml1p8vv8epcq98kq2@4ax.com> <bdcvpm$de4$1@watsol.cc.columbia.edu> <I4pKa.173596$h42.163499@twister.nyc.rr.com> <9id0gvojg8u0mflbmajoqmubb11ggtunos@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
Lines: 35
X-Complaints-To: abuse@usenetserver.com
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly.
NNTP-Posting-Date: Sun, 20 Jul 2003 19:36:39 EDT
Date: Sun, 20 Jul 2003 19:56:51 -0400
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14435

On Mon, 30 Jun 2003 09:11:36 -0400, Bill <bill@loard@ieee@org> wrote:

>On Wed, 25 Jun 2003 22:09:44 GMT, "Jeffrey Altman [Road Runner NYC]"
><jaltman2@nyc.rr.com> wrote:
>
>>Frank da Cruz wrote:
>>> In article <6ujifv8fqje07hjlmml1p8vv8epcq98kq2@4ax.com>,
>>> Gee nobody has asked us that question in years and years...  Try this:
>>> 
>>>   set terminal keyboard-mode wp
>>
>>Toggle Word Perfect mode on/off from the Terminal Emulation session with
>>
>>   Ctrl-Alt-Shift-w
>>
>>Jeffrey Altman
>>Volunteer Kermit Developer
>
>Thanks for the help. The user was out of town I didn't know her
>passwords etc. and didn't try the set commands. She is back now and I
>hope this solves her problems! 
>
>Bill 
>Atlanta

Help!

We have used the suggested commands, but still are having trouble -- I
use "Shift+F10" to call up a file in WP, but characters on the screen
do not jive.  Any suggestions?  We see the menu across the top on WP,
but cannot access the menu.  No way to open a file or even exit (F7
usually)  Any differences between Dos and Unix WP commands?

Bev in Cumming




From fdc@columbia.edu Sun Jul 20 20:14:11 EDT 2003
Article: 14436 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Keyboard Emulation for WordPerfect 5.1 UNIX
Date: 20 Jul 2003 20:14:05 -0400
Organization: Columbia University
Lines: 45
Message-ID: <bffb8d$3hj$1@watsol.cc.columbia.edu>
References: <6ujifv8fqje07hjlmml1p8vv8epcq98kq2@4ax.com> <I4pKa.173596$h42.163499@twister.nyc.rr.com> <9id0gvojg8u0mflbmajoqmubb11ggtunos@4ax.com> <skamhvs0jic2tfb0ifau7qicfqda4mcff1@4ax.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1058746446 22427 128.59.39.139 (21 Jul 2003 00:14:06 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 21 Jul 2003 00:14:06 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14436

In article <skamhvs0jic2tfb0ifau7qicfqda4mcff1@4ax.com>,
Bev  <nospam.none@notnow.org> wrote:
: On Mon, 30 Jun 2003 09:11:36 -0400, Bill <bill@loard@ieee@org> wrote:
: We have used the suggested commands, but still are having trouble -- I
: use "Shift+F10" to call up a file in WP, but characters on the screen
: do not jive.  Any suggestions?  We see the menu across the top on WP,
: but cannot access the menu.  No way to open a file or even exit (F7
: usually)
: 
Are you sure that Kermit is in WordPerfect keyboard mode?
If so, the terminal type name at the bottom has "-W" appended to it,
e.g. "VT320-W".

When this question was posted originally, I said that the way to get into
WordPerfect Keyboard Mode was by giving the following command at the K-95>
prompt:

  set terminal keyboard-mode wp

Later Jeff said you can also do this with the key combination:

  Ctrl-Alt-Shift-W

but this might not work for everybody.  If you tried this and you didn't
get the "-W" indication, try giving the command at the prompt.

: Any differences between Dos and Unix WP commands?
:
I don't know.  Kermit's WordPerfect keyboard is for host-based (UNIX or
VMS) versions of WordPerfect.

In the DOS version of Kermit, this was accomplished by long key-settings
files, which you can still read to get an idea of which keys were mapped
to what functions.  We have a bunch of these files, submitted by different
users, some of them by WordPerfect Corporation itself:

  ftp://kermit.columbia.edu/kermit/a/msiwp.ini
  ftp://kermit.columbia.edu/kermit/a/msiwp3.ini
  ftp://kermit.columbia.edu/kermit/a/msiwpu.ini

Note: these files are not for use with Kermit 95, but if you read them
(especially the last two), you should get an idea of what the key
assignments are.

- Frank


From jochen.daum@cans.co.nz Tue Jul 22 13:45:10 EDT 2003
Article: 14437 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!fu-berlin.de!uni-berlin.de!www.talkingsolutions.co.NZ!not-for-mail
From: Jochen Daum <jochen.daum@cans.co.nz>
Newsgroups: comp.protocols.kermit.misc
Subject: Kermit hangs on AT commands
Date: Tue, 22 Jul 2003 16:00:22 +1200
Lines: 27
Message-ID: <jgdphv05ih5dgrqkpd26mh9cssbei74ekk@4ax.com>
NNTP-Posting-Host: www.talkingsolutions.co.nz (210.54.242.117)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de 1058846583 15722466 210.54.242.117 (16 [19736])
X-Newsreader: Forte Agent 1.93/32.576 English (American)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14437

Hi !

I would like to control a CDMA modem with AT commands and would like
to test that with kermit. The modem is connected to ttyS1 and I had it
working at least once.

I connect to the modem by typing

C-Kermit>set line /dev/ttyS3
C-Kermit>set carrier-watch off
C-Kermit>set speed 115200

When I type "c", I get connected and I can type Ctrl-\ C to get back.
As soon as I type AT something, kermit hangs and I have to kill it.
Irt worked once before, I typed ATE1 and then one of the SMS commands
and I unpowered the modem in between.

Any help?

Jochen


-- 
Jochen Daum - CANS Ltd.
PHP DB Edit Toolkit -- PHP scripts for building
database editing interfaces.
http://sourceforge.net/projects/phpdbedittk/


From fdc@columbia.edu Tue Jul 22 13:53:21 EDT 2003
Article: 14438 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit hangs on AT commands
Date: 22 Jul 2003 13:52:38 -0400
Organization: Columbia University
Lines: 40
Message-ID: <bfjtl6$ds4$1@watsol.cc.columbia.edu>
References: <jgdphv05ih5dgrqkpd26mh9cssbei74ekk@4ax.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1058896359 11365 128.59.39.139 (22 Jul 2003 17:52:39 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 22 Jul 2003 17:52:39 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14438

In article <jgdphv05ih5dgrqkpd26mh9cssbei74ekk@4ax.com>,
Jochen Daum  <jochen.daum@cans.co.nz> wrote:
: I would like to control a CDMA modem with AT commands and would like
: to test that with kermit. The modem is connected to ttyS1 and I had it
: working at least once.
: 
So this is Linux?  And the version of Kermit is...?

: I connect to the modem by typing
: 
: C-Kermit>set line /dev/ttyS3
: C-Kermit>set carrier-watch off
: C-Kermit>set speed 115200
: 
You should reverse the first two commands, and also add:

  set modem type none

before the "set line" command.

: When I type "c", I get connected and I can type Ctrl-\ C to get back.
: As soon as I type AT something, kermit hangs and I have to kill it.
: Irt worked once before, I typed ATE1 and then one of the SMS commands
: and I unpowered the modem in between.
:
Sounds like Kermit is expected the CTS signal from the modem to be high,
but it's not.  Try adding "set flow none".  Or (better) configure the
modem to use RTS/CTS (hardware) flow control.

Btw, "show comm" probably would have suggested this to you, perhaps
subliminally.

Once you get it working, of course you can use Kermit's SET DIAL, SET
MODEM, and DIAL commands to configure the modem automatically or, if you
prefer, you can also use Kermit's script language.

On the other hand, if it still doesn't work, there's a whole series of
troubleshooting steps but no point reciting them yet.

- Frank


From bill.loard@nowhere.org Sat Jul 26 16:01:29 EDT 2003
Article: 14440 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsfeed.arcor-online.net!newsfeed.freenet.de!newsfeed.news2me.com!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!stamper.news.atl.earthlink.net!harp.news.atl.earthlink.net!not-for-mail
From: Bill <bill.loard@nowhere.org>
Newsgroups: comp.protocols.kermit.misc
Subject: Word Perfect Keyboard (Frank)
Date: Sun, 27 Jul 2003 02:04:29 -0400
Organization: Dunwoody Georgia
Lines: 30
Message-ID: <00q6ivkjdn6f8mad9ou0pi95gk273d343a@4ax.com>
NNTP-Posting-Host: d1.56.8e.57
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Server-Date: 26 Jul 2003 18:02:23 GMT
X-Newsreader: Forte Agent 1.93/32.576 English (American)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14440

Clueless!

Well I am still attempting to help a Medical Transcriber change her
connection with  Kermit to a UNIX server.  I thought she had made it
work but she wasn't that lucky and the System Person said the old
version of ProComm was the  only one that would work. 

Anyhow today I tried to log in and got to the terminal screen after
typing in the set terminal keyboard-mode wp, and as you advised
checked the terminal type on the terminal page and there is no
vt320-w!  There isn't even an option in the scroll box. I don't think
the set command is working (or I am putting it in the wrong screen!).

I have also looked through the .ini files and they seem to be similar
enough to do the simple things she needs to do (file retrieval and the
upload of her work). 

I refuse to believe that the ancient version of ProComm is the only
thing that will work!  I really thought that it was out of production
but Symatic still sells a version. 

She and I both are working from a template and maybe there are more
options working from scratch?

Any additional thought?

Thanks

Bill 
Atlanta 


From fdc@columbia.edu Sat Jul 26 16:01:33 EDT 2003
Article: 14441 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Word Perfect Keyboard (Frank)
Date: 26 Jul 2003 16:01:15 -0400
Organization: Columbia University
Lines: 76
Message-ID: <bfummb$q3k$1@watsol.cc.columbia.edu>
References: <00q6ivkjdn6f8mad9ou0pi95gk273d343a@4ax.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1059249679 735 128.59.39.139 (26 Jul 2003 20:01:19 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 26 Jul 2003 20:01:19 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14441

In article <00q6ivkjdn6f8mad9ou0pi95gk273d343a@4ax.com>,
Bill  <bill.loard@nowhere.org> wrote:
: Well I am still attempting to help a Medical Transcriber change her
: connection with  Kermit to a UNIX server.  I thought she had made it
: work but she wasn't that lucky and the System Person said the old
: version of ProComm was the  only one that would work. 
: 
: Anyhow today I tried to log in and got to the terminal screen after
: typing in the set terminal keyboard-mode wp, and as you advised
: checked the terminal type on the terminal page and there is no
: vt320-w!  There isn't even an option in the scroll box. I don't think
: the set command is working (or I am putting it in the wrong screen!).
: 
VT320-W would not appear in the scroll box; it's not a terminal type,
it's a keyboard mode applied to a terminal type.

: I have also looked through the .ini files and they seem to be similar
: enough to do the simple things she needs to do (file retrieval and the
: upload of her work). 
: 
: I refuse to believe that the ancient version of ProComm is the only
: thing that will work!
:
Me too.  Let's try again, step by step.  Let's assume you have a connection
to the host, and have started WordPerfect on the host.  K95 is in its
terminal screen (normally blue, but could be any color).  On the bottom
of the screen (inside the frame) is a green line with white writing, called
the Status Line, that says:

  o o o o VT320  Help: Alt-H  Command: Alt-X  (etc etc).

At this point do:

 . Alt-x (i.e. hold down the Alt key and press the X key)

 . At the K-95> prompt, type the following command:

     set terminal keyboard-mode wp

 . Alt-x again to get back to the terminal screen.

Now the Status Line should say:

  o o o o VT320-W  Help: Alt-H  Command: Alt-X  (etc etc).

and the WordPerfect Key mappings should be in effect.

To return to the regular VT320 key mapping, do:

 . Alt-x (i.e. hold down the Alt key and press the X key)

 . At the K-95> prompt, type the following command:

     set terminal keyboard-mode normal

 . Alt-x again to get back to the terminal screen.

and the "VT320-W" in the status line should revert to "VT320".

There *should* be an easier way to do this:

  Ctrl-Alt-Shift-W

is supposed to toggle in and out of WordPerfect keyboard mode.  But
for some unknown reason this does not seem to work on all PCs.

If these instructions do not cause "VT320-W" to appear in Kermit's
status line, send e-mail to kermit-support@columbia.edu, and we'll
do the detailed troubleshooting.

By the way, when you first posted this question you said you had
the "latest kermit", and I assumed by that you meant you had
Kermit 95 2.1.3.  If that's not the case and you are talking about
(e.g.) MS-DOS Kermit, then please say so.

- Frank


From dold@WordXPerfe.usenet.us.com Mon Jul 28 10:06:49 EDT 2003
Article: 14442 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!nycmny1-snh1.gtei.net!crtntx1-snh1.gtei.net!lsanca1-snf1!news.gtei.net!news.mainstreet.net!wasp.rahul.net!blue.rahul.net!not-for-mail
From: dold@WordXPerfe.usenet.us.com
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Word Perfect Keyboard (Frank)
Date: Sun, 27 Jul 2003 20:17:08 +0000 (UTC)
Organization: a2i network
Lines: 24
Sender: Clarence Dold <dold@violet.rahul.net>
Message-ID: <bg1c04$rd7$2@blue.rahul.net>
References: <00q6ivkjdn6f8mad9ou0pi95gk273d343a@4ax.com> <bfummb$q3k$1@watsol.cc.columbia.edu>
NNTP-Posting-Host: violet.rahul.net
X-Trace: blue.rahul.net 1059337028 28071 66.237.72.28 (27 Jul 2003 20:17:08 GMT)
X-Complaints-To: support@rahul.net
NNTP-Posting-Date: Sun, 27 Jul 2003 20:17: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-19.7smp (i686))
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14442

Frank da Cruz <fdc@columbia.edu> wrote:
> In article <00q6ivkjdn6f8mad9ou0pi95gk273d343a@4ax.com>,
> Bill  <bill.loard@nowhere.org> wrote:
> : I refuse to believe that the ancient version of ProComm is the only
> : thing that will work!

> Me too.  Let's try again, step by step.  Let's assume you have a connection


I wanted to wait for Frank to respond first, with a K95 entry that was more
graceful than my setup.

I made my own mapping for WordPerfect and MSDOS Kermit-3.11 to a
UnixWare box.  I was also faced with another Unix (ESIX) system that
came with bundled software and a fixed terminal type of vt100-pro,
with some mangling to fit the Procomm-of-the-day mapping.

By capturing what procomm sent to the unix system for each F key, I
was able to build my own map of what Kermit needed to send.  I probably
still have that lying around somewhere.

I looked at the Wordperfect mapping that was on the kermit site at that
time, and chose not to use it, although I don't recall why.



From bill.loard@nowhere.org Mon Jul 28 10:06:56 EDT 2003
Article: 14443 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!nycmny1-snh1.gtei.net!crtntx1-snh1.gtei.net!news.gtei.net!newsfeed1.easynews.com!easynews.com!easynews!elnk-pas-nf1!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!stamper.news.atl.earthlink.net!harp.news.atl.earthlink.net!not-for-mail
From: Bill <bill.loard@nowhere.org>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Word Perfect Keyboard (Frank)
Date: Mon, 28 Jul 2003 10:38:19 -0400
Organization: Dunwoody Georgia
Lines: 45
Message-ID: <rmcaivsdj43fa90f5lu0sijkfq8i5b98dg@4ax.com>
References: <00q6ivkjdn6f8mad9ou0pi95gk273d343a@4ax.com> <bfummb$q3k$1@watsol.cc.columbia.edu> <bg1c04$rd7$2@blue.rahul.net>
NNTP-Posting-Host: cf.45.40.eb
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Server-Date: 28 Jul 2003 02:36:12 GMT
X-Newsreader: Forte Agent 1.93/32.576 English (American)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14443

On Sun, 27 Jul 2003 20:17:08 +0000 (UTC),
dold@WordXPerfe.usenet.us.com wrote:

>Frank da Cruz <fdc@columbia.edu> wrote:
>> In article <00q6ivkjdn6f8mad9ou0pi95gk273d343a@4ax.com>,
>> Bill  <bill.loard@nowhere.org> wrote:
>> : I refuse to believe that the ancient version of ProComm is the only
>> : thing that will work!
>
>> Me too.  Let's try again, step by step.  Let's assume you have a connection
>
>
>I wanted to wait for Frank to respond first, with a K95 entry that was more
>graceful than my setup.
>
>I made my own mapping for WordPerfect and MSDOS Kermit-3.11 to a
>UnixWare box.  I was also faced with another Unix (ESIX) system that
>came with bundled software and a fixed terminal type of vt100-pro,
>with some mangling to fit the Procomm-of-the-day mapping.
>
>By capturing what procomm sent to the unix system for each F key, I
>was able to build my own map of what Kermit needed to send.  I probably
>still have that lying around somewhere.
>
>I looked at the Wordperfect mapping that was on the kermit site at that
>time, and chose not to use it, although I don't recall why.

Thanks! This evening was a break-through. The keyboard-mode needs to
be issued after the session is started and then the W is appended to
the terminal type. I have forgotten whether she used vt220 or vt320. I
used the vt220W and go to the help screens and that lets you see the
UNIX template. 

I expect that the days of UNIX WP and ProComm are pretty fuzzy
memories to  most folks now - certainly to me. We never used UNIX
based applications, except for CAD workstations and they and their
dark room requirements didn't last so very long because along came
AutoCad and we were all PCs.

Thanks for the help. If you find the ProComm mappings/Kermit version I
am willing to try.

Bill
Atlanta



From fdc@columbia.edu Mon Jul 28 10:07:02 EDT 2003
Article: 14445 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Word Perfect Keyboard (Frank)
Date: 28 Jul 2003 10:06:44 -0400
Organization: Columbia University
Lines: 39
Message-ID: <bg3alk$4nc$1@watsol.cc.columbia.edu>
References: <00q6ivkjdn6f8mad9ou0pi95gk273d343a@4ax.com> <bfummb$q3k$1@watsol.cc.columbia.edu> <bg1c04$rd7$2@blue.rahul.net>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1059401205 13364 128.59.39.139 (28 Jul 2003 14:06:45 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 28 Jul 2003 14:06:45 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14445

In article <bg1c04$rd7$2@blue.rahul.net>,
 <dold@WordXPerfe.usenet.us.com> wrote:
: Frank da Cruz <fdc@columbia.edu> wrote:
: > In article <00q6ivkjdn6f8mad9ou0pi95gk273d343a@4ax.com>,
: > Bill  <bill.loard@nowhere.org> wrote:
: > : I refuse to believe that the ancient version of ProComm is the only
: > : thing that will work!
: 
: > Me too.  Let's try again, step by step.  Let's assume you have a connection
: 
: I wanted to wait for Frank to respond first, with a K95 entry that was more
: graceful than my setup.
: 
K95's WordPerfect keyboard mode is built-in.  You can see what the default
mappings in the Default.Ksc file, which is in your Kermit 95 directory tree
somewhere; there's also a copy here:

  ftp://kermit.columbia.edu/kermit/k95/default.ksc

Search for "SET TERMINAL KEY wp" and then read the next 146 lines.  Of
course you can change the mapping any way you like.

: I made my own mapping for WordPerfect and MSDOS Kermit-3.11 to a
: UnixWare box.  I was also faced with another Unix (ESIX) system that
: came with bundled software and a fixed terminal type of vt100-pro,
: with some mangling to fit the Procomm-of-the-day mapping.
: 
: By capturing what procomm sent to the unix system for each F key, I
: was able to build my own map of what Kermit needed to send.  I probably
: still have that lying around somewhere.
: 
: I looked at the Wordperfect mapping that was on the kermit site at that
: time, and chose not to use it, although I don't recall why.
: 
It should have been just the ticket since these mappings were provided by
WordPerfect themselves.  K95 used this map as a model for its WP keyboard
mode.

- Frank


From bill.loard@nowhere.org Wed Jul 30 12:06:09 EDT 2003
Article: 14446 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!nycmny1-snh1.gtei.net!crtntx1-snh1.gtei.net!news.gtei.net!newsfeed1.easynews.com!easynews.com!easynews!elnk-pas-nf1!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!stamper.news.atl.earthlink.net!harp.news.atl.earthlink.net!not-for-mail
From: Bill <bill.loard@nowhere.org>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Word Perfect Keyboard (Frank)
Date: Wed, 30 Jul 2003 23:37:41 -0400
Organization: Dunwoody Georgia
Lines: 56
Message-ID: <3a3hivophckesp3qko7bm90q1bobfgn8jk@4ax.com>
References: <00q6ivkjdn6f8mad9ou0pi95gk273d343a@4ax.com> <bfummb$q3k$1@watsol.cc.columbia.edu> <bg1c04$rd7$2@blue.rahul.net> <bg3alk$4nc$1@watsol.cc.columbia.edu>
NNTP-Posting-Host: cf.45.5e.d5
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Server-Date: 30 Jul 2003 15:35:33 GMT
X-Newsreader: Forte Agent 1.93/32.576 English (American)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14446

On 28 Jul 2003 10:06:44 -0400, fdc@columbia.edu (Frank da Cruz) wrote:

>In article <bg1c04$rd7$2@blue.rahul.net>,
> <dold@WordXPerfe.usenet.us.com> wrote:
>: Frank da Cruz <fdc@columbia.edu> wrote:
>: > In article <00q6ivkjdn6f8mad9ou0pi95gk273d343a@4ax.com>,
>: > Bill  <bill.loard@nowhere.org> wrote:
>: > : I refuse to believe that the ancient version of ProComm is the only
>: > : thing that will work!
>: 
>: > Me too.  Let's try again, step by step.  Let's assume you have a connection
>: 
>: I wanted to wait for Frank to respond first, with a K95 entry that was more
>: graceful than my setup.
>: 
>K95's WordPerfect keyboard mode is built-in.  You can see what the default
>mappings in the Default.Ksc file, which is in your Kermit 95 directory tree
>somewhere; there's also a copy here:
>
>  ftp://kermit.columbia.edu/kermit/k95/default.ksc
>
>Search for "SET TERMINAL KEY wp" and then read the next 146 lines.  Of
>course you can change the mapping any way you like.
>
>: I made my own mapping for WordPerfect and MSDOS Kermit-3.11 to a
>: UnixWare box.  I was also faced with another Unix (ESIX) system that
>: came with bundled software and a fixed terminal type of vt100-pro,
>: with some mangling to fit the Procomm-of-the-day mapping.
>: 
>: By capturing what procomm sent to the unix system for each F key, I
>: was able to build my own map of what Kermit needed to send.  I probably
>: still have that lying around somewhere.
>: 
>: I looked at the Wordperfect mapping that was on the kermit site at that
>: time, and chose not to use it, although I don't recall why.
>: 
>It should have been just the ticket since these mappings were provided by
>WordPerfect themselves.  K95 used this map as a model for its WP keyboard
>mode.
>
>- Frank

I have used FinePrint to print out the whole manual, and found the WP
section. If the old mapping file is found it may be worth posting at
Kemit. I expect that the Transcribers will all hit this at some
point(?). Especially when the old version of ProComm(s) flake out.
Pretty sure it will not run in XP and I haven't tried it on my Win2K
machine. 

Thanks

Bill
(BTW the existing WP emulation works well enough to make corrections
to the server copy, and apparently they mostly work on WP locally and
then up-load the files. Kermit up-loads fine as is......)



From fdc@columbia.edu Wed Jul 30 12:08:22 EDT 2003
Article: 14447 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Word Perfect Keyboard (Frank)
Date: 30 Jul 2003 12:08:18 -0400
Organization: Columbia University
Lines: 19
Message-ID: <bg8qhi$pla$1@watsol.cc.columbia.edu>
References: <00q6ivkjdn6f8mad9ou0pi95gk273d343a@4ax.com> <bg1c04$rd7$2@blue.rahul.net> <bg3alk$4nc$1@watsol.cc.columbia.edu> <3a3hivophckesp3qko7bm90q1bobfgn8jk@4ax.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1059581299 25987 128.59.39.139 (30 Jul 2003 16:08:19 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 30 Jul 2003 16:08:19 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14447

In article <3a3hivophckesp3qko7bm90q1bobfgn8jk@4ax.com>,
Bill  <bill.loard@nowhere.org> wrote:
: I have used FinePrint to print out the whole manual, and found the WP
: section. If the old mapping file is found it may be worth posting at
: Kemit. I expect that the Transcribers will all hit this at some
: point(?). Especially when the old version of ProComm(s) flake out.
: Pretty sure it will not run in XP and I haven't tried it on my Win2K
: machine. 
: 
Why don't you post what you think the mapping should be and then we
can compare it with what Kermit uses, and then we'll know why you think
there is a problem.  Remember: Kermit's mapping is the one recommended
by the WordPerfect company itself.

Anyway, you still haven't confirmed that you have actually activated
Kermit's WordPerfect keyboard mode.  I explained several times how to
to do this.

- Frank


From dold@ModemXemul.usenet.us.com Fri Aug  8 12:27:47 EDT 2003
Article: 14448 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!news.ticon.net!npeer.de.kpn-eurorings.net!news-out.nuthinbutnews.com!propagator2-sterling!In.nntp.be!gail.ripco.com!wasp.rahul.net!blue.rahul.net!not-for-mail
From: dold@ModemXemul.usenet.us.com
Newsgroups: comp.dcom.telecom.tech,comp.protocols.kermit.misc
Subject: Re: Modem emulation over IP
Followup-To: comp.dcom.telecom.tech
Date: Fri, 8 Aug 2003 16:11:38 +0000 (UTC)
Organization: a2i network
Lines: 29
Sender: Clarence Dold <dold@violet.rahul.net>
Message-ID: <bh0i3q$hr6$1@blue.rahul.net>
References: <MPG.199d6c21716392af98968d@news.newsreader.com>
NNTP-Posting-Host: violet.rahul.net
X-Trace: blue.rahul.net 1060359098 18278 66.237.72.28 (8 Aug 2003 16:11:38 GMT)
X-Complaints-To: support@rahul.net
NNTP-Posting-Date: Fri, 8 Aug 2003 16:11:38 +0000 (UTC)
User-Agent: tin/1.4.6-20020816 ("Aerials") (UNIX) (Linux/2.4.20-19.7smp (i686))
X-Comment: Encoded From: line allows replies that preserve original subject
Xref: newsmaster.cc.columbia.edu comp.dcom.telecom.tech:75257 comp.protocols.kermit.misc:14448

Jud Hardcastle <Jud_Hardcastle@ureach.removethis.com> wrote:
> Some background: My parttime home is a houseboat.  
...
> Besides personal Internet stuff, I connect to the office WAN for network 
> files and Notes by dialing into an ISP and connecting thru to a company 
> VPN.  I also dial into several devices that have modems only--no IP 
> connection possible to those--using either a "dumb" terminal emulation 
> program or a proprietary access program.

> I should be able to access the VPN thru a wireless highspeed data 
> network BUT the dialup modems are the problem.

Someone posted a map of the wireless access points available in a San Diego
harbor area.  You are probably covered on that side.

On the modem stuff... is this really dumb modem?  If your ISP had dialout
modems available, would you be able to use a simple Unix tip or kermit?
Or, is there a land-based place where you could have a windows box
available for your use?  I connect to my office PC via VPN from my wireless
laptop, using Windows RDC, which is "almost like being there" ;-)
I have pretty snappy response, and since my desktop is a WinXP box, I can
copy files back to my laptop at \\tsclient\c. 

Maybe someone in the Kermit group knows more about the modem emulation.
I've taken the liberty of crossposting this to that group.

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


From bruceradtke@REMOVEspamREMOVE.earthlink.net Sun Aug 10 13:44:17 EDT 2003
Article: 14449 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!nycmny1-snh1.gtei.net!crtntx1-snh1.gtei.net!news.gtei.net!newsfeed1.easynews.com!easynews.com!easynews!elnk-pas-nf1!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail
Reply-To: "nospam" <bruceradtke@REMOVEspamREMOVE.earthlink.net>
From: "nospam" <bruceradtke@REMOVEspamREMOVE.earthlink.net>
Newsgroups: comp.protocols.kermit.misc
Subject: Is this possible
Lines: 35
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Message-ID: <n%tZa.5215$M6.381283@newsread1.prod.itd.earthlink.net>
Date: Sun, 10 Aug 2003 16:01:23 GMT
NNTP-Posting-Host: 68.164.35.239
X-Complaints-To: abuse@earthlink.net
X-Trace: newsread1.prod.itd.earthlink.net 1060531283 68.164.35.239 (Sun, 10 Aug 2003 09:01:23 PDT)
NNTP-Posting-Date: Sun, 10 Aug 2003 09:01:23 PDT
Organization: EarthLink Inc. -- http://www.EarthLink.net
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14449

Hello -

My question is whether kermit scripts could handle the following scenario.
I've done a few simple scripts but this would entail dialing up into a
network,  connecting with one user/password for Unix network,  and then
ftp'ing to a Windows machine as another user/password.

My end user is a retail store, "the client",   and is running SCO Unix.  It
uses a kermit script to dialup into a "private" network ( ie: the corporate
network) at the end of the day.   It connects to the corporate network with
its corporate userid & password.

Upon connection,  it then ftps a file to an NT./XP Windows box hanging off
of the network.  The ftp connection on the Windows box will be a different
userid & password then the Unix login.  ( I'm developing software for this
NT machine to process this end of the day file from the retail client.)

1)  Can I script connection with 1 login userid & then FTP to a machine as
another userid?

2)  The other wrinkle is that the client does not have a 'proper' IP
address.  Most likely it will be 192.168.1.1 - the IP address handed to the
machine from the router.   Will this at all prevent the machine from doing
an FTP to the Windows box?    I would think it would need a valid IP address
to do an FTP session.

Thanks,
bruce radtke


From fdc@columbia.edu Sun Aug 10 13:44:19 EDT 2003
Article: 14450 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Is this possible
Date: 10 Aug 2003 13:43:49 -0400
Organization: Columbia University
Lines: 36
Message-ID: <bh608l$elb$1@watsol.cc.columbia.edu>
References: <n%tZa.5215$M6.381283@newsread1.prod.itd.earthlink.net>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1060537430 29209 128.59.39.139 (10 Aug 2003 17:43:50 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 10 Aug 2003 17:43:50 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14450

In article <n%tZa.5215$M6.381283@newsread1.prod.itd.earthlink.net>,
nospam <bruceradtke@REMOVEspamREMOVE.earthlink.net> wrote:
: My question is whether kermit scripts could handle the following scenario.
: I've done a few simple scripts but this would entail dialing up into a
: network,  connecting with one user/password for Unix network,  and then
: ftp'ing to a Windows machine as another user/password.
: 
: My end user is a retail store, "the client",   and is running SCO Unix.  It
: uses a kermit script to dialup into a "private" network ( ie: the corporate
: network) at the end of the day.   It connects to the corporate network with
: its corporate userid & password.
: 
: Upon connection,  it then ftps a file to an NT./XP Windows box hanging off
: of the network.  The ftp connection on the Windows box will be a different
: userid & password then the Unix login.  ( I'm developing software for this
: NT machine to process this end of the day file from the retail client.)
: 
: 1)  Can I script connection with 1 login userid & then FTP to a machine as
: another userid?
: 
You've already scripted the login to the first machine.  At this point you
the script can automate starting the FTP client on Unix, making the connection
to NT, and transferrring files.  As far as the Kermit script is concerned,
it's just text -- INPUT this, OUTPUT that.

: 2)  The other wrinkle is that the client does not have a 'proper' IP
: address.  Most likely it will be 192.168.1.1 - the IP address handed to the
: machine from the router.   Will this at all prevent the machine from doing
: an FTP to the Windows box?    I would think it would need a valid IP address
: to do an FTP session.
: 
If you can do it by hand, you can script it.  See:

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

- Frank


From nospam@dontbother.luser Tue Aug 12 09:18:29 EDT 2003
Article: 14451 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newspump.monmouth.com!newspeer.monmouth.com!newspeer1.nwr.nac.net!in.100proofnews.com!in.100proofnews.com!cycny01.gnilink.net!cyclone1.gnilink.net!spamkiller2.gnilink.net!nwrdny02.gnilink.net.POSTED!53ab2750!not-for-mail
From: marty <nospam@dontbother.luser>
Subject: Telnet zmodem
Newsgroups: comp.protocols.kermit.misc
Lines: 93
Organization: SOLAR_SYSTEM  --remove "_invalid" to send eMail
User-Agent: KNode/0.7.1
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
X-eMail: 6mqb0mis02_invalid@sneakemail.com
Message-ID: <WpYZa.2154$u%2.1308@nwrdny02.gnilink.net>
Date: Tue, 12 Aug 2003 02:37:42 GMT
NNTP-Posting-Host: 68.161.198.42
X-Complaints-To: abuse@verizon.net
X-Trace: nwrdny02.gnilink.net 1060655862 68.161.198.42 (Mon, 11 Aug 2003 22:37:42 EDT)
NNTP-Posting-Date: Mon, 11 Aug 2003 22:37:42 EDT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14451

Using:  C-Kermit 8.0.209, 17 Mar 2003, for Linux(RH 8.0)

I have an account that allows me to connect via telnet to a SunOS 5.7  
server.  Login presents me with the user menu, one of the choices is to my 
'Personal files' section.  Upload/Download features are via xmodem or 
zmodem.  In the past on the windows side, I've used Hilgreave's 
HyperTerminal to do uploading/downloading to my 'Personal files' section.

But know I'm using RedHat... & C-Kermit 8.0.209, 17 Mar 2003, for Linux.  As 
powerful as C-Kermit is I figure it should allow me to do the same as I did 
on the windows side but...

>From  a C-Kermit prompt I telnet to and log onto the server.  The procedure 
for downloading via a telnet connection is to choose the download option 
and name the file one wishes to download.  Chose xmodem or zmodem 
(C-Kermit: set protocol zmodem) and the process begins...

========= > Lines added.

================================
Receiving: pine-error_addressbooks.png
Retry 0: Bad CRC
Retry 0: Bad CRC
Retry 0: Bad CRC
Retry 0: Bad CRC
Retry 0: Bad CRC
Retry 0: Bad CRC
Retry 0: Bad CRC
Retry 0: Bad CRC
Bytes received:       0/  30846   BPS:0      ETA 00:00  Retry 0: Bad CRC
Retry 0: Bad CRC
Retry 0: Bad CRC
Retry 0: Bad CRC
Retry 0: Bad CRC
Retry 0: Bad CRC
Retry 0: Bad CRC
Retry 0: Bad CRC
Retry 0: Bad CRC
Bytes received:       0/  30846   BPS:0      ETA 00:00  Retry 0: Bad CRC
Retry 0: Bad CRC
Retry 0: Bad CRC
Retry 0: Bad CRC

rz: pine-error_addressbooks.png removed.
================================

The process finishes with me being dumped back to the C-Kermit prompt.  
Status: FAILURE

Uploads are just as unsuccessful.  I start with a login to a telnet session 
>from  the C-Kermit prompt.  Initiate an upload using zmodem (again C-Kermit 
is 'set protocol zmodem', do a Ctrl\c back to C-Kermit prompt issue the 
following...

======================
C-Kermit>send ns_comparison.jpg
Sending: ns_comparison.jpg
Bytes Sent:      0/  96311   BPS:0        ETA 00:00  Retry 0: Got ZCAN

Transfer incomplete

*************************
SEND-class command failed.
 Packets sent: 1
 Retransmissions: 10
 Timeouts: 7
 Damaged packets: 0

HINTS... If the preceding error message does not explain the failure:
 . Did you start a Kermit receiver on the far end?
 . Adjust the timeout method (see HELP SET SEND).
 . Increase the retry limit (see HELP SET RETRY).
 . 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.)
*************************
=====================

The file name shows in the list of files in my 'Personal file' on the host, 
but of course the file is 0 KB.

I've only been using linux for a year or so now and C-Kermit for a few days 
so any help or suggestions would be much appreciated.

thanks,
-marty

-- 
All UNconstructive criticism will be filed in the appropriate receptacle.


From sonicechoesWithNoSpam@hotmail.com Tue Aug 12 09:18:50 EDT 2003
Article: 14453 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!not-for-mail
From: dgk <sonicechoes@hot-nospamp-mail.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Autostart of Kermit?
Date: Tue, 12 Aug 2003 09:16:07 -0400
Organization: PANIX Public Access Internet and UNIX, NYC
Lines: 3
Message-ID: <h1qhjvk1vlpipt31u09338kim16l195b5b@4ax.com>
Reply-To: sonicechoesWithNoSpam@hotmail.com
NNTP-Posting-Host: dsl027-158-082.nyc1.dsl.speakeasy.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: reader2.panix.com 1060694162 15136 216.27.158.82 (12 Aug 2003 13:16:02 GMT)
X-Complaints-To: abuse@panix.com
NNTP-Posting-Date: Tue, 12 Aug 2003 13:16:02 +0000 (UTC)
X-Newsreader: Forte Agent 1.92/32.572
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14453

Is there a way to get Kermit running at machine bootup on 2000 pro? I
can't see how to do it unless someone logs on. Would it have to run as
a service?


From fdc@columbia.edu Tue Aug 12 09:21:09 EDT 2003
Article: 14454 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Telnet zmodem
Date: 12 Aug 2003 09:18:26 -0400
Organization: Columbia University
Lines: 72
Message-ID: <bhapf2$d0a$1@watsol.cc.columbia.edu>
References: <WpYZa.2154$u%2.1308@nwrdny02.gnilink.net>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1060694307 18267 128.59.39.139 (12 Aug 2003 13:18:27 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 12 Aug 2003 13:18:27 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14454

In article <WpYZa.2154$u%2.1308@nwrdny02.gnilink.net>,
marty  <nospam@dontbother.luser> wrote:
: Using:  C-Kermit 8.0.209, 17 Mar 2003, for Linux(RH 8.0)
: 
: I have an account that allows me to connect via telnet to a SunOS 5.7  
: server.  Login presents me with the user menu, one of the choices is to my 
: 'Personal files' section.  Upload/Download features are via xmodem or 
: zmodem.  In the past on the windows side, I've used Hilgreave's 
: HyperTerminal to do uploading/downloading to my 'Personal files' section.
: 
: But know I'm using RedHat... & C-Kermit 8.0.209, 17 Mar 2003, for Linux.  As 
: powerful as C-Kermit is I figure it should allow me to do the same as I did 
: on the windows side but...
: 
: From a C-Kermit prompt I telnet to and log onto the server.  The procedure 
: for downloading via a telnet connection is to choose the download option 
: and name the file one wishes to download.  Chose xmodem or zmodem 
: (C-Kermit: set protocol zmodem) and the process begins...
: 
"set protocol zmodem" invokes an external protocol, whatever Red Hat happens
to have installed as "rz" and "sz".

: ================================
: Receiving: pine-error_addressbooks.png
: Retry 0: Bad CRC
: ...
: Bytes received:       0/  30846   BPS:0      ETA 00:00  Retry 0: Bad CRC
: ...
: Retry 0: Bad CRC
: 
: rz: pine-error_addressbooks.png removed.
: ================================
: 
: The process finishes with me being dumped back to the C-Kermit prompt.  
: Status: FAILURE
: 
So "rz" failed.

: Uploads are just as unsuccessful.  I start with a login to a telnet session 
: from the C-Kermit prompt.  Initiate an upload using zmodem (again C-Kermit 
: is 'set protocol zmodem', do a Ctrl\c back to C-Kermit prompt issue the 
: following...
: 
: The file name shows in the list of files in my 'Personal file' on the host, 
: but of course the file is 0 KB.
: 
: I've only been using linux for a year or so now and C-Kermit for a few days 
: so any help or suggestions would be much appreciated.
: 
Some knowledge of serial communication is required.  The C-Kermit book has
chapters and chapters explaining all this.  Very briefly:

 . We know the interface speed is right because you can see the
   remote text.

 . Probably the parity is right ("none") because the host would never
   pick Xmodem or Zmodem as protocols if non-none parity were being
   used.

 . Therefore the most likely cause of failure is inadequate flow
   control.

You have to make sure an effective form of flow control is established
between every pair of devices along the communication path, e.g. local
computer to its modem, modem to modem, remote modem to remote serial
port.  See:

  http://www.columbia.edu/kermit/support.html#hints

if you need to follow up.

- Frank


From fdc@columbia.edu Tue Aug 12 09:21:12 EDT 2003
Article: 14455 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Autostart of Kermit?
Date: 12 Aug 2003 09:20:20 -0400
Organization: Columbia University
Lines: 15
Message-ID: <bhapik$db1$1@watsol.cc.columbia.edu>
References: <h1qhjvk1vlpipt31u09338kim16l195b5b@4ax.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1060694421 18358 128.59.39.139 (12 Aug 2003 13:20:21 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 12 Aug 2003 13:20:21 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14455

In article <h1qhjvk1vlpipt31u09338kim16l195b5b@4ax.com>,
dgk  <sonicechoesWithNoSpam@hotmail.com> wrote:
: Is there a way to get Kermit running at machine bootup on 2000 pro? I
: can't see how to do it unless someone logs on. Would it have to run as
: a service?
:
Perhaps what you are really looking for is Windows Internet Kermit Service?

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

If not, then please be more specific about why you want Kermit to be
started at boot time, without being associated with a user, and what you
want it to do, and where its commands should come from.

- Frank


From sonicechoesWithNoSpam@hotmail.com Tue Aug 12 09:56:57 EDT 2003
Article: 14456 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!not-for-mail
From: dgk <sonicechoes@hot-nospamp-mail.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Autostart of Kermit?
Date: Tue, 12 Aug 2003 09:41:53 -0400
Organization: PANIX Public Access Internet and UNIX, NYC
Lines: 28
Message-ID: <v2rhjv45lu9a0e4vr4qs8que330kfrqa1j@4ax.com>
References: <h1qhjvk1vlpipt31u09338kim16l195b5b@4ax.com> <bhapik$db1$1@watsol.cc.columbia.edu>
Reply-To: sonicechoesWithNoSpam@hotmail.com
NNTP-Posting-Host: dsl027-158-082.nyc1.dsl.speakeasy.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: reader2.panix.com 1060695708 15622 216.27.158.82 (12 Aug 2003 13:41:48 GMT)
X-Complaints-To: abuse@panix.com
NNTP-Posting-Date: Tue, 12 Aug 2003 13:41:48 +0000 (UTC)
X-Newsreader: Forte Agent 1.92/32.572
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14456

On 12 Aug 2003 09:20:20 -0400, fdc@columbia.edu (Frank da Cruz) wrote:

>In article <h1qhjvk1vlpipt31u09338kim16l195b5b@4ax.com>,
>dgk  <sonicechoesWithNoSpam@hotmail.com> wrote:
>: Is there a way to get Kermit running at machine bootup on 2000 pro? I
>: can't see how to do it unless someone logs on. Would it have to run as
>: a service?
>:
>Perhaps what you are really looking for is Windows Internet Kermit Service?
>
>  http://www.columbia.edu/kermit/wiksd.html
>
>If not, then please be more specific about why you want Kermit to be
>started at boot time, without being associated with a user, and what you
>want it to do, and where its commands should come from.
>
>- Frank

We have an application written in K95, started by the command line:
"C:\K95\K95.EXE MM0.KSC". It answers the phone, gets an ID and
Password, and has a short dialog that sends and receives files. Very
basic stuff. In fact, the id and passwords are just hardcoded into the
script, it doesn't even use a database.

We would like it to start up with the booting of the machine rather
than have to be started manually. It sure sounds like we want the
windows service product. Would that be able to use the existing
scripts?


From fdc@columbia.edu Tue Aug 12 09:57:00 EDT 2003
Article: 14457 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Autostart of Kermit?
Date: 12 Aug 2003 09:56:32 -0400
Organization: Columbia University
Lines: 44
Message-ID: <bharmg$igm$1@watsol.cc.columbia.edu>
References: <h1qhjvk1vlpipt31u09338kim16l195b5b@4ax.com> <bhapik$db1$1@watsol.cc.columbia.edu> <v2rhjv45lu9a0e4vr4qs8que330kfrqa1j@4ax.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1060696593 20127 128.59.39.139 (12 Aug 2003 13:56:33 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 12 Aug 2003 13:56:33 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14457

In article <v2rhjv45lu9a0e4vr4qs8que330kfrqa1j@4ax.com>,
dgk  <sonicechoesWithNoSpam@hotmail.com> wrote:
: On 12 Aug 2003 09:20:20 -0400, fdc@columbia.edu (Frank da Cruz) wrote:
: 
: >In article <h1qhjvk1vlpipt31u09338kim16l195b5b@4ax.com>,
: >dgk  <sonicechoesWithNoSpam@hotmail.com> wrote:
: >: Is there a way to get Kermit running at machine bootup on 2000 pro? I
: >: can't see how to do it unless someone logs on. Would it have to run as
: >: a service?
: >:
: >Perhaps what you are really looking for is Windows Internet Kermit Service?
: >
: >  http://www.columbia.edu/kermit/wiksd.html
: 
: We have an application written in K95, started by the command line:
: "C:\K95\K95.EXE MM0.KSC". It answers the phone, gets an ID and
: Password, and has a short dialog that sends and receives files. Very
: basic stuff. In fact, the id and passwords are just hardcoded into the
: script, it doesn't even use a database.
: 
: We would like it to start up with the booting of the machine rather
: than have to be started manually. It sure sounds like we want the
: windows service product. Would that be able to use the existing
: scripts?
:
No.  As the above-referenced web page states, WIKSD is only for incoming
Internet connections.

I believe you can use the SRVANY utility to set up your script as a service.
But you have to be careful about about access, authentication, and
permissions.

  http://www.winnetmag.com/Articles/Index.cfm?ArticleID=7959

There might also be issues regarding the program's input and output, and
what happens a connection hangs up.  See the documentation of command-line
options for ways around such problems (esp. the -# option).  There might 
also be consequences for picking the GUI versus the Console version.

As an alternative, you might consider K95 Host Mode, which already does
pretty much what you describe.  See the Host Mode documentation in the
Kermit 95 manual.

- Frank


From nospam@dontbother.luser Tue Aug 12 14:29:28 EDT 2003
Article: 14458 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!news.algonet.se!algonet!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!news-out.nuthinbutnews.com!propagator2-sterling!news-in-sterling.nuthinbutnews.com!cyclone1.gnilink.net!spamkiller2.gnilink.net!nwrdny03.gnilink.net.POSTED!53ab2750!not-for-mail
From: marty <nospam@dontbother.luser>
Subject: Re: Telnet zmodem
Newsgroups: comp.protocols.kermit.misc
References: <WpYZa.2154$u%2.1308@nwrdny02.gnilink.net> <bhapf2$d0a$1@watsol.cc.columbia.edu>
Lines: 107
Organization: SOLAR_SYSTEM  --remove "_invalid" to send eMail
User-Agent: KNode/0.7.1
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
X-eMail: 6mqb0mis02_invalid@sneakemail.com
Message-ID: <0r9_a.319$jw4.275@nwrdny03.gnilink.net>
Date: Tue, 12 Aug 2003 17:26:20 GMT
NNTP-Posting-Host: 68.161.198.42
X-Complaints-To: abuse@verizon.net
X-Trace: nwrdny03.gnilink.net 1060709180 68.161.198.42 (Tue, 12 Aug 2003 13:26:20 EDT)
NNTP-Posting-Date: Tue, 12 Aug 2003 13:26:20 EDT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14458

Frank da Cruz wrote:

> In article <WpYZa.2154$u%2.1308@nwrdny02.gnilink.net>,
> marty  <nospam@dontbother.luser> wrote:
> : Using:  C-Kermit 8.0.209, 17 Mar 2003, for Linux(RH 8.0)
> : 
> : I have an account that allows me to connect via telnet to a SunOS 5.7
> : server.  Login presents me with the user menu, one of the choices is to
> : my
> : 'Personal files' section.  Upload/Download features are via xmodem or
> : zmodem.  In the past on the windows side, I've used Hilgreave's
> : HyperTerminal to do uploading/downloading to my 'Personal files'
> : section.
> : 
> : But know I'm using RedHat... & C-Kermit 8.0.209, 17 Mar 2003, for Linux.
> :  As powerful as C-Kermit is I figure it should allow me to do the same
> : as I did on the windows side but...
> : 
> : From a C-Kermit prompt I telnet to and log onto the server.  The
> : procedure for downloading via a telnet connection is to choose the
> : download option
> : and name the file one wishes to download.  Chose xmodem or zmodem
> : (C-Kermit: set protocol zmodem) and the process begins...
> : 
> "set protocol zmodem" invokes an external protocol, whatever Red Hat
> happens to have installed as "rz" and "sz".

Yes I was aware of that fact, thanks.

> 
> : ================================
> : Receiving: pine-error_addressbooks.png
> : Retry 0: Bad CRC
> : ...
> : Bytes received:       0/  30846   BPS:0      ETA 00:00  Retry 0: Bad CRC
> : ...
> : Retry 0: Bad CRC
> : 
> : rz: pine-error_addressbooks.png removed.
> : ================================
> : 
> : The process finishes with me being dumped back to the C-Kermit prompt.
> : Status: FAILURE
> : 
> So "rz" failed.

Actually, I wrongly stated that status reported 'FAILURE'.  In fact after 
all of these failed transfers, typing 'Status' at the C-Kermit prompt 
reports: 'SUCCESS'

> 
> : Uploads are just as unsuccessful.  I start with a login to a telnet
> : session
> : from the C-Kermit prompt.  Initiate an upload using zmodem (again
> : C-Kermit is 'set protocol zmodem', do a Ctrl\c back to C-Kermit prompt
> : issue the following...
> : 
> : The file name shows in the list of files in my 'Personal file' on the
> : host, but of course the file is 0 KB.
> : 
> : I've only been using linux for a year or so now and C-Kermit for a few
> : days so any help or suggestions would be much appreciated.
> : 
> Some knowledge of serial communication is required.  The C-Kermit book has
> chapters and chapters explaining all this.

Ok, so you would like me to buy your book!  Maybe I will, but in the 
meantime your help is greatly appreciated.

>  Very briefly:
> 
>  . We know the interface speed is right because you can see the
>    remote text.
> 
>  . Probably the parity is right ("none") because the host would never
>    pick Xmodem or Zmodem as protocols if non-none parity were being
>    used.

Yes parity is set to 'none'

> 
>  . Therefore the most likely cause of failure is inadequate flow
>    control.
> 
> You have to make sure an effective form of flow control is established
> between every pair of devices along the communication path, e.g. local
> computer to its modem, modem to modem, remote modem to remote serial
> port.  See:
> 
>   http://www.columbia.edu/kermit/support.html#hints
> 

Thanks for the link but one minor detail I failed to mention.  My connection 
to the remote host is via broadband and the Internet, no modem(s) involved.  
I've tried various flow-control settings for both 'tcpip' and 'remote' to 
no avail?

> if you need to follow up.
> 
> - Frank

Well thanks for your responses.  What I may lack in 'knowledge of serial 
communication' I will attempt to overcome in bulldog-like determination!
 
-marty
-- 
All UNconstructive criticism will be filed in the appropriate receptacle.


From fdc@columbia.edu Tue Aug 12 14:29:31 EDT 2003
Article: 14459 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Telnet zmodem
Date: 12 Aug 2003 14:29:25 -0400
Organization: Columbia University
Lines: 65
Message-ID: <bhbbm5$rrj$1@watsol.cc.columbia.edu>
References: <WpYZa.2154$u%2.1308@nwrdny02.gnilink.net> <bhapf2$d0a$1@watsol.cc.columbia.edu> <0r9_a.319$jw4.275@nwrdny03.gnilink.net>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1060712966 2721 128.59.39.139 (12 Aug 2003 18:29:26 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 12 Aug 2003 18:29:26 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14459

In article <0r9_a.319$jw4.275@nwrdny03.gnilink.net>,
marty  <nospam@dontbother.luser> wrote:
: Frank da Cruz wrote:
: > In article <WpYZa.2154$u%2.1308@nwrdny02.gnilink.net>,
: > marty  <nospam@dontbother.luser> wrote:
: > : Using:  C-Kermit 8.0.209, 17 Mar 2003, for Linux(RH 8.0)
: > : ...
: > : From a C-Kermit prompt I telnet to and log onto the server.  The
: > : procedure for downloading via a telnet connection is to choose the
: > : download option and name the file one wishes to download.  Chose
: > : xmodem or zmodem (C-Kermit: set protocol zmodem) and the process
: > : begins...
: > : 
: > "set protocol zmodem" invokes an external protocol, whatever Red Hat
: > happens to have installed as "rz" and "sz".
: 
: Yes I was aware of that fact, thanks.
: 
Yes but I didn't know you were aware.

: > : The process finishes with me being dumped back to the C-Kermit prompt.
: > : Status: FAILURE
: > : 
: > So "rz" failed.
: 
: Actually, I wrongly stated that status reported 'FAILURE'.  In fact after 
: all of these failed transfers, typing 'Status' at the C-Kermit prompt 
: reports: 'SUCCESS'
: 
Probably you gave some other command that succeeded after the failed
file transfer and before the STATUS command.  From your posting, it's clear
that Kermit reported failure.

: > Some knowledge of serial communication is required.  The C-Kermit book has
: > chapters and chapters explaining all this.
: 
: Ok, so you would like me to buy your book!  Maybe I will, but in the 
: meantime your help is greatly appreciated.
: 
My point is that it takes a lot of explaining, more than you'd expect me to
type in the response to a newsgroup posting.  That's why we wrote the books.
We definitely do not get rich from them.

: > You have to make sure an effective form of flow control is established
: > between every pair of devices along the communication path, e.g. local
: > computer to its modem, modem to modem, remote modem to remote serial
: > port.  See:
: > 
: >   http://www.columbia.edu/kermit/support.html#hints
: 
: Thanks for the link but one minor detail I failed to mention.  My connection 
: to the remote host is via broadband and the Internet, no modem(s) involved.  
: I've tried various flow-control settings for both 'tcpip' and 'remote' to 
: no avail?
: 
Then it's a Zmodem protocol failure, which is prone to happen over Telnet
connections due to Telnet NVT rules, which Kermit obeys but many Zmodem
implementations do not.  Some of them might have a command-line option to
force them to adapt to Telnet connections.  Kermit protocol would work a
lot better -- you might want to mention this to whoever is in charge of
the other end.  Meanwhile, you'll have to look at the rz and sz programs
on your Linux system and see what command-line options are available and
tailor Kermit's SET PROTOCOL command accordingly.

- Frank


From nospam@dontbother.luser Wed Aug 13 12:10:45 EDT 2003
Article: 14460 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!nycmny1-snh1.gtei.net!news.gtei.net!newsfeed.mathworks.com!wn13feed!wn11feed!wn14feed!worldnet.att.net!199.45.49.37!cyclone1.gnilink.net!spamkiller2.gnilink.net!nwrdny01.gnilink.net.POSTED!53ab2750!not-for-mail
From: marty <nospam@dontbother.luser>
Subject: Re: Telnet zmodem
Newsgroups: comp.protocols.kermit.misc
References: <WpYZa.2154$u%2.1308@nwrdny02.gnilink.net> <bhapf2$d0a$1@watsol.cc.columbia.edu> <0r9_a.319$jw4.275@nwrdny03.gnilink.net> <bhbbm5$rrj$1@watsol.cc.columbia.edu>
Lines: 113
Organization: SOLAR_SYSTEM  --remove "_invalid" to send eMail
User-Agent: KNode/0.7.1
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
X-eMail: 6mqb0mis02_invalid@sneakemail.com
Message-ID: <8Vs_a.8529$UB4.2245@nwrdny01.gnilink.net>
Date: Wed, 13 Aug 2003 15:35:32 GMT
NNTP-Posting-Host: 68.161.198.42
X-Complaints-To: abuse@verizon.net
X-Trace: nwrdny01.gnilink.net 1060788932 68.161.198.42 (Wed, 13 Aug 2003 11:35:32 EDT)
NNTP-Posting-Date: Wed, 13 Aug 2003 11:35:32 EDT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14460

Frank da Cruz wrote:

> In article <0r9_a.319$jw4.275@nwrdny03.gnilink.net>,
> marty  <nospam@dontbother.luser> wrote:
> : Frank da Cruz wrote:
> : > In article <WpYZa.2154$u%2.1308@nwrdny02.gnilink.net>,
> : > marty  <nospam@dontbother.luser> wrote:
> : > : Using:  C-Kermit 8.0.209, 17 Mar 2003, for Linux(RH 8.0)
> : > : ...
> : > : From a C-Kermit prompt I telnet to and log onto the server.  The
> : > : procedure for downloading via a telnet connection is to choose the
> : > : download option and name the file one wishes to download.  Chose
> : > : xmodem or zmodem (C-Kermit: set protocol zmodem) and the process
> : > : begins...
> : > : 
> : > "set protocol zmodem" invokes an external protocol, whatever Red Hat
> : > happens to have installed as "rz" and "sz".

(lrzsz) 0.12.20  I believe this was the last available 'free' version that 
is in the public domain?

> : 
> : Yes I was aware of that fact, thanks.
> : 
> Yes but I didn't know you were aware.
> 
> : > : The process finishes with me being dumped back to the C-Kermit
> : > : prompt. Status: FAILURE
> : > : 
> : > So "rz" failed.
> : 
> : Actually, I wrongly stated that status reported 'FAILURE'.  In fact
> : after all of these failed transfers, typing 'Status' at the C-Kermit
> : prompt reports: 'SUCCESS'
> : 
> Probably you gave some other command that succeeded after the failed
> file transfer and before the STATUS command.  From your posting, it's
> clear that Kermit reported failure.
> 

I think I now understand why C-Kermit reports status: SUCCESS ?  After the 
xfer attempt, I reconnect to the host.  The host message is reporting 'File 
transfer complete' although there was no transfer?

> : > Some knowledge of serial communication is required.  The C-Kermit book
> : > has chapters and chapters explaining all this.
> : 
> : Ok, so you would like me to buy your book!  Maybe I will, but in the
> : meantime your help is greatly appreciated.
> : 
> My point is that it takes a lot of explaining, more than you'd expect me
> to
> type in the response to a newsgroup posting.  That's why we wrote the
> books. We definitely do not get rich from them.

Ok, it was just an feeble attempt to inject a bit of my lame humor into this 
thread!  From re-reading the C-Kermit man-pages I see that you are one of 
the main software developers of C-Kermit AS WELL AS author of the man, the 
manual, etc.  Ouch!  Please accept my apology.

> 
> : > You have to make sure an effective form of flow control is established
> : > between every pair of devices along the communication path, e.g. local
> : > computer to its modem, modem to modem, remote modem to remote serial
> : > port.  See:
> : > 
> : >   http://www.columbia.edu/kermit/support.html#hints
> : 
> : Thanks for the link but one minor detail I failed to mention.  My
> : connection to the remote host is via broadband and the Internet, no
> : modem(s) involved. I've tried various flow-control settings for both
> : 'tcpip' and 'remote' to no avail?
> : 
> Then it's a Zmodem protocol failure, which is prone to happen over Telnet
> connections due to Telnet NVT rules, which Kermit obeys but many Zmodem
> implementations do not.  Some of them might have a command-line option to
> force them to adapt to Telnet connections.  Kermit protocol would work a
> lot better 

>From  what I have read, I am sure your are correct.

-- you might want to mention this to whoever is in charge of
> the other end.

They don't care.  This is a free account provided by my local library via a 
library cooperative (www.suffolk.lib.ny.us).  Heck, the only Online support 
they provide is to windows and mac types!  It took three or four eMails to 
tech support for them to come up with untried software suggestions, 
C-Kermit being one of two.

  Meanwhile, you'll have to look at the rz and sz programs
> on your Linux system and see what command-line options are available and
> tailor Kermit's SET PROTOCOL command accordingly.
> 
> - Frank

*Bottom line*

User error was to blame for the C-Kermit/zmodem/sz/SEND error.  Once I 
entered the FULL path name to the file I needed to upload all works 
perfectly.  (I had assummed that because I was in the file directory I 
could type SEND filename... never assume)

Downloading is still the issue of failure, but I will continue to 
experiment.  The fact that I can now do file uploads via telnet/zmodem to 
the host is most helpful.

Frank, thanks for your comments and your patience.  It is much appreciated.  
I won't trouble you further.

marty
-- 
All UNconstructive criticism will be filed in the appropriate receptacle.


From fdc@columbia.edu Wed Aug 13 12:19:50 EDT 2003
Article: 14461 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Telnet zmodem
Date: 13 Aug 2003 12:19:46 -0400
Organization: Columbia University
Lines: 25
Message-ID: <bhdof2$6ba$1@watsol.cc.columbia.edu>
References: <WpYZa.2154$u%2.1308@nwrdny02.gnilink.net> <0r9_a.319$jw4.275@nwrdny03.gnilink.net> <bhbbm5$rrj$1@watsol.cc.columbia.edu> <8Vs_a.8529$UB4.2245@nwrdny01.gnilink.net>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1060791587 23737 128.59.39.139 (13 Aug 2003 16:19:47 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 13 Aug 2003 16:19:47 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14461

In article <8Vs_a.8529$UB4.2245@nwrdny01.gnilink.net>,
marty  <nospam@dontbother.luser> wrote:
: ...
: User error was to blame for the C-Kermit/zmodem/sz/SEND error.  Once
: I entered the FULL path name to the file I needed to upload all works 
: perfectly.  (I had assummed that because I was in the file directory I 
: could type SEND filename... never assume)
: 
There's nothing in Kermit that requires you to give a full path.  The
regular Omen rzsz doesn't require it either.  It must be a quirk of
lszrz.

: Downloading is still the issue of failure, but I will continue to 
: experiment.  The fact that I can now do file uploads via telnet/zmodem to 
: the host is most helpful.
: 
The lszrz program is unaware that you have a Telnet connection and I don't
know if it would behave any differently if it *did* know.  You might want
to try putting the Telnet connection into binary mode.  Tell Kermit to:

  set telnet binary-mode requested  (or maybe "required")

before making the connection.

- Frank


From gapplin@b-e-s-t.com Thu Aug 14 14:17:24 EDT 2003
Article: 14462 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!nycmny1-snh1.gtei.net!news.gtei.net!priapus.visi.com!news-out.visi.com!hermes.visi.com!feed2.news.rcn.net!rcn!newsengine.sol.net!207.250.5.35.MISMATCH!posts.news.twtelecom.net!nnrp2.twtelecom.net!not-for-mail
From: "Gary Applin" <gapplin@b-e-s-t.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Kermit and Screen Resolution
Date: Thu, 14 Aug 2003 10:54:51 -0400
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
Lines: 7
Message-ID: <3f3ba29b$0$40214$39cecf19@news.twtelecom.net>
Organization: Time-Warner Telecom
NNTP-Posting-Date: 14 Aug 2003 14:54:19 GMT
NNTP-Posting-Host: 86b5dfd7.news.twtelecom.net
X-Trace: DXC=mKLRX0RodMgRWe?PcD5_ogC_A=>8kQj6m;[h;PUXBgbdV^EP=UodO3k>cU`jNTI]=od7^ODLfOe6h
X-Complaints-To: abuse@twtelecom.net
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14462

I have created a dialer entry for a SSH session in Kermit95 ver 2.1.3.
Everything seems to work ok as long as the screen resolution is set at
1024x768. When I switched down to 800x600 the dialog boxes for login and
password do not stay active and take input. Anyone know a way around this? I
must use the lower resolution because users can not read the screen.




From fdc@columbia.edu Thu Aug 14 14:17:27 EDT 2003
Article: 14463 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit and Screen Resolution
Date: 14 Aug 2003 14:17:11 -0400
Organization: Columbia University
Lines: 13
Message-ID: <bhgjn7$ed9$1@watsol.cc.columbia.edu>
References: <3f3ba29b$0$40214$39cecf19@news.twtelecom.net>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1060885033 10201 128.59.39.139 (14 Aug 2003 18:17:13 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 14 Aug 2003 18:17:13 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14463

In article <3f3ba29b$0$40214$39cecf19@news.twtelecom.net>,
Gary Applin <gapplin@b-e-s-t.com> wrote:
: I have created a dialer entry for a SSH session in Kermit95 ver 2.1.3.
: Everything seems to work ok as long as the screen resolution is set at
: 1024x768. When I switched down to 800x600 the dialog boxes for login and
: password do not stay active and take input. Anyone know a way around this? I
: must use the lower resolution because users can not read the screen.
: 
Kermit doesn't know what the screen resolution is, and I can't imagine how
it could possibly affect the login sequence.  Are you sure that something
else didn't change at the same time you changed the screen resolution?

- Frank


From chris@henschen.com Sat Aug 16 13:00:19 EDT 2003
Article: 14464 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!nycmny1-snh1.gtei.net!news.gtei.net!newsfeed.mathworks.com!news.maxwell.syr.edu!sn-xit-03!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
From: "Chris Henschen" <chris@henschen.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Telnet vs Serial Connections
Date: Fri, 15 Aug 2003 14:38:57 -0400
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <vjqa485l4taf82@corp.supernews.com>
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: 8
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14464

I have had several inquiries to why a PC telnet connect appears to be slower
in screen draws, etc. then a serial connection at 38400.  We use SCO Unix
and UnixWare servers with K95 for are emulator on windows.  Can anyone offer
suggestions on this?

Chris




From fdc@sesame.cc.columbia.edu Sat Aug 16 13:00:22 EDT 2003
Article: 14465 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news-not-for-mail
From: fdc@sesame.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Telnet vs Serial Connections
Date: 16 Aug 2003 13:00:17 -0400
Organization: Columbia University
Lines: 38
Message-ID: <bhlnv1$a4h$1@sesame.cc.columbia.edu>
References: <vjqa485l4taf82@corp.supernews.com>
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1061053218 26598 128.59.59.56 (16 Aug 2003 17:00:18 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 16 Aug 2003 17:00:18 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14465

In article <vjqa485l4taf82@corp.supernews.com>,
Chris Henschen <chris@henschen.com> wrote:

: I have had several inquiries to why a PC telnet connect appears to be
: slower in screen draws, etc. then a serial connection at 38400.  We use
: SCO Unix and UnixWare servers with K95 for are emulator on windows.  Can
: anyone offer suggestions on this?
: 
If a Telnet connection is via Dial Up Networking (i.e. by modem), then of
course it's slower than a directly dialed (non-TCP/IP) connection because of
the additional TCP and IP protocol overhead.

But if you're speaking of a local-area network connection, the effect could
be explained by:

 . Overloaded local network (look at the link light).
 . The network connection is being shared by other applications that
   are using most of the bandwidth.
 . High load or low memory on the Windows PC when you happen to be using
   Kermit 95 on a network connection.
 . A loose or faulty network board or cable, spurious interrupts, etc.

If the Telnet host is outside the local network, you can add Internet
congestion to the list.

Under normal conditions, Kermit 95 is plenty fast on all versions of
Windows (95, 98, ME, NT, 2000, XP), even on slow PCs like the 9-year-old
90MHz Windows 95 Pentium-I machine that I have in the corner, on which a
1000-line scrolling benchmark takes 4 seconds (compared to about one
second on 1.7GHz machine):

  ftp://kermit.columbia.edu/kermit/utils/ripple.c

Also see:

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

- Frank


From JDanSkinner@JDanSkinner.com Sat Aug 16 13:56:16 EDT 2003
Article: 14466 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!nycmny1-snh1.gtei.net!news.gtei.net!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: JDanSkinner@JDanSkinner.com (Dan Skinner)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Telnet vs Serial Connections
Date: 16 Aug 2003 09:58:50 -0700
Organization: http://groups.google.com/
Lines: 23
Message-ID: <8ce22d01.0308160858.62c9d9b3@posting.google.com>
References: <vjqa485l4taf82@corp.supernews.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 1061053134 7148 127.0.0.1 (16 Aug 2003 16:58:54 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 16 Aug 2003 16:58:54 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14466

"Chris Henschen" <chris@henschen.com> wrote in message news:<vjqa485l4taf82@corp.supernews.com>...
> I have had several inquiries to why a PC telnet connect appears to be slower
> in screen draws, etc. then a serial connection at 38400.  We use SCO Unix
> and UnixWare servers with K95 for are emulator on windows.  Can anyone offer
> suggestions on this?
> 
> Chris

Chris;
I have noticed a difference in perceived response between
dialups/serial and telnet/ssh connections with K95 also.  I have also
noticed a perceived difference between response of K95 telnet/ssh and
some other clients like PuTTY. I have always said that PuTTY is high
performance like a Lotus Elan while K95 is high performance like a BMW
M5.  Sorta like the difference between quick and powerful.

My guess is it may be the way K95 assembles outgoing packets compared
to others using network connection and compared to K95 character
output?

Maybe Frank or Jeff will give us a little primer?

RegardsDan.


From fdc@sesame.cc.columbia.edu Sat Aug 16 13:56:23 EDT 2003
Article: 14467 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news-not-for-mail
From: fdc@sesame.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Telnet vs Serial Connections
Date: 16 Aug 2003 13:55:58 -0400
Organization: Columbia University
Lines: 31
Message-ID: <bhlr7e$h85$1@sesame.cc.columbia.edu>
References: <vjqa485l4taf82@corp.supernews.com> <8ce22d01.0308160858.62c9d9b3@posting.google.com>
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1061056559 29429 128.59.59.56 (16 Aug 2003 17:55:59 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 16 Aug 2003 17:55:59 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14467

In article <8ce22d01.0308160858.62c9d9b3@posting.google.com>,
Dan Skinner <JDanSkinner@JDanSkinner.com> wrote:
: ...
: I have noticed a difference in perceived response between
: dialups/serial and telnet/ssh connections with K95 also.  I have also
: noticed a perceived difference between response of K95 telnet/ssh and
: some other clients like PuTTY. I have always said that PuTTY is high
: performance like a Lotus Elan while K95 is high performance like a BMW 
: M5.  Sorta like the difference between quick and powerful.
: 
: My guess is it may be the way K95 assembles outgoing packets compared
: to others using network connection and compared to K95 character
: output?
: 
: Maybe Frank or Jeff will give us a little primer?
: 
Comparing K95 with PuTTY is not the same as comparing a K95 modem
connection with a K95 Telnet connection.  Every emulator has its own
way of dealing with the tradeoffs between round-trip delay (echoing)
and scrolling performance -- two mutually antagonistic concepts.

One obvious difference between PuTTY and K95 is that PuTTY is a lot
smaller since, as you say, it doesn't do as much:

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

This fact alone might account for a noticeable speed difference in
certain situations.  But on the other hand, K95 is infinitely faster than
PuTTY on a modem connection :-)

- Frank


From bNOrSPAMv4inMEc@earthlink.net Wed Aug 20 13:53:37 EDT 2003
Article: 14468 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsfeed.arcor-online.net!newsfeed.freenet.de!194.168.222.61.MISMATCH!newspeer1-gui.server.ntli.net!ntli.net!peer01.cox.net!peer02.cox.net!cox.net!newsfeed2.easynews.com!newsfeed1.easynews.com!easynews.com!easynews!elnk-pas-nf1!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!stamper.news.atl.earthlink.net!newsread2.news.atl.earthlink.net.POSTED!not-for-mail
From: "Brad in MI" <bNOrSPAMv4inMEc@earthlink.net>
Newsgroups: comp.protocols.kermit.misc
Subject: Kermit for PC upgrade/transfer
Lines: 26
MIME-Version: 1.0
Content-Type: text/plain;
	charset="Windows-1252"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Message-ID: <cRN0b.4242$B8.2894@newsread2.news.atl.earthlink.net>
Date: Wed, 20 Aug 2003 17:03:04 GMT
NNTP-Posting-Host: 67.72.199.95
X-Complaints-To: abuse@earthlink.net
X-Trace: newsread2.news.atl.earthlink.net 1061398984 67.72.199.95 (Wed, 20 Aug 2003 13:03:04 EDT)
NNTP-Posting-Date: Wed, 20 Aug 2003 13:03:04 EDT
Organization: EarthLink Inc. -- http://www.EarthLink.net
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14468

I've gone through the Kermit website (wow, lots of stuff!) and am
considering getting Kermit to transfer files to my new PC. I have a
couple of questions, though.

The old PC is Windows 95B, and the new one is Windows XP Pro. Each PC
has a 56K modem. Can I connect the two via a simple 6-ft phone line
between the two modems for this transfer?

Would it be better to get a serial-serial null modem cable and go that
route?

Basically, I'm transferring pretty standard stuff. I.e., My Documents,
my Outlook Express messages & address book, some misc data files. Can
I zip them up and use a binary transfer to speed things up?

Since two machines are involved, does that mean I have to buy two
copies of the product?

Thanks.

Sincerely,
Brad Vincent
Warren, Michigan


From fdc@sesame.cc.columbia.edu Wed Aug 20 13:53:43 EDT 2003
Article: 14469 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news-not-for-mail
From: fdc@sesame.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit for PC upgrade/transfer
Date: 20 Aug 2003 13:53:34 -0400
Organization: Columbia University
Lines: 33
Message-ID: <bi0ciu$qte$1@sesame.cc.columbia.edu>
References: <cRN0b.4242$B8.2894@newsread2.news.atl.earthlink.net>
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1061402015 6092 128.59.59.56 (20 Aug 2003 17:53:35 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 20 Aug 2003 17:53:35 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14469

In article <cRN0b.4242$B8.2894@newsread2.news.atl.earthlink.net>,
Brad in MI <bNOrSPAMv4inMEc@earthlink.net> wrote:
: I've gone through the Kermit website (wow, lots of stuff!) and am
: considering getting Kermit to transfer files to my new PC. I have a
: couple of questions, though.
: 
: The old PC is Windows 95B, and the new one is Windows XP Pro. Each PC
: has a 56K modem. Can I connect the two via a simple 6-ft phone line
: between the two modems for this transfer?
: 
You can do that but it's a bit tricky -- you have to configure the modems
to "dial" a null phone number when there is no dialtone.

: Would it be better to get a serial-serial null modem cable and go that
: route?
: 
It probably would be better, but only if each PC has a real serial port,
i.e. a 16550A UART or better.

: Basically, I'm transferring pretty standard stuff. I.e., My Documents,
: my Outlook Express messages & address book, some misc data files. Can
: I zip them up and use a binary transfer to speed things up?
: 
Sure.

: Since two machines are involved, does that mean I have to buy two
: copies of the product?
: 
That's what the license says, but if you're retiring the old PC, I don't
think the license police would come crashing through your front door if
you had the same copy installed on both PCs temporarily.

- Frank


From dold@KermitXfor.usenet.us.com Wed Aug 20 15:51:35 EDT 2003
Article: 14470 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsfeed.arcor-online.net!noris.net!npeer.de.kpn-eurorings.net!news-out.newsfeeds.com!propagator2-maxim!news-in.superfeed.net!feedwest.aleron.net!aleron.net!news.mainstreet.net!wasp.rahul.net!blue.rahul.net!not-for-mail
From: dold@KermitXfor.usenet.us.com
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit for PC upgrade/transfer
Date: Wed, 20 Aug 2003 19:16:03 +0000 (UTC)
Organization: a2i network
Lines: 23
Sender: Clarence Dold <dold@violet.rahul.net>
Message-ID: <bi0hdj$cqu$5@blue.rahul.net>
References: <cRN0b.4242$B8.2894@newsread2.news.atl.earthlink.net>
NNTP-Posting-Host: violet.rahul.net
X-Trace: blue.rahul.net 1061406963 13150 66.237.72.28 (20 Aug 2003 19:16:03 GMT)
X-Complaints-To: support@rahul.net
NNTP-Posting-Date: Wed, 20 Aug 2003 19:16:03 +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-19.7smp (i686))
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14470

Brad in MI <bNOrSPAMv4inMEc@earthlink.net> wrote:
> I've gone through the Kermit website (wow, lots of stuff!) and am
> considering getting Kermit to transfer files to my new PC. I have a
> couple of questions, though.

> The old PC is Windows 95B, and the new one is Windows XP Pro. Each PC
> has a 56K modem. Can I connect the two via a simple 6-ft phone line
> between the two modems for this transfer?

As much as I love Kermit, this really isn't the right application for it.
For the cost of a Windows95 license, you could buy two NIC cards and a
crossover cable, and use Windows file sharing to copy all the files.

Or you could take the disk out of the old machine and put it in the new
machine and copy everything.

Or you could buy a software/hardware product designed for just exactly this
purpose, that includes a cable (serial, parallel, or USB).

Here's one that is receommeded by HP.  They include a link on the desktop
when you install a Windows XP computer:
http://www.detto.com/products/index.html



From fdc@sesame.cc.columbia.edu Wed Aug 20 15:51:38 EDT 2003
Article: 14471 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news-not-for-mail
From: fdc@sesame.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit for PC upgrade/transfer
Date: 20 Aug 2003 15:51:33 -0400
Organization: Columbia University
Lines: 61
Message-ID: <bi0jg5$eod$1@sesame.cc.columbia.edu>
References: <cRN0b.4242$B8.2894@newsread2.news.atl.earthlink.net> <bi0hdj$cqu$5@blue.rahul.net>
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1061409093 11194 128.59.59.56 (20 Aug 2003 19:51:33 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 20 Aug 2003 19:51:33 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14471

In article <bi0hdj$cqu$5@blue.rahul.net>,
 <dold@KermitXfor.usenet.us.com> wrote:
: Brad in MI <bNOrSPAMv4inMEc@earthlink.net> wrote:
: > I've gone through the Kermit website (wow, lots of stuff!) and am
: > considering getting Kermit to transfer files to my new PC. I have a
: > couple of questions, though.
: 
: > The old PC is Windows 95B, and the new one is Windows XP Pro. Each PC
: > has a 56K modem. Can I connect the two via a simple 6-ft phone line
: > between the two modems for this transfer?
: 
: As much as I love Kermit, this really isn't the right application for it.
: For the cost of a Windows95 license, you could buy two NIC cards and a
: crossover cable, and use Windows file sharing to copy all the files.
: 
This would probably work, but if it didn't you'd waste lots of time
figuring out what's wrong and fixing it -- drivers, interrupts, etc etc.

: Or you could take the disk out of the old machine and put it in the new
: machine and copy everything.
: 
If the old disk and new PC were compatible and if you didn't need the first
machine to be up for some reason.

: Or you could buy a software/hardware product designed for just exactly this
: purpose, that includes a cable (serial, parallel, or USB).
: 
Sometimes there are reasons for using Kermit for this:

 . You already have Kermit and know how to use it.
 . The machines are not colocated (doesn't apply in this case).
 . There is a reason that your machine doesn't have a network interface.

etc etc.  While Kermit does not have a "Lap-Link" like user interface,
it's perfectly well suited for bulk directory-tree copies from one machine
to another.  The Windows-to-Windows case is, of course. "trivial", but
Kermit can do the same thing between Windows and UNIX, UNIX and VMS,
Windows and VMS, etc, so for people who do a lot of this kind of work on
a variety of platforms, Kermit is not an unreasonable choice.  It can
descend through directory trees and replicate them (if necessary) on
the receiving end, switch automatically between text and binary mode for
each file, convert record formats and character sets of text files (if
necessary), and allows all kinds of fancy selection criteria and processing
options that might come in handy:

  [C:\tmp\] K-95> send ? Filename, or switch, one of the following:
   /after:     /delete        /mail:         /print:      /smaller-than:
   /array:     /except:       /move-to:      /protocol:   /starting-at:
   /as-name:   /filter:       /nobackupfiles /quiet       /subject:
   /before:    /filenames:    /not-after:    /recover     /text
   /binary     /larger-than:  /not-before:   /recursive   /transparent
   /command    /listfile:     /pathnames:    /rename-to:  /type:
  [C:\tmp\] K-95>

Of course I'm partial, but even so...  I often find myself using Kermit
to solve some problem that might be better solved with some other tool
because I know how to do it with Kermit.  Usually Kermit finishes the job
before I could have gathered the other tools and/or figured out how to
use them.

- Frank


From JDanSkinner@JDanSkinner.com Thu Aug 21 11:59:11 EDT 2003
Article: 14472 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: JDanSkinner@JDanSkinner.com (Dan Skinner)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit for PC upgrade/transfer
Date: 20 Aug 2003 20:23:49 -0700
Organization: http://groups.google.com/
Lines: 17
Message-ID: <8ce22d01.0308201923.798dcf5d@posting.google.com>
References: <cRN0b.4242$B8.2894@newsread2.news.atl.earthlink.net> <bi0hdj$cqu$5@blue.rahul.net> <bi0jg5$eod$1@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 1061436229 8327 127.0.0.1 (21 Aug 2003 03:23:49 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 21 Aug 2003 03:23:49 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14472

> This would probably work, but if it didn't you'd waste lots of time
> figuring out what's wrong and fixing it -- drivers, interrupts, etc etc.

Frank,
I agree with every word you posted except these.
The new xp machine probably has an integrated nic just begging to be
used.
A $5.00 nic from Best Buy, the diskette/cd that comes with it, a $7.00
crossover cable and a polite post to a Windows ng will likely have a
working network in no-time.
Brad,
Take some of the money we have saved you and buy a copy of K95.  Learn
about it and how to use it and discover a rich product with a rich
history and tradition from an organization that could serve as the
world model for customer support.  It's the model for my support
organization.
RegardsDan.


From nospam@lisse.na Thu Aug 21 11:59:27 EDT 2003
Article: 14473 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!feed.news.nacamar.de!fu-berlin.de!uni-berlin.de!ac.lisse.NA!not-for-mail
From: Dr Eberhard W Lisse <nospam@lisse.NA>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit for PC upgrade/transfer
Date: Thu, 21 Aug 2003 06:27:25 +0100
Organization: Namibian Network Information Centre (cc)
Lines: 14
Message-ID: <uq1e11-d7o.ln1@ac.lisse.na>
References: <cRN0b.4242$B8.2894@newsread2.news.atl.earthlink.net> <bi0ciu$qte$1@sesame.cc.columbia.edu>
Reply-To: nospam@lisse.na
NNTP-Posting-Host: ac.lisse.na (196.44.138.58)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
X-Trace: news.uni-berlin.de 1061471892 4727694 196.44.138.58 (16 [204750])
X-Orig-Path: ac.lisse.na!news
User-Agent: KNode/0.7.2
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14473

If you have a null modem cable, you can use, but don't need kermit.
You must google a little bit to figure out how to configure PPP on both
sides not to dial out and then you can use file sharing as via network
cards.

Done that few year back, so I know it works.

el
-- 
Dr. Eberhard Lisse 
Obstetrician and Gynaecologist, Oshakati, Namibia
If you want to email me use the initials of my first and last name @ my last
name .NA



From shunli_huang@yahoo.com Tue Aug 26 09:14:12 EDT 2003
Article: 14476 of comp.protocols.kermit.misc
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!newshosting.com!news-xfer2.atl.newshosting.com!news-out.visi.com!petbe.visi.com!feed.news.qwest.net!news.uswest.net.POSTED!not-for-mail
From: "Shun-Li Huang" <shunli_huang@yahoo.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Ckermit on Cygwin?
Lines: 6
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: <0Ox2b.62$yJ3.126983@news.uswest.net>
Date: Mon, 25 Aug 2003 17:25:31 -0700
NNTP-Posting-Host: 63.163.99.132
X-Trace: news.uswest.net 1061857532 63.163.99.132 (Mon, 25 Aug 2003 19:25:32 CDT)
NNTP-Posting-Date: Mon, 25 Aug 2003 19:25:32 CDT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14476

Did anybody try building ckermit from source on Cygwin?
If yes, I'll appreciate any hints!
Thanks.





From guarezkredit@yahoo.es Tue Aug 26 09:14:20 EDT 2003
Article: 14475 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: guarezkredit@yahoo.es (guarez)
Newsgroups: comp.protocols.kermit.misc
Subject: remote modem configuration
Date: 25 Aug 2003 17:28:13 -0700
Organization: http://groups.google.com/
Lines: 16
Message-ID: <a6c18777.0308251628.4f953cd8@posting.google.com>
NNTP-Posting-Host: 216.155.88.226
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1061857694 26629 127.0.0.1 (26 Aug 2003 00:28:14 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 26 Aug 2003 00:28:14 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14475

hi, i want to know, how can i give some commands to my computer
through my phone, then i can use it as a operator to establish
communication with other phones, for example, i call my computer from
any phone (123), so when my computer answers me, i send to my
computer, my phone number (123), and other phone from anyone (456)
separated by # (123#456), then i hung up, and  then my computer, calls
me to my number (123), i answer to my computer, and the computer dial
some kind of code with the other number (456) and call`s him.
My questions are:

is there any script that make this(windows or linux)?

what program does this? can i use Kermit?

i`ve been reading and i think that the program "megtty" can make this
possible, is this correct, or no?


From fdc@sesame.cc.columbia.edu Tue Aug 26 09:15:10 EDT 2003
Article: 14477 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news-not-for-mail
From: fdc@sesame.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Ckermit on Cygwin?
Date: 26 Aug 2003 09:14:11 -0400
Organization: Columbia University
Lines: 12
Message-ID: <bifmf3$4pt$1@sesame.cc.columbia.edu>
References: <0Ox2b.62$yJ3.126983@news.uswest.net>
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1061903651 25667 128.59.59.56 (26 Aug 2003 13:14:11 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 26 Aug 2003 13:14:11 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14477

In article <0Ox2b.62$yJ3.126983@news.uswest.net>,
Shun-Li Huang <shunli_huang@yahoo.com> wrote:
: Did anybody try building ckermit from source on Cygwin?
:
C-Kermit is not designed or intended for use on Windows.  That's what
Kermit 95 is for:

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

and why we have been working on it for nine years.

- Frank


From sonicechoesWithNoSpam@hotmail.com Wed Aug 27 14:57:47 EDT 2003
Article: 14479 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!not-for-mail
From: dgk <sonicechoes@hot-nospamp-mail.com>
Newsgroups: comp.protocols.kermit.misc
Subject: How to recover from a hangup?
Date: Wed, 27 Aug 2003 13:24:49 -0400
Organization: PANIX Public Access Internet and UNIX, NYC
Lines: 52
Message-ID: <uoppkvgocr6vgbptg62fm7osanrjhontk3@4ax.com>
Reply-To: sonicechoesWithNoSpam@hotmail.com
NNTP-Posting-Host: dsl027-158-082.nyc1.dsl.speakeasy.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: reader2.panix.com 1062005097 16321 216.27.158.82 (27 Aug 2003 17:24:57 GMT)
X-Complaints-To: abuse@panix.com
NNTP-Posting-Date: Wed, 27 Aug 2003 17:24:57 +0000 (UTC)
X-Newsreader: Forte Agent 1.92/32.572
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14479

I have an app that uses some of the K95 provided scripts and answers
calls and has a simple dialog. I have a problem that results in the
Kermit dos box printing this line over and over:

?Connection on Conexant HCF V90 56K Data Fax PCI Modem is not open.



The script is kicked off by this section of code from Dhostmdm.KSC

; Break out of loop if there is a nonrecoverable error, otherwise
continue.

while 1 {
    answer
    if > \v(dialstatus) 0 if < \v(dialstatus) 22 stop 1 Fatal modem
error
    if = \v(dialstatus) 0 take MM3.ksc
    echo Type Ctrl-C to exit...          ; Give user a chance to
cancel
    sleep 2
}

MM3.KSC just asks for a username and password, and then a menu option
here:

ASG \%T 0
:GETCMD	; What does the user want to do anyway?
OUTPUT \13\10Command:
CLEAR INPUT
INPUT 10 \13
DEF \%C
DEF \%Z \V(INPUT)
DO STRIP {\%Z}
IF = \FLENGTH(\%Z) 0 GOTO GETCMD
ASG \%C \%N
IF EQUAL {\%C} SND GOTO RECEIVE
IF EQUAL {\%C} {RCV R} GOTO SEND
IF EQUAL {\%C} BYE GOTO IFAIL
IF EQUAL {\%C} {RCV M} GOTO SENDM
OUTPUT \13\10REQUEST ERROR|\%C|
INC \%T 1
IF = \%T 4 GOTO IFAIL
GOTO GETCMD


I'll be the first person to admit that I don't know much of the Kermit
language but the code works some of the time that a user hangs up.
Othertimes I get that line repeating and have to restart Kermit.

Is there some error checking I should be doing here to prevent the
hangup from messing the modem up?


From fdc@sesame.cc.columbia.edu Wed Aug 27 15:05:23 EDT 2003
Article: 14480 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news-not-for-mail
From: fdc@sesame.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: How to recover from a hangup?
Date: 27 Aug 2003 15:05:16 -0400
Organization: Columbia University
Lines: 60
Message-ID: <biivdc$t5d$1@sesame.cc.columbia.edu>
References: <uoppkvgocr6vgbptg62fm7osanrjhontk3@4ax.com>
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1062011116 28690 128.59.59.56 (27 Aug 2003 19:05:16 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 27 Aug 2003 19:05:16 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14480

In article <uoppkvgocr6vgbptg62fm7osanrjhontk3@4ax.com>,
dgk  <sonicechoesWithNoSpam@hotmail.com> wrote:
: I have an app that uses some of the K95 provided scripts and answers
: calls and has a simple dialog. I have a problem that results in the
: Kermit dos box printing this line over and over:
: 
: ?Connection on Conexant HCF V90 56K Data Fax PCI Modem is not open.
: 
: The script is kicked off by this section of code from Dhostmdm.KSC
: 
: ; Break out of loop if there is a nonrecoverable error, otherwise
: ; continue.
: 
: while 1 {
:     answer
:     if > \v(dialstatus) 0 if < \v(dialstatus) 22 stop 1 Fatal modem error
:     if = \v(dialstatus) 0 take MM3.ksc
:     echo Type Ctrl-C to exit...          ; Give user a chance to cancel
:     sleep 2
: }
: 
: MM3.KSC just asks for a username and password, and then a menu option
: here:
: 
: ASG \%T 0
: :GETCMD	; What does the user want to do anyway?
: OUTPUT \13\10Command:
: CLEAR INPUT
: INPUT 10 \13
: DEF \%C
: DEF \%Z \V(INPUT)
: DO STRIP {\%Z}
: IF = \FLENGTH(\%Z) 0 GOTO GETCMD
: ASG \%C \%N
: IF EQUAL {\%C} SND GOTO RECEIVE
: IF EQUAL {\%C} {RCV R} GOTO SEND
: IF EQUAL {\%C} BYE GOTO IFAIL
: IF EQUAL {\%C} {RCV M} GOTO SENDM
: OUTPUT \13\10REQUEST ERROR|\%C|
: INC \%T 1
: IF = \%T 4 GOTO IFAIL
: GOTO GETCMD
: 
: 
: I'll be the first person to admit that I don't know much of the Kermit
: language but the code works some of the time that a user hangs up.
: Othertimes I get that line repeating and have to restart Kermit.
: 
: Is there some error checking I should be doing here to prevent the
: hangup from messing the modem up?
:
That's what it sounds like.  Every command that could fail should be
checked.  Your MM3.KSC file is a GOTO loop containing INPUTs and OUTPUTs.
These commands fail if the connection is lost, but your script doesn't
check for it, so loops forever, printing error messages.  See the
tutorial:

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

- Frank


From sonicechoesWithNoSpam@hotmail.com Wed Aug 27 17:50:45 EDT 2003
Article: 14481 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!not-for-mail
From: dgk <sonicechoes@hot-nospamp-mail.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: How to recover from a hangup?
Date: Wed, 27 Aug 2003 16:08:05 -0400
Organization: PANIX Public Access Internet and UNIX, NYC
Lines: 66
Message-ID: <fr3qkvk2abb3h4r77eij0nresfrk94jnjq@4ax.com>
References: <uoppkvgocr6vgbptg62fm7osanrjhontk3@4ax.com> <biivdc$t5d$1@sesame.cc.columbia.edu>
Reply-To: sonicechoesWithNoSpam@hotmail.com
NNTP-Posting-Host: dsl027-158-082.nyc1.dsl.speakeasy.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: reader2.panix.com 1062014895 19843 216.27.158.82 (27 Aug 2003 20:08:15 GMT)
X-Complaints-To: abuse@panix.com
NNTP-Posting-Date: Wed, 27 Aug 2003 20:08:15 +0000 (UTC)
X-Newsreader: Forte Agent 1.92/32.572
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14481

On 27 Aug 2003 15:05:16 -0400, fdc@sesame.cc.columbia.edu (Frank da
Cruz) wrote:

>In article <uoppkvgocr6vgbptg62fm7osanrjhontk3@4ax.com>,
>dgk  <sonicechoesWithNoSpam@hotmail.com> wrote:
>: I have an app that uses some of the K95 provided scripts and answers
>: calls and has a simple dialog. I have a problem that results in the
>: Kermit dos box printing this line over and over:
>: 
>: ?Connection on Conexant HCF V90 56K Data Fax PCI Modem is not open.
>: 
>: The script is kicked off by this section of code from Dhostmdm.KSC
>: 
>: ; Break out of loop if there is a nonrecoverable error, otherwise
>: ; continue.
>: 
>: while 1 {
>:     answer
>:     if > \v(dialstatus) 0 if < \v(dialstatus) 22 stop 1 Fatal modem error
>:     if = \v(dialstatus) 0 take MM3.ksc
>:     echo Type Ctrl-C to exit...          ; Give user a chance to cancel
>:     sleep 2
>: }
>: 
>: MM3.KSC just asks for a username and password, and then a menu option
>: here:
>: 
>: ASG \%T 0
>: :GETCMD	; What does the user want to do anyway?
>: OUTPUT \13\10Command:
>: CLEAR INPUT
>: INPUT 10 \13
>: DEF \%C
>: DEF \%Z \V(INPUT)
>: DO STRIP {\%Z}
>: IF = \FLENGTH(\%Z) 0 GOTO GETCMD
>: ASG \%C \%N
>: IF EQUAL {\%C} SND GOTO RECEIVE
>: IF EQUAL {\%C} {RCV R} GOTO SEND
>: IF EQUAL {\%C} BYE GOTO IFAIL
>: IF EQUAL {\%C} {RCV M} GOTO SENDM
>: OUTPUT \13\10REQUEST ERROR|\%C|
>: INC \%T 1
>: IF = \%T 4 GOTO IFAIL
>: GOTO GETCMD
>: 
>: 
>: I'll be the first person to admit that I don't know much of the Kermit
>: language but the code works some of the time that a user hangs up.
>: Othertimes I get that line repeating and have to restart Kermit.
>: 
>: Is there some error checking I should be doing here to prevent the
>: hangup from messing the modem up?
>:
>That's what it sounds like.  Every command that could fail should be
>checked.  Your MM3.KSC file is a GOTO loop containing INPUTs and OUTPUTs.
>These commands fail if the connection is lost, but your script doesn't
>check for it, so loops forever, printing error messages.  See the
>tutorial:
>
>  http://www.columbia.edu/kermit/ckscripts.html#tut
>
>- Frank

Thanks. I've been putting IF FAIL END after each INPUT, SEND, and
RECEIVE commands. It seems to be working ok.


From d_fattori@tin.it Wed Aug 27 18:19:08 EDT 2003
Article: 14482 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!news.gtei.net!newsfeed.albacom.net!news.caltanet.it!news-out.tin.it!news-in.tin.it!news2.tin.it.POSTED!not-for-mail
From: "davide fattori" <d_fattori@tin.it>
Newsgroups: comp.protocols.kermit.misc
Subject: relocation error
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Message-ID: <So93b.5637$d66.110222@news2.tin.it>
Date: Wed, 27 Aug 2003 21:29:22 GMT
NNTP-Posting-Host: 80.116.60.186
X-Complaints-To: newsmaster@tin.it
X-Trace: news2.tin.it 1062019762 80.116.60.186 (Wed, 27 Aug 2003 23:29:22 MET DST)
NNTP-Posting-Date: Wed, 27 Aug 2003 23:29:22 MET DST
Organization: TIN
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14482

I have on my PC redhat 9 and I just installed "ckermit-8.0.209-4" with the
objective to get files saved on my office server from home.
The ckermit installation seems to be ok, but as I try to send some files I
receive the following answer from the server:

kermit: relocation error: kermit: undefined symbol: krb5_cc_get_name

what I have to do? can you help me to find a solution or to find a URL where
to get it?

thanks
Davide






From guarezkredit@yahoo.es Thu Aug 28 11:04:09 EDT 2003
Article: 14483 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: guarezkredit@yahoo.es (guarez)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: remote modem configuration
Date: 27 Aug 2003 21:31:55 -0700
Organization: http://groups.google.com/
Lines: 40
Message-ID: <a6c18777.0308272031.220c8f26@posting.google.com>
References: <a6c18777.0308251628.4f953cd8@posting.google.com> <bifmgr$4v9$1@sesame.cc.columbia.edu>
NNTP-Posting-Host: 216.155.91.19
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1062045116 27794 127.0.0.1 (28 Aug 2003 04:31:56 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 28 Aug 2003 04:31:56 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14483

wow thnkz for help =)

just another question..

how i can configure the modem to "read" the number i press on the phone keypad?
is it possible?

please.. a little help would be nice =)

adiux!

fdc@sesame.cc.columbia.edu (Frank da Cruz) wrote in message news:<bifmgr$4v9$1@sesame.cc.columbia.edu>...
> In article <a6c18777.0308251628.4f953cd8@posting.google.com>,
> guarez <guarezkredit@yahoo.es> wrote:
> > hi, i want to know, how can i give some commands to my computer
> > through my phone, then i can use it as a operator to establish
> > communication with other phones, for example, i call my computer from
> > any phone (123), so when my computer answers me, i send to my
> > computer, my phone number (123), and other phone from anyone (456)
> > separated by # (123#456), then i hung up, and  then my computer, calls
> > me to my number (123), i answer to my computer, and the computer dial
> > some kind of code with the other number (456) and call`s him.
> > My questions are:
> > 
> > is there any script that make this(windows or linux)?
> > 
> Windows and Linux can both call other computers.
> 
> However, Windows computers can't receive calls, at least not in any
> normal sense.  You can call Linux computers, but first you have to
> read the relevant HOWTOs about how to enable incoming calls.  (Yes
> mgetty has something to do with it.)
> 
> > what program does this? can i use Kermit?
> > 
> Yes.  See the Kermit website:
> 
>   http://www.columbia.edu/kermit/
> 
> - Frank


From bonomi@news2.bonomi.com Thu Aug 28 11:04:29 EDT 2003
Article: 14484 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!nntp.abs.net!ash.uu.net!sun-news.laserlink.net!not-for-mail
From: bonomi@news2.bonomi.com (Robert Bonomi)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: remote modem configuration
Date: Thu, 28 Aug 2003 10:00:11 +0000 (UTC)
Organization: Robert Bonomi Consulting
Lines: 53
Message-ID: <bikjrb$iqq$1@sun-news.laserlink.net>
References: <a6c18777.0308251628.4f953cd8@posting.google.com> <bifmgr$4v9$1@sesame.cc.columbia.edu> <a6c18777.0308272031.220c8f26@posting.google.com>
NNTP-Posting-Host: h-68-167-94-122.chcgilgm.covad.net
X-Trace: sun-news.laserlink.net 1062064811 19290 68.167.94.122 (28 Aug 2003 10:00:11 GMT)
X-Complaints-To: abuse@covad.net
NNTP-Posting-Date: Thu, 28 Aug 2003 10:00:11 +0000 (UTC)
X-Newsreader: trn 4.0-test69 (20 September 1998)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14484

In article <a6c18777.0308272031.220c8f26@posting.google.com>,
guarez <guarezkredit@yahoo.es> wrote:
>wow thnkz for help =)
>
>just another question..
>
>how i can configure the modem to "read" the number i press on the phone keypad?
>is it possible?

Depends on the modem, but the answer is "probably not".  With the few modems
that are capable of such things, you need specialized software running on the
computer to support it.

This is getting _far_ removed from the scope of this newsgroup, as KERMIT 
does -not- have the functionality for supporting those kinds of operations 
even given a modem that is capable of doing so.
>
>please.. a little help would be nice =)
>
>adiux!
>
>fdc@sesame.cc.columbia.edu (Frank da Cruz) wrote in message
>news:<bifmgr$4v9$1@sesame.cc.columbia.edu>...
>> In article <a6c18777.0308251628.4f953cd8@posting.google.com>,
>> guarez <guarezkredit@yahoo.es> wrote:
>> > hi, i want to know, how can i give some commands to my computer
>> > through my phone, then i can use it as a operator to establish
>> > communication with other phones, for example, i call my computer from
>> > any phone (123), so when my computer answers me, i send to my
>> > computer, my phone number (123), and other phone from anyone (456)
>> > separated by # (123#456), then i hung up, and  then my computer, calls
>> > me to my number (123), i answer to my computer, and the computer dial
>> > some kind of code with the other number (456) and call`s him.
>> > My questions are:
>> > 
>> > is there any script that make this(windows or linux)?
>> > 
>> Windows and Linux can both call other computers.
>> 
>> However, Windows computers can't receive calls, at least not in any
>> normal sense.  You can call Linux computers, but first you have to
>> read the relevant HOWTOs about how to enable incoming calls.  (Yes
>> mgetty has something to do with it.)
>> 
>> > what program does this? can i use Kermit?
>> > 
>> Yes.  See the Kermit website:
>> 
>>   http://www.columbia.edu/kermit/
>> 
>> - Frank




From amarsh@ncpgg.adelaide.edu.au Fri Aug 29 14:28:33 EDT 2003
Article: 14485 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!news1.optus.net.au!optus!news.optus.net.au!53ab2750!not-for-mail
From: Arthur Marsh <amarsh@ncpgg.adelaide.edu.au>
Organization: National Centre for Petroleum Geology and Geophysics
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: SSH command in C-Kermit - how does it get -l paramater
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: rudolph.ncpgg.adelaide.edu.au
Message-ID: <3f4e97b6$1@yorrell.saard.net>
X-Original-Trace: 29 Aug 2003 09:30:54 +0950, rudolph.ncpgg.adelaide.edu.au
Lines: 47
Date: Fri, 29 Aug 2003 00:00:57 GMT
NNTP-Posting-Host: 203.21.37.20
X-Trace: news.optus.net.au 1062115257 203.21.37.20 (Fri, 29 Aug 2003 10:00:57 EST)
NNTP-Posting-Date: Fri, 29 Aug 2003 10:00:57 EST
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14485

Hi, I want to be able to use the SSH command in C-Kermit (8.0.210 
Dev.00, 25 Aug 2003, under Solaris 7/SPARC compiled with GCC 3.3) to 
connect to a  few different remote systems where I have accounts with 
different usernames.

I could do

ssh -l differentusername hostname

each time

but wonder why when I do:

set telnet env user differentusername

then

ssh hostname

C-Kermit does:

Connecting via command "ssh -e none -l amarsh hostname"

I would have thought that the argument to the -l parameter would be the 
current value of \v(userid), which is set by the set telnet env user 
command. How does C-Kermit get the value for the -l parameter of the SSH 
command?

Under K95 2.1.4, if I set telnet env differentusername then ssh 
hostname, I get prompted for differentusername's password as expected.

Another oddity under C-Kermit is that if I attempt an SSH login which 
fails and returns to the C-Kermit prompt, then type Connect, I get:

DNS Lookup... Can't get address for ssh -e none -l username host

Upon issuing the Connect command in K95, I get the SSH password prompt 
as expected.

I realise that SSH is an external command in C-Kermit and built-in to 
K95, but think it should be possible for the C-Kermit version to behave 
more closely like the K95 version in the two cases above.

Regards,

Arthur.



From not-a-real-address@usa.net Fri Aug 29 14:28:43 EDT 2003
Article: 14487 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!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: dns lookup works for k95, fails for c-kermit
Date: 29 Aug 2003 02:46:19 GMT
Organization: earthfriends
Message-ID: <m1n0dtchfj.gnus@usa.net>
References: <3f4e97b6$1@yorrell.saard.net>
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:14487

in comp.protocols.kermit.misc i read:

>DNS Lookup... Can't get address for ssh -e none -l username host
>
>Upon issuing the Connect command in K95, I get the SSH password prompt
>as expected.

the hostname isn't available via the mechanisms configured on that system,
perhaps it's a private name which is in the win32 system's hosts file but
not also in the solaris system's.

-- 
a signature


From amarsh@ncpgg.adelaide.edu.au Fri Aug 29 14:28:46 EDT 2003
Article: 14489 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!nycmny1-snh1.gtei.net!news.gtei.net!news-out.visi.com!petbe.visi.com!news1.optus.net.au!optus!news.optus.net.au!53ab2750!not-for-mail
From: Arthur Marsh <amarsh@ncpgg.adelaide.edu.au>
Organization: National Centre for Petroleum Geology and Geophysics
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: dns lookup works for k95, fails for c-kermit
References: <3f4e97b6$1@yorrell.saard.net> <m1n0dtchfj.gnus@usa.net>
In-Reply-To: <m1n0dtchfj.gnus@usa.net>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: rudolph.ncpgg.adelaide.edu.au
Message-ID: <3f4ede95$1@yorrell.saard.net>
X-Original-Trace: 29 Aug 2003 14:33:17 +0950, rudolph.ncpgg.adelaide.edu.au
Lines: 24
Date: Fri, 29 Aug 2003 05:03:20 GMT
NNTP-Posting-Host: 203.21.37.20
X-Trace: news.optus.net.au 1062133400 203.21.37.20 (Fri, 29 Aug 2003 15:03:20 EST)
NNTP-Posting-Date: Fri, 29 Aug 2003 15:03:20 EST
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14489

those who know me have no need of my name wrote:

> in comp.protocols.kermit.misc i read:
> 
> 
>>DNS Lookup... Can't get address for ssh -e none -l username host
>>
>>Upon issuing the Connect command in K95, I get the SSH password prompt
>>as expected.
> 
> 
> the hostname isn't available via the mechanisms configured on that system,
> perhaps it's a private name which is in the win32 system's hosts file but
> not also in the solaris system's.
> 

What's actually happening is that the "Connect" command tries to do a 
DNS lookup on "ssh -e none -l username host" rather than a DNS lookup on 
"host".

Regards,

Arthur.



From jaltman@columbia.edu Fri Aug 29 14:29:25 EDT 2003
Article: 14492 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: jaltman@columbia.edu (Jeffrey Altman)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: dns lookup works for k95, fails for c-kermit
Date: 29 Aug 2003 05:48:02 -0400
Organization: Columbia University
Lines: 33
Message-ID: <bin7gi$f47$1@watsol.cc.columbia.edu>
References: <3f4e97b6$1@yorrell.saard.net> <m1n0dtchfj.gnus@usa.net> <3f4ede95$1@yorrell.saard.net>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1062150483 4815 128.59.39.139 (29 Aug 2003 09:48:03 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 29 Aug 2003 09:48:03 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14492

In article <3f4ede95$1@yorrell.saard.net>,
Arthur Marsh  <amarsh@ncpgg.adelaide.edu.au> wrote:
: those who know me have no need of my name wrote:
: 
: What's actually happening is that the "Connect" command tries to do a 
: DNS lookup on "ssh -e none -l username host" rather than a DNS lookup on 
: "host".
: 
: Regards,
: 
: Arthur.

What is actually happening is

 * the original SSH command failed, therefore the SET NETWORK TYPE
   never switched from TCP/IP to PTY

 * When you issue the CONNECT command, the TCP/IP network type code
   attempts to process the last hostname string left in the command
   buffer.  Unfortunately this was overwritten with the string to
   be executed in the PTY code.

The bug is that the SSH command is not setting the network type if
the command does not succeed.

Jeffrey Altman
Former Kermit Developer

-- 
 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 Fri Aug 29 14:29:30 EDT 2003
Article: 14488 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: jaltman@columbia.edu (Jeffrey Altman)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: SSH command in C-Kermit - how does it get -l paramater
Date: 29 Aug 2003 00:21:58 -0400
Organization: Columbia University
Lines: 67
Message-ID: <bimkd6$1jp$1@watsol.cc.columbia.edu>
References: <3f4e97b6$1@yorrell.saard.net>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1062130920 22794 128.59.39.139 (29 Aug 2003 04:22:00 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 29 Aug 2003 04:22:00 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14488

Arthur:

C-Kermit could absolutely do a better job of intergrating with OpenSSH.
All that needs to be done is for someone to spend the time to write the
code or donate the money for someone else to be paid to write the code.

Jeffrey Altman
Former Kermit Developer



In article <3f4e97b6$1@yorrell.saard.net>,
Arthur Marsh  <amarsh@ncpgg.adelaide.edu.au> wrote:
: Hi, I want to be able to use the SSH command in C-Kermit (8.0.210 
: Dev.00, 25 Aug 2003, under Solaris 7/SPARC compiled with GCC 3.3) to 
: connect to a  few different remote systems where I have accounts with 
: different usernames.
: 
: I could do
: 
: ssh -l differentusername hostname
: 
: each time
: 
: but wonder why when I do:
: 
: set telnet env user differentusername
: 
: then
: 
: ssh hostname
: 
: C-Kermit does:
: 
: Connecting via command "ssh -e none -l amarsh hostname"
: 
: I would have thought that the argument to the -l parameter would be the 
: current value of \v(userid), which is set by the set telnet env user 
: command. How does C-Kermit get the value for the -l parameter of the SSH 
: command?
: 
: Under K95 2.1.4, if I set telnet env differentusername then ssh 
: hostname, I get prompted for differentusername's password as expected.
: 
: Another oddity under C-Kermit is that if I attempt an SSH login which 
: fails and returns to the C-Kermit prompt, then type Connect, I get:
: 
: DNS Lookup... Can't get address for ssh -e none -l username host
: 
: Upon issuing the Connect command in K95, I get the SSH password prompt 
: as expected.
: 
: I realise that SSH is an external command in C-Kermit and built-in to 
: K95, but think it should be possible for the C-Kermit version to behave 
: more closely like the K95 version in the two cases above.
: 
: Regards,
: 
: Arthur.
: 


-- 
 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 amarsh@ncpgg.adelaide.edu.au Fri Aug 29 14:29:36 EDT 2003
Article: 14490 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!nycmny1-snh1.gtei.net!news.gtei.net!news-out.visi.com!petbe.visi.com!news1.optus.net.au!optus!news.optus.net.au!53ab2750!not-for-mail
From: Arthur Marsh <amarsh@ncpgg.adelaide.edu.au>
Organization: National Centre for Petroleum Geology and Geophysics
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: SSH command in C-Kermit - how does it get -l paramater
References: <3f4e97b6$1@yorrell.saard.net> <bimkd6$1jp$1@watsol.cc.columbia.edu>
In-Reply-To: <bimkd6$1jp$1@watsol.cc.columbia.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: rudolph.ncpgg.adelaide.edu.au
Message-ID: <3f4ede39@yorrell.saard.net>
X-Original-Trace: 29 Aug 2003 14:31:45 +0950, rudolph.ncpgg.adelaide.edu.au
Lines: 74
Date: Fri, 29 Aug 2003 05:01:47 GMT
NNTP-Posting-Host: 203.21.37.20
X-Trace: news.optus.net.au 1062133307 203.21.37.20 (Fri, 29 Aug 2003 15:01:47 EST)
NNTP-Posting-Date: Fri, 29 Aug 2003 15:01:47 EST
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14490

Jeffrey Altman wrote:
> Arthur:
> 
> C-Kermit could absolutely do a better job of intergrating with OpenSSH.
> All that needs to be done is for someone to spend the time to write the
> code or donate the money for someone else to be paid to write the code.
> 
> Jeffrey Altman
> Former Kermit Developer

Short of modifying the C source, is there a method for delayed 
evaluation of the string specified in the "set ssh command" command or 
could one use the "set ssh command" command to make C-Kermit execute a 
macro in response to SSH at the C-Kermit prompt?

Regards,

Arthur.

> 
> 
> 
> In article <3f4e97b6$1@yorrell.saard.net>,
> Arthur Marsh  <amarsh@ncpgg.adelaide.edu.au> wrote:
> : Hi, I want to be able to use the SSH command in C-Kermit (8.0.210 
> : Dev.00, 25 Aug 2003, under Solaris 7/SPARC compiled with GCC 3.3) to 
> : connect to a  few different remote systems where I have accounts with 
> : different usernames.
> : 
> : I could do
> : 
> : ssh -l differentusername hostname
> : 
> : each time
> : 
> : but wonder why when I do:
> : 
> : set telnet env user differentusername
> : 
> : then
> : 
> : ssh hostname
> : 
> : C-Kermit does:
> : 
> : Connecting via command "ssh -e none -l amarsh hostname"
> : 
> : I would have thought that the argument to the -l parameter would be the 
> : current value of \v(userid), which is set by the set telnet env user 
> : command. How does C-Kermit get the value for the -l parameter of the SSH 
> : command?
> : 
> : Under K95 2.1.4, if I set telnet env differentusername then ssh 
> : hostname, I get prompted for differentusername's password as expected.
> : 
> : Another oddity under C-Kermit is that if I attempt an SSH login which 
> : fails and returns to the C-Kermit prompt, then type Connect, I get:
> : 
> : DNS Lookup... Can't get address for ssh -e none -l username host
> : 
> : Upon issuing the Connect command in K95, I get the SSH password prompt 
> : as expected.
> : 
> : I realise that SSH is an external command in C-Kermit and built-in to 
> : K95, but think it should be possible for the C-Kermit version to behave 
> : more closely like the K95 version in the two cases above.
> : 
> : Regards,
> : 
> : Arthur.
> : 
> 
> 



From jaltman@columbia.edu Fri Aug 29 14:29:39 EDT 2003
Article: 14491 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: jaltman@columbia.edu (Jeffrey Altman)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: SSH command in C-Kermit - how does it get -l paramater
Date: 29 Aug 2003 05:43:58 -0400
Organization: Columbia University
Lines: 31
Message-ID: <bin78u$esb$1@watsol.cc.columbia.edu>
References: <3f4e97b6$1@yorrell.saard.net> <bimkd6$1jp$1@watsol.cc.columbia.edu> <3f4ede39@yorrell.saard.net>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1062150239 4680 128.59.39.139 (29 Aug 2003 09:43:59 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 29 Aug 2003 09:43:59 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14491

In article <3f4ede39@yorrell.saard.net>,
Arthur Marsh  <amarsh@ncpgg.adelaide.edu.au> wrote:
: Jeffrey Altman wrote:
: > Arthur:
: > 
: > C-Kermit could absolutely do a better job of intergrating with OpenSSH.
: > All that needs to be done is for someone to spend the time to write the
: > code or donate the money for someone else to be paid to write the code.
: > 
: > Jeffrey Altman
: > Former Kermit Developer
: 
: Short of modifying the C source, is there a method for delayed 
: evaluation of the string specified in the "set ssh command" command or 
: could one use the "set ssh command" command to make C-Kermit execute a 
: macro in response to SSH at the C-Kermit prompt?
: 
: Regards,
: 
: Arthur.

A change of this nature would require a source code change and re-compilation. 

Jeffrey Altman
Former Kermit Developer

-- 
 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 not-a-real-address@usa.net Fri Aug 29 14:29:43 EDT 2003
Article: 14486 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!news.maxwell.syr.edu!sn-xit-03!sn-xit-01!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: remote modem configuration
Date: 29 Aug 2003 01:55:06 GMT
Organization: earthfriends
Message-ID: <m1vfshgrer.gnus@usa.net>
References: <a6c18777.0308251628.4f953cd8@posting.google.com> <bifmgr$4v9$1@sesame.cc.columbia.edu>
 <a6c18777.0308272031.220c8f26@posting.google.com>
 <bikjrb$iqq$1@sun-news.laserlink.net>
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: 11
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14486

in comp.protocols.kermit.misc i read:

>This is getting _far_ removed from the scope of this newsgroup, as KERMIT 
>does -not- have the functionality for supporting those kinds of operations 
>even given a modem that is capable of doing so.

i agree.  trying to use kermit as a cheap callback phone service software
is destined to be less than thrilling.

-- 
a signature


From fdc@sesame.cc.columbia.edu Sun Aug 31 13:06:42 EDT 2003
Article: 14493 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news-not-for-mail
From: fdc@sesame.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.os.linux.misc,comp.protocols.kermit.misc
Subject: Re: Sending a file via telnet
Date: 31 Aug 2003 13:05:53 -0400
Organization: Columbia University
Lines: 136
Message-ID: <bit9th$64m$1@sesame.cc.columbia.edu>
References: <pan.2003.08.29.17.58.39.555981@shaw.ca> <bio6ej$t6a$1@sesame.cc.columbia.edu> <pan.2003.08.29.22.42.30.692266@shaw.ca>
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1062349554 8354 128.59.59.56 (31 Aug 2003 17:05:54 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 31 Aug 2003 17:05:54 GMT
Xref: newsmaster.cc.columbia.edu comp.os.linux.misc:604842 comp.protocols.kermit.misc:14493

In article <pan.2003.08.29.22.42.30.692266@shaw.ca>,
Lloyd Sumpter <lsumpter@shaw.ca> wrote:
: On Fri, 29 Aug 2003 14:36:03 +0000, Frank da Cruz wrote:
: > In article <pan.2003.08.29.17.58.39.555981@shaw.ca>,
: > Lloyd Sumpter <lsumpter@shaw.ca> wrote:
: > :    I'm using Linux (Mandrake 9.0) to access a device that only
: > : communicates using Telnet. I need to send a file (Motorola
: > : S-records). How do I send a file with telnet? I tried using cut-n-paste
: > : from another window: seemed to work but was SLOW and cumbersome - this
: > : file is 2000 lines long!
: > : 
: > Use C-Kermit as the Telnet client:
: > 
: >   http://www.columbia.edu/kermit/ckermit.html
: > 
: > How to send the file depends on what protocols are supported by the
: > device.  Choices include:
: > 
: >  . Kermit protocol (straightforward, built into C-Kermit)
: >  . X- Y- or Zmodem (can be invoked by C-Kermit as an external protocol)
: >  . "ASCII" (use C-Kermit's TRANSMIT command for this)
: > 
: > I suspect "ASCII" is what they use.  Type "help transmit" at the 
: > C-Kermit prompt to find out about it.
: > 
: > - Frank
: 
: That just might work - thanks!
: 
It will work.  Kermit has been used to send files consisting of S-records
via "ASCII" protocol to devices that support only serial-port or Telnet
access for 20 years -- which is to say we have some experience with this.

Kermit's TRANSMIT command is a transport-independent way of sending files
a line at a time without error detection or correction, to be used in
cases like this one where no higher level protocol is available (FTP,
HTTP, Kermit, XYZmodem, etc).  It has all sorts of options to let you control
handshaking, pacing, and whatnot.  Again, HELP TRANSMIT explains the
TRANSMIT command, and HELP SET TRANSMIT explains the options and settings.

Obviously this is less desirable than an error-detecting-and-correcting
file transfer protocol, but when you have no other choice this is what
you have to do.  Meanwhile, the S-records themselves contain framing and
checksum information, so after you have uploaded them, you still get
error detection when you actually try to *use* the S-records.

A typical setup might be:

  set host <ip-name-or-address> [ <port> ]
  if fail exit 1
  
There might be some additional wrinkles depending on which TCP port
you connect to and whether (and to what degree) it supports, uses, requires,
or misimplements Telnet protocol -- all of this can be handled.  If you
have problems or questions, read the "help set host" text or send email to
kermit-support@columbia.edu.

At this point if any dialog is required to log in or set up the transfer,
do it here using INPUT, OUTPUT, and IF FAIL commands as explained here:

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

Then to upload the file:

  set transmit prompt 0   ; explained below
  transmit blah.hex       ; send the file
  close                   ; close the connection

The "transmit prompt" tells Kermit what to wait for after sending each
line before it sends the next line; 0 means don't wait for anything.
Normally it waits for Linefeed (10), because that's what you get in
situations where the receiver of the transmission echoes incoming lines.

Another consideration is how you tell the receiver that the transmission
is finished.  I'm assuming you just close the connection (as shown above).
You can also have Kermit send a character or string of your choice, that
you can specify with the "set transmit eof" command, e.g. \4 for Ctrl-D,
which you would use if the receiver was the Unix 'cat' command, or \26 for
Ctrl-Z, etc.

Once you have this working, you can also use it for the serial port
connection; just replace the "set host" command with something like:

  set modem type none
  set flow rts/cts    ; or xon/xoff, whichever the device uses
  set port /dev/ttyS0 ; or whatever
  if fail exit 1
  set speed 38400     ; or whatever

Readers really should take a look at Kermit when trying to puzzle out how
to do any moderately complicated or obscure communications task, especially
if it is to be automated.  Kermit does:

  serial ports
  modems
  telnet        (clear-text)
  telnet        (secure: Kerberized or SSL/TLS or SRP)
  ftp           (clear-text)
  ftp           (secure: Kerberized or SSL/TLS or SRP)
  http 1.1      (clear text)
  http 1.1      (SSL/TLS)

and it can also act as a scripting and file-transferring front end for
your SSH client.

Procedures coded for Kermit are transport independent (except for the
part where you open the connection) and platform independent: the same
procedure runs on all varieties of Unix, as well as on Windows, VMS and
other operating systems where the many Unix-specific tools suggested by
other posters tend not to be available.

C-Kermit was included in the Red Hat 9 distribution, although I discovered
recently that it does not get insalled by default and it's not obvious how
to get it off the CD.  No worries, it's easy to download from Columbia U:

  ftp://kermit.columbia.edu/kermit/archives/cku209.tar.gz

Put it a fresh directory and:

  gunzip cku209.tar.gz
  tar xvf cku209.tar
  make linux
  mv ./wermit /usr/local/bin/kermit

and, if it is to be used for dialing out, give it the same owner, group,
and permissions as minicom.  Detailed installation instructions are here:

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

Or if you prefer, there's an RPM here:

  http://www.redhat.com/swr/i386/ckermit-8.0.206-0.6.i386.html

(but this version is slightly behind the one at Columbia).

- Frank


From icurmtdude@yahoo.com Thu Sep  4 10:16:14 EDT 2003
Article: 14494 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: icurmtdude@yahoo.com (icurmt)
Newsgroups: comp.protocols.kermit.misc
Subject: missing bytes...
Date: 3 Sep 2003 18:13:05 -0700
Organization: http://groups.google.com/
Lines: 42
Message-ID: <cf6cc183.0309031713.73a00933@posting.google.com>
NNTP-Posting-Host: 24.58.29.68
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1062637986 3293 127.0.0.1 (4 Sep 2003 01:13:06 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 4 Sep 2003 01:13:06 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14494

Hi everyone,

After no luck with this issue, I thought of posting it here.. Heres
what I am trying to do..

I am sending out commands out of a file through serial port to my
application which returns me the response accordingly in return..

<code snippet...> 
..
...
transmit /binary /noecho /nowait <commandsfile>
input 1 -1
.output := \fhexify(\v(input))
echo \m(output)
...
fopen /write \%c <outputfile>
..
fwrite /line \%c \m(output)
..
fclose \%c

</end>

The script works fine. The response as under is outputted to the
'outputfile'. Now when I echo the response I get

16 06 14 34 47 12 01 87 
instead of 
16 06 14 34 47 12 00 01 87 00 00 00

Note the difference after the 6th byte. The 7th and 8th byte which is
00 01 shows up as 01 and 10th, 11th and 12th bytes do now show up at
all. However I have had success getting bytes in the order such as
below and echoing this command works fine.
16 06 14 34 46 11 00 00 BB 10 00 00 

If anyone has any idea of whats going on here then please help me.

Thanx,

Ray


From fdc@sesame.cc.columbia.edu Thu Sep  4 10:16:18 EDT 2003
Article: 14495 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news-not-for-mail
From: fdc@sesame.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: missing bytes...
Date: 4 Sep 2003 10:16:10 -0400
Organization: Columbia University
Lines: 62
Message-ID: <bj7hfa$1ho$1@sesame.cc.columbia.edu>
References: <cf6cc183.0309031713.73a00933@posting.google.com>
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1062684971 4299 128.59.59.56 (4 Sep 2003 14:16:11 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 4 Sep 2003 14:16:11 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14495

In article <cf6cc183.0309031713.73a00933@posting.google.com>,
icurmt <icurmtdude@yahoo.com> wrote:
: After no luck with this issue, I thought of posting it here.. Heres
: what I am trying to do..
: 
: I am sending out commands out of a file through serial port to my
: application which returns me the response accordingly in return..
: 
: <code snippet...> 
: ..
: ...
: transmit /binary /noecho /nowait <commandsfile>
: input 1 -1
: .output := \fhexify(\v(input))
: echo \m(output)
: ...
: fopen /write \%c <outputfile>
: ..
: fwrite /line \%c \m(output)
: ..
: fclose \%c
: 
: </end>
: 
: The script works fine. The response as under is outputted to the
: 'outputfile'. Now when I echo the response I get
: 
: 16 06 14 34 47 12 01 87 
: instead of 
: 16 06 14 34 47 12 00 01 87 00 00 00
: 
: Note the difference after the 6th byte. The 7th and 8th byte which is
: 00 01 shows up as 01 and 10th, 11th and 12th bytes do now show up at
: all. However I have had success getting bytes in the order such as
: below and echoing this command works fine.
: 16 06 14 34 46 11 00 00 BB 10 00 00 
: 
C-Kermit and K95 written in C, in which strings are NUL-terminated.
Thus it is virtually impossible for it to deal with strings that contain
NUL characters -- we would not be able to use C library calls or Unix
system services, all of which require strings to be in this format.

This applies also the INPUT buffer.  \v(input) is a string, hence by
definition NUL-terminated.  Realizing that it is common to receive NUL
characters on a communication connection as padding and/or part of the
Telnet NVT data stream, the INPUT command discards NULs so the \v(input)
value will not be truncated the first time a NUL arrives.

The only way to deal with NUL characters is on a per-character basis.
If you want to read a series of characters from the connection that can
include NULs, you have to do it using INPUT with no target text. Example:

  while (some condition) {
      input 1
      if fail (do something)
      fwrite /char \%c \v(inchar)
  }

This works because when \v(inchar) is NUL, that's equivalent to FWRITE /CHAR
having no text argument at all, in which case it writes a NUL character.

- Frank


From icurmtdude@yahoo.com Thu Sep  4 10:55:04 EDT 2003
Article: 14496 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!diablo.theplanet.net!news.maxwell.syr.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: icurmtdude@yahoo.com (icurmt)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: missing bytes...
Date: 4 Sep 2003 07:40:06 -0700
Organization: http://groups.google.com/
Lines: 49
Message-ID: <cf6cc183.0309040640.11263a4b@posting.google.com>
References: <cf6cc183.0309031713.73a00933@posting.google.com>
NNTP-Posting-Host: 24.97.119.28
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1062686407 18505 127.0.0.1 (4 Sep 2003 14:40:07 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 4 Sep 2003 14:40:07 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14496

Looks like the INPUT (\v(input)) operations discard and ignore NUL
characters that arrive from the communication device. Is there any way
that can be turned on or use some other operation instead of INPUT.

Ray

icurmtdude@yahoo.com (icurmt) wrote in message news:<cf6cc183.0309031713.73a00933@posting.google.com>...
> Hi everyone,
> 
> After no luck with this issue, I thought of posting it here.. Heres
> what I am trying to do..
> 
> I am sending out commands out of a file through serial port to my
> application which returns me the response accordingly in return..
> 
> <code snippet...> 
> ..
> ...
> transmit /binary /noecho /nowait <commandsfile>
> input 1 -1
> .output := \fhexify(\v(input))
> echo \m(output)
> ...
> fopen /write \%c <outputfile>
> ..
> fwrite /line \%c \m(output)
> ..
> fclose \%c
> 
> </end>
> 
> The script works fine. The response as under is outputted to the
> 'outputfile'. Now when I echo the response I get
> 
> 16 06 14 34 47 12 01 87 
> instead of 
> 16 06 14 34 47 12 00 01 87 00 00 00
> 
> Note the difference after the 6th byte. The 7th and 8th byte which is
> 00 01 shows up as 01 and 10th, 11th and 12th bytes do now show up at
> all. However I have had success getting bytes in the order such as
> below and echoing this command works fine.
> 16 06 14 34 46 11 00 00 BB 10 00 00 
> 
> If anyone has any idea of whats going on here then please help me.
> 
> Thanx,
> 
> Ray


From fdc@sesame.cc.columbia.edu Thu Sep  4 14:48:13 EDT 2003
Article: 14498 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news-not-for-mail
From: fdc@sesame.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: missing bytes...
Date: 4 Sep 2003 14:48:09 -0400
Organization: Columbia University
Lines: 37
Message-ID: <bj81d9$bai$1@sesame.cc.columbia.edu>
References: <cf6cc183.0309031713.73a00933@posting.google.com> <bj7hfa$1ho$1@sesame.cc.columbia.edu> <cf6cc183.0309040955.6efec36f@posting.google.com>
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1062701290 16740 128.59.59.56 (4 Sep 2003 18:48:10 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 4 Sep 2003 18:48:10 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14498

In article <cf6cc183.0309040955.6efec36f@posting.google.com>,
icurmt <icurmtdude@yahoo.com> wrote:
: I tried it and it gave the same result as before. The NUL chars were
: ignored.
: 
How do you know it didn't work?  What kind of connection is it?  Where
are the NUL characters coming from?

When I do it here, it works:

  fopen /write \%c foo
  if fail stop
  while true {
      input 5
      if fail break
      fwrite /char \%c \v(inchar)
  }
  fclose \%c

The "foo" file has NUL characters in it, just where they are supposed to
be, none missing.

: However, something I dont understand here is that session log
: which is set as "set session-log binary" doesn't have the NUL
: character in it as well. Well, not sure, but possibly cause it logs
: the same (\v(input) buffer.
:
SET SESSION-LOG BINARY tells Kermit to record every incoming character,
including NULs, and it does.  The session log is separate from \v(input).
Incoming characters go straight to a file, not to a C string, so NULs
are not a problem.  However, by default (i.e. when SESSION-LOG is set to
TEXT), they are discarded, as are certain other control characters,
depending on the text-file format of the computer where Kermit is running
(so, for example, carriage returns are discarded by C-Kermit but not by
K-95).

- Frank


From icurmtdude@yahoo.com Fri Sep  5 11:49:33 EDT 2003
Article: 14499 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!headwall.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: icurmtdude@yahoo.com (icurmt)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: missing bytes...
Date: 4 Sep 2003 15:59:46 -0700
Organization: http://groups.google.com/
Lines: 43
Message-ID: <cf6cc183.0309041459.f7f15d9@posting.google.com>
References: <cf6cc183.0309031713.73a00933@posting.google.com> <bj7hfa$1ho$1@sesame.cc.columbia.edu> <cf6cc183.0309040955.6efec36f@posting.google.com> <bj81d9$bai$1@sesame.cc.columbia.edu>
NNTP-Posting-Host: 24.97.119.28
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1062716388 17869 127.0.0.1 (4 Sep 2003 22:59:48 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 4 Sep 2003 22:59:48 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14499

It worked fine. I guess made some mistake in haste.

Thanks for all your help.


fdc@sesame.cc.columbia.edu (Frank da Cruz) wrote in message news:<bj81d9$bai$1@sesame.cc.columbia.edu>...
> In article <cf6cc183.0309040955.6efec36f@posting.google.com>,
> icurmt <icurmtdude@yahoo.com> wrote:
> : I tried it and it gave the same result as before. The NUL chars were
> : ignored.
> : 
> How do you know it didn't work?  What kind of connection is it?  Where
> are the NUL characters coming from?
> 
> When I do it here, it works:
> 
>   fopen /write \%c foo
>   if fail stop
>   while true {
>       input 5
>       if fail break
>       fwrite /char \%c \v(inchar)
>   }
>   fclose \%c
> 
> The "foo" file has NUL characters in it, just where they are supposed to
> be, none missing.
> 
> : However, something I dont understand here is that session log
> : which is set as "set session-log binary" doesn't have the NUL
> : character in it as well. Well, not sure, but possibly cause it logs
> : the same (\v(input) buffer.
> :
> SET SESSION-LOG BINARY tells Kermit to record every incoming character,
> including NULs, and it does.  The session log is separate from \v(input).
> Incoming characters go straight to a file, not to a C string, so NULs
> are not a problem.  However, by default (i.e. when SESSION-LOG is set to
> TEXT), they are discarded, as are certain other control characters,
> depending on the text-file format of the computer where Kermit is running
> (so, for example, carriage returns are discarded by C-Kermit but not by
> K-95).
> 
> - Frank


From nugulus@netscape.net Sat Sep  6 12:18:13 EDT 2003
Article: 14500 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!news.linkpendium.com!prodigy.com!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr22.news.prodigy.com.POSTED!d286b79e!not-for-mail
Message-ID: <3F590E9E.2080706@netscape.net>
From: Jun Zhang <nugulus@netscape.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: dial-command
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 7
NNTP-Posting-Host: 159.66.144.147
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr22.news.prodigy.com 1062799996 ST000 159.66.144.147 (Fri, 05 Sep 2003 18:13:16 EDT)
NNTP-Posting-Date: Fri, 05 Sep 2003 18:13:16 EDT
Organization: SBC http://yahoo.sbc.com
X-UserInfo1: TSU[@I_A\S@OR\TY[BHN^_TDFZ\@@FXLM@TDOCQDJ@_@FNTCCNSKQFCY@TXDX_WHSVB]ZEJLSNY\^J[CUVSA_QLFC^RQHUPH[P[NRWCCMLSNPOD_ESALHUK@TDFUZHBLJ\XGKL^NXA\EVHSP[D_C^B_^JCX^W]CHBAX]POG@SSAZQ\LE[DCNMUPG_VSC@VJM
Date: Fri, 05 Sep 2003 22:13:16 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14500

When I use the "dial number", kermit will try atdnumber, instead of 
atdtnumber. How can I change this behavior? BTW, I can manually do "set 
modem dial-command atdt%s\{13}, in a kermit session. In the script 
dialout (downloaded), I added the line, and it didn't work.

Jun



From fdc@sesame.cc.columbia.edu Sat Sep  6 12:27:46 EDT 2003
Article: 14501 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news-not-for-mail
From: fdc@sesame.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: dial-command
Date: 6 Sep 2003 12:27:41 -0400
Organization: Columbia University
Lines: 48
Message-ID: <bjd1tt$q9f$1@sesame.cc.columbia.edu>
References: <3F590E9E.2080706@netscape.net>
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1062865662 13642 128.59.59.56 (6 Sep 2003 16:27:42 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 6 Sep 2003 16:27:42 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14501

In article <3F590E9E.2080706@netscape.net>,
Jun Zhang  <nugulus@netscape.net> wrote:
: When I use the "dial number", kermit will try atdnumber, instead of 
: atdtnumber. How can I change this behavior?
:
Kermit does not know if your telephone connection supports tone dialing,
so by default it does not specify a dialing method.  Most people have
configured their modems for Tone or Pulse dialing, as appropriate, and
saved the configuration.  Furthermore, if you have never configured your
modem, its default dialing method is probably Pulse, which works
everywhere, and therefore Kermit's default is appropriate.

: BTW, I can manually do "set 
: modem dial-command atdt%s\{13}, in a kermit session. In the script 
: dialout (downloaded), I added the line, and it didn't work.
: 
The order of commands can make a differnce; I would have to see the
script to explain this.  Also watch out for peculariarities of certain
modems, such as:

  http://www.columbia.edu/kermit/ckcbwr.html#x6.6

For more modem dialing hints and tips, read all of Section 6 of the
document referenced above.

Meanwhile, you didn't say which Kermit program or version you have, but
in general, the commands to set up a call are:

  set modem type <name-of-modem>
  set port <name-of-serial-port-device>
  set speed 57600 ; or other speed
  set dial method tone
  dial <phone-number>

If you have Kermit 95 on Windows, the "set modem type" and "set port"
commands might need to be replaced by:

  set port tapi <control-panel-modem-name>

If you wish, you can use the following command (before the DIAL command)
to watch the dialog between Kermit and the modem:

  set dial display on

If you have Kermit 95, you can also set all this up in the Dialer GUI
dialogs, as explained in Help -> Kermit 95 Manual.

- Frank


From arthur.marsh@internode.on.net Sun Sep  7 10:37:52 EDT 2003
Article: 14502 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!nycmny1-snh1.gtei.net!news.gtei.net!newsfeed.mathworks.com!enews.sgi.com!news.xtra.co.nz!news.mel.connect.com.au!news1.optus.net.au!optus!news.optus.net.au!53ab2750!not-for-mail
From: Arthur Marsh <arthur.marsh@internode.on.net>
Organization: National Centre for Petroleum Geology and Geophysics
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4) Gecko/20030624
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Thanks again to the Kermit team (telnet with TLS)
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: dialup116.staffdialup.services.adelaide.edu.au
Message-ID: <3f5a98a9@yorrell.saard.net>
X-Original-Trace: 7 Sep 2003 12:02:09 +0950, dialup116.staffdialup.services.adelaide.edu.au
Lines: 9
Date: Sun, 07 Sep 2003 02:32:11 GMT
NNTP-Posting-Host: 203.21.37.20
X-Trace: news.optus.net.au 1062901931 203.21.37.20 (Sun, 07 Sep 2003 12:32:11 EST)
NNTP-Posting-Date: Sun, 07 Sep 2003 12:32:11 EST
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14502

Hi, again I've been impressed with the latest daily build of C-Kermit 
(see http://www.columbia.edu/kermit/ckdaily.html ).

I've now been able to use C-Kermit to telnet with TLS to machines 
running the Stanford SRP telnet daemon ( http://srp.stanford.edu/ ) 
under Solaris 7 and Solaris 8 using OpenSSL 0.9.7.

Arthur.



From nugulus@sbcglobal.net Sun Sep  7 16:38:50 EDT 2003
Article: 14503 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!nycmny1-snh1.gtei.net!crtntx1-snh1.gtei.net!news.gtei.net!newsfeed1.easynews.com!easynews.com!easynews!news-feed01.roc.ny.frontiernet.net!nntp.frontiernet.net!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr23.news.prodigy.com.POSTED!d286b79e!not-for-mail
Message-ID: <3F5AEC54.6030302@sbcglobal.net>
From: Jun Zhang <nugulus@sbcglobal.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: modemtest2 - I have problem to use it
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 9
NNTP-Posting-Host: 67.66.198.76
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr23.news.prodigy.com 1062962353 ST000 67.66.198.76 (Sun, 07 Sep 2003 15:19:13 EDT)
NNTP-Posting-Date: Sun, 07 Sep 2003 15:19:13 EDT
Organization: SBC http://yahoo.sbc.com
X-UserInfo1: FKPO@MON[JS]R\XX[ZOD]_\@VR]^@B@MCPWZKB]MPXHZUYICD^RAQBKZQTZTX\_I[^G_KGFNON[ZOE_AZNVO^\XGGNTCIRPIJH[@RQKBXLRZ@CD^HKANYVW@RLGEZEJN@\_WZJBNZYYKVIOR]T]MNMG_Z[YVWSCH_Q[GPC_A@CARQVXDSDA^M]@DRVUM@RBM
Date: Sun, 07 Sep 2003 19:19:13 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14503

I have one phone number in the phone list array, not member in the 
terminal server array. Executing the script, I heard the modem dialing, 
connected, connect complete, and then after a few #, it started calling 
over again. Do I expect logging in to the remote machine? If I hit 
return while the #s are added, I get a new line.


Jun



From fdc@sesame.cc.columbia.edu Sun Sep  7 16:41:57 EDT 2003
Article: 14504 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news-not-for-mail
From: fdc@sesame.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: modemtest2 - I have problem to use it
Date: 7 Sep 2003 16:41:54 -0400
Organization: Columbia University
Lines: 16
Message-ID: <bjg56i$3p$1@sesame.cc.columbia.edu>
References: <3F5AEC54.6030302@sbcglobal.net>
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1062967314 3674 128.59.59.56 (7 Sep 2003 20:41:54 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 7 Sep 2003 20:41:54 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14504

In article <3F5AEC54.6030302@sbcglobal.net>,
Jun Zhang  <nugulus@sbcglobal.net> wrote:
: I have one phone number in the phone list array, not member in the 
: terminal server array.
:
You mean the terminal server array is empty?

: Executing the script, I heard the modem dialing, 
: connected, connect complete, and then after a few #, it started calling 
: over again. Do I expect logging in to the remote machine? If I hit 
: return while the #s are added, I get a new line.
: 
The script was written to assume the call is going through a terminal 
server.  If that is not the case, the script probably needs to be changed.

- Frank


From carlos@vanguardiatec.com Tue Sep  9 08:57:08 EDT 2003
Article: 14505 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!news.maxwell.syr.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: carlos@vanguardiatec.com (carlossm)
Newsgroups: comp.protocols.kermit.misc
Subject: Problem with path getting file
Date: 8 Sep 2003 23:15:36 -0700
Organization: http://groups.google.com/
Lines: 10
Message-ID: <61105627.0309082215.2dc4461e@posting.google.com>
NNTP-Posting-Host: 63.110.188.222
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1063088137 20864 127.0.0.1 (9 Sep 2003 06:15:37 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 9 Sep 2003 06:15:37 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14505

Strange path error. I trying to "GET" a file from a kermit server
with:

get aaaa.txt g:\xfer\aaaa.txt

As you can tell the \xfe gets translated into ascii character 254. How
can I avoid this?

TIA
Carlos San Miguel


From fdc@sesame.cc.columbia.edu Tue Sep  9 08:57:10 EDT 2003
Article: 14506 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news-not-for-mail
From: fdc@sesame.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Problem with path getting file
Date: 9 Sep 2003 08:57:05 -0400
Organization: Columbia University
Lines: 20
Message-ID: <bjkin1$ncb$1@sesame.cc.columbia.edu>
References: <61105627.0309082215.2dc4461e@posting.google.com>
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1063112225 17882 128.59.59.56 (9 Sep 2003 12:57:05 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 9 Sep 2003 12:57:05 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14506

In article <61105627.0309082215.2dc4461e@posting.google.com>,
carlossm <carlos@vanguardiatec.com> wrote:
: Strange path error. I trying to "GET" a file from a kermit server
: with:
: 
: get aaaa.txt g:\xfer\aaaa.txt
: 
: As you can tell the \xfe gets translated into ascii character 254. How
: can I avoid this?
: 
Backslash has a special function in Kermit language, just like it does
in shell scripts.  Use:

  get aaaa.txt g:\\xfer\\aaaa.txt

or:

  get aaaa.txt g:/xfer/aaaa.txt

- Frank


From nugulus@netscape.net Tue Sep  9 11:48:41 EDT 2003
Article: 14507 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!nycmny1-snh1.gtei.net!cambridge1-snf1.gtei.net!news.gtei.net!bos-service1.ext.raytheon.com!cyclone.swbell.net!newsfeed1.easynews.com!easynews.com!easynews!news-feed01.roc.ny.frontiernet.net!nntp.frontiernet.net!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr24.news.prodigy.com.POSTED!d286b79e!not-for-mail
From: Jun Zhang <nugulus@netscape.net>
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
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Problem after making a modem connection
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 9
Message-ID: <_ol7b.441$qa3.406@newssvr24.news.prodigy.com>
NNTP-Posting-Host: 159.66.144.147
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr24.news.prodigy.com 1063117498 ST000 159.66.144.147 (Tue, 09 Sep 2003 10:24:58 EDT)
NNTP-Posting-Date: Tue, 09 Sep 2003 10:24:58 EDT
Organization: SBC http://yahoo.sbc.com
X-UserInfo1: [[OORT[E@BUYS_H]]RKB_UDAZZ\DPCPDLXUNNH\KMAVNDQUBLNTC@AWZWDXZXQ[K\FFSKCVM@F_N_DOBWVWG__LG@VVOIPLIGX\\BU_B@\P\PFX\B[APHTWAHDCKJF^NHD[YJAZMCY_CWG[SX\Y]^KC\HSZRWSWKGAY_PC[BQ[BXAS\F\\@DMTLFZFUE@\VL
Date: Tue, 09 Sep 2003 14:24:58 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14507

Prompt shifting, like,
# uname -a
HP-UX UBHPUX B.11.00 U 9000/816 100302301 unlimited-user license
                                                                 #
see how far the pound sign moved to the right. How can I correct this?


Jun



From bonomi@host122.r-bonomi.com Tue Sep  9 11:49:05 EDT 2003
Article: 14508 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!hammer.uoregon.edu!logbridge.uoregon.edu!newspeer.monmouth.com!nntp.abs.net!ash.uu.net!sun-news.laserlink.net!not-for-mail
From: bonomi@host122.r-bonomi.com (Robert Bonomi)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Problem after making a modem connection
Date: Tue, 9 Sep 2003 15:15:02 +0000 (UTC)
Organization: Robert Bonomi Consulting
Lines: 17
Message-ID: <bjkqpm$2q0$1@sun-news.laserlink.net>
References: <_ol7b.441$qa3.406@newssvr24.news.prodigy.com>
NNTP-Posting-Host: h-68-167-94-122.chcgilgm.covad.net
X-Trace: sun-news.laserlink.net 1063120502 2880 68.167.94.122 (9 Sep 2003 15:15:02 GMT)
X-Complaints-To: abuse@covad.net
NNTP-Posting-Date: Tue, 9 Sep 2003 15:15:02 +0000 (UTC)
X-Newsreader: trn 4.0-test69 (20 September 1998)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14508

In article <_ol7b.441$qa3.406@newssvr24.news.prodigy.com>,
Jun Zhang  <nugulus@netscape.net> wrote:
>Prompt shifting, like,
># uname -a
>HP-UX UBHPUX B.11.00 U 9000/816 100302301 unlimited-user license
>                                                                 #
>see how far the pound sign moved to the right. How can I correct this?
>
>
>Jun
>

The remote system is apparently sending _only_ a [LF] character at the
end of the prior line.  Tweak the settings on it to send a [CR][LF] pair.

"stty onlcr"  may do the trick.



From nugulus@netscape.net Tue Sep  9 12:19:54 EDT 2003
Article: 14509 of comp.protocols.kermit.misc
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!newshosting.com!news-xfer1.atl.newshosting.com!diablo.voicenet.com!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr24.news.prodigy.com.POSTED!d286b79e!not-for-mail
From: Jun Zhang <nugulus@netscape.net>
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
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Problem after making a modem connection
References: <_ol7b.441$qa3.406@newssvr24.news.prodigy.com> <bjkqpm$2q0$1@sun-news.laserlink.net>
In-Reply-To: <bjkqpm$2q0$1@sun-news.laserlink.net>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 46
Message-ID: <gMm7b.467$oh4.93@newssvr24.news.prodigy.com>
NNTP-Posting-Host: 159.66.144.147
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr24.news.prodigy.com 1063123084 ST000 159.66.144.147 (Tue, 09 Sep 2003 11:58:04 EDT)
NNTP-Posting-Date: Tue, 09 Sep 2003 11:58:04 EDT
Organization: SBC http://yahoo.sbc.com
X-UserInfo1: SCSGGYSGRJSKR\D[N[O@_WH@YR_B@EXLLBWLOOAFQATJUZ]CDVW[AKK[J\]^HVKHG^EWZHBLO^[\NH_AZFWGN^\DHNVMX_DHHX[FSQKBOTS@@BP^]C@RHS_AGDDC[AJM_T[GZNRNZAY]GNCPBDYKOLK^_CZFWPGHZIXW@C[AFKBBQS@E@DAZ]VDFUNTQQ]FN
Date: Tue, 09 Sep 2003 15:58:04 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14509

Thank you for the response.
I put "stty sane" in the user's .profile, and the problem after logging 
in was solved. The problem still exist between connection and login, like,

GenericSysName [HP Release B.11.00] (see /etc/issue)
login: root
Password:
           Please wait...checking for disk quotas
....... (indent will be to the end of last line)
# (no problem from this point)

I then added onlcr to the /etc/gettydefs file, the entry of which now 
look like,

ult9600 #B9600 cs8 hupcl ignpar icrnl ixon opost onlcr cread
                isig icanon echo echok istrip ixany tab3
         #B9600 cs8 hupcl ignpar brkint icrnl onlcr ixon ixoff cread
                isig icanon echo echok tab3
         #login: # ult9600

but the problem after Password: and before # sign remains.


Jun

Robert Bonomi wrote:
> In article <_ol7b.441$qa3.406@newssvr24.news.prodigy.com>,
> Jun Zhang  <nugulus@netscape.net> wrote:
> 
>>Prompt shifting, like,
>># uname -a
>>HP-UX UBHPUX B.11.00 U 9000/816 100302301 unlimited-user license
>>                                                                #
>>see how far the pound sign moved to the right. How can I correct this?
>>
>>
>>Jun
>>
> 
> 
> The remote system is apparently sending _only_ a [LF] character at the
> end of the prior line.  Tweak the settings on it to send a [CR][LF] pair.
> 
> "stty onlcr"  may do the trick.
> 



From nugulus@netscape.net Tue Sep  9 16:02:24 EDT 2003
Article: 14510 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!nycmny1-snh1.gtei.net!crtntx1-snh1.gtei.net!news.gtei.net!newsfeed1.easynews.com!easynews.com!easynews!bigfeed2.bellsouth.net!news.bellsouth.net!elnk-atl-nf1!newsfeed.earthlink.net!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr24.news.prodigy.com.POSTED!d286b79e!not-for-mail
From: Jun Zhang <nugulus@netscape.net>
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
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: sporadic modem connection problem
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 19
Message-ID: <21q7b.717$l%1.70@newssvr24.news.prodigy.com>
NNTP-Posting-Host: 159.66.144.147
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr24.news.prodigy.com 1063136446 ST000 159.66.144.147 (Tue, 09 Sep 2003 15:40:46 EDT)
NNTP-Posting-Date: Tue, 09 Sep 2003 15:40:46 EDT
Organization: SBC http://yahoo.sbc.com
X-UserInfo1: [[OORT[E@BUYS_H]]RKB_UDAZZ\DPCPDLXUNNH\KMAVNDQUBLNTC@AWZWDXZXQ[K\FFSKCVM@F_N_DOBWVWG__LG@VVOIPLIGX\\BU_B@\P\PFX\B[APHTWAHDCKJF^NHD[YJAZMCY_CWG[SX\Y]^KC\HSZRWSWKGAY_PC[BQ[BXAS\F\\@DMTLFZFUE@\VL
Date: Tue, 09 Sep 2003 19:40:46 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14510

Sometime I leave a modem connection to a remote hpux box active, and 
after a while, the modem hangs itself up. Next time I dial, connect will 
fail.

I noticed that once a successful connection is made, the remote getty 
process is replace by a -ksh with a different process id. If I exit from 
the remote shell and come back to the local kermit prompt, the remote 
getty program name will come back to replace the name -ksh as a process, 
and keep the pid.

At the time I try to connect and fail, the -ksh is never swapped by the 
getty program name after the disconnection, as describe by the second 
paragraph of this message.

I need some help to understand what is going on.


Jun



From bonomi@host122.r-bonomi.com Wed Sep 10 09:06:15 EDT 2003
Article: 14511 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!nntp.abs.net!ash.uu.net!sun-news.laserlink.net!not-for-mail
From: bonomi@host122.r-bonomi.com (Robert Bonomi)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Problem after making a modem connection
Date: Tue, 9 Sep 2003 20:17:32 +0000 (UTC)
Organization: Robert Bonomi Consulting
Lines: 27
Message-ID: <bjlcgs$shd$1@sun-news.laserlink.net>
References: <_ol7b.441$qa3.406@newssvr24.news.prodigy.com> <bjkqpm$2q0$1@sun-news.laserlink.net> <gMm7b.467$oh4.93@newssvr24.news.prodigy.com>
NNTP-Posting-Host: h-68-167-94-122.chcgilgm.covad.net
X-Trace: sun-news.laserlink.net 1063138652 29229 68.167.94.122 (9 Sep 2003 20:17:32 GMT)
X-Complaints-To: abuse@covad.net
NNTP-Posting-Date: Tue, 9 Sep 2003 20:17:32 +0000 (UTC)
X-Newsreader: trn 4.0-test69 (20 September 1998)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14511

In article <gMm7b.467$oh4.93@newssvr24.news.prodigy.com>,
Jun Zhang  <nugulus@netscape.net> wrote:
>Thank you for the response.
>I put "stty sane" in the user's .profile, and the problem after logging 
>in was solved. The problem still exist between connection and login, like,
>
>GenericSysName [HP Release B.11.00] (see /etc/issue)
>login: root
>Password:
>           Please wait...checking for disk quotas
>....... (indent will be to the end of last line)
># (no problem from this point)
>
>I then added onlcr to the /etc/gettydefs file, the entry of which now 
>look like,
>
>ult9600 #B9600 cs8 hupcl ignpar icrnl ixon opost onlcr cread
>                isig icanon echo echok istrip ixany tab3
>         #B9600 cs8 hupcl ignpar brkint icrnl onlcr ixon ixoff cread
>                isig icanon echo echok tab3
>         #login: # ult9600
>
>but the problem after Password: and before # sign remains.

This is now confirmed to *NOT* be a KERMIT related issue.  Recommend you
take it to an HP/UX admin discussion group.



From icurmtdude@yahoo.com Mon Sep 15 11:01:05 EDT 2003
Article: 14513 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: icurmtdude@yahoo.com (icurmt)
Newsgroups: comp.protocols.kermit.misc
Subject: RTS/CTS flow control on output.
Date: 15 Sep 2003 07:38:57 -0700
Organization: http://groups.google.com/
Lines: 25
Message-ID: <cf6cc183.0309150638.4018a773@posting.google.com>
NNTP-Posting-Host: 24.97.119.28
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1063636739 11947 127.0.0.1 (15 Sep 2003 14:38:59 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 15 Sep 2003 14:38:59 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14513

Hi everyone,

I am running into this issue where sometimes I do not receive all the
bytes from other machine during a serial communication. I am currently
using ckermit version 8.0.200. Now, when I use my java program to
communicate with the same device then everything works fine. All the
bytes are correctly received. One noticeable change between the java
and the kermit program is the difference in their respective flow
control settings. In java, it is set as FLOWCONTROL_RTSCTS_OUT whereas
in kermit it is set flow rts/cts.

Is there a way to set only flow control "RTS/CTS out" in kermit. Just
as an addl info, the comm protocol is set as follows in my kermit
program.

set line /dev/ttyS0
set flow rts/cts
set carrier-watch off
set file type binary
set modem type none
set speed 19200

I appreciate your help. 

Ray


From fdc@sesame.cc.columbia.edu Mon Sep 15 11:06:57 EDT 2003
Article: 14514 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news-not-for-mail
From: fdc@sesame.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: RTS/CTS flow control on output.
Date: 15 Sep 2003 11:06:52 -0400
Organization: Columbia University
Lines: 37
Message-ID: <bk4kic$3dr$1@sesame.cc.columbia.edu>
References: <cf6cc183.0309150638.4018a773@posting.google.com>
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1063638413 2814 128.59.59.56 (15 Sep 2003 15:06:53 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 15 Sep 2003 15:06:53 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14514

In article <cf6cc183.0309150638.4018a773@posting.google.com>,
icurmt <icurmtdude@yahoo.com> wrote:
: I am running into this issue where sometimes I do not receive all the
: bytes from other machine during a serial communication. I am currently
: using ckermit version 8.0.200.
:
It probably won't make a difference, but the current version is 8.0.209:

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

: ...Now, when I use my java program to
: communicate with the same device then everything works fine. All the
: bytes are correctly received. One noticeable change between the java
: and the kermit program is the difference in their respective flow
: control settings. In java, it is set as FLOWCONTROL_RTSCTS_OUT whereas
: in kermit it is set flow rts/cts.
: 
: Is there a way to set only flow control "RTS/CTS out" in kermit.
:
No.  All flow control selections are presumed to be effective in both
directions.

: Just
: as an addl info, the comm protocol is set as follows in my kermit
: program.
: 
: set line /dev/ttyS0
: set flow rts/cts
: set carrier-watch off
: set file type binary
: set modem type none
: set speed 19200
: 
I don't see how disabling flow control in the incoming direction would
prevent loss of incoming bytes.

- Frank


From icurmtdude@yahoo.com Tue Sep 16 13:52:47 EDT 2003
Article: 14515 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: icurmtdude@yahoo.com (icurmt)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: RTS/CTS flow control on output.
Date: 15 Sep 2003 15:28:23 -0700
Organization: http://groups.google.com/
Lines: 45
Message-ID: <cf6cc183.0309151428.7086b647@posting.google.com>
References: <cf6cc183.0309150638.4018a773@posting.google.com> <bk4kic$3dr$1@sesame.cc.columbia.edu>
NNTP-Posting-Host: 24.97.119.28
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1063664904 11452 127.0.0.1 (15 Sep 2003 22:28:24 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 15 Sep 2003 22:28:24 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14515

I tried the latest build but the results were same. Sometimes I do not
receive all the bytes. Is there any way to resolve this issue..

Ray



fdc@sesame.cc.columbia.edu (Frank da Cruz) wrote in message news:<bk4kic$3dr$1@sesame.cc.columbia.edu>...
> In article <cf6cc183.0309150638.4018a773@posting.google.com>,
> icurmt <icurmtdude@yahoo.com> wrote:
> : I am running into this issue where sometimes I do not receive all the
> : bytes from other machine during a serial communication. I am currently
> : using ckermit version 8.0.200.
> :
> It probably won't make a difference, but the current version is 8.0.209:
> 
>   http://www.columbia.edu/kermit/ckermit.html
> 
> : ...Now, when I use my java program to
> : communicate with the same device then everything works fine. All the
> : bytes are correctly received. One noticeable change between the java
> : and the kermit program is the difference in their respective flow
> : control settings. In java, it is set as FLOWCONTROL_RTSCTS_OUT whereas
> : in kermit it is set flow rts/cts.
> : 
> : Is there a way to set only flow control "RTS/CTS out" in kermit.
> :
> No.  All flow control selections are presumed to be effective in both
> directions.
> 
> : Just
> : as an addl info, the comm protocol is set as follows in my kermit
> : program.
> : 
> : set line /dev/ttyS0
> : set flow rts/cts
> : set carrier-watch off
> : set file type binary
> : set modem type none
> : set speed 19200
> : 
> I don't see how disabling flow control in the incoming direction would
> prevent loss of incoming bytes.
> 
> - Frank


From JDanSkinner@JDanSkinner.com Tue Sep 16 13:53:04 EDT 2003
Article: 14516 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: JDanSkinner@JDanSkinner.com (Dan Skinner)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: RTS/CTS flow control on output.
Date: 15 Sep 2003 18:58:17 -0700
Organization: http://groups.google.com/
Lines: 51
Message-ID: <8ce22d01.0309151758.535089c0@posting.google.com>
References: <cf6cc183.0309150638.4018a773@posting.google.com> <bk4kic$3dr$1@sesame.cc.columbia.edu> <cf6cc183.0309151428.7086b647@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 1063677498 24774 127.0.0.1 (16 Sep 2003 01:58:18 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 16 Sep 2003 01:58:18 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14516

icurmtdude@yahoo.com (icurmt) wrote in message news:<cf6cc183.0309151428.7086b647@posting.google.com>...

Ray;
what are you runnung on the machine at the other end?
Regards...Dan.

> I tried the latest build but the results were same. Sometimes I do not
> receive all the bytes. Is there any way to resolve this issue..
> 
> Ray
> 
> 
> 
> fdc@sesame.cc.columbia.edu (Frank da Cruz) wrote in message news:<bk4kic$3dr$1@sesame.cc.columbia.edu>...
> > In article <cf6cc183.0309150638.4018a773@posting.google.com>,
> > icurmt <icurmtdude@yahoo.com> wrote:
> > : I am running into this issue where sometimes I do not receive all the
> > : bytes from other machine during a serial communication. I am currently
> > : using ckermit version 8.0.200.
> > :
> > It probably won't make a difference, but the current version is 8.0.209:
> > 
> >   http://www.columbia.edu/kermit/ckermit.html
> > 
> > : ...Now, when I use my java program to
> > : communicate with the same device then everything works fine. All the
> > : bytes are correctly received. One noticeable change between the java
> > : and the kermit program is the difference in their respective flow
> > : control settings. In java, it is set as FLOWCONTROL_RTSCTS_OUT whereas
> > : in kermit it is set flow rts/cts.
> > : 
> > : Is there a way to set only flow control "RTS/CTS out" in kermit.
> > :
> > No.  All flow control selections are presumed to be effective in both
> > directions.
> > 
> > : Just
> > : as an addl info, the comm protocol is set as follows in my kermit
> > : program.
> > : 
> > : set line /dev/ttyS0
> > : set flow rts/cts
> > : set carrier-watch off
> > : set file type binary
> > : set modem type none
> > : set speed 19200
> > : 
> > I don't see how disabling flow control in the incoming direction would
> > prevent loss of incoming bytes.
> > 
> > - Frank


From fdc@sesame.cc.columbia.edu Tue Sep 16 13:54:49 EDT 2003
Article: 14518 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news-not-for-mail
From: fdc@sesame.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: .kermrc not sourced?
Date: 16 Sep 2003 13:54:46 -0400
Organization: Columbia University
Lines: 21
Message-ID: <bk7ip6$ktd$1@sesame.cc.columbia.edu>
References: <ILG9b.698$Qc2.373@newssvr22.news.prodigy.com>
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1063734886 19879 128.59.59.56 (16 Sep 2003 17:54:46 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 16 Sep 2003 17:54:46 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14518

In article <ILG9b.698$Qc2.373@newssvr22.news.prodigy.com>,
Jun Zhang  <nugulus@netscape.net> wrote:
: I have c-kermit 8.0 on RH8.0. Downloaded kermrc from kermit website and 
: named it .kermrc under home directory. Then I executed my script with 
: the content,
: 
: #!/usr/local/bin/kermit
: UNIXLOGIN
: 
: Executing /root/.kermrc for UNIX...
: Good Morning!
: ?Not a command or macro name: "UNIXLOGIN"
: ....
: (/root/) C-Kermit>
: 
: I see UNIXLOGIN is defined in .kermrc, how come?
: 
.kermrc is not sourced by "kerbang" scripts.  Add "take \v(home).kermrc"
to the script if you want .kermrc processed.

- Frank


From nugulus@netscape.net Tue Sep 16 15:12:00 EDT 2003
Article: 14519 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsfeed.news.ucla.edu!newsfeed.media.kyoto-u.ac.jp!in.100proofnews.com!in.100proofnews.com!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr22.news.prodigy.com.POSTED!d286b79e!not-for-mail
From: Jun Zhang <nugulus@netscape.net>
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
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: .kermrc not sourced?
References: <ILG9b.698$Qc2.373@newssvr22.news.prodigy.com> <bk7ip6$ktd$1@sesame.cc.columbia.edu>
In-Reply-To: <bk7ip6$ktd$1@sesame.cc.columbia.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 48
Message-ID: <uwI9b.732$113.102@newssvr22.news.prodigy.com>
NNTP-Posting-Host: 159.66.144.147
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr22.news.prodigy.com 1063736474 ST000 159.66.144.147 (Tue, 16 Sep 2003 14:21:14 EDT)
NNTP-Posting-Date: Tue, 16 Sep 2003 14:21:14 EDT
Organization: SBC http://yahoo.sbc.com
X-UserInfo1: Q[R_@S^D@ZWYCP\[]BCBNWX@RJ_XPDLMN@GZ_GYO^BTBTSUBYFWEAE[YJLYPIWKHTFCMZKVMB^[Z^DOBRVVMOSPFHNSYXVDIE@X\BUC@GTSX@DL^GKFFHQCCE\G[JJBMYDYIJCZM@AY]GNGPJD]YNNW\GSX^GSCKHA[]@CCB\[@LATPD\L@J\\PF]VR[QPJN
Date: Tue, 16 Sep 2003 18:21:14 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14519

Frank,
    I know who you are, but I still believe that my kerbang script is 
sourcing .kermrc, since once I added the "take \v(home).kermrc" in the
script, the output will be,

Executing /root/.kermrc for UNIX...
Good Morning!
Executing /root/.kermrc for UNIX...
Good Morning!
?Not a command or macro name: "UNIXLOGIN"

It sourced twice now, and UNIXLOGIN is still not known.

My next question will be, supposing I have UNIXLOGIN work, will the 
following script (partial) does automatic login, and give directly the 
remote machine's shell prompt?

dial nnnnnnn
UNIXLOGIN



Jun


Frank da Cruz wrote:
> In article <ILG9b.698$Qc2.373@newssvr22.news.prodigy.com>,
> Jun Zhang  <nugulus@netscape.net> wrote:
> : I have c-kermit 8.0 on RH8.0. Downloaded kermrc from kermit website and 
> : named it .kermrc under home directory. Then I executed my script with 
> : the content,
> : 
> : #!/usr/local/bin/kermit
> : UNIXLOGIN
> : 
> : Executing /root/.kermrc for UNIX...
> : Good Morning!
> : ?Not a command or macro name: "UNIXLOGIN"
> : ....
> : (/root/) C-Kermit>
> : 
> : I see UNIXLOGIN is defined in .kermrc, how come?
> : 
> .kermrc is not sourced by "kerbang" scripts.  Add "take \v(home).kermrc"
> to the script if you want .kermrc processed.
> 
> - Frank



From nugulus@netscape.net Tue Sep 16 15:23:49 EDT 2003
Article: 14519 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsfeed.news.ucla.edu!newsfeed.media.kyoto-u.ac.jp!in.100proofnews.com!in.100proofnews.com!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr22.news.prodigy.com.POSTED!d286b79e!not-for-mail
From: Jun Zhang <nugulus@netscape.net>
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
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: .kermrc not sourced?
References: <ILG9b.698$Qc2.373@newssvr22.news.prodigy.com> <bk7ip6$ktd$1@sesame.cc.columbia.edu>
In-Reply-To: <bk7ip6$ktd$1@sesame.cc.columbia.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 48
Message-ID: <uwI9b.732$113.102@newssvr22.news.prodigy.com>
NNTP-Posting-Host: 159.66.144.147
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr22.news.prodigy.com 1063736474 ST000 159.66.144.147 (Tue, 16 Sep 2003 14:21:14 EDT)
NNTP-Posting-Date: Tue, 16 Sep 2003 14:21:14 EDT
Organization: SBC http://yahoo.sbc.com
X-UserInfo1: Q[R_@S^D@ZWYCP\[]BCBNWX@RJ_XPDLMN@GZ_GYO^BTBTSUBYFWEAE[YJLYPIWKHTFCMZKVMB^[Z^DOBRVVMOSPFHNSYXVDIE@X\BUC@GTSX@DL^GKFFHQCCE\G[JJBMYDYIJCZM@AY]GNGPJD]YNNW\GSX^GSCKHA[]@CCB\[@LATPD\L@J\\PF]VR[QPJN
Date: Tue, 16 Sep 2003 18:21:14 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14519

Frank,
    I know who you are, but I still believe that my kerbang script is 
sourcing .kermrc, since once I added the "take \v(home).kermrc" in the
script, the output will be,

Executing /root/.kermrc for UNIX...
Good Morning!
Executing /root/.kermrc for UNIX...
Good Morning!
?Not a command or macro name: "UNIXLOGIN"

It sourced twice now, and UNIXLOGIN is still not known.

My next question will be, supposing I have UNIXLOGIN work, will the 
following script (partial) does automatic login, and give directly the 
remote machine's shell prompt?

dial nnnnnnn
UNIXLOGIN



Jun


Frank da Cruz wrote:
> In article <ILG9b.698$Qc2.373@newssvr22.news.prodigy.com>,
> Jun Zhang  <nugulus@netscape.net> wrote:
> : I have c-kermit 8.0 on RH8.0. Downloaded kermrc from kermit website and 
> : named it .kermrc under home directory. Then I executed my script with 
> : the content,
> : 
> : #!/usr/local/bin/kermit
> : UNIXLOGIN
> : 
> : Executing /root/.kermrc for UNIX...
> : Good Morning!
> : ?Not a command or macro name: "UNIXLOGIN"
> : ....
> : (/root/) C-Kermit>
> : 
> : I see UNIXLOGIN is defined in .kermrc, how come?
> : 
> .kermrc is not sourced by "kerbang" scripts.  Add "take \v(home).kermrc"
> to the script if you want .kermrc processed.
> 
> - Frank



From fdc@sesame.cc.columbia.edu Tue Sep 16 15:23:51 EDT 2003
Article: 14520 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news-not-for-mail
From: fdc@sesame.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: .kermrc not sourced?
Date: 16 Sep 2003 15:23:42 -0400
Organization: Columbia University
Lines: 33
Message-ID: <bk7nvu$4a9$1@sesame.cc.columbia.edu>
References: <ILG9b.698$Qc2.373@newssvr22.news.prodigy.com> <bk7ip6$ktd$1@sesame.cc.columbia.edu> <uwI9b.732$113.102@newssvr22.news.prodigy.com>
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1063740222 24001 128.59.59.56 (16 Sep 2003 19:23:42 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 16 Sep 2003 19:23:42 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14520

In article <uwI9b.732$113.102@newssvr22.news.prodigy.com>,
Jun Zhang  <nugulus@netscape.net> wrote:
: Frank,
:     I know who you are, but I still believe that my kerbang script is 
: sourcing .kermrc, since once I added the "take \v(home).kermrc" in the
: script, the output will be,
: 
: Executing /root/.kermrc for UNIX...
: Good Morning!
: Executing /root/.kermrc for UNIX...
: Good Morning!
: ?Not a command or macro name: "UNIXLOGIN"
: 
: It sourced twice now, and UNIXLOGIN is still not known.
: 
What can I say, my copy does not automatically source ~/.kermrc.
If I put a "take" command in my script, it does source it, once.

Here's the deal about UNIXLOGIN and similar macros: they are intended
for use with a services directory.  Therefore if you don't have a
services directory, the rather lengthy section that defines them is 
skipped so that Kermit will start up faster for most people.

: My next question will be, supposing I have UNIXLOGIN work, will the 
: following script (partial) does automatic login, and give directly the 
: remote machine's shell prompt?
: 
You have to read about the services directory in the manual.  It's kind
of like a phonebook for connections.  Each line is one connection:
name of connection, name of macro, parameters for macro (such as user ID,
phone number, network address, etc).  There's a whole chapter about this.

- Frank


From nugulus@netscape.net Wed Sep 17 09:03:45 EDT 2003
Article: 14521 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!news.linkpendium.com!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr22.news.prodigy.com.POSTED!d286b79e!not-for-mail
From: Jun Zhang <nugulus@netscape.net>
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
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: automodem?
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 7
Message-ID: <S5N9b.750$A67.607@newssvr22.news.prodigy.com>
NNTP-Posting-Host: 159.66.144.147
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr22.news.prodigy.com 1063755250 ST000 159.66.144.147 (Tue, 16 Sep 2003 19:34:10 EDT)
NNTP-Posting-Date: Tue, 16 Sep 2003 19:34:10 EDT
Organization: SBC http://yahoo.sbc.com
X-UserInfo1: Q[R_PJSCOPUYSU\[BJNBNFXBWR\HPCTL@XT^OBPLAH[\RSAANVUEAE[YETZPIWWI[FCIZA^NBFXZ_D[BFNTCNVPDTNTKHWXKB@X^B_OCJLPZ@ET_O[G\XSG@E\G[ZKVLBL^CJINM@I_KVIOR\T_M_AW_M[_BWU_HFA_]@A_A^SGFAUDE_DFTMQPFWVW[QPJN
Date: Tue, 16 Sep 2003 23:34:10 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14521

I saw the autotelnet kermit script, assuming ethernet connection 
available. I need to write such a script when the connection is through 
modem. Can some one help?


Jun



From fdc@sesame.cc.columbia.edu Wed Sep 17 10:47:33 EDT 2003
Article: 14522 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news-not-for-mail
From: fdc@sesame.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: automodem?
Date: 17 Sep 2003 10:47:28 -0400
Organization: Columbia University
Lines: 12
Message-ID: <bk9s60$4td$1@sesame.cc.columbia.edu>
References: <S5N9b.750$A67.607@newssvr22.news.prodigy.com>
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1063810049 8762 128.59.59.56 (17 Sep 2003 14:47:29 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 17 Sep 2003 14:47:29 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14522

In article <S5N9b.750$A67.607@newssvr22.news.prodigy.com>,
Jun Zhang  <nugulus@netscape.net> wrote:
: I saw the autotelnet kermit script, assuming ethernet connection 
: available. I need to write such a script when the connection is through 
: modem. Can some one help?
: 
Just now I added an "autodial" script to the Modems section of the
C-Kermit script library:

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

- Frank


From nugulus@netscape.net Wed Sep 17 13:19:14 EDT 2003
Article: 14523 of comp.protocols.kermit.misc
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!zen.net.uk!in.100proofnews.com!in.100proofnews.com!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr22.news.prodigy.com.POSTED!d286b79e!not-for-mail
From: Jun Zhang <nugulus@netscape.net>
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
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: automodem?
References: <S5N9b.750$A67.607@newssvr22.news.prodigy.com> <bk9s60$4td$1@sesame.cc.columbia.edu>
In-Reply-To: <bk9s60$4td$1@sesame.cc.columbia.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 36
Message-ID: <_D%9b.913$M_4.381@newssvr22.news.prodigy.com>
NNTP-Posting-Host: 159.66.144.147
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr22.news.prodigy.com 1063814778 ST000 159.66.144.147 (Wed, 17 Sep 2003 12:06:18 EDT)
NNTP-Posting-Date: Wed, 17 Sep 2003 12:06:18 EDT
Organization: SBC http://yahoo.sbc.com
X-UserInfo1: FKPO@MC@OPUYSU\[BJNBNFXBWR\HPCTL@XT^OBPLAH[\BPIB_NVUAH_[BL[\IRKIANGGJBFNJF_DOLSCENSY^U@FRFUEXR@KFXYDBPWBCDQJA@X_DCBHXR[C@\EOKCJLED_SZ@RMWYXYWE_P@\\GOIW^@SYFFSWHFIXMADO@^[ADPRPETLBJ]RDGENSKQQZN
Date: Wed, 17 Sep 2003 16:06:18 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14523

Frank,
    After connection, logging in, at the ckermit> prompt, I type hangup 
or quit, modem seems disconnected. These are all fine.
    Go to the remote host, I noticed that the getty process was replaced 
by -ksh during the succesfull connection, but remain like that after I 
hang up at the client. Next time I use autodial, session will hang after 
I give password.
    To further explain what I mean: before successful connection, there 
is a process (launched by inittab entry)
   root 3067 1 0 11:45:45 ttyd0p7 0:00 /usr/sbin/getty -h ttyd0p7 9600
after the successful connection, the process becomes
   root 3067 1 0 11:45:45 ttyd0p7 0:00 -ksh
this process will remain like it is even after the client side modem 
hangup. I have to kill it and let init to respawn, before the new 
autodial session could be successful.
   The remote host is hpux 11.00. The replacement instead of fork a 
child of the process looks weired. Before looking into that, I would 
like to know if kermit has anything to do with it.


Jun

Frank da Cruz wrote:
> In article <S5N9b.750$A67.607@newssvr22.news.prodigy.com>,
> Jun Zhang  <nugulus@netscape.net> wrote:
> : I saw the autotelnet kermit script, assuming ethernet connection 
> : available. I need to write such a script when the connection is through 
> : modem. Can some one help?
> : 
> Just now I added an "autodial" script to the Modems section of the
> C-Kermit script library:
> 
>   http://www.columbia.edu/kermit/ckscripts.html
> 
> - Frank



From nugulus@netscape.net Wed Sep 17 13:19:39 EDT 2003
Article: 14524 of comp.protocols.kermit.misc
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!in.100proofnews.com!in.100proofnews.com!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr22.news.prodigy.com.POSTED!d286b79e!not-for-mail
From: Jun Zhang <nugulus@netscape.net>
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
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: automodem?
References: <S5N9b.750$A67.607@newssvr22.news.prodigy.com> <bk9s60$4td$1@sesame.cc.columbia.edu>
In-Reply-To: <bk9s60$4td$1@sesame.cc.columbia.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 33
Message-ID: <_g0ab.916$SY5.132@newssvr22.news.prodigy.com>
NNTP-Posting-Host: 159.66.144.147
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr22.news.prodigy.com 1063817402 ST000 159.66.144.147 (Wed, 17 Sep 2003 12:50:02 EDT)
NNTP-Posting-Date: Wed, 17 Sep 2003 12:50:02 EDT
Organization: SBC http://yahoo.sbc.com
X-UserInfo1: SCSYQNON[JS]R\XX[ZOD]_\@VR]^@B@MCPWZKB]MPXHNDQUBLNTC@AWZWDXZXQ[K\FFSKCVM@F_N_DOBWVWG__LG@VVOIPLIGX\\BU_B@\P\PFX\B[APHTWAHDCKJF^NHD[YJAZMCY_CWG[SX\Y]^KC\HSZRWSWKGAY_PC[BQ[BXAS\F\\@DMTLFZFUE@\VL
Date: Wed, 17 Sep 2003 16:50:02 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14524

To answer my last question: I have to logout during kermit CONNECT mode 
to recover that remote getty process, and you told me that.

Can I put shell commands to run at remote host within the autodial 
script? For instance I need to logout.

I tried to add

if success connect
touch /tmp/somefile
exit

at the end of autodial script, but I was given the shell prompt of the 
remote host. Probably this to embed shell script in kermit issue.



Jun

Frank da Cruz wrote:
> In article <S5N9b.750$A67.607@newssvr22.news.prodigy.com>,
> Jun Zhang  <nugulus@netscape.net> wrote:
> : I saw the autotelnet kermit script, assuming ethernet connection 
> : available. I need to write such a script when the connection is through 
> : modem. Can some one help?
> : 
> Just now I added an "autodial" script to the Modems section of the
> C-Kermit script library:
> 
>   http://www.columbia.edu/kermit/ckscripts.html
> 
> - Frank



From fdc@sesame.cc.columbia.edu Wed Sep 17 13:27:16 EDT 2003
Article: 14525 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news-not-for-mail
From: fdc@sesame.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: automodem?
Date: 17 Sep 2003 13:27:11 -0400
Organization: Columbia University
Lines: 60
Message-ID: <bka5hf$rhg$1@sesame.cc.columbia.edu>
References: <S5N9b.750$A67.607@newssvr22.news.prodigy.com> <bk9s60$4td$1@sesame.cc.columbia.edu> <_g0ab.916$SY5.132@newssvr22.news.prodigy.com>
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1063819631 16674 128.59.59.56 (17 Sep 2003 17:27:11 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 17 Sep 2003 17:27:11 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14525

In article <_g0ab.916$SY5.132@newssvr22.news.prodigy.com>,
Jun Zhang  <nugulus@netscape.net> wrote:
:     After connection, logging in, at the ckermit> prompt, I type hangup
: or quit, modem seems disconnected. These are all fine.
:     Go to the remote host, I noticed that the getty process was replaced
: by -ksh during the succesfull connection, but remain like that after I
: hang up at the client. Next time I use autodial, session will hang after
: I give password.
:     To further explain what I mean: before successful connection, there
: is a process (launched by inittab entry)
:    root 3067 1 0 11:45:45 ttyd0p7 0:00 /usr/sbin/getty -h ttyd0p7 9600
: after the successful connection, the process becomes
:    root 3067 1 0 11:45:45 ttyd0p7 0:00 -ksh
: this process will remain like it is even after the client side modem
: hangup. I have to kill it and let init to respawn, before the new
: autodial session could be successful.
:    The remote host is hpux 11.00. The replacement instead of fork a
: child of the process looks weired. Before looking into that, I would
: like to know if kermit has anything to do with it.
: 
No, it doesn't.  A Kermit script only does the same things that you would
do by hand.  It can't affect interactions between getty and ksh on the
remote host.

: To answer my last question: I have to logout during kermit CONNECT mode 
: to recover that remote getty process, and you told me that.
: 
: Can I put shell commands to run at remote host within the autodial 
: script? For instance I need to logout.
: 
Yes, of course you can put dialogs with the host in your script.  Please
read the tutorial near the beginning of the C-Kermit scripts page:

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

: I tried to add
: 
: if success connect
: touch /tmp/somefile
: exit
: 
: at the end of autodial script, but I was given the shell prompt of the 
: remote host. Probably this to embed shell script in kermit issue.
: 
As the tutorial says, if you want the script to execute the dialog, then
you must replace the CONNECT command with a series of INPUT and OUTPUT
commands, so:

  if success connect
  touch /tmp/somefile
  exit

becomes something like:

  input 10 {\10$ }    ; (or whatever the shell prompt is)
  if fail exit 1 No shell prompt
  output touch /tmp/somefile\13
  output exit\13

- Frank


From fdc@sesame.cc.columbia.edu Thu Sep 18 12:58:39 EDT 2003
Article: 14527 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news-not-for-mail
From: fdc@sesame.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: ACCESS macro is not defined
Date: 18 Sep 2003 12:58:30 -0400
Organization: Columbia University
Lines: 15
Message-ID: <bkco7m$c4n$1@sesame.cc.columbia.edu>
References: <Onkab.1048$Y62.342@newssvr22.news.prodigy.com>
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1063904311 26563 128.59.59.56 (18 Sep 2003 16:58:31 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 18 Sep 2003 16:58:31 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14527

In article <Onkab.1048$Y62.342@newssvr22.news.prodigy.com>,
Jun Zhang  <nugulus@netscape.net> wrote:
: Trying to use the script called deliver (downloaded from kermit site), I 
: got the title message, but I'm using kermit 8.0.210.
: What is the service name look like as the first argument of the script 
: deliver?
: 
The ACCESS macro will not be defined unless you have a services directory,
filename ~/.ksd.  The services directory is described in the manual.

Remember these are sample scripts.  Sometimes they need to be tailored to
your own requirements.  If you don't have a services directory, then you
have to insert the commands necessary to make the connection and log in.

- Frank


From nugulus@netscape.net Mon Sep 22 12:30:32 EDT 2003
Article: 14528 of comp.protocols.kermit.misc
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.stueberl.de!peer01.cox.net!peer02.cox.net!cox.net!prodigy.com!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr22.news.prodigy.com.POSTED!d286b79e!not-for-mail
From: Jun Zhang <nugulus@netscape.net>
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
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: send command failed but file was sent?
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 26
Message-ID: <JAEbb.2$aD4.1@newssvr22.news.prodigy.com>
NNTP-Posting-Host: 159.66.144.147
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr22.news.prodigy.com 1064244649 ST000 159.66.144.147 (Mon, 22 Sep 2003 11:30:49 EDT)
NNTP-Posting-Date: Mon, 22 Sep 2003 11:30:49 EDT
Organization: SBC http://yahoo.sbc.com
X-UserInfo1: FKPO@MC@@S@OR\TY[BHN^_TDFZ\@@FXLM@TDOCQDJ@_@FNTBLNTC@AWZWDXZXQ[K\FFSKCVM@F_N_DOBWVWG__LG@VVOIPLIGX\\BU_B@\P\PFX\B[APHTWAHDCKJF^NHD[YJAZMCY_CWG[SX\Y]^KC\HSZRWSWKGAY_PC[BQ[BXAS\F\\@DMTLFZFUE@\VL
Date: Mon, 22 Sep 2003 15:30:49 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14528

In the DELIVER script, a piece of the code,

AUTODIAL
if fail continue
out kermit\13
input 10 >
out receive\13
input 10 KERMIT READY
pause 1
send \%1
if success break

Each time the file was sent to the remote host OK, and I can view the 
content of the file, but the if statement didn't break the loop.

Another puzzle is that the remote shell always show up, even though I 
"set dial connect off".
I got something like "# receive --- not found", since receive is not a 
shell command. But again, file is transfered.

Thanks in advance!



Jun



From fdc@sesame.cc.columbia.edu Mon Sep 22 12:30:35 EDT 2003
Article: 14529 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news-not-for-mail
From: fdc@sesame.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: send command failed but file was sent?
Date: 22 Sep 2003 12:30:24 -0400
Organization: Columbia University
Lines: 44
Message-ID: <bkn830$bll$1@sesame.cc.columbia.edu>
References: <JAEbb.2$aD4.1@newssvr22.news.prodigy.com>
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1064248225 2391 128.59.59.56 (22 Sep 2003 16:30:25 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 22 Sep 2003 16:30:25 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14529

In article <JAEbb.2$aD4.1@newssvr22.news.prodigy.com>,
Jun Zhang  <nugulus@netscape.net> wrote:
: In the DELIVER script, a piece of the code,
: 
: AUTODIAL
: if fail continue
: out kermit\13
: input 10 >
: out receive\13
: input 10 KERMIT READY
: pause 1
: send \%1
: if success break
: 
: Each time the file was sent to the remote host OK, and I can view the 
: content of the file, but the if statement didn't break the loop.
: 
This sequence is supposed to be inside a FOR loop.  Is it?

Maybe you made a typing error that changed the script in some way.  Please
proofread it.  If you can't find any mistake, then send a copy of your
entire script to kermit-support@columbia.edu.

: Another puzzle is that the remote shell always show up, even though I 
: "set dial connect off".
:
I suspect the script just showing you its automated dialog with the shell.
In that case, just add:

  set input echo off

and you won't see the dialog.

: I got something like "# receive --- not found", since receive is not a 
: shell command. But again, file is transfered.
: 
Does the remote computer start a Kermit program when it is given a "kermit"
command at its shell prompt?  Does the remote Kermit's prompt end with ">"?

Please read the scripting tutorial again.  You have to make the script do
exactly what your eyes, hands, and brain do when you perform the same task
interactively.

- Frank


From fdc@sesame.cc.columbia.edu Mon Sep 22 12:54:10 EDT 2003
Article: 14530 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news-not-for-mail
From: fdc@sesame.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Kermit in Orbit
Date: 22 Sep 2003 12:53:42 -0400
Organization: Columbia University
Lines: 14
Message-ID: <bkn9em$eoi$1@sesame.cc.columbia.edu>
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1064249623 3586 128.59.59.56 (22 Sep 2003 16:53:43 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 22 Sep 2003 16:53:43 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14530


Just in: A story about Kermit software (Kermit 95 and MS-DOS Kermit) on 
the International Space Station:

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

Many thanks to Professor Joe Doupnik of Utah State University for providing
the modified version of MS-DOS Kermit for "headless" (or perhaps, "pinhead")
operation.

The application described is quite simple, yet it illustrates the benefits
of Kermit scripting and its wide platform coverage.

- Frank


From nugulus@netscape.net Mon Sep 22 13:13:18 EDT 2003
Article: 14531 of comp.protocols.kermit.misc
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!logbridge.uoregon.edu!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr22.news.prodigy.com.POSTED!d286b79e!not-for-mail
From: Jun Zhang <nugulus@netscape.net>
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
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: destination file name 
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 12
Message-ID: <q4Fbb.5$7e5.3@newssvr22.news.prodigy.com>
NNTP-Posting-Host: 159.66.144.147
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr22.news.prodigy.com 1064246678 ST000 159.66.144.147 (Mon, 22 Sep 2003 12:04:38 EDT)
NNTP-Posting-Date: Mon, 22 Sep 2003 12:04:38 EDT
Organization: SBC http://yahoo.sbc.com
X-UserInfo1: FKPO@MC@OPUYSU\[BJNBNFXBWR\HPCTL@XT^OBPLAH[\BTUCCNSKQFCY@TXDX_WHSVB]ZEJLSNY\^J[CUVSA_QLFC^RQHUPH[P[NRWCCMLSNPOD_ESALHUK@TDFUZHBLJ\XGKL^NXA\EVHSP[D_C^B_^JCX^W]CHBAX]POG@SSAZQ\LE[DCNMUPG_VSC@VJM
Date: Mon, 22 Sep 2003 16:04:38 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14531

I did
send \%1 /tmp/\%1
where the value of \%1 is mydout.

kermit reported,
SENDING: mydout => /tmp/mydout => //mydout
and the file is sent to remotehost:/mydout. How can I make the 
destination file remotehost:/tmp/mydout?


Jun



From nugulus@netscape.net Mon Sep 22 13:17:51 EDT 2003
Article: 14532 of comp.protocols.kermit.misc
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!wn14feed!worldnet.att.net!207.115.63.142!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr22.news.prodigy.com.POSTED!d286b79e!not-for-mail
From: Jun Zhang <nugulus@netscape.net>
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
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: send command failed but file was sent?
References: <JAEbb.2$aD4.1@newssvr22.news.prodigy.com>
In-Reply-To: <JAEbb.2$aD4.1@newssvr22.news.prodigy.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 34
Message-ID: <0bFbb.6$0n5.2@newssvr22.news.prodigy.com>
NNTP-Posting-Host: 159.66.144.147
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr22.news.prodigy.com 1064247100 ST000 159.66.144.147 (Mon, 22 Sep 2003 12:11:40 EDT)
NNTP-Posting-Date: Mon, 22 Sep 2003 12:11:40 EDT
Organization: SBC http://yahoo.sbc.com
X-UserInfo1: OXZYS]SGYJSUCFD[LZKJOPHAWB\^PBQLGPQRJRQIMASJETAANVW[AKWZE\]^XQWIGNE_[EBL@^_\^JOCQ^RSNVLGTFTKHTXHHP[NB\_C@\SD@EP_[KCXX__AGDDEKGFNB\ZOKLRNCY_CGG[RHT_UN@C_BSY\G__IJIX_PLSA[CCFAULEY\FL\VLGANTQQ]FN
Date: Mon, 22 Sep 2003 16:11:40 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14532

It turned out that the file being sent has problem. It's a shell script 
and was aborting the kermit send process at a point, I don't know why.


Jun

Jun Zhang wrote:
> In the DELIVER script, a piece of the code,
> 
> AUTODIAL
> if fail continue
> out kermit\13
> input 10 >
> out receive\13
> input 10 KERMIT READY
> pause 1
> send \%1
> if success break
> 
> Each time the file was sent to the remote host OK, and I can view the 
> content of the file, but the if statement didn't break the loop.
> 
> Another puzzle is that the remote shell always show up, even though I 
> "set dial connect off".
> I got something like "# receive --- not found", since receive is not a 
> shell command. But again, file is transfered.
> 
> Thanks in advance!
> 
> 
> 
> Jun
> 



From nugulus@netscape.net Mon Sep 22 13:18:07 EDT 2003
Article: 14533 of comp.protocols.kermit.misc
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!newsfeed.fjserv.net!proxad.net!news.tiscali.fr!deine.net!news-out1.nntp.be!propagator2-sterling!news-in-sterling.nuthinbutnews.com!news-xfer2.atl.newshosting.com!63.218.45.10.MISMATCH!newshosting.com!news-xfer1.atl.newshosting.com!diablo.voicenet.com!prodigy.com!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr22.news.prodigy.com.POSTED!d286b79e!not-for-mail
From: Jun Zhang <nugulus@netscape.net>
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
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: send command failed but file was sent?
References: <JAEbb.2$aD4.1@newssvr22.news.prodigy.com>
In-Reply-To: <JAEbb.2$aD4.1@newssvr22.news.prodigy.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 38
Message-ID: <QuFbb.13$V16.9@newssvr22.news.prodigy.com>
NNTP-Posting-Host: 159.66.144.147
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr22.news.prodigy.com 1064248368 ST000 159.66.144.147 (Mon, 22 Sep 2003 12:32:48 EDT)
NNTP-Posting-Date: Mon, 22 Sep 2003 12:32:48 EDT
Organization: SBC http://yahoo.sbc.com
X-UserInfo1: [[OORT[E@BUYS_H]]RKB_UDAZZ\DPCPDLXUNNHDK@YUDUWYAKVUOPCW[ML\JXUCKVFDYZKBMSFX^OMSAFNTINTDDMVW[X\THOPXZRVOCJTUTPC\_JSBVX\KAOTBAJBVMZTYAKMNLDI_MFDSSOLXINH__FS^\WQGHGI^C@E[A_CF\AQLDQ\BTMPLDFNVUQ_VM
Date: Mon, 22 Sep 2003 16:32:48 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14533

Seems the RECEIVE command is not needed in the DELIVER script, or at 
least the OUT keyword in front of RECEIVE doesn't make sense.

The remote shell prompt still come up, it doesn't hinder anything from 
being done, but is this normal while I have "set dial connect off" in 
effect?


Jun

Jun Zhang wrote:
> In the DELIVER script, a piece of the code,
> 
> AUTODIAL
> if fail continue
> out kermit\13
> input 10 >
> out receive\13
> input 10 KERMIT READY
> pause 1
> send \%1
> if success break
> 
> Each time the file was sent to the remote host OK, and I can view the 
> content of the file, but the if statement didn't break the loop.
> 
> Another puzzle is that the remote shell always show up, even though I 
> "set dial connect off".
> I got something like "# receive --- not found", since receive is not a 
> shell command. But again, file is transfered.
> 
> Thanks in advance!
> 
> 
> 
> Jun
> 



From fdc@sesame.cc.columbia.edu Mon Sep 22 13:26:51 EDT 2003
Article: 14534 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news-not-for-mail
From: fdc@sesame.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: destination file name
Date: 22 Sep 2003 13:17:36 -0400
Organization: Columbia University
Lines: 28
Message-ID: <bknarg$hla$1@sesame.cc.columbia.edu>
References: <q4Fbb.5$7e5.3@newssvr22.news.prodigy.com>
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1064251056 4771 128.59.59.56 (22 Sep 2003 17:17:36 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 22 Sep 2003 17:17:36 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14534

In article <q4Fbb.5$7e5.3@newssvr22.news.prodigy.com>,
Jun Zhang  <nugulus@netscape.net> wrote:
: I did
: send \%1 /tmp/\%1
: where the value of \%1 is mydout.
: 
: kermit reported,
: SENDING: mydout => /tmp/mydout => //mydout
: and the file is sent to remotehost:/mydout. How can I make the 
: destination file remotehost:/tmp/mydout?
: 
Let's assume the remote Kermit program is a fairly modern one
(it would be easier for us to answer your questions if you included
information like this).  Then you would tell the receiving Kermit
to SET RECEIVE PATHNAMES ABSOLUTE.  Read about this command here:

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

or type "help set receive" at the C-Kermit> or K-95> prompt.

Alternatively you could start the remote Kermit in server mode and then
tell the client to:

  remote cd /tmp
  send \%1
  finish  ; (or bye)

- Frank


From fdc@sesame.cc.columbia.edu Mon Sep 22 13:26:54 EDT 2003
Article: 14535 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news-not-for-mail
From: fdc@sesame.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: send command failed but file was sent?
Date: 22 Sep 2003 13:26:44 -0400
Organization: Columbia University
Lines: 48
Message-ID: <bknbck$ior$1@sesame.cc.columbia.edu>
References: <JAEbb.2$aD4.1@newssvr22.news.prodigy.com> <QuFbb.13$V16.9@newssvr22.news.prodigy.com>
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1064251604 5191 128.59.59.56 (22 Sep 2003 17:26:44 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 22 Sep 2003 17:26:44 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14535

In article <QuFbb.13$V16.9@newssvr22.news.prodigy.com>,
Jun Zhang  <nugulus@netscape.net> wrote:
: Seems the RECEIVE command is not needed in the DELIVER script, or at 
: least the OUT keyword in front of RECEIVE doesn't make sense.
: 
Again: your script has to do what you would do by hand and eye.  If you
want to start Kermit on the far end, you have to tell the script to
send the characters "kermit" and a carriage return.  Now, depending on
which Kermit program is on the remote computer, it will give a prompt,
such as "C-Kermit>".  Then you would give it a command such as "receive".

HOWEVER, it so happens that by default, your Kermit client also sends
the string "kermit -r" (and a carriarge return) when you give it a send
command, so as to try to start Kermit on the far end itself, in case you
forgot to do that.  That's why it seems to work by magic.

But of course, this is effective only if the remote computer has a Kermit
program that accepts "-r" as a command-line argument.

Remember, a script simply mimics what you do by hand and eye.  If the
remote computer has different commands or prompts, you have to change the
script to match.

Almost all the questions you ask are answered in the documentation.  As
stated on the C-Kermit web page:

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

There is a printed manual, supplemented by several web pages.

: The remote shell prompt still come up, it doesn't hinder anything from 
: being done, but is this normal while I have "set dial connect off" in 
: effect?
: 
I don't know what you mean by the shell prompt still comes up.  Are you
merely viewing the dialog as it takes place automatically?  Or is the
shell prompt waiting for you to type something?

If you are viewing the dialog as it takes place automatically, and you don't
want to see it, tell the Kermit program that is executing the script to:

  set input echo off

If the shell prompt waiting for you to type something, then you have somehow
entered CONNECT mode, but I can't explain how you did that without seeing
your script.  However, I think all this should be clear in the documentation.

- Frank


From nugulus@netscape.net Mon Sep 22 14:19:05 EDT 2003
Article: 14536 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!news.linkpendium.com!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr22.news.prodigy.com.POSTED!d286b79e!not-for-mail
From: Jun Zhang <nugulus@netscape.net>
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
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: destination file name
References: <q4Fbb.5$7e5.3@newssvr22.news.prodigy.com> <bknarg$hla$1@sesame.cc.columbia.edu>
In-Reply-To: <bknarg$hla$1@sesame.cc.columbia.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 35
Message-ID: <RZGbb.21$X4.14@newssvr22.news.prodigy.com>
NNTP-Posting-Host: 159.66.144.147
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr22.news.prodigy.com 1064254449 ST000 159.66.144.147 (Mon, 22 Sep 2003 14:14:09 EDT)
NNTP-Posting-Date: Mon, 22 Sep 2003 14:14:09 EDT
Organization: SBC http://yahoo.sbc.com
X-UserInfo1: FKPO@MC@@S@OR\TY[BHN^_TDFZ\@@FXLM@TDOCQDJ@_@FN@ANVUEAE[YETZPIWWI[FCIZA^NBFXZ_D[BFNTCNVPDTNTKHWXKB@X^B_OCJLPZ@ET_O[G\XSG@E\G[ZKVLBL^CJINM@I_KVIOR\T_M_AW_M[_BWU_HFA_]@A_A^SGFAUDE_DFTMQPFWVW[QPJN
Date: Mon, 22 Sep 2003 18:14:09 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14536

Appreciate your time.


Jun

Frank da Cruz wrote:
> In article <q4Fbb.5$7e5.3@newssvr22.news.prodigy.com>,
> Jun Zhang  <nugulus@netscape.net> wrote:
> : I did
> : send \%1 /tmp/\%1
> : where the value of \%1 is mydout.
> : 
> : kermit reported,
> : SENDING: mydout => /tmp/mydout => //mydout
> : and the file is sent to remotehost:/mydout. How can I make the 
> : destination file remotehost:/tmp/mydout?
> : 
> Let's assume the remote Kermit program is a fairly modern one
> (it would be easier for us to answer your questions if you included
> information like this).  Then you would tell the receiving Kermit
> to SET RECEIVE PATHNAMES ABSOLUTE.  Read about this command here:
> 
>   http://www.columbia.edu/kermit/ckermit70.html#x4.10
> 
> or type "help set receive" at the C-Kermit> or K-95> prompt.
> 
> Alternatively you could start the remote Kermit in server mode and then
> tell the client to:
> 
>   remote cd /tmp
>   send \%1
>   finish  ; (or bye)
> 
> - Frank



From nugulus@netscape.net Mon Sep 22 16:09:14 EDT 2003
Article: 14537 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!newsfeed.vmunix.org!peer02.cox.net!cox.net!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr22.news.prodigy.com.POSTED!d286b79e!not-for-mail
From: Jun Zhang <nugulus@netscape.net>
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
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: send file limit?
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 9
Message-ID: <tJHbb.23$Gi1.2@newssvr22.news.prodigy.com>
NNTP-Posting-Host: 159.66.144.147
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr22.news.prodigy.com 1064257497 ST000 159.66.144.147 (Mon, 22 Sep 2003 15:04:57 EDT)
NNTP-Posting-Date: Mon, 22 Sep 2003 15:04:57 EDT
Organization: SBC http://yahoo.sbc.com
X-UserInfo1: SCSGGYSGRJSKR\D[N[O@_WH@YR_B@EXLLBWLOOAFMASJETAANVW[AKWZE\]^XQWIGNE_[EBL@^_\^JOCQ^RSNVLGTFTKHTXHHP[NB\_C@\SD@EP_[KCXX__AGDDEKGFNB\ZOKLRNCY_CGG[RHT_UN@C_BSY\G__IJIX_PLSA[CCFAULEY\FL\VLGANTQQ]FN
Date: Mon, 22 Sep 2003 19:04:57 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14537

A small text file (a few lines) will succeed, and when I add lines ( 
total of 12 ) send will be aborted. What is the problem?

Both side have 8.0.



Jun



From fdc@sesame.cc.columbia.edu Mon Sep 22 16:10:38 EDT 2003
Article: 14538 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news-not-for-mail
From: fdc@sesame.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: send file limit?
Date: 22 Sep 2003 16:10:36 -0400
Organization: Columbia University
Lines: 13
Message-ID: <bknkvs$8jg$1@sesame.cc.columbia.edu>
References: <tJHbb.23$Gi1.2@newssvr22.news.prodigy.com>
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1064261436 12943 128.59.59.56 (22 Sep 2003 20:10:36 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 22 Sep 2003 20:10:36 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14538

In article <tJHbb.23$Gi1.2@newssvr22.news.prodigy.com>,
Jun Zhang  <nugulus@netscape.net> wrote:
: A small text file (a few lines) will succeed, and when I add lines ( 
: total of 12 ) send will be aborted. What is the problem?
: 
: Both side have 8.0.
: 
I would have to be a mind-reader to answer that question.  Please have
a look at:

  http://www.columbia.edu/kermit/support.html#hints

- Frank


From nugulus@netscape.net Mon Sep 22 18:40:17 EDT 2003
Article: 14539 of comp.protocols.kermit.misc
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!news-xfer1.atl.newshosting.com!63.218.45.11.MISMATCH!newshosting.com!news-xfer2.atl.newshosting.com!diablo.voicenet.com!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr22.news.prodigy.com.POSTED!d286b79e!not-for-mail
From: Jun Zhang <nugulus@netscape.net>
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
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Still have file transfer problem
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 18
Message-ID: <C6Kbb.42$d06.2@newssvr22.news.prodigy.com>
NNTP-Posting-Host: 159.66.144.147
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr22.news.prodigy.com 1064267298 ST000 159.66.144.147 (Mon, 22 Sep 2003 17:48:18 EDT)
NNTP-Posting-Date: Mon, 22 Sep 2003 17:48:18 EDT
Organization: SBC http://yahoo.sbc.com
X-UserInfo1: Q[R_@S^D@ZWYCP\[]BCBNWX@RJ_XPDLMN@GZ_GYO^BTBTSUBYFWEAE[YJLYPIWKHTFCMZKVMB^[Z^DOBRVVMOSPFHNSYXVDIE@X\BUC@GTSX@DL^GKFFHQCCE\G[JJBMYDYIJCZM@AY]GNGPJD]YNNW\GSX^GSCKHA[]@CCB\[@LATPD\L@J\\PF]VR[QPJN
Date: Mon, 22 Sep 2003 21:48:18 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14539

I read the File Transfer section of the C-Kermit 8.0 Unix tips and 
hints, and tried
set prefixing all
set parity space
separately, none of them change a thing.
Don't know how to try ROBUST.

Both side of the system doesn't have space problem, but if I reduce the 
size of the file being transfered, send could be successful. For 
instance, if this successfully transfered file has 12 lines of text, and 
I yank the existing 12 lines and make a new file with 24 lines, send 
will fail.

I have emailed my script to kermit-support@columbia.edu. Please help me.


Jun Zhang



From fdc@sesame.cc.columbia.edu Mon Sep 22 18:40:21 EDT 2003
Article: 14540 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news-not-for-mail
From: fdc@sesame.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Still have file transfer problem
Date: 22 Sep 2003 18:40:12 -0400
Organization: Columbia University
Lines: 91
Message-ID: <bkntoc$q6b$1@sesame.cc.columbia.edu>
References: <C6Kbb.42$d06.2@newssvr22.news.prodigy.com>
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1064270413 20323 128.59.59.56 (22 Sep 2003 22:40:13 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 22 Sep 2003 22:40:13 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14540

In article <C6Kbb.42$d06.2@newssvr22.news.prodigy.com>,
Jun Zhang  <nugulus@netscape.net> wrote:
: I read the File Transfer section of the C-Kermit 8.0 Unix tips and 
: hints, and tried
:
This is only a supplement to the manual.  The basic material is in the
manual itself.

: set prefixing all
: set parity space
: separately, none of them change a thing.
: Don't know how to try ROBUST.
: 
When you start C-Kermit, it says:

  Type ? or HELP for Help.

Try typing "help" and read what it says:

  Type EXIT    to exit.
  Type INTRO   for a brief introduction to C-Kermit. <--
  ...

Now type "intro" and read what it says:

  Basic commands:
    EXIT          Exit from Kermit
    HELP          Request general help
    HELP command  Request help about the given command <--
    TAKE          Execute commands from a file
    TYPE          Display a file on your screen
    ORIENTATION   Explains directory structure

  Commands for file transfer:
    SEND          Send files
    RECEIVE       Receive files
    GET           Get files from a Kermit server
    RESEND        Recover an interrupted send
    REGET         Recover an interrupted get from a server
    SERVER        Be a Kermit server

  File-transfer speed selection:
    FAST          Use fast settings -- THIS IS THE DEFAULT
    CAUTIOUS      Use slower, more cautious settings
    ROBUST        Use extremely slow and cautious settings  <--

and so on.  These are commands.  As it says above you can type "help" for
any command, for example:

  help robust

to get help about that command.  Give the "robust" command to the file
sender.  That's the whole command, just the one word, "robust".

: Both side of the system doesn't have space problem, but if I reduce the 
: size of the file being transfered, send could be successful. For 
: instance, if this successfully transfered file has 12 lines of text, and 
: I yank the existing 12 lines and make a new file with 24 lines, send 
: will fail.
: 
It sounds like a lack of effective flow control.

: I have emailed my script to kermit-support@columbia.edu. Please help me.
: 
It looks like you are configuring the calling modem correctly, but I can't
tell from here.  When the modem dials, are all the AT commands accepted?
You have to use SET DIAL DISPLAY ON to watch the AT command dialog.

What about the answering modem?  Is the answering modem configured for
hardware flow control?  Is the port it is connected to configured for
hardware flow control?  These are system administration questions, which
have nothing to do with Kermit.  The remote modem and port have to be
configured correctly even before it answers your call.

Kermit can control the port and modem on the CALLING system, but not on the
CALLED system when the call is being answered by getty and you are logging 
in normally.  If you can get the remote computer's port and modem configured
appropriatele for high-speed connections, then the transfers should work
very well.

If you can't change the configuration of the remote computer then you can
change the Kermit settings to use a slower method of transfer.  There is
an entire chapter in the C-Kermit about how to troubleshoot file transfer
problems, I'm not going to type the whole chapter into this reply.

For configuring modems, again, there is a whole chapter in the book.
You can order it from Amazon:

  http://www.amazon.com/exec/obidos/redirect?tag=kermit95-20&path=ISBN=1555581641/6584-5665863-047434

- Frank


From jimchapman@freightliner.com Tue Sep 23 11:58:55 EDT 2003
Article: 14541 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: jimchapman@freightliner.com (Jim Chapman)
Newsgroups: comp.protocols.kermit.misc
Subject: Maddening Problem with C-Kermit Script
Date: 23 Sep 2003 08:55:46 -0700
Organization: http://groups.google.com/
Lines: 24
Message-ID: <b9d3cf36.0309230755.5fbff9b6@posting.google.com>
NNTP-Posting-Host: 170.2.52.140
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1064332547 11510 127.0.0.1 (23 Sep 2003 15:55:47 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 23 Sep 2003 15:55:47 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14541

We've been using C-Kermit 5A(190) for years on an AIX 3.2.51 host for
remote terminal access.  All this time it's worked just fine dialing
and connecting.  Recently I thought I'd do some scripting and found
that my scripts always failed with the error "Command file terminated
by error."  After some experimenting, I discovered that it was being
caused by any use of the "input" or "reinput" statements with the text
parameter.  If I leave off the text parameter and include only the
timeout parameter (which doesn't search for much), it works fine, but
if I include the text parameter I get the error.  At first, I thought
maybe this build of 5A was just broken and had gone unnoticed all this
time, so I downloaded version 8.0.209 and built it without errors and
after testing discovered it fails the SAME WAY when using "input" or
"reinput".  I'm only trying to do a simple automated login script like

dial \m(number)
if fail ...etc.
output \13
input 5 login:
if success...etc.

If I'm overlooking something dumb, I wish somebody would be kind
enough to point it out to me.  This is making me crazy...

Jim Chapman


From fdc@sesame.cc.columbia.edu Tue Sep 23 12:02:35 EDT 2003
Article: 14542 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news-not-for-mail
From: fdc@sesame.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Maddening Problem with C-Kermit Script
Date: 23 Sep 2003 12:02:32 -0400
Organization: Columbia University
Lines: 36
Message-ID: <bkpqqo$i4u$1@sesame.cc.columbia.edu>
References: <b9d3cf36.0309230755.5fbff9b6@posting.google.com>
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1064332953 8701 128.59.59.56 (23 Sep 2003 16:02:33 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 23 Sep 2003 16:02:33 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14542

In article <b9d3cf36.0309230755.5fbff9b6@posting.google.com>,
Jim Chapman <jimchapman@freightliner.com> wrote:
: We've been using C-Kermit 5A(190) for years on an AIX 3.2.51 host for
: remote terminal access.  All this time it's worked just fine dialing
: and connecting.  Recently I thought I'd do some scripting and found
: that my scripts always failed with the error "Command file terminated
: by error."  After some experimenting, I discovered that it was being
: caused by any use of the "input" or "reinput" statements with the text
: parameter.  If I leave off the text parameter and include only the
: timeout parameter (which doesn't search for much), it works fine, but
: if I include the text parameter I get the error.  At first, I thought
: maybe this build of 5A was just broken and had gone unnoticed all this
: time, so I downloaded version 8.0.209 and built it without errors and
: after testing discovered it fails the SAME WAY when using "input" or
: "reinput".  I'm only trying to do a simple automated login script like
: 
: dial \m(number)
: if fail ...etc.
: output \13
: input 5 login:
: if success...etc.
: 
: If I'm overlooking something dumb, I wish somebody would be kind
: enough to point it out to me.  This is making me crazy...
: 
I suspect that "set take error on" (which is NOT the default) is in
effect when you run this script.  This makes the command file terminate
automatically when any command in it fails.  If the INPUT command does not
get the "login:" string within 5 seconds it fails, and this will give the
result you describe.

Remove the "set take error on" command from your script (or your .kermrc
file, or wherever else it is), or if you can't find it, add "set take error
off" to your script.

- Frank


From jimchapman@freightliner.com Wed Sep 24 09:15:31 EDT 2003
Article: 14543 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: jimchapman@freightliner.com (Jim Chapman)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Maddening Problem with C-Kermit Script
Date: 23 Sep 2003 16:14:11 -0700
Organization: http://groups.google.com/
Lines: 42
Message-ID: <b9d3cf36.0309231514.62cade83@posting.google.com>
References: <b9d3cf36.0309230755.5fbff9b6@posting.google.com> <bkpqqo$i4u$1@sesame.cc.columbia.edu>
NNTP-Posting-Host: 170.2.52.140
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1064358853 10772 127.0.0.1 (23 Sep 2003 23:14:13 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 23 Sep 2003 23:14:13 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14543

fdc@sesame.cc.columbia.edu (Frank da Cruz) wrote in message news:<bkpqqo$i4u$1@sesame.cc.columbia.edu>...
> In article <b9d3cf36.0309230755.5fbff9b6@posting.google.com>,
> Jim Chapman <jimchapman@freightliner.com> wrote:
> : We've been using C-Kermit 5A(190) for years on an AIX 3.2.51 host for
> : remote terminal access.  All this time it's worked just fine dialing
> : and connecting.  Recently I thought I'd do some scripting and found
> : that my scripts always failed with the error "Command file terminated
> : by error."  After some experimenting, I discovered that it was being
> : caused by any use of the "input" or "reinput" statements with the text
> : parameter.  If I leave off the text parameter and include only the
> : timeout parameter (which doesn't search for much), it works fine, but
> : if I include the text parameter I get the error.  At first, I thought
> : maybe this build of 5A was just broken and had gone unnoticed all this
> : time, so I downloaded version 8.0.209 and built it without errors and
> : after testing discovered it fails the SAME WAY when using "input" or
> : "reinput".  I'm only trying to do a simple automated login script like
> : 
> : dial \m(number)
> : if fail ...etc.
> : output \13
> : input 5 login:
> : if success...etc.
> : 
> : If I'm overlooking something dumb, I wish somebody would be kind
> : enough to point it out to me.  This is making me crazy...
> : 
> I suspect that "set take error on" (which is NOT the default) is in
> effect when you run this script.  This makes the command file terminate
> automatically when any command in it fails.  If the INPUT command does not
> get the "login:" string within 5 seconds it fails, and this will give the
> result you describe.
> 
> Remove the "set take error on" command from your script (or your .kermrc
> file, or wherever else it is), or if you can't find it, add "set take error
> off" to your script.
> 
> - Frank

Hmmm...you're correct.  Thank you.  If I "set take error off", my
script works just fine under controlled pass and fail conditions. 
Though, now I wonder what it doesn't like when it's enabled.  It seems
as if it bails under any condition.


From fdc@sesame.cc.columbia.edu Wed Sep 24 09:20:24 EDT 2003
Article: 14545 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news-not-for-mail
From: fdc@sesame.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Maddening Problem with C-Kermit Script
Date: 24 Sep 2003 09:20:11 -0400
Organization: Columbia University
Lines: 20
Message-ID: <bks5mb$n9i$1@sesame.cc.columbia.edu>
References: <b9d3cf36.0309230755.5fbff9b6@posting.google.com> <bkpqqo$i4u$1@sesame.cc.columbia.edu> <b9d3cf36.0309231514.62cade83@posting.google.com>
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1064409612 26901 128.59.59.56 (24 Sep 2003 13:20:12 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 24 Sep 2003 13:20:12 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14545

In article <b9d3cf36.0309231514.62cade83@posting.google.com>,
Jim Chapman <jimchapman@freightliner.com> wrote:
: fdc@sesame.cc.columbia.edu (Frank da Cruz) wrote
: in message news:<bkpqqo$i4u$1@sesame.cc.columbia.edu>...
: > Remove the "set take error on" command from your script (or your .kermrc
: > file, or wherever else it is), or if you can't find it, add "set take error
: > off" to your script.
: 
: Hmmm...you're correct.  Thank you.  If I "set take error off", my
: script works just fine under controlled pass and fail conditions. 
: Though, now I wonder what it doesn't like when it's enabled.  It seems
: as if it bails under any condition.
:
Maybe some other command is failing.  Use "set take echo on" to have
the commands listed as they are executed so you can see which one fails.
Use "set input echo on" to see the characters read by the INPUT command.
If a command is failing and you don't know why, insert "log debug" before
the failing command and then look at the debug.log file or send it to us.

- Frank


From nugulus@netscape.net Thu Sep 25 17:58:27 EDT 2003
Article: 14546 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!dfw-feed.news.verio.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!in.100proofnews.com!in.100proofnews.com!prodigy.com!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr22.news.prodigy.com.POSTED!d286b79e!not-for-mail
From: Jun Zhang <nugulus@netscape.net>
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
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: How to make use of a terminal server
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 39
Message-ID: <gQHcb.483$z11.142@newssvr22.news.prodigy.com>
NNTP-Posting-Host: 159.66.144.147
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr22.news.prodigy.com 1064520076 ST000 159.66.144.147 (Thu, 25 Sep 2003 16:01:16 EDT)
NNTP-Posting-Date: Thu, 25 Sep 2003 16:01:16 EDT
Organization: SBC http://yahoo.sbc.com
X-UserInfo1: FKPO@MON[JS]R\XX[ZOD]_\@VR]^@B@MCPWZKB]MPXHTEPIB_NVUAH_[BL[\IRKIANGGJBFNJF_DOLSCENSY^U@FRFUEXR@KFXYDBPWBCDQJA@X_DCBHXR[C@\EOKCJLED_SZ@RMWYXYWE_P@\\GOIW^@SYFFSWHFIXMADO@^[ADPRPETLBJ]RDGENSKQQZN
Date: Thu, 25 Sep 2003 20:01:16 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14546

I have access to a terminal server where a modem pool is served. 
Invokation of the modem is like the following,

telnet hostname portnum
Username:   (type name and return)
Password:   (type pass and return)
atdtphonenumber

I tried to use the following kermit script to automate the authentication,

#!/usr/local/bin/kermit
def myuserid username
def mypasswd password
set carrier-watch off
set host hostname portnum
for \%i 1 10 1 {
     input 20 Username:
     if success break
     output \13
}
if > \%i 10 exit 1 No login prompt.
output \m(myuserid)\13

for \%j 1 10 1 {
    input 10 Password:
    if success break
    output \13
{
if > \%j 10 exit No Password prompt.
output \m(mypasswd)\13
undef mypasswd

but password is always prompted interactively. My immediate purpose is 
to use the dial command in the kermit script, how can I do it?



Jun



From fdc@sesame.cc.columbia.edu Thu Sep 25 17:58:30 EDT 2003
Article: 14547 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news-not-for-mail
From: fdc@sesame.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: How to make use of a terminal server
Date: 25 Sep 2003 17:58:25 -0400
Organization: Columbia University
Lines: 66
Message-ID: <bkvoe1$s9d$1@sesame.cc.columbia.edu>
References: <gQHcb.483$z11.142@newssvr22.news.prodigy.com>
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1064527106 27304 128.59.59.56 (25 Sep 2003 21:58:26 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 25 Sep 2003 21:58:26 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14547

In article <gQHcb.483$z11.142@newssvr22.news.prodigy.com>,
Jun Zhang  <nugulus@netscape.net> wrote:
: I have access to a terminal server where a modem pool is served. 
: Invokation of the modem is like the following,
: 
: telnet hostname portnum
: Username:   (type name and return)
: Password:   (type pass and return)
: atdtphonenumber
: 
: I tried to use the following kermit script to automate the authentication,
: 
: #!/usr/local/bin/kermit
: def myuserid username
: def mypasswd password
: set carrier-watch off
: set host hostname portnum
:
You need an "if failure" command here in case the connection fails.

: for \%i 1 10 1 {
:      input 20 Username:
:      if success break
:      output \13
: }
: if > \%i 10 exit 1 No login prompt.
: output \m(myuserid)\13
: 
: for \%j 1 10 1 {
:     input 10 Password:
:     if success break
:     output \13
: {
:
That should be a right brace.

: if > \%j 10 exit No Password prompt.
: output \m(mypasswd)\13
: undef mypasswd
: 
: but password is always prompted interactively. My immediate purpose is 
: to use the dial command in the kermit script, how can I do it?
: 
I don't understand what you mean by "password is always prompted
interactively".  The password prompt is printed by the terminal server,
correct?  Therefore "input 10 Password:" should see it and succeed, and
then the password will be sent by the "output \m(mypasswd)\13" command.
Are you saying that this is not happening?

Maybe you are using a secure version of C-Kermit and the terminal server
is requesting a secure form of authentication, which causes C-Kermit to 
prompt for the password locally?  To debug this, tell C-Kermit to "set 
telnet debug on".

Anyway, after you have received the Password prompt and sent the password, 
you can:

  set modem type <name-of-modem>
  dial <phone-number>
  if fail (do something)  

Also see:

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

- Frank


From arthur.marsh@internode.on.net Fri Sep 26 09:09:35 EDT 2003
Article: 14548 of comp.protocols.kermit.misc
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!news1.optus.net.au!optus!news.optus.net.au!53ab2750!not-for-mail
From: Arthur Marsh <arthur.marsh@internode.on.net>
Organization: National Centre for Petroleum Geology and Geophysics
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4) Gecko/20030624
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit in Orbit
References: <bkn9em$eoi$1@sesame.cc.columbia.edu>
In-Reply-To: <bkn9em$eoi$1@sesame.cc.columbia.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: dialup82.staffdialup.services.adelaide.edu.au
Message-ID: <3f74344d@yorrell.saard.net>
X-Original-Trace: 26 Sep 2003 22:12:53 +0950, dialup82.staffdialup.services.adelaide.edu.au
Lines: 22
Date: Fri, 26 Sep 2003 12:42:56 GMT
NNTP-Posting-Host: 203.21.37.20
X-Trace: news.optus.net.au 1064580176 203.21.37.20 (Fri, 26 Sep 2003 22:42:56 EST)
NNTP-Posting-Date: Fri, 26 Sep 2003 22:42:56 EST
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14548



Frank da Cruz wrote:
> Just in: A story about Kermit software (Kermit 95 and MS-DOS Kermit) on 
> the International Space Station:
> 
>   http://www.columbia.edu/kermit/nasa.html
> 
> Many thanks to Professor Joe Doupnik of Utah State University for providing
> the modified version of MS-DOS Kermit for "headless" (or perhaps, "pinhead")
> operation.
> 
> The application described is quite simple, yet it illustrates the benefits
> of Kermit scripting and its wide platform coverage.
> 
> - Frank

I also noticed msk316src.zip at ftp://ftp.columbia.edu/kermit/archive 
dated 23 September 2003 - thanks to JRD for making it available.

Arthur.



From nugulus@netscape.net Fri Sep 26 10:10:38 EDT 2003
Article: 14549 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!in.100proofnews.com!in.100proofnews.com!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr11.news.prodigy.com.POSTED!not-for-mail
From: Jun Zhang <nugulus@netscape.net>
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
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: How to make use of a terminal server
References: <gQHcb.483$z11.142@newssvr22.news.prodigy.com> <bkvoe1$s9d$1@sesame.cc.columbia.edu>
In-Reply-To: <bkvoe1$s9d$1@sesame.cc.columbia.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 72
Message-ID: <1yXcb.179$Es7.165221468@newssvr11.news.prodigy.com>
NNTP-Posting-Host: 159.66.144.147
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr11.news.prodigy.com 1064584445 ST000 159.66.144.147 (Fri, 26 Sep 2003 09:54:05 EDT)
NNTP-Posting-Date: Fri, 26 Sep 2003 09:54:05 EDT
Organization: SBC http://yahoo.sbc.com
X-UserInfo1: F[OORT[E@BUYS_H]]RKB_UDAZZ\DPCPDLXUNNHXIJYWZUYICD^RAQBKZQTZTX\_I[^G_KGFNON[ZOE_AZNVO^\XGGNTCIRPIJH[@RQKBXLRZ@CD^HKANYVW@RLGEZEJN@\_WZJBNZYYKVIOR]T]MNMG_Z[YVWSCH_Q[GPC_A@CARQVXDSDA^M]@DRVUM@RBM
Date: Fri, 26 Sep 2003 13:54:05 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14549

Thanks a lot!

Jun

Frank da Cruz wrote:
> In article <gQHcb.483$z11.142@newssvr22.news.prodigy.com>,
> Jun Zhang  <nugulus@netscape.net> wrote:
> : I have access to a terminal server where a modem pool is served. 
> : Invokation of the modem is like the following,
> : 
> : telnet hostname portnum
> : Username:   (type name and return)
> : Password:   (type pass and return)
> : atdtphonenumber
> : 
> : I tried to use the following kermit script to automate the authentication,
> : 
> : #!/usr/local/bin/kermit
> : def myuserid username
> : def mypasswd password
> : set carrier-watch off
> : set host hostname portnum
> :
> You need an "if failure" command here in case the connection fails.
> 
> : for \%i 1 10 1 {
> :      input 20 Username:
> :      if success break
> :      output \13
> : }
> : if > \%i 10 exit 1 No login prompt.
> : output \m(myuserid)\13
> : 
> : for \%j 1 10 1 {
> :     input 10 Password:
> :     if success break
> :     output \13
> : {
> :
> That should be a right brace.
> 
> : if > \%j 10 exit No Password prompt.
> : output \m(mypasswd)\13
> : undef mypasswd
> : 
> : but password is always prompted interactively. My immediate purpose is 
> : to use the dial command in the kermit script, how can I do it?
> : 
> I don't understand what you mean by "password is always prompted
> interactively".  The password prompt is printed by the terminal server,
> correct?  Therefore "input 10 Password:" should see it and succeed, and
> then the password will be sent by the "output \m(mypasswd)\13" command.
> Are you saying that this is not happening?
> 
> Maybe you are using a secure version of C-Kermit and the terminal server
> is requesting a secure form of authentication, which causes C-Kermit to 
> prompt for the password locally?  To debug this, tell C-Kermit to "set 
> telnet debug on".
> 
> Anyway, after you have received the Password prompt and sent the password, 
> you can:
> 
>   set modem type <name-of-modem>
>   dial <phone-number>
>   if fail (do something)  
> 
> Also see:
> 
>   http://www.columbia.edu/kermit/ckermit80.html#x14
> 
> - Frank



From nugulus@netscape.net Fri Sep 26 10:10:42 EDT 2003
Article: 14550 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!news-out.cwix.com!newsfeed.cwix.com!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr11.news.prodigy.com.POSTED!not-for-mail
From: Jun Zhang <nugulus@netscape.net>
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
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: How to use fopen
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 10
Message-ID: <NFXcb.181$vB7.165756109@newssvr11.news.prodigy.com>
NNTP-Posting-Host: 159.66.144.147
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr11.news.prodigy.com 1064584941 ST000 159.66.144.147 (Fri, 26 Sep 2003 10:02:21 EDT)
NNTP-Posting-Date: Fri, 26 Sep 2003 10:02:21 EDT
Organization: SBC http://yahoo.sbc.com
X-UserInfo1: OXZYS]SGYJSUCFD[LZKJOPHAWB\^PBQLGPQRJWQHBATBTSUBYFWEAE[YJLYPIWKHTFCMZKVMB^[Z^DOBRVVMOSPFHNSYXVDIE@X\BUC@GTSX@DL^GKFFHQCCE\G[JJBMYDYIJCZM@AY]GNGPJD]YNNW\GSX^GSCKHA[]@CCB\[@LATPD\L@J\\PF]VR[QPJN
Date: Fri, 26 Sep 2003 14:02:21 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14550

What I have in mind is to say,
fopen /read \%c inputfile arrayname
and then start to access the array elements by,
fread ...
How can I exactly do this?
(I was told the manual is shipped, and take 1 to 2 weeks to deliver.)


Jun



From fdc@columbia.edu Fri Sep 26 10:14:38 EDT 2003
Article: 14551 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news-not-for-mail
From: fdc@sesame.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: How to use fopen
Date: 26 Sep 2003 10:14:18 -0400
Organization: Columbia University
Lines: 21
Message-ID: <bl1hjq$s8o$1@sesame.cc.columbia.edu>
References: <NFXcb.181$vB7.165756109@newssvr11.news.prodigy.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1064585659 1871 128.59.59.56 (26 Sep 2003 14:14:19 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 26 Sep 2003 14:14:19 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14551

In article <NFXcb.181$vB7.165756109@newssvr11.news.prodigy.com>,
Jun Zhang  <nugulus@netscape.net> wrote:
: What I have in mind is to say,
: fopen /read \%c inputfile arrayname
: and then start to access the array elements by,
: fread ...
: How can I exactly do this?
: (I was told the manual is shipped, and take 1 to 2 weeks to deliver.)
: 
You have to be more specific.  Do you want each line of the file to
be assigned to an array element?  Then:

  fread /line \%c \&a[\%i]

or whatever.  You don't have to wait for the manual to read about arrays
and file i/o.  See:

  http://www.columbia.edu/kermit/ckermit70.html#x7.10  (about arrays)
  http://www.columbia.edu/kermit/ckermit70.html#x1.22  (about file i/o)

- Frank


From nugulus@netscape.net Fri Sep 26 12:10:04 EDT 2003
Article: 14552 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!news.gtei.net!newsfeed.albacom.net!kleenex.wirehub.nl!news.completel.fr!ircam.fr!usenet-fr.net!teaser.fr!deine.net!news-out1.nntp.be!propagator2-sterling!news-in-sterling.nuthinbutnews.com!newshosting.com!news-xfer1.atl.newshosting.com!diablo.voicenet.com!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr11.news.prodigy.com.POSTED!not-for-mail
From: Jun Zhang <nugulus@netscape.net>
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
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: How to use fopen
References: <NFXcb.181$vB7.165756109@newssvr11.news.prodigy.com> <bl1hjq$s8o$1@sesame.cc.columbia.edu>
In-Reply-To: <bl1hjq$s8o$1@sesame.cc.columbia.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 35
Message-ID: <S%Ycb.191$tx1.173384842@newssvr11.news.prodigy.com>
NNTP-Posting-Host: 159.66.144.147
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr11.news.prodigy.com 1064590450 ST000 159.66.144.147 (Fri, 26 Sep 2003 11:34:10 EDT)
NNTP-Posting-Date: Fri, 26 Sep 2003 11:34:10 EDT
Organization: SBC http://yahoo.sbc.com
X-UserInfo1: OXZYS]SGYJSUCFD[LZKJOPHAWB\^PBQLGPQRJWQHBATBTSUBYFWEAE[YJLYPIWKHTFCMZKVMB^[Z^DOBRVVMOSPFHNSYXVDIE@X\BUC@GTSX@DL^GKFFHQCCE\G[JJBMYDYIJCZM@AY]GNGPJD]YNNW\GSX^GSCKHA[]@CCB\[@LATPD\L@J\\PF]VR[QPJN
Date: Fri, 26 Sep 2003 15:34:10 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14552

fopen /read \%c inputfile
fread \%c a

so that each element of the array will be a field of a line in 
inputfile. Suppose a line in the inputfile is like,
    5122785633  root  rootpass
I'll have a[2] with the value 'rootpass'.
Please correct me.


Jun

Frank da Cruz wrote:
> In article <NFXcb.181$vB7.165756109@newssvr11.news.prodigy.com>,
> Jun Zhang  <nugulus@netscape.net> wrote:
> : What I have in mind is to say,
> : fopen /read \%c inputfile arrayname
> : and then start to access the array elements by,
> : fread ...
> : How can I exactly do this?
> : (I was told the manual is shipped, and take 1 to 2 weeks to deliver.)
> : 
> You have to be more specific.  Do you want each line of the file to
> be assigned to an array element?  Then:
> 
>   fread /line \%c \&a[\%i]
> 
> or whatever.  You don't have to wait for the manual to read about arrays
> and file i/o.  See:
> 
>   http://www.columbia.edu/kermit/ckermit70.html#x7.10  (about arrays)
>   http://www.columbia.edu/kermit/ckermit70.html#x1.22  (about file i/o)
> 
> - Frank



From fdc@columbia.edu Fri Sep 26 12:21:09 EDT 2003
Article: 14553 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news-not-for-mail
From: fdc@sesame.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: How to use fopen
Date: 26 Sep 2003 12:21:05 -0400
Organization: Columbia University
Lines: 27
Message-ID: <bl1p1h$e5p$1@sesame.cc.columbia.edu>
References: <NFXcb.181$vB7.165756109@newssvr11.news.prodigy.com> <bl1hjq$s8o$1@sesame.cc.columbia.edu> <S%Ycb.191$tx1.173384842@newssvr11.news.prodigy.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1064593265 7691 128.59.59.56 (26 Sep 2003 16:21:05 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 26 Sep 2003 16:21:05 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14553

In article <S%Ycb.191$tx1.173384842@newssvr11.news.prodigy.com>,
Jun Zhang  <nugulus@netscape.net> wrote:
: fopen /read \%c inputfile
: fread \%c a
: 
: so that each element of the array will be a field of a line in 
: inputfile. Suppose a line in the inputfile is like,
:     5122785633  root  rootpass
: I'll have a[2] with the value 'rootpass'.
: Please correct me.
: 
This is not something that FREAD does.  Instead you would read a line,
and then assign its fields to an array with \fsplit():

  http://www.columbia.edu/kermit/ckermit70.html#x7.3
  http://www.columbia.edu/kermit/ckermit80.html#x8.7.2

Read both of these references; significant improvements were made to
\fsplit() in C-Kermit 8.0.

Example:

  fread /line \%c record
  if fail ...
  void \fsplit(\m(record),&a)

- Frank


From nugulus@netscape.net Sat Sep 27 11:33:00 EDT 2003
Article: 14554 of comp.protocols.kermit.misc
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!newshosting.com!news-xfer1.atl.newshosting.com!diablo.voicenet.com!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr11.news.prodigy.com.POSTED!not-for-mail
From: Jun Zhang <nugulus@netscape.net>
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
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Array assignment problem
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 12
Message-ID: <Eu1db.229$3I6.194268280@newssvr11.news.prodigy.com>
NNTP-Posting-Host: 159.66.144.147
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr11.news.prodigy.com 1064608804 ST000 159.66.144.147 (Fri, 26 Sep 2003 16:40:04 EDT)
NNTP-Posting-Date: Fri, 26 Sep 2003 16:40:04 EDT
Organization: SBC http://yahoo.sbc.com
X-UserInfo1: OXZYS]SGYJSUCFD[LZKJOPHAWB\^PBQLGPQRJWQHBATBTSUBYFWEAE[YJLYPIWKHTFCMZKVMB^[Z^DOBRVVMOSPFHNSYXVDIE@X\BUC@GTSX@DL^GKFFHQCCE\G[JJBMYDYIJCZM@AY]GNGPJD]YNNW\GSX^GSCKHA[]@CCB\[@LATPD\L@J\\PF]VR[QPJN
Date: Fri, 26 Sep 2003 20:40:04 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14554

fopen /read \%c phonelist
while true {
fread /line \%c record
echo "The line read in is \m(record)"    ; Got "5035 rootpass", fine.
void \fsplit(\m(record),&a)
echo "Phonenumber is \&a[0]"             ; Got "phonenumber is 3",
                                          ;  instead of 5035.
What's wrong?


Jun



From fdc@columbia.edu Sat Sep 27 11:34:34 EDT 2003
Article: 14555 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news-not-for-mail
From: fdc@sesame.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Array assignment problem
Date: 27 Sep 2003 11:34:30 -0400
Organization: Columbia University
Lines: 19
Message-ID: <bl4am6$7m1$1@sesame.cc.columbia.edu>
References: <Eu1db.229$3I6.194268280@newssvr11.news.prodigy.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1064676870 9544 128.59.59.56 (27 Sep 2003 15:34:30 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 27 Sep 2003 15:34:30 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14555

In article <Eu1db.229$3I6.194268280@newssvr11.news.prodigy.com>,
Jun Zhang  <nugulus@netscape.net> wrote:
: fopen /read \%c phonelist
: while true {
: fread /line \%c record
: echo "The line read in is \m(record)"    ; Got "5035 rootpass", fine.
: void \fsplit(\m(record),&a)
: echo "Phonenumber is \&a[0]"             ; Got "phonenumber is 3",
:                                           ;  instead of 5035.
: What's wrong?
: 
As explained in the documentation, the 0th element of an array contains
the number of elements in the array.  The data elements begin at 1.

You can see what's in an array with "show array", in this case:

  show array a

- Frank


From nugulus@netscape.net Mon Sep 29 11:13:27 EDT 2003
Article: 14557 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!news-out.cwix.com!newsfeed.cwix.com!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr11.news.prodigy.com.POSTED!not-for-mail
From: Jun Zhang <nugulus@netscape.net>
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
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Array assignment problem
References: <Eu1db.229$3I6.194268280@newssvr11.news.prodigy.com> <bl4am6$7m1$1@sesame.cc.columbia.edu>
In-Reply-To: <bl4am6$7m1$1@sesame.cc.columbia.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 31
Message-ID: <5MXdb.664$Rg3.532194417@newssvr11.news.prodigy.com>
NNTP-Posting-Host: 159.66.144.147
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr11.news.prodigy.com 1064847489 ST000 159.66.144.147 (Mon, 29 Sep 2003 10:58:09 EDT)
NNTP-Posting-Date: Mon, 29 Sep 2003 10:58:09 EDT
Organization: SBC http://yahoo.sbc.com
X-UserInfo1: FKPO@MC@@S@OR\TY[BHN^_TDFZ\@@FXLM@TDOCQDJ@_@FN\CDVW[AKK[J\]^HVKHG^EWZHBLO^[\NH_AZFWGN^\DHNVMX_DHHX[FSQKBOTS@@BP^]C@RHS_AGDDC[AJM_T[GZNRNZAY]GNCPBDYKOLK^_CZFWPGHZIXW@C[AFKBBQS@E@DAZ]VDFUNTQQ]FN
Date: Mon, 29 Sep 2003 14:58:09 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14557

The assignment
\%1 = \&a[1]
didn't take effect, since
echo "\%1"
give me nothing. I intended to pass \%1 as argument to DELIVER.
Please shed me some light.

Jun


Frank da Cruz wrote:
> In article <Eu1db.229$3I6.194268280@newssvr11.news.prodigy.com>,
> Jun Zhang  <nugulus@netscape.net> wrote:
> : fopen /read \%c phonelist
> : while true {
> : fread /line \%c record
> : echo "The line read in is \m(record)"    ; Got "5035 rootpass", fine.
> : void \fsplit(\m(record),&a)
> : echo "Phonenumber is \&a[0]"             ; Got "phonenumber is 3",
> :                                           ;  instead of 5035.
> : What's wrong?
> : 
> As explained in the documentation, the 0th element of an array contains
> the number of elements in the array.  The data elements begin at 1.
> 
> You can see what's in an array with "show array", in this case:
> 
>   show array a
> 
> - Frank



From fdc@columbia.edu Mon Sep 29 11:22:49 EDT 2003
Article: 14558 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news-not-for-mail
From: fdc@sesame.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Array assignment problem
Date: 29 Sep 2003 11:22:45 -0400
Organization: Columbia University
Lines: 32
Message-ID: <bl9io5$ge5$1@sesame.cc.columbia.edu>
References: <Eu1db.229$3I6.194268280@newssvr11.news.prodigy.com> <bl4am6$7m1$1@sesame.cc.columbia.edu> <5MXdb.664$Rg3.532194417@newssvr11.news.prodigy.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1064848965 14344 128.59.59.56 (29 Sep 2003 15:22:45 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 29 Sep 2003 15:22:45 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14558

In article <5MXdb.664$Rg3.532194417@newssvr11.news.prodigy.com>,
Jun Zhang  <nugulus@netscape.net> wrote:
: The assignment
: \%1 = \&a[1]
: didn't take effect, since
: echo "\%1"
: give me nothing. I intended to pass \%1 as argument to DELIVER.
: Please shed me some light.
: 
There are several ways to assign values to varibles, including:

  DEFINE <variable-name> <value>
  ASSIGN <variable-name> <value>

Use "help define" and "help assign" to see what the difference is.

An alternative notation can be used similar to what you are trying to do,
it is described here:

  http://www.columbia.edu/kermit/ckermit70.html#x7.9

Note that to use this notation, you have to put a period before the
variable name, and in this case you probably also want the "assign"
operator, rather than the "define" one:

  .\%1 := \&a[1]

This is equivalent to:

  assign \%1 \&a[1]

- Frank


From sonicechoes-spamless@hot-nospamp-mail.com Fri Oct  3 11:17:19 EDT 2003
Article: 14561 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!not-for-mail
From: dgk <sonicechoes-spamless@hot-nospamp-mail.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Multiple phone lines?
Date: Fri, 03 Oct 2003 10:26:50 -0400
Organization: PANIX Public Access Internet and UNIX, NYC
Lines: 14
Message-ID: <b60rnv0rb0ncrff4j02faqmn4dte55q464@4ax.com>
NNTP-Posting-Host: dsl027-158-082.nyc1.dsl.speakeasy.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: reader2.panix.com 1065191211 12622 216.27.158.82 (3 Oct 2003 14:26:51 GMT)
X-Complaints-To: abuse@panix.com
NNTP-Posting-Date: Fri, 3 Oct 2003 14:26:51 +0000 (UTC)
X-Newsreader: Forte Agent 1.92/32.572
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14561

My small project is working fine (just K95 answering a phone and
sending and receiving files in host mode). In fact, it worked well
enough so that it needs to be expanded to handle multiple lines. It
looks like I can start up multiple instances of K95 by passing each a
"hostMM.ksc -l comX on the command line where hostMM.ksc is our
adapted hostmode.ksc and X is the com port. I have a few questions
though.

1) Is this the correct way to do it?
2) Is there a license issue with running multiple copies on one
machine?
3) Will it work for USB modems that come in as pseudo-comm ports?

Thanks for any help.


From fdc@sesame.cc.columbia.edu Fri Oct  3 11:26:00 EDT 2003
Article: 14562 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news-not-for-mail
From: fdc@sesame.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Multiple phone lines?
Date: 3 Oct 2003 11:25:57 -0400
Organization: Columbia University
Lines: 25
Message-ID: <blk4e5$eeo$1@sesame.cc.columbia.edu>
References: <b60rnv0rb0ncrff4j02faqmn4dte55q464@4ax.com>
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1065194758 22781 128.59.59.56 (3 Oct 2003 15:25:58 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 3 Oct 2003 15:25:58 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14562

In article <b60rnv0rb0ncrff4j02faqmn4dte55q464@4ax.com>,
dgk  <sonicechoes-spamless@hot-nospamp-mail.com> wrote:
: My small project is working fine (just K95 answering a phone and
: sending and receiving files in host mode). In fact, it worked well
: enough so that it needs to be expanded to handle multiple lines. It
: looks like I can start up multiple instances of K95 by passing each a
: "hostMM.ksc -l comX on the command line where hostMM.ksc is our
: adapted hostmode.ksc and X is the com port. I have a few questions
: though.
: 
: 1) Is this the correct way to do it?
:
This is probably the first time the question has come up, and the
manual doesn't give explicit instructions, so if it works, then yes :-)

: 2) Is there a license issue with running multiple copies on one
: machine?
:
No.

: 3) Will it work for USB modems that come in as pseudo-comm ports?
: 
Yes, as long as you specify them as TAPI devices rather than COM ports.

- Frank


From fdc@columbia.edu Fri Oct  3 12:37:35 EDT 2003
Article: 14564 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news-not-for-mail
From: fdc@sesame.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Multiple phone lines?
Date: 3 Oct 2003 12:37:31 -0400
Organization: Columbia University
Lines: 14
Message-ID: <blk8kb$mrn$1@sesame.cc.columbia.edu>
References: <b60rnv0rb0ncrff4j02faqmn4dte55q464@4ax.com> <blk4e5$eeo$1@sesame.cc.columbia.edu> <2n5rnv8oopri7joeggkrjju6c5rujb831n@4ax.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1065199051 25953 128.59.59.56 (3 Oct 2003 16:37:31 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 3 Oct 2003 16:37:31 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14564

In article <2n5rnv8oopri7joeggkrjju6c5rujb831n@4ax.com>,
dgk  <sonicechoes-spamless@hot-nospamp-mail.com> wrote:
: > : 3) Will it work for USB modems that come in as pseudo-comm ports?
: >
: > Yes, as long as you specify them as TAPI devices rather than COM ports.
: 
: How would I specify them as TAPI devices? Can I do that on the command
: line?
:
Good question -- apparently not, at least not with "-l".  But you can always
change your hostMM.ksc script to accept a TAPI device specification as a
command-line argument.

- Frank


From mike@vorkosigan.co.uk.nospam Sun Oct  5 11:51:04 EDT 2003
Article: 14565 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsfeed.berkeley.edu!ucberkeley!freenix!usenet-fr.net!mephistopheles.news.clara.net!news.clara.net!landlord!wards.force9.net.POSTED!aral.vorkosigan.co.uk!mike
From: mike@aral.vorkosigan.co.uk (Michael Bernardi)
Newsgroups: comp.protocols.kermit.misc
Subject: MS-Kermit 3.16
Message-ID: <20031004.2252.32745snz@aral.vorkosigan.co.uk>
Organization: Miles' Minions
Reply-To: "Michael Bernardi" <mike@vorkosigan.co.uk.nospam>
X-Newsreader: SNews 1.31+mods(jlw020504/386)
Lines: 16
Date: Sat, 04 Oct 2003 23:52:33 +0100 (BST)
NNTP-Posting-Host: 212.159.74.117
X-Complaints-To: abuse@plus.net.uk
X-Trace: wards.force9.net 1065308156 212.159.74.117 (Sat, 04 Oct 2003 23:55:56 BST)
NNTP-Posting-Date: Sat, 04 Oct 2003 23:55:56 BST
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14565

Is there any chance that the current 3.16 beta version of MS-Kermit
might come out of beta testing? It's been 4 years after all!

While C-Kermit 8.0 for *ix and Windows 32 are the sexy versions, as the
recent NASA news shows there's life in the old DOS yet.

Also if anyone can point me to a script for MS-Kermit that allows for
recursive copying of directories I'd be very grateful. I need to copy
material from a 486 running MS-DOS to a Pentium running Free Dos via an
ethernet connection, and dispite various alternative solution the
simplest looks like the MS-Kermit one.

Mike
-- 
Please reply to mike_at_dendarii.co.uk replacing the "_at_" with a "@"
Or remove the .nospam from the Reply-To: address.


From dold@MS-KermitX.usenet.us.com Sun Oct  5 11:51:14 EDT 2003
Article: 14566 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!nntp-out.monmouth.com!newspeer.monmouth.com!news.lightlink.com!wasp.rahul.net!blue.rahul.net!not-for-mail
From: dold@MS-KermitX.usenet.us.com
Newsgroups: comp.protocols.kermit.misc
Subject: Re: MS-Kermit 3.16
Date: Sun, 5 Oct 2003 01:02:24 +0000 (UTC)
Organization: a2i network
Lines: 23
Sender: Clarence Dold <dold@violet.rahul.net>
Message-ID: <blnqj0$bls$1@blue.rahul.net>
References: <20031004.2252.32745snz@aral.vorkosigan.co.uk>
NNTP-Posting-Host: violet.rahul.net
X-Trace: blue.rahul.net 1065315744 11964 66.237.72.28 (5 Oct 2003 01:02:24 GMT)
X-Complaints-To: support@rahul.net
NNTP-Posting-Date: Sun, 5 Oct 2003 01:02:24 +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-20.7smp (i686))
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14566

Michael Bernardi <mike@aral.vorkosigan.co.uk> wrote:
> Also if anyone can point me to a script for MS-Kermit that allows for
> recursive copying of directories I'd be very grateful. I need to copy
> material from a 486 running MS-DOS to a Pentium running Free Dos via an
> ethernet connection, and dispite various alternative solution the
> simplest looks like the MS-Kermit one.

There is an executable called xsend.exe that was included with some
distributions of Kermit.  It's purpose was to create a recursive listing
as a kermit script.  Not quite as handy as having recursive built in,
but I used it to back up my PC to a Unix box on a serial link in the
early 90's.

http://www.columbia.edu/kermit/msk314.html
There it is, in the utils folder of the msvibm.zip

http://www.math.utah.edu/ftp/pub/ibmpc/kermit/
has msixse.c and .exe, which looks like it might be the same thing.


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


From fdc@columbia.edu Sun Oct  5 11:52:01 EDT 2003
Article: 14567 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news-not-for-mail
From: fdc@sesame.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: MS-Kermit 3.16
Date: 5 Oct 2003 11:51:59 -0400
Organization: Columbia University
Lines: 32
Message-ID: <blpemv$brj$1@sesame.cc.columbia.edu>
References: <20031004.2252.32745snz@aral.vorkosigan.co.uk>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1065369119 1139 128.59.59.56 (5 Oct 2003 15:51:59 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 5 Oct 2003 15:51:59 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14567

In article <20031004.2252.32745snz@aral.vorkosigan.co.uk>,
Michael Bernardi <mike@vorkosigan.co.uk.nospam> wrote:
> Is there any chance that the current 3.16 beta version of MS-Kermit
> might come out of beta testing? It's been 4 years after all!
>
As you probably know, MS-DOS Kermit is taken care of by a volunteer
developer at another site.  Since 1999, as you know, life has become
harder; many people who were able to devote copious time to such
projects are now struggling to keep their real jobs or otherwise put
food on the table.

> While C-Kermit 8.0 for *ix and Windows 32 are the sexy versions, as the
> recent NASA news shows there's life in the old DOS yet.
>
It's an amazing and historic piece of software -- it does more in fewer
bytes than any other program I can think of.

> Also if anyone can point me to a script for MS-Kermit that allows for
> recursive copying of directories I'd be very grateful. I need to copy
> material from a 486 running MS-DOS to a Pentium running Free Dos via an
> ethernet connection, and dispite various alternative solution the
> simplest looks like the MS-Kermit one.
>
See:

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

You should be able to use SEND /RECURSIVE send recursively, GET /RECURSIVE
to get recursively, or the \frdirectories() function to build a recursive
file list.

- Frank


From sonicechoes-spamless@hot-nospamp-mail.com Tue Oct  7 10:30:14 EDT 2003
Article: 14568 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!not-for-mail
From: dgk <sonicechoes-spamless@hot-nospamp-mail.com>
Newsgroups: comp.protocols.kermit.misc
Subject: How do I pick a modem?
Date: Tue, 07 Oct 2003 10:25:10 -0400
Organization: PANIX Public Access Internet and UNIX, NYC
Lines: 11
Message-ID: <bmi5ovcfhdura531rjuab2ig675pgl6aaj@4ax.com>
NNTP-Posting-Host: dsl027-158-082.nyc1.dsl.speakeasy.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: reader2.panix.com 1065536711 20640 216.27.158.82 (7 Oct 2003 14:25:11 GMT)
X-Complaints-To: abuse@panix.com
NNTP-Posting-Date: Tue, 7 Oct 2003 14:25:11 +0000 (UTC)
X-Newsreader: Forte Agent 1.92/32.572
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14568

I'm going a little nuts trying to figure out how to get K95 to select
one of two usb modems to use for host mode. I've tried pretty much all
combinations of set tapi line and \m(_modem) and \v(_line). I think
modem is supposed to be tapi and commport or line or port is supposed
to be the modem name.

The two modems are MultiTech MT5634ZBA-USB 56k Modem on com4 and
MultiTech MT5634ZBA-USB 56k Modem #2 on com5. I figured that it would
be easy to set a few commands right before Answer and that would do it
but both scripts just keep going for the first modem or break. Any
help is greatly appreciated.


From fdc@columbia.edu Tue Oct  7 10:30:16 EDT 2003
Article: 14569 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news-not-for-mail
From: fdc@sesame.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: How do I pick a modem?
Date: 7 Oct 2003 10:30:13 -0400
Organization: Columbia University
Lines: 19
Message-ID: <bluill$fe6$1@sesame.cc.columbia.edu>
References: <bmi5ovcfhdura531rjuab2ig675pgl6aaj@4ax.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1065537013 27697 128.59.59.56 (7 Oct 2003 14:30:13 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 7 Oct 2003 14:30:13 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14569

In article <bmi5ovcfhdura531rjuab2ig675pgl6aaj@4ax.com>,
dgk  <sonicechoes-spamless@hot-nospamp-mail.com> wrote:
: I'm going a little nuts trying to figure out how to get K95 to select
: one of two usb modems to use for host mode. I've tried pretty much all
: combinations of set tapi line and \m(_modem) and \v(_line). I think
: modem is supposed to be tapi and commport or line or port is supposed
: to be the modem name.
: 
At the prompt, type "set port tapi ?".  This lists the choices.  Choose
the one you want to use.  Note that spaces in the Control Panel modem
name are replaced by underscores.  Example:

  [C:\fdc\tmp\] K-95> set port tapi ? TAPI device name, one of the following:
   Courier_V.Everything_EXT_PnP_(V90-x2)
   MultiTech_MT5634ZBA-USB_56k_Modem
  [C:\fdc\tmp\] K-95> set port tapi Courier_V.Everything_EXT_PnP_(V90-x2)
  [C:\fdc\tmp\] K-95> 

- Frank


From sonicechoes-spamless@hot-nospamp-mail.com Tue Oct  7 15:57:21 EDT 2003
Article: 14570 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!not-for-mail
From: dgk <sonicechoes-spamless@hot-nospamp-mail.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: How do I pick a modem?
Date: Tue, 07 Oct 2003 15:54:38 -0400
Organization: PANIX Public Access Internet and UNIX, NYC
Lines: 29
Message-ID: <se66ovol7b9tuib23aqrgnskd1kuc8ga0j@4ax.com>
References: <bmi5ovcfhdura531rjuab2ig675pgl6aaj@4ax.com> <bluill$fe6$1@sesame.cc.columbia.edu>
NNTP-Posting-Host: pool-141-149-60-233.ny325.east.verizon.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: reader2.panix.com 1065556479 28406 141.149.60.233 (7 Oct 2003 19:54:39 GMT)
X-Complaints-To: abuse@panix.com
NNTP-Posting-Date: Tue, 7 Oct 2003 19:54:39 +0000 (UTC)
X-Newsreader: Forte Agent 1.92/32.572
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14570

On 7 Oct 2003 10:30:13 -0400, fdc@sesame.cc.columbia.edu (Frank da
Cruz) wrote:

>In article <bmi5ovcfhdura531rjuab2ig675pgl6aaj@4ax.com>,
>dgk  <sonicechoes-spamless@hot-nospamp-mail.com> wrote:
>: I'm going a little nuts trying to figure out how to get K95 to select
>: one of two usb modems to use for host mode. I've tried pretty much all
>: combinations of set tapi line and \m(_modem) and \v(_line). I think
>: modem is supposed to be tapi and commport or line or port is supposed
>: to be the modem name.
>: 
>At the prompt, type "set port tapi ?".  This lists the choices.  Choose
>the one you want to use.  Note that spaces in the Control Panel modem
>name are replaced by underscores.  Example:
>
>  [C:\fdc\tmp\] K-95> set port tapi ? TAPI device name, one of the following:
>   Courier_V.Everything_EXT_PnP_(V90-x2)
>   MultiTech_MT5634ZBA-USB_56k_Modem
>  [C:\fdc\tmp\] K-95> set port tapi Courier_V.Everything_EXT_PnP_(V90-x2)
>  [C:\fdc\tmp\] K-95> 
>
>- Frank

Thanks, that does work. But it craps out earlier because the custom
init file is pointing to another modem which someone else has. So I am
temporarily setting up two separate K95 directories and that works.
However I will try to combine them into one directory and just pass
parameters through the scripts. Or at least try not to bomb out in the
custom init.


From mike@vorkosigan.co.uk.nospam Wed Oct  8 10:56:30 EDT 2003
Article: 14571 of comp.protocols.kermit.misc
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!skynet.be!skynet.be!landlord!wards.force9.net.POSTED!aral.vorkosigan.co.uk!mike
From: mike@aral.vorkosigan.co.uk (Michael Bernardi)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: MS-Kermit 3.16
Message-ID: <20031007.2140.32761snz@aral.vorkosigan.co.uk>
References: <20031004.2252.32745snz@aral.vorkosigan.co.uk>
 <blpemv$brj$1@sesame.cc.columbia.edu>
Organization: Miles' Minions
Reply-To: "Michael Bernardi" <mike@vorkosigan.co.uk.nospam>
X-Newsreader: SNews 1.31+mods(jlw020504/386)
Lines: 42
Date: Tue, 07 Oct 2003 22:40:13 +0100 (BST)
NNTP-Posting-Host: 212.159.74.117
X-Complaints-To: abuse@plus.net.uk
X-Trace: wards.force9.net 1065562981 212.159.74.117 (Tue, 07 Oct 2003 22:43:01 BST)
NNTP-Posting-Date: Tue, 07 Oct 2003 22:43:01 BST
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14571

On 5 Oct, in article <blpemv$brj$1@sesame.cc.columbia.edu>
     fdc@sesame.cc.columbia.edu "Frank da Cruz" wrote:

> In article <20031004.2252.32745snz@aral.vorkosigan.co.uk>,
> Michael Bernardi <mike@vorkosigan.co.uk.nospam> wrote:
> > Is there any chance that the current 3.16 beta version of MS-Kermit
> > might come out of beta testing? It's been 4 years after all!
> >
> As you probably know, MS-DOS Kermit is taken care of by a volunteer
> developer at another site.  Since 1999, as you know, life has become
> harder; many people who were able to devote copious time to such
> projects are now struggling to keep their real jobs or otherwise put
> food on the table.
Ay, keeping food on the table is of prime importance. It would be nice
to have a final release version though!

> > While C-Kermit 8.0 for *ix and Windows 32 are the sexy versions, as the
> > recent NASA news shows there's life in the old DOS yet.
> >
> It's an amazing and historic piece of software -- it does more in fewer
> bytes than any other program I can think of.
Yes, it still does the business. Are any of the other Kermit versions
still being developed? Or is C-Kermit now it ;(

> > Also if anyone can point me to a script for MS-Kermit that allows for
> > recursive copying of directories I'd be very grateful. I need to copy
> > material from a 486 running MS-DOS to a Pentium running Free Dos via an
> > ethernet connection, and dispite various alternative solution the
> > simplest looks like the MS-Kermit one.
> >
> See:
> 
>   http://www.columbia.edu/kermit/msk316.html
> 
> You should be able to use SEND /RECURSIVE send recursively, GET /RECURSIVE
> to get recursively, or the \frdirectories() function to build a recursive
> file list.
Thanks for both suggestion. I now have a solution that I can implement.
Mike
-- 
Please reply to mike_at_dendarii.co.uk replacing the "_at_" with a "@"
Or remove the .nospam from the Reply-To: address.


From fdc@columbia.edu Wed Oct  8 10:56:32 EDT 2003
Article: 14572 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news-not-for-mail
From: fdc@sesame.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: MS-Kermit 3.16
Date: 8 Oct 2003 10:55:54 -0400
Organization: Columbia University
Lines: 27
Message-ID: <bm18hq$7ag$1@sesame.cc.columbia.edu>
References: <20031004.2252.32745snz@aral.vorkosigan.co.uk> <blpemv$brj$1@sesame.cc.columbia.edu> <20031007.2140.32761snz@aral.vorkosigan.co.uk>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1065624955 25618 128.59.59.56 (8 Oct 2003 14:55:55 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 8 Oct 2003 14:55:55 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14572

In article <20031007.2140.32761snz@aral.vorkosigan.co.uk>,
Michael Bernardi <mike@vorkosigan.co.uk.nospam> wrote:
: On 5 Oct, in article <blpemv$brj$1@sesame.cc.columbia.edu>
:      fdc@sesame.cc.columbia.edu "Frank da Cruz" wrote:
: > As you probably know, MS-DOS Kermit is taken care of by a volunteer
: > developer at another site.  Since 1999, as you know, life has become
: > harder; many people who were able to devote copious time to such
: > projects are now struggling to keep their real jobs or otherwise put
: > food on the table.
: Ay, keeping food on the table is of prime importance. It would be nice
: to have a final release version though!
: 
Yes it would.  Back in the old days, when somebody wanted something like
this done, they would often do it themselves.  That's how we got hundreds 
and hundreds of Kermit programs.  In fact, that's how we got MS-DOS Kermit
2.29 and later.

: > It's an amazing and historic piece of software -- it does more in fewer
: > bytes than any other program I can think of.
: Yes, it still does the business. Are any of the other Kermit versions
: still being developed? Or is C-Kermit now it ;(
: 
C-Kermit is available for hundreds of different hardware/OS/version
combinations.  Kermit 95 is available for Windows 95/98/ME/NT/2000/XP/2003
and OS/2.  What were you looking for?

- Frank


From sonicechoes-spamless@hot-nospamp-mail.com Thu Oct  9 12:15:55 EDT 2003
Article: 14574 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!not-for-mail
From: dgk <sonicechoes-spamless@hot-nospamp-mail.com>
Newsgroups: comp.protocols.kermit.misc
Subject: K95 on Multiple Phone Line saga continues
Date: Thu, 09 Oct 2003 12:01:53 -0400
Organization: PANIX Public Access Internet and UNIX, NYC
Lines: 13
Message-ID: <ri1bovst4r5ns58a7te51k9rchvpo95d01@4ax.com>
NNTP-Posting-Host: pool-141-149-60-233.ny325.east.verizon.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: reader2.panix.com 1065715313 20949 141.149.60.233 (9 Oct 2003 16:01:53 GMT)
X-Complaints-To: abuse@panix.com
NNTP-Posting-Date: Thu, 9 Oct 2003 16:01:53 +0000 (UTC)
X-Newsreader: Forte Agent 1.92/32.572
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14574

I managed to get K95 to answer multiple calls by having several
installations with each K95Custom.ini file pointing to a different
modem. Works fine although a bit unwieldy but K95 seems to want a
modem mentioned there and I can't figure another way to do it.

The remaining problem is that one script changes sometimes and I'd
like to centralize at least the location for that script. I put the
line Take C:\\mmscript\\mm3.ksc in dhostmdm.ksc but it doesn't find
the script (error is ?No files match - MM3.ksc. However script MM3.KSC
does exist in C:\mmscript - this is Win2k. Should this work?

Do I need to change the script file location somehow? Again, thanks
for your help.


From fdc@columbia.edu Thu Oct  9 12:17:31 EDT 2003
Article: 14575 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news-not-for-mail
From: fdc@sesame.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: K95 on Multiple Phone Line saga continues
Date: 9 Oct 2003 12:16:37 -0400
Organization: Columbia University
Lines: 26
Message-ID: <bm41l5$be1$1@sesame.cc.columbia.edu>
References: <ri1bovst4r5ns58a7te51k9rchvpo95d01@4ax.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1065716198 6299 128.59.59.56 (9 Oct 2003 16:16:38 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 9 Oct 2003 16:16:38 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14575

In article <ri1bovst4r5ns58a7te51k9rchvpo95d01@4ax.com>,
dgk  <sonicechoes-spamless@hot-nospamp-mail.com> wrote:
: I managed to get K95 to answer multiple calls by having several
: installations with each K95Custom.ini file pointing to a different
: modem. Works fine although a bit unwieldy but K95 seems to want a
: modem mentioned there and I can't figure another way to do it.
: 
Kermit 95 does not need to have a modem mentioned in any of its .INI
files, nor in fact does it even need to have .INI files.  Typically
you would have a separate script file for each modem.  Or even one
script file shared by all of them, provided you have a way of passing
a parameter to it, e.g. in the Shortcut properties, and then have
a separate shortcut for each connection).

: The remaining problem is that one script changes sometimes and I'd
: like to centralize at least the location for that script. I put the
: line Take C:\\mmscript\\mm3.ksc in dhostmdm.ksc but it doesn't find
: the script (error is ?No files match - MM3.ksc. However script MM3.KSC
: does exist in C:\mmscript - this is Win2k. Should this work?
: 
Depending on the context, you might get in trouble with the backslashes.
Just use "forward" slashes:

  c:/mmscript/mm3.ksc

- Frank


From nugulus@netscape.net Tue Oct 14 13:23:18 EDT 2003
Article: 14578 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!arclight.uoregon.edu!logbridge.uoregon.edu!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr11.news.prodigy.com.POSTED!not-for-mail
From: Jun Zhang <nugulus@netscape.net>
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
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: kermit stopped seeing the login
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 14
Message-ID: <38Wib.87$VE7.1877086@newssvr11.news.prodigy.com>
NNTP-Posting-Host: 159.66.144.147
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr11.news.prodigy.com 1066151551 ST000 159.66.144.147 (Tue, 14 Oct 2003 13:12:31 EDT)
NNTP-Posting-Date: Tue, 14 Oct 2003 13:12:31 EDT
Organization: SBC http://yahoo.sbc.com
X-UserInfo1: SCSYAS^D@ZWYCP\[]BCBNWX@RJ_XPDLMN@GZ_GYO^BVNDQUBLNTC@AWZWDXZXQ[K\FFSKCVM@F_N_DOBWVWG__LG@VVOIPLIGX\\BU_B@\P\PFX\B[APHTWAHDCKJF^NHD[YJAZMCY_CWG[SX\Y]^KC\HSZRWSWKGAY_PC[BQ[BXAS\F\\@DMTLFZFUE@\VL
Date: Tue, 14 Oct 2003 17:12:31 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14578

After dialing and made modem connection, issue the c command, there is 
nothing could be done further. The only choice is to go back to the 
kermit prompt. The question mark doesn't give me a menu. No effect keep 
hitting the carriage return.

I can cu to the same remote machine and login. My script used to work 
fine and I didn't change anything. Since yesterday, the script I dial to 
a hundred of remote machines through modem stopped functioning. After 
each modem connection, the situation is the same, no login prompt. 
Everything was working, what happened?


Jun



From fdc@columbia.edu Tue Oct 14 13:23:20 EDT 2003
Article: 14579 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news-not-for-mail
From: fdc@sesame.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: kermit stopped seeing the login
Date: 14 Oct 2003 13:23:16 -0400
Organization: Columbia University
Lines: 22
Message-ID: <bmhbe4$csm$1@sesame.cc.columbia.edu>
References: <38Wib.87$VE7.1877086@newssvr11.news.prodigy.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1066152196 17218 128.59.59.56 (14 Oct 2003 17:23:16 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 14 Oct 2003 17:23:16 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14579

In article <38Wib.87$VE7.1877086@newssvr11.news.prodigy.com>,
Jun Zhang  <nugulus@netscape.net> wrote:
: After dialing and made modem connection, issue the c command, there is 
: nothing could be done further. The only choice is to go back to the 
: kermit prompt. The question mark doesn't give me a menu. No effect keep 
: hitting the carriage return.
: 
: I can cu to the same remote machine and login. My script used to work 
: fine and I didn't change anything. Since yesterday, the script I dial to 
: a hundred of remote machines through modem stopped functioning. After 
: each modem connection, the situation is the same, no login prompt. 
: Everything was working, what happened?
: 
Only you can answer that question.  Something changed.  We have no way
of knowing what it was.

If cu works and Kermit does not, but Kermit used to work too, then whatever
changed affects Kermit but not cu, so that should be a clue.

Are cu and Kermit dialing at the same interface speed?

- Frank


From nugulus@netscape.net Wed Oct 15 14:22:18 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!feed2.news.rcn.net!rcn!news-out.cwix.com!newsfeed.cwix.com!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr11.news.prodigy.com.POSTED!not-for-mail
From: Jun Zhang <nugulus@netscape.net>
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
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: kermit stopped seeing the login
References: <38Wib.87$VE7.1877086@newssvr11.news.prodigy.com> <bmhbe4$csm$1@sesame.cc.columbia.edu>
In-Reply-To: <bmhbe4$csm$1@sesame.cc.columbia.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 33
Message-ID: <95fjb.92$G7.2003052@newssvr11.news.prodigy.com>
NNTP-Posting-Host: 159.66.144.147
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr11.news.prodigy.com 1066237381 ST000 159.66.144.147 (Wed, 15 Oct 2003 13:03:01 EDT)
NNTP-Posting-Date: Wed, 15 Oct 2003 13:03:01 EDT
Organization: SBC http://yahoo.sbc.com
X-UserInfo1: FKPO@MC@@S@OR\TY[BHN^_TDFZ\@@FXLM@TDOCQDJ@_@FNHB_NVUAH_[BL[\IRKIANGGJBFNJF_DOLSCENSY^U@FRFUEXR@KFXYDBPWBCDQJA@X_DCBHXR[C@\EOKCJLED_SZ@RMWYXYWE_P@\\GOIW^@SYFFSWHFIXMADO@^[ADPRPETLBJ]RDGENSKQQZN
Date: Wed, 15 Oct 2003 17:03:01 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14580

Frank,
    Now after a day or two frustration, the login prompt mysteriously 
came up. I didn't know what changed when it stopped functioning, and 
don't know what brought it back, either.
    Thank you for you attention.

Jun


Frank da Cruz wrote:
> In article <38Wib.87$VE7.1877086@newssvr11.news.prodigy.com>,
> Jun Zhang  <nugulus@netscape.net> wrote:
> : After dialing and made modem connection, issue the c command, there is 
> : nothing could be done further. The only choice is to go back to the 
> : kermit prompt. The question mark doesn't give me a menu. No effect keep 
> : hitting the carriage return.
> : 
> : I can cu to the same remote machine and login. My script used to work 
> : fine and I didn't change anything. Since yesterday, the script I dial to 
> : a hundred of remote machines through modem stopped functioning. After 
> : each modem connection, the situation is the same, no login prompt. 
> : Everything was working, what happened?
> : 
> Only you can answer that question.  Something changed.  We have no way
> of knowing what it was.
> 
> If cu works and Kermit does not, but Kermit used to work too, then whatever
> changed affects Kermit but not cu, so that should be a clue.
> 
> Are cu and Kermit dialing at the same interface speed?
> 
> - Frank



From gapplin@b-e-s-t.com Thu Oct 16 12:55:31 2003
Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!newsfeeds.sol.net!207.250.5.35.MISMATCH!posts.news.twtelecom.net!nnrp2.twtelecom.net!not-for-mail
From: "Gary Applin" <gapplin@b-e-s-t.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Printing Line Characters
Date: Thu, 16 Oct 2003 12:50:50 -0400
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
Lines: 9
Message-ID: <3f8ecc3e$0$40213$39cecf19@news.twtelecom.net>
Organization: Time-Warner Telecom
NNTP-Posting-Date: 16 Oct 2003 16:50:06 GMT
NNTP-Posting-Host: c1f78ca1.news.twtelecom.net
X-Trace: DXC=1>cFE8dD;@ZG:@GVmOS3hXC_A=>8kQj6];[h;PUXBgbTVe8YI8edmXZ>cU`jNTI]=_O2Yfl<gJPAU
X-Complaints-To: abuse@twtelecom.net
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14581

I am having a problem printing the screen to my printer. When I use Alt-P to
print the screen, text characters print ok. However, line characters print
as question marks. I have tried this on several work stations. I am using
linux as the terminal emulation and cp437. Does anyone know how to solve
this problem? Thanks.

Gary Applin




From fdc@columbia.edu Thu Oct 16 12:56:09 2003
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Printing Line Characters
Date: 16 Oct 2003 16:55:22 GMT
Organization: Columbia University
Lines: 16
Message-ID: <slrnbotjbq.d69.fdc@sesame.cc.columbia.edu>
References: <3f8ecc3e$0$40213$39cecf19@news.twtelecom.net>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1066323322 20375 128.59.59.56 (16 Oct 2003 16:55:22 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 16 Oct 2003 16:55:22 GMT
User-Agent: slrn/0.9.7.4 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14582

In article <3f8ecc3e$0$40213$39cecf19@news.twtelecom.net>, Gary Applin wrote:
: I am having a problem printing the screen to my printer. When I use Alt-P to
: print the screen, text characters print ok. However, line characters print
: as question marks. I have tried this on several work stations. I am using
: linux as the terminal emulation and cp437. Does anyone know how to solve
: this problem? Thanks.
: 
Evidently your printer uses some character set other than CP437.  You can
tell Kermit 95 what character set your printer has with:

  set printer /character-set:<name> ...

Then Kermit can convert the screen characters to the corresponding printer
characters.

- Frank


From icurmtdude@yahoo.com Tue Oct 21 18:26:56 2003
Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail
From: icurmtdude@yahoo.com (icurmt)
Newsgroups: comp.protocols.kermit.misc
Subject: DSR off ...
Date: 21 Oct 2003 14:34:43 -0700
Organization: http://groups.google.com
Lines: 18
Message-ID: <cf6cc183.0310211334.2b68926b@posting.google.com>
NNTP-Posting-Host: 24.213.204.113
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1066772084 28973 127.0.0.1 (21 Oct 2003 21:34:44 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 21 Oct 2003 21:34:44 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14584

Hi,

I wasn't able to communicate successfully between two devices using
RS232. The show comm parameters are as under:

/dev/ttyS0, speed:19200, mode:local, modem:none
flow:rts/cts, carrier-watch:off

CD:off, DSR:off, CTS:On, RI:off, DTR: on, RTS:on

However, on another machine, where the communication worked, I had the
exact same comm parameters as above except that DSR was ON.

I was wondering if through kermit can I control the DSR and set it to
'On' so that communication works fine.

Thanks,
Ray


From fdc@columbia.edu Tue Oct 21 18:29:19 2003
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: DSR off ...
Date: 21 Oct 2003 22:28:27 GMT
Organization: Columbia University
Lines: 19
Message-ID: <slrnbpbcob.co2.fdc@sesame.cc.columbia.edu>
References: <cf6cc183.0310211334.2b68926b@posting.google.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1066775307 21633 128.59.59.56 (21 Oct 2003 22:28:27 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 21 Oct 2003 22:28:27 GMT
User-Agent: slrn/0.9.7.4 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14585

In article <cf6cc183.0310211334.2b68926b@posting.google.com>, icurmt wrote:
: I wasn't able to communicate successfully between two devices using
: RS232. The show comm parameters are as under:
: 
: /dev/ttyS0, speed:19200, mode:local, modem:none
: flow:rts/cts, carrier-watch:off
: 
: CD:off, DSR:off, CTS:On, RI:off, DTR: on, RTS:on
: 
: However, on another machine, where the communication worked, I had the
: exact same comm parameters as above except that DSR was ON.
: 
: I was wondering if through kermit can I control the DSR and set it to
: 'On' so that communication works fine.
: 
DSR is an *incoming* signal so Kermit can't control it.  You'll need to
rig up your cable to supply it; e.g.  Wire local or remote DTR back to DSR.

- Frank


From icurmtdude@yahoo.com Wed Oct 22 14:37:25 2003
Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!news.maxwell.syr.edu!postnews1.google.com!not-for-mail
From: icurmtdude@yahoo.com (icurmt)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: DSR off ...
Date: 22 Oct 2003 09:23:51 -0700
Organization: http://groups.google.com
Lines: 51
Message-ID: <cf6cc183.0310220823.40a26f6a@posting.google.com>
References: <cf6cc183.0310211334.2b68926b@posting.google.com> <slrnbpbcob.co2.fdc@sesame.cc.columbia.edu> <8ce22d01.0310211755.5aeb83f8@posting.google.com>
NNTP-Posting-Host: 24.213.204.113
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1066839831 16197 127.0.0.1 (22 Oct 2003 16:23:51 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 22 Oct 2003 16:23:51 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14587

Am I right to assume that kermit ignores any incoming messages/data if
the DSR pin is off. If that's truely the case then can I get
help/pointer to the exact source file so that I can change it to
ignore DSR status and still log the data.

Thanks.




JDanSkinner@JDanSkinner.com (Dan Skinner) wrote in message news:<8ce22d01.0310211755.5aeb83f8@posting.google.com>...
> Frank da Cruz <fdc@columbia.edu> wrote in message news:<slrnbpbcob.co2.fdc@sesame.cc.columbia.edu>...
> > In article <cf6cc183.0310211334.2b68926b@posting.google.com>, icurmt wrote:
> > : I wasn't able to communicate successfully between two devices using
> > : RS232. The show comm parameters are as under:
> > : 
> > : /dev/ttyS0, speed:19200, mode:local, modem:none
> > : flow:rts/cts, carrier-watch:off
> > : 
> > : CD:off, DSR:off, CTS:On, RI:off, DTR: on, RTS:on
> > : 
> > : However, on another machine, where the communication worked, I had the
> > : exact same comm parameters as above except that DSR was ON.
> > : 
> > : I was wondering if through kermit can I control the DSR and set it to
> > : 'On' so that communication works fine.
> > : 
> > DSR is an *incoming* signal so Kermit can't control it.  You'll need to
> > rig up your cable to supply it; e.g.  Wire local or remote DTR back to DSR.
> > 
> > - Frank
> 
> Tried and true null modem cable 25 pin D connectors
> 1 ----- 1
> 2 ----- 3     2 twisted pair cable 1 and 7 separate pairs
> 3 ----- 2
> 7 ----- 7
> 
> 4 -| |- 4   4 & 5 jumpered in each head
> 5 -| |- 5
> 
> 6 -| |- 6    6 - 8 &  20 jumpered in each head
> 8 -| |- 8
> 20-| |-20
> 
> Use xon xoff protocol.
> 
> 9 pin connectors do literal translation but my memory won't recall
> the pin numbers.
> 
> Regards...Dan


From fdc@columbia.edu Wed Oct 22 17:28:29 2003
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: DSR off ...
Date: 22 Oct 2003 18:37:01 GMT
Organization: Columbia University
Lines: 24
Message-ID: <slrnbpdjid.2bd.fdc@sesame.cc.columbia.edu>
References: <cf6cc183.0310211334.2b68926b@posting.google.com> <slrnbpbcob.co2.fdc@sesame.cc.columbia.edu> <8ce22d01.0310211755.5aeb83f8@posting.google.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1066847821 6304 128.59.59.56 (22 Oct 2003 18:37:01 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 22 Oct 2003 18:37:01 GMT
User-Agent: slrn/0.9.7.4 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14588

In article <8ce22d01.0310211755.5aeb83f8@posting.google.com>,
Dan Skinner wrote:
: Tried and true null modem cable 25 pin D connectors
: 1 ----- 1
: 2 ----- 3     2 twisted pair cable 1 and 7 separate pairs
: 3 ----- 2
: 7 ----- 7
: 
: 4 -| |- 4   4 & 5 jumpered in each head
: 5 -| |- 5
: 
: 6 -| |- 6    6 - 8 &  20 jumpered in each head
: 8 -| |- 8
: 20-| |-20
: 
: Use xon xoff protocol.
: 
That's one kind of null modem cable, called the "fakeout", in which each
computer is reading back its own modem signals.  When you actually want to
detect whether the other computer is really there, and also be able to use
hardware flow control, run A's DTR to B's CD and DSR (and v.v.), A's RTS to
B's CTS (and v.v.)

- Frank


From fdc@columbia.edu Wed Oct 22 17:28:40 2003
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: DSR off ...
Date: 22 Oct 2003 18:40:01 GMT
Organization: Columbia University
Lines: 18
Message-ID: <slrnbpdjo1.2bd.fdc@sesame.cc.columbia.edu>
References: <cf6cc183.0310211334.2b68926b@posting.google.com> <slrnbpbcob.co2.fdc@sesame.cc.columbia.edu> <8ce22d01.0310211755.5aeb83f8@posting.google.com> <cf6cc183.0310220823.40a26f6a@posting.google.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1066848001 6304 128.59.59.56 (22 Oct 2003 18:40:01 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 22 Oct 2003 18:40:01 GMT
User-Agent: slrn/0.9.7.4 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14589

In article <cf6cc183.0310220823.40a26f6a@posting.google.com>, icurmt wrote:
: Am I right to assume that kermit ignores any incoming messages/data if
: the DSR pin is off.
:
It depends on the underlying operating system.  Except in DOS, Kermit
always works (and must work) through the OS's device drivers.  Whatever
they do, that's the rule.

: If that's truely the case then can I get
: help/pointer to the exact source file so that I can change it to
: ignore DSR status and still log the data.
: 
In Unix, sometimes you can open the same device with a different name to
get a different device driver.  For example in HP-UX /dev/cua0p0 is for
use with modems, whereas /dev/ttyd0p0 is for direct cable connections.
It depends on the specific OS and version (not on Kermit).

- Frank


From icurmtdude@yahoo.com Wed Oct 22 17:28:48 2003
Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail
From: icurmtdude@yahoo.com (icurmt)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: DSR off ...
Date: 22 Oct 2003 12:48:46 -0700
Organization: http://groups.google.com
Lines: 56
Message-ID: <cf6cc183.0310221148.69ac828a@posting.google.com>
References: <cf6cc183.0310211334.2b68926b@posting.google.com> <slrnbpbcob.co2.fdc@sesame.cc.columbia.edu> <8ce22d01.0310211755.5aeb83f8@posting.google.com>
NNTP-Posting-Host: 24.213.204.113
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1066852126 26802 127.0.0.1 (22 Oct 2003 19:48:46 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 22 Oct 2003 19:48:46 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14590

Thanks for your inputs.

What looks like is that DTR pin is turned high during set line call
and is turned low during hangup.

If, I can keep  the DTR pin low during the communication then it would
solve my problem. Please let me know if there's a higher level call I
can make through script to keep it on.

Also read somewhere that setting speed to 0 and then turning it to
non-zero would flip the DTR pin as well.

Thanks.


JDanSkinner@JDanSkinner.com (Dan Skinner) wrote in message news:<8ce22d01.0310211755.5aeb83f8@posting.google.com>...
> Frank da Cruz <fdc@columbia.edu> wrote in message news:<slrnbpbcob.co2.fdc@sesame.cc.columbia.edu>...
> > In article <cf6cc183.0310211334.2b68926b@posting.google.com>, icurmt wrote:
> > : I wasn't able to communicate successfully between two devices using
> > : RS232. The show comm parameters are as under:
> > : 
> > : /dev/ttyS0, speed:19200, mode:local, modem:none
> > : flow:rts/cts, carrier-watch:off
> > : 
> > : CD:off, DSR:off, CTS:On, RI:off, DTR: on, RTS:on
> > : 
> > : However, on another machine, where the communication worked, I had the
> > : exact same comm parameters as above except that DSR was ON.
> > : 
> > : I was wondering if through kermit can I control the DSR and set it to
> > : 'On' so that communication works fine.
> > : 
> > DSR is an *incoming* signal so Kermit can't control it.  You'll need to
> > rig up your cable to supply it; e.g.  Wire local or remote DTR back to DSR.
> > 
> > - Frank
> 
> Tried and true null modem cable 25 pin D connectors
> 1 ----- 1
> 2 ----- 3     2 twisted pair cable 1 and 7 separate pairs
> 3 ----- 2
> 7 ----- 7
> 
> 4 -| |- 4   4 & 5 jumpered in each head
> 5 -| |- 5
> 
> 6 -| |- 6    6 - 8 &  20 jumpered in each head
> 8 -| |- 8
> 20-| |-20
> 
> Use xon xoff protocol.
> 
> 9 pin connectors do literal translation but my memory won't recall
> the pin numbers.
> 
> Regards...Dan


From fdc@columbia.edu Thu Oct 23 12:45:19 2003
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: DSR off ...
Date: 22 Oct 2003 21:32:34 GMT
Organization: Columbia University
Lines: 28
Message-ID: <slrnbpdtri.ilh.fdc@sesame.cc.columbia.edu>
References: <cf6cc183.0310211334.2b68926b@posting.google.com> <slrnbpbcob.co2.fdc@sesame.cc.columbia.edu> <8ce22d01.0310211755.5aeb83f8@posting.google.com> <cf6cc183.0310221148.69ac828a@posting.google.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1066858354 14696 128.59.59.56 (22 Oct 2003 21:32:34 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 22 Oct 2003 21:32:34 GMT
User-Agent: slrn/0.9.7.4 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14591

In article <cf6cc183.0310221148.69ac828a@posting.google.com>, icurmt wrote:
: Thanks for your inputs.
: 
: What looks like is that DTR pin is turned high during set line call
: and is turned low during hangup.
: 
That's how it's supposed to work.

: If, I can keep  the DTR pin low during the communication then it would
: solve my problem. Please let me know if there's a higher level call I
: can make through script to keep it on.
: 
Again, device drivers handle modem signals.  In general, there is no API
for turning on and off individual modem signals, but some OS's do have this.
However, it is rarely necessary.  The functions of modem signals are clearly
defined in the standards and if you have the appropriate cables -- i.e.
ones that connect the right output pin on one end to the right input pin on
the other end, everything just works.

: Also read somewhere that setting speed to 0 and then turning it to
: non-zero would flip the DTR pin as well.
: 
It depends on the operating system.  Every OS has a different API for
"hanging up" by turning DTR off, pausing, and then turning it on.  Kermit
does this for you without requiring you to know the details if you give
a HANGUP command on a serial-port or modem connection.

- Frank


From JDanSkinner@JDanSkinner.com Thu Oct 23 12:48:20 2003
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: DSR off ...
Date: 22 Oct 2003 15:20:43 -0700
Organization: http://groups.google.com
Lines: 35
Message-ID: <8ce22d01.0310221420.24cbb69f@posting.google.com>
References: <cf6cc183.0310211334.2b68926b@posting.google.com> <slrnbpbcob.co2.fdc@sesame.cc.columbia.edu> <8ce22d01.0310211755.5aeb83f8@posting.google.com> <slrnbpdjid.2bd.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 1066861244 1970 127.0.0.1 (22 Oct 2003 22:20:44 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 22 Oct 2003 22:20:44 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14592

Frank da Cruz <fdc@columbia.edu> wrote in message news:<slrnbpdjid.2bd.fdc@sesame.cc.columbia.edu>...
> In article <8ce22d01.0310211755.5aeb83f8@posting.google.com>,
> Dan Skinner wrote:
> : Tried and true null modem cable 25 pin D connectors
> : 1 ----- 1
> : 2 ----- 3     2 twisted pair cable 1 and 7 separate pairs
> : 3 ----- 2
> : 7 ----- 7
> : 
> : 4 -| |- 4   4 & 5 jumpered in each head
> : 5 -| |- 5
> : 
> : 6 -| |- 6    6 - 8 &  20 jumpered in each head
> : 8 -| |- 8
> : 20-| |-20
> : 
> : Use xon xoff protocol.
> : 
> That's one kind of null modem cable, called the "fakeout", in which each
> computer is reading back its own modem signals.  When you actually want to
> detect whether the other computer is really there, and also be able to use
> hardware flow control, run A's DTR to B's CD and DSR (and v.v.), A's RTS to
> B's CTS (and v.v.)
> 
> - Frank

Agreed, and the more sophisticated lashings are important to more
robust connections, but when I start fussing with control line values
and all I want
is to trade data between a couple of machines I've always got a
"fakeout" cable
and a couple of gender changers and 25 to 9 pin converters in my bag.
If that doesn't work, it probably won't work <period>. Well there is
probably a breakout box buryied in the bottom of that bag someplace.
Regards...Dan.


From icurmtdude@yahoo.com Thu Oct 23 12:49:07 2003
Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail
From: icurmtdude@yahoo.com (icurmt)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: DSR off ...
Date: 23 Oct 2003 06:51:37 -0700
Organization: http://groups.google.com
Lines: 56
Message-ID: <cf6cc183.0310230551.52867e2d@posting.google.com>
References: <cf6cc183.0310211334.2b68926b@posting.google.com> <slrnbpbcob.co2.fdc@sesame.cc.columbia.edu> <8ce22d01.0310211755.5aeb83f8@posting.google.com> <cf6cc183.0310221148.69ac828a@posting.google.com> <slrnbpdtri.ilh.fdc@sesame.cc.columbia.edu>
NNTP-Posting-Host: 24.213.204.113
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1066917097 10406 127.0.0.1 (23 Oct 2003 13:51:37 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 23 Oct 2003 13:51:37 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14595

Thanks guys. 

Alright, let me give you more insight to why I am seeing all these
problems. I am using the Single Board Computer to talk to the
Microcontroller unit through serial ports. The DTR pin on the SBC is
hacked to recycle the power on the MCU. Now when the communication is
initiated, the DTR pin goes high(1) which resets the MCU and
communication fails. Thats the reason that during "show comm"
I see that DSR is off. Now when the communication terminates, the DTR
is turned off (0) which turns the MCU on.

Something which puzzles me is that why is DTR handshaking used here
even when I am stating in kermit program to use the Xon/Xoff
flowcontrol. I also tried the RTS/CTS handshaking but the result was
same.

Now if I use the Java program, which uses RXTX comm jar(communication
program for Linux), then everything works fine. I see no issues. That
makes me come to the conclusion that low-level api has nothing to do
with it. It's gotta be somewhere in kermit where it is using DTR
handshaking inspite of being asked to use RTS/CTS or Xon/Xoff.

All $0.02 welcome.

Thanks - Ray  


Frank da Cruz <fdc@columbia.edu> wrote in message news:<slrnbpdtri.ilh.fdc@sesame.cc.columbia.edu>...
> In article <cf6cc183.0310221148.69ac828a@posting.google.com>, icurmt wrote:
> : Thanks for your inputs.
> : 
> : What looks like is that DTR pin is turned high during set line call
> : and is turned low during hangup.
> : 
> That's how it's supposed to work.
> 
> : If, I can keep  the DTR pin low during the communication then it would
> : solve my problem. Please let me know if there's a higher level call I
> : can make through script to keep it on.
> : 
> Again, device drivers handle modem signals.  In general, there is no API
> for turning on and off individual modem signals, but some OS's do have this.
> However, it is rarely necessary.  The functions of modem signals are clearly
> defined in the standards and if you have the appropriate cables -- i.e.
> ones that connect the right output pin on one end to the right input pin on
> the other end, everything just works.
> 
> : Also read somewhere that setting speed to 0 and then turning it to
> : non-zero would flip the DTR pin as well.
> : 
> It depends on the operating system.  Every OS has a different API for
> "hanging up" by turning DTR off, pausing, and then turning it on.  Kermit
> does this for you without requiring you to know the details if you give
> a HANGUP command on a serial-port or modem connection.
> 
> - Frank


From P.Zandbergen@macroscoop.nl Thu Oct 23 12:56:52 2003
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!news-in.mts.net!logbridge.uoregon.edu!newsfeed.stueberl.de!npeer.de.kpn-eurorings.net!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewsoutpeer00.lnd.ops.eu.uu.net!lnewsinpeer00.lnd.ops.eu.uu.net!bnewsoutpeer00.bru.ops.eu.uu.net!bnewsinpeer01.bru.ops.eu.uu.net!bnewspost00.bru.ops.eu.uu.net!emea.uu.net!read.news.nl.uu.net!not-for-mail
From: Pim Zandbergen <P.Zandbergen@macroscoop.nl>
Newsgroups: comp.protocols.kermit.misc
Subject: ipv6 support in Kermit-95
Date: Thu, 23 Oct 2003 14:29:38 +0200
Organization: Macroscoop BV
Message-ID: <caifpv83inhv4enniicgdbiqcpnfb1614o@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
Lines: 4
NNTP-Posting-Host: botero.macroscoop.nl
X-Trace: 1066912178 read.news.nl.uu.net 267 212.153.2.131
X-Complaints-To: abuse@nl.uu.net
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14593

Are there any plans to implement ipv6 in kermit-95?
Perhaps I missed something and it's already there ..

Pim


From jaltman@columbia.edu Thu Oct 23 12:57:08 2003
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Jeffrey Altman <jaltman@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: ipv6 support in Kermit-95
Date: 23 Oct 2003 13:24:46 GMT
Organization: Columbia University
Lines: 24
Message-ID: <bn8kqu$rel$1@newsmaster.cc.columbia.edu>
References: <caifpv83inhv4enniicgdbiqcpnfb1614o@4ax.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1066915486 28117 128.59.39.139 (23 Oct 2003 13:24:46 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 23 Oct 2003 13:24:46 GMT
User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (SunOS/5.5.1 (sun4u))
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14594

As I am no longer funded by Columbia University to develop C-Kermit 
and Kermit 95, the only way that IPv6 will be added is if one of the
following is done:

(1) someone contributes IPv6 updates to C-Kermit including support
    for Telnet, FTP, HTTP, Kerberos, and X.509

(2) funding must be provided to have this work be done

Jeffrey Altman
Kermit 95 Author


Pim Zandbergen <P.Zandbergen@macroscoop.nl> wrote:
: Are there any plans to implement ipv6 in kermit-95?
: Perhaps I missed something and it's already there ..

: Pim

-- 
 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 Thu Oct 23 13:07:18 2003
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: DSR off ...
Date: 23 Oct 2003 16:56:37 GMT
Organization: Columbia University
Lines: 34
Message-ID: <slrnbpg225.aad.fdc@sesame.cc.columbia.edu>
References: <cf6cc183.0310211334.2b68926b@posting.google.com> <slrnbpbcob.co2.fdc@sesame.cc.columbia.edu> <8ce22d01.0310211755.5aeb83f8@posting.google.com> <cf6cc183.0310221148.69ac828a@posting.google.com> <slrnbpdtri.ilh.fdc@sesame.cc.columbia.edu> <cf6cc183.0310230551.52867e2d@posting.google.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1066928197 8517 128.59.59.56 (23 Oct 2003 16:56:37 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 23 Oct 2003 16:56:37 GMT
User-Agent: slrn/0.9.7.4 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14596

In article <cf6cc183.0310230551.52867e2d@posting.google.com>, icurmt wrote:
: Alright, let me give you more insight to why I am seeing all these
: problems. I am using the Single Board Computer to talk to the
: Microcontroller unit through serial ports. The DTR pin on the SBC is
: hacked to recycle the power on the MCU. Now when the communication is
: initiated, the DTR pin goes high(1) which resets the MCU and
: communication fails. Thats the reason that during "show comm"
: I see that DSR is off. Now when the communication terminates, the DTR
: is turned off (0) which turns the MCU on.
: 
: Something which puzzles me is that why is DTR handshaking used here
: even when I am stating in kermit program to use the Xon/Xoff
: flowcontrol. I also tried the RTS/CTS handshaking but the result was
: same.
: 
DTR and flow control (usually) have nothing to do with each other.
DTR is a signal from the computer to the modem saying "I am turned on"
and/or "this serial port is open".  By definition, when you turn it off,
this supposed to break the connection.

Unfortunately in this case, Kermit is not a general-purpose modem-control
manipulating program.  It operates at a higher level.  "set line /dev/xxx"
turns DTR on (and in most cases also RTS).  Closing the device turns it off.
RTS/CTS are used by the device driver (transparently to Kermit) for flow
control if you have "set flow rts/cts".

CD, CTS, DSR, and RI are incoming signals -- "read only".  You can see
them with "show comm" and you can test them with the WAIT command.

The only way in Kermit that you can touch DTR is with the HANGUP command,
which sets DTR low for about 250 milliseconds, then brings it back, which
is how one tells a modem to hang up a telephone connection.

- Frank


From icurmtdude@yahoo.com Sat Oct 25 12:16:00 2003
Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail
From: icurmtdude@yahoo.com (icurmt)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: DSR off ...
Date: 24 Oct 2003 17:55:13 -0700
Organization: http://groups.google.com
Lines: 44
Message-ID: <cf6cc183.0310241655.1ae8d212@posting.google.com>
References: <cf6cc183.0310211334.2b68926b@posting.google.com> <slrnbpbcob.co2.fdc@sesame.cc.columbia.edu> <8ce22d01.0310211755.5aeb83f8@posting.google.com> <cf6cc183.0310221148.69ac828a@posting.google.com> <slrnbpdtri.ilh.fdc@sesame.cc.columbia.edu> <cf6cc183.0310230551.52867e2d@posting.google.com> <slrnbpg225.aad.fdc@sesame.cc.columbia.edu>
NNTP-Posting-Host: 24.58.29.68
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1067043313 27510 127.0.0.1 (25 Oct 2003 00:55:13 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sat, 25 Oct 2003 00:55:13 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14597

Thanks Frank. 

I figured it out. I took the port's file descriptor, ttyfd from the
kermit script passed it to my C program to toggle the DTR state.

Everything works fine now. Thanks for your timely inputs.

Ray

Frank da Cruz <fdc@columbia.edu> wrote in message news:<slrnbpg225.aad.fdc@sesame.cc.columbia.edu>...
> In article <cf6cc183.0310230551.52867e2d@posting.google.com>, icurmt wrote:
> : Alright, let me give you more insight to why I am seeing all these
> : problems. I am using the Single Board Computer to talk to the
> : Microcontroller unit through serial ports. The DTR pin on the SBC is
> : hacked to recycle the power on the MCU. Now when the communication is
> : initiated, the DTR pin goes high(1) which resets the MCU and
> : communication fails. Thats the reason that during "show comm"
> : I see that DSR is off. Now when the communication terminates, the DTR
> : is turned off (0) which turns the MCU on.
> : 
> : Something which puzzles me is that why is DTR handshaking used here
> : even when I am stating in kermit program to use the Xon/Xoff
> : flowcontrol. I also tried the RTS/CTS handshaking but the result was
> : same.
> : 
> DTR and flow control (usually) have nothing to do with each other.
> DTR is a signal from the computer to the modem saying "I am turned on"
> and/or "this serial port is open".  By definition, when you turn it off,
> this supposed to break the connection.
> 
> Unfortunately in this case, Kermit is not a general-purpose modem-control
> manipulating program.  It operates at a higher level.  "set line /dev/xxx"
> turns DTR on (and in most cases also RTS).  Closing the device turns it off.
> RTS/CTS are used by the device driver (transparently to Kermit) for flow
> control if you have "set flow rts/cts".
> 
> CD, CTS, DSR, and RI are incoming signals -- "read only".  You can see
> them with "show comm" and you can test them with the WAIT command.
> 
> The only way in Kermit that you can touch DTR is with the HANGUP command,
> which sets DTR low for about 250 milliseconds, then brings it back, which
> is how one tells a modem to hang up a telephone connection.
> 
> - Frank


From lars_news@larsshack.org Sun Oct 26 16:01:54 2003
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsfeed.berkeley.edu!ucberkeley!newsfeed.mathworks.com!news.maxwell.syr.edu!postnews1.google.com!not-for-mail
From: lars_news@larsshack.org (Lars Kellogg-Stedman)
Newsgroups: comp.protocols.kermit.misc
Subject: Problems with get /recursive
Date: 25 Oct 2003 20:01:30 -0700
Organization: http://groups.google.com
Lines: 29
Message-ID: <57f2d810.0310251901.3deaebbd@posting.google.com>
NNTP-Posting-Host: 209.6.22.171
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1067137291 19517 127.0.0.1 (26 Oct 2003 03:01:31 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sun, 26 Oct 2003 03:01:31 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14598

Howdy,

I'm connecting to a remote system using kermit's kermit-sshsub feature
(using the 'skermit' script from the archives).  While I can transfer
single files without a problem, I haven't been able to make 'get
/recursive' work for me.  Give the command:

  get /recursive directory

Kermit replies:

  *************************
  RECEIVE- or GET-class command failed.
   Packets received: 2
   Damaged packets: 0
   Timeouts: 0
   Packet length: 4000
   Transfer canceled by sender.
   Sender's message: "File not found"

The directory does exist -- I can rcd into it -- there are no
permission problems, and I can get individual files just fine.  Any
clues as to what's going on?

I'm running C-Kermit 8.0.209 under Linux (Redhat 9) on both ends of
the connections.  I have the same problem if I connect via kermit's
'ssh' command and start up 'kermit -x' on the remote side manually.

-- Lars


From lars_news@larsshack.org Sun Oct 26 16:03:27 2003
Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!feed2.news.rcn.net!feed1.news.rcn.net!rcn!feed3.news.rcn.net!not-for-mail
From: Lars Kellogg-Stedman <lars_news@larsshack.org>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Problems with get /recursive
Date: 26 Oct 2003 14:31:24 GMT
Lines: 47
Message-ID: <slrnbpnmlo.b28.lars@news.oddbit.com>
References: <57f2d810.0310251901.3deaebbd@posting.google.com> <Pine.HPX.4.44.0310252035270.3239-100000@fog.ccsf.cc.ca.us>
Reply-To: lars_news@larsshack.org
X-Trace: UmFuZG9tSVYZ/Z1K1qJiyEl8b3FFLpn1OZe6nrPihktmI9QIsyzqZI5neLSOOJgx
X-Complaints-To: abuse@rcn.com
NNTP-Posting-Date: 26 Oct 2003 14:31:24 GMT
User-Agent:  slrn/0.9.7.4 (Linux)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14599

That's interesting, because the 'send' command behaves differently.  For
example, if I connect via 'kermit -C "ssh remotehost"', and then on the
remote system type:

  kermit -C 'send /recursive directory'

I get the whole thing.

On the other hand, neither:

  kermit -L -s directory

Nor:
 
  kermit -L -s directory/*

Actually work.  The second version (directory/*) will send the contents of
directory, but without recursing into subdirectories.  Of course, 'kermit
-h' says:

  -L  Recursive directory descent for files in -s option

I suspect I may just be misunderstanding what that means, since one can
work around this by running:

  kermit -L -s `find directory`

But this seems like it could easily bog down for a large directory
hierarchy.

-- Lars

> The get command requires a "filespec" which needs to specify a file
> or files, not a directory.  What you want in this case is
> 
>   get /recursive directory/*
> 
> or perhaps just
> 
>   get directory/*
> 
> which does the same thing if directory contains only files and no
> sub directories.

-- 
Lars Kellogg-Stedman <lars_news@larsshack.org>



From lars_news@larsshack.org Sun Oct 26 16:05:31 2003
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsfeed.berkeley.edu!ucberkeley!newstransit.mitre.org!news.tufts.edu!logbridge.uoregon.edu!feed2.news.rcn.net!rcn!feed3.news.rcn.net!not-for-mail
From: Lars Kellogg-Stedman <lars_news@larsshack.org>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: relocation error
Date: 26 Oct 2003 14:58:08 GMT
Lines: 155
Message-ID: <slrnbpno7s.b28.lars@news.oddbit.com>
References: <So93b.5637$d66.110222@news2.tin.it>
Reply-To: lars_news@larsshack.org
X-Trace: UmFuZG9tSVb+VKUUsqFxg4fxXdxGSn9yhIBXoP1lh3aBq5r4xoTKwPD4XNXCDXWN
X-Complaints-To: abuse@rcn.com
NNTP-Posting-Date: 26 Oct 2003 14:58:08 GMT
User-Agent:  slrn/0.9.7.4 (Linux)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14600

You installed the binary RPM from the Rawhide/"Fedora" distribution, didn't
you?  That wasn't built for a RedHat 9 system, so there are some library
compatability issues.

The easiest solution is to grab the source rpm and rebuild the binary RPM
on your system.  Normally, you'd simply grab the source rpm and run:

  rpmbuild --rebuild ckermit-8.0.209-4.src.rpm

But the spec file has errors under Redhat 9, so you'll need to run
through a few extra steps:

  1. grab the source rpm
  2. run 'rpm -ivh ckermit-8.0.209-4.src.rpm'.  This will install files in
     /usr/src/redhat by default.
  3. replace /usr/src/redhat/SPECS/ckermit.spec with the spec file I've
     attached to this message.
  4. run 'rpmbuild -bb /usr/src/redhat/SPECS/ckermit.spec'.  This will
     generate a binary RPM in /usr/src/redhat/RPMS/i386.

You will probably need to run the above commands as root.  See below for
the spec file.

-- Lars

> I have on my PC redhat 9 and I just installed "ckermit-8.0.209-4" with the
> objective to get files saved on my office server from home.
> The ckermit installation seems to be ok, but as I try to send some files I
> receive the following answer from the server:
> 
> kermit: relocation error: kermit: undefined symbol: krb5_cc_get_name
> 
> what I have to do? can you help me to find a solution or to find a URL where
> to get it?

-- 
Lars Kellogg-Stedman <lars_news@larsshack.org>

---[ cut here ]------------------------------------------------------------
Summary: The quintessential all-purpose communications program
Name: ckermit
Version: 8.0.209
Release: 4.lks.1
License: Special (see Copyright Notice)
Group: Applications/Communications
Source0: ftp://kermit.columbia.edu/kermit/archives/cku209.tar.gz
Source1: cku-%{name}.local.ini
Source2: cku-%{name}.modem.generic.ini
Source3: cku-%{name}.locale.ini
Source4: cku-%{name}.phone
# XXX Swipe files from cku206, remove when added to cku208 tarball.
Source10: ckermit.ini
Source11: ckuker.nr
URL: http://www.columbia.edu/kermit/
BuildRequires: pam-devel
BuildRequires: pkgconfig
BuildRequires: openssl-devel >= 0.9.7
BuildRequires: gmp-devel >= 3.1.1
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Obsoletes: gkermit

%description
C-Kermit is a combined serial and network communication software
package offering a consistent, medium-independent, cross-platform
approach to connection establishment, terminal sessions, file transfer
and management, character-set translation, and automation of
communication tasks. For more information please see:

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

C-KERMIT 7.0 COPYRIGHT NOTICE:

The C-Kermit license does not fall into any convenient category. It is
not commercial, not shareware, not freeware, not GPL. The terms can be
summarized as follows:

1. You may download C-Kermit without license or fee for your own use
or internal use within your company or institution.

2. You may install C-Kermit without license or fee as a service or
application on a computer within your company that is accessed by
customers or clients. This provision would apply, for example, to an
ISP or a medical claims clearinghouse.

3. You may include C-Kermit with a "Free UNIX" or other Open Source
operating-system distribution such as GNU/Linux, FreeBSD, NetBSD,
OpenBSD, etc.

4. Except as in (3), you may not sell or otherwise furnish C-Kermit as
a software product, or a component of any product, to actual or
potential customers or clients without a commercial license; to see
the commercial license terms, see http://www.columbia.edu/kermit/.

In addition, we request that those who make more than casual use of
C-Kermit purchase the published manual, Using C-Kermit. This helps
them to get the most out of the software, it reduces the load on our
help desk, and it helps to fund the Kermit Project.

The Kermit Project must fund itself entirely out of income, which
comes from software licenses, book sales, and support contracts. The
C-Kermit licensing terms are designed to be as generous and fair as
possible within this framework. Simply stated: if you just want to use
it, be our guest. If you want us to help you use it, please consult
the manual first. If you want to make a product or commodity of it,
you have to pay for it.

%prep
%setup -q -c

# XXX Swipe files from cku206, remove when added to cku208 tarball.
cp %{SOURCE10} .
cp %{SOURCE11} .

%build
%{__make} redhat80 \
	KFLAGS="-O0 $RPM_OPT_FLAGS -DOPENSSL_097 -Dsdata=s_data" \
	K4LIB="-L/usr/kerberos/lib" \
	K4INC= \
	K5LIB="-L/usr/kerberos/lib" \
	K5INC="-I%{_includedir}/et -I/usr/kerberos/include"\
	SSLLIB= \
	SSLINC= \
	%{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_sysconfdir}/kermit}

perl -pi -e "s|%{_prefix}/local/bin/kermit|%{_bindir}/kermit|g" ckermit.ini

install wermit $RPM_BUILD_ROOT%{_bindir}/kermit
install ckuker.nr $RPM_BUILD_ROOT%{_mandir}/man1/kermit.1
install ckermit.ini $RPM_BUILD_ROOT%{_sysconfdir}/kermit/
install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/kermit/ckermit.local.ini
install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/kermit/ckermit.modem.ini
install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/kermit/ckermit.locale.ini
install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/kermit/ckermit.phone

gzip -9nf *.txt COPYING.TXT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc *.gz
%dir %{_sysconfdir}/kermit
%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/kermit/*
%attr(755, root, root) %{_bindir}/kermit
%{_mandir}/man1/kermit.1*

%changelog
* Sat Oct 25 2003 Lars Kellogg-Stedman <lars_news at larsshack dot org> 8.0.209-4.lks.1
- fixed spec file to build on RedHat 9.



From lars_news@larsshack.org Sun Oct 26 16:09:47 2003
Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!nntp.abs.net!rcn!feed3.news.rcn.net!not-for-mail
From: Lars Kellogg-Stedman <lars_news@larsshack.org>
Newsgroups: comp.protocols.kermit.misc
Subject: Kermit losing first byte of tcp connection
Date: 26 Oct 2003 15:55:44 GMT
Lines: 28
Message-ID: <slrnbpnrjt.bg5.lars@news.oddbit.com>
Reply-To: lars_news@larsshack.org
X-Trace: UmFuZG9tSVZA1hHfsJ8t4TvpMta3ww9XNLnoGOs2hBZbXzWAclTA/nyznAVuolYb
X-Complaints-To: abuse@rcn.com
NNTP-Posting-Date: 26 Oct 2003 15:55:44 GMT
User-Agent:  slrn/0.9.7.4 (Linux)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14601

I'm using kermit to script some tests of our SMTP server.  When one
connects to an SMTP server, the server immediately sends something along
the lines of:

  220 <server> ESMTP <software>

With kermit, I always lose the first byte, so that instead I see:

  20 <server> ESMTP <software>

This means that commands such as the following will fail:

  input 10 \fpattern(220 *)\13

Is there anything I can do to prevent this from happening?  I can work
around the problem by doing:

  set host /pty telnet <host> 25

But that's just ugly.

Cheers,

-- Lars

-- 
Lars Kellogg-Stedman <lars_news@larsshack.org>



From fdc@columbia.edu Sun Oct 26 16:16:03 2003
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit losing first byte of tcp connection
Date: 26 Oct 2003 21:12:55 GMT
Organization: Columbia University
Lines: 26
Message-ID: <slrnbpoe6n.77a.fdc@sesame.cc.columbia.edu>
References: <slrnbpnrjt.bg5.lars@news.oddbit.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1067202775 27676 128.59.59.56 (26 Oct 2003 21:12:55 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 26 Oct 2003 21:12:55 GMT
User-Agent: slrn/0.9.7.4 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14602

In article <slrnbpnrjt.bg5.lars@news.oddbit.com>, Lars Kellogg-Stedman wrote:
: I'm using kermit to script some tests of our SMTP server.  When one
: connects to an SMTP server, the server immediately sends something along
: the lines of:
: 
:   220 <server> ESMTP <software>
: 
: With kermit, I always lose the first byte, so that instead I see:
: 
:   20 <server> ESMTP <software>
: 
: This means that commands such as the following will fail:
: 
:   input 10 \fpattern(220 *)\13
: 
: Is there anything I can do to prevent this from happening?
:
What command did you use make the connection?  I suspect you must have
unintentionally forced Kermit to use Telnet protocol, which most (if not
all) Port 25 servers do not support.  Try:

  set host <hostname> 25 /raw-socket

Note that Kermit's TELNET command forces the use of Telnet protocol.

- Frank


From fdc@columbia.edu Sun Oct 26 16:57:36 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 get /recursive
Followup-To: comp.protocols.kermit.misc
Date: 26 Oct 2003 21:53:51 GMT
Organization: Columbia University
Lines: 45
Message-ID: <slrnbpogje.ct6.fdc@sesame.cc.columbia.edu>
References: <57f2d810.0310251901.3deaebbd@posting.google.com> <Pine.HPX.4.44.0310252035270.3239-100000@fog.ccsf.cc.ca.us> <slrnbpnmlo.b28.lars@news.oddbit.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1067205231 29709 128.59.59.56 (26 Oct 2003 21:53:51 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 26 Oct 2003 21:53:51 GMT
User-Agent: slrn/0.9.7.4 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14603

In article <slrnbpnmlo.b28.lars@news.oddbit.com>, Lars Kellogg-Stedman wrote:
: That's interesting, because the 'send' command behaves differently.  For
: example, if I connect via 'kermit -C "ssh remotehost"', and then on the
: remote system type:
: 
:   kermit -C 'send /recursive directory'
: 
: I get the whole thing.
: 
: On the other hand, neither:
: 
:   kermit -L -s directory
: 
: Nor:
:  
:   kermit -L -s directory/*
: 
: Actually work.  The second version (directory/*) will send the contents of
: directory, but without recursing into subdirectories.  Of course, 'kermit
: -h' says:
: 
:   -L  Recursive directory descent for files in -s option
: 
: I suspect I may just be misunderstanding what that means, since one can
: work around this by running:
: 
:   kermit -L -s `find directory`
: 
: But this seems like it could easily bog down for a large directory
: hierarchy.
: 
As it says in:

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

"To descend a directory tree when sending files, use the -L command-line
option to indicate that the send operation is to be recursive, and include
a name or pattern to be sent.  When giving a pattern, you should enclose
it in quotes to prevent the shell from expanding it."  So:

  kermit -L -s "directory/*"

should work.

- Frank


From jaltman@columbia.edu Mon Oct 27 10:00:04 2003
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Jeffrey Altman <jaltman@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit losing first byte of tcp connection
Date: 27 Oct 2003 01:47:19 GMT
Organization: Columbia University
Lines: 55
Message-ID: <bnhtf7$ale$1@newsmaster.cc.columbia.edu>
References: <slrnbpnrjt.bg5.lars@news.oddbit.com>
NNTP-Posting-Host: papaya.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1067219239 10926 128.59.59.107 (27 Oct 2003 01:47:19 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 27 Oct 2003 01:47: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:14604

A couple of questions:

 * what commands are you using to connect to the server?

 * does a session log, LOG SESSION, include the initial character?

 * where is the character being lost?  only in the INPUT processing
   or also in the CONNECT handling?

 * which version of Kermit?

 * which operating system?

 * which makefile entry was used to build it?

Jeffrey Altman
Kermit 95 Author
Volunteer


Lars Kellogg-Stedman <lars_news@larsshack.org> wrote:
: I'm using kermit to script some tests of our SMTP server.  When one
: connects to an SMTP server, the server immediately sends something along
: the lines of:

:   220 <server> ESMTP <software>

: With kermit, I always lose the first byte, so that instead I see:

:   20 <server> ESMTP <software>

: This means that commands such as the following will fail:

:   input 10 \fpattern(220 *)\13

: Is there anything I can do to prevent this from happening?  I can work
: around the problem by doing:

:   set host /pty telnet <host> 25

: But that's just ugly.

: Cheers,

: -- Lars

: -- 
: Lars Kellogg-Stedman <lars_news@larsshack.org>


-- 
 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 Tue Oct 28 16:27:12 2003
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: FAQs Updated
Followup-To: comp.protocols.kermit.misc
Date: 28 Oct 2003 20:58:14 GMT
Organization: Columbia University
Lines: 40
Message-ID: <slrnbptm35.n1r.fdc@sesame.cc.columbia.edu>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1067374694 2082 128.59.59.56 (28 Oct 2003 20:58:14 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 28 Oct 2003 20:58:14 GMT
User-Agent: slrn/0.9.7.4 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14605

As tech-support questions come in by email, netnews, etc, we try to
keep the appropriate FAQs updated.  Recent changes include:

 . More and more information about how to invoke Kermit 95 from
   other processes: in C++, in Java; to make a connection, to use
   an existing connection; to execute Telnet protocol, to use a
   raw socket:

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

 . More hints and tips about what to do when various types of keys
   (arrow, F-keys, numeric keypad, editing keys) don't work in the
   Kermit 95's terminal screen:

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

 . Kermit 95 installation and upgrade problems:

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

FTP related questions and answers have been split off into their own
new, separate FAQ:

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

which is mostly devoted to secure connections, with special sub-pages
on particular services, such as IBM Info Exchange:

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

And First Health Services Corporation:

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

The latter two are indicative of Kermit's growing role in secure e-commerce:
trading partners, medical and pharmaceutical claim submission, etc.

Suggestions for further FAQ entries are always welcome.

- Frank


From carldeitrich5@comcast.net Wed Oct 29 12:51:20 2003
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!news.maxwell.syr.edu!postnews1.google.com!not-for-mail
From: carldeitrich5@comcast.net (Carl)
Newsgroups: comp.protocols.kermit.misc
Subject: TEST NETWORK CONNECTION
Date: 29 Oct 2003 06:31:17 -0800
Organization: http://groups.google.com
Lines: 8
Message-ID: <4c64004.0310290631.3b5f136c@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 1067437877 30420 127.0.0.1 (29 Oct 2003 14:31:17 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 29 Oct 2003 14:31:17 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14606

I am trying to write a script which looks to see if a netwok
connection is available and if it is sent files over the network.  If
the network is not available I want to initiate a script that will
send the files over a land line phone.
 
thanks in advance,
Carl Deitrich
carldeitrich5@comcast.net


From fdc@columbia.edu Wed Oct 29 17:21:52 2003
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: TEST NETWORK CONNECTION
Date: 29 Oct 2003 17:51:13 GMT
Organization: Columbia University
Lines: 29
Message-ID: <slrnbpvvgh.751.fdc@sesame.cc.columbia.edu>
References: <4c64004.0310290631.3b5f136c@posting.google.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1067449873 19581 128.59.59.56 (29 Oct 2003 17:51:13 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 29 Oct 2003 17:51:13 GMT
User-Agent: slrn/0.9.7.4 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14608

In article <4c64004.0310290631.3b5f136c@posting.google.com>, Carl wrote:
: I am trying to write a script which looks to see if a netwok
: connection is available and if it is sent files over the network.  If
: the network is not available I want to initiate a script that will
: send the files over a land line phone.
:  
echo "Trying net..."
set host xxx
if fail {
    echo "Net connection failed - trying phone..."
    set modem type yyy
    set speed 57600     ; or whatever
    dial 7654321
    if fail exit 1 "Phone connection failed too"
}

; If you reach this point you have a connection,
; and you can log in, start Kermit on the other end,
; transfer files, and log out.

See "help set host" for SET HOST command details.  See "help dial" and
"help set dial" and "help set modem" for dialing options and details.
See:

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

for a scripting tutorial and examples.

- Frank


From fdc@columbia.edu Wed Oct 29 17:38:58 2003
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: TEST NETWORK CONNECTION
Date: 29 Oct 2003 22:22:52 GMT
Organization: Columbia University
Lines: 23
Message-ID: <slrnbq0fds.a05.fdc@sesame.cc.columbia.edu>
References: <4c64004.0310290631.3b5f136c@posting.google.com> <slrnbpvvgh.751.fdc@sesame.cc.columbia.edu>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1067466172 2252 128.59.59.56 (29 Oct 2003 22:22:52 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 29 Oct 2003 22:22:52 GMT
User-Agent: slrn/0.9.7.4 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14609

In article <slrnbpvvgh.751.fdc@sesame.cc.columbia.edu>, Frank da Cruz wrote:
: In article <4c64004.0310290631.3b5f136c@posting.google.com>, Carl wrote:
:: I am trying to write a script which looks to see if a netwok
:: connection is available and if it is sent files over the network.  If
:: the network is not available I want to initiate a script that will
:: send the files over a land line phone.
::  
: echo "Trying net..."
: set host xxx
: if fail {
:     echo "Net connection failed - trying phone..."
:     set modem type yyy
:
Sorry, I left out a vital command here:

      set line /dev/ttyS0 ; (or whatever) to open the serial port

:     set speed 57600     ; or whatever
:     dial 7654321
:     if fail exit 1 "Phone connection failed too"
: }

- Frank


From carldeitrich5@comcast.net Thu Oct 30 12:07:08 2003
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: Re: TEST NETWORK CONNECTION
Date: 30 Oct 2003 08:28:49 -0800
Organization: http://groups.google.com
Lines: 34
Message-ID: <4c64004.0310300828.29056c35@posting.google.com>
References: <4c64004.0310290631.3b5f136c@posting.google.com> <slrnbpvvgh.751.fdc@sesame.cc.columbia.edu>
NNTP-Posting-Host: 146.145.216.207
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1067531330 6305 127.0.0.1 (30 Oct 2003 16:28:50 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 30 Oct 2003 16:28:50 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14610

Frank da Cruz <fdc@columbia.edu> wrote in message news:<slrnbpvvgh.751.fdc@sesame.cc.columbia.edu>...
> In article <4c64004.0310290631.3b5f136c@posting.google.com>, Carl wrote:
> : I am trying to write a script which looks to see if a netwok
> : connection is available and if it is sent files over the network.  If
> : the network is not available I want to initiate a script that will
> : send the files over a land line phone.
> :  
> echo "Trying net..."
> set host xxx
> if fail {
>     echo "Net connection failed - trying phone..."
>     set modem type yyy
>     set speed 57600     ; or whatever
>     dial 7654321
>     if fail exit 1 "Phone connection failed too"
> }
> 
> ; If you reach this point you have a connection,
> ; and you can log in, start Kermit on the other end,
> ; transfer files, and log out.
> 
> See "help set host" for SET HOST command details.  See "help dial" and
> "help set dial" and "help set modem" for dialing options and details.
> See:
> 
>   http://www.columbia.edu/kermit/ckscripts.html
> 
> for a scripting tutorial and examples.
> 
> - Frank

FRANK,
THANKS ALOT!  WORKED LIKE A CHARM
CARL


From anthonypieper@cs.com Thu Oct 30 12:30:00 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 pass a password in a kermit script
Date: 30 Oct 2003 09:22:51 -0800
Organization: http://groups.google.com
Lines: 10
Message-ID: <f0bb0f39.0310300922.3c050ba8@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 1067534571 10161 127.0.0.1 (30 Oct 2003 17:22:51 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 30 Oct 2003 17:22:51 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14611

I have a kermit script that logs onto a secure ftp server (via ssh),
when I issue the open command, it waits for a password.

How can I pass this password from within the kermit script, so it
automatically logs me on ?

Also, is there a way to check if I cannot make a connection ?


Thanks.


From fdc@columbia.edu Thu Oct 30 12:48:23 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 pass a password in a kermit script
Date: 30 Oct 2003 17:35:37 GMT
Organization: Columbia University
Lines: 23
Message-ID: <slrnbq2iv8.oe.fdc@sesame.cc.columbia.edu>
References: <f0bb0f39.0310300922.3c050ba8@posting.google.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1067535337 27275 128.59.59.56 (30 Oct 2003 17:35:37 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 30 Oct 2003 17:35:37 GMT
User-Agent: slrn/0.9.7.4 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14612

In article <f0bb0f39.0310300922.3c050ba8@posting.google.com>,
newexpectuser wrote:
: I have a kermit script that logs onto a secure ftp server (via ssh),
: when I issue the open command, it waits for a password.
: 
: How can I pass this password from within the kermit script, so it
: automatically logs me on ?
: 
: Also, is there a way to check if I cannot make a connection ?
: 
Last first: Only by trying it.

As to the password, see:

  http://www.columbia.edu/kermit/ckermit80.html#x2.1

Briefly, SSH is an "external transport protocol" to C-Kermit.  It is the
external SSH program that is prompting you for the password, and there is
usually no way to script it; it depends on the SSH client.  The only sure
way to avoid a password prompt is to set up public-private key pairs to
allow login without a password, but this has its own risks.

- Frank


From fdc@columbia.edu Fri Oct 31 13:17:45 2003
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit losing first byte of tcp connection
Date: 31 Oct 2003 18:06:35 GMT
Organization: Columbia University
Lines: 23
Message-ID: <slrnbq595b.7u.fdc@sesame.cc.columbia.edu>
References: <slrnbpnrjt.bg5.lars@news.oddbit.com> <bnu6a1$n6f$1@newsmaster.cc.columbia.edu>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1067623595 25767 128.59.59.56 (31 Oct 2003 18:06:35 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 31 Oct 2003 18:06:35 GMT
User-Agent: slrn/0.9.7.4 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14614

In article <bnu6a1$n6f$1@newsmaster.cc.columbia.edu>, Jeffrey Altman wrote:
: Lars Kellogg-Stedman <lars_news@larsshack.org> wrote:
:: I'm using kermit to script some tests of our SMTP server.  When one
:: connects to an SMTP server, the server immediately sends something along
:: the lines of:
: 
::   220 <server> ESMTP <software>
: 
:: With kermit, I always lose the first byte, so that instead I see:
: 
::   20 <server> ESMTP <software>
: ...
: This has been fixed in the source tree and will be corrected in the next
: release.
: 
I'll try to get the new C-Kermit sources up within a few days:

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

For K95, a whole new release will be required.  I can't estimate when that
will happen.

- Frank


From RM.TAG.brhc@lehigh.edu Fri Oct 31 14:48:17 2003
Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!newshosting.com!news-xfer1.atl.newshosting.com!diablo.voicenet.com!nntp.upenn.edu!Lehigh.EDU!usenet
From: Bryan Hodgson <RM.TAG.brhc@lehigh.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Direct connection across a USB-connected DB9.
Date: Fri, 31 Oct 2003 13:21:55 -0500
Lines: 42
Message-ID: <oprxw6mthj3k6cjf@news.lehigh.edu>
NNTP-Posting-Host: dhcp5-181.eecs.lehigh.edu
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset=iso-8859-15
Content-Transfer-Encoding: 8bit
User-Agent: Opera7.21/Win32 M2 build 3218
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14615


My latest laptop lacks a DB-9 serial port, useful to me for connecting to 
device consoles.  So I purchased the laptop vendor's recommendation, a 
Belkin FSU103; basically, it's a DB-9 connector at the end of a USB cable 
with some status lights to show that it's plugged in / moving data / no 
errors.  WXP.  Device Manager thinks the device really IS a serial port, 
and not a modem.  And I dug out my copy of Kermit95, and applied the 
latest (01/2003?) updates.

HyperTerminal works fine across this device when connected directly to the 
serial port and (for example) /dev/ttya on a Sun, although HyperTerminal 
itself is still brain-dead, of course.  Enter Kermit.

Using a K95 console with:

Communications Parameters:
  Port: com4, speed: 9600, mode: local, modem: generic
  Parity: none, stop-bits: (default) (8N1)
  Duplex: full, flow: rts/cts, handshake: none
  Carrier-watch: off, close-on-disconnect: off
  Terminal bytesize: 8, escape character: 29 (^])
  Priority: regular

  Carrier Detect      (CD):  Off
  Dataset Ready       (DSR): On
  Clear To Send       (CTS): On
  Ring Indicator      (RI):  Off
  Data Terminal Ready (DTR): (unknown)
  Request To Send     (RTS): (unknown)

(arrived at via set line com4; set sp 96; set carr off; set flo /dir) ...

When this session is connected, the terminal displays nothing in response 
to keystrokes (e.g. enter), though though the send and receive lights on 
the serial port device both flash.  If I Alt-X back to the command window 
and C again, the terminal suddenly flushes the output of the previous 
keystrokes.

I presume that I'm clueless about some critical parameter that Kermit 
needs but doesn't have.  Suggestions would be appreciated.




From fdc@columbia.edu Fri Oct 31 15:09:44 2003
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Direct connection across a USB-connected DB9.
Date: 31 Oct 2003 19:50:53 GMT
Organization: Columbia University
Lines: 37
Message-ID: <slrnbq5f8s.cod.fdc@sesame.cc.columbia.edu>
References: <oprxw6mthj3k6cjf@news.lehigh.edu>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1067629853 952 128.59.59.56 (31 Oct 2003 19:50:53 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 31 Oct 2003 19:50:53 GMT
User-Agent: slrn/0.9.7.4 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14616

In article <oprxw6mthj3k6cjf@news.lehigh.edu>, Bryan Hodgson wrote:
: 
: My latest laptop lacks a DB-9 serial port, useful to me for connecting to 
: device consoles.  So I purchased the laptop vendor's recommendation, a 
: Belkin FSU103; basically, it's a DB-9 connector at the end of a USB cable 
: with some status lights to show that it's plugged in / moving data / no 
: errors.  WXP.  Device Manager thinks the device really IS a serial port, 
: and not a modem.  And I dug out my copy of Kermit95, and applied the 
: latest (01/2003?) updates.
: 
: HyperTerminal works fine across this device when connected directly to the 
: serial port and (for example) /dev/ttya on a Sun, although HyperTerminal 
: itself is still brain-dead, of course.  Enter Kermit.
: 
: Using a K95 console with:
: 
: Communications Parameters:
:   Port: com4...
:
Say no more.  Instead of telling K95 to:

  set modem type generic
  set port 4

Tell it to:

  set port tapi

Or (if you have more than one TAPI device defined):

  set port tapi <name-of-this-device>

For greater detail see the Kermit 95 FAQ:

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

- Frank


From jaltman@columbia.edu Fri Oct 31 15:10:28 2003
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Jeffrey Altman <jaltman@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Direct connection across a USB-connected DB9.
Date: 31 Oct 2003 19:59:03 GMT
Organization: Columbia University
Lines: 29
Message-ID: <bnueu7$t1$1@newsmaster.cc.columbia.edu>
References: <oprxw6mthj3k6cjf@news.lehigh.edu>
NNTP-Posting-Host: mango.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1067630343 929 128.59.59.104 (31 Oct 2003 19:59:03 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 31 Oct 2003 19:59:03 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:14617

The implementation of the USB Serial Port driver differs from the
standard Serial Port driver.  Kermit 95's configuration of the serial
port does not work correctly with the USB Serial Port driver.  

This is a known bug. 


Bryan Hodgson <RM.TAG.brhc@lehigh.edu> wrote:

: My latest laptop lacks a DB-9 serial port, useful to me for connecting to 
: device consoles.  So I purchased the laptop vendor's recommendation, a 
: Belkin FSU103; basically, it's a DB-9 connector at the end of a USB cable 
: with some status lights to show that it's plugged in / moving data / no 
: errors.  WXP.  Device Manager thinks the device really IS a serial port, 
: and not a modem.  And I dug out my copy of Kermit95, and applied the 
: latest (01/2003?) updates.

: When this session is connected, the terminal displays nothing in response 
: to keystrokes (e.g. enter), though though the send and receive lights on 
: the serial port device both flash.  If I Alt-X back to the command window 
: and C again, the terminal suddenly flushes the output of the previous 
: keystrokes.


-- 
 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 msapiro@ccsf.edu Sat Nov  1 11:04:12 2003
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!in.100proofnews.com!in.100proofnews.com!attla2!ip.att.net!usc.edu!newshub.csu.net!sand.ccsf.cc.ca.us!fog.ccsf.cc.ca.us!msapiro
From: Mark Sapiro <msapiro@ccsf.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Protocol Error: NAK out of window
Date: Fri, 31 Oct 2003 17:19:30 -0800
Organization: City College of San Francisco
Lines: 132
Message-ID: <Pine.HPX.4.44.0310311650430.13666-100000@fog.ccsf.cc.ca.us>
References: <Dg_nb.118720$h61.101506@news01.bloor.is.net.cable.rogers.com>
NNTP-Posting-Host: fog.ccsf.cc.ca.us
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-X-Sender: msapiro@fog.ccsf.cc.ca.us
In-Reply-To: <Dg_nb.118720$h61.101506@news01.bloor.is.net.cable.rogers.com>
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14618

On Thu, 30 Oct 2003, computer person wrote:

> Hi,
>
> I am pretty new to kermit but pretty computer savey. I built a script to
> connect to ministry of health to send health #'s for validity check. The
> file transfer fails around 25-30% of the time on error "Protocol Error: NAK
> out of window". Any ideas would be greatful. Do you think adding "robust"
> would do anything positive? I only get a few chances to submit a transfer
> per day so I try to keep the guesses to a minimum.

I was hoping Frank would respond to this one as his reply would be much
better than mine, I'm sure, but there's been no reply from Frank so maybe
tthis post didn't reach his news server even though it got to me and to
Google Groups.

Yes, I think "robust" would help.  So might "set window-size 1".  The
error message seems clear.  I think the sender is receiving a NAK to
a packet that has already been released from the window, presumably because
it was already ACKed.  This would indicate at least one side of the
transfer does not implement the protocol correctly.  Your logs indicate
the sender (your side) is C-Kermit 8.0.209.  I would guess the problem
is with the receiver.  What Kermit is running there?

> My set up is as follows with a few comments added that are not in the
> running script:
>
> --------------
> SET DIAL DISPLAY ON
> set retry-limit 0   --this makes no difference ..
> set modem type generic  -- tried 3 different modems and they all get the NAK
> error occasionally..usr, boca and creativelabs
> set line /dev/tty1
> set speed 38400
> set stop-bits 1
> SET FLOW RTS/CTS
> set protocol kermit
> dial 19999999999  (fake #)
> INPUT 8 {Please log on}
> IF FAIL quit 1 MSG999 did not present a login prompt. Run Terminated.
> PAUSE 1
> OUTPUT useridxx\{13}
> INPUT 8 {Password?}
> IF FAIL quit 1 MSG999 did not present a Password prompt. Run Terminated.
> PAUSE 1
> OUTPUT pwxxxxx\{13}
> <some snipped>

Presumably the snipped part has to do with starting a Kermit receiver
at the remote end.  Again, what Kermit is this?  How does it identify
itself?

> send filename.txt
> SET EXIT WARNING OFF

Instead of the above, why not "close connection" and/or "hangup"?

> EXIT
> --------------
>
> here is the transaction log from kermit:
>
> Transaction Log: C-Kermit 8.0.209, 17 Mar 2003
>  IBM AIX 4.3
> Tue Oct 28 06:44:07 2003
>
> Transaction begins Tue Oct 28 06:44:52 2003
>
> Global file mode: binary
>
> Sending filename.txt
>  as filename.TXT
>  mode: text
>  xfer character set ASCII
>  file character set US ASCII
>  complete, size: 60517
>
> Transaction complete Tue Oct 28 06:45:33 2003
>
>  elapsed time (seconds)  : 31
>  effective data rate     : 1895
>
> Protocol Error: NAK out of window
>
> Transaction complete Tue Oct 28 06:45:33 2003
>
>  elapsed time (seconds)  : 32
>  effective data rate     : 1856
>
>  failed: NAK out of window
> Transaction Log Closed

This seems to indicate the error doesn't occur until after the send
completed.  I don't know why this would be, but it seems clear that
at least one side is doing something wrong.  Is the file received
completely in this case?

>
> ----
>
> Here is the same log of one that worked with no changes to the script:
>
> Transaction Log: C-Kermit 8.0.209, 17 Mar 2003
>  IBM AIX 4.3
> Tue Oct 28 16:11:46 2003
>
> Transaction begins Tue Oct 28 16:12:49 2003
>
> Global file mode: binary
>
> Sending filename.txt
>  as filename.TXT
>  mode: text
>  xfer character set ASCII
>  file character set US ASCII
>  complete, size: 62854
>
> Transaction complete Tue Oct 28 16:13:18 2003
>
>  elapsed time (seconds)  : 20
>  effective data rate     : 2996
>
> Transaction Log Closed
>
> ---
>


--
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 Sat Nov  1 11:15:36 2003
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: Direct connection across a USB-connected DB9.
Date: 31 Oct 2003 19:18:39 -0800
Organization: http://groups.google.com
Lines: 31
Message-ID: <8ce22d01.0310311918.69f5448e@posting.google.com>
References: <oprxw6mthj3k6cjf@news.lehigh.edu> <bnueu7$t1$1@newsmaster.cc.columbia.edu> <oprxxgydea3k6cjf@news.lehigh.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 1067656720 17693 127.0.0.1 (1 Nov 2003 03:18:40 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sat, 1 Nov 2003 03:18:40 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14619

Bryan Hodgson <RM.TAG.brhc@lehigh.edu> wrote in message news:<oprxxgydea3k6cjf@news.lehigh.edu>...


Jeff and Frank helped me with a problem with a win modem in a new laptop.
In the end the real solution was/is a pcmcia hardware modem.
I think this (really a pcmcia rs232 card) may be your best answer?
More expensive than a USB dongle, but cheaper than the air fare for the Sun.
Much preferable to the frustration of using Hyperterm.
Regards...Dan.

> Jeff and Frank ...
> 
> OK.  I tried Frank's TAPI suggestion, but that did not yield any different
> behavior.  I even found a copy of Kermit 3.15 and tried running it inside
> a DOS compatabity box (desperate measures).  That was the only potentially
> relevant suggestion I found on Belkin's web site.
> 
> I reckon I'm going to have to (shudder) get used to using HyperTerminal.  
> Or
> dragging a Sun around with me <g>.
> 
> Thanks.
> 
> On 31 Oct 2003 19:59:03 GMT, Jeffrey Altman <jaltman@columbia.edu> wrote:
> 
> > The implementation of the USB Serial Port driver differs from the
> > standard Serial Port driver.  Kermit 95's configuration of the serial
> > port does not work correctly with the USB Serial Port driver.
> >
> > This is a known bug.
> >


From fdc@columbia.edu Sat Nov  1 11:38:56 2003
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Protocol Error: NAK out of window
Date: 1 Nov 2003 16:15:20 GMT
Organization: Columbia University
Lines: 54
Message-ID: <slrnbq7n0o.7lp.fdc@sesame.cc.columbia.edu>
References: <Dg_nb.118720$h61.101506@news01.bloor.is.net.cable.rogers.com> <Pine.HPX.4.44.0310311650430.13666-100000@fog.ccsf.cc.ca.us>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1067703320 24380 128.59.59.56 (1 Nov 2003 16:15:20 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 1 Nov 2003 16:15:20 GMT
User-Agent: slrn/0.9.7.4 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14620

In article <Pine.HPX.4.44.0310311650430.13666-100000@fog.ccsf.cc.ca.us>,
Mark Sapiro wrote:
: On Thu, 30 Oct 2003, computer person wrote:
:> I am pretty new to kermit but pretty computer savey. I built a script to
:> connect to ministry of health to send health #'s for validity check. The
:> file transfer fails around 25-30% of the time on error "Protocol Error:
:> NAK out of window". Any ideas would be greatful. Do you think adding
:> "robust" would do anything positive? I only get a few chances to submit a
:> transfer per day so I try to keep the guesses to a minimum.
: 
: I was hoping Frank would respond to this one as his reply would be much
: better than mine, I'm sure...
:
Not necessarily, but something must be wrong with our news service because
the original post never came in here.  Or at least I missed it somehow --
hard to say, too many things changing at once at our place.

: Yes, I think "robust" would help.  So might "set window-size 1".  The
: error message seems clear.  I think the sender is receiving a NAK to
: a packet that has already been released from the window, presumably because
: it was already ACKed.  This would indicate at least one side of the
: transfer does not implement the protocol correctly.  Your logs indicate
: the sender (your side) is C-Kermit 8.0.209.  I would guess the problem
: is with the receiver.  What Kermit is running there?
: 
That's the key question of course.  We have not had very good experience
with third-party Kermit implementations, as you can see from:

  http://www.columbia.edu/kermit/ckermit70.html#x4.22
  http://www.columbia.edu/kermit/ckermit80.html#x15
  http://www.columbia.edu/kermit/kermit.html#notslow

: This seems to indicate the error doesn't occur until after the send
: completed.  I don't know why this would be, but it seems clear that
: at least one side is doing something wrong.  Is the file received
: completely in this case?
: 
If you can collect a packet log (tell C-Kermit to "log packets") I can
take a look and see how the error comes about.

In any case, read at least the first two links above and try some of the
suggestions.  You can also consult Chapter 10, "Solving File Transfer
Problems" of "Using C-Kermit".

As Mark suggests, the most likely culprit is a faulty sliding-windows
implementation in the other Kermit, in which case "set window 1" should
eliminate the error.  Of course it might also slow down the transfers, but
a slower transfer is still faster than one that failed.

"Robust" is the last resort, because this results in the slowest throughput.
If you can get by with long packets but one window slot, the performance
shouldn't be too bad, unless you're going through a satellite or something.

- Frank


From fdc@columbia.edu Sat Nov  1 11:39:09 2003
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Direct connection across a USB-connected DB9.
Date: 1 Nov 2003 16:23:57 GMT
Organization: Columbia University
Lines: 32
Message-ID: <slrnbq7ngt.7lp.fdc@sesame.cc.columbia.edu>
References: <oprxw6mthj3k6cjf@news.lehigh.edu> <bnueu7$t1$1@newsmaster.cc.columbia.edu> <oprxxgydea3k6cjf@news.lehigh.edu> <8ce22d01.0310311918.69f5448e@posting.google.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1067703837 24380 128.59.59.56 (1 Nov 2003 16:23:57 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 1 Nov 2003 16:23:57 GMT
User-Agent: slrn/0.9.7.4 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14621

Bryan Hodgson <RM.TAG.brhc@lehigh.edu> wrote in
message news:<oprxxgydea3k6cjf@news.lehigh.edu>...
: 
: OK.  I tried Frank's TAPI suggestion, but that did not yield any different
: behavior.  I even found a copy of Kermit 3.15 and tried running it inside
: a DOS compatabity box (desperate measures).  That was the only potentially
: relevant suggestion I found on Belkin's web site.
:
Did that work?  I haven't seen the Belkin suggestion (and can't find it) but
it would be more helpful if companies who suspected problems with Kermit
software would contact us about it.

Anyway, sorry for misleading you.  I didn't realize that all USB port access
was broken; Jeff gave the right answer.  Bug #731 in:

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

has been corrected.  As noted there, the fix must await the next K95 release.
I can't say when that will be.  Meanwhile...

In article <8ce22d01.0310311918.69f5448e@posting.google.com>,
Dan Skinner wrote:
: Jeff and Frank helped me with a problem with a win modem in a new laptop.
: In the end the real solution was/is a pcmcia hardware modem.
: I think this (really a pcmcia rs232 card) may be your best answer?
: More expensive than a USB dongle, but cheaper than the air fare for the Sun.
: Much preferable to the frustration of using Hyperterm.
: Regards...Dan.

Thanks Dan.

- Frank


From not-a-real-address@usa.net Sat Nov  1 19:35:20 2003
Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!sn-xit-03!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: How do I pass a password in a kermit script
Date: 02 Nov 2003 00:33:23 GMT
Organization: earthfriends
Message-ID: <m14qxn4nlk.gnus@usa.net>
References: <f0bb0f39.0310300922.3c050ba8@posting.google.com> <slrnbq2iv8.oe.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: 12
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14622

in comp.protocols.kermit.misc i read:

>Briefly, SSH is an "external transport protocol" to C-Kermit.  It is the
>external SSH program that is prompting you for the password, 
[...]
>The only sure way to avoid a password prompt is to set up public-private
>key pairs to allow login without a password, but this has its own risks.

another way is to make use of the agent.

-- 
a signature


From RM.TAG.brhc@lehigh.edu Sun Nov  2 15:38:55 2003
Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!bigboote.WPI.EDU!news.tufts.edu!elk.ncren.net!nntp.upenn.edu!Lehigh.EDU!usenet
From: Bryan Hodgson <RM.TAG.brhc@lehigh.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Direct connection across a USB-connected DB9.
Date: Sun, 02 Nov 2003 14:35:17 -0500
Lines: 26
Message-ID: <oprx0zc3cw3k6cjf@news.lehigh.edu>
References: <oprxw6mthj3k6cjf@news.lehigh.edu> <bnueu7$t1$1@newsmaster.cc.columbia.edu> <oprxxgydea3k6cjf@news.lehigh.edu> <8ce22d01.0310311918.69f5448e@posting.google.com> <slrnbq7ngt.7lp.fdc@sesame.cc.columbia.edu>
NNTP-Posting-Host: dhcp5-181.eecs.lehigh.edu
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset=iso-8859-15
Content-Transfer-Encoding: 8bit
User-Agent: Opera7.21/Win32 M2 build 3218
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14623

On 1 Nov 2003 16:23:57 GMT, Frank da Cruz <fdc@columbia.edu> wrote:

> Bryan Hodgson <RM.TAG.brhc@lehigh.edu> wrote in
> message news:<oprxxgydea3k6cjf@news.lehigh.edu>...
> :
> : OK.  I tried Frank's TAPI suggestion, but that did not yield any 
> different
> : behavior.  I even found a copy of Kermit 3.15 and tried running it 
> inside
> : a DOS compatabity box (desperate measures).  That was the only 
> potentially
> : relevant suggestion I found on Belkin's web site.
> :
> Did that work?  I haven't seen the Belkin suggestion (and can't find it) 
> but
> it would be more helpful if companies who suspected problems with Kermit
> software would contact us about it.

The Belkin suggestion for W2K was to use a DOS box.  Does not work
for WXP.

I'm going to consider the PCMIA rs232 option.

Thanks for your help.

Bryan


From anthonypieper@cs.com Mon Nov  3 09:47:46 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: How do I pass a password in a kermit script
Date: 3 Nov 2003 05:01:55 -0800
Organization: http://groups.google.com
Lines: 11
Message-ID: <f0bb0f39.0311030501.66cd44c@posting.google.com>
References: <f0bb0f39.0310300922.3c050ba8@posting.google.com> <slrnbq2iv8.oe.fdc@sesame.cc.columbia.edu> <m14qxn4nlk.gnus@usa.net>
NNTP-Posting-Host: 209.251.39.194
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1067864516 8954 127.0.0.1 (3 Nov 2003 13:01:56 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 3 Nov 2003 13:01:56 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14625

An agent of SSH or Kermit ?...I've never heard of an agent
those who know me have no need of my name <not-a-real-address@usa.net> wrote in message news:<m14qxn4nlk.gnus@usa.net>...
> in comp.protocols.kermit.misc i read:
> 
> >Briefly, SSH is an "external transport protocol" to C-Kermit.  It is the
> >external SSH program that is prompting you for the password, 
>  [...]
> >The only sure way to avoid a password prompt is to set up public-private
> >key pairs to allow login without a password, but this has its own risks.
> 
> another way is to make use of the agent.


From jaltman@columbia.edu Mon Nov  3 09:47:50 2003
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Jeffrey Altman <jaltman@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: How do I pass a password in a kermit script
Date: 3 Nov 2003 14:17:02 GMT
Organization: Columbia University
Lines: 20
Message-ID: <bo5o0u$kqm$1@newsmaster.cc.columbia.edu>
References: <f0bb0f39.0310300922.3c050ba8@posting.google.com> <slrnbq2iv8.oe.fdc@sesame.cc.columbia.edu> <m14qxn4nlk.gnus@usa.net>
NNTP-Posting-Host: mango.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1067869022 21334 128.59.59.104 (3 Nov 2003 14:17:02 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 3 Nov 2003 14:17:02 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:14626

those who know me have no need of my name <not-a-real-address@usa.net> wrote:
: in comp.protocols.kermit.misc i read:

:>Briefly, SSH is an "external transport protocol" to C-Kermit.  It is the
:>external SSH program that is prompting you for the password, 
: [...]
:>The only sure way to avoid a password prompt is to set up public-private
:>key pairs to allow login without a password, but this has its own risks.

: another way is to make use of the agent.

ssh-agent requires the use of public-private key pairs.  However, 
public-private key pairs are safer to use than passwords in every 
case because a password is easier to steal and transport between
systems.

A properly password protected private key file preloaded into the
ssh-agent will provide stronger security than the embedding of a 
password in a script.



From anthonypieper@cs.com Mon Nov  3 15:32: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: Re: How do I pass a password in a kermit script
Date: 3 Nov 2003 12:18:18 -0800
Organization: http://groups.google.com
Lines: 1
Message-ID: <f0bb0f39.0311031218.7169c675@posting.google.com>
References: <f0bb0f39.0310300922.3c050ba8@posting.google.com> <slrnbq2iv8.oe.fdc@sesame.cc.columbia.edu> <m14qxn4nlk.gnus@usa.net> <bo5o0u$kqm$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 1067890698 7639 127.0.0.1 (3 Nov 2003 20:18:18 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 3 Nov 2003 20:18:18 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14627

We just want to use a password passed from a kermit script instead of using keys.


From fdc@columbia.edu Mon Nov  3 15:51:50 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 pass a password in a kermit script
Date: 3 Nov 2003 20:45:21 GMT
Organization: Columbia University
Lines: 18
Message-ID: <slrnbqdfj1.me9.fdc@sesame.cc.columbia.edu>
References: <f0bb0f39.0310300922.3c050ba8@posting.google.com> <slrnbq2iv8.oe.fdc@sesame.cc.columbia.edu> <m14qxn4nlk.gnus@usa.net> <bo5o0u$kqm$1@newsmaster.cc.columbia.edu> <f0bb0f39.0311031218.7169c675@posting.google.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1067892321 12478 128.59.59.56 (3 Nov 2003 20:45:21 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 3 Nov 2003 20:45:21 GMT
User-Agent: slrn/0.9.7.4 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14628

In article <f0bb0f39.0311031218.7169c675@posting.google.com>,
newexpectuser wrote:
: We just want to use a password passed from a kermit script instead of 
: using keys.
:
See:

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

You'll have to experiment with it.  I don't recall the details but I'm
pretty sure I concluded it was impossible for Kermit to respond to the
ssh client's password prompt.  See the comments in the script.

The difficulty, of course, comes because SSH is external, rather than
built in, to C-Kermit.  If you were using Windows, you could use Kermit 95
instead, which has a built-in scriptable SSH client.

- Frank


From not-a-real-address@usa.net Tue Nov  4 09:36:53 2003
Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!sn-xit-03!sn-xit-01!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 do I pass a password in a kermit script
Date: 04 Nov 2003 03:31:25 GMT
Organization: earthfriends
Message-ID: <m1fzh4bym2.gnus@usa.net>
References: <f0bb0f39.0310300922.3c050ba8@posting.google.com> <slrnbq2iv8.oe.fdc@sesame.cc.columbia.edu> <m14qxn4nlk.gnus@usa.net> <bo5o0u$kqm$1@newsmaster.cc.columbia.edu> <f0bb0f39.0311031218.7169c675@posting.google.com> <slrnbqdfj1.me9.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:14629

in comp.protocols.kermit.misc i read:

>  ftp://kermit.columbia.edu/kermit/scripts/ckermit/autossh
>
>You'll have to experiment with it.  I don't recall the details but I'm
>pretty sure I concluded it was impossible for Kermit to respond to the
>ssh client's password prompt.  See the comments in the script.

it should be possible, provided that c-kermit runs ssh in a pty
environment, as ssh just uses /dev/tty (often via getpass() or it's kin).

-- 
a signature


From jaltman@columbia.edu Tue Nov  4 09:37:31 2003
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Jeffrey Altman <jaltman@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: How do I pass a password in a kermit script
Date: 4 Nov 2003 13:47:32 GMT
Organization: Columbia University
Lines: 33
Message-ID: <bo8alk$55$2@newsmaster.cc.columbia.edu>
References: <f0bb0f39.0310300922.3c050ba8@posting.google.com> <slrnbq2iv8.oe.fdc@sesame.cc.columbia.edu> <m14qxn4nlk.gnus@usa.net> <bo5o0u$kqm$1@newsmaster.cc.columbia.edu> <f0bb0f39.0311031218.7169c675@posting.google.com> <slrnbqdfj1.me9.fdc@sesame.cc.columbia.edu> <m1fzh4bym2.gnus@usa.net>
NNTP-Posting-Host: mango.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1067953652 165 128.59.59.104 (4 Nov 2003 13:47:32 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 4 Nov 2003 13:47:32 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:14633

those who know me have no need of my name <not-a-real-address@usa.net> wrote:
: in comp.protocols.kermit.misc i read:

:>  ftp://kermit.columbia.edu/kermit/scripts/ckermit/autossh
:>
:>You'll have to experiment with it.  I don't recall the details but I'm
:>pretty sure I concluded it was impossible for Kermit to respond to the
:>ssh client's password prompt.  See the comments in the script.

: it should be possible, provided that c-kermit runs ssh in a pty
: environment, as ssh just uses /dev/tty (often via getpass() or it's kin).

Of course C-Kermit can send the password to the SSH client, this could
be done either as part of the script or as part of the built in command.
It just that neither is being done at the current time.  The point the
comment in the script is supposed to make is that since K95 has OpenSSH
built into the program it is able to automate the use of the password
in ways which the PTY support in C-Kermit cannot.   (For example, know
to use a password as the key to access a private key file, or as input
to obtain a Kerberos credential, or as input to one of the many auth
types which require a password.  

The reason it is hard in a generic script to handle all of these cases 
is that it requires time to research all of the possible prompts.  
Clearly, the author of the script did not take this time.  Members of
the Kermit community are welcome to perform modifications and contribute
updates.

-- 
 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 anthonypieper@cs.com Tue Nov  4 09:46: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: How do I pass a password in a kermit script
Date: 4 Nov 2003 05:16:30 -0800
Organization: http://groups.google.com
Lines: 32
Message-ID: <f0bb0f39.0311040516.50768d0a@posting.google.com>
References: <f0bb0f39.0310300922.3c050ba8@posting.google.com> <slrnbq2iv8.oe.fdc@sesame.cc.columbia.edu> <m14qxn4nlk.gnus@usa.net> <bo5o0u$kqm$1@newsmaster.cc.columbia.edu> <f0bb0f39.0311031218.7169c675@posting.google.com> <Pine.HPX.4.44.0311031239110.3588-100000@fog.ccsf.cc.ca.us>
NNTP-Posting-Host: 209.251.39.194
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1067951791 10786 127.0.0.1 (4 Nov 2003 13:16:31 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 4 Nov 2003 13:16:31 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14631

I don't think though that any version of Kermit can automatically
delete a file it just transfered successfully though ?
Mark Sapiro <msapiro@ccsf.edu> wrote in message news:<Pine.HPX.4.44.0311031239110.3588-100000@fog.ccsf.cc.ca.us>...
> On 3 Nov 2003, newexpectuser wrote:
> 
> > We just want to use a password passed from a kermit script instead of using keys.
> >
> 
> I don't know if this helps or not, but this is what I do with C-Kermit
> 8.0.209 on FreeBSD Unix.
> 
> \m(rhost) and \m(rdomain) are set earlier in the script.
> 
> ...
> assign pswd1 not
> assign pswd2 equal
> while not equal {\m(pswd1)} {\m(pswd2)} {
>    askq pswd1 {Password for \v(userid) on \m(rhost):}
>    askq pswd2 {Reenter to confirm:}
>    }
> set host /pty ssh -e none -l \v(userid) \m(rhost).\m(rdomain)
> if fail end 1 Unable to connect to \m(rhost).
> input 20 assword:
> if fail end 1 No password prompt.
> output \m(pswd1)\13
> ...
> 
> The input and output statements see the password prompt from ssh
> and supply the password.  It works in my situation.
> 
> Of course the password, host info and userid can be supplied in
> many different ways to the script.


From jaltman@columbia.edu Tue Nov  4 09:46:11 2003
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Jeffrey Altman <jaltman@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: How do I pass a password in a kermit script
Date: 4 Nov 2003 13:40:26 GMT
Organization: Columbia University
Lines: 9
Message-ID: <bo8a8a$55$1@newsmaster.cc.columbia.edu>
References: <f0bb0f39.0310300922.3c050ba8@posting.google.com> <slrnbq2iv8.oe.fdc@sesame.cc.columbia.edu> <m14qxn4nlk.gnus@usa.net> <bo5o0u$kqm$1@newsmaster.cc.columbia.edu> <f0bb0f39.0311031218.7169c675@posting.google.com> <Pine.HPX.4.44.0311031239110.3588-100000@fog.ccsf.cc.ca.us> <f0bb0f39.0311040516.50768d0a@posting.google.com>
NNTP-Posting-Host: mango.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1067953226 165 128.59.59.104 (4 Nov 2003 13:40:26 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 4 Nov 2003 13:40:26 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:14632

newexpectuser <anthonypieper@cs.com> wrote:
: I don't think though that any version of Kermit can automatically
: delete a file it just transfered successfully though ?

I have no idea what this has to do with passing a string to a SSH
process running in a PTY but the command you are looking for is

   send /delete <filename>



From surabaja@myrealbox.com Tue Nov  4 09:46:17 2003
Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail
From: surabaja@myrealbox.com (Surabaja Johnny)
Newsgroups: comp.protocols.kermit.misc
Subject: Q: disabling welcome screen in K95 trial
Date: 4 Nov 2003 00:42:04 -0800
Organization: http://groups.google.com
Lines: 10
Message-ID: <e289f31b.0311040042.c7508c0@posting.google.com>
NNTP-Posting-Host: 193.178.235.19
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1067935324 25318 127.0.0.1 (4 Nov 2003 08:42:04 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 4 Nov 2003 08:42:04 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14630

I just downloaded K95 2.1.3 in trial mode
and would like to schedule a simple script
test.bat:  C:\k95.exe C:\test.ksc

Is there a way of turning off the initial 
interactive try/buy/quit screen (on Windows 2K)?

thank you,

Johnny


From jaltman@columbia.edu Tue Nov  4 09:46:24 2003
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Jeffrey Altman <jaltman@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Q: disabling welcome screen in K95 trial
Date: 4 Nov 2003 13:51:40 GMT
Organization: Columbia University
Lines: 19
Message-ID: <bo8atc$55$3@newsmaster.cc.columbia.edu>
References: <e289f31b.0311040042.c7508c0@posting.google.com>
NNTP-Posting-Host: mango.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1067953900 165 128.59.59.104 (4 Nov 2003 13:51:40 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 4 Nov 2003 13:51:40 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:14634

Surabaja Johnny <surabaja@myrealbox.com> wrote:
: I just downloaded K95 2.1.3 in trial mode
: and would like to schedule a simple script
: test.bat:  C:\k95.exe C:\test.ksc

: Is there a way of turning off the initial 
: interactive try/buy/quit screen (on Windows 2K)?

: thank you,

: Johnny

Sorry but no.  

-- 
 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 Tue Nov  4 09:52:49 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 pass a password in a kermit script
Date: 4 Nov 2003 14:45:14 GMT
Organization: Columbia University
Lines: 51
Message-ID: <slrnbqferq.6oa.fdc@sesame.cc.columbia.edu>
References: <f0bb0f39.0310300922.3c050ba8@posting.google.com> <slrnbq2iv8.oe.fdc@sesame.cc.columbia.edu> <m14qxn4nlk.gnus@usa.net> <bo5o0u$kqm$1@newsmaster.cc.columbia.edu> <f0bb0f39.0311031218.7169c675@posting.google.com> <Pine.HPX.4.44.0311031239110.3588-100000@fog.ccsf.cc.ca.us> <f0bb0f39.0311040516.50768d0a@posting.google.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1067957114 2917 128.59.59.56 (4 Nov 2003 14:45:14 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 4 Nov 2003 14:45:14 GMT
User-Agent: slrn/0.9.7.4 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14635

In article <f0bb0f39.0311040516.50768d0a@posting.google.com>,
newexpectuser wrote:
: I don't think though that any version of Kermit can automatically
: delete a file it just transfered successfully though ?
:
Something seems to be wrong with our news server.  The original copy of the
following post never showed up...  Anyway, as the the above -- as Jeff said,
yes, of course Kermit can do that.  For much more about Kermit's capabilities
in this area ("atomic file movement" or "transaction processing"), see:

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

and (as an ftp client):

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

: Mark Sapiro <msapiro@ccsf.edu> wrote in
: message news:<Pine.HPX.4.44.0311031239110.3588-100000@fog.ccsf.cc.ca.us>...
:> On 3 Nov 2003, newexpectuser wrote:
:> ...
:> I don't know if this helps or not, but this is what I do with C-Kermit
:> 8.0.209 on FreeBSD Unix.
:> 
:> \m(rhost) and \m(rdomain) are set earlier in the script.
:> ...
:> assign pswd1 not
:> assign pswd2 equal
:> while not equal {\m(pswd1)} {\m(pswd2)} {
:>    askq pswd1 {Password for \v(userid) on \m(rhost):}
:>    askq pswd2 {Reenter to confirm:}
:> }
:> set host /pty ssh -e none -l \v(userid) \m(rhost).\m(rdomain)
:> if fail end 1 Unable to connect to \m(rhost).
:> input 20 assword:
:> if fail end 1 No password prompt.
:> output \m(pswd1)\13
:> ...
:> 
:> The input and output statements see the password prompt from ssh
:> and supply the password.  It works in my situation.
:
Right, this would be one way to do it, if it can be done.  But it might also
be the case that an ssh client does not use /dev/tty when prompting for the
password.  If yours does, fine.  If not, scripting the interaction will
be a challenge.

In any case, as Jeff says, the scripts in the script library are examples,
samples to be taken as starting points.  Readers have always been welcome to
make contributions.  The invitation still stands.

- Frank


From anthonypieper@cs.com Tue Nov  4 16:35:47 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: Atomic file movement in Kermit
Date: 4 Nov 2003 08:47:05 -0800
Organization: http://groups.google.com
Lines: 18
Message-ID: <f0bb0f39.0311040847.505a54ee@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 1067964425 25893 127.0.0.1 (4 Nov 2003 16:47:05 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 4 Nov 2003 16:47:05 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14636

Can any of the SSH clients of Kermit do Atomic file movement like the
FTP version ?

I have am trying to run a script on a Linux box, open a connection to
a secure server, get all the files in a directory, then delete the
files after they have been transfered successfully.

I seem to be able to find some SSH clients out there, but I need ALL
the following to be able to be done:

1) Able to script the SSH client
2) Able to have the SSH client run on a schedule 
3) Able to pass the password (no key authentication)
4) SSH client must be able to create a log file
5) ABLE TO DELETE file from remote system, once it has been
successfully transfered to the host system.

Thanks in advance


From jaltman@columbia.edu Tue Nov  4 16:36:01 2003
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Jeffrey Altman <jaltman@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Atomic file movement in Kermit
Date: 4 Nov 2003 17:06:35 GMT
Organization: Columbia University
Lines: 38
Message-ID: <bo8mar$a75$1@newsmaster.cc.columbia.edu>
References: <f0bb0f39.0311040847.505a54ee@posting.google.com>
NNTP-Posting-Host: papaya.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1067965595 10469 128.59.59.107 (4 Nov 2003 17:06:35 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 4 Nov 2003 17:06:35 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:14637

Please read 

  http://www.kermit-project.org/skermit.html

which describes the use of C-Kermit as an OpenSSH subsystem for 
file transfer instead of SFTP.  SFTP does not support atomic file
transactions, Kermit protocol does.

Jeffrey Altman
Kermit 95 Author
Volunteer


newexpectuser <anthonypieper@cs.com> wrote:
: Can any of the SSH clients of Kermit do Atomic file movement like the
: FTP version ?

: I have am trying to run a script on a Linux box, open a connection to
: a secure server, get all the files in a directory, then delete the
: files after they have been transfered successfully.

: I seem to be able to find some SSH clients out there, but I need ALL
: the following to be able to be done:

: 1) Able to script the SSH client
: 2) Able to have the SSH client run on a schedule 
: 3) Able to pass the password (no key authentication)
: 4) SSH client must be able to create a log file
: 5) ABLE TO DELETE file from remote system, once it has been
: successfully transfered to the host system.

: Thanks in advance

-- 
 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 anthonypieper@cs.com Wed Nov  5 15:26: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: Re: Atomic file movement in Kermit
Date: 5 Nov 2003 04:24:00 -0800
Organization: http://groups.google.com
Lines: 35
Message-ID: <f0bb0f39.0311050424.65e95d47@posting.google.com>
References: <f0bb0f39.0311040847.505a54ee@posting.google.com> <bo8mar$a75$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 1068035041 7924 127.0.0.1 (5 Nov 2003 12:24:01 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 5 Nov 2003 12:24:01 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14638

is there a specific article about how to do this ?..I was wondering if
there is some option in the K95 GUI/Dialer to do this ?
Jeffrey Altman <jaltman@columbia.edu> wrote in message news:<bo8mar$a75$1@newsmaster.cc.columbia.edu>...
> Please read 
> 
>   http://www.kermit-project.org/skermit.html
> 
> which describes the use of C-Kermit as an OpenSSH subsystem for 
> file transfer instead of SFTP.  SFTP does not support atomic file
> transactions, Kermit protocol does.
> 
> Jeffrey Altman
> Kermit 95 Author
> Volunteer
> 
> 
> newexpectuser <anthonypieper@cs.com> wrote:
> : Can any of the SSH clients of Kermit do Atomic file movement like the
> : FTP version ?
>  
> : I have am trying to run a script on a Linux box, open a connection to
> : a secure server, get all the files in a directory, then delete the
> : files after they have been transfered successfully.
>  
> : I seem to be able to find some SSH clients out there, but I need ALL
> : the following to be able to be done:
>  
> : 1) Able to script the SSH client
> : 2) Able to have the SSH client run on a schedule 
> : 3) Able to pass the password (no key authentication)
> : 4) SSH client must be able to create a log file
> : 5) ABLE TO DELETE file from remote system, once it has been
> : successfully transfered to the host system.
>  
> : Thanks in advance


From jaltman@columbia.edu Wed Nov  5 15:27:35 2003
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Jeffrey Altman <jaltman@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Atomic file movement in Kermit
Date: 5 Nov 2003 15:24:39 GMT
Organization: Columbia University
Lines: 66
Message-ID: <bob4nn$6v0$1@newsmaster.cc.columbia.edu>
References: <f0bb0f39.0311040847.505a54ee@posting.google.com> <bo8mar$a75$1@newsmaster.cc.columbia.edu> <f0bb0f39.0311050424.65e95d47@posting.google.com>
NNTP-Posting-Host: papaya.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1068045879 7136 128.59.59.107 (5 Nov 2003 15:24:39 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 5 Nov 2003 15:24:39 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:14639

An article besides the one I pointed you to?  No.

The SKERMIT web page describes how to install C-Kermit for use as 
an OpenSSH subsystem as well as how to incorporate its functionality 
into a script for use on C-Kermit and Kermit 95.

Although, I am not sure why you are mentioning Kermit 95's dialer
since you stated that you need to run the script on Linux.  However,
assuming you need to run the server on Linux and the client is Windows,
the answer is 'no'.  The K95 dialer at the current moment does not 
support the ability to construct connections to an SSH subsystem.  
Part of the reason is because K95 does not support SFTP and there was
no need to specify that type of configuration.  I will consider adding
it to a future build.

If this type of functionality is important to you and is urgently
required, please contact me privately.

Jeffrey Altman
Kermit 95 Author
Volunteer


newexpectuser <anthonypieper@cs.com> wrote:
: is there a specific article about how to do this ?..I was wondering if
: there is some option in the K95 GUI/Dialer to do this ?
:
: Jeffrey Altman <jaltman@columbia.edu> wrote in message news:<bo8mar$a75$1@newsmaster.cc.columbia.edu>...
:> Please read 
:> 
:>   http://www.kermit-project.org/skermit.html
:> 
:> which describes the use of C-Kermit as an OpenSSH subsystem for 
:> file transfer instead of SFTP.  SFTP does not support atomic file
:> transactions, Kermit protocol does.
:> 
:> Jeffrey Altman
:> Kermit 95 Author
:> Volunteer
:> 
:> 
:> newexpectuser <anthonypieper@cs.com> wrote:
:> : Can any of the SSH clients of Kermit do Atomic file movement like the
:> : FTP version ?
:>  
:> : I have am trying to run a script on a Linux box, open a connection to
:> : a secure server, get all the files in a directory, then delete the
:> : files after they have been transfered successfully.
:>  
:> : I seem to be able to find some SSH clients out there, but I need ALL
:> : the following to be able to be done:
:>  
:> : 1) Able to script the SSH client
:> : 2) Able to have the SSH client run on a schedule 
:> : 3) Able to pass the password (no key authentication)
:> : 4) SSH client must be able to create a log file
:> : 5) ABLE TO DELETE file from remote system, once it has been
:> : successfully transfered to the host system.
:>  
:> : Thanks in advance

-- 
 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 anthonypieper@cs.com Thu Nov  6 09:48:31 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: Login Script Question
Date: 6 Nov 2003 06:33:21 -0800
Organization: http://groups.google.com
Lines: 13
Message-ID: <f0bb0f39.0311060633.58b7ce31@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 1068129201 17345 127.0.0.1 (6 Nov 2003 14:33:21 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 6 Nov 2003 14:33:21 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14640

I am using the K95 GUI with the K95 dialer. I can get the dialer to
connect to my ssh server, but I want to do a cd /home once I am
connected.

There is someway to do this in a Login Script, but I'm not sure how to
start editing a Login Script (Notepad ? or is there a built in editor
in the Kermit GUI ?)

Do I created a .ksc file in Notepad with my commands then on put this
name in the Login settings on the dialer for my session and check the
box "Script file name:" ?

Thanks


From jaltman@columbia.edu Thu Nov  6 10:01:21 2003
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Jeffrey Altman <jaltman@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Login Script Question
Date: 6 Nov 2003 14:50:57 GMT
Organization: Columbia University
Lines: 29
Message-ID: <bodn4h$gb3$1@newsmaster.cc.columbia.edu>
References: <f0bb0f39.0311060633.58b7ce31@posting.google.com>
NNTP-Posting-Host: papaya.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1068130257 16739 128.59.59.107 (6 Nov 2003 14:50:57 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 6 Nov 2003 14:50:57 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:14641

As documented in the Kermit 95 HTML manual, you have two choices:

 * you may create a script file and specify that it be executed
   on the Login page by checking the button "Script file name".

 * you may type the commands you want executed into the text
   edit box and uncheck the button "Script file name"


newexpectuser <anthonypieper@cs.com> wrote:
: I am using the K95 GUI with the K95 dialer. I can get the dialer to
: connect to my ssh server, but I want to do a cd /home once I am
: connected.

: There is someway to do this in a Login Script, but I'm not sure how to
: start editing a Login Script (Notepad ? or is there a built in editor
: in the Kermit GUI ?)

: Do I created a .ksc file in Notepad with my commands then on put this
: name in the Login settings on the dialer for my session and check the
: box "Script file name:" ?

: Thanks

-- 
 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 Thu Nov  6 10:01:42 2003
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Login Script Question
Date: 6 Nov 2003 14:55:02 GMT
Organization: Columbia University
Lines: 24
Message-ID: <slrnbqko66.9j.fdc@sesame.cc.columbia.edu>
References: <f0bb0f39.0311060633.58b7ce31@posting.google.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1068130502 16716 128.59.59.56 (6 Nov 2003 14:55:02 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 6 Nov 2003 14:55:02 GMT
User-Agent: slrn/0.9.7.4 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14642

In article <f0bb0f39.0311060633.58b7ce31@posting.google.com>,
newexpectuser wrote:
: I am using the K95 GUI with the K95 dialer. I can get the dialer to
: connect to my ssh server, but I want to do a cd /home once I am
: connected.
: 
The command would be:

  lineout "cd /home"

: There is someway to do this in a Login Script, but I'm not sure how to
: start editing a Login Script (Notepad ? or is there a built in editor
: in the Kermit GUI ?)
: 
It's a regular Windows text box.  Uncheck the "Script file name" box and
enter the above command in the text box from your keyboard.

: Do I created a .ksc file in Notepad with my commands then on put this
: name in the Login settings on the dialer for my session and check the
: box "Script file name:" ?
: 
You could do that too.

- Frank


From fdc@columbia.edu Thu Nov  6 10:56:05 2003
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit losing first byte of tcp connection
Date: 6 Nov 2003 15:52:52 GMT
Organization: Columbia University
Lines: 23
Message-ID: <slrnbqkrik.848.fdc@sesame.cc.columbia.edu>
References: <slrnbpnrjt.bg5.lars@news.oddbit.com> <bnu6a1$n6f$1@newsmaster.cc.columbia.edu> <slrnbq595b.7u.fdc@sesame.cc.columbia.edu>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1068133972 19844 128.59.59.56 (6 Nov 2003 15:52:52 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 6 Nov 2003 15:52:52 GMT
User-Agent: slrn/0.9.7.4 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14643

In article <slrnbq595b.7u.fdc@sesame.cc.columbia.edu>, Frank da Cruz wrote:
: In article <bnu6a1$n6f$1@newsmaster.cc.columbia.edu>, Jeffrey Altman wrote:
:: Lars Kellogg-Stedman <lars_news@larsshack.org> wrote:
::: I'm using kermit to script some tests of our SMTP server.  When one
::: connects to an SMTP server, the server immediately sends something along
::: the lines of:
:: 
:::   220 <server> ESMTP <software>
:: 
::: With kermit, I always lose the first byte, so that instead I see:
:: 
:::   20 <server> ESMTP <software>
:: ...
:: This has been fixed in the source tree and will be corrected in the next
:: release.
:: 
: I'll try to get the new C-Kermit sources up within a few days:
: 
:   http://www.columbia.edu/kermit/ckdaily.html
: 
It's up now.

- Frank


From fdc@columbia.edu Thu Nov  6 11:06:23 2003
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit losing first byte of tcp connection
Date: 6 Nov 2003 15:52:52 GMT
Organization: Columbia University
Lines: 23
Message-ID: <slrnbqkrik.848.fdc@sesame.cc.columbia.edu>
References: <slrnbpnrjt.bg5.lars@news.oddbit.com> <bnu6a1$n6f$1@newsmaster.cc.columbia.edu> <slrnbq595b.7u.fdc@sesame.cc.columbia.edu>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1068133972 19844 128.59.59.56 (6 Nov 2003 15:52:52 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 6 Nov 2003 15:52:52 GMT
User-Agent: slrn/0.9.7.4 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14643

In article <slrnbq595b.7u.fdc@sesame.cc.columbia.edu>, Frank da Cruz wrote:
: In article <bnu6a1$n6f$1@newsmaster.cc.columbia.edu>, Jeffrey Altman wrote:
:: Lars Kellogg-Stedman <lars_news@larsshack.org> wrote:
::: I'm using kermit to script some tests of our SMTP server.  When one
::: connects to an SMTP server, the server immediately sends something along
::: the lines of:
:: 
:::   220 <server> ESMTP <software>
:: 
::: With kermit, I always lose the first byte, so that instead I see:
:: 
:::   20 <server> ESMTP <software>
:: ...
:: This has been fixed in the source tree and will be corrected in the next
:: release.
:: 
: I'll try to get the new C-Kermit sources up within a few days:
: 
:   http://www.columbia.edu/kermit/ckdaily.html
: 
It's up now.

- Frank


From anthonypieper@cs.com Thu Nov  6 15:34:32 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: Login Script Question
Date: 6 Nov 2003 11:06:26 -0800
Organization: http://groups.google.com
Lines: 33
Message-ID: <f0bb0f39.0311061106.3c6436c@posting.google.com>
References: <f0bb0f39.0311060633.58b7ce31@posting.google.com> <slrnbqko66.9j.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 1068145586 4788 127.0.0.1 (6 Nov 2003 19:06:26 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 6 Nov 2003 19:06:26 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14644

I'm confused on the dialer. I have a command screen and when I press
Alt-X I have a terminal screen.

I got the lineout command to work, but I want to transfer a file now
and there is no "mget or get" command working in the terminal screen.

Also, if I do get the file transfered, does it transfer to the
directory specified on the command screen ?
Frank da Cruz <fdc@columbia.edu> wrote in message news:<slrnbqko66.9j.fdc@sesame.cc.columbia.edu>...
> In article <f0bb0f39.0311060633.58b7ce31@posting.google.com>,
> newexpectuser wrote:
> : I am using the K95 GUI with the K95 dialer. I can get the dialer to
> : connect to my ssh server, but I want to do a cd /home once I am
> : connected.
> : 
> The command would be:
> 
>   lineout "cd /home"
> 
> : There is someway to do this in a Login Script, but I'm not sure how to
> : start editing a Login Script (Notepad ? or is there a built in editor
> : in the Kermit GUI ?)
> : 
> It's a regular Windows text box.  Uncheck the "Script file name" box and
> enter the above command in the text box from your keyboard.
> 
> : Do I created a .ksc file in Notepad with my commands then on put this
> : name in the Login settings on the dialer for my session and check the
> : box "Script file name:" ?
> : 
> You could do that too.
> 
> - Frank


From anthonypieper@cs.com Thu Nov  6 15:40:18 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 with Kermit spawned from Expect script sending files
Date: 6 Nov 2003 12:16:15 -0800
Organization: http://groups.google.com
Lines: 31
Message-ID: <f0bb0f39.0311061216.1ba040a0@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 1068149775 9812 127.0.0.1 (6 Nov 2003 20:16:15 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 6 Nov 2003 20:16:15 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14645

I have the following lines from my EXPECT script, which first spawns
KERMIT, but it is failing trying to get a file called testfile.txt


This is part of the script:

.
.
cd /home
expect {
   "#" {
      send "send *.*\r"
      expect {
      "#" {
      send "rm *.*\r"
.
.


I get this error message when I run it interactively:

"send: unable to stat draft file /root/Mail/testfile.txt: No such file
or directory"

I'm not sure why it is looking in the /root/Mail directory for this
file.

Also, doesn't the KERMIT Send command have a /delete option to delete
after succesful transfer ?

Thanks.


From fdc@columbia.edu Thu Nov  6 15:51:11 2003
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Login Script Question
Date: 6 Nov 2003 20:40:11 GMT
Organization: Columbia University
Lines: 33
Message-ID: <slrnbqlcdb.ooo.fdc@sesame.cc.columbia.edu>
References: <f0bb0f39.0311060633.58b7ce31@posting.google.com> <slrnbqko66.9j.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311061106.3c6436c@posting.google.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1068151211 2974 128.59.59.56 (6 Nov 2003 20:40:11 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 6 Nov 2003 20:40:11 GMT
User-Agent: slrn/0.9.7.4 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14646

In article <f0bb0f39.0311061106.3c6436c@posting.google.com>,
newexpectuser wrote:
: I'm confused on the dialer. I have a command screen and when I press
: Alt-X I have a terminal screen.
: 
: I got the lineout command to work, but I want to transfer a file now
: and there is no "mget or get" command working in the terminal screen.
: 
: Also, if I do get the file transfered, does it transfer to the
: directory specified on the command screen ?
:
Normally people don't mix scripts and the Dialer, but that doesn't mean
it isn't possible.

Note that all the Dialer does is write a script and then tells K95 to
execute it.  If you want to see the script, you can use the File menu to
"Generate Entry Script".  Usually the Dialer just brings you up to the
point of successful connection.  Under certain circumstances, it can also
log you in.  This happens when the connection method (such as Telnet or
SSH) includes a way to do this, or if you execute a login script chosen
on the Login page.

Once you are logged in, you can have your "login script" execute any 
commands you want, whatever you would do by hand and eye.  For instructions
about how to write scripts, you'll need to consult the documentation:

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

and the script writing tutorial and library:

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

- Frank


From fdc@columbia.edu Thu Nov  6 15:51:15 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 Kermit spawned from Expect script sending files
Date: 6 Nov 2003 20:42:53 GMT
Organization: Columbia University
Lines: 15
Message-ID: <slrnbqlcid.ooo.fdc@sesame.cc.columbia.edu>
References: <f0bb0f39.0311061216.1ba040a0@posting.google.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1068151373 2974 128.59.59.56 (6 Nov 2003 20:42:53 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 6 Nov 2003 20:42:53 GMT
User-Agent: slrn/0.9.7.4 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14647

In article <f0bb0f39.0311061216.1ba040a0@posting.google.com>,
newexpectuser wrote:
: I have the following lines from my EXPECT script, which first spawns
: KERMIT, but it is failing trying to get a file called testfile.txt
: 
If you are using Kermit, you don't need to use Expect.  Just do it all
as a Kermit script.  Mixing Kermit and Expect only causes needless 
complications.  For a bit more explanation, read the beginning of:

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

Although it's a page about our FTP client, the explanatory points apply
just as well to your application.

- Frank


From anthonypieper@cs.com Fri Nov  7 09:28:34 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 with Kermit spawned from Expect script sending files
Date: 7 Nov 2003 04:47:46 -0800
Organization: http://groups.google.com
Lines: 27
Message-ID: <f0bb0f39.0311070447.21675f23@posting.google.com>
References: <f0bb0f39.0311061216.1ba040a0@posting.google.com> <slrnbqlcid.ooo.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 1068209266 10721 127.0.0.1 (7 Nov 2003 12:47:46 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 7 Nov 2003 12:47:46 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14648

I like using EXPECT, because I am familiar with it and what I am
trying to do is very simple (get a file over from our secure ftp site
to another server).

EXPECT allows me to pass a password across from the internal server
(non-secure), which I like and need.

I like KERMIT, because I read that it can send a file, then delete it
after it was successfully transfered. I know FTP can do this in
Kermit, but I'm not sure why when I do this send it is failing.

Frank da Cruz <fdc@columbia.edu> wrote in message news:<slrnbqlcid.ooo.fdc@sesame.cc.columbia.edu>...
> In article <f0bb0f39.0311061216.1ba040a0@posting.google.com>,
> newexpectuser wrote:
> : I have the following lines from my EXPECT script, which first spawns
> : KERMIT, but it is failing trying to get a file called testfile.txt
> : 
> If you are using Kermit, you don't need to use Expect.  Just do it all
> as a Kermit script.  Mixing Kermit and Expect only causes needless 
> complications.  For a bit more explanation, read the beginning of:
> 
>   http://www.columbia.edu/kermit/ftpscripts.html
> 
> Although it's a page about our FTP client, the explanatory points apply
> just as well to your application.
> 
> - Frank


From anthonypieper@cs.com Fri Nov  7 09:33:51 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 with Kermit spawned from Expect script sending files
Date: 7 Nov 2003 05:27:31 -0800
Organization: http://groups.google.com
Lines: 34
Message-ID: <f0bb0f39.0311070527.6ce76ffc@posting.google.com>
References: <f0bb0f39.0311061216.1ba040a0@posting.google.com> <slrnbqlcid.ooo.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 1068211652 13357 127.0.0.1 (7 Nov 2003 13:27:32 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 7 Nov 2003 13:27:32 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14650

Frank,

  I looked at the article and have tried this simple connection:

#!/usr/bin/kermit +
echo "Starting"
set host /pipe ssh -e none -l /user:root 111.111.11.111
lineout "mypassword"
echo "Connected"
quit


With this above it does connect, but still waits for me to enter a
password, I thought the lineout would do this for me, that is why I
had mentioned EXPECT earlier, it can pass this value via the "send"
command in EXPECT.

Tony
Frank da Cruz <fdc@columbia.edu> wrote in message news:<slrnbqlcid.ooo.fdc@sesame.cc.columbia.edu>...
> In article <f0bb0f39.0311061216.1ba040a0@posting.google.com>,
> newexpectuser wrote:
> : I have the following lines from my EXPECT script, which first spawns
> : KERMIT, but it is failing trying to get a file called testfile.txt
> : 
> If you are using Kermit, you don't need to use Expect.  Just do it all
> as a Kermit script.  Mixing Kermit and Expect only causes needless 
> complications.  For a bit more explanation, read the beginning of:
> 
>   http://www.columbia.edu/kermit/ftpscripts.html
> 
> Although it's a page about our FTP client, the explanatory points apply
> just as well to your application.
> 
> - Frank


From anthonypieper@cs.com Fri Nov  7 09:36:48 2003
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!news.maxwell.syr.edu!postnews1.google.com!not-for-mail
From: anthonypieper@cs.com (newexpectuser)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: How do I pass a password in a kermit script
Date: 7 Nov 2003 05:07:04 -0800
Organization: http://groups.google.com
Lines: 54
Message-ID: <f0bb0f39.0311070507.1017babd@posting.google.com>
References: <f0bb0f39.0310300922.3c050ba8@posting.google.com> <slrnbq2iv8.oe.fdc@sesame.cc.columbia.edu> <m14qxn4nlk.gnus@usa.net> <bo5o0u$kqm$1@newsmaster.cc.columbia.edu> <f0bb0f39.0311031218.7169c675@posting.google.com> <Pine.HPX.4.44.0311031239110.3588-100000@fog.ccsf.cc.ca.us> <f0bb0f39.0311040516.50768d0a@posting.google.com> <slrnbqferq.6oa.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 1068210425 12013 127.0.0.1 (7 Nov 2003 13:07:05 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 7 Nov 2003 13:07:05 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14649

If anybody is interested, I use EXPECT to spawn a Kermit session, this
way I can pass a password.
Frank da Cruz <fdc@columbia.edu> wrote in message news:<slrnbqferq.6oa.fdc@sesame.cc.columbia.edu>...
> In article <f0bb0f39.0311040516.50768d0a@posting.google.com>,
> newexpectuser wrote:
> : I don't think though that any version of Kermit can automatically
> : delete a file it just transfered successfully though ?
> :
> Something seems to be wrong with our news server.  The original copy of the
> following post never showed up...  Anyway, as the the above -- as Jeff said,
> yes, of course Kermit can do that.  For much more about Kermit's capabilities
> in this area ("atomic file movement" or "transaction processing"), see:
> 
>   http://www.columbia.edu/kermit/case10.html
> 
> and (as an ftp client):
> 
>   http://www.columbia.edu/kermit/ftpscripts.html
> 
> : Mark Sapiro <msapiro@ccsf.edu> wrote in
> : message news:<Pine.HPX.4.44.0311031239110.3588-100000@fog.ccsf.cc.ca.us>...
> :> On 3 Nov 2003, newexpectuser wrote:
> :> ...
> :> I don't know if this helps or not, but this is what I do with C-Kermit
> :> 8.0.209 on FreeBSD Unix.
> :> 
> :> \m(rhost) and \m(rdomain) are set earlier in the script.
> :> ...
> :> assign pswd1 not
> :> assign pswd2 equal
> :> while not equal {\m(pswd1)} {\m(pswd2)} {
> :>    askq pswd1 {Password for \v(userid) on \m(rhost):}
> :>    askq pswd2 {Reenter to confirm:}
> :> }
> :> set host /pty ssh -e none -l \v(userid) \m(rhost).\m(rdomain)
> :> if fail end 1 Unable to connect to \m(rhost).
> :> input 20 assword:
> :> if fail end 1 No password prompt.
> :> output \m(pswd1)\13
> :> ...
> :> 
> :> The input and output statements see the password prompt from ssh
> :> and supply the password.  It works in my situation.
> :
> Right, this would be one way to do it, if it can be done.  But it might also
> be the case that an ssh client does not use /dev/tty when prompting for the
> password.  If yours does, fine.  If not, scripting the interaction will
> be a challenge.
> 
> In any case, as Jeff says, the scripts in the script library are examples,
> samples to be taken as starting points.  Readers have always been welcome to
> make contributions.  The invitation still stands.
> 
> - Frank


From fdc@columbia.edu Fri Nov  7 10:20:35 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 Kermit spawned from Expect script sending files
Date: 7 Nov 2003 14:33:45 GMT
Organization: Columbia University
Lines: 29
Message-ID: <slrnbqnba9.380.fdc@sesame.cc.columbia.edu>
References: <f0bb0f39.0311061216.1ba040a0@posting.google.com> <slrnbqlcid.ooo.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311070447.21675f23@posting.google.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1068215625 18182 128.59.59.56 (7 Nov 2003 14:33:45 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 7 Nov 2003 14:33:45 GMT
User-Agent: slrn/0.9.7.4 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14651

In article <f0bb0f39.0311070447.21675f23@posting.google.com>,
newexpectuser wrote:
: I like using EXPECT, because I am familiar with it and what I am
: trying to do is very simple (get a file over from our secure ftp site
: to another server).
: 
: EXPECT allows me to pass a password across from the internal server
: (non-secure), which I like and need.
: 
If Expect can pass the password to your SSH client, then so can Kermit.
See:

  http://www.columbia.edu/kermit/ckermit70.html#x2.7

(and its subsections).

: I like KERMIT, because I read that it can send a file, then delete it
: after it was successfully transfered. I know FTP can do this in
: Kermit, but I'm not sure why when I do this send it is failing.
: 
It will fail if deletion is not allowed by your access rights over the file.

Of course different methods are required for a Kermit client/server and
FTP connections.  If you want an analysis of why it's failing, you'll need
to send the details to:

  kermit-support@columbia.edu

- Frank


From fdc@columbia.edu Fri Nov  7 10:20:39 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 Kermit spawned from Expect script sending files
Date: 7 Nov 2003 14:36:38 GMT
Organization: Columbia University
Lines: 21
Message-ID: <slrnbqnbfm.380.fdc@sesame.cc.columbia.edu>
References: <f0bb0f39.0311061216.1ba040a0@posting.google.com> <slrnbqlcid.ooo.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311070527.6ce76ffc@posting.google.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1068215798 18182 128.59.59.56 (7 Nov 2003 14:36:38 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 7 Nov 2003 14:36:38 GMT
User-Agent: slrn/0.9.7.4 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14652

In article <f0bb0f39.0311070527.6ce76ffc@posting.google.com>,
newexpectuser wrote:
: 
: I looked at the article and have tried this simple connection:
: 
:   #!/usr/bin/kermit +
:   echo "Starting"
:   set host /pipe ssh -e none -l /user:root 111.111.11.111
:   lineout "mypassword"
:   echo "Connected"
:   quit
: 
: With this above it does connect, but still waits for me to enter a
: password, I thought the lineout would do this for me, that is why I
: had mentioned EXPECT earlier, it can pass this value via the "send"
: command in EXPECT.
: 
What if you use "set host /pty" instead of "set host /pipe"?  Expect uses
ptys, so if you tell Kermit to use a pty, it should work like Expect.

- Frank


From anthonypieper@cs.com Fri Nov  7 14:19:50 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: Re: Problem with Kermit spawned from Expect script sending files
Date: 7 Nov 2003 09:46:53 -0800
Organization: http://groups.google.com
Lines: 24
Message-ID: <f0bb0f39.0311070946.62574f98@posting.google.com>
References: <f0bb0f39.0311061216.1ba040a0@posting.google.com> <slrnbqlcid.ooo.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311070527.6ce76ffc@posting.google.com> <slrnbqnbfm.380.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 1068227214 31947 127.0.0.1 (7 Nov 2003 17:46:54 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 7 Nov 2003 17:46:54 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14653

I tried the /pty, but when I run it (via ./scriptname.sh), it puts me
at a "C-Kermit>" prompt ?
Frank da Cruz <fdc@columbia.edu> wrote in message news:<slrnbqnbfm.380.fdc@sesame.cc.columbia.edu>...
> In article <f0bb0f39.0311070527.6ce76ffc@posting.google.com>,
> newexpectuser wrote:
> : 
> : I looked at the article and have tried this simple connection:
> : 
> :   #!/usr/bin/kermit +
> :   echo "Starting"
> :   set host /pipe ssh -e none -l /user:root 111.111.11.111
> :   lineout "mypassword"
> :   echo "Connected"
> :   quit
> : 
> : With this above it does connect, but still waits for me to enter a
> : password, I thought the lineout would do this for me, that is why I
> : had mentioned EXPECT earlier, it can pass this value via the "send"
> : command in EXPECT.
> : 
> What if you use "set host /pty" instead of "set host /pipe"?  Expect uses
> ptys, so if you tell Kermit to use a pty, it should work like Expect.
> 
> - Frank


From fdc@columbia.edu Fri Nov  7 14:23:47 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 Kermit spawned from Expect script sending files
Date: 7 Nov 2003 19:23:20 GMT
Organization: Columbia University
Lines: 22
Message-ID: <slrnbqns98.69r.fdc@sesame.cc.columbia.edu>
References: <f0bb0f39.0311061216.1ba040a0@posting.google.com> <slrnbqlcid.ooo.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311070527.6ce76ffc@posting.google.com> <slrnbqnbfm.380.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311070946.62574f98@posting.google.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1068233000 1492 128.59.59.56 (7 Nov 2003 19:23:20 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 7 Nov 2003 19:23:20 GMT
User-Agent: slrn/0.9.7.4 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14654

In article <f0bb0f39.0311070946.62574f98@posting.google.com>,
newexpectuser wrote:
: I tried the /pty, but when I run it (via ./scriptname.sh), it puts me
: at a "C-Kermit>" prompt ?
:
Here's a script that works for me:

  #!/usr/bin/kermit +
  ;
  ; Using OpenSSH_3.7.1p2...
  ;
  set host /pty ssh -e none -l \v(userid) \%1
  if fail stop 1
  input 20 password:
  if success lineout \%2

In this script, \%1 is the hostname or address and \%2 is the password.

I suspect your script did not wait for the "password:" prompt and the
ssh client does not allow typeahead.

- Frank


From arthur.marsh@internode.on.net Sun Nov  9 12:24:43 2003
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!snewsf0.syd.ops.aspac.uu.net!news1.optus.net.au!optus!news.optus.net.au!53ab2750!not-for-mail
From: Arthur Marsh <arthur.marsh@internode.on.net>
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.6a) Gecko/20031030
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: K95 2.14  file download dialogue box
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: dialup110.staffdialup.services.adelaide.edu.au
Message-ID: <3fad769e@yorrell.saard.net>
X-Original-Trace: 9 Nov 2003 09:35:02 +0950, dialup110.staffdialup.services.adelaide.edu.au
Lines: 21
Date: Sat, 08 Nov 2003 23:05:04 GMT
NNTP-Posting-Host: 203.21.37.20
X-Trace: news.optus.net.au 1068332704 203.21.37.20 (Sun, 09 Nov 2003 10:05:04 EST)
NNTP-Posting-Date: Sun, 09 Nov 2003 10:05:04 EST
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14656

Hi, when running K95 2.14 on Win98SE (gui version) I entered:

set telnet env user somename
set file download e:\temp
ssh somesite

At somesite, running C-Kermit daily build on Linux I entered:

kermit -s somefile

I then received a dialogue box on my Win98SE machine for me to confirm 
the download name and directory of "somefile" when I wanted the file 
just to be received automatically in e:\temp (there was no file of the 
same name in e:\temp).

Is there something that I typed that caused the dialogue box to be 
presented?

Regards,

Arthur.


From jaltman@columbia.edu Sun Nov  9 12:24:52 2003
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Jeffrey Altman <jaltman@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: K95 2.14  file download dialogue box
Date: 9 Nov 2003 02:26:50 GMT
Organization: Columbia University
Lines: 36
Message-ID: <bok8la$qph$1@newsmaster.cc.columbia.edu>
References: <3fad769e@yorrell.saard.net>
NNTP-Posting-Host: hazelnut.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1068344810 27441 128.59.59.162 (9 Nov 2003 02:26:50 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 9 Nov 2003 02:26:50 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:14657

By default, autodownloads must be approved by the end user

  SET TERMINAL AUTODOWNLOAD {ON, OFF, AUTO}

The last public version of K95 shipped was 2.1.3.  



Arthur Marsh <arthur.marsh@internode.on.net> wrote:
: Hi, when running K95 2.14 on Win98SE (gui version) I entered:

: set telnet env user somename
: set file download e:\temp
: ssh somesite

: At somesite, running C-Kermit daily build on Linux I entered:

: kermit -s somefile

: I then received a dialogue box on my Win98SE machine for me to confirm 
: the download name and directory of "somefile" when I wanted the file 
: just to be received automatically in e:\temp (there was no file of the 
: same name in e:\temp).

: Is there something that I typed that caused the dialogue box to be 
: presented?

: Regards,

: Arthur.

-- 
 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 arthur.marsh@internode.on.net Sun Nov  9 12:25:00 2003
Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!news1.optus.net.au!optus!news.optus.net.au!53ab2750!not-for-mail
From: Arthur Marsh <arthur.marsh@internode.on.net>
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.6a) Gecko/20031030
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: K95 2.14  file download dialogue box
References: <3fad769e@yorrell.saard.net> <bok8la$qph$1@newsmaster.cc.columbia.edu>
In-Reply-To: <bok8la$qph$1@newsmaster.cc.columbia.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: dialup110.staffdialup.services.adelaide.edu.au
Message-ID: <3fae051b$1@yorrell.saard.net>
X-Original-Trace: 9 Nov 2003 19:42:59 +0950, dialup110.staffdialup.services.adelaide.edu.au
Lines: 40
Date: Sun, 09 Nov 2003 09:13:03 GMT
NNTP-Posting-Host: 203.21.37.20
X-Trace: news.optus.net.au 1068369183 203.21.37.20 (Sun, 09 Nov 2003 20:13:03 EST)
NNTP-Posting-Date: Sun, 09 Nov 2003 20:13:03 EST
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14659



Jeffrey Altman wrote:
> By default, autodownloads must be approved by the end user
> 
>   SET TERMINAL AUTODOWNLOAD {ON, OFF, AUTO}
> 
> The last public version of K95 shipped was 2.1.3.  
> 
> 
> 

By doing some more checks, I found that by default

  show ter

reported

Terminal parameters:
    Bytesize: Command: 8 bits              Terminal: 8 bits
                 Type: VT320                     ID: 
<ESC>[?63;1;2;6;8;9;15;44c
                 Echo: remote         Locking-shift: off
         Newline-mode: off               Cr-display: normal
               Cursor: underline       autodownload: on, error stop

and I was prompted for the dialogue box.

When I entered

set term autodown on

show ter reported the same setting for autodownload (on, error stop), 
but I downloads occured without a dialogue box appearing.

After entering set term autodown off, sh ter reports autodownload off.

So the problem seems to be show ter reporting autodownload on initially.

Arthur.


From JDanSkinner@JDanSkinner.com Sun Nov  9 12:25:03 2003
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: K95 2.14  file download dialogue box
Date: 8 Nov 2003 20:05:58 -0800
Organization: http://groups.google.com
Lines: 30
Message-ID: <8ce22d01.0311082005.3a4a2589@posting.google.com>
References: <3fad769e@yorrell.saard.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 1068350758 2787 127.0.0.1 (9 Nov 2003 04:05:58 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sun, 9 Nov 2003 04:05:58 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14658

Arthur Marsh <arthur.marsh@internode.on.net> wrote in message news:<3fad769e@yorrell.saard.net>...
> Hi, when running K95 2.14 on Win98SE (gui version) I entered:
> 
> set telnet env user somename
> set file download e:\temp
> ssh somesite
> 
> At somesite, running C-Kermit daily build on Linux I entered:
> 
> kermit -s somefile
> 
> I then received a dialogue box on my Win98SE machine for me to confirm 
> the download name and directory of "somefile" when I wanted the file 
> just to be received automatically in e:\temp (there was no file of the 
> same name in e:\temp).
> 
> Is there something that I typed that caused the dialogue box to be 
> presented?

Nope; something you didn't type
set term autodown on

try 
set term autodown ?
or  
help set term
for details
It says the default is off but I think it is really ask

Regards...Dan


From anthonypieper@cs.com Mon Nov 10 10:25:12 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 with Kermit spawned from Expect script sending files
Date: 10 Nov 2003 05:37:19 -0800
Organization: http://groups.google.com
Lines: 45
Message-ID: <f0bb0f39.0311100537.7a4d4faf@posting.google.com>
References: <f0bb0f39.0311061216.1ba040a0@posting.google.com> <slrnbqlcid.ooo.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311070527.6ce76ffc@posting.google.com> <slrnbqnbfm.380.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311070946.62574f98@posting.google.com> <slrnbqns98.69r.fdc@sesame.cc.columbia.edu> <slrnbqnsgg.856.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 1068471440 979 127.0.0.1 (10 Nov 2003 13:37:20 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 10 Nov 2003 13:37:20 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14660

Frank da Cruz <fdc@columbia.edu> wrote in message news:<slrnbqnsgg.856.fdc@sesame.cc.columbia.edu>...
> In article <slrnbqns98.69r.fdc@sesame.cc.columbia.edu>, Frank da Cruz wrote:
> : In article <f0bb0f39.0311070946.62574f98@posting.google.com>,
> : newexpectuser wrote:
> :: I tried the /pty, but when I run it (via ./scriptname.sh), it puts me
> :: at a "C-Kermit>" prompt ?
> ::
> : Here's a script that works for me:
> : 
> :   #!/usr/bin/kermit +
> :   ;
> :   ; Using OpenSSH_3.7.1p2...
> :   ;
> :   set host /pty ssh -e none -l \v(userid) \%1
> :   if fail stop 1
> :   input 20 password:
> :   if success lineout \%2
> : 
> : In this script, \%1 is the hostname or address and \%2 is the password.
> : 
> : I suspect your script did not wait for the "password:" prompt and the
> : ssh client does not allow typeahead.
> : 
> I forgot to add, in case it is not obvious, that the script will return
> to the C-Kermit> when it has no more commands to execute, unless it
> executes an EXIT or QUIT command.
> 
> The script fragment above, then, will return to the C-Kermit> prompt because
> it has no more commands to execute.  Thus you must continue the script
> to do whatever you want it to do, for example:
> 
>   (wait for shell prompt)
>   lineout "kermit -x"     ; Start Kermit server
>   rcd somedirectory       ; CD to some directory on the host
I thought this command changed the directory on the remote system. I
have most of this working (including connecting now), however once I
get connected to the remote server, I want to change into a specific
directory on the remote server and I tried the rcd and do a ls -ltr
command, but it gives me my directory where I execute the script
(local machine) ?
>   send /delete somefile   ; "move" a file from here to there
>   bye                     ; Shut down and log out the server
>   exit                    ; Exit from local Kermit program
> 
> - Frank


From fdc@columbia.edu Mon Nov 10 10: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 Kermit spawned from Expect script sending files
Date: 10 Nov 2003 15:29:51 GMT
Organization: Columbia University
Lines: 90
Message-ID: <slrnbqvbnf.i67.fdc@sesame.cc.columbia.edu>
References: <f0bb0f39.0311061216.1ba040a0@posting.google.com> <slrnbqlcid.ooo.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311070527.6ce76ffc@posting.google.com> <slrnbqnbfm.380.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311070946.62574f98@posting.google.com> <slrnbqns98.69r.fdc@sesame.cc.columbia.edu> <slrnbqnsgg.856.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311100537.7a4d4faf@posting.google.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1068478191 837 128.59.59.56 (10 Nov 2003 15:29:51 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 10 Nov 2003 15:29:51 GMT
User-Agent: slrn/0.9.7.4 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14661

In article <f0bb0f39.0311100537.7a4d4faf@posting.google.com>,
newexpectuser wrote:
: Frank da Cruz <fdc@columbia.edu> wrote:
:>  ...
:> The script fragment above, then, will return to the C-Kermit> prompt because
:> it has no more commands to execute.  Thus you must continue the script
:> to do whatever you want it to do, for example:
:> 
:>   (wait for shell prompt)
:>   lineout "kermit -x"     ; Start Kermit server
:>   rcd somedirectory       ; CD to some directory on the host
:
: I thought this command changed the directory on the remote system.
:
It does.

: I have most of this working (including connecting now), however once I
: get connected to the remote server, I want to change into a specific
: directory on the remote server and I tried the rcd and do a ls -ltr
: command, but it gives me my directory where I execute the script
: (local machine) ?
:
If a command does something that surprises you, give a HELP command for
it to see its documentation:

C-Kermit>help ls

Syntax: LS [ args ]
  Runs "ls" with the given arguments.

C-Kermit>help rdirectory

  RDIRECTORY is a short form of REMOTE DIRECTORY.

C-Kermit>help remote directory

Syntax: REMOTE DIRECTORY [ filespec ]
  Asks the Kermit or FTP server to provide a directory listing of the named
  file(s) or if no file specification is given, of all files in its current
  directory.  Synonym: RDIR.

C-Kermit>help directory

Syntax: DIRECTORY [ switches ] [ filespec [ filespec [ ... ] ] ]
  If LOCUS is REMOTE or LOCUS is AUTO and you have an FTP connection,
  this command is equivalent to REMOTE DIRECTORY (RDIR).  Otherwise:

  Lists local files.  The filespec may be a filename, possibly containing
  wildcard characters, or a directory name.  If no filespec is given, all
  files in the current directory are listed.  If a directory name is given,
  all the  files in it are listed.  Multiple filespecs can be given.
  Optional switches:

   /BRIEF           List filenames only.
   /VERBOSE       + Also list permissions, size, and date.
   /FILES           Show files but not directories.
   /DIRECTORIES     Show directories but not files.
   /ALL           + Show both files and directories.
   /ARRAY:&a        Store file list in specified array (e.g. \%a[]).
   /PAGE            Pause after each screenful.
   /NOPAGE          Don't pause after each screenful.
   /DOTFILES        Include files whose names start with dot (period).
   /NODOTFILES    + Don't include files whose names start with dot.
   /FOLLOWLINKS     Follow symbolic links.
   /NOFOLLOWLINKS + Don't follow symbolic links.
   /BACKUP        + Include backup files (names end with .~n~).
   /NOBACKUPFILES   Don't include backup files.
   /OUTPUT:file     Store directory listing in the given file.
   /HEADING         Include heading and summary.
   /NOHEADING     + Don't include heading or summary.
   /SUMMARY         Print only count and total size of matching files.
   /XFERMODE        Show pattern-based transfer mode (T=Text, B=Binary).
   /TYPE:           Show only files of the specified type (text or binary).
   /MESSAGE:text    Add brief message to each listing line.
   /NOMESSAGE     + Don't add message to each listing line.
   /NOXFERMODE    + Don't show pattern-based transfer mode
   /ISODATE       + In verbose listings, show date in ISO 8061 format.
   /ENGLISHDATE     In verbose listings, show date in "English" format.
   /RECURSIVE       Descend through subdirectories.
   /NORECURSIVE   + Don't descend through subdirectories.
   /SORT:key        Sort by key, NAME, DATE, or SIZE; default key is NAME.
   /NOSORT        + Don't sort.
   /ASCENDING     + If sorting, sort in ascending order.
   /REVERSE         If sorting, sort in reverse order.

Factory defaults are marked with +.  Default for paging depends on SET
COMMAND MORE-PROMPTING.  Use SET OPTIONS DIRECTORY [ switches ] to change
defaults; use SHOW OPTIONS to display customized defaults.

- Frank


From arthur.marsh@internode.on.net Mon Nov 10 10:43:46 2003
Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!news1.optus.net.au!optus!news.optus.net.au!53ab2750!not-for-mail
From: Arthur Marsh <arthur.marsh@internode.on.net>
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.6a) Gecko/20031030
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Problem with Kermit spawned from Expect script sending files
References: <f0bb0f39.0311061216.1ba040a0@posting.google.com> <slrnbqlcid.ooo.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311070527.6ce76ffc@posting.google.com> <slrnbqnbfm.380.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311070946.62574f98@posting.google.com> <slrnbqns98.69r.fdc@sesame.cc.columbia.edu> <slrnbqnsgg.856.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311100537.7a4d4faf@posting.google.com>
In-Reply-To: <f0bb0f39.0311100537.7a4d4faf@posting.google.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: dialup59.staffdialup.services.adelaide.edu.au
Message-ID: <3fafafd0$1@yorrell.saard.net>
X-Original-Trace: 11 Nov 2003 02:03:36 +0950, dialup59.staffdialup.services.adelaide.edu.au
Lines: 25
Date: Mon, 10 Nov 2003 15:33:40 GMT
NNTP-Posting-Host: 203.21.37.20
X-Trace: news.optus.net.au 1068478420 203.21.37.20 (Tue, 11 Nov 2003 02:33:40 EST)
NNTP-Posting-Date: Tue, 11 Nov 2003 02:33:40 EST
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14662



newexpectuser wrote:

>>  (wait for shell prompt)
>>  lineout "kermit -x"     ; Start Kermit server
>>  rcd somedirectory       ; CD to some directory on the host
> 
> I thought this command changed the directory on the remote system. I
> have most of this working (including connecting now), however once I
> get connected to the remote server, I want to change into a specific
> directory on the remote server and I tried the rcd and do a ls -ltr
> command, but it gives me my directory where I execute the script
> (local machine) ?

try using REMOTE DIRECTORY or its shortened form, RDIR

> 
>>  send /delete somefile   ; "move" a file from here to there
>>  bye                     ; Shut down and log out the server
>>  exit                    ; Exit from local Kermit program
>>
>>- Frank

Arthur.


From anthonypieper@cs.com Tue Nov 11 11:09:20 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: Re: Problem with Kermit spawned from Expect script sending files
Date: 11 Nov 2003 04:37:52 -0800
Organization: http://groups.google.com
Lines: 28
Message-ID: <f0bb0f39.0311110437.62628a03@posting.google.com>
References: <f0bb0f39.0311061216.1ba040a0@posting.google.com> <slrnbqlcid.ooo.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311070527.6ce76ffc@posting.google.com> <slrnbqnbfm.380.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311070946.62574f98@posting.google.com> <slrnbqns98.69r.fdc@sesame.cc.columbia.edu> <slrnbqnsgg.856.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311100537.7a4d4faf@posting.google.com> <3fafafd0$1@yorrell.saard.net>
NNTP-Posting-Host: 209.251.39.194
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1068554272 30322 127.0.0.1 (11 Nov 2003 12:37:52 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 11 Nov 2003 12:37:52 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14663

Arthur Marsh <arthur.marsh@internode.on.net> wrote in message news:<3fafafd0$1@yorrell.saard.net>...
> newexpectuser wrote:
> 
> >>  (wait for shell prompt)
> >>  lineout "kermit -x"     ; Start Kermit server
> >>  rcd somedirectory       ; CD to some directory on the host
> > 
> > I thought this command changed the directory on the remote system. I
> > have most of this working (including connecting now), however once I
> > get connected to the remote server, I want to change into a specific
> > directory on the remote server and I tried the rcd and do a ls -ltr
> > command, but it gives me my directory where I execute the script
> > (local machine) ?
> 
> try using REMOTE DIRECTORY or its shortened form, RDIR
I tried the RDIR and then a ls command to make sure i was in the
remote directory, but I got the local directory listing, unless my ls
command only shows the local directory ?..I am also running this first
from a command line in Unix using ./script.sh.
> 
> > 
> >>  send /delete somefile   ; "move" a file from here to there
> >>  bye                     ; Shut down and log out the server
> >>  exit                    ; Exit from local Kermit program
> >>
> >>- Frank
> 
> Arthur.


From fdc@columbia.edu Tue Nov 11 12:56:15 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 Kermit spawned from Expect script sending files
Date: 11 Nov 2003 16:14:48 GMT
Organization: Columbia University
Lines: 36
Message-ID: <slrnbr22no.dhj.fdc@sesame.cc.columbia.edu>
References: <f0bb0f39.0311061216.1ba040a0@posting.google.com> <slrnbqlcid.ooo.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311070527.6ce76ffc@posting.google.com> <slrnbqnbfm.380.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311070946.62574f98@posting.google.com> <slrnbqns98.69r.fdc@sesame.cc.columbia.edu> <slrnbqnsgg.856.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311100537.7a4d4faf@posting.google.com> <3fafafd0$1@yorrell.saard.net> <f0bb0f39.0311110437.62628a03@posting.google.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1068567288 9267 128.59.59.56 (11 Nov 2003 16:14:48 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 11 Nov 2003 16:14:48 GMT
User-Agent: slrn/0.9.7.4 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14664

In article <f0bb0f39.0311110437.62628a03@posting.google.com>,
newexpectuser wrote:
: Arthur Marsh <arthur.marsh@internode.on.net>
: wrote in message news:<3fafafd0$1@yorrell.saard.net>...
:> newexpectuser wrote:
:> try using REMOTE DIRECTORY or its shortened form, RDIR
:
: I tried the RDIR and then a ls command to make sure i was in the
: remote directory, but I got the local directory listing, unless my ls
: command only shows the local directory ?..I am also running this first
: from a command line in Unix using ./script.sh.
:
RDIR, LS, and DIRECTORY are three different commands.  Each one does a
different thing.  Only RDIR requests a directory listing from the remote
server.

In a file transfer and management system such as Kermit (or, for that
matter, FTP) there needs to be a way to refer to both local and remote
files.  By default, unprefixed commands such as DELETE, DIRECTORY, RENAME,
etc, refer to local files.  If you prefix them with the word REMOTE, or
use the R-shortcuts (RDEL, RDIR, RREN, etc), they apply to remote files.

For completeness and symmetry, there are also L-shortcuts to force reference
to local files: LDEL, LDIR, LREN, etc.

You can even have Kermit change the default for unprefixed commands; for
example, to make it act like FTP:

  SET LOCUS REMOTE

Then unprefixed file management commands refer to remote files.  For more
about this, see:

  http://www.columbia.edu/kermit/ckermit80.html#x3.4

- Frank


From flyingboz@hotmail.com Tue Nov 11 14:22:23 2003
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsfeed.berkeley.edu!ucberkeley!priapus.visi.com!news-out.visi.com!petbe.visi.com!newsfeed.news2me.com!cyclone1.gnilink.net!cyclone.southeast.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: BBS Script "Gets ahead of itself"
Lines: 18
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: <5casb.80068$v82.4551802@twister.southeast.rr.com>
Date: Tue, 11 Nov 2003 18:50:41 GMT
NNTP-Posting-Host: 24.199.148.221
X-Complaints-To: abuse@rr.com
X-Trace: twister.southeast.rr.com 1068576641 24.199.148.221 (Tue, 11 Nov 2003 13:50:41 EST)
NNTP-Posting-Date: Tue, 11 Nov 2003 13:50:41 EST
Organization: Road Runner - NC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14665

Still a relatively new kermit script writer, am automating a BBS logon we
must do daily,
where I send (output) my login info and then make a request of the BBS, i.e.

lineout $$REQ DOWNLOAD OUR_FILES PARAM1 PARAM2 PARAM3

I have kermit set up to autodownload the files, which are available via
ZMODEM.

How do I set up my script such that it does not "run ahead" and post-process
the files
before all of them are downloaded?

Thanks for any suggestions.

-BoZ




From fdc@columbia.edu Tue Nov 11 14:47:53 2003
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: BBS Script "Gets ahead of itself"
Date: 11 Nov 2003 19:44:35 GMT
Organization: Columbia University
Lines: 46
Message-ID: <slrnbr2f13.67q.fdc@sesame.cc.columbia.edu>
References: <5casb.80068$v82.4551802@twister.southeast.rr.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1068579875 18600 128.59.59.56 (11 Nov 2003 19:44:35 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 11 Nov 2003 19:44:35 GMT
User-Agent: slrn/0.9.7.4 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14666

In article <5casb.80068$v82.4551802@twister.southeast.rr.com>, x@y.org wrote:
: Still a relatively new kermit script writer, am automating a BBS logon we
: must do daily, where I send (output) my login info and then make a request
: of the BBS, i.e.
: 
: lineout $$REQ DOWNLOAD OUR_FILES PARAM1 PARAM2 PARAM3
: 
: I have kermit set up to autodownload the files, which are available via
: ZMODEM.
: 
: How do I set up my script such that it does not "run ahead" and
: post-process the files before all of them are downloaded?
: 
Zmodem is like Kermit; it can send a group of files in one download.  If
that's what your BBS does, then Kermit executes only one (perhaps implied)
RECEIVE command, and after that it's safe to start disposing of the files.
In this case you might want to disable autodownload and just give a RECEIVE
command at the point where you know the BBS will start sending:

  set protocol zmodem
  lineout $$REQ DOWNLOAD OUR_FILES PARAM1 PARAM2 PARAM3  
  receive
  if fail (do something)
  ; postprocess the files here.

Or the BBS might do one Zmodem transfer per file, which is kind of annoying,
but Kermit can handle that too.  First find out what messages can be
displayed when the transfer completes, then have Kermit look for them.
For simplicity let's assume there's only one message, so you can use a
simple INPUT command that either succeeds or fails:

  set protocol zmodem
  set input autodownload on
  input 120 All files downloaded
  if fail (do something)

When INPUT AUTODOWNLOAD is ON and an INPUT command is active, the download
begins automatically when Zmodem sends its ID string, **^XB000000... or
whatever.  If the INPUT command is still active after the Zmodem download
and another Zmodem download starts, the second transfer also begins
automatically, and so on.  The trick is to set the INPUT timeout interval
long enough to accommodate the longest expected series of transfers.  It
will still terminate immediate when the specified message appears, but you
don't want it to time out before all the files have been sent.

- Frank


From anthonypieper@cs.com Wed Nov 12 13:40:43 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: Re: Problem with Kermit spawned from Expect script sending files
Date: 12 Nov 2003 04:55:51 -0800
Organization: http://groups.google.com
Lines: 39
Message-ID: <f0bb0f39.0311120455.1c76a37c@posting.google.com>
References: <f0bb0f39.0311061216.1ba040a0@posting.google.com> <f0bb0f39.0311070527.6ce76ffc@posting.google.com> <slrnbqnbfm.380.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311070946.62574f98@posting.google.com> <slrnbqns98.69r.fdc@sesame.cc.columbia.edu> <slrnbqnsgg.856.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311100537.7a4d4faf@posting.google.com> <3fafafd0$1@yorrell.saard.net> <f0bb0f39.0311110437.62628a03@posting.google.com> <slrnbr22no.dhj.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 1068641751 32318 127.0.0.1 (12 Nov 2003 12:55:51 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 12 Nov 2003 12:55:51 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14667

I tried the RDIR command, yet it still gave me the local directory
listing, not the one off the remote server.
Frank da Cruz <fdc@columbia.edu> wrote in message news:<slrnbr22no.dhj.fdc@sesame.cc.columbia.edu>...
> In article <f0bb0f39.0311110437.62628a03@posting.google.com>,
> newexpectuser wrote:
> : Arthur Marsh <arthur.marsh@internode.on.net>
> : wrote in message news:<3fafafd0$1@yorrell.saard.net>...
> :> newexpectuser wrote:
> :> try using REMOTE DIRECTORY or its shortened form, RDIR
> :
> : I tried the RDIR and then a ls command to make sure i was in the
> : remote directory, but I got the local directory listing, unless my ls
> : command only shows the local directory ?..I am also running this first
> : from a command line in Unix using ./script.sh.
> :
> RDIR, LS, and DIRECTORY are three different commands.  Each one does a
> different thing.  Only RDIR requests a directory listing from the remote
> server.
> 
> In a file transfer and management system such as Kermit (or, for that
> matter, FTP) there needs to be a way to refer to both local and remote
> files.  By default, unprefixed commands such as DELETE, DIRECTORY, RENAME,
> etc, refer to local files.  If you prefix them with the word REMOTE, or
> use the R-shortcuts (RDEL, RDIR, RREN, etc), they apply to remote files.
> 
> For completeness and symmetry, there are also L-shortcuts to force reference
> to local files: LDEL, LDIR, LREN, etc.
> 
> You can even have Kermit change the default for unprefixed commands; for
> example, to make it act like FTP:
> 
>   SET LOCUS REMOTE
> 
> Then unprefixed file management commands refer to remote files.  For more
> about this, see:
> 
>   http://www.columbia.edu/kermit/ckermit80.html#x3.4
> 
> - Frank


From flyingboz@hotmail.com Wed Nov 12 13:42:13 2003
Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!news.maxwell.syr.edu!news.he.net!newsfeed1.easynews.com!easynews.com!easynews!cyclone1.gnilink.net!cyclone.southeast.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: <5casb.80068$v82.4551802@twister.southeast.rr.com> <slrnbr2f13.67q.fdc@sesame.cc.columbia.edu>
Subject:  Thanks!!! RE: BBS Script "Gets ahead of itself"
Lines: 19
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: <L4tsb.83064$v82.4757553@twister.southeast.rr.com>
Date: Wed, 12 Nov 2003 16:19:55 GMT
NNTP-Posting-Host: 24.199.148.221
X-Complaints-To: abuse@rr.com
X-Trace: twister.southeast.rr.com 1068653995 24.199.148.221 (Wed, 12 Nov 2003 11:19:55 EST)
NNTP-Posting-Date: Wed, 12 Nov 2003 11:19:55 EST
Organization: Road Runner - NC
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14668

Frank,

Thank you very much for your prompt and helpful reply.  I have **never**
regretted purchasing kermit and use it to
accomplish a variety of tasks 'automagically' that formerly took significant
staff effort on a daily basis.

I was not aware of the set input autodownload function, and that with the
following seems to work
(testing for the B00 given by ZMODEM when a file is completed):

    input 90 B00
    if fail stop 1 files either not completely received or no files waiting
    post-process retrieved files

Is there a better string I should test for to ensure that all of the files
(sent one at a time) are received?




From fdc@columbia.edu Wed Nov 12 13:46:33 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 Kermit spawned from Expect script sending files
Date: 12 Nov 2003 18:42:05 GMT
Organization: Columbia University
Lines: 10
Message-ID: <slrnbr4vnt.fmi.fdc@sesame.cc.columbia.edu>
References: <f0bb0f39.0311061216.1ba040a0@posting.google.com> <f0bb0f39.0311070527.6ce76ffc@posting.google.com> <slrnbqnbfm.380.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311070946.62574f98@posting.google.com> <slrnbqns98.69r.fdc@sesame.cc.columbia.edu> <slrnbqnsgg.856.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311100537.7a4d4faf@posting.google.com> <3fafafd0$1@yorrell.saard.net> <f0bb0f39.0311110437.62628a03@posting.google.com> <slrnbr22no.dhj.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311120455.1c76a37c@posting.google.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1068662525 13502 128.59.59.56 (12 Nov 2003 18:42:05 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 12 Nov 2003 18:42:05 GMT
User-Agent: slrn/0.9.7.4 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14669

In article <f0bb0f39.0311120455.1c76a37c@posting.google.com>,
newexpectuser wrote:
: I tried the RDIR command, yet it still gave me the local directory
: listing, not the one off the remote server.
:
That's not possible.  We should take this discussion off the newsgroup.
Send a copy of your script to kermit-support@columbia.edu and we'll take
at a look at it.

- Frank


From fdc@columbia.edu Wed Nov 12 13:46:36 2003
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Thanks!!! RE: BBS Script "Gets ahead of itself"
Date: 12 Nov 2003 18:45:24 GMT
Organization: Columbia University
Lines: 28
Message-ID: <slrnbr4vu4.fmi.fdc@sesame.cc.columbia.edu>
References: <5casb.80068$v82.4551802@twister.southeast.rr.com> <slrnbr2f13.67q.fdc@sesame.cc.columbia.edu> <L4tsb.83064$v82.4757553@twister.southeast.rr.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1068662724 13502 128.59.59.56 (12 Nov 2003 18:45:24 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 12 Nov 2003 18:45:24 GMT
User-Agent: slrn/0.9.7.4 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14670

In article <L4tsb.83064$v82.4757553@twister.southeast.rr.com>, x@y.org wrote:
: Thank you very much for your prompt and helpful reply.  I have **never**
: regretted purchasing kermit and use it to accomplish a variety of tasks
: 'automagically' that formerly took significant staff effort on a daily
: basis.
: 
Good, thanks for saying so.

: I was not aware of the set input autodownload function, and that with the
: following seems to work (testing for the B00 given by ZMODEM when a file is
: completed):
: 
:     input 90 B00
:     if fail stop 1 files either not completely received or no files waiting
:     post-process retrieved files
: 
: Is there a better string I should test for to ensure that all of the files
: (sent one at a time) are received?
: 
Isn't that a Zmodem startup string?  In that case, INPUT will never see it
because it is absorbed by the autodownload scanner.

I think it might be better to wait for a text message or menu fragment from
the BBS that appears only after all files have been sent.  In case there is
more than one such message (e.g. one for success another for failure), use
MINPUT rather than INPUT.

- Frank


From kapebe@web.de Tue Nov 18 08:39:35 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: using telephone keys to acknowledge a call?
Date: 18 Nov 2003 01:01:18 -0800
Organization: http://groups.google.com
Lines: 31
Message-ID: <e880768d.0311180014.28b1d9c3@posting.google.com>
NNTP-Posting-Host: 193.197.162.33
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1069146078 8096 127.0.0.1 (18 Nov 2003 09:01:18 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 18 Nov 2003 09:01:18 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14671

Hi kermit Gurus,

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'

The whole thing will then be integrated in the big brother network and
system monitor framework (www.bb4.com)

So what I would like to ask is, if this possible using kermit and if
so, some hints about how to do this, and if not :-(, some hints for
alternative linux software, which can do that?

I must admit, that I'm not very familiar with kermit, kermit
scripting, GSM modems and so on...

sincerely
Klaus
-kpb>


From fdc@columbia.edu Tue Nov 18 08:58:47 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: 18 Nov 2003 13:57:49 GMT
Organization: Columbia University
Lines: 59
Message-ID: <slrnbrk9at.2qp.fdc@sesame.cc.columbia.edu>
References: <e880768d.0311180014.28b1d9c3@posting.google.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1069163869 16973 128.59.59.56 (18 Nov 2003 13:57:49 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 18 Nov 2003 13:57:49 GMT
User-Agent: slrn/0.9.7.4 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14672

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'
: 
: The whole thing will then be integrated in the big brother network and
: system monitor framework (www.bb4.com)
: 
: So what I would like to ask is, if this possible using kermit and if
: so, some hints about how to do this, and if not :-(, some hints for
: alternative linux software, which can do that?
: 
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.

- Frank


From fdc@columbia.edu Tue Nov 18 12:58:29 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: 18 Nov 2003 13:57:49 GMT
Organization: Columbia University
Lines: 59
Message-ID: <slrnbrk9at.2qp.fdc@sesame.cc.columbia.edu>
References: <e880768d.0311180014.28b1d9c3@posting.google.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1069163869 16973 128.59.59.56 (18 Nov 2003 13:57:49 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 18 Nov 2003 13:57:49 GMT
User-Agent: slrn/0.9.7.4 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14672

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'
: 
: The whole thing will then be integrated in the big brother network and
: system monitor framework (www.bb4.com)
: 
: So what I would like to ask is, if this possible using kermit and if
: so, some hints about how to do this, and if not :-(, some hints for
: alternative linux software, which can do that?
: 
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.

- Frank


From robert.nash@watkins.com Tue Nov 18 18:00:50 2003
Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail
From: robert.nash@watkins.com (Bob)
Newsgroups: comp.protocols.kermit.misc
Subject: aix to aix file transfer hangs
Date: 18 Nov 2003 13:26:21 -0800
Organization: http://groups.google.com
Lines: 60
Message-ID: <cfe11f94.0311181326.355d69e3@posting.google.com>
NNTP-Posting-Host: 12.8.227.114
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1069190782 27589 127.0.0.1 (18 Nov 2003 21:26:22 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 18 Nov 2003 21:26:22 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14673

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 fdc@columbia.edu Tue Nov 18 18:11:39 2003
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: aix to aix file transfer hangs
Date: 18 Nov 2003 23:10:08 GMT
Organization: Columbia University
Lines: 39
Message-ID: <slrnbrl9mg.76h.fdc@sesame.cc.columbia.edu>
References: <cfe11f94.0311181326.355d69e3@posting.google.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1069197008 13464 128.59.59.56 (18 Nov 2003 23:10:08 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 18 Nov 2003 23:10:08 GMT
User-Agent: slrn/0.9.7.4 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14674

In article <cfe11f94.0311181326.355d69e3@posting.google.com>, Bob wrote:
: 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
: 
(etc etc)

You did everything right but...

Here's the deal -- either the AIX Telnet server is badly broken, or else
some secret APIs or negotiations are needed to put it into a mode where
it can handle file transfers.  When I say "Telnet server", that includes
the pseudoterminal driver it depends on to create to the session.  See:

  http://www.columbia.edu/kermit/ckubwr.html#x3.1.2

Although it's not mentioned in that section, you can still get high-
performance Kermit-to-Kermit transfers in AIX.  Tell Kermit on one side
to wait for incoming connection directly to itself (thus bypassing the
Telnet server and pty driver):

  set host /server * 3000

and then make the connection from the other:

  set host <ip-name-or-address> 3000

and now you have a client/server connection, where you can use SEND
(PUT), GET, RDIR, etc.

- Frank


