[patch] fix another End keypress lockup in the viewer

Pavel Tsekov ptsekov at gmx.net
Mon Aug 15 12:12:55 UTC 2005


Hello,

On Mon, 15 Aug 2005, Roland Illig wrote:

> Jindrich Makovicka wrote:
> > Hello,
> >
> > the new viewer has a problem with viewing files with DOS line
> > separators, which manifests again in a lockup after pressing the End
> > key. Then, it is impossible to move the view further, except by pressing
> > the Home key.
>
> I have corrected the view_ccache_lookup() function so that it does not
> store an entry in the cache when the previous character is a '\r'. Can
> you please check if this fixes the bug? I still cannot reproduce it. :(

Are you kidding ? Have you tried with the file I've sent you ? I've
debugged the problem and there is no way that it wont happen. Are you
using the correct MC binary ?



More information about the mc-devel mailing list