Category : Communication (modem) tools and utilities
Archive   : BOYMKS5E.ZIP
Filename : LISTFILE.BSC

 
Output of file : LISTFILE.BSC contained in archive : BOYMKS5E.ZIP
\\
\\ List a file with length of 23 line limit script by Lee Breeden
\\

\\ Added macro command: \GVx[filename.ext] which reads a line of text
\\ from a text file into variable # x. To close a file (in order to
\\ re-read from the beginning), use the command \GVx[].



\DM1,24[Enter the name of a text file to list.]
\KO[60] \\ set keyboard timeout to 60 secs
\kV0[FILENAME: ] \\ keyboard input filename into %v0
\ZS \\ clear screen
\SV2[1] \\ set line counter into %v2
\GV1[] \\ close any file previously opened with \GV
\ST[Listing %V0...] \\ status message

|SHOWLINE
\ie+%v2,23[\kv3[ or N for non-stop: ]\iv3-n[\sv2[1]]
\\ check line #24 & pause
\ST[Listing %V0...] \\ waiting for then re-set %v2 to 1
\GV1[%V0] \\ read a line from the file into %V1
^J \\ use ^J to scroll the cursor down

\IV1+^Z[\AB] \\ if %V1=end of file marker ^Z, then abort
\LV1[80] \\ set length of %V1 to 80 chars
\DM1,[%V1] \\ display %V1 at column 1 of current line
\+V2[1] \\ counting lines.... into %v2
\GB[SHOWLINE] \\ loop back for next line





  3 Responses to “Category : Communication (modem) tools and utilities
Archive   : BOYMKS5E.ZIP
Filename : LISTFILE.BSC

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/