home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / cieregulus / cie680.bwr < prev    next >
Text File  |  2020-01-01  |  2KB  |  52 lines

  1.         PORTING C-KERMIT TO CIE
  2.  
  3.     I made an unsuccessful attempt to port C-Kermit to a CIE Systems
  4. 680/20 computer with 256k memory.  The resulting C-Kermit not only
  5. contained bugs, but took around 15-20 seconds to echo a typed character in
  6. connect mode.  However, when loaded on a CIE with 512K of memory, the
  7. echoing of a character in (connect mode) was almost instantaneous.  On
  8. the CIE with 256K of memory, the operating system occupies almost half of
  9. this memory so that the loaded kermit program barely fits.  In connect, a
  10. new process is forked so that one process can transfer data from the
  11. remote computer to the local computer while the other process transfers
  12. data in the other direction.  The slowness may be due to process swapping
  13. between memory and hard disk.  Perhaps rewriting connect to omit forking
  14. a new process would help??
  15.  
  16. COMPILING:
  17.     Using the makefile supplied as "ckuker.mak", compile by giving
  18. the command "make sys3nid".  This would assume that the Regulus operating 
  19. system is like the Unix System III.  Due to differences you will have to
  20. make the following chages in the source code files:
  21.  
  22.  1. ckcmai.c:  Reduce the length of the hlptxt string to under 290 bytes.
  23.  This string is "C_Kermit Server...".
  24.  
  25.  2. ckutio.c and ckufio.c:  Remove "#include <sys/file.h>" since this 
  26.  header file doesn't exist on the CIE and <fcntl.h> seems to contain what 
  27.  is needed.
  28.  
  29.  3. ckutio.c:  Remove all lines which use the error number "EINTR".
  30.  This error number doesn't exist (yet?) on the CIE so you must hope that
  31.  quit will not interrupt a read.
  32.  
  33.  4. ckufio.c:  Change <sys/stat.h> to <stat.h> since the sys/stat.h does
  34.  not exist and hopefully the require information is in stat.h.
  35.  
  36.  5. ckutio.c:  Remove all lines pertaining to "ctermid" since this function
  37.  doesn't exist in Regulus.
  38.  
  39.  6. ckuus3.c and ckcpro.w:  Remove the external integer "image" from its
  40.  declaration.  It is apparently never used and rsults in a compile-time
  41.  error.
  42.  
  43.     I found that using the -3 flag to the compiler and linker resulted
  44. in more bugs so I didn't use it.  
  45.     The resulting kermit program (compiled without the -3 flag) contains
  46. bugs:  Using "quit" or "exit" will not exit from Kermit and if one uses
  47. the break key or ^A^C^C<ret> the terminal is left in a "raw" mode which
  48. may sometimes be corrected by <LF> stty sane <LF>.  Another bug is that
  49. Kermit can't find any of the files you give as arguements to the send
  50. command.
  51.  
  52.