[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Sheflug] Terminal emulation with host control capability



On Wed, 2004-09-29 at 17:10, Seb James wrote:
> On Wed, 2004-09-29 at 16:24, Morris, David (Allvac, UK) wrote:
> > > On Wed, 2004-09-29 at 12:57, Morris, David (Allvac, UK) wrote:
> > > > Does anyone know of a Linux terminal that has host-initiated file 
> > > > transfer capabilities? I've seen the Ericom one, but I was after a 
> > > > freebie :-)
> > > 
> > > Hello David,
> > > 
> > > ckermit can do file transfer over a serial connection and may 
> > > well be able to do it over a telnet session too, but you'll 
> > > have to check on that one.
> > 
> > That looks like it presses all the buttons. Thanks Seb.
> > 
> > All I have to do now is write a Kermit module for the host! Should prove
> > an interesting challenge!
> 
> You can either compile ckermit and run it on the host (so you have a
> compiled ckermit at each end of your line), or find the guy who has
> written a tiny embedded ckermit program and ask him for his code. He
> offers it along the lines of "pay me a licence if you make some money
> out of it".
> 

It's called ek, and here is the readme for v1.2:

----------------------------------------
EK 1.2 Files (28 Jan 2003)

+ cdefs.h     C language definitions (STATIC, UCHAR, ULONG)
+ debug.h     Definitions for debug()
+ kermit.c    The Kermit protocol module
+ kermit.h    Header for Kermit protocol module
  main.c      Sample calling program
  makefile    Build procedure for Unix
  platform.h  Platform-dependent definitions
  unix.h      Unix-dependent definitions
  unixio.c    i/o module for Unix

The first four files (marked with +) should require no changes.
The rest are samples.  The unix.h file contains platform-specific
definitions for Unix; this should be replaced with a similar file
for the target platform, and then copied or linked to platform.h,
which is the name of file included by the other modules.

Also replace unixio.c with a module that implements equivalent i/o
routines for the target platform, and then link with that routine.

Send questions and comments to the author, Frank da Cruz, fdc [at] columbia.edu.
-------------------------------------------



___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

  GNU the choice of a complete generation.