Re: MC internal viewer bug



On Fri, May 31, 2002 at 12:04:10AM -0700, Arpad Biro wrote:
> > > I encountered a bug in MC 4.5.55's internal text file viewer. Try it
> > > with the attached test file: using an X terminal, take a look at this
> > > file in the internal viewer. Press F2 so that lines will be wrapped.
> > > Then start resizing the window in horizontal direction. You'll see
> > > that at certain horizontal sizes the text will not be wrapped.
> > > Hope you can reproduce it.
> > > (I'm using KDE 2.2.2 under Mandrake 8.1, running MC in Konsole.)
> > 
> > The bug is still present in the CVS version.  Feel free to report it to 
> > the mailing list.

 Confirmed. I seems to be the tab expansions fault. With tabs, it wraps
only on n*8 and n*8+1.

> # od -tx1 testfile
> 0000000 61 09 62 09 63 09 64 09 65 09 66 09 67 09 68 09

 Idle question: Is there a simple way of reversing hexdumps?

 [perl -ane 'print map(chr, map(hex, @F));']


-- 
//Björnen, bjorn @ bjornen . nu | http://bjornen.nu | |_).._. _ _  _ _ \\
( GPG: 3F1E41C8 5229D5F6 5D8E0149 659CDF06 8320510D | |_)|(_)| | )(-| ) )
\\ Mutt+Vim+..[No list CC:s please]..+GPG+GNU/Linux |   /              //

Attachment: pgp1W6IJ9e8Cr.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]