home *** CD-ROM | disk | FTP | other *** search
/ The Don Maslin Archive / maslin_archive.zip / AARDVARK_Tape_Backups / maslin_c_d_3oct95 / ddrive / sydex / sanyo / helpdex.td0 / APPENDIX.HDX next >
Text File  |  1990-02-15  |  22KB  |  427 lines

  1. 80/F0/07/F0/F0/F0/07
  2. MS-DOS/PC-DOS Appendix
  3. Index
  4. 12
  5.  
  6.              15 February 1990
  7.  
  8. CREDITS    References and trademarks.     HELP
  9. -----------------------------------------
  10. SYNTAX     Understanding the syntax.
  11. KEYS       Editing and function keys.
  12. KEYS55X    Sanyo MBC 550/555 keyboard.
  13. WILDCARDS  Wild card characters ? and *.
  14. IN/OUTPUT  Redirection and piping.
  15. !DOCUMENT
  16. !SYNTAX
  17. SYNTAX:  Understanding the syntax.
  18.  
  19. Notation used in this online help manual to describe the syntax of the MS-DOS,
  20. PC-DOS, DEBUG, and EDLIN commands is according to the following convention.
  21.  
  22.       CAPS    Uppercase letters are used to indicate portions of statements
  23.               or commands the user is to enter exactly as shown.  Where
  24.               lower case letters are used, the user is to enter the data
  25.               requested by the text.
  26.  
  27.       [  ]    Square brackets are used to indicate that the entry enclosed
  28.               is optional.
  29.  
  30.       <  >    Angle brackets are used to indicate data the user must enter.
  31.  
  32.       {  }    Braces are used to indicate the user has a choice between
  33.               two or more entries.  At least one of the entries must be
  34.               selected unless the entries are also enclosed in square
  35.               brackets.
  36.  
  37.       ....    Dots are used to indicate that an entry may be repeated as
  38.               many times as needed.
  39.  
  40.          |    The vertical bar is used to indicate or.  When used with a
  41.               MS-DOS filter, the bar means pipe.
  42.  
  43.      drive    A letter referring to a drive followed by a required colon.
  44.               For example,
  45.  
  46.                                  B:
  47.  
  48.   filename    The name of a file followed by its extension (if any).  For
  49.               example,
  50.  
  51.                                  REPORT.DOC
  52.  
  53.       path    A directory name followed by subdirectory names, each name
  54.               preceded by a backslash.  For example,
  55.  
  56.                                  \FRUIT\APPLE
  57.  
  58.   pathname    A path followed by a filename.  For example,
  59.  
  60.                                  \FRUIT\APPLE\REPORT.DOC
  61.  
  62.   filespec    A drive (may be omitted when referring to the default drive)
  63.               followed by a filename or pathname.  For example,
  64.  
  65.                                  B:\FRUIT\APPLE\REPORT.DOC
  66.  
  67. Punctuation marks, such as commas, semi-colons, colons, slash marks, and equal
  68. signs, are to be entered where indicated.
  69. !KEYS
  70. KEYS:  Editing and function keys.
  71.  
  72. MS-DOS provides a number of special editing and function keys to aid with input
  73. and output in MS-DOS and its utilities including DEBUG and EDLIN.
  74.  
  75. The editing keys can be used to edit the command line of MS-DOS.  Similarly,
  76. the editing keys can be used to edit commands in DEBUG as well as commands and
  77. lines of text in EDLIN.  Table 1 below describes the functions of the special
  78. editing keys of MS-DOS.
  79.  
  80.  
  81.    --------------------------------------------------------------------------
  82.                 |                                |  IBM/Clone  |  Sanyo 55X
  83.     Key         |  Editing Function              |  Keyboards  |  Keyboard
  84.    ==========================================================================
  85.                 |                                |             |
  86.     <COPYCHAR>  |  Copy one character from the   |  <F1>       |  <PF1>
  87.                 |  template to the current line. |             |
  88.    -------------+--------------------------------+-------------+-------------
  89.     <COPYUP>    |  Copy all characters from the  |  <F2>       |  <PF2>
  90.                 |  template up to the character  |             |
  91.                 |  specifed to the current line. |             |
  92.    -------------+--------------------------------+-------------+-------------
  93.     <COPYALL>   |  Copy all characters from the  |  <F3>       |  <PF3>
  94.                 |  template to the current line. |             |
  95.    -------------+--------------------------------+-------------+-------------
  96.     <SKIPCHAR>  |  Skip over (do not copy) a     |  <DEL>      |  <->n
  97.                 |  character in the template.    |             |
  98.    -------------+--------------------------------+-------------+-------------
  99.     <SKIPUP>    |  Skip over (do not copy) the   |  <F4>       |  <PF4>
  100.                 |  characters in the template up |             |
  101.                 |  to the character specified    |             |
  102.    -------------+--------------------------------+-------------+-------------
  103.     <NEWLINE>   |  Make the new line the new     |  <F5>       |  <PF5>
  104.                 |  template.                     |             |
  105.    -------------+--------------------------------+-------------+-------------
  106.     <CONTROL Z> |  Put a CONTROL Z (1AH) end of  |  <F6>       |  <PF6>
  107.                 |  file character in the current |  or         |  or
  108.                 |  line.                         |  <CTRL>+<Z> |  <CTRL>+<Z>
  109.    -------------+--------------------------------+-------------+-------------
  110.     <BACKSPACE> |  Remove last character from    |  <->       |  <=>
  111.                 |  the current line and erase it |  or         |  or
  112.                 |  from the console display.     |  <CTRL>+<H> |  <CTRL>+<H>
  113.    -------------+--------------------------------+-------------+-------------
  114.     <INSERT>    |  Enter/exit insert mode.       |  <INS>      |  <PF8>
  115.    -------------+--------------------------------+-------------+-------------
  116.     <VOID>      |  Void the current line and     |  <F10>      |  <PF10>
  117.                 |  leave the template unchanged. |  or         |  or
  118.                 |  Echos a back slash, a         |  <CTRL>+<X> |  <CTRL>+<X>
  119.                 |  carriage return, and a line   |             |
  120.                 |  feed to the console display.  |             |
  121.    --------------------------------------------------------------------------
  122.                     Note:  < >n indicates key on numeric pad.
  123.  
  124.                      Table 1.  MS-DOS Special Function Keys.
  125.  
  126.  
  127. In addition to the special editing keys, MS-DOS also implements some other
  128. functions through the use of control characters.  Table 2 below lists these
  129. functions.
  130.  
  131.  
  132.    --------------------------------------------------------------------------
  133.      Control    |                                |  IBM/Clone  |  Sanyo 55X
  134.      Character  |  Function                      |  Keyboards  |  Keyboard
  135.    ==========================================================================
  136.                 |                                |             |
  137.     <CONTROL C> |  Abort current line and return |  <CTRL>+<C> |  <BREAK>
  138.                 |  the prompt.  The template is  |             |  or
  139.                 |  left unchanged.  Echos the    |             |  <CTRL>+<C>
  140.                 |  CONTROL C character, a        |             |
  141.                 |  carriage return, and a line   |             |
  142.                 |  feed to the display console.  |             |
  143.                 |  Same as <CTRL>+<SCROLL LOCK>  |             |
  144.                 |  on IBM PC/XT/AT clone         |             |
  145.                 |  keyboards.                    |             |
  146.    -------------+--------------------------------+-------------+-------------
  147.     <CONTROL H> |  Remove last character from    |  <->       |  <=>
  148.                 |  the current line and erase it |  or         |  or
  149.                 |  from the console display.     |  <CTRL>+<H> |  <CTRL>+<H>
  150.    -------------+--------------------------------+-------------+-------------
  151.     <CONTROL J> |  Insert end of line character. |  <CTRL>+<J> |  <LF>
  152.                 |  Does not empty current line.  |             |  or
  153.                 |  Use this key to extend the    |             |  <CTRL>+<J>
  154.                 |  current line beyond the       |             |
  155.                 |  physical limit of the console |             |
  156.                 |  display.                      |             |
  157.    -------------+--------------------------------+-------------+-------------
  158.     <CONTROL N> |  Toggle on/off echoing of      |  <CTRL>+<N> |  <CTRL>+<N>
  159.                 |  console display to line       |             |
  160.                 |  printer.  Same function as    |             |
  161.                 |  <CONTROL P>.                  |             |
  162.    -------------+--------------------------------+-------------+-------------
  163.     <CONTROL P> |  Toggle on/off echoing of      |  <CTRL>+<P> |  <CTRL>+<P>
  164.                 |  console display to line       |             |
  165.                 |  printer.  Same function as    |             |
  166.                 |  <CONTROL N>.                  |             |
  167.    -------------+--------------------------------+-------------+-------------
  168.     <CONTROL S> |  Pause output to console       |  <CTRL>+<S> |  <CTRL>+<S>
  169.                 |  display.  Press any key to    |             |
  170.                 |  resume.                       |             |
  171.    --------------------------------------------------------------------------
  172.  
  173.            Table 2.  Commonly Used MS-DOS Control Character Functions.
  174.  
  175.  
  176. The ASCII control characters, 001 or 01H through 031 or 1F, can be entered from
  177. the IBM PC/XT/AT and Sanyo MBC 550/555 Series computer keyboards by pressing
  178. the <CTRL> key plus another key.  The ASCII control characters are mapped on
  179. the keyboard as shown in Table 3 below.
  180.  
  181.  
  182.                               ---------------------
  183.                                 HEX   0       1
  184.                                 E -----------------
  185.                                 X |    <CTRL>+
  186.                                   =================
  187.                                 0 |       |  <P>
  188.                                 1 |  <A>  |  <Q>
  189.                                 2 |  <B>  |  <R>
  190.                                 3 |  <C>  |  <S>
  191.                                 4 |  <D>  |  <T>
  192.                                 5 |  <E>  |  <U>
  193.                                 6 |  <F>  |  <V>
  194.                                 7 |  <G>  |  <W>
  195.                                 8 |  <H>  |  <X>
  196.                                 9 |  <I>  |  <Y>
  197.                                 A |  <J>  |  <Z>
  198.                                 B |  <K>  |  <[>
  199.                                 C |  <L>  |  <\>
  200.                                 D |  <M>  |  <]>
  201.                                 E |  <N>  |  <^>
  202.                                 F |  <O>  |  <->
  203.                               ---------------------
  204.  
  205.                   Table 3.  IBM PC/XT/AT and Sanyo MBC 550/555
  206.                          Keyboard Control Character Map.
  207.  
  208.  
  209. Any ASCII character, 000 or 00H through 255 or FFH, can be entered from the
  210. IBM PC/XT/AT keyboard by pressing <CTRL>+<ALT> plus the character number
  211. sequence on the numeric keypad.  With the Sanyo MBC 550/555 Series computer
  212. system the extended ASCII characters, 127 (7FH) through 255 (FFH), are entered
  213. by turning the keyboard's GRAPH mode on and pressing the appropriate key.
  214. Please refer to Table 2 in the KEYS55X appendix for the GRAPH mode mapping of
  215. the ASCII extended characters on the MBC 550/555 keyboard.
  216.  
  217. For complete information regarding commands of MS-DOS, DEBUG, or EDLIN please
  218. return to the appropriate index and select the desired command.
  219. !KEYS55X
  220. KEYS55X:  Sanyo MBC 550/555 keyboard.
  221.  
  222. There are some differences between the Sanyo MBC 550/555 keyboard and the
  223. keyboard of the IBM PC/XT/AT.  This requires the use of some special keystroke
  224. combinations on the Sanyo MBC 550/555 when running some software written for
  225. the IBM PC/XT/AT.  Refer to Table 1 below for the available key translations.
  226.  
  227.  
  228.                     -----------------------------------------
  229.                          IBM/Clone  |  Sanyo 55X
  230.                          Keyboards  |  Keyboard
  231.                     =========================================
  232.                                     |
  233.                              <ALT>  |  <CTRL>+<SHIFT>
  234.                                     |
  235.                        <CTRL>+<F1>  |  <CTRL>+<=>
  236.                        <CTRL>+<F2>  |  <CTRL>+<SHIFT>+<{>
  237.                        <CTRL>+<F3>  |  <CTRL>+<SHIFT>+<}>
  238.                        <CTRL>+<F4>  |  <CTRL>+<SHIFT>+<:>
  239.                        <CTRL>+<F5>  |  <CTRL>+<SHIFT>+<">
  240.                        <CTRL>+<F6>  |  <CTRL>+<;>
  241.                        <CTRL>+<F7>  |  <CTRL>+<'>
  242.                        <CTRL>+<F8>  |  <CTRL>+<,>
  243.                        <CTRL>+<F9>  |  <CTRL>+<.>
  244.                       <CTRL>+<F10>  |  <CTRL>+</>
  245.                                     |
  246.                         <ALT>+<F1>  |  <CTRL>+<PF1>
  247.                         <ALT>+<F2>  |  <CTRL>+<PF2>
  248.                         <ALT>+<F3>  |  <CTRL>+<PF3>
  249.                         <ALT>+<F4>  |  <CTRL>+<PF4>
  250.                         <ALT>+<F5>  |  <CTRL>+<PF5>
  251.                         <ALT>+<F6>  |  <CTRL>+<SHIFT>+<PF6>
  252.                         <ALT>+<F7>  |  <CTRL>+<SHIFT>+<PF7>
  253.                         <ALT>+<F8>  |  <CTRL>+<SHIFT>+<PF8>
  254.                         <ALT>+<F9>  |  <CTRL>+<SHIFT>+<PF9>
  255.                        <ALT>+<F10>  |  <CTRL>+<SHIFT>+<PF10>
  256.                                     |
  257.                       <SHIFT>+<F1>  |  <CTRL>+<1>
  258.                       <SHIFT>+<F2>  |  <CTRL>+<2>
  259.                       <SHIFT>+<F3>  |  <CTRL>+<3>
  260.                       <SHIFT>+<F4>  |  <CTRL>+<4>
  261.                       <SHIFT>+<F5>  |  <CTRL>+<5>
  262.                       <SHIFT>+<F6>  |  <CTRL>+<6>
  263.                       <SHIFT>+<F7>  |  <CTRL>+<7>
  264.                       <SHIFT>+<F8>  |  <CTRL>+<8>
  265.                       <SHIFT>+<F9>  |  <CTRL>+<9>
  266.                      <SHIFT>+<F10>  |  <CTRL>+<0>
  267.                                     |
  268.                         <CTRL>+<2>  |  <CTRL>+<`>
  269.                         <CTRL>+<6>  |  <CTRL>+<SHIFT>+<~>
  270.                                     |
  271.                               <>n  |  <5>n
  272.                             <END>n  |  <2>n
  273.                     -----------------------------------------
  274.                      Note: < >n indicates key on numeric pad.
  275.  
  276.              Table 1.  Sanyo MBC 550/555 Keyboard Translation Table.
  277.  
  278.  
  279. Since some software for the IBM PC/XT/AT requires the use of keys which cannot
  280. be translated to an equivalent key combination, a memory resident program,
  281. IBMKEYS, is available for the Sanyo MBC 550/555 to emulate the <ALT>, <CTRL>,
  282. left <SHIFT>, right <SHIFT>, <INS>, <SHIFT LOCK>, <NUM LOCK>, and <SCROLL LOCK>
  283. keys of the IBM PC/XT/AT keyboard.  Please select IBMKEYS in the SANYO55X index
  284. for more information regarding the use of IBMKEYS.
  285.  
  286. Any ASCII character, 000 or 00H through 255 or FFH, can be entered from the
  287. IBM PC/XT/AT keyboard by pressing <CTRL>+<ALT> plus the character number
  288. sequence on the numeric keypad.  With the Sanyo MBC 550/555 Series computer
  289. system the extended ASCII characters, 127 (7FH) through 255 (FFH), are entered
  290. by turning the keyboard's GRAPH mode on and pressing the appropriate key.
  291. Press the GRAPH key to toggle the keyboard's GRAPH mode on or off.  The
  292. extended ASCII characters are GRAPH mode mapped on the MBC 550/555 keyboard as
  293. shown in Table 2 below.
  294.  
  295.  
  296.  -----------------------------------------------------------------------------
  297.    HEX   7       8       9       A       B       C       D       E       F
  298.    E -------------------------------------------------------------------------
  299.    X |        <CTRL>+        |<SHIFT>|                       |    <CTRL>+
  300.      =========================================================================
  301.    0 |       |  <Z>  |  <2>n |       |  <E>  |  <Q>  |  <N>  |  <*>  |  <U>
  302.    1 |       |  <X>  |  </>n |  <.>  |  <3>  |  <A>  |  <`>  |  <7>n |  <\>
  303.    2 |       |  <C>  |  <6>n |  <]>  |  <\>  |  <Z>  |  </>  |  <8>n |  <5>
  304.    3 |       |  <V>  |  <4>n |  <`>  |  <4>  |  <W>  |  <M>  |  <9>n |  <6>
  305.    4 |       |  <B>  |  <'>  |  <,>  |  <5>  |  <S>  |  <7>  |  <E>  |  <7>
  306.    5 |       |  <N>  |  <Y>  |  </>  |  <6>  |  <U>  |  <8>  |  <R>  |  <8>
  307.    6 |       |  <M>  |  <T>  |  <0>  |  <T>  |  <I>  |  <9>  |  <D>  |  <9>
  308.    7 |       |  <,>  |  </>n |  <3>  |  <G>  |  <1>  |  <O>  |  <F>  |  <0>
  309.    8 |       |  <.>  |  <=>n |  <D>  |  <H>  |  <,>  |  <L>  |  <I>  |  <->n
  310.    9 |       |  <;>  |  <*>n |  <4>  |  <'>  |  <K>  |  <.>  |  <O>  |  <1>
  311.    A |       |  <[>  |  <1>n |  <5>  |  <B>  |  <F>  |  <;>  |  <J>  |  <2>
  312.    B |       |  <=>  |  <3>n |  <6>  |  <X>  |  <V>  |  <*>  |  <K>  |  <3>
  313.    C |       |  <->  |  <Q>  |  <7>  |  <D>  |  <2>  |  <0>  |  <`>  |  <4>
  314.    D |       |  <P>  |  <W>  |  <8>  |  <R>  |  <=>  |  <Y>  |  <]>  |  <+>n
  315.    E |       |  <L>  |  <A>  |  <9>  |  <P>  |  <->  |  <[>  |  <H>  |  <0>n
  316.    F |  <>  |  <5>n |  <S>  |  <Z>  |  <C>  |  <J>  |  <]>  |  <G>  |  <.>n
  317.  -----------------------------------------------------------------------------
  318.                    Notes: < >n indicates key on numeric pad.
  319.                              GRAPH mode must be on.
  320.  
  321.               Table 2.  Sanyo MBC 550/555 Keyboard GRAPH Mode Map.
  322.  
  323.  
  324. For complete information regarding commands of MS-DOS, DEBUG, or EDLIN please
  325. return to the appropriate index and select the desired command.
  326. !WILDCARDS
  327. WILDCARDS:  Wild card characters ? and *.
  328.  
  329. MS-DOS permits two special characters to be substituted in place of actual
  330. characters in filenames and/or extensions.  These special wild card characters,
  331. the question mark (?) and the asterisk (*), provide much greater flexability
  332. when using filenames in MS-DOS commands.
  333.  
  334. The question mark (?) wild card character in a filename or extension indicates
  335. that the position occupied by the question mark can be any character.  For
  336. example, the MS-DOS command
  337.  
  338.                               DIR A:CHAPTER?.DOC
  339.  
  340. will list all filenames in the default directory on the A: drive that have 8
  341. characters beginning with CHAPTER and the extension .DOC.  The list of
  342. filenames resulting from the execution of the above command could include
  343. filenames such as
  344.  
  345.                                  CHAPTER1.DOC
  346.                                  CHAPTER2.DOC
  347.                                  CHAPTER3.DOC
  348.                                  CHAPTERX.DOC
  349.  
  350. The asterisk (*) wild card character in a filename or extension indicates that
  351. the position occupied by the asterisk and the remaining positions in the
  352. filename or extension can be any character or characters.  For example, the
  353. MS-DOS command
  354.  
  355.                                  DIR A:C*.DOC
  356.  
  357. will list all filenames in the default directory on the A: drive that begin
  358. with the character C and have the extension .DOC.  The list of filenames
  359. resulting from the execution of the above command could include filenames such
  360. as
  361.  
  362.                                  CARDS.DOC
  363.                                  CHAPTER1.DOC
  364.                                  CHAPTER2.DOC
  365.                                  CHAPTER3.DOC
  366.                                  CHAPTERX.DOC
  367.                                  CHECKS.DOC
  368.                                  CLEAR.DOC
  369.                                  COMMAND.DOC
  370.  
  371. The wild card characters can be very powerful.  For example, to delete all of
  372. the files from the default directory on drive A: one would simply enter
  373.  
  374.                                   DEL A:*.*
  375.  
  376. Obviously, this power has the potential of being quite devastating and
  377. fortunately the DEL command has a feature built in which when it sees the *.*
  378. requires that you confirm that you indeed wish to execute the command.
  379. !IN/OUTPUT
  380. IN/OUTPUT:  Redirection and piping.
  381.  
  382. Redirection  Most MS-DOS commands obtain input and send output to the console
  383. -----------  or terminal.  Oftentimes it is useful to have input come from a
  384. a file rather than from the console.  This can be accomplished by using the
  385. less-than character (<) in the command.  For example,
  386.  
  387.                           DEBUG APPLE.COM < APPLE.SCR
  388.  
  389. uses APPLE.SCR as input to the command DEBUG APPLE.COM.
  390.  
  391. And, at times it is useful to have output resulting from the execution of a
  392. command sent to a file instead of being displayed on the console display
  393. device.  This can be accomplished by using the greater-than character (>) in
  394. the command.  For example,
  395.  
  396.                             DIR A:*.DOC > DOCFILES
  397.  
  398. creates a file, DOCFILES, and sends the output resulting form the above command
  399. to the file.  If the specified file already exists, it will be overwritten.
  400. If the file already exists and you wish the file to be appended instead of
  401. being overwritten, using two greater-than characters instead of one will result
  402. in the file being appended.  For example,
  403.  
  404.                             DIR A:*.DOC >> DOCFILES
  405.  
  406. will append the output from the above command to the file, DOCFILES.  If the
  407. specified file does not exist, it will be created.
  408.  
  409. Piping  It is sometimes convenient to have the output of one command be sent or
  410. ------  piped as input to another command.  MS-DOS provides for this through
  411. use of the pipe spearator, the vertical bar character (|).  For example, the
  412. command
  413.  
  414.                               DIR A: | SORT | MORE
  415.  
  416. will alphabetically sort the default directory on the A: drive and display it
  417. on the console display device pausing after each 23 lines of information is
  418. displayed.  Output from the command on the left side of the pipe separator is
  419. piped as input to the command on the right side of the pipe separator.
  420.  
  421. Piping can also be used with redirection.  For example, the command
  422.  
  423.                               DIR A: | SORT > LIST
  424.  
  425. will alphabetically sort the default directory on the A: drive and write it to
  426. the file LIST.
  427.