Ticket #1696: mc-4.7.0-alt-filetypes-3gp.patch

File mc-4.7.0-alt-filetypes-3gp.patch, 641 bytes (added by wRAR, 9 years ago)
  • misc/mc.ext.in

    diff --git a/misc/mc.ext.in b/misc/mc.ext.in
    index a093f88..8301be0 100644
    a b shell/.info 
    298298regex/\.(so|so\.[0-9\.]*)$ 
    299299        View=%view{ascii} file %f && nm %f 
    300300 
     301# Exception - .3gp are video files 
     302regex/\.(3[gG][pP])$ 
     303        Include=video 
     304 
    301305regex/(([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])|\.man)$ 
    302306        Open=case %d/%f in */log/*|*/logs/*) cat %f ;; *) { zsoelim %f 2>/dev/null || cat %f; } | nroff @MAN_FLAGS@ @MANDOC@ ;; esac | %var{PAGER:more} 
    303307        View=%view{ascii,nroff} case %d/%f in */log/*|*/logs/*) cat %f ;; *) { zsoelim %f 2>/dev/null || cat %f; } | nroff @MAN_FLAGS@ @MANDOC@ ;; esac