Hello,

[begin text for the book]
In UTF-8 based locales, nano-1.2.5 doesn't display non-ASCII characters correctly and doesn't accept them for input, which makes it unsuitable as an editor in such locales.
[end of text for the book]

For those who want screenshots (but probably not for the book), nano-1.2.5.png illustrates the breakage (the locale is ru_RU.UTF-8), and nano-1.2.5-good.png is how nano looks like in the ru_RU.KOI8-R locale (the document has been, of course, converted accordingly between taking the screenshots).

Nano-1.3.9 (i.e., the development version) supports UTF-8 well if it finds either libncursesw (part of UTF-8 LFS book) or S-Lang 2.x (in BLFS) at the compilation time. The instructions currently in the book work except for the installation of the sample nanorc file and other documentation. The LiveCD configures nano-1.3.9 without S-Lang and with the following arguments:

./configure --prefix=/usr --sysconfdir=/etc --enable-color \
         --enable-multibuffer --enable-nanorc

(although it should really use --sysconfdir=/etc/nano, sorry for the bug)

The question is how the book should handle this. Valid options:

1) Upgrade nano to 1.3.9 and briefly explain the reason on its page. Don't add anything to the "locale related issues" page because the issue is completely resolved.

2) Keep both nano-1.2.5 and nano-1.3.9 as separate pages, add a "caution" box on the nano-1.2.5 page explaining the issue and pointing to nano-1.3.9 page. Duplicate this on the "locale related issues" page for completeness.

Please express your preferences.

--
Alexander E. Patrakov
Don't mail to [EMAIL PROTECTED]: the server is off until 2006-01-11
Use my GMail or linuxfromscratch address instead

PNG image

PNG image

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to