This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Help : File does not end with newline
- To: dewar at gnat dot com
- Subject: Re: Help : File does not end with newline
- From: Christopher Faylor <cgf at redhat dot com>
- Date: Sun, 30 Sep 2001 21:00:45 -0400
- Cc: gcc at gcc dot gnu dot org, kaih at khms dot westfalen dot de
- References: <20011001004329.96C0DF2B7A@nile.gnat.com>
On Sun, Sep 30, 2001 at 08:43:29PM -0400, dewar@gnat.com wrote:
><<However, I can't remember seeing a Windows-based editor that did this, or
>a Windows-based textfile that had that 0x1A.
>>>
>
>Well there are some, and another test is that in my experience *all* windows
>editors except those hailing from Unix sources, can always at least
>*recognize* the 1A. Yes, the 1A hailed from CPM, but was incorporated
>into DOS (which remember was derived from CPM), and this convention has
>continued in at least half baked form in the DOS/Windows environment
>ever since.
FWIW, we eliminated the recognition of CTRL-Z as EOF from cygwin a while
ago. If this problem is actually related to that, this is the first
time I've heard about a problem since then.
Cygwin is a little strange, however, in that it tries to straddle the worlds
of Windows and UNIX. The special behavior of CTRL-Z was actually causing
other problems with ported UNIX tools, even in text mode. That is why we
decided to eliminate it.
cgf