Annotation of 43BSD/contrib/apl/doc/man.3, revision 1.1.1.1

1.1       root        1: .NH 1
                      2: Automatic Workspace Loading
                      3: .PP
                      4: \*u \*a has the nice feature that
                      5: you can automatically load a workspace file
                      6: into the internal workspace when you start \*a.
                      7: Instead of using the command:
                      8: .sp
                      9: $ apl   <or>    $ apl \-m
                     10: .sp
                     11: and then loading the workspace you want
                     12: with the system command:
                     13: .sp
                     14:        )load workspace
                     15: .sp
                     16: you can say:
                     17: .sp
                     18: $ apl workspace    <or>     $ apl \-m workspace
                     19: .sp
                     20: \*a will be started,
                     21: and will automatically look for
                     22: and load the file ``workspace''.
                     23: .PP
                     24: As an additional convenience,
                     25: \*a will automatically load a file
                     26: named ``continue'' if it exists.
                     27: Thus,
                     28: if you wish to use
                     29: the file ``continue'' as your initial
                     30: workspace,
                     31: you need only type:
                     32: .sp
                     33: $ apl   <or>    $ apl \-m
                     34: .sp
                     35: .PP
                     36: The system command ``)continue''
                     37: facilitates use of this handy
                     38: automatic loading feature,
                     39: providing a convenient method of
                     40: terminating an \*a session
                     41: and restarting it at some later
                     42: time with a minimum of effort.
                     43: You may,
                     44: for instance,
                     45: end your \*a session with:
                     46: .sp
                     47:        )continue
                     48: .sp
                     49: which will save your workspace in a file
                     50: named ``continue'' and terminate \*a.
                     51: To resume your work at some later time,
                     52: type the shell command:
                     53: .sp
                     54: $ apl  <or>    $ apl \-m
                     55: .sp
                     56: (Recall that if you don't have
                     57: a file named ``continue''
                     58: when you type this,
                     59: \*a starts with ``clear ws''.)
                     60: .NH 1
                     61: Workspace Library
                     62: .PP
                     63: When you specify a workspace to be loaded,
                     64: \*a will first look in your directory.
                     65: If it finds the workspace,
                     66: it will load it.
                     67: If not,
                     68: it will look in the library directory:
                     69: /usr/lib/apl.
                     70: Thus,
                     71: if you do not have a file named ``news''
                     72: and you type:
                     73: .sp
                     74: $ apl news
                     75: .sp
                     76: \*a will be started,
                     77: will see that you don't have
                     78: a ``news'' file,
                     79: and will print:
                     80: .sp
                     81: [using /usr/lib/apl/news]
                     82: .sp
                     83: Equivalently,
                     84: if you are in \*a and you type:
                     85: .sp
                     86:        )load news      <or>    )copy news
                     87: .sp
                     88: you will get the library file
                     89: if you don't have a file named ``news''.
                     90: If the workspace you specify
                     91: does not exist in either your
                     92: directory or in /usr/lib/apl,
                     93: an error message will be printed.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.