[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-ncurses] Bug in dialog's textbox with very long files
From: |
Dr. Werner Fink |
Subject: |
Re: [bug-ncurses] Bug in dialog's textbox with very long files |
Date: |
Tue, 29 May 2018 10:57:31 +0200 |
User-agent: |
NeoMutt/20170912 (1.9.0) |
On Mon, May 28, 2018 at 03:11:01PM +0000, Dr. Werner Fink wrote:
> Hi,
>
> it seems that calculation of the file length/position goes wrong with
> very long files like
>
> dialog --textbox /usr/share/doc/packages/glibc-devel/NEWS 20 70
> Press END -> correct
> Press HOME -> correct
> Repeat PAGEDOWN up to the end
>
> but this is not reached, that is at 100% the last line is not the
> end as seen with first END
I suggest the attached patch
--
"Having a smoking section in a restaurant is like having
a peeing section in a swimming pool." -- Edward Burr
textbox-file_size.patch
Description: Text Data
signature.asc
Description: PGP signature