[Top][All Lists]

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

Wrapping lines and counting characters

From: Alexander E. Patrakov
Subject: Wrapping lines and counting characters
Date: Mon, 07 Aug 2006 14:59:42 +0600
User-agent: Thunderbird (X11/20060713)


texinfo-4.8 has a problem with its line wrapping code. In multibyte locales, the line (usually the output from "man") can be wrapped prematurely, or even broken between bytes that form a multibyte character. Breaking a line in the middle of a multibyte character is a grave bug.

Also, in these locales, there is excessive whitespace between the search prompt and the place where the user enters the text to search for.

Both problems are described in more detail (with screenshots, taken as "info xmlwf") at http://linuxfromscratch.org/pipermail/lfs-dev/2005-August/052947.html.

LFS still uses this patch: http://www.linuxfromscratch.org/patches/lfs/development/texinfo-4.8-multibyte-1.patch , which simply disables i18n completely if info can't count characters properly, and makes sure that non-ASCII characters from Man don't reach info in such cases. Please accept this (very suboptimal) patch, or develop a better solution.

Alexander E. Patrakov

reply via email to

[Prev in Thread] Current Thread [Next in Thread]