[Alpine-info] How to unlynx links in Alpine?
Lucio Chiappetti via Alpine-info
alpine-info at u.washington.edu
Mon Jan 6 13:00:48 PST 2025
I can just tell what I have in my .pinerc
(0) I run under linux no desktop environment but the fvwm window manager
(so all "xdg" stuff is presumably not relevant to me)
(1) this entry in .pinerc
URL-Viewers = /usr/bin/palemoon
should set the browser when clicking on an URL (my browser is
palemoon, derived from firefox long time ago but "is no longer
firefoz and will nevr be again"
(2) I have this entry too
Mailcap Search Path = ~/.mailcap:~/.mailcap.pine
Note that one can have a list of different mailcap files. My
sysem no longer has a default .mailcap. The first one is a long
file inheridted from an old system (lists lot of office stuff).
The second contains a few mimetype-viewer associations like
Text/html; /usr/bin/palemoon %s
Application/pdf; /usr/bin/X11/acroread %s
(3) I have this entry too
Mimetype Search Path = ~/.force-html-attach
The file contains a few mimetype-fileextension associations like
text/html html htm
application/pdf pdf PDF
(4) as far as I understand (2)(3) is not necessary to view URLs, but
to view ATTACHMENTS with a particular viewer.
The (3) is used to bypass the mimetype declared in the attachment
header with the file extension declared in file disposition. This
is because sometime HTML attachments are declared text/plain or
PDF attachments are declared as octet-stream. With the bypass
alpine asks permission to use the viwer according to file extension.
(5) the mailcap text/html entry to palemoon in the past used to
refer to a wrapper script to take care whether the browser was
running or not, but this became unnecessary at some stage.
That's all I can tell
More information about the Alpine-info
mailing list