SDIR - Sub-device file Directory Version V02.00 D. N Tanner Livermore, Ca 94550 SDIR will display the directory of the files in a specified subdevice file. The program runs on RT-11 Version 5 and version 4. It will not operate on RT-11 V2C or HT-11. Operation on RT-11 V5 If SDIR.SAV is on SY: the syntax is: .SDIR filespec Where: "filspec" is a normal RT-11 file name. The default device name is SY: and the default file type is .DSK The files are displayed a screen full at a time (22 lines) and then there is a pause for a return to continue. At the end the number of files, total number of blocks, number of free blocks, and the size of the largest free area is listed. (V2.0) Operation on RT-11 V4 If you are running RT-11 Version 4.0 you must run the program. SDIR will prompt for a file name, just enter it as described above. CUSTOMIZING PATCHES The default device and file type for SDIR can can be changed by specifying them as part of the filespec or they can be patched permanently. The default file type is set to DSK. It can be changed by patching location 1000. The new file type must be the RAD50 equivalent. The default device name can be changed by patching locations starting at 1016. The device name is in ASCII and must be terminated with a colon (:) followed by a null (0). The distributed version has a default device of SY: The length of the directory page can be changed by patching location 1010. If the page length is set to zero, no paging will be done. The terminal type is set to a VT100. Each page of the directory will be on a new screen. Location 1012 can be patched to change the terminal. 0 - no screen clear. 1 - VT100, 2 - VT52