home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 22 gnu / 22-gnu.zip / xfm131.zip / XFree86 / man / man1 / xfm.1
Text File  |  1996-03-22  |  27KB  |  793 lines

  1.  
  2.  
  3.  
  4. XFM(1)                            XFM(1)
  5.  
  6.  
  7. NAME
  8.        xfm - X file and applications manager
  9.  
  10.  
  11. SYNOPSIS
  12.        xfm [options ...]
  13.  
  14.  
  15. DESCRIPTION
  16.        Xfm  is    a file and applications manager program for the X
  17.        window system.  It provides virtually all of the    features
  18.        that you would expect in a file manager - move around your
  19.        directory tree in multiple windows, move, copy  or  delete
  20.        files,  and  launch programs with simple mouse operations.
  21.        Directory displays are updated  automatically  in  regular
  22.        intervals  when the contents of the directory changes. The
  23.        integrated  application    manager    provides   a    kind   of
  24.        ``shelf'' onto which you can place your favourite applica-
  25.        tions, as well as the files and directories you    are  cur-
  26.        rently  working with. It also allows you to access differ-
  27.        ent groups of applications and files.  User-definable file
  28.        types  let  you specify a command to be executed when dou-
  29.        ble-clicking on a file or dropping other    files    onto  it.
  30.        Last  not  least,  xfm can automatically mount and unmount
  31.        special devices like floppies as you open  and  close  the
  32.        corresponding directories (mount points).
  33.  
  34. OPTIONS
  35.        Xfm  accepts  all  the usual toolkit options. Furthermore,
  36.        the following options let you control which windows should
  37.        be displayed at startup.
  38.  
  39.        -appmgr
  40.        Only display the application manager window.
  41.  
  42.        -filemgr
  43.        Only display the file manager window.
  44.  
  45.        If  both    -appmgr  and  -filemgr    are  specified, then the
  46.        applications and one file  manager  window  will    be  dis-
  47.        played,    which  is  also    the default. If only -filemgr is
  48.        specified, the application manager will not  be    available
  49.        in this session.
  50.  
  51. RUNNING XFM FOR THE FIRST TIME
  52.        There are a number of configuration files which need to be
  53.        placed in your home directory in order  to  run    xfm.   To
  54.        install    the  default configuration files, run the program
  55.        xfm.install which  will    create    a  directory  ~/.xfm  and
  56.        install some files in there.  These are your personal con-
  57.        figuration files, and may be edited to  customise  Xfm  to
  58.        your own tastes.
  59.  
  60.  
  61.  
  62.  
  63.  
  64. X Version 11        10 February 1994            1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. XFM(1)                            XFM(1)
  71.  
  72.  
  73. USAGE
  74.        Most of it should be fairly obvious. There is one applica-
  75.        tion window and zero or more file windows in which  direc-
  76.        tories  (also  termed  folders) are displayed. In order to
  77.        perform an action, you either select items and then invoke
  78.        a  menu operation, or you drag items from a file window to
  79.        a second (maybe the same) file window or    the  application
  80.        window.    You  can  also double-click on an item to start a
  81.        corresponding action (like launching an application, edit-
  82.        ing  a file, or changing directories), and press the right
  83.        menu button on an item to bring up a menu containing oper-
  84.        ations  for  a  single  file or application.  Pressing the
  85.        right button on the background of the  application  window
  86.        displays    the    application  menu.  File  operations  are
  87.        accessed from the file window menu bar as usual.
  88.  
  89.        The left-hand mouse button selects an item (and    deselects
  90.        all  others in the same window). The second button toggles
  91.        the selected state of an item.
  92.  
  93.        You can drag with the left-hand button to  another  window
  94.        (or  another  icon, in general a valid destination will be
  95.        highlighted with a border when the cursor is over  it)  to
  96.        move  files from one directory to another. The second but-
  97.        ton used in the same way will copy files. Applications can
  98.        be  launched  by    dropping  files  on them; and installing
  99.        files and programs in the application manager can be  done
  100.        by  dropping  files  on    the background of the application
  101.        window.    Finally, new file windows can be opened by simply
  102.        dragging a directory icon to the root window.
  103.  
  104.        The action taken when double-clicking on a file depends on
  105.        the type of the file. If it is a    directory,  it    is  dis-
  106.        played  in  the    file  window. If it is an executable, the
  107.        program is started. Other files are opened in the  default
  108.        editor  (specified  by the defaultEditor resource), unless
  109.        another action is given in the xfmrc file (see  CONFIGURA-
  110.        TION below).
  111.  
  112.        Directories  can    be  displayed    in three different forms:
  113.        tree (display  subdirectories  in  tree-like  form),  icon
  114.        (display directories and files as icons) and text (similar
  115.        to ls -l). These options are selected from the View  menu.
  116.        In  the    tree form, clicking on the arrows takes you up or
  117.        down one level.
  118.  
  119.        Directory displays are updated  automatically  in  regular
  120.        intervals  when the contents of the directory changes. You
  121.        can also explicitly request a  folder  update  by  double-
  122.        clicking    on the directory name field of the corresponding
  123.        file window.
  124.  
  125. MENU COMMANDS
  126.        FILE MENU
  127.  
  128.  
  129.  
  130. X Version 11        10 February 1994            2
  131.  
  132.  
  133.  
  134.  
  135.  
  136. XFM(1)                            XFM(1)
  137.  
  138.  
  139.        File manipulation operations.
  140.  
  141.        New...
  142.        Create a new (and empty) file.
  143.  
  144.        Move
  145.        Rename a single  item  (directory  or  file)    or  move
  146.        selected items to another directory.
  147.  
  148.        Copy
  149.        Create  a  copy  of    a single item under a new name or
  150.        copy selected items to another directory.
  151.  
  152.        Link...
  153.        Create a symbolic link.
  154.  
  155.        Delete
  156.        Delete the selected items.
  157.  
  158.        Select...
  159.        Select items by pattern. The usual metacharacters  are
  160.        recognized  (*, ?, [ ]). (Currently there is no provi-
  161.        sion for escaping these.)
  162.  
  163.        Select all
  164.        Select all items in the current directory (except  the
  165.        parent directory).
  166.  
  167.        Deselect
  168.        Deselect all items.
  169.  
  170.        Quit
  171.        Terminate xfm.
  172.  
  173.        FOLDER MENU
  174.  
  175.        Operations dealing with directories and the file window.
  176.  
  177.        New...
  178.        Create a new directory.
  179.  
  180.        Go to...
  181.        Display the specified directory.
  182.  
  183.        Home
  184.        Display your home directory.
  185.  
  186.        Up
  187.        Display the parent directory.
  188.  
  189.        Empty
  190.        Delete all items in the current directory.
  191.  
  192.  
  193.  
  194.  
  195.  
  196. X Version 11        10 February 1994            3
  197.  
  198.  
  199.  
  200.  
  201.  
  202. XFM(1)                            XFM(1)
  203.  
  204.  
  205.        Close
  206.        Close this file window.
  207.  
  208.        VIEW MENU
  209.  
  210.        Options for the directory display.
  211.  
  212.        Tree
  213.        Select the tree form display.
  214.  
  215.        Icons
  216.        Select the icons form display.
  217.  
  218.        Text
  219.        Select the text form display.
  220.  
  221.        Sort by name
  222.        Sort directory by name.
  223.  
  224.        Sort by size
  225.        Sort directory by size.
  226.  
  227.        Sort by date
  228.        Sort directory by date.
  229.  
  230.        Hide folders
  231.        Suppress directory items.
  232.  
  233.        Mix folders/files
  234.        Mix directories and other files.
  235.  
  236.        Show hidden files
  237.        Show hidden files (files starting with a dot).
  238.  
  239.        FILE POPUP MENU
  240.  
  241.        Operations on a single file. This menu pops up when press-
  242.        ing the right mouse button on a directory or file icon.
  243.  
  244.        Open
  245.  
  246.        Edit
  247.        Open a new file window  if  the  selected  item  is    a
  248.        directory, otherwise edit the selected file.
  249.  
  250.        Move
  251.        Move the selected item.
  252.  
  253.        Copy
  254.        Copy the selected item.
  255.  
  256.        Delete
  257.        Delete the selected item.
  258.  
  259.  
  260.  
  261.  
  262. X Version 11        10 February 1994            4
  263.  
  264.  
  265.  
  266.  
  267.  
  268. XFM(1)                            XFM(1)
  269.  
  270.  
  271.        Information...
  272.        Display  information    about    the  selected  item (file
  273.        size, permissions and such).
  274.  
  275.        Permissions...
  276.        Change the permissions of the selected item.
  277.  
  278.        APPLICATION MENU
  279.  
  280.        Operations for managing the applications window.
  281.  
  282.        Install...
  283.        Install a new application in the applications  window.
  284.        Pops    up  a    dialog    form into which you can enter the
  285.        necessary information (see CONFIGURATION for a discus-
  286.        sion of the fields in this form).
  287.  
  288.        Delete
  289.        Delete  the    selected items from the applications win-
  290.        dow.
  291.  
  292.        Save setup
  293.        Save the state  of  the  applications  window  in  the
  294.        applications file (see CONFIGURATION below).
  295.  
  296.        Load setup
  297.        Restore the setup from the applications file.
  298.  
  299.        File window
  300.        Open a new file window.
  301.  
  302.        Quit
  303.        Terminate xfm.
  304.  
  305.        APPLICATION POPUP MENU
  306.  
  307.        Operations on a single application item. This menu pops up
  308.        when pressing the right mouse button on    an  icon  in  the
  309.        application window.
  310.  
  311.        Edit
  312.        Edit    an application item. Pops up a dialog form which
  313.        allows you to  change  the  configuration  information
  314.        associated  with  the selected item (see CONFIGURATION
  315.        for a discussion of the fields in this form).
  316.  
  317.        Move
  318.        Move the selected item to the bottom of  the    applica-
  319.        tions  window.  This operation provides a (rather awk-
  320.        ward) way of    rearranging  the  order  of  application
  321.        items.
  322.  
  323.        Copy
  324.        Copy    the    selected   item    to  the  bottom  of  the
  325.  
  326.  
  327.  
  328. X Version 11        10 February 1994            5
  329.  
  330.  
  331.  
  332.  
  333.  
  334. XFM(1)                            XFM(1)
  335.  
  336.  
  337.        applications window.
  338.  
  339.        Delete
  340.        Delete the selected item from the applications window.
  341.  
  342. RESOURCES
  343.        Various    aspects of xfm can be configured by changing cor-
  344.        responding resource settings in the  applications  default
  345.        file. Some important resources are listed below:
  346.  
  347.        bitmapPath
  348.  
  349.        pixmapPath
  350.        The    path  on  which    to  search for bitmap and pixmap
  351.        icons, respectively.
  352.  
  353.        applicationDataFile
  354.  
  355.        configFile
  356.  
  357.        devFile
  358.        The names of the application and  configuration  files
  359.        used    by xfm (see CONFIGURATION). Normally, these will
  360.        be hidden files in your home directory.  You may  wish
  361.        to change this, e.g., if you want to provide a system-
  362.        wide xfmrc file. (The applications file should  always
  363.        be  kept  in the user's home directory, such that each
  364.        user can save his/her private application settings.)
  365.  
  366.        autoSave
  367.        Enable or  disable  automatic  saving  of  application
  368.        files.  When    this  feature is enabled (which it is by
  369.        default), then xfm saves your  application  setup  (if
  370.        modified)  whenever you switch to a new file (by means
  371.        of the LOAD action, see CONFIGURATION),  or    when  you
  372.        terminate xfm.
  373.  
  374.        doubleClickTime
  375.        Set    the  time  interval  in    milliseconds for which a
  376.        sequence of two mouse clicks should be interpreted  as
  377.        a double click. Default: 300.
  378.  
  379.        updateInterval
  380.        Set the time interval in milliseconds in which to per-
  381.        form automatic folder updates. Default: 10000.
  382.  
  383.        confirmXXX
  384.        Resources to request confirmation for  various  opera-
  385.        tions.  XXX    can  be any one of Deletes, DeleteFolder,
  386.        Copies, Moves, Overwrite and Quit.  By  default  these
  387.        are all enabled.
  388.  
  389.        defaultEditor
  390.        The    command    with  which  xfm  invokes your favourite
  391.  
  392.  
  393.  
  394. X Version 11        10 February 1994            6
  395.  
  396.  
  397.  
  398.  
  399.  
  400. XFM(1)                            XFM(1)
  401.  
  402.  
  403.        editor.
  404.  
  405.        BourneShells
  406.        xfm calls other programs by executing your  shell  (as
  407.        taken  from    the  environment  variable  SHELL). Since
  408.        Bourne compatible shells need one extra parameter, xfm
  409.        needs  to  know  about  the type of the shell. If this
  410.        resource is not set (default), or is equal to the spe-
  411.        cial    string    AUTO,    a quick-and-dirty test is done at
  412.        startup. This test will fail if the shell's    initiali-
  413.        sation  files  cause    some  output.    If  this happens,
  414.        change these files, or set the  BourneShells    resource
  415.        to a comma separated list of full path names of Bourne
  416.        compatible shells. If your shell matches an    entry  in
  417.        this list, xfm will assume it is a Bourne shell.
  418.  
  419.        There  are  way    too many available resources to list them
  420.        all in this manual page, so please  take    a  look  at  the
  421.        application defaults file for more information.
  422.  
  423. CONFIGURATION
  424.        Besides    the  application resources, xfm can be configured
  425.        by means of three different files, which are usually named
  426.        xfmrc,  xfmdev and xfm-apps, and are located in the ~/.xfm
  427.        directory. These are plain ASCII files which can be edited
  428.        using  any  text    editor.  (Note that the xfm-apps file is
  429.        also written by xfm when invoking the  corresponding  menu
  430.        command,    and  when the autosave feature is enabled.)  Any
  431.        line in these files which starts with a hash sign  (#)  is
  432.        interpreted as a comment; empty lines are ignored.
  433.  
  434. FILE TYPE CONFIGURATION
  435.        The  xfmrc  file    specifies  the    types    of ordinary (non-
  436.        executable, non-directory) files which xfm  should  recog-
  437.        nize. Each line has the following format:
  438.  
  439.            pattern:icon:push-action:drop-action
  440.  
  441.        As  indicated,  the  different  fields  are separated by a
  442.        colon (use \: to escape the : character, and \\ to  escape
  443.        the  backslash  character  itself).  The    meaning of these
  444.        fields is explained below.
  445.  
  446.        pattern
  447.        The filename pattern a file must  match  in    order  to
  448.        belong  to  this  type.  There are three types of pat-
  449.        terns: Literal patterns  specify  a    literal    filename
  450.        such as ``core.'' Suffix patterns specify a suffix the
  451.        filename must match, and are indicated  by  a  leading
  452.        asterisk, as in ``*.c.'' (All characters following the
  453.        initial * are interpreted as    literals;  there  is  no
  454.        expansion of embedded wildcards.) Finally, prefix pat-
  455.        terns specify a prefix to be matched against the file-
  456.        name.  They    are denoted by a trailing asterisk, as in
  457.  
  458.  
  459.  
  460. X Version 11        10 February 1994            7
  461.  
  462.  
  463.  
  464.  
  465.  
  466. XFM(1)                            XFM(1)
  467.  
  468.  
  469.        ``README*.''
  470.  
  471.        icon
  472.        The name of the bitmap or pixmap file  containing  the
  473.        icon to be displayed for this file type.
  474.  
  475.        push-action
  476.        The command to be executed when the user double-clicks
  477.        on a file of this type. This command is passed to  the
  478.        shell (via -c), together with the name of the selected
  479.        file. The command is executed in the    directory  where
  480.        the    selected  file is located. The filename is avail-
  481.        able in the command as the positional parameter number
  482.        one,    such  that  an action of the form xyz $1 invokes
  483.        the command xyz on the selected file. There    are  also
  484.        two special kinds of push actions built into xfm, EDIT
  485.        which invokes the default editor on the selected file,
  486.        and    LOAD which loads the selected file as an applica-
  487.        tions file (discussed in Section APPLICATION FILES).
  488.  
  489.        drop-action
  490.        Similar to the push action, this field denotes a  com-
  491.        mand    to  be    executed  when    a collection of selected
  492.        files is dropped onto the file.  The    absolute  target
  493.        filename  itself  is available as positional parameter
  494.        $1, the remaining arguments denote the  names  of  the
  495.        files  dropped  onto    the  target file. The command is
  496.        executed in the directory which contains the    selected
  497.        files.  No special built-in commands are available for
  498.        this type of action.
  499.  
  500.        If an action field  is  empty,  the  corresponding  action
  501.        defaults    to  ``do  nothing.'' For instance, the following
  502.        entry defines an icon and  an  EDIT  push  action  for  .c
  503.        files:
  504.  
  505.            *.c:xfm_c.xpm:EDIT:
  506.  
  507.        As  another example, here is an entry for compressed (i.e.
  508.        gzipped) tar files. The push action causes the archive  to
  509.        be  extracted, while the drop action replaces the contents
  510.        of the archive with the files which have been dragged onto
  511.        the archive:
  512.  
  513.            *.tar.gz:xfm_taz.xpm:exec tar xfvz $1:exec tar cfvz $*
  514.  
  515.        (Note  the  use of the shell's exec command. Since actions
  516.        are invoked through the    shell,    it  is    often  useful  to
  517.        replace    the  shell with the actual command which is to be
  518.        executed, in order to conserve memory space on small  sys-
  519.        tems.)
  520.  
  521.        It  is possible that different patterns given in the xfmrc
  522.        file overlap.  In this case xfm    uses  the  first  pattern
  523.  
  524.  
  525.  
  526. X Version 11        10 February 1994            8
  527.  
  528.  
  529.  
  530.  
  531.  
  532. XFM(1)                            XFM(1)
  533.  
  534.  
  535.        which  matches.    Therefore you should always list the more
  536.        specific patterns first. For instance, the  following  two
  537.        entries specify what to do with compressed tar files (spe-
  538.        cific case) and other .gz files (default case):
  539.  
  540.            *.tar.gz:xfm_taz.xpm:exec tar xfvz $1:exec tar cfvz $*
  541.            *.gz:xfm_z.xpm:exec gunzip $1:
  542.  
  543.        Xfm also enables you to prompt for  additional  parameters
  544.        before  an action is executed. This is generally more use-
  545.        ful with application entries than with file  actions,  and
  546.        will  therefore be described in the context of application
  547.        configuration, see PARAMETER DIALOGS below.
  548.  
  549. DEVICE CONFIGURATION
  550.        The device configuration file, xfmdev,  lets  you  specify
  551.        which  mount  points  xfm  should keep track of, and which
  552.        actions to perform in order to mount and unmount the  cor-
  553.        responding  file    systems.  This allows you to access file
  554.        systems on special devices such as floppies, CD-Roms, etc.
  555.        in  a  transparent  way.    All you have to do is to enter a
  556.        directory named in xfmdev (e.g. by opening a  file  window
  557.        on it), and xfm will automatically perform the correspond-
  558.        ing mount action for you. Likewise, if you  leave  such    a
  559.        directory,  xfm    invokes the corresponding unmount action.
  560.        (CAUTION: You still have to take care that you  unmount    a
  561.        file  system,  e.g. by closing every file window which has
  562.        been opened on it, before you physically remove the corre-
  563.        sponding medium.)
  564.  
  565.        An entry of the xfmdev file has the following format:
  566.  
  567.            directory:mount-action:umount-action
  568.  
  569.        The  directory  field  denotes the mount point of the file
  570.        system, mount-action the command to be executed    in  order
  571.        to  mount  the  file system, and umount-action the command
  572.        for unmounting the file system.    Here  is  a  ``typical''
  573.        entry from my xfmdev file:
  574.  
  575.            /disk/a:mount -t msdos -o user /dev/fd0 /disk/a:umount /disk/a
  576.  
  577.        Of  course, the details of how to mount a floppy file sys-
  578.        tem may vary from system to system, and you might have  to
  579.        take  special actions if you want to use mount as an ordi-
  580.        nary user. See mount(8) for details.
  581.  
  582. APPLICATION FILES
  583.        Application files are used to specify the contents of  the
  584.        application window.  Normally, these files are not altered
  585.        with a text editor, but are written by xfm using the  cor-
  586.        responding  menu    operation  or    the  autosave feature. An
  587.        understanding of the application data is    necessary,  how-
  588.        ever,  if  you  want  to    edit an existing or create a new
  589.  
  590.  
  591.  
  592. X Version 11        10 February 1994            9
  593.  
  594.  
  595.  
  596.  
  597.  
  598. XFM(1)                            XFM(1)
  599.  
  600.  
  601.        entry using the Install and Edit options of  the    applica-
  602.        tions menu. Each entry has the following form:
  603.  
  604.            name:directory:filename:icon:push-action:drop-action
  605.  
  606.        The  name and icon fields specify the name of the applica-
  607.        tion and a corresponding icon which should be displayed in
  608.        the  application    window.  The push-action and drop-action
  609.        fields have the same meaning as in the  xfmrc  file:  they
  610.        indicate    the  commands to be passed to the shell when the
  611.        user double-clicks on the icon or  drops    files    onto  it,
  612.        respectively.   The  directory and filename fields let you
  613.        specify a file to be  passed  to    the  application.  These
  614.        fields  are filled in by xfm when the user drags a file or
  615.        directory onto the application window. Xfm  also    properly
  616.        sets up the action fields when installing a file which has
  617.        a matching entry in the xfmrc file.
  618.  
  619.        As usual, the target file (if specified) and  any  dropped
  620.        files are passed to the push and drop actions as the first
  621.        and the remaining parameters, respectively, see FILE  TYPE
  622.        CONFIGURATION  for details. The drop action is executed in
  623.        the directory containing the  selected  files,  while  the
  624.        push  action  starts  in    the  directory    specified by the
  625.        directory field, if it is nonempty, and in the user's home
  626.        directory otherwise.
  627.  
  628.        In an application file, Xfm recognizes three special types
  629.        of built-in push actions. The EDIT action,  as  in  xfmrc,
  630.        invokes the default editor. The OPEN action indicates that
  631.        the target file actually is a  directory    onto  which  xfm
  632.        should  open a new file window when the user double-clicks
  633.        on the corresponding icon. Finally, the LOAD action  tells
  634.        xfm  that the target is an application file whose contents
  635.        are to be loaded into the application window. This  action
  636.        allows you to manage different groups of applications. For
  637.        instance, you might have an entry  loading  a  ``toolbox''
  638.        applications  file from xfm-apps which in turn contains an
  639.        entry to reload the xfm-apps file. By these means,  appli-
  640.        cation  groups  can  be    organized in a tree-like fashion.
  641.        Note that application files can also be loaded by a corre-
  642.        sponding    file  type  entry, since the LOAD action is also
  643.        supported in the xfmrc file. (The OPEN action is not  sup-
  644.        ported  there,  however, as it wouldn't make sense anyhow.
  645.        Note that you can only  specify    file  types  for  regular
  646.        files.)
  647.  
  648.        It  is  time  for  some    examples.  Here    are three useful
  649.        entries from my xfm-apps files which I  use  to    start  an
  650.        xterm,  my  favourite  editor, and print a file using lpr,
  651.        respectively:
  652.  
  653.            Terminal:::xterm.xpm:exec xterm:
  654.            Editor:::editor.xpm:exec emacs:exec emacs $*
  655.  
  656.  
  657.  
  658. X Version 11        10 February 1994              10
  659.  
  660.  
  661.  
  662.  
  663.  
  664. XFM(1)                            XFM(1)
  665.  
  666.  
  667.            Printer:::printer.xpm::exec lpr $*
  668.  
  669.        Xfm gives you great  flexibility    in  configuring  special
  670.        types of actions.  For instance, the following entries can
  671.        be used to implement a  simple  trashcan    feature  and  an
  672.        action to open a window on a floppy disk:
  673.  
  674.            Trash::.trash:trash.xpm:OPEN:shift; mv $* ~/.trash
  675.            A\::/disk:a:disk.xpm:OPEN:
  676.  
  677.        It  is  also instructive to take a look at how xfm sets up
  678.        the entries when you drag  files    or  directories  to  the
  679.        application window. Play around with these features. It is
  680.        fun! Many things can be done, if not with a single command
  681.        then maybe with a tiny shell script.
  682.  
  683. PARAMETER DIALOGS
  684.        Xfm  lets  you  prompt  the user for additional parameters
  685.        when a push or drop action is invoked. In such a    case,    a
  686.        dialog  form  appears,  with one field for each parameter,
  687.        into which the user can enter the required arguments. Cur-
  688.        rently, no checking is done on the supplied parameters; in
  689.        fact, the user can simply leave all fields empty.  Parame-
  690.        ters are specified in an action using the form
  691.  
  692.            %parameter-name%
  693.  
  694.        where parameter-name is an arbitrary string not containing
  695.        the % character, which will be  displayed  in  the  dialog
  696.        form. (As usual, a literal % character can be escaped with
  697.        the backslash.) Xfm replaces  each  such    %...%    construct
  698.        with the corresponding value entered by the user.
  699.  
  700.        For instance, here is an entry for the xfm-apps file which
  701.        invokes grep to search a given collection of files  for    a
  702.        regular expression the user is prompted for:
  703.  
  704.            grep:::grep.xpm::grep '%Regular expression\:%' $*
  705.  
  706.        More  than  one    parameter  field  may  be  specified. For
  707.        instance:
  708.  
  709.            find:::find.xpm:find %Directory\:% %Find expression\:%:
  710.  
  711.  
  712. CONSOLE OUTPUT
  713.        Programs started by xfm inherit their standard output  and
  714.        error  streams  from xfm. Therefore, if you start xfm from
  715.        your session or window manager instead of  an  xterm,  you
  716.        should  redirect    xfm's standard output and error to some-
  717.        thing which you can read while xfm is running, if the win-
  718.        dow manager does not already do that for you. Usually, you
  719.        will reassign both  stdout  and    stderr    to  /dev/console,
  720.        using the command:
  721.  
  722.  
  723.  
  724. X Version 11        10 February 1994              11
  725.  
  726.  
  727.  
  728.  
  729.  
  730. XFM(1)                            XFM(1)
  731.  
  732.  
  733.            xfm >/dev/console 2>&1
  734.  
  735.        Then you can read error messages and other output produced
  736.        by launched applications in the    console    window    on  your
  737.        desktop (such as xconsole, or xterm -C).
  738.  
  739. ICONS
  740.        Xfm  supports  icons  in    both  the X bitmap and Arnaud Le
  741.        Hors'  XPM  format.   A    collection  of    useful    icons  is
  742.        included in the distribution.
  743.  
  744. FILES
  745.        ~/.xfm
  746.        Standard location for xfm configuration files.
  747.  
  748. SEE ALSO
  749.        X(1), xconsole(1), xterm(1), mount(8), Arnaud Le Hors: XPM
  750.        Manual. The X PixMap Format, Groupe Bull, 1993.
  751.  
  752. CAVEATS AND BUGS
  753.        xfm catches the TERM signal to  gracefully  terminate  the
  754.        program,    saving    the  current  application  file  if  the
  755.        autosave feature is enabled, and unmounting all open  file
  756.        systems    which  have  been  mounted by xfm.  However, some
  757.        window and session managers may not send TERM  signals  to
  758.        their  client  applications when terminating an X session.
  759.        Therefore it might be necessary to explicitly quit xfm  or
  760.        manually save the applications file and close file windows
  761.        before exiting X.
  762.  
  763.        xfm depends on your shell - see resource BourneShells.
  764.  
  765. COPYRIGHT
  766.        Copyright (c) 1990-1993 by Simon Marlow
  767.        Copyright (c) 1994 by Albert Graef
  768.  
  769. AUTHORS
  770.        The original version of this program was written by  Simon
  771.        Marlow  (simonm@dcs.glasgow.ac.uk)  at  the  University of
  772.        Glasgow.    Albert    Graef    (ag@muwiinfa.geschichte.uni-
  773.        mainz.de)  at the University of Mainz is the author of the
  774.        present version which contains many bug fixes and enhance-
  775.        ments.
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789.  
  790. X Version 11        10 February 1994              12
  791.  
  792.  
  793.