home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / linux / 6596 < prev    next >
Encoding:
Text File  |  1992-07-23  |  1.8 KB  |  41 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!chx400!bernina!almesber
  3. From: almesber@nessie.cs.id.ethz.ch (Werner Almesberger)
  4. Subject: Re: Problems with Alpha.5 DOSFS
  5. Message-ID: <1992Jul23.203727.13972@bernina.ethz.ch>
  6. Sender: news@bernina.ethz.ch (USENET News System)
  7. Organization: Swiss Federal Institute of Technology (ETH), Zurich, CH
  8. References: <711742044.F00070@remote.halcyon.com> <1992Jul22.215221.10527@murdoch.acc.Virginia.EDU>
  9. Date: Thu, 23 Jul 1992 20:37:27 GMT
  10. Lines: 29
  11.  
  12. In article <1992Jul22.215221.10527@murdoch.acc.Virginia.EDU> lfoard@Turing.ORG (Lawrence C. Foard) writes:
  13. > Unfortunitly the format of DOS and unix files is rather different.
  14. > DOS expects a carriage return and line feed at the end of the line,
  15. > and a CTRL-Z at the end of the file. Unix expects only a line feed.
  16.  
  17. Fortunately, the MS-DOS FS can do DOS<-->UNIX text translation in the
  18. kernel, if requested. It isn't perfect, but should be okay for most
  19. practical purposes.
  20.  
  21. smount -t msdos -o conv=b ...    -> binary only (default)
  22. smount -t msdos -o conv=t ...    -> text only
  23. smount -t msdos -o conv=a ...    -> automatic switching (based on the
  24.                    file extension)
  25.  
  26. If all else fails, there are still the manual conversion tools fromdos
  27. and todos ...
  28.  
  29. > Your best bet is to write to the author of joe rcarter@wpi.wpi.edu
  30. > and ask if he can ad a DOS mode to the editor.
  31.  
  32. And don't forget to add a DOS mode to EMACS, vi, awk, sed, grep, tr,
  33. Perl, ... ;-)
  34.  
  35. - Werner
  36. -- 
  37.    _________________________________________________________________________
  38.   / Werner Almesberger, ETH Zuerich, CH      almesber@nessie.cs.id.ethz.ch /
  39.  / IFW A44  Tel. +41 1 254 7213                 almesberger@rzvax.ethz.ch /
  40. /_BITNET:_ALMESBER@CZHETH5A__HEPNET/CHADNET:_[20579::]57414::ALMESBERGER_/
  41.