Re: zfs, mc, mcview and files opening

2015-11-10 Thread Trond Endrestøl
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

Re: zfs, mc, mcview and files opening

2015-11-10 Thread Trond Endrestøl
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

Re: zfs, mc, mcview and files opening

2015-11-10 Thread Patrick M. Hausen
Hi, all, > Am 10.11.2015 um 12:54 schrieb Eugene M. Zheganin : > > Hi, > > on 10.11.2015 15:05, Trond Endrestøl wrote: >> 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.

Re: zfs, mc, mcview and files opening

2015-11-10 Thread Trond Endrestøl
On Tue, 10 Nov 2015 16:54+0500, Eugene M. Zheganin wrote: > Hi, > > on 10.11.2015 15:05, Trond Endrestøl wrote: > > 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

Re: zfs, mc, mcview and files opening

2015-11-10 Thread Eugene M. Zheganin
Hi, on 10.11.2015 15:05, Trond Endrestøl wrote: > 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.

Re: zfs, mc, mcview and files opening

2015-11-10 Thread Marko Turk
Hi, On Tue, Nov 10, 2015 at 02:58:32PM +0500, Eugene M. Zheganin wrote: > Hi. > > my midnight commander is terribly slow at vieweing files with mcview. > Opening of a file of approximately 10 megabytes takes about 30-40 > seconds. This isn't related with the compression setting, %busy wait or >

Re: zfs, mc, mcview and files opening

2015-11-10 Thread Eugene Grosbein
On 10.11.2015 18:56, Marko Turk wrote: > Hi, > > On Tue, Nov 10, 2015 at 02:58:32PM +0500, Eugene M. Zheganin wrote: >> Hi. >> >> my midnight commander is terribly slow at vieweing files with mcview. >> Opening of a file of approximately 10 megabytes takes about 30-40 >> seconds. This isn't

Re: zfs, mc, mcview and files opening

2015-11-10 Thread Eugene M. Zheganin
Hi, on 10.11.2015 15:29, Trond Endrestøl wrote: > > 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. > My guys just told me this whole file(2)/libmagic issueis fixed