home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / emacslisp / emkermitdoc.txt < prev   
Internet Message Format  |  2020-01-01  |  1KB

  1. Date: Thu, 2 Jun 1994 18:51:54 GMT
  2. From: "Ben A. Mesander" <ben@piglet.cr.usgs.gov>
  3. To: fdc@watsun.cc.columbia.edu
  4. Cc: manson@pattyr.acs.ohio-state.edu
  5. Subject: Kermit in emacs lisp
  6.  
  7. Frank,
  8.  
  9. Here is an implementation of kermit written in emacs lisp that Bob Manson
  10. and myself wrote. It has been tested to work with various emacs versions
  11. between 18.59 and 19.24. It's a simple kermit - it just does binary and
  12. ascii send and recieve, but it should be portable to any machine emacs runs
  13. on (unix, vms, windows nt... etc).
  14.  
  15. To run it, either put it in a directory in your load-path, or add the
  16. directory it is in to your load-path, and then execute (load "kermit"),
  17. perhaps in your .emacs. Or if you just want to test it quickly, pull it up in
  18. a buffer and do M-x eval-current-buffer.  Byte compiling it will improve
  19. performance.
  20.  
  21. Once you have it loaded, there are three commands:
  22.  
  23. M-x kermit-send-buffer   <-- prompts for a buffer name and sends it via
  24.                              kermit protocol.
  25. M-x kermit-send-current-buffer  <-- sends the buffer your cursor currently
  26.                                     is in via the kermit protocol.
  27. M-x kermit-receive-buffer  <-- receives a buffer from the local kermit program.
  28.  
  29. To switch between binary and text mode,
  30.  
  31. set kermit-text-mode to t (true) or nil (false):
  32.  
  33. Image mode:
  34.  
  35. M-x set-var RET kermit-text-mode RET nil RET
  36.  
  37. ASCII mode:
  38.  
  39. M-x set-var RET kermit-text-mode RET t RET
  40.