This is the mail archive of the
mailing list for the Cygwin project.
Re: less.exe v481-1 cannot seek to EOF in CRLF file; current cygwin32, Win10 only.
- From: Marco Atzeri <marco dot atzeri at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 8 Sep 2016 15:38:24 +0200
- Subject: Re: less.exe v481-1 cannot seek to EOF in CRLF file; current cygwin32, Win10 only.
- Authentication-results: sourceware.org; auth=none
- References: <165uaTsft3776S01.email@example.com> <931uaVwsq5840S01.firstname.lastname@example.org> <email@example.com>
On 08/09/2016 15:06, staffanu wrote:
KARL BOTTS wrote
Any size larger than a few meg. That is, any size that takes more
milliseconds to seek to the end, I think.
We will need someone with W10 to test it and confirm it.
On W7 I have no issue at all with 250MB file
Tested on W10-64-cygwin-32 and a 207M-file, dos and unix-endings: both
behave the same, i.e. no error when pressing 'G' and display the last
line. Was that the question?
cygwin 2.2.1, less 481
I have reproduced on Win7, same exact cygwin, same exact symptom.
OK, that you guys can't reproduce suggests that there is something special
about my cygwin installation.
What is special, I suspect, is that I have not actually recreated it in
years: I just update it, and copy the whole thing from machine to machine.
described this in the attachment to my original email.) That has worked
for a long time -- it is much easier and more consistent than running
setup.exe on many machines. But I suspect it has broken down. Somehow, I
have old libs or old config files mixed with new. (This last update, from
to 2.3, is clearly a big one.)
So, I will re-install cygwin from scratch on one machine, this weekend.
In the meantime, put this bug report on hold. Thanks to all of you.
I will let the list know how this comes out.
Was this ever resolved? I have, I guess, the same problem. I cannot see that
the size of files matter, however -- I see the problem for all CRLF files
that I tested. (It worked fine before upgrading a few days ago.)
The weird thing is that, moving the file with CRLF line endings to a binary
mounted filesystem makes less work just fine. Reading the file from a text
mounted filesystem results in the problem. Is not the point with text mounts
to be able to read text files with CRLF line endings?
Just as Karl, my Cygwin installation is very old -- i.e., any registry
entries (that I think might include mount options?) might have been written
10 years ago. Did the meaning of text/binary mounts change?
no change on less package, if you are asking it.
So I expect no change on the matter.
In general, I do not see the added value of a text mount.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple