Re: Random idea:
Hello Mark Lundeberg!
On Wed, 29 December 1999 at 17:40:04, you wrote:
>
> Using #! wouldn't be a very good solution.
Of course.
> A nice solution would be nearly like W95's system for executing files,
> except using the 'file' command (or something similar that returns a MIME
> type) to get the file's type instead of using the file's extension. For a
> GUI, this wouldn't be too hard to do, but in text-mode, you might want a
> 'run' program to take the default action. Also have an 'alt' program
> to give a list of all actions, and let the user select one. The system
> could have a global database of actions for each file type, and users
> could have their own preferences.
Sounds good.
> Note: For those fortunate enough to not have used '95,
> double-left-clicking on a file uses a default action for that extension
> type, and right-clicking brings up a menu of all actions registered for
> that extension. Each action has a name ('Edit') and the program to use for
> it ('/bin/vi'). Unknown file types have the default action of 'Open
> with...'.
I guess roughly the same goes for OS/2 with the notable exception
that it did not depend solely on those *.foo.bar extensions.
/bye
Dirk
Reply to: