[comp.binaries.ibm.pc.d] SIMTEL20 FTP server LIST output improved

w8sdz@WSMR-SIMTEL20.ARMY.MIL (Keith Petersen) (10/14/90)

A change has been made to provide a more informative output of the
LIST command, sent to SIMTEL20's FTP Server, usually by a client's
"dir" command.  The modification does not interfere with other output
formats required by other TOPS-20 systems, such as STAT with args.
The output format is similar to the Unix "ls" format, but without the
protection, owner, and group info.  The order is:

bytecount(bytesize) lastwrite_date lastwrite_time filename

bytecount is right-justified, blank-filled, in an eight-column field.
bytesize is right-justified, zero-filled, in a two-column field to
accommodate a 36-bit bytesize.  The lastwrite_date is blank-filled.
The lastwrite_time is zero-filled.  filename is left-justified.

Pagecount was deliberately not included as it has significance only to
other TOPS-20 hosts, and that information is available with the
default SMART-DIRECTORY option, which uses the STAT command with args
instead of the LIST command.

Thanks to Frank Wancho for making the change.

Comments by email welcome.  Send to: Action@WSMR-SIMTEL20.ARMY.MIL

Keith
--
Keith Petersen
Maintainer of SIMTEL20's MSDOS, MISC & CP/M archives [IP address 26.2.0.74]
Internet: w8sdz@WSMR-SIMTEL20.Army.Mil, w8sdz@brl.mil  BITNET: w8sdz@NDSUVM1
Uucp: {ames,decwrl,harvard,rutgers,ucbvax,uunet}!wsmr-simtel20.army.mil!w8sdz