[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

3.1.9.25 A different action for each file type

Many files on UNIX systems have one or more extensions specifying their types. For example, a file that ends in ‘.c’ is a file containing a C program, while a file ending in ‘.tar.gz’ is a tar archive compressed with the gzip utility. Having a default action for each file type, binded on the same key, seems to be a good idea because you can use that key to obtain type specific information about a file or to process it in some type specific way much easier. The GNUIT package contains a script called gitaction that is used to detect the current file type and perform a type specific action. See section The GNUIT per file type action script, for more information.

F2, ESC 2, ^X a

 
Perform an action on the current file, depending on its type
(‘FILE-ACTION’).

This document was generated by Ian Beckwith on March, 1 2009 using texi2html 1.78.