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

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

 



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.

-- 
Sami Kerola
http://www.iki.fi/kerolasa/
--
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