Opened 18 years ago

Closed 17 years ago

#1961 closed defect (fixed)

Lynx configuration options

Reported by: alexander@… Owned by: alexander@…
Priority: normal Milestone: 6.2.0
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

To enable good locale support in Lynx, please:

  • Pass --enable-locale-charset configure option, needed for a configuration step below.
  • Make S-Lang-2.0.6 not an optional, but a "Not Recommended" dependency, because Lynx properly uses UTF-8 terminals only when compiled against ncursesw.
  • Add a configuration step so that Lynx gets the proper terminal charset from locale settings:
    sed -i 's/#LOCALE_CHARSET:FALSE/LOCALE_CHARSET:TRUE/' /etc/lynx.cfg
    
  • Add a note that the --enable-nls option (that enables translations of messages generated by Lynx) is not recommended for UTF-8 locales, because Lynx prematurely truncates translated messages in the status line. It is a bug in Lynx.

Change History (8)

comment:1 by dnicholson@…, 18 years ago

Owner: changed from blfs-book@… to dnicholson@…
Status: newassigned

Seems fine to me.

comment:2 by Randy McMurchy, 17 years ago

Type: taskdefect

comment:3 by alexander@…, 17 years ago

Note that the bad effect of --enable-nls disappeared in Lynx-2.8.6.

comment:4 by Randy McMurchy, 17 years ago

BLFS has been updated to Lynx-2.8.6. I'm not sure what that does to the status of this ticket. Seems there's multiple issues listed here in this ticket, so I think there may still be issues.

comment:5 by alexander@…, 17 years ago

This ticket is still valid, except for the --enable-nls part (this became a recommended switch). So, the updated description is:

To enable good locale support in Lynx, please:

  • Pass --enable-locale-charset configure option, needed for a configuration step below.
  • Recommend the --enable-nls option, for translated messages
  • Make S-Lang-2.0.6 not an optional, but a "Not Recommended" dependency, because Lynx properly uses UTF-8 terminals only when compiled against ncursesw.
  • Add a configuration step so that Lynx gets the proper terminal charset from locale settings:
    sed -i 's/#LOCALE_CHARSET:FALSE/LOCALE_CHARSET:TRUE/' /etc/lynx.cfg
    

comment:6 by Randy McMurchy, 17 years ago

A couple of comments about Alex's most recent update:

  1. I think a paragraph under the depedencies saying that S-Lang is not recommended because ... would be the best thing
  1. The configuration file is now /etc/lynx/lynx.cfg, as I moved the config dir to /etc/lynx as there are now multiple files put there.

comment:7 by dnicholson@…, 17 years ago

Owner: changed from dnicholson@… to alexander@…
Status: assignednew

Alexander, I hope you don't mind, but I've reassigned this to you. You can reassign to me if you don't wan the extra workload.

comment:8 by alexander@…, 17 years ago

Resolution: fixed
Status: newclosed

Fixed in r6455. Please trim the explanation of --enable-locale-charset to "needed for a configuration step below" if you think that the current explanation is too verbose.

Note: See TracTickets for help on using tickets.