[PATCH] Properly dispaying log files from /var/log

Miguel de Icaza miguel at ximian.com
Sun Jan 30 05:08:38 UTC 2005


Hello,

> This patch prevent displaying log files (like log.1) from /var/log 
> directory as a man pages. It's just a workaround, I'm working on the 
> better solutions but it will take me some more time.

Maybe a more solid path would be to use the `type' functionality in
mc.ext.in to flag troff files.

Or extend the script to use `file' and if it matches `English Text' or
does not match `troff' not treat it as a man page.





More information about the mc-devel mailing list