Re: [mu TECH] Midnight Commander's F3 View starts slow?

From: Michele Andreoli ([email protected])
Date: Tue Feb 15 2000 - 18:10:03 CET


On Tue, Feb 15, 2000 at 10:12:55AM -0500, Alfie Costa nicely wrote:
>
> A layman's diagnosis of the symptoms... mc.ext has a 'type' option, which calls
> the unix 'file' command. mu's 'file' is rustic, and mc.ext could be calling
> 'file' many times, so that it thrashes.
>

The solution! Bravo Alfie: you solved the puzzle. Yes, muLinux "file"
command is the most incredible script I never wrote: it use only "dd"
to fetch some bytes from the file's head, trying to recognize the
file content. Instructive, but inefficient is called serially.

Michele

-- 
I'd like to conclude with a positive statement, but I can't 
remember any. Would two negative ones do?       -- Woody Allen
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:13 CET