Annotation of coherent/a/usr/man/COHERENT/scat, revision 1.1

1.1     ! root        1: 
        !             2: 
        !             3: scat                         Command                         scat
        !             4: 
        !             5: 
        !             6: 
        !             7: 
        !             8: Print text files one screenful at a time
        !             9: 
        !            10: ssccaatt [ [_o_p_t_i_o_n ...] [_f_i_l_e ...] ] ...
        !            11: 
        !            12: scat prints  each file on the standard  output, one screenful (24
        !            13: lines)  at a  time if  the output  is a  screen.  scat  reads and
        !            14: prints the standard inputif no file is named.
        !            15: 
        !            16: The text  is processed to  allow convenient viewing  on a screen;
        !            17: the options described  below select the nature of the processing.
        !            18: Options begin with `-' and may be interspersed with file names.
        !            19: 
        !            20: scat scans two argument lists.  The first is in the environmental
        !            21: SCAT.  It  should consist of  arguments separated by  white space
        !            22: (space,  tab, or  newline characters), with  no quoting  or shell
        !            23: metacharacters.  This  string is a useful  place to set terminal-
        !            24: dependent parameters (such as page width and length) and to place
        !            25: invocation lists  (see below).  The second  argument list is sup-
        !            26: plied on the command line.
        !            27: 
        !            28: scat recognizes the following options:
        !            29: 
        !            30: -11   Do not stop at EOF  if exactly one file was specified on the
        !            31:      command line.
        !            32: 
        !            33: -bb_n  Begin output at input line n.
        !            34: 
        !            35: -cc   Represent  all control characters  unambiguously.  With this
        !            36:      option, scat prints control characters in the range 0-037 as
        !            37:      a character in the  range 0100-0137 prefixed by a carat `^';
        !            38:      for  example, SOH  appears as  ``^A'' and  DEL as  ``^?'' It
        !            39:      prints  mark-parity characters (in  the range  of 0200-0377)
        !            40:      with  `~'; for  example, mark-parity `A'  and SOH  appear as
        !            41:      ``~A''  and  ``~^A'', respectively.   It  also prefixes  the
        !            42:      characters `^', `~', and  `\' with a `\'.  This option over-
        !            43:      rides the option -t.
        !            44: 
        !            45: -ccss  Like -c, but map space  ` ' to underscore `_' and prefix un-
        !            46:      derscore `_' with `\'.
        !            47: 
        !            48: -cctt  Like -c, but map tabs to spaces, not ``^I''.
        !            49: 
        !            50: -ii_n   Shift the  display  window right  n columns  into the  text
        !            51:      field.  This is useful for viewing long lines.
        !            52: 
        !            53: -ll_n  Set the display window length to n lines.  The default is 24
        !            54:      normally, 34 for the Tek 4012.
        !            55: 
        !            56: -nn   Number input lines; wrapped lines are not numbered.
        !            57: 
        !            58: -rr   Remote; the output is not paged.
        !            59: 
        !            60: -ss   Skip empty lines.
        !            61: 
        !            62: 
        !            63: 
        !            64: COHERENT Lexicon                                           Page 1
        !            65: 
        !            66: 
        !            67: 
        !            68: 
        !            69: scat                         Command                         scat
        !            70: 
        !            71: 
        !            72: 
        !            73: -SS_n  Seek n bytes into input before processing.
        !            74: 
        !            75: -tt   Truncate  long lines.  Normally, scat  wraps each long line,
        !            76:      with the interrupted portion delimited by a `\'.
        !            77: 
        !            78: -ww_n  Set  the display window width to n  columns.  The default is
        !            79:      80 normally, 72 for the Tek 4012.
        !            80: 
        !            81: -xx   Expand tabs.
        !            82: 
        !            83: -. _s_u_f_f_i_x
        !            84:      Invoke  options by  file-name suffix.  If  a file  name ends
        !            85:      with .suffix, then  scat scans the argument sublist starting
        !            86:      immediately after the invocation flag.  New options will ap-
        !            87:      ply to  the invoking file only.  A  sublist is terminated by
        !            88:      the end of the argument list,  by a file name, by the ``--''
        !            89:      flag, or by another ``-.'' (invocation lists do not nest).
        !            90: 
        !            91: --   Terminate a sublist (see previous option).
        !            92: 
        !            93: Numbers may begin with 0 to indicate octal, and may end in b or k
        !            94: to be scaled by 512 or 1,024, respectively.
        !            95: 
        !            96: If the  output is  being paged, scat  waits for a  user response,
        !            97: which may be one of the following:
        !            98: 
        !            99: 
        !           100:      nneewwlliinnee Display next page
        !           101:      /       Display next half-page
        !           102:      ssppaaccee   Display next line
        !           103:      ff       Print current file name and line number
        !           104:      nn       ssccaatt next file
        !           105:      qq       Quit
        !           106: 
        !           107: 
        !           108: ***** Example *****
        !           109: 
        !           110: The following shows how to use the environment argument list, in-
        !           111: vocation lists, and sublists:
        !           112: 
        !           113: 
        !           114: SCAT="-l24 -.c -n -.s -b5"
        !           115: export SCAT
        !           116: scat *.c *.s
        !           117: 
        !           118: 
        !           119: After processing the  SCAT argument list, scat processes the com-
        !           120: mand line  argument list ``*.cc  *.ss'' with the page  length at 24
        !           121: lines.  If  a file is a  C source (``*.cc'') the  invoke option in
        !           122: the SCAT argument list numbers the output lines.  If a file is an
        !           123: assembly source (``*.ss'') scat skips the first four lines.
        !           124: 
        !           125: ***** See Also *****
        !           126: 
        !           127: cat, commands, pr
        !           128: 
        !           129: 
        !           130: COHERENT Lexicon                                           Page 2
        !           131: 
        !           132: 
        !           133: 
        !           134: 
        !           135: scat                         Command                         scat
        !           136: 
        !           137: 
        !           138: 
        !           139: 
        !           140: 
        !           141: 
        !           142: 
        !           143: 
        !           144: 
        !           145: 
        !           146: 
        !           147: 
        !           148: 
        !           149: 
        !           150: 
        !           151: 
        !           152: 
        !           153: 
        !           154: 
        !           155: 
        !           156: 
        !           157: 
        !           158: 
        !           159: 
        !           160: 
        !           161: 
        !           162: 
        !           163: 
        !           164: 
        !           165: 
        !           166: 
        !           167: 
        !           168: 
        !           169: 
        !           170: 
        !           171: 
        !           172: 
        !           173: 
        !           174: 
        !           175: 
        !           176: 
        !           177: 
        !           178: 
        !           179: 
        !           180: 
        !           181: 
        !           182: 
        !           183: 
        !           184: 
        !           185: 
        !           186: 
        !           187: 
        !           188: 
        !           189: 
        !           190: 
        !           191: 
        !           192: 
        !           193: 
        !           194: 
        !           195: 
        !           196: COHERENT Lexicon                                           Page 3
        !           197: 
        !           198: 

unix.superglobalmegacorp.com

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