I'm running Ubuntu, and have installed Alpine from the package
manager, so I have alpine_1.0+dfsg-3_i386
If I open Alpine from a login shell, then choose to view a URL in my
defined url-viewer, elinks opens as expected with the desired page
displayed.
The problem is that I prefer to use GNU screen to allow multiple
virtual terminals in a single SSH session. When I oppen Alpine from
inside screen, everything seems to work correctly (including color and
xterm-mouse), except for the url-viewer. The screen flashes "[VIEWER
command completed]" and the following is written to standard error:
"Can't exec /usr/bin/elinks -force-html
http://www.google.com
Reason: No such file or directory"
This is the same command being used by Alpine outside of screen.
I have tried replacing the browser with a bash script that simply logs
any arguments that it receives in a text file. It executes as expected
when set as the url-viewer with Alpine running outside of screen, but
doesn't execute when Alpine is running inside screen.