Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Kermit on OS9/68000

144 views
Skip to first unread message

Richard....@googlemail.com

unread,
Oct 9, 2008, 4:03:28 PM10/9/08
to
Hello

I'm trying to use kermit on an old OS9 machine, however I cannot get
it to operate. i suspect it's a simple problem but I've got no
experience of using Kermit or OS-9. Has anyone here done this and
could answer a few questions or point me at a useful tutorial?

I've got a Bruker E380 spectrometer running a 1990s version of OS9. It
has no ethernet connector. I've put a null modem cable from the 25 pin
RS2232 connector on the back of the OS9 machine into the serial port
of a laptop.

On OS9, I can now send a text file to the serial port by typing:

list textfile > /rs

and on a windows machine running PuTTY, connected to the null modem
cable with 9600 baud, 8 bits, no parity, I can see the contents of the
text file being listed, so I know the cables and the OS-9 machine are
working properly, and I have the right settings.

when I try to start kermit on the OS-9 console, I run into problems.
I'd like to run a version of Kermit on the console and on the PC, and
use one to send files to the other. However, when I try to connect
them they refuse to talk, and I have to power-cycle the OS-9 console
because I can't figure out what the escape key is!

This is the version on the OS-9 console:

$ ckermit
CKermit, 4E(072) 24 Jan 89, OS-9/68000
Type ? for hlep
C-Kermit>

Could anyone explain what to do with ckermit on the OS-9 machine to
get it to work?

Thanks in advance for any help,


Richard George

Martin Gregorie

unread,
Oct 11, 2008, 4:43:00 PM10/11/08
to
On Thu, 09 Oct 2008 13:03:28 -0700, Richard.E.George wrote:

> I'm trying to use kermit on an old OS9 machine, however I cannot get it
> to operate. i suspect it's a simple problem but I've got no experience
> of using Kermit or OS-9. Has anyone here done this and could answer a
> few questions or point me at a useful tutorial?
>

Which version of OS-9? What hardware?

I'm running OS9/68000 v2.4 on a Peripheral Technologies
CDS68020 (68020 based system). It uses standard 68xxx serial ports.



> This is the version on the OS-9 console:
>
> $ ckermit
> CKermit, 4E(072) 24 Jan 89, OS-9/68000 Type ? for hlep
> C-Kermit>
>

That's pretty old. I'm running:

C-Kermit C-Kermit 6.1.193 Beta.05, 7 May 1998, OS-9/68000

which I compiled on the OS-9 box. using the standard Mware C compiler.



> Could anyone explain what to do with ckermit on the OS-9 machine to get
> it to work?
>

At the other end I'm running RedHat Fedora 8 with a version of Kermit
that announces itself as:

C-Kermit 8.0.211, 10 Apr 2004, for Linux

and uses the initialisation file .kermrc to set up the session:

$ cat .kermrc
set port /dev/ttyS0
set baud 9600
set carrier off

This did not work without setting the carrier off. This can log in to
OS-9 with no problems at all.

For file transfer I log in to one of two special logins that start OS-9
Kermit in server mode. One log in starts it in text transfer mode while
the other starts in binary transfer mode. The lines in /dd/sys/password
are:

kbin,,0.11,128,/h0/PD/CMDS,/h0/INFO,sh ckermit -xil $PORT -b 9600
ktext,,0.12,128,/h0/PD/CMDS,/h0/INFO,sh ckermit -xl $PORT -b 9600

but note that I'm running the EFFO shell, sh, rather than the standard
shell, so you may need to change these lines to suit whatever OS-9 shell
you're using. /h0/info/.kermrc contains:

/h0/INFO : list .kermrc
; log debug
; log packet

so it looks like I've commented out its only contents. To make a transfer
I log in to one of the special logins, which responds with:

Entering server mode. If your local Kermit software is menu driven, use
the menus to send commands to the server. Otherwise, enter the escape
sequence to return to your local Kermit prompt and issue commands from
there. Use SEND and GET for file transfer. Use REMOTE HELP for a list of
other available services. Use BYE or FINISH to end server mode.

KERMIT READY TO SERVE...

and then I Ctrl-\ back to the kermit command level to do the file
transfers. When the transfers are finished the "finish" command stops the
Kermit server. As usual "dir" lists the local Linux directory and "remote
dir" lists the OS-9 directory.

As you mention using PuTTY, I assume your non OS-9 end is running
Windows. PuTTY is a telnet and ssh client but doesn't understand the
Kermit file transfer protocols, and Kermit, AFAIK, doesn't use ssh file
transfer protocols, so you'll need to run Kermit rather than PuTTY on the
Windows box.

HTH


--
martin@ | Martin Gregorie
gregorie. | Essex, UK
org |

s.sei...@gmx.at

unread,
Oct 13, 2008, 2:14:08 AM10/13/08
to
Hi,

I did the thing with Windows XP Hyperterminal (yes, it understands
Kermit!).

I used it to transfer os9 modules from my Windows Desktop to my OS9
System (Gespac SBS11) like this:

OS9:
lmm /pipe/'ModuleName'
kermit rik >-/pipe/'ModuleName'

Windows:
simply download the module via Kermit.

Maybe we can assist you better if you provide more information about
the error you encounter during transfer.

So long,
Stefan

0 new messages