[369] in Athena_Backup_System

home help back first fref pref prev next nref lref last post

new ui

daemon@ATHENA.MIT.EDU (delgado@MIT.EDU)
Thu Dec 19 16:18:26 1996

From: delgado@MIT.EDU
To: athena-backup@MIT.EDU
Date: Thu, 19 Dec 1996 16:18:21 EST



The abs.shell has been fixed to integrate better with TCl.
Results are now returned properly as lists.  The default
behavior for the abs.shell is to return its results to the
tcl interpreter as lists .

You may switch the older interactive (formatted display
to stdout) mode by setting the environment variable
ABS_INTERACTIVE to a non-null value.


The format of the results returned to the tcl interpreter
are:

   a linked list of structures is translated into a list
   of lists.  each list element represents the data from
   one structure in the linked list. 

   The first list returned will be a list of names which
   represent the data fields for each structure being returned .
   The remaining lists are the actual data values.

   Example:
% showsl
{HOST DEVICE TYPE LOC ERRORS STATUS} {tow.mit.edu /dev/null 8mm e40 0 DOWN} {tla.mit.edu /dev/null dlt e40 0 DOWN}
% 


ops-5> export ABS_INTERACTIVE=y
ops-5> abs.shell
% showsl
HOST                DEVICE                    TYPE       LOC    ERRORS    STATUS
tow.mit.edu         /dev/null                  8mm       e40         0      DOWN
tla.mit.edu         /dev/null                  dlt       e40         0      DOWN
% 




home help back first fref pref prev next nref lref last post