Archaic wrote:

Here is what I had to do to get the current 6.1.1-1 branch to build.
With the exception of outright removing an ncurses patch (couldn't be
arsed to figure out why it whas added), every change was just to
overcome download problems and tarball/patch location problems.
The patch is needed so that ncurses-based programs draw lines properly in "xterm -lc" (testcase: net-setup displays rows of "q" characters instead of horisontal lines) and that xterm is color by default.

The locale mode (equivalent to the "-lc" switch") is enabled because in this mode xterm requires no configuration to display national characters. Without this switch, font configuration is needed for every character set other than ISO-8859-1, but no workaround for line drawing characters is needed. My opinion is that the need for any configuration on the LiveCD is a grave bug.

Possible solutions, from least to most preferred:

0) Drop out-of-the-box support for non-ISO-8859-1 locales, remove the "locale: 1" resource from /etc/X11/app-defaults/XTerm 1) Download the original patch from http://www.linuxfromscratch.org/~alexander/ncurses-5.4-20050319-patch.sh.bz2
2) Upgrade ncurses to 5.5
3) Drop xterm, as done in the utf8-newmake CD. When Xfce Terminal (vte-based) is used instead of xterm, the line drawing problem doesn't exist at all, and the color problem is easily worked around by the following command:

sed -i -e '/^xterm|/,+1s,^\(.use\)=xterm-r6,\1=xterm-xfree86,' \
  misc/terminfo.src

Also, uing Xfce Terminal instead of xterm will avoid frequent "how do I 
copy/paste" questions on IRC.

--
Alexander E. Patrakov
--
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to