ICC Home Privacy and Legal Notice LC User Documents Banner


File Interchange Service (FIS) Manual

MOLE (File Review Tool)

Links to subtopics in this section:
  • MOLE and MORE Compared

  • Annotated MOLE Example

  • Navigation Links: [ Document List ] [ HPC Home ] [ Previous ]

    No content in this section. Showing first subtopic...

    MOLE and MORE Compared

    MOLE is a MORE-like text-display utility available to all users on all LC production machines (and LC Suns), but customized to help Authorized Derivative Classifiers (ADCs) efficiently and reliably review text files proposed for secure-to-open transfer with FIS.

    MOLE and MORE are alike in that both programs:

    • display text (ASCII) files at a controlled rate for review (not editing),
    • offer a small command set requiring no carriage return to execute the commands once entered (except for requesting a specific line),
    • use NOECHO mode so that file output is not interrupted by display of the commands that you type (again, except for requesting a specific line), and
    • accept space-delimited lists of files or standard UNIX file filters to display multiple files (one at a time).

    MOLE also offers several ADC-relevant enhancements not supported by MORE:

    • CONTROL.
      Added MOLE commands enable forward and backward movement within each displayed file as well as among multiple files. You can also jump to a specified line number in either direction.
      MOLE reports features of the file being displayed at the start of each new file (in a header) and at the bottom of each screen (in a prompt); see the next section for details.
      In files with fewer that 1% nonASCII characters, MOLE counts and signals each one (with the bell). In files with greater than 1% nonASCII characters (various binary files), MOLE detects and reports their nontext status without trying to display them. MOLE also counts and displays all "hidden" text lines (see next subsection).

    The table below itemizes the commands and file-management features of MOLE, and compares each with MORE to clarify its significance. The next subsection explains MOLE's prompt and header, and illustrates its behavior.

    Feature Comparison of MOLE and MORE for Reviewing Files.

    Features MORE MOLE

    Shared Commands:
    Display next line RETURN RETURN
    Display next screen SPACE SPACE
    Toggle to display half screen (20 lines) CTRL-D (Sun) *
    Display brief help ? ?
    q q
    Added Commands:
    Display previous screen (or half screen) L
    Display the line numbered nnn and the screen (or half screen) of previous lines nnnRETURN
    Display the previous file (again) -
    Display the next file (listed on execute line)
    File Management:
    Prompt for command Shows percentage displayed so far Shows MOLE's 9 commands
    Status report Same as prompt Summarizes file features at
    (1) start of each file (full),
    (2) end of each screen (short)
    Nonprinting ASCII characters Pauses at CTRL-L Ignores, no display
    Isolated nonASCII characters Ignores, no display Counts, reports, signals each
    with bell
    Whole nonASCII files Tries to display, grotesque output Detects, reports, no display
    Hidden text lines Ignores, no display Counts, reports, displays,
    signals each with bell
    Multiple input files Displayed in sequence with single-line identifier File name reported
    on every screen,
    forward and back commands

    Navigation Links: [ Document List ] [ HPC Home ] [ Next ]