filealtopen man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



FILETYPE(1)			Printing Tools			   FILETYPE(1)

NAME
     filetype, fileopen, filealtopen, wstype - determine filetype of specified
     file or files

SYNOPSIS
     filetype [-v]  [ -d filetypeDataBasePath ] [-o | -a ] file...

DESCRIPTION
     filetype is a utility used to determine the IRIX Interactive Desktop
     (IID(1G)) file type of a file or set of files.  filetype uses the IRIX
     Interactive Desktop file typing database to look up file typing rules and
     apply them to the files listed, then prints the file type for each file
     whose type was requested.	The conversion rules are located in compiled
     .otr files in /usr/lib/filetype. The older ftr(1) database format, .ctr
     files are not supported anymore.  The source .ftr files can be found in
     the local, install, system, and default subdirectories under
     /usr/lib/filetype.

     If no file type can be determined for a particular file, the string
     "Unknown" is returned.  If a file type can be determined, filetype will
     return a string representing the name of the file and its IRIX
     Interactive Desktop type name.

USAGE
     The -v option should be used when detailed file typing information is
     desired.  This option prints a copy of the full file-type rule when a
     file is successfully typed.

     -d filetypeDataBasePath is an alternate path to the compiled file-typing
     rules.  The default path is /usr/lib/filetype/desktop.otr.

     The -o and -a options execute the FTR "Open" and "Alt-Open" rules for the
     selected files.  The first filename on the command line is put into the
     $LEADER variable, the rest into $REST.  The rest of the IRIX Interactive
     Desktop environment variables are set appropriately accordingly.  (See
     man ftr for more information on those variables.)	Invoking fileopen is
     equivalent to passing the -o switch to filetype. Invoking filealtopen is
     equivalent to passing the -a switch to filetype.

     The -v option should be used when detailed file typing information is
     desired.  This option prints a copy of the full file-type rule when a
     file is successfully typed.

     file(s) is one or more file names, separated by spaces.

     A typical call from the command line and its resulting output might look
     like the following:

	  $ filetype /etc/passwd /unix /dev/kmem

	     /etc/passwd AsciiTextFile

									Page 1

FILETYPE(1)			Printing Tools			   FILETYPE(1)

	 /unix GenericExecutable

	  /dev/kmem CharSpecial

TYPE ORDERING
     The ordering of files on filetype's command line determines the ordering
     of files and types reported.

FILES
     /usr/lib/filetype/local/*.ftr
     /usr/lib/filetype/install/*.ftr
     /usr/lib/filetype/system/*.ftr
     /usr/lib/filetype/default/*.ftr
     /usr/lib/filetype/desktop.otr

SEE ALSO
     IRIS Impressario Programming Guide , IRIX Interactive Desktop Integration
     Guide , routeprint(1), ftr(1).

									Page 2

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net