home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / question / 15999 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  2.1 KB

  1. Path: sparky!uunet!ferkel.ucsb.edu!taco!rock!stanford.edu!agate!spool.mu.edu!howland.reston.ans.net!bogus.sura.net!ra!mimsy!nmrdc1!nocusuhs!nocusuhs.nnmc.navy.mil!dsc9hmr
  2. From: dsc9hmr@bumed10.med.navy.mil (H. Mike Rice)
  3. Newsgroups: comp.unix.questions
  4. Subject: XMODEM 3.10 ... ??
  5. Message-ID: <DSC9HMR.93Jan26160558@bumed10.med.navy.mil>
  6. Date: 26 Jan 93 21:05:58 GMT
  7. Sender: news@nocusuhs.nnmc.navy.mil (Netnews Admin Account)
  8. Distribution: comp.unix.questions
  9. Organization: elf____electronic learning facilitator, inc
  10. Lines: 38
  11. Nntp-Posting-Host: bumed10.bumed.nnmc.navy.mil
  12.  
  13. Hey Folks,
  14.  
  15. Today, in search for a replacement to kermit, I compiled XMODEM 3.10.
  16. I have used XMODEM for the past several years, however, UNIX Transfers
  17. have always been via Kermit or FTP.  XMODEM compiled fine with changes
  18. to meet the needs of SVR3.  However, I have discovered a frustrating
  19. little quirk .... which may be my own ... this is why I'm asking  ;-)
  20.  
  21. XMODEM pads ... right ?
  22.  
  23. However, in a binary transfer, the resulting file length should match
  24. its original .... right ??  wrong ??
  25.  
  26. Passing a 914 byte WordPerfect 5.1 file up to my 3B2, in binary mode,
  27. results in a file of 1024 bytes, padded with ^Z's.  It's intuitively
  28. obvious that the packet size must be maintained, however, binary 
  29. transfers should never ... NEVER ... change the contents of a file.
  30.  
  31. Then, under emacs, I removed the ^Z's to return the file back to the
  32. 914 byte size.  Xmodem'd it back to the pc (PCPLUS) and it padded
  33. again to 1024.  
  34.  
  35. I'm confused, simply because I have used XMODEM for PC to PC transfers
  36. for a long time and have never had a binary file compromised before.
  37.  
  38. Please, if you have a thought, share it.  If I should abate XMODEM
  39. binary transfers to UNIX, thats fine.  I don't want to walk away from 
  40. this without understanding why.
  41.  
  42. Thanks,
  43.  
  44. -- rice  
  45.  
  46. --
  47. |                    H. Mike Rice    |    elf_______________________
  48. | |  dsc9hmr@bumed10.med.navy.mil    |         Empowerment through
  49. |_|_____    rice@access.digex.com    |             Education !
  50.   |_______                           |______________________________
  51.