Home
Name Modified Size InfoDownloads / Week
README 2013-11-10 2.1 kB
Totals: 1 Item   2.1 kB 0
About
=====

kshermit implements the a simple kermit file transfer in Korn shell. It can
only receive files. You have to use full prefixing, but it supports two
sliding windows. For many connections, the script will be slower than the
line, so the sliding windows are of little value.

Instructions
============

How to use kshermit to transfer a file to a remote computer that has Korn
shell installed.

1. Connect a terminal to the remote computer. This connection must support
ASCII characters in the range 0x0a, 0x04, and 0x20 through 0x7e. This is the
set of printable ASCII characters, plus LF (linefeed or newline) and EOT (end
of transmission or end of file). You need to be able to copy and paste into
the terminal program, or you need to be able to do an ASCII upload. You can
use C-Kermit as a terminal program.

2. Type "cat > kshermit" at the terminal prompt.

3. Upload kshermit from the local computer to the remote computer as an ASCII
upload or copy and paste it into the terminal.

4. If necessary, end the file by pressing CTRL-D. This will be needed if you
copied and pasted the file, but probably not needed if you used an ASCII
upload from your terminal program.

5. Type chmod 755 ./kshermit to make the script executable.

6. Connect to the remote computer using a terminal program that supports
Kermit transfers. C-Kermit works great. Set the options to prefix everything.
In C-Kermit, type "set prefixing all" before you connect.

7. After you connect and log in to the remote machine, type ./kshermit

8. Upload the file you want to transfer. If you're using C-Kermit type CTRL-\
and then C. At the command prompt type send <filename>.

Notes
=====

Kshermit is really, really slow. You should send a real file transfer program
as your first (and last) file.

If your transfer aborts before the file is finished, you probably did not
issue the "set prefixing all" command on C-Kermit.

To Do
=====

Make a version that works with bash. (bashermit?) I think it's a matter of
replacing all the print statements with equivalent printf statements.
Source: README, updated 2013-11-10