delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/03/22/03:27:40

To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Info port to DJGPP
Date: Tue, 22 Mar 94 10:12:46 +0200
From: eliz AT is DOT elta DOT co DOT il

  The INFO program distributed with DJGPP 1.11 requires Unix-style text
files (i.e. with LF's alone, without CR-LF pairs).  Don't you think this is
WRONG?  It requires am innocent user to run dtou or some such every time he/she
changes a bit of .inf file with DOS-based editor.  Wouldn't it be better, if
it worked with BOTH Unix- and DOS-style text files?  It seems to me that the
road between Unix and DOS is pretty much one-way as far as ports from Unix to DOS
are concerned.  That is to say, you usually BRING files to DOS, then work on them,
and they never usually come back to Unix.  So it seems to me a bit cruel to
require that I maintain my info files in Unix format when it's obvious that they
probably never would make their way to any Unix system (except simtel archives).
There was quite a bit of traffic some time ago about this, indicating that
several people didn't realize this CR-LF stuff and were confused.  So was I,
because I have a version of Info from GNUish, which worked OK.
  Anyway, to make the long story short, I've changed Info and Makeinfo so that
they now accept BOTH Unix and DOS text files.  It's a small change, and most of
it boils down to undoing the infamous #ifdef --MSDOS-- clauses added to the
original code, because open() and read() work with text files by default.

  If anybody wants the patch (or if DJ thinks the next update shopuld have it),
I'll be glad to mail it.

			Eli Zaretskii

- Raw text -


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