Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Creating DOS formatted text files?


  • Please log in to reply
No replies to this topic

#1 badmonkey

badmonkey

  • Members
  • 50 posts
  • OFFLINE
  •  
  • Local time:12:37 AM

Posted 25 July 2005 - 01:58 PM

Dear BleepingComputer,

by sheer chance I opened up two different text files in emacs. One of them had DOS displayed in the bottom left corner of the info. bar while the other didn't. The neat thing about the former is that I can edit it with emacs on my Mac and then transfer it to my Windows machine without having to worry about the carriage returns. When I edit the later (none DOS file) all of the carriage returns are replaced by boxes when I open it up in Notepad.

Now sadly I can't remember how I created the "DOS" file. I have tried several different variations: ANSI format, Unicode and googeling around to no avail.

Does anyone know how to create a text file which when opened up in emacs has s DOS displayed in the bottom left corner of the info bar?

Thanks,
Badmonkey

BC AdBot (Login to Remove)

 





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users