LIST
Command
LIST filespec [(parameters)]
Lists the contents of filespec.
You can use LIST to see the contents of a file
on
a disk.
The parameters are:
ASCII8 displays the graphic characters and special characters
in
a file, along with the text.
NUM numbers the lines
in
ASCII text files.
HEX specifies hexadecimal output format. When you specify the
HEX parameter,
NUM
and LINE are ignored.
TAS
=number specifies that tab stops are to
be
placed every
number of spaces apart for ASCII text files. Each tab
character (hex
(9)
encountered causes a jump to the next
tab stop. The default value for
number
is
8.
PRT directs output to the printer.
LINE
= number sets the starting line
to
number. If you omit the
LINE
= parameter, TRSDOS uses
1.
This parameter works
only with ASCII files.
REC
= number sets the starting record number to number. If you
omit the REC
= parameter, TRSDOS uses
0.
The REC =
parameter is used only with the HEX parameter.
LRL
= number sets the logical record length to be used to display
a file with a record length of
number.
If
you omit the LRL =
parameter, TRSDOS uses the logical record length of the
file. The LRL
= parameter is used only with the HEX
parameter.
UNE cannot be abbreviated, and the abbreviation
fur ASCII8 is
A8.
When you enter a LIST command, LIST first searches for
filenamelTXT.
If
it cannot find filenamelTXT, it searches for filename.
Press
(SHIFT)(@)
to
pause a list. Press
(ENTER)
to
continue. Press
(BREAK)
to abort the list.
When you use the HEX parameter,
filespec is listed
in
the following
format:
0000:10
= 51
52 53 54 55 56 57 58 59
5A
0D
epSD
ep
0000:00
= 41
42 43 44 45 46 47 48
49
4A
46
4C
4D
4E 4F
50
ep
A6CDEFGH
IJKLMNDP
QRSTUVWX
YZ.
1.
Current logical record of the file
in
hex notation, starting with
record
0.
1-90