Quoth Mike McClain:
'As per your suggestion I put this in ~/.mailcap:
text/plain; cat %s; copiousoutput'
The first field (the part before ;) identifies the type of file. This
entry instructs mail (and lynx) how to treat 'text/plain' files, not
ruby files.
'When that didn't help I created ~/.lynxcap with the same
entry.'
.lynxcap is my invention. To get lynx to use it one must add:
PERSONAL_MAILCAP:~/.lynxcap
to lynx.cfg; lynx uses .mailcap by default.
'Reading up on mailcap led to mime.types and in /etc/mime.types
commenting out this line:
#application/x-ruby rb
allowed lynx to open ruby source files.'
Lines that begin with # are comments, not acted upon. I would
have tried:
text/rb; less %s
russell bell
_______________________________________________
Lynx-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lynx-dev