This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: less.exe v481-1 cannot seek to EOF in CRLF file; current cygwin32, Win10 only.


please reply on the list
and Bottom post please.

On 22/01/2016 16:26, KARL BOTTS wrote:
How largish ?

Any size larger than a few meg.  That is, any size that takes more than a few
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

How long are the lines ?


can you try to update to latest ?
You have
less                 471-1                            OK
cygwin               2.1.0-1                          OK


Not so.  From the 'cygcheck -s -v -r' output file that was attached to my bug
report:

0 /c/ToCygwin$ egrep '^(cygwin|less)' Karl2.cygcheck.out
cygwin                                2.3.1-1                 OK
less                                  481-1                   OK


sorry, reading the wrong file.


Did you look at the attached files?  I tried to keep the body of the email
small, per instructions.  But there is info attached.

---
Karl Botts, kdbotts@usa.net


------ Original Message ------
Received: 04:48 AM CST, 01/21/2016
From: Marco Atzeri
Subject: Re: less.exe v481-1 cannot seek to EOF in CRLF file; current
cygwin32, Win10 only.

On 20/01/2016 19:32, KARL BOTTS wrote:
In less.exe, when I use either the G or F commands on a largish CRLF file,
it
responds:

How largish ?

On Cygwin 32 bit and W7-64 I see no problem with 224 Mbytes


     Cannot seek to that file position  (press RETURN)

in the bottom "command editing line" of the display.

No problem on LF-only files.  Does happen with either mintty or
Windows-Console,
launched from either bash or cmd.exe.

Two files are attached: Karl2.cygcheck.out, which is the 'cygcheck -s -v
-r'
output,
and LessBugMoreInfo.txt, which contains background info and some
speculation.

---
Karl Botts


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]