Re: [PATCH] more: fix control character display bug

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

 



On Fri, Jan 30, 2015 at 05:05:55PM +0100, Sami Kerola wrote:
> On 30 January 2015 at 09:54, Sami Kerola <kerolasa@xxxxxx> wrote:
> > This removes isprint(c) column++ from get_line() that made underlining,
> > bold, and other control characters to cause more display to wrap lines
> > incorrectly.  Easiest way to see the difference is to run following
> > before and after compiling this change.
> >
> > PAGER=./more man man
> 
> Hold on. The change also alter press \n that earlier made more(1) to
> more forward one line, but after the change only new line appears. I
> will try to write better change sometime soon.

 I'm going to postpone this to provide time for better bugfix, I think
 it's better one old bug than another unknown hidden bug(s) :-)

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux