home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / linux / 23141 < prev    next >
Encoding:
Text File  |  1993-01-07  |  1.6 KB  |  38 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!uunet.ca!xenitec!mongrel!shrdlu!gdm
  3. From: gdm@shrdlu.kwnet.on.ca (Giles D Malet)
  4. Subject: Re: UUGETTY & Lock files...
  5. References: <1993Jan3.061828.27179@exucom.com> <C0EFGJ.706@jti.com>
  6. Organization: 3.141592653589793238462643383279502884197169399
  7. Date: Thu, 7 Jan 1993 16:45:53 GMT
  8. Message-ID: <C0Ht8H.tuI@shrdlu.kwnet.on.ca>
  9. Lines: 27
  10.  
  11. In article <C0EFGJ.706@jti.com> richb@jti.com (Richard Braun) writes:
  12. >
  13. >My version of kermit uses binary PIDs so I had to change
  14. >and recompile uugetty to do likewise.
  15.  
  16. A word of warning - the binary version of kermit doing the rounds is
  17. `wrong' in using binary PID's. I say `wrong' because all software has
  18. to agree on a format, and since the dark ages kermit has used straight
  19. ascii. uucp, uugetty, and various other programs all use ascii as well.
  20.  
  21. You should be fixing kermit, and now your uugetty, else the following can
  22. happen : uucp starts using the line and writes an ascii lock.  You fire
  23. up kermit, it reads the lock as binary, gets a PID about 15digits long,
  24. can't find that process, assumes it is dead, removes the lock and also
  25. tries to grab the line.... Next cron fires off a uucico which reads the
  26. binary file as ascii, ..... and grabs the line. Next uugetty wakes up,
  27. looks around... and grabs the line.
  28. I'll stop now - I'm breaking out in a cold sweat.
  29.  
  30. Also, ascii lock numbers are easliy readable by scripts and humans.
  31.  
  32. This is going to cause problems and more volume in the newsgroup if that
  33. kermit is not fixed !
  34.  
  35. -- 
  36. Giles D Malet                                             gdm@shrdlu.kwnet.on.ca
  37. Waterloo, Ont, Canada       +1 519 725 5726       gdmalet@descartes.uwaterloo.ca
  38.