Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fmli(1)

pathconv(1F)        (Form and Menu Language Interpreter)       pathconv(1F)

NAME
     pathconv - search FMLI criteria for filename

SYNOPSIS
     pathconv [-f] [-v alias]

     pathconv [-t] [-l] [-nnum] [-v string]

DESCRIPTION
     The pathconv function converts an alias to its pathname. By default,
     it takes the alias as a string from stdin.

OPTIONS
     -f      If -f is specified, the full path is returned. This is the
             default.

     -t      If -t is specified, pathconv truncates a pathname specified in
             string in a format suitable for display as a frame title. This
             format is a shortened version of the full pathname. It is
             created by deleting components of the path from the middle of
             the string until it is under DISPLAYW - 6 characters in length
             and then inserting ellipses (...) between the remaining
             pieces. Ellipses are also used to show truncation at the ends
             of the strings, if necessary, unless the -l option is given.

             -l      If -l is specified < and > is used instead of ellipses
                     (...) to indicate truncation at the ends of the string
                     generated by the -t option. Using -l allows display of
                     the longest possible string while still notifying
                     users it has been truncated.

             -nnum   If -n is specified, num is the maximum length of the
                     string (in characters) generated by the -t option. The
                     argument num can be any integer from 1 to 255.

     -v arg  If the -v option is used, then alias or string can be speci-
             fied when pathconv is called. The argument alias must be an
             alias defined in the aliasfile named when fmli was invoked.
             The argument string can only be used with the -t option and
             must be a pathname.

EXAMPLES
     Here is a menu descriptor that uses pathconv to construct the menu
     title. It searches for MYPATH in the aliasfile named when fmli is
     invoked:

          menu=`pathconv -v MYPATH/ls`
             .
             .
             .





Page 1                       Reliant UNIX 5.44                Printed 11/98

pathconv(1F)        (Form and Menu Language Interpreter)       pathconv(1F)

     There is a line in aliasfile that defines MYPATH. For example,
     MYPATH=$HOME/bin:/usr/bin.

     Here is a menu descriptor that takes alias from stdin.

          menu=`echo MYPATH/ls | pathconv`
             .
             .
             .

SEE ALSO
     fmli(1).










































Page 2                       Reliant UNIX 5.44                Printed 11/98

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026