Skip to main content

DOS And Your Keyboard

Keyboards vary with the brand of computer. However, almost all computer keyboards have similarities. Here, the categories of keys used by computer keyboards are described.

Keyboard Layout    The keyboard layout of two typical personals computers are shown in Figure 1-1.

                                           Figure 1-1    Typical Keyboard Layout

Standard Typing Keys: The standard typing keys are the same as those used on a conventional typewriter. These include letter and number keys, the Tab key, and the Shift keys. The Shift key is used to type uppercase letters and the symbols above the upper row of number keys, just as soon as on a typewriter. The Caps Lock key lets you type in uppercase without pressing Shift key. When the Caps Lock is on, pressing Shift produces lowercase characters. There are also several special character keys available to you on the computer keyboard, such as the vertical bar, back slash, tilde, and grave(accent mark) symbols:

Description                                                     Symbols
Vertical Bar                                                          |
Back Slash                                                           \
Tilde                                                                    ~
Grave                                                                   `
Greater Than                                                       >
Less Than                                                            <
Open Bracket                                                       [
Close Bracket                                                       ]
Open Brace                                                          {
Close Brace                                                          }

Special Control Keys: Special control keys send special codes to your computer. These codes are used frequently to perform special (flashing bar or block) left,right,up or down. Some programs use the Ins and Del keys to insert and delete characters.

Expressions like Ctrl-X and Alt-X, where X is any keyboard character, indicate that the Ctrl or Alt key is pressed and held while the indicated characters key is typed. This is done in the same way that capital letters are typed using Shift key. Keystrokes that you press or type in procedures are boldfaced as in Ctrl-KB or Enter.

The ↲ key is used like a carriage return key on a typewriter to end a line or complete a command. "Enter" is used throughout this book.
There are also function keys F1 through F12 and other keys, such as Ins, Del, Num Lock, the Arrow keys, and more. Some keys are engraved with special symbols instead of words; use the following table to see how they are named in this book.

Symbols                                                             Key
    ↲                                                             Enter or <CR>
   ←                                                               Backspace
   ↹                                                                    Tab
   ⇑                                                                    Shift
   ↦                                                             Right Arrow 
   ↤                                                               Up Arrow
   ↑                                                                Up Arrow 
   ↓                                                              Down Arrow
 |____|                                                          Space bar
[F1]-[F12]                                       Function Key F1 through F12


Comments

Popular posts from this blog

Path

The PATH command is used to provide access to files located in other directories or on other disks. The PATH command is usually entered as a line in an AUTOEXEC.BAT (or batch) file, which most often contains one or more DOS commands. The AUTOEXEC.BAT file is automatically executed upon system turn-on to run one or more desired programs without the need for user intervention. Other batch  files are executed upon command. When an AUTOEXEC.CAT file is used, each command contained in the file executes as it is encountered. The creation and use of batch files is described in Section 8. To illustrate the PATH command, assume you have a program named GATOR.COM that is located in a sub directory. You are not sure if it is cn disk C or disk A, so you want to search both disks and execute the command when found. To complicate matters, you are not sure if the program is in the SWAMP sub directory or the MUD sub directory. Here is where the PATH command comes to your rescue. To set up a search...

Filenames (2)

Wild Cards and Literals: Now that you understand filename rules, you should understand the use of two convenient tools: wild cards and literals. Wild Cards: In the card game poker, a wild card may be any card that a player chooses. Forexample, if deuces are "wild," a player can make three kings by using two kings and a deuce. In DOS, an asterisk (*) character is "wild." The asterisk stands for one or more characters in a filename or extention, beginning with the asterisk position. If only an asterisk is used, it represents the entire filename. A few examples are in order. If you wish to list a directory of all files having the extension COM, you can type the command DIR *.COM and press Enter. Every filename with the extension COM is listed. If you want to list a directory of every file beginning with the letter W, you can use the command DIR W *.*. Every filename beginning with W and having any extension is listed. Therefore, the wild card lets you select a set ...