Ticket #310: 06_use_several_text_browsers.patch

File 06_use_several_text_browsers.patch, 530 bytes (added by winnie, 10 years ago)

Try to use links, w3m or lynx

  • lib/mc.ext.in

    diff --git a/lib/mc.ext.in b/lib/mc.ext.in
    index c81aa71..6335b69 100644
    a b type/^PDF 
    446446# html 
    447447regex/\.([hH][tT][mM][lL]?)$ 
    448448        Open=(if test -n "@X11_WWW@" && test -n "$DISPLAY"; then (@X11_WWW@ file://%d/%p &) 1>&2; else links %f || lynx -force_html %f || ${PAGER:-more} %f; fi) 2>/dev/null 
    449         View=%view{ascii} lynx -dump -force_html %f 
     449        View=%view{ascii} links -dump %f 2>/dev/null || w3m -dump %f 2>/dev/null || lynx -dump -force_html %f 
    450450 
    451451# StarOffice 5.2 
    452452shell/.sdw