Opened 18 years ago
Closed 17 years ago
#1961 closed defect (fixed)
Lynx configuration options
Reported by: | Owned by: | ||
---|---|---|---|
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 , 18 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 17 years ago
Type: | task → defect |
---|
comment:4 by , 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 , 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 , 17 years ago
A couple of comments about Alex's most recent update:
- I think a paragraph under the depedencies saying that S-Lang is not recommended because ... would be the best thing
- 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 , 17 years ago
Owner: | changed from | to
---|---|
Status: | assigned → new |
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 , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
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.
Seems fine to me.