Mail Archives: djgpp/1996/07/23/01:20:08
On Mon, 22 Jul 1996, Douglas Gleichman wrote:
> I just noticed that the djgpp faq djgppfaq.txt in faq201b.zip
> is a Unix text file. Some DOS editors can handle unix files
> and some can't.
This is done on purpose. The tools that generate the FAQ create DOS text
files, but I convert them to Unix format when I package them into the ZIP
file. The reason is that DOS development tools can usually handle
Unix-style text files much better than Unix tools handle DOS-style
files. Since many people use DJGPP on Linux boxes (or other Unix-hosted
cross-development platforms), I don't want them to curse my guts. Please
note that all the DJGPP text files are distributed in this way, so the
FAQ is no exception. For instance, look at the header files in the
include/ directory. If your editor cannot grok Unix text files, you
won't be able to look at the headers or at the DJGPP library sources as
well.
DJGPP comes with a program called UTOD.EXE (check your bin/ subdirectory)
that will convert the files to DOS format. It will accept wildcards as
its command-line arguments, and will even preserve the time-stamps of the
files. So if you don't want to switch to another editor (which you
should IMHO), it is very simple to do the conversion. Unix conversion
programs are much more cumbersome btw, they can only convert a single
file at a time.
- Raw text -