home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / linux / 6689 < prev    next >
Encoding:
Internet Message Format  |  1992-07-25  |  1.7 KB

  1. Path: sparky!uunet!nwnexus!remote!Gatekeeper
  2. From: Rob.Levin@f217.n3802.z1.fidonet.org (Rob Levin)
  3. Newsgroups: comp.os.linux
  4. Subject: Problems with Alpha.5 DOSFS
  5. Message-ID: <712076211.F00056@remote.halcyon.com>
  6. Date: Fri, 24 Jul 1992 08:35:52 -0800
  7. Sender: Gatekeeper@remote.halcyon.com
  8. Lines: 43
  9.  
  10. >               ....I have mounted the file system using smount, with
  11. all
  12. >three modes (binary, text, auto) and all behave the same.  The
  13. >extensions in question are .CFG, .BAT, .BTM and many more....
  14. >
  15. >HELP!  [grin]
  16.  
  17.  LCF> Unfortunitly the format of DOS and unix files is rather
  18. different.
  19.  LCF> DOS expects a carriage return and line feed at the end of the
  20. line,
  21.  LCF> and a CTRL-Z at the end of the file. Unix expects only a line
  22. feed.
  23.  
  24. I understand.  That's what auto and text mode are designed to overcome. 
  25. They allow you to access text files in such a way as to convert them to
  26. Unix standard.
  27.  
  28. I discovered the problem, which was that I was passing the conv=auto
  29. option to smount incorrectly.  It doesn't provide a lot of error
  30. messages.
  31.  
  32.  LCF> Your best bet is to write to the author of joe
  33. rcarter@wpi.wpi.edu
  34.  LCF> and ask if he can ad a DOS mode to the editor.
  35.  
  36. That is unnecessary, now that I'm mounting in auto mode.  Text files
  37. have those ^Z and ^C characters converted properly, now, assuming the
  38. filename extension is proper for DOS.  The only remaining problem is
  39. that joe returns errors reading the file--he notices that the number of
  40. characters read is incorrect.  That's an expected artifact of the
  41. conversion process.  It could be overcome in the fs, but I expect a lot
  42. of work would be involved.... :-)
  43.  
  44. I'm not sure it's even especially necessary.
  45.  
  46. Rob
  47.  
  48.  
  49.  
  50.  
  51.  * Origin: Via the Annex in Victoria, TX (1:3802/217)
  52.  
  53.