On Wed, 15 Sep 2021, Brian Buhrow wrote:
Hello Brett. My apologies for taking so long to look at this issue. Your fixes improve the situation, but don't appear to entirely solve it. Specifically, in lynx, if trying to select from a drop down menu, the options for the drop down menu do not appear on the screen. Here's how to reproduce the issue I'm seeing and my environment, in case that helps clarify the problem.1. Run lynx against any web site. lynx -show_cursor 2. While lynx is running, press o to open the options page. 3. Arrow down until you reach the SSL prompting menu item. 4. press return on that menu item. This should produce a popup window in the middle of your text and your arrow keys should let you select one of the choices. 5. On a working system, I get the popup window and I can arrow around. On the libcurses with your changes, nothing appears on the screen, though the arrow keys do change the choices from inside Lynx, meaning when you hit return to select an option, you can see you've changed your selection back on the main screen.
This, actually isn't a curses issue. In this situation, on colour terminals, lynx highlights the selected item in yellow; on mono terms, no highlight is applied at all. You can change this by using a custom .lss file. Just copy the default /usr/pkg/etc/lynx.lss as ~/.lynx.lss, then make this small change: $ diff /usr/pkg/etc/lynx.lss ~/.lynx.lss 64c64 < menu.active: normal: yellow: black ---
menu.active: reverse: yellow: black
$ Run lynx as: lynx -lss=$HOME/.lynx.lss You can also: export LYNX_LSS=$HOME/.lynx.lss Apart from minor display glitches, it works out OK. -RVP
