home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / alt / sources / 2909 < prev    next >
Encoding:
Text File  |  1993-01-02  |  1.8 KB  |  54 lines

  1. Newsgroups: alt.sources
  2. Path: sparky!uunet!psinntp!jpradley!jpr
  3. From: jpr@jpradley.jpr.com (Jean-Pierre Radley)
  4. Subject: Re: PATCH: add auto-zmodem to XC
  5. Date: Sat, 02 Jan 1993 04:13:21 GMT
  6. Message-ID: <1993Jan02.041321.1976@jpradley.jpr.com>
  7. References: <1993Jan1.030343.1@acad2.alaska.edu>
  8. Organization: Unix in NYC
  9. Lines: 43
  10.  
  11. In article <1993Jan1.030343.1@acad2.alaska.edu> axlas@acad2.alaska.edu (Leif A Sawyer) writes:
  12. >#define BEGIN_LEGALEEZE
  13. >/*
  14. > * This is an unoffical patch to XC 30b-L1.5.  It is not supported
  15. > * by the author or the maintainer of XC.  No guarantees are offered
  16. > * nor is the author of the code responsible for any mishaps caused
  17. > * by mis-installation, or other inherent risks caused by using this
  18. > * patch.
  19. >* / 
  20. >#define END_LEGALEEZE
  21.  
  22. Since I issue new XC releases, I'm kind of intrigued.
  23. The latest version of XC is 3.3, while 3.0b is from July of 1991.
  24. What the hell L1.5 means, I wouldn't know.
  25.  
  26. You're more than welcome to patch XC any way you want, but you might not know
  27. that the current version has keybinding, so that in my .xc, I have:
  28.  
  29.     #####
  30.     # Dynamic keyboard binding feature
  31.     #####
  32.  
  33.     # Bind XCAPE-^S to receive a file using sz (.sz is in the distribution)
  34.     bind_script 19 "/usr/lib/xc/.sz"
  35.  
  36.     # Bind XCAPE-^R to receive a file using rz (.rz is in the distribution)
  37.     bind_script 18 "/usr/lib/xc/.rz"
  38.  
  39. The .sz script (.rz is quite similar):
  40.  
  41.     echo -n "What files are to be sent? "
  42.     read FILES
  43.     echo "Starting ZMODEM send (sz -y " FILES ")"
  44.     pipe "sz -y " FILES
  45.  
  46. Voila. Zmodem integration in XC.
  47.  
  48.  
  49. If anyone wishes the current shar files for XC, ask me for version 4.0 (ANSI
  50. Prototypes), or version 3.3 (plain old C-code). Execpt for function
  51. protoyping, they're identical.
  52. -- 
  53. Jean-Pierre Radley   Unix in NYC   jpr@jpr.com   jpradley!jpr   CIS: 72160.1341
  54.