home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 18 REXX / 18-REXX.zip / cmdpk164.zip / xhelp001.msg < prev    next >
Text File  |  1998-01-03  |  28KB  |  433 lines

  1. <!-- xhelp English message file
  2.      (w) 1997-98 Ulrich Möller -->
  3.  
  4. <!-- Please see the online reference for xhelp before making
  5.      any changes to the message files; errors therein can
  6.      result in improper function of xhelp. -->
  7.  
  8. <!-- **********************************************
  9. *                                                 *
  10. *    The current CommandPak version               *
  11. *                                                 *
  12. ************************************************ -->
  13.  
  14. <TOPIC NAME="versionString"><HTML>1.64</TOPIC>
  15.  
  16. <!-- **********************************************
  17. *                                                 *
  18. *    Here come short messages used by CommandPak  *
  19. *                                                 *
  20. ************************************************ -->
  21.  
  22. <!-- Certain codes that do not seem to make too much sense (such as
  23.      "%a", "&ver;" are replaced internally by xhelp with variable data. -->
  24.  
  25. <!-- E.g. the "&cmd;" code appearing in some messages is replaced internally
  26.      by the name of the command that help was requested for; this is
  27.      implemented to allow for displaying different messages for aliases.
  28.      For example, "help xdir" and "help ls" would access the "dirHelp"
  29.      messages, although output will be different. However, this works only
  30.      for commands that have been properly prepared within xhelp.cmd.  -->
  31.  
  32. <TOPIC NAME="invalidOptionMsg"><HTML><B><I>Error in &cmd;:</I></B> Unknown option (%a).</TOPIC>
  33. <TOPIC NAME="abortMsg"><HTML><BR>&cmd; was interrupted per user request.</TOPIC>
  34.  
  35. <!-- xhelp only -->
  36. <TOPIC NAME="welcomeMsg"><HTML><BR>MLRXSHL (w) (c) 1994-97 Martin Lafaix<BR>CommandPak &version; (w) (c) 1997-98 Ulrich Möller
  37. <BR><BR><B>Welcome to CmdShl!</B><BR>Type <A HREF="">help</A> to find out more about the new functions in this package.
  38. <BR>Press Alt+F4 or type <A HREF="">exit</A> to get back to where you came from.<BR></TOPIC>
  39.  
  40. <TOPIC NAME="bookshelfMsg"><HTML>SEARCH mode. Searching %a for "%b" as a background process...</HTML></TOPIC>
  41. <TOPIC NAME="callViewMsg">VIEW mode. Opening %a...
  42. </TOPIC>
  43. <TOPIC NAME="analyzeMsg">HTML mode. Analyzing data</TOPIC>
  44. <TOPIC NAME="formattingMsg">HTML mode. Formatting data</TOPIC>
  45. <TOPIC NAME="noViewMsg"><HTML><B><I>Error in xhelp:</I></B> The OS/2 Information Presentation Facility (VIEW.EXE) is not available.</TOPIC>
  46. <TOPIC NAME="topicNotFoundMsg"><HTML><I><B>Error in xhelp:</I></B> Help topic "%a" not found.</TOPIC>
  47. <TOPIC NAME="HTMLerror"><HTML><BR><B><I>Error in xhelp:</I></B> xhelp crashed in line %a processing HTML:<BR></TOPIC>
  48.  
  49. <TOPIC NAME="versionMsg"><HTML>CommandPak is currently at version level <B>&version;</B></TOPIC>
  50.  
  51. <!-- **********************************************
  52. *                                                 *
  53. *    Here come messages explaining xhelp itself   *
  54. *                                                 *
  55. ************************************************ -->
  56.  
  57. <!-- If the following definitions do not seem very lucid to you, feel
  58.      free to insert more spaces and line breaks. However, I removed
  59.      them on purpose in order to speed up HTML processing. After all,
  60.      xhelp is a REXX program and it goes through the text on a per-
  61.      character basis. This only applies to the actual messages
  62.      though (within <TOPIC> and </TOPIC>); searching for a message ID
  63.      is performed via a single call of the REXX "pos()" function, so that
  64.      these comments do not inhibit performance much. -->
  65.  
  66. <TOPIC NAME="helpHelpFirst"><HTML><B>This is an overview of MLRXSHL/CommandPak</B> (type <A HREF="">help <I><command></I></A> for more):
  67. <UL FIRST=2 NEXT=16><LI><B>cd</B><TAB>can now change drives also and remembers the last directory.
  68. <LI><B>dir / ls</B><TAB>is a new and all-improved DIR command with coloring and more.
  69. <LI><B>ren / mv</B><TAB>extended rename and move; extra features
  70. <LI><B>alias</B><TAB>lets you define your own commands.
  71. <LI><B>def</B><TAB>can redefine keys, even with whole command lines.
  72. <LI><B>rule</B><TAB>lets you define rules for command-line editing.
  73. <LI><B>rx</B><TAB>allows you to process REXX commands at the command line.
  74. <LI><B>recurse</B><TAB>will execute a command line recursively in subdirectories.
  75. <LI><B>open</B><TAB>will open a directory as a WPS folder.
  76. <LI><B>ln</B><TAB>will create "links" via WPS shadows.
  77. <LI><B>pushd / popd</B><TAB>will save/recall directories.
  78. <LI><B>less</B><TAB>is a far better "more" than "more".
  79. <LI><B>query</B><TAB>is a command for querying different system information.
  80. <LI><B>fl</B><TAB>is a more-or-less graphical directory browser.
  81. </UL>Type <A HREF="">help <I><command></I></A> to find out more about a certain <I><command></I>.
  82. <BR>Type <A HREF="">help keys</A> to read a summary of the new command-line editing functions.
  83. <BR>Type <A HREF="">help ref</A> to view the online reference with an in-depth introduction and
  84. reference on CmdShl and the other functions.
  85. <BR>Type <A HREF="">help help</A> to learn about usage of the "help" command.
  86. <BR>Type <A HREF="">exit</A> to close this session.
  87. </TOPIC>
  88.  
  89. <TOPIC NAME="helpHelp"><HTML><B>&cmd; &version; (w) (c) 1997-98 Ulrich Möller</B>
  90. <BR><UL NEXT=3><TAB>Typing "&cmd;" will offer you information more quickly. This will
  91. either display a text-mode help message (provided mostly in HTML format) or open up one or several of
  92. the available INF files.
  93. Try typing <A HREF="">&cmd; ref</A> to access the online reference of MLRXSHL/CommandPak.</UL>
  94. Usage:<UL FIRST=2 NEXT=22><LI><B>&cmd; -c </B><TAB>For info on CmdShl itself (built-in).
  95. <LI><B>&cmd; -x</B><TAB>Show some examples of "&cmd;".
  96. <LI><B>&cmd;</B> <I><topic></I><TAB>If <I><topic></I> is a known command: display its help.
  97. <BR>If <I><topic></I> is an INF file: display the whole book.
  98. <BR>If <I><topic></I> is a text or HTML file: display it formatted.
  99. <BR>Otherwise, the bookshelf is searched for <I><topic></I>.
  100. <LI><B>&cmd; keys</B><TAB>explain new command-line editing features
  101. <LI><B>&cmd; list</B><TAB>show what's accessible to &cmd;
  102. <LI><B>&cmd;</B> <I><inf></I> <I><topic></I><TAB>search the book <I><inf></I> only for <I><topic></I>; you can
  103. search several books by combining them with the "+" sign.
  104. <LI><B>&cmd; "</B><I><text><B></I>"</B><TAB>display <I><text></I> directly; can be HTML
  105. <LI><B>&cmd;</B> [<B>sys</B>|<B>rex</B>]<I><num></I><TAB>explain OS/2 system/REXX error <I><num></I></UL>
  106. You can also use the quesion mark ("?") instead (e.g. <A HREF="">? rexx</A>).
  107. Note: The external help will only return anything if the OS/2 help system is available.
  108. Type <A HREF="">exit</A> to close this session.
  109. </TOPIC>
  110.  
  111. <TOPIC NAME="helpHelpExampl"><HTML><B>Examples of using help:</B>
  112. <UL FIRST=3 NEXT=23><LI>help quit<TAB>will display info on built-in "quit" command
  113. <LI>help rexx <TAB>will show REXX.INF
  114. <LI>help ibm1s506<TAB>will search all books for IBM1S506
  115. <LI>help cmdref dir<TAB>will search CMDREF.INF for "dir"
  116. <LI>help ref rx<TAB>will search the online reference for "rx"
  117. <LI>help 2166<TAB>will describe OS/2 SYS2166 error
  118. <LI>? 2166<TAB>should do also
  119. <LI>? ?<TAB>help on "help"
  120. </UL>Type <A HREF="">help help</A> to review the options.
  121. </TOPIC>
  122.  
  123. <TOPIC NAME="keysHelp"><HTML><B>Help for command-line editing</B>
  124. <BR>The following keys have been assigned special functions to:
  125. <UL FIRST=3 NEXT=20>
  126. <LI><B>Tab</B><TAB>auto-complete currently begun element
  127. <LI><B>&uarrw;</B>|<B>&darrw;</B><TAB>browse through command line history (last 100 entered commands)
  128. <LI><B>F1</B><TAB>auto-complete currently begun element from command history
  129. <LI><B>Ctrl+R</B><TAB>search command-line history
  130. <LI><B>Ctrl+F</B><TAB>search next match in command-line history
  131. <LI><B>Ctrl+</B>{<B>&larrw;</B>|<B>↝</B>}<TAB>jump to previous | next word in line
  132. <LI><B>Esc</B><TAB>clear whole line
  133. <LI><B>Ctrl+Home</B><TAB>erase from beginning of line to cursor
  134. <LI><B>Ctrl+End</B><TAB>erase from cursor to end of line
  135. <LI><B>Ctrl+&darrw;</B><TAB>save current screen
  136. <LI><B>Ctrl+&uarrw;</B><TAB>restore last stored screen
  137. <LI><B>Ctrl+NumPad "+"</B><TAB>swap screens
  138. <LI><B>Alt+F4</B><TAB>close session
  139. </UL>Type <A HREF="">help ref editing</A> for details.</TOPIC>
  140.  
  141. <TOPIC NAME="helpList"><HTML><B>The following commands will be explained with</B> <A HREF="">help <I><command></I></A>:</B>
  142. <UL FIRST=3 NEXT=3><LI>alias cd copy cp def del dir exit help fl for ln ls less mv open pushd popd query quit recurse ren rule rx sdir ver watchdrv xcp xdir xhelp xren</UL>
  143. <B>The following online (INF) books can be accessed with</B> <A HREF="">help <I><book></I></A>: <UL FIRST=3 NEXT=3><LI></TOPIC>
  144.  
  145. <!-- **********************************************
  146. *                                                 *
  147. *    Here come the help messages for commands     *
  148. *      (sorted alphabetically)                    *
  149. *                                                 *
  150. ************************************************ -->
  151.  
  152. <TOPIC NAME="aliasHelp"><HTML><B>alias (CmdShl built-in): view, add or remove an alias</B>
  153. <BR><UL NEXT=3><TAB>With aliases, you can define your own commands within CmdShl.
  154.   Aliases are best defined in profiles; type <A HREF="">help ref profile</A> for more.
  155. </UL>Usage:
  156. <UL FIRST=3 NEXT=20><LI><B>alias</B> <I><alias></I><B>=</B>[<I><string></I>|<B>@</B><I><filespec></I>]
  157. <UL FIRST=10 NEXT=23><LI><I><alias></I><TAB>an alias name (case sensitive!)
  158. <LI><I><string></I><TAB>the new value for alias;
  159. %[<I><n></I>][*] denotes command line parameters.
  160. If <I><string></I> is empty, the alias will be removed.
  161. <LI><I><filespec></I><TAB>a file containing one (or more) alias definitions
  162. </UL><LI><B>alias list</B><TAB>view all currently defined aliases
  163. </UL>Type <A HREF="">help ref alias</A> for examples and more information.</TOPIC>
  164.  
  165. <TOPIC NAME="cdHelp"><HTML><B>cd (CmdShl built-in): change directory</B>
  166. <BR><UL NEXT=3><TAB>Use "cd" or "chdir" to change the current directory, have the current
  167. directory displayed, or substitute parts of the current directory path.</UL>
  168. Usage:
  169. <UL NEXT=20><LI><B>cd</B><TAB>to display the current directory
  170. <LI><B>cd</B> <I><path></I><TAB>to change the current directory to <I><path></I>; this may also include a drive letter.
  171. <LI><B>cd ..</B><TAB>to change to the parent of the current directory
  172. <LI><B>cd -</B><TAB>to go back to the previously used directory
  173. <LI><B>cd</B> <I><s1></I> <I><s2></I><TAB>to substitute <I><s1></I> by <I><s2></I> in current directory
  174. </UL>Type <A HREF="">help ref cd</A> to find out more.
  175. <BR><A HREF="">pushd</A> and <A HREF="">popd</A> are also useful to remember directories.</TOPIC>
  176.  
  177. <TOPIC NAME="cmdshlHelp"><HTML><B>CmdShl (w) 1995-1997 Martin Lafaix</B>
  178. <BR><UL NEXT=3><TAB>CmdShl is the core of MLRXSHL and the CommandPak. It enhances your command shell by providing
  179. a new front-end for your existing command processor. </UL>
  180. <B>Syntax:</B> <B>cmdshl</B> [<B>/I</B>|<B>/O</B>] [<B>/P</B> <I><profile></I>] [<B>/C</B>|<B>/K</B> <I><cmd></I>]
  181. <UL NEXT=20><LI><B>/I</B><TAB>Insert mode is the default.
  182. <LI><B>/O</B><TAB>Overstrike mode is the default.
  183. <LI><B>/P</B><TAB>Use the specified <I><profile></I> file.
  184. <LI><B>/C</B><TAB>Execute <I><cmd></I> and exit CmdShl.
  185. <LI><B>/K</B><TAB>Execute <I><cmd></I> without exiting CmdShl.
  186. </UL>By default, Insert mode is on and PROFILE.SHL is used as profile
  187. file if it exists along the path specified by the DPATH environment
  188. variable.
  189. <BR>Type <A HREF="">help ref cmdshl</A> for the online reference of CmdShl.</TOPIC>
  190.  
  191. <TOPIC NAME="copyHelp"><HTML><B>&cmd; &version; (w) (c) 1997-98 Ulrich Möller - extended COPY</B>
  192. <UL NEXT=3><LI>Use &cmd; to duplicate a file. Type <A HREF="">help ref xcp</A> for details.</UL>
  193. Usage:<UL FIRST=3 NEXT=45><LI><B>&cmd;</B> [<B>-bdfitvq</B>...] <I><filespec></I> [<I><newspec></I>]
  194. <UL FIRST=6 NEXT=20><LI><I><filespec></I><TAB>the file(s) to be copied (may include a full path),
  195. <LI><I><newspec></I><TAB>either a directory or the new name(s) to be given to the file(s) ("*" allowed) or both;
  196. default is the current directory.
  197. </UL></UL>Options:<UL FIRST=3 NEXT=16>
  198. <LI><B>-b</B><TAB>backup files before overwriting; don't prompt
  199. <LI><B>-f</B><TAB>force mode: overwrite existing files, don't prompt
  200. <LI><B>-i</B><TAB>interactive mode: confirm for each file
  201. <LI><B>-t</B><TAB>test mode; do not modify anything, just report
  202. <LI><B>-v</B><TAB>be verbose (report changements made)
  203. <LI><B>-q</B><TAB>be quiet (don't even display error messages)
  204. <LI><B>-d</B><TAB>delete .LONGNAMEs
  205. <LI><B>-h</B>|<B>/?</B><TAB>show this help</TOPIC>
  206.  
  207. <TOPIC NAME="defineHelp"><HTML><B>&cmd; (CmdShl built-in): (re)define keyboard keys</B>
  208. <BR>Usage:
  209. <UL FIRST=3 NEXT=20><LI><B>&cmd;</B> <I><key></I> [<I><value></I>]
  210. <UL FIRST=10 NEXT=20><LI><I><key></I><TAB>the name of the key to be redefined
  211. <LI><I><value></I><TAB>the new key value; either a built-in command,
  212. <B>SHELL</B> <I><cmd></I> for executing <I><cmd></I> or
  213. <B>TEXT</B> <I><text></I> for simulating keyboard input of <I><text></I>.
  214. </UL></UL>Examples:
  215. <UL NEXT=20><LI>def F12 TEXT dir /w
  216. <LI>define F3 SHELL exit
  217. <LI>def F12<TAB>will clear F12 key</TOPIC>
  218.  
  219. <TOPIC NAME="delHelp"><HTML><B><B>&cmd;</B> &version; (w) (c) 1997-98 Ulrich Möller</B> -- remove files
  220. <BR>Usage: <B>&cmd;</B> [-<I><options></I>] <I><filespec></I>
  221. <UL FIRST=3 NEXT=20><LI><I><filespec></I><TAB>specifies the file(s) to delete.
  222. </UL>Options:
  223. <UL FIRST=3 NEXT=20><LI>-h|?<TAB>show this help.</TOPIC>
  224.  
  225. <TOPIC NAME="dirHelp"><HTML><B>&cmd; &version; (w) (c) 1996, 1997-98 Martin Lafaix, Ulrich Möller</B>
  226. <BR><UL NEXT=3><TAB>Enhanced DIR. Now a strange mixture between OS/2 "DIR" and UNIX "ls".
  227. </UL>Usage: <B>&cmd;</B> [<B>-</B><I><options></I>] [<B>/</B><I><options></I>] [<I><filespec></I>]
  228. <BR>Options (will be translated to lower case when used with "<B>/</B>")
  229. <UL FIRST=2 NEXT=20><LI><B>-</B>{<B>h</B>|<B>?</B>}<TAB>show this help message
  230. <LI><B>-w</B><TAB>OS/2 wide format: use columns, left to right
  231. <LI><B>-C</B><TAB>UNIX format: use columns, top to bottom
  232. <LI><B>-</B>{<B>l</B>|<B>n</B>}<TAB>long format: print more info (default)
  233. <LI><B>-x</B>[<B>:</B>{<B>a</B>|<B>d</B>|<B>t</B>|<B>s</B>|<B>e</B>|<B>l</B>}...] eXtend: show Attr Date Time Size Easize Longname
  234. <LI><B>-</B>{<B>b</B>|<B>1</B>}<TAB>show filenames only (overrides -w and -x)
  235. <LI><B>-f</B><TAB>show full path only (overrides -w and -x)
  236. <LI><B>-</B>{<B>s</B>|<B>R</B>}<TAB>recurse subdirectories
  237. <LI><B>-p</B><TAB>pause after each page
  238. <LI><B>-F</B><TAB>classify all files (*, \, @)
  239. <LI><B>-a</B>[<B>:</B>{[<B>-</B>]<B>d</B>|<B>h</B>|<B>r</B>|<B>s</B>|<B>a</B>|<B>w</B>}...] show or hide files with specified attributes; "w" stands for abstract WPS objects
  240. <LI><B>-W</B><TAB>include abstract WPS objects (same as "-a:w")
  241. <LI><B>-d</B><TAB>show subdirectories only (same as "-a:d")
  242. <LI><B>-o</B>[<B>:</B>{<B>n</B>|<B>e</B>|<B>d</B>|<B>s</B>|<B>g</B>}]<TAB>sort output by name, ext, date, size, dirs first
  243. <LI><B>-</B>{<B>t</B>|<B>S</B>}<TAB>sort output by date|size (same as "-o:d|s")
  244. <LI><B>-</B>{<B>L</B>|<B>U</B></B>}<TAB>display all file names in lower/upper case
  245. </UL>Recognized environment variables: see online help (type <A HREF="">help ref xdir</A>)</TOPIC>
  246.  
  247. <TOPIC NAME="exitHelp"><HTML><B>exit (CmdShl built-in): exit session</B>
  248. <UL FIRST=3 NEXT=3><LI>exit will close the current session, including the underlying cmd processor.
  249.   This is different from <A HREF="">quit</A>, which will only quit CmdShl.</TOPIC>
  250.  
  251. <TOPIC NAME="forHelp"><HTML><B>for (CMD.EXE built-in): repetitive command processing</B>
  252. <UL FIRST=0 NEXT=3><LI><B>Usage</B> on the command line:
  253. <TAB><B>for %</B><I><var></I> <B>in (</B><I><filespec></I><B>) do</B> <I><command></I>
  254. <LI>in batch files:
  255. <TAB><B>for %%</B><I><var></I> <B>in (</B><I><filespec></I><B>) do</B> <I><command></I></UL>
  256. with: <UL FIRST=3 NEXT=20><LI><I><var></I><TAB>a letter specifying a variable
  257. <LI><I><filespec></I><TAB>a file specification; may contain wildcards
  258. <LI><I><command></I><TAB>a command line, possibly referencing <I><var></I>.
  259. </UL><B>Example:</B>
  260. <UL NEXT=20><LI>for %a in (*.inf) do copy G:\OS2\books\%a
  261. <BR>will replace all existing books in the current directory
  262. with the ones in G:\OS2\books.
  263. </UL>Type <A HREF="">help cmdref for</A> to see details.</TOPIC>
  264.  
  265. <TOPIC NAME="lnHelp"><HTML><B>ln &version; (w) (c) 1997-98 Ulrich Möller</B>
  266. <UL NEXT=3><LI>Create "links"; these are implemented with WPS shadow objects.
  267. They can be viewed using <A HREF="">xdir -W</A>.</UL>
  268. Usage: <B>ln</B> [<B>-</B><I><options></I>] <I><filespec></I> [<I><dir></I>]
  269. <UL  NEXT=20><LI><I><filespec></I><TAB>specifies the source file(s); wildcards allowed.
  270. <LI><I><dir></I><TAB>specifies the target directory to create links in (default: current directory)
  271. </UL>Options:
  272. <UL NEXT=20><LI><B>-f</B><TAB>"force" mode: replace existing links.
  273. <LI><B>-v</B><TAB>be verbose; show each file to be linked.
  274. <LI><B>-</B>{<B>h</B>|<B>?</B>}<TAB>show this help.</TOPIC>
  275.  
  276. <TOPIC NAME="openHelp"><HTML><B>open &version; (w) (c) 1997-98 Ulrich Möller - open WPS folder</B>
  277. <BR>Usage:
  278. <UL NEXT=20><LI><B>open</B> [<B>-h</B>] [<I><dir></I>]</UL>
  279. with:<UL NEXT=20><LI><I><dir></I><TAB>the directory to be opened; this can also be
  280. a subdirectory along the value of CmdShl's CDPATH.
  281. If <I><dir></I> is omitted, the current directory will be opened.
  282. </UL>Options:<UL NEXT=20>
  283. <LI><B>-h</B><TAB>show this help
  284. </UL>Examples:<UL NEXT=20><LI>open c:\os2</TOPIC>
  285.  
  286. <TOPIC NAME="pushdHelp"><HTML><B>pushd / popd (w) Martin Lafaix</B>
  287. <UL FIRST=3 NEXT=3><LI>Will store / recall the current directory.</UL>
  288. Typing <A HREF="">pushd</A> will store the current directory in an internal buffer.
  289. <BR>Typing <A HREF="">popd</A> will change the current directory to the one that was
  290. previously stored.</TOPIC>
  291.  
  292. <TOPIC NAME="queryHelp"><HTML><B>query &version; - retrieve information (w) (c) 1996-97 Martin Lafaix, Ulrich Möller</B>
  293. <BR>Usage:
  294. <UL FIRST=2 NEXT=20><LI><B>query</B> <B>Date</B> | <B>Time</B>
  295. <LI><B>query</B> [<I><timeframe></I>] [<B>detailed</B>] <B>connect</B> {<B>time</B>|<B>message</B>} [<B>for</B> <I><user></I>]
  296. <LI><B>query</B> [<I><timeframe></I>] <B>mail</B> [<B>from</B> <I><user></I>] [<B>in</B> <I><foldername></I>] [<B>where</B> <I><condition></I>]
  297. <UL FIRST=6 NEXT=20><LI><I><timeframe></I><TAB>[<B>this</B>|<B>last</B>] [<B>year</B>|<B>month</B>|<I><monthname></I>]
  298. <LI><I><monthname></I><TAB><B>JANuary</B> | <B>FEBruary</B> | <B>MARch</B> | <B>APRil</B> ... | <B>DECember</B>
  299. <LI><I><foldername></I><TAB>{<I><name></I> | <B>"</B><I><name></I><B>"</B> | <B>*</B> | <I><foldername></I>}[<B>,</B> <I><foldername></I>]
  300. <LI><I><condition></I><TAB><I><element></I> <I><operator></I> <I><value></I> [{<B>or</B>|<B>and</B>} <I><condition></I>]
  301. <LI><I><element></I><TAB><B>from</B> | <B>to</B> | <B>subject</B> | <B>sender</B>[[<B>'s</B>] <B>domain</B>]
  302. <LI><I><operator></I><TAB><B>contains</B> | <B>=</B> | <B>==</B> | <B>></B> | <B><</B> | <B>\=</B> | <B><></B>
  303. </UL><LI><B>query disk</B> [<I><drive></I>...]
  304. <LI><B>query PICTure DIMension for</B> <I><file></I>
  305. <LI><B>query</B> {<B>rexx</B>|<B>java</B>|<B>os</B>} <B>VERsion</B>
  306. <LI><B>query SYStem</B> {<B>DEVices</B>|<B>DRIVERS</B>|<B>IRQs</B>|<B>MEMory</B>}
  307. <LI><B>query DIRectory stack</B>
  308. </UL><UL FIRST=3 NEXT=3>Examples:
  309. <LI>query this year connect time for user1
  310. <LI>query detailed november connect time for user1 user2
  311. <LI>query last connect message
  312. <LI>query mail for user1 in inbox where subject contains "PAGING"
  313. <LI>query disk e f
  314. <LI>query os version</TOPIC>
  315.  
  316. <TOPIC NAME="quitHelp"><HTML><B>quit (CmdShl built-in): quit CmdShl</B>
  317. <UL FIRST=3 NEXT=3><LI>quit will terminate CmdShl and return to the underlying command processor.
  318.   This is different from <A HREF="">exit</A>, which will close the whole session.
  319.   However, quit will only make a difference if you started CmdShl with the /K
  320.   parameter of CMD.EXE; otherwise, CMD.EXE will terminate also.</TOPIC>
  321.  
  322. <TOPIC NAME="recurseHelp"><HTML><B>recurse &version; (w) (c) 1997-98 Ulrich Möller</B>
  323. <UL NEXT=3><LI>This will walk through all subdirectories of the current directory and
  324. execute a given command line in every one of them.</UL>
  325. Usage: <B>recurse</B> [<B>-h</B>] [<I><cmdline></I>]
  326. <UL FIRST=3 NEXT=20><LI>with <I><cmdline></I><TAB>being the command line to be executed in each directory. This
  327. is evaluated by CmdShl and may therefore contains aliases.
  328. </UL>
  329. Examples:
  330. <UL NEXT=25><LI>recurse del *<TAB>delete all files, leaving empty directories.
  331. <LI>recurse xren -d *<TAB>delete all .LONGNAME attributes.</TOPIC>
  332.  
  333. <TOPIC NAME="renHelp"><HTML><B>&cmd; &version; (w) (c) 1997-98 Ulrich Möller - extended MOVE/RENAME</B>
  334. <UL NEXT=3><LI>Use &cmd; to assign new names to files and/or to
  335. move files to a different location. Type <A HREF="">help ref xren</A> for details.</UL>
  336. Usage:<UL FIRST=3 NEXT=45><LI><B>&cmd;</B> [<B>-8bdfitvq</B>...] <I><filespec></I> <I><newspec></I><TAB><B>rename/move mode</B>
  337. <LI><B>&cmd; -</B>[<B>d</B>][<B>8</B>][<B>r</B>|<B>L</B>|<B>U</B>][<B>tvq</B>...] <I><filespec></I><TAB><B>extended mode</B>
  338. <UL FIRST=6 NEXT=20><LI><I><filespec></I><TAB>the file(s) to be renamed (may include a full path),
  339. <LI><I><newspec></I><TAB>either a directory or the new name(s) to be given to the file(s) ("*" allowed) or both; when a path
  340. is given, files will be MOVED also.
  341. </UL></UL>Options:<UL FIRST=3 NEXT=16>
  342. <LI><B>-b</B><TAB>backup files before overwriting when moving; don't prompt
  343. <LI><B>-f</B><TAB>force mode: overwrite existing files when moving, don't prompt
  344. <LI><B>-i</B><TAB>interactive mode: confirm for each file
  345. <LI><B>-8</B><TAB>adjust filenames to FAT 8+3 naming convention
  346. <LI><B>-t</B><TAB>test mode; do not modify anything, just report
  347. <LI><B>-v</B><TAB>be verbose (report changements made)
  348. <LI><B>-q</B><TAB>be quiet (don't even display error messages)
  349. <LI><B>-d</B><TAB>delete .LONGNAMEs
  350. <LI><B>-r</B><TAB>change real name to .LONGNAME, if it exists
  351. <LI><B>-</B>{<B>L</B>|<B>U</B>}<TAB>change real name to lower/upper case; overrides -r
  352. <LI><B>-h</B>|<B>/?</B>|<B>-x</B><TAB>show this help; -x will show examples</TOPIC>
  353.  
  354. <TOPIC NAME="renExpl"><HTML><B>Examples of using xren:</B>
  355. <UL FIRST=2 NEXT=25><LI>xren a b<TAB>rename file "a" to "b"
  356. <LI>xren a \bin<TAB>if "\bin" is a directory: move file "a" there, otherwise move to "\" and rename to "bin"
  357. <LI>xren a \bin\b<TAB>if "\bin" is a directory: move file "a" there and rename it to "b", otherwise error
  358. <LI>xren *.bak *.bk2<TAB>rename all "*.bak" to "*.bk2"
  359. <LI>xren *.bak \bin\*.bk2<TAB>move all "*.bak" to "\bin" and rename them to "*.bk2"
  360. <LI>xren -d *<TAB>remove .LONGNAMEs for all files in directory
  361. <LI>xren -L *<TAB>change all filenames to lower case
  362. <LI>xren -r *.exe<TAB>rename all EXEs to respective .LONGNAMEs
  363. <LI>xren -d -r *.exe<TAB>the same, but remove .LONGNAMEs</TOPIC>
  364.  
  365. <TOPIC NAME="ruleHelp"><HTML><B>rule (CmdShl built-in): edit rules for command-line editing</B>
  366. <UL NEXT=3><LI>With rules, you can modify CmdShl's behavior when editing a certain command at the command line.</UL>
  367. Usage:
  368. <UL FIRST=3 NEXT=16><LI><B>rule</B> <I><name></I><B>=</B><I><string></I>|<B>@</B><I><file></I>
  369. <UL FIRST=6 NEXT=16><LI><I><name></I><TAB>the name of the command that the rule shall be set for (case sensitive for aliases).
  370. <LI><I><string></I><TAB>the new value for <I><name></I>, with the following symbols:
  371. <UL FIRST=19 NEXT=24><LI>%%<TAB>the "%" char itself
  372. <LI>%*<TAB>anything
  373. <LI>%c<TAB>a command name
  374. <LI>%d<TAB>a directory name
  375. <LI>%e<TAB>an environment variable name
  376. <LI>%f<TAB>a file name
  377. <LI>%l<TAB>a single letter
  378. <LI>%o<TAB>a (possibly empty) list of options
  379. <LI>%x<TAB>an expression.
  380. Several clauses are to be separated by "|".</UL>
  381. <LI><I><file></I><TAB>a file containing one (or more) rule definitions as above.
  382. </UL><LI><B>rule list</B><TAB>view all currently defined rules.
  383. </UL>Type <A HREF="">help ref rule</A> for details and examples.</TOPIC>
  384.  
  385. <TOPIC NAME="rxHelp"><HTML><B>rx (CmdShl built-in): execute REXX stuff</B>
  386. <UL NEXT=3><LI>This will execute one or several REXX commands on the command line.
  387. Currently your commands must fit one line. Since rx runs within CmdShl's
  388. process, you can even access CmdShl's internal variables (and crash it, if you wish).
  389. Type <A HREF="">help ref rx</A> to see details and examples.
  390. Type <A HREF="">help rexx</A> to find out more about the REXX language.
  391. </UL>
  392. Usage:<UL FIRST=3 NEXT=20><LI><B>rx</B> [<I><rexx1></I> [<B>;</B> <I><rexx2></I>] ...] </UL>
  393. Examples:
  394. <UL FIRST=1 NEXT=55>
  395. <LI>rx say "Hello world"<TAB>complex, isn't it?
  396. <LI>rx call SysOpenObject "<I><WP_SYSTEM></I>", "DEFAULT", 1<TAB>open folder
  397. <LI>rx say cmdList<TAB>show internal variable</TOPIC>
  398.  
  399. <TOPIC NAME="watchdrvHelp"><HTML><B>watchdrv &version; (w) (c) 1997-98 Ulrich Möller</B>
  400. <UL NEXT=3><LI>Will check a drive at a given frequency, and when new media is inserted,
  401. its respective WPS folder will be opened automatically.</UL>
  402. Usage:<UL FIRST=3><LI><B>watchdrv</B> [<I><drive></I>] [<B>-t:</B><I><val></I>] [<B>-si:</B><I><file></I>] [<B>-so:</B><I><file></I>] [<B>-i</B>] [<B>--play</B>]
  403. <UL FIRST=6 NEXT=20><LI><I><drive></I><TAB>drive to be watched (default: last available drive).
  404. If it does not exist or is not removeable, watchdrv will
  405. wait forever.
  406. </UL></UL>Options:<UL FIRST=6 NEXT=20><LI><B>-t:</B><I><val></I><TAB>in seconds: how often drive should be checked (def: 2).
  407. <LI><B>-si:</B><I><file></I><TAB>soundfile to be played on inserting media (def: none).
  408. <LI><B>-so:</B><I><file></I><TAB>soundfile to be played on ejecting media (def: none).
  409. <LI><B>-i</B><TAB>ignore any media at startup
  410. <LI><B>--play</B><TAB>will also check the given drive for audio
  411. CDs and play them automatically.
  412. </UL>Examples:<UL FIRST=3 NEXT=20><LI>watchdrv L:<TAB>will check drive L every 2 seconds.
  413. <LI>watchdrv L: -t:5 -si:G:\sounds\crash.wav<TAB>
  414. will check drive L every 5 seconds and make some noise.</TOPIC>
  415.  
  416. <!-- **********************************************
  417. *                                                 *
  418. *    watchdrv messages                            *
  419. *                                                 *
  420. ************************************************ -->
  421.  
  422. <TOPIC NAME="wdAssumeMsg"><HTML>watchdrv assumed that drive &cmd; is your CD-ROM drive.</TOPIC>
  423. <TOPIC NAME="wdBeginMsg"><HTML>Now starting surveillance of drive &cmd;.</TOPIC>
  424. <TOPIC NAME="wdFrequencyMsg"><HTML>Frequency: &cmd; seconds.</TOPIC>
  425. <TOPIC NAME="wdMinimizeMsg"><HTML>watchdrv will happily run in the background. You can minimize this window
  426. and watchdrv will continue monitoring your CD-ROM drive. Press Ctrl+C to abort surveillance at any time.</TOPIC>
  427. <TOPIC NAME="wdInsertMsg">
  428. New media inserted. Identification: </TOPIC>
  429. <TOPIC NAME="wdRemoveMsg">
  430. Media was removed.
  431. </TOPIC>
  432.  
  433.