<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.ice-online.com/index.php?action=history&amp;feed=atom&amp;title=LIST</id>
	<title>LIST - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ice-online.com/index.php?action=history&amp;feed=atom&amp;title=LIST"/>
	<link rel="alternate" type="text/html" href="https://wiki.ice-online.com/index.php?title=LIST&amp;action=history"/>
	<updated>2026-04-11T14:04:21Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://wiki.ice-online.com/index.php?title=LIST&amp;diff=721&amp;oldid=prev</id>
		<title>ConvertBot: display Midas data as textual list</title>
		<link rel="alternate" type="text/html" href="https://wiki.ice-online.com/index.php?title=LIST&amp;diff=721&amp;oldid=prev"/>
		<updated>2020-04-27T22:04:37Z</updated>

		<summary type="html">&lt;p&gt;display Midas data as textual list&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;display Midas data as textual list&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;file&amp;gt;     Name of input file&lt;br /&gt;
&amp;lt;template&amp;gt; Name of template file&lt;br /&gt;
&lt;br /&gt;
Keyword Only Parameters:&lt;br /&gt;
&lt;br /&gt;
[AUTOSELECT] - ON,OFF.      [DEF=ON]&lt;br /&gt;
               Turn auto highlighting of selections on/off.&lt;br /&gt;
[CNT]        - CLICK,CONT   [DEF=CLICK]&lt;br /&gt;
[CURSOR]     - CELL,ROW,COL [DEF=CELL]&lt;br /&gt;
[HILITE]     - BACK,FORE    [DEF=BACK]&lt;br /&gt;
[HCOLOR]     - Color name   [DEF=&amp;quot;THEME&amp;quot;]&lt;br /&gt;
[MULTI]      - FULL,OFF [DEF=OFF] &lt;br /&gt;
               Controls SELECT/DESELECT message data on CTRL and SHIFT&lt;br /&gt;
               selections.&lt;br /&gt;
&lt;br /&gt;
 ******************************************************************************&lt;br /&gt;
 ** As of release 2.2.0 LIST is considered to be an &amp;quot;End of Life&amp;quot; primitive. **&lt;br /&gt;
 ** The LIST primitive is scheduled for replacement by LIST2 in future       **&lt;br /&gt;
 ** releases. Please see nxm/sys/docs/list2migration.txt for details.        **&lt;br /&gt;
 ******************************************************************************&lt;br /&gt;
&lt;br /&gt;
LIST is a NeXtMidas file viewer primitive.  It does not currently allow any &lt;br /&gt;
altering/modification of its input file.&lt;br /&gt;
&lt;br /&gt;
The [MULTI=FULL] mode should only be used on small lists. This mode forces&lt;br /&gt;
the return of all selected and previously selected data in the SELECT message&lt;br /&gt;
and all previously selected data in the DESELECT message.&lt;br /&gt;
&lt;br /&gt;
MOUSE:&lt;br /&gt;
  The CTRL key may be used to perform non-contiguous multiple selection and&lt;br /&gt;
  of the SHIFT key to select a range as of version 1.92.&lt;br /&gt;
&lt;br /&gt;
TEMPLATES:&lt;br /&gt;
&lt;br /&gt;
  LIST's data display layout is defined by sets of keywords in the&lt;br /&gt;
  extended-header of a Midas file designated as a 'template'.&lt;br /&gt;
&lt;br /&gt;
  TEMPLATE KEYWORDS:&lt;br /&gt;
&lt;br /&gt;
  A:SECTION==XDATALIST    (required)&lt;br /&gt;
    All LIST template keywords MUST fall between the SECTION==XDATALIST and&lt;br /&gt;
    SECTION==END keywords.  These keywords exist to define the scope of all&lt;br /&gt;
    keyword searches performed by LIST, and also to identify Midas files as&lt;br /&gt;
    LIST templates.&lt;br /&gt;
&lt;br /&gt;
  The following keywords make up the 'global' keyword section, i.e. those&lt;br /&gt;
  attributes that affect the display as a whole rather than affecting a single&lt;br /&gt;
  field:&lt;br /&gt;
&lt;br /&gt;
  A:LABELS==ON            (optional - default is ON)&lt;br /&gt;
    Controls display of the column label line, which immediately follows any&lt;br /&gt;
    title line(s). Currently accepted values are ON and OFF.&lt;br /&gt;
&lt;br /&gt;
  A:GRID==ON              (optional - default is ON)&lt;br /&gt;
    Controls display of the grid lines.  Currently accepted values are ON and&lt;br /&gt;
    OFF.&lt;br /&gt;
&lt;br /&gt;
  A:COLLABJUS==CENTER     (optional - default is CENTER)&lt;br /&gt;
    Controls justification of column labels.  Currently accepted values are&lt;br /&gt;
    RIGHT, LEFT and CENTER.&lt;br /&gt;
&lt;br /&gt;
  A:INDEX==ON             (optional - default is ON)&lt;br /&gt;
    Controls display of the row labels column, which displays ordinal element&lt;br /&gt;
     numbers in a non-scrolling&lt;br /&gt;
    region at the left edge of the screen.  Values are ON and OFF.&lt;br /&gt;
 &lt;br /&gt;
  L:FIELDS==2             (required)&lt;br /&gt;
    Specifies the number of FIELD sections contained in the template.&lt;br /&gt;
    This value is generally 1 for Type 1000 and 2000 files, or the number of&lt;br /&gt;
    subrecords/subcomponents to be displayed in Type 3000 and 5000 files.  For&lt;br /&gt;
    Type 2000 files, the last FIELD section will be used for each remaining&lt;br /&gt;
    element in each frame.&lt;br /&gt;
&lt;br /&gt;
  A:COLOR==N&lt;br /&gt;
  A:COLOR==GREEN&lt;br /&gt;
  A:COLOR==FIELDN&lt;br /&gt;
    Specifies the color to be used to display the data in each row.&lt;br /&gt;
    Use COLOR==N, N is a color table index, to set the default display color&lt;br /&gt;
    Use COLOR==GREEN, GREEN is the color string, to set the default display&lt;br /&gt;
    color. Use COLOR==FIELDN to cause the color of each row to be dictated by&lt;br /&gt;
    the color of the LIST FIELD==N.  This field should be enumerated and have an&lt;br /&gt;
    associated MCOLORS keyword (see below), or else its corresponding data file&lt;br /&gt;
    values will be used as indices into the color table.&lt;br /&gt;
&lt;br /&gt;
  The remaining template keywords are used to specify the formatting attributes&lt;br /&gt;
  associated with each displayed field:&lt;br /&gt;
&lt;br /&gt;
  L:FIELD==1              (required)&lt;br /&gt;
    Marks the start of a group of keywords describing a LIST field.  The global&lt;br /&gt;
    FIELDS template keyword defines the number of required FIELD==N sections.&lt;br /&gt;
    These sections must begin with FIELD==1 and continue sequentially to&lt;br /&gt;
    FIELD==FIELDS.  LIST FIELD sections are declared in the left-to-right order&lt;br /&gt;
    in which they will be displayed.&lt;br /&gt;
&lt;br /&gt;
  A:SUBR==IN              (required for Type 3000, 5000 files)&lt;br /&gt;
    SUBR is required and used only with Type 3000 and 5000 files.  It specifies&lt;br /&gt;
    the name of the subrecord or subcomponent to be associated with the current&lt;br /&gt;
    FIELD (HIN.subr or HIN.comp).&lt;br /&gt;
&lt;br /&gt;
  A:LABEL==IN             (optional)&lt;br /&gt;
    Specifies the text to be displayed in the label column for this field.&lt;br /&gt;
&lt;br /&gt;
  L:WIDTH==19             (required)&lt;br /&gt;
    Specifies the field's display width in characters.  Be sure this value is&lt;br /&gt;
    large enough to  accommodate the display format defined by&lt;br /&gt;
    DISPFORM (see below).&lt;br /&gt;
&lt;br /&gt;
   A:DISPFORM==A          (optional)&lt;br /&gt;
       Specifies the format pattern used to display this field. See javadocs for&lt;br /&gt;
       java.text.DecimalFormat for correct pattern syntax.&lt;br /&gt;
  A:COLOR==N      (optional - default is the specified theme's foreground color)&lt;br /&gt;
  A:COLOR==GREEN&lt;br /&gt;
  A:COLOR==FIELDN&lt;br /&gt;
    Override the default color of the column with a specific color.  The easiest&lt;br /&gt;
    ways to specify this color are:&lt;br /&gt;
&lt;br /&gt;
    (1) Use one of the &amp;quot;defined&amp;quot; colors alone or with one of the following&lt;br /&gt;
        modifiers &amp;quot;DARK,DEEP,LIGHT,BRIGHT&amp;quot;.  The defined colors are&lt;br /&gt;
        &amp;quot;BLACK,BLUE,CYAN,GRAY,GREEN,MAGENTA,ORANGE,PINK,RED,WHITE,YELLOW&amp;quot;.&lt;br /&gt;
        Examples:  COLOR==DARKBLUE&lt;br /&gt;
                   COLOR==RED&lt;br /&gt;
&lt;br /&gt;
    (2) Use the hexidecimal representation of the desired RGB color value.&lt;br /&gt;
        Example:  COLOR==OXFF0000 (red)&lt;br /&gt;
                  COLOR==0X00FF00 (green)&lt;br /&gt;
                  COLOR==0X0000FF (blue)&lt;br /&gt;
 &lt;br /&gt;
    Use COLOR==N, where N is a color table index, to set the default display&lt;br /&gt;
    color for this field.&lt;br /&gt;
&lt;br /&gt;
    Use COLOR==GREEN, where GREEN is the color string, to set the default&lt;br /&gt;
    display color for this field.&lt;br /&gt;
&lt;br /&gt;
    Use COLOR==FIELDN, to cause the colors of each item in this fieldto mirror&lt;br /&gt;
    those of FIELD==N.  Field N should be enumerated and have an associated&lt;br /&gt;
    MCOLORS keyword (see below), or else its corresponding data file values will&lt;br /&gt;
    be used as indices into the color table.&lt;br /&gt;
&lt;br /&gt;
  A:MENU==One,Two,Three,Four,Five&lt;br /&gt;
    Enumerated list that shows the display values corresponding to the data&lt;br /&gt;
    values in MVALUES keyword.&lt;br /&gt;
 &lt;br /&gt;
  A:MCOLORS==GREEN,BLUE,RED&lt;br /&gt;
  A:MCOLORS==1,2,3&lt;br /&gt;
    A comma separated list of indices into the color table (or color strings)&lt;br /&gt;
    corresponding to each of the menu items in the MENU keyword.&lt;br /&gt;
 &lt;br /&gt;
  A:MVALUES==4,5,6&lt;br /&gt;
    A comma separated list of values corresponding to each of the enumerated&lt;br /&gt;
    choices in the MENU keyword.  This is the data that is actually stored in&lt;br /&gt;
    the file.&lt;br /&gt;
&lt;br /&gt;
  L:HIDE==1               (optional - default is 1)&lt;br /&gt;
    Specifies whether or not to hide the column.&lt;br /&gt;
    Currently accepted values are 0 and 1.&lt;br /&gt;
&lt;br /&gt;
  L:STRETCH==1            (optional - default is 0)&lt;br /&gt;
    Specifies which column to stretch to fill in any unused display area when&lt;br /&gt;
    the LIST window is resized.  Only applies to one column at a time.  If more&lt;br /&gt;
    than one column is set to STRETCH, the last column specified is the one&lt;br /&gt;
    used. Currently accepted values are 0 and 1.&lt;br /&gt;
&lt;br /&gt;
  A:COLUMNTYPE==TIME      (optional - default is STRING)&lt;br /&gt;
    Currently accepted values are PANEL, TOGGLE, RASTER, TIME, and STRING.&lt;br /&gt;
&lt;br /&gt;
    If COLUMNTYPE==RASTER, the following fields specify specific attributes for&lt;br /&gt;
    the raster column:&lt;br /&gt;
&lt;br /&gt;
    L:RASTERFRAME==16     (optional - default is 16)&lt;br /&gt;
      Specifies the width of the raster.&lt;br /&gt;
&lt;br /&gt;
    L:RASTERLEVELS==16    (optional - default is 16)&lt;br /&gt;
      Specifies the number of color levels in the colormap of the raster.&lt;br /&gt;
&lt;br /&gt;
    S:RASTERCOLORMAP==RAMP        (optional - default is RAMP)&lt;br /&gt;
      Specifies the colormap to use for generating the raster.  This is a string&lt;br /&gt;
      argument that can be used to specify one of the defined colormaps&lt;br /&gt;
      (GRAYSCALE,RAMP,WHEEL,TERRAIN,MULTI) or a comma-delimited string of colors&lt;br /&gt;
      that define the colormap itself.&lt;br /&gt;
&lt;br /&gt;
    S:RASTERSELCOLOR==GREEN  (optional - default is GREEN)&lt;br /&gt;
      Specifies the color to use to &amp;quot;highlight&amp;quot; the raster.&lt;br /&gt;
&lt;br /&gt;
    If COLUMNTYPE==TIME, the following field is used to specify the formatting&lt;br /&gt;
    of the time string:&lt;br /&gt;
&lt;br /&gt;
    L:TIMEFMT==6          (optional - default is 1 (STD))&lt;br /&gt;
      Specifies one of the time string formats (as defined in the Time class) in&lt;br /&gt;
      which to display a column of type TIME.  Currently accepted values are the&lt;br /&gt;
      numbers 1-7, where&lt;br /&gt;
&lt;br /&gt;
      1 - STanDard          [yy]yy:mm:dd::hh:mm:ss   1993:02:25::14:42:57.123&lt;br /&gt;
      2 - ACQisition        [yy.ddd]:[hh:mm:ss]      93.056:14:42:57.123&lt;br /&gt;
      3 - EPOCH quadwords   [yy]yy:sec_in_year       1993:4804977.123&lt;br /&gt;
      4 - NORAD             yyddd.frac_of_day        93056.6131611511111111&lt;br /&gt;
      5 - TimeCode Reader   ddd:hh:mm:ss             056:14:42:57.123&lt;br /&gt;
      6 - VAX               dd-MMM-yy[yy]:hh:mm:ss   25-FEB-1993:14:42:57.123&lt;br /&gt;
      7 - HMS               hh:mm:ss                 14:42:57.123&lt;br /&gt;
&lt;br /&gt;
  Finally, the SECTION==END keyword completes the LIST template:&lt;br /&gt;
&lt;br /&gt;
  A:SECTION==END          (required)&lt;br /&gt;
    Marks the end of the LIST template keywords section&lt;br /&gt;
    &lt;br /&gt;
  NOTE: In normal operations, when using the list command the data from the &lt;br /&gt;
        file being listed is read from the file when the list is drawn for the&lt;br /&gt;
        first time. Therefore, if a list is hidden (such as in a tab), then &lt;br /&gt;
        any updates or additions to that list may be put in the wrong position.&lt;br /&gt;
        &lt;br /&gt;
        As of 2.8.2, the /DRAWHIDDEN switch was added to allow users to 'force'&lt;br /&gt;
        the list to populate with their data, even if it is hidden. This allows&lt;br /&gt;
        for updates and additions to the data to be in the correct position.&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
MESSAGES:&lt;br /&gt;
  PROCESSED:&lt;br /&gt;
    ADDCOLUMN        - Adds a column&lt;br /&gt;
    APPLYTEMPLATE    - Apply a new template&lt;br /&gt;
    CLOSEFILE        - Closes the file&lt;br /&gt;
    COLOR            - Sets color&lt;br /&gt;
    CURSOR           - Sets highlight color&lt;br /&gt;
    EXIT             - Exits the LIST&lt;br /&gt;
    GET              - TBD&lt;br /&gt;
    GETROW           - Gets a row from the list&lt;br /&gt;
    GETROWVECTOR     - Gets a row from the list as a vector&lt;br /&gt;
    GETROWTABLE      - Gets a row from the list as a table&lt;br /&gt;
    GETCOL           - Gets a col from the list&lt;br /&gt;
    GETCOLUMNVECTOR  - Gets a col from the list as a vector&lt;br /&gt;
    GETCOLUMNTABLE   - Gets a col from the list as a table&lt;br /&gt;
    HIGHLIGHT        - Highlights a given row&lt;br /&gt;
    OPENFILE         - Opens a new data file&lt;br /&gt;
    OPENTEMPLATE     - Opens a new tamplate&lt;br /&gt;
    OPEN TEMPLATE    - DEPRECATED: Use OPENTEMPLATE (no space)&lt;br /&gt;
    OUTPUTTYPE       - Sets the default output type (table or vector)&lt;br /&gt;
    PAN              - DEPRECATED: This message does nothing.&lt;br /&gt;
    POP              - Toggle the push/pop state of the window (Warning: the&lt;br /&gt;
                       current implementation of this message is inconsistent&lt;br /&gt;
		       with PLOT and LIST2 which check the INFO field to&lt;br /&gt;
		       determine type of push/pop. This implementation matches&lt;br /&gt;
		       what PLOT and LIST do with INFO=-1.)&lt;br /&gt;
    SET              - TBD&lt;br /&gt;
    SETROW           - Sets a row in the list&lt;br /&gt;
    REFRESH          - Refreshes the list&lt;br /&gt;
    THEME            - Sets the theme of the list&lt;br /&gt;
    &lt;br /&gt;
    BUTTON           - Internal Message: Mouse click&lt;br /&gt;
    FILES            - Internal Message: Show files menu&lt;br /&gt;
    KEYPRESS         - Internal Message: Keyboard key press&lt;br /&gt;
    MENU             - Internal Message: Show configuration menu&lt;br /&gt;
    OPTIONS          - Internal Message: Show options menu&lt;br /&gt;
    OTHER            - Internal Message: Show other options menu&lt;br /&gt;
    POINTER          - Internal Message: Mouse motion&lt;br /&gt;
    RESIZE           - Internal Message: Window resized&lt;br /&gt;
    SETTINGS         - Internal Message: Show settings menu&lt;br /&gt;
    WINDOW           - Internal Message: Window action&lt;br /&gt;
    &lt;br /&gt;
  SENT:&lt;br /&gt;
    DESELECT         - Deselect of selected rows (see SELECT message)&lt;br /&gt;
    SELECT           - Selection information&lt;br /&gt;
      Data Fields are:&lt;br /&gt;
        S:TYPE   - ROW, COLUMN or CELL&lt;br /&gt;
        O:ROW    - Row number    (1..n or -1 for COLUMN type)&lt;br /&gt;
        O:COLUMN - Column Number (1..n or -1 for ROW type)&lt;br /&gt;
        T:VALUE  - Table of data from last click (LMB, SHIFT-LMB or CTRL-LMB)&lt;br /&gt;
        S:NAME   - TBD&lt;br /&gt;
      Optional Data Fields for MULTI=FULL (Version 1.92+) are:&lt;br /&gt;
        T:CURRSEL - Table of CURRENT selected rows data (SELECT msg, ROW type&lt;br /&gt;
                    only)&lt;br /&gt;
        T:PREVSEL - Table of PREVIOUS selected rows data (ROW type only)&lt;br /&gt;
	&lt;br /&gt;
    SELECTROW        - Selection information for a row (see SELECT message)&lt;br /&gt;
    &lt;br /&gt;
Switches:&lt;br /&gt;
  /EXIT=     - on RETURN,MENU,MESSAGE or ALL [DEF=NONE in pipe mode, else ALL]&lt;br /&gt;
               NOTE: MESSAGE must be selected for MENU or RETURN to work.&lt;br /&gt;
  /DRAGDROP  - Enable or disable drag and drop [DEF=Disabled]&lt;br /&gt;
  /DRAWHIDDEN- Populate the data from a  list in a hidden pane (such as a tab)&lt;br /&gt;
  /GRID      - ON,OFF.  Turn grid on/off. Overrides template settings.&lt;br /&gt;
  /MSGID=    - the ID to process messages from the remote nodes (usually 1)&lt;br /&gt;
  /OUTTYPE=  - AUTO(def),VECTOR,TABLE&lt;br /&gt;
               if AUTO, depends on file type.  If type 1000/2000 will output as&lt;br /&gt;
               VECTOR.  Types 3000/4000/5000 output as TABLE.&lt;br /&gt;
  /POLL=     - reread the current file every x seconds (does not compare&lt;br /&gt;
               the data to the old data)&lt;br /&gt;
               WARNING: Currently this reopens and reads the entire file.&lt;br /&gt;
               TBD to read only viewable data.&lt;br /&gt;
  /REFRESH=  - Sets refresh mode (&amp;quot;Legacy&amp;quot; or &amp;quot;Timer&amp;quot;). [DEF=&amp;quot;TIMER&amp;quot;]&lt;br /&gt;
  /RT        - (doesn't do anything yet) &lt;br /&gt;
  /SCROLLEND - Scroll to end of list&lt;br /&gt;
&lt;br /&gt;
  /COLLABELS - ON,OFF.  Turn column labels on/off. Overrides template settings.&lt;br /&gt;
  /ROWLABELS - ON,OFF.  Turn row labels on/off. Overrides template settings.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:NXM_Explain]]&lt;/div&gt;</summary>
		<author><name>ConvertBot</name></author>
		
	</entry>
</feed>