zfs, mc, mcview and files opening

Trond Endrestøl Trond.Endrestol at fagskolen.gjovik.no
Tue Nov 10 10:29:12 UTC 2015


On Tue, 10 Nov 2015 11:05+0100, Trond Endrestøl wrote:

> On Tue, 10 Nov 2015 14:58+0500, Eugene M. Zheganin wrote:
> 
> > my midnight commander is terribly slow at vieweing files with mcview.
> 
> [snip]
> 
> > Can some workaround be used ?
> 
> I blame file(1), it's hopelessly slow. mcview uses file(1) to deduce 
> if it should just display the damn file or run the file through some 
> filter. Maybe an option in mc/mcview to disable the use of file(1) is 
> an acceptable compromise.

A workaround is to navigate to the file you wish to view. Hit M-! or 
ESC ! to activate the filter command. Hit the Home key, type in c a t 
followed by a space and hit enter.

-- 
+-------------------------------+------------------------------------+
| Vennlig hilsen,               | Best regards,                      |
| Trond Endrestøl,              | Trond Endrestøl,                   |
| IT-ansvarlig,                 | System administrator,              |
| Fagskolen Innlandet,          | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,       | Cellular...: +47 952 62 567,       |
| sentralbord 61 14 54 00.      | Switchboard: +47 61 14 54 00.      |
+-------------------------------+------------------------------------+


More information about the freebsd-stable mailing list