Treeview can be invoked to display the structure of objects in a textual form instead of using a graphical interface, by using the -text flag. In this case it opens all the nodes recursively, so that the structure is fully visible. This can result in a lot of output if the object you are examining (e.g. a directory containing many data files) has a lot of strucure. The result is simply written to the screen. In text mode only the tree structure is written, the data shown in the detail panel is not accessible.
Here is the output you would get from examining a normal NDF in this way.
% treeview -text mosaic + [NDF] mosaic ( -17:154, 2:202 ) - [HDS] TITLE <_CHAR*19> "Output from MAKEMOS" + [ARY] DATA_ARRAY ( -17:154, 2:202 ) <_REAL> - [HDS] DATA ( 172, 201 ) <_REAL> - [HDS] ORIGIN ( 2 ) <_INTEGER> + [ARY] VARIANCE ( -17:154, 2:202 ) <_REAL> - [HDS] DATA ( 172, 201 ) <_REAL> - [HDS] ORIGIN ( 2 ) <_INTEGER> + [WCS] WCS 5 frames; current domain "CCD_REG" - [FRM] GRID (2 axes) "2-d coordinate system" - [FRM] PIXEL (2 axes) "2-d coordinate system" - [FRM] AXIS (2 axes) "2-d coordinate system" - [FRM] CCD_GEN (2 axes) "Alignment of CCDGENERATE test data" - [FRM] CCD_REG (2 axes) "Alignment by REGISTER" + [HDS] MORE <EXT> - [HDS] FITS ( 16 ) <_CHAR*80> + [HDS] CCDPACK <CCDPACK_EXT> - [HDS] DEBIAS <_CHAR*24> "Tue Jan 16 16:52:34 2001" - [HDS] FLATCOR <_CHAR*24> "Tue Jan 16 16:52:42 2001" - [HDS] CURRENT_LIST <_CHAR*18> "reduced_data1.off"
The text mode output of Treeview somewhat resembles that of HDSTRACE, but differs in that the elements of HDS data arrays are not listed at all, while all elements, rather than just the first one, of HDS structure arrays are listed.
TREEVIEW - Hierarchical data viewer