delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/23/01:20:08

Date: Tue, 23 Jul 1996 08:13:05 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: doug AT tcville DOT es DOT hac DOT com
Cc: djgpp AT delorie DOT com
Subject: Re: djgppfaq.txt is a _Unix_ text file
In-Reply-To: <199607221652.JAA00234@pcb2344h.es.hac.com>
Message-Id: <Pine.SUN.3.91.960723080128.9913A-100000@is>
Mime-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019