home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 June / SIMTEL_0692.cdr / msdos / desqview / dslist.arc / DSLIST.DOC < prev    next >
Text File  |  1988-03-18  |  7KB  |  175 lines

  1.                              DSLIST
  2.  
  3.   For Reading Files DesqView's DOS Services Directory Listing
  4.  
  5.                          Henry M. Halff
  6.                      Halff Resources, Inc.
  7.                      4918 33rd Road, North
  8.                       Arlington, VA 22207
  9.                           703-237-0984                                
  10.  
  11.                         What DSLIST is.
  12.  
  13. This collection of files is a point-and-shoot way of getting from 
  14. a directory listing in DesqView's DOS Services to Vern Buerg's 
  15. List program.  List is a DesqView aware program that displays a 
  16. text file one screen at a time and which lets you navigate 
  17. through the file in a number of fancy ways.
  18.  
  19.                       When to use DSLIST.
  20.  
  21. Whenever you are tempted to use the Type command in the DOS 
  22. Services menu but don't because the non-stop scrolling drives you 
  23. up the wall.
  24.  
  25. With DSLIST, if you spot in DOS Services directory listing a 
  26. file that you need to read, you can, with a single key stroke 
  27. (Alt-L), automatically open a List window on the file.
  28.  
  29. If you can't recall the name of a file you want to read, you can 
  30. use DOS Services to locate the file and again, with a single 
  31. keystroke, open a List window on the file.
  32.  
  33.                      How to install DSLIST.
  34.  
  35. 1.  Make sure you have Vern Buerg's List program.  It's available 
  36. on this bulletin board as LIST62A.ARC.
  37.  
  38. 2.  Dearc LIST62A.  Rename LIST62A.COM to LIST.COM and move it to 
  39. your DesqView directory.
  40.  
  41. 3.  Install LIST in DesqView.  Use LK-PIF.DVP (from DSLIST.ARC) 
  42. as the profile file.  You must use LK as the two-letter code to 
  43. invoke LIST from the DesqView's Open-Window Menu.
  44.  
  45. WARNING:  The next step will wipe out any existing scripts that 
  46. you have installed in DOS Services.  A method for saving these 
  47. scripts is discussed below. 
  48.  
  49. 4.  Move the files DSLIST.BAT and DS-SCRIP.DVS (both from 
  50. DSLIST.ARC) into your Desqview directory.
  51.  
  52. 5.  Make sure LIST is working correctly.  Enter LK from 
  53. DesqView's Open-Window menu.  A new window should open and the 
  54. machine should pause displaying a line 
  55.  
  56. C>list 
  57.  
  58. Type the path name of any text file, say this one, and press 
  59. Enter.  You should see List go to work on the chosen file.
  60.  
  61.                        How to use DSLIST.
  62.  
  63. 1.  From DOS Services obtain a directory listing containing the 
  64. file you want to examine.
  65.  
  66. 2.  Position the bar cursor in the directory listing over the 
  67. name of the file you want to examine.
  68.  
  69. 3.  Make sure the mouse cursor is in the directory listing 
  70. window, not in the command menu window (very important).
  71.  
  72. 4.  Press Alt-L.  A List window should automatically open on the 
  73. file under the bar cursor.
  74.  
  75.                        What can go wrong?
  76.  
  77. 1.  The mouse cursor is not in the directory-listing window.
  78.  
  79. 2.  The bar cursor is not positioned over a real file.  Maybe 
  80. it's over a file that's been deleted.  Maybe it's over a 
  81. directory.
  82.  
  83. 3.  DSLIST.BAT is not in the DesqView directory.
  84.  
  85. 4.  You fail to send Buerg any shareware money, and the whole 
  86. shareware enterprise goes down the tubes.
  87.  
  88. -------------------TECHIE SECTION STARTS HERE------------------
  89.  
  90.                      Files in this Archive
  91.  
  92. DSLIST.DOC
  93. This document
  94.  
  95. DS-PIF.DVP
  96. A DesqView Profile file for List.
  97.  
  98. DS-SCRIP.DVS
  99. A DesqView script for Alt-L in DOS Services.  This script marks 
  100. the file name under the bar cursor and the directory name at the 
  101. top of the DOS Services menu.  It then invokes DSLIST.BAT in a 
  102. List window and tranfers the file and directory names on the 
  103. DSLIST.BAT's command line.
  104.  
  105. DSLIST.BAT
  106. A DOS Batch file that assembles its arguments (file name, 
  107. extension, directory) into a pathname and invokes List on the 
  108. pathname.
  109.  
  110.                         Other Questions
  111.  
  112. 1.  How can I preserve my existing DOS Services Scripts?
  113.  
  114. If you have DesqView Notepad (A DesqView Companion), you can use 
  115. it to move the script in DSLIST.ARC with your existing scripts.  
  116. Or, you can (carefully) use DesqView's Learn feature to add the 
  117. script in DS-SCRIP.DVS.  A listing of the script is given below.
  118.  
  119. 2.  Do I have to keep LIST.COM in my DesqView Directory.
  120.  
  121. No.  If you move LIST.COM to another directory, however, change 
  122. the DesqView profile to reflect that fact.  Make sure that 
  123. DSLIST.BAT is in the DesqView directory or in the same directory 
  124. as LIST.COM.
  125.  
  126. 3.  Can I use DSLIST's techniques for point and shoot at other 
  127. functions such as editors?
  128.  
  129. Sure.  You can make a script and batch file to invoke any program 
  130. that takes a path name as an argument on its command line.  
  131. Suppose you would normally edit a file, say foo, by entering
  132.  
  133. C>edit foo
  134.  
  135. and suppose you want to use Alt-E to open an edit window on a 
  136. file from DOS Services.  Here's how to proceed.
  137.  
  138. a.  Create a DesqView program for your editor that has "edit" 
  139. on the Program line of the profile, and "?" on the Parameter line 
  140. of the profile.  (That is, tell DesqView that your editor should 
  141. be opened with the command "edit ?")
  142.  
  143. b.  Use DesqView Notepad to copy the script for the Alt-L key to 
  144. one for the Alt-E key.  Replace the characters "olk" (Open LK) 
  145. near the end of your new script with "oed" (Open ED).  Or, using 
  146. the listing below, key in the script with DesqView's learn 
  147. feature, making the changes as you go.
  148.  
  149. c.  Copy the file DSLIST.BAT to a file DSEDIT.BAT.  Then edit 
  150. DSEDIT.BAT so that all of the "list" commands are changed to 
  151. "edit" commands.  Make sure that DSEDIT.BAT is in the DesqView 
  152. directory or the directory with your editor.
  153.  
  154. d.  Use Alt-E to invoke your editor in the same way that you use 
  155. Alt-L to invoke List.
  156.  
  157. 5.  Do you want any money for DSLIST?
  158.  
  159. Not a dime.  (And, in case you wondered, I don't have any 
  160. affiliation with Vern Buerg.  I don't even know him.  I sent him 
  161. a few bucks for List several years ago and have gotten more than 
  162. my money's worth out of the program.)
  163.  
  164.                    The Script in DS-SCRIP.DVS
  165.  
  166. {Learn {Alt-L} "Look"}
  167. {DESQ}z{DESQ}m{Right}b{Right}{Right}{Right}{Right}{Right}{Right}{Right}{Right}
  168. {Right}{Right}{Right}e{Home}{Down}{Right}{Right}{Right}{Right}{Right}{Right}
  169. {Right}{Right}{Right}{Right}{Right}{Right}{Right}m{Right}{Right}{Right}{Right}
  170. {Right}{Right}{Right}{Right}{Right}{Right}{Right}{Right}{Right}{Right}{Right}
  171. {Right}{Right}{Right}{Right}{Right}{Right}{Right}{Right}{Right}{Right}{Right}
  172. {Right}{Right}{Right}{Right}{Right}{Right}{Right}{Right}{Right}{Right}{Right}
  173. {Right}{Enter}{DESQ}z{Enter}{DESQ}olk{Esc}dslist {DESQ}tt {DESQ}r{Enter}
  174. {Finish}
  175.