Skip to main content

DOS And Your Keyboard (2)

As discussed in the previous Blog post we have discussed about Standard Typing Key, Special Control Key. In this we are gonna discuss about Function Keys.


Function Keys: Because each program reacts differently with special control keys, it is necessary to learn what each does when you begin using a new software product. DOS uses the function keys F1 through F6, in addition to several other keys. A list functions and corresponding keys is contained in the following Table 1-1.

Table 1-1 DOS and the Keyboard
Key(s)                                                                    Function
Enter                                                                  Complete command or end  a line.
Ctrl-Enter                                                          Move down one line to continue typing.
Backspace                                                         Move cursor left to erase text or retype.
Esc                                                                    Discard typed command so you can retype it correctly.
Ctrl-Break or Ctrl-C                                         Discontinue or cancel program operation.
Ctrl-Num Lock or Ctrl-S                                  Pause scrolling of text on screen; press any key to
                                                                          resume scrolling. 
Shift-PrtSc                                                        Print displayed screen.
Ctrl-P or Ctrl-PrtSc                                          Print characters that are typed or displayed on the screen.
Shift-(letter/number key)                                 Type capitals.
Caps Lock                                                        Lock capitals on/off
Num Lock                                                         Shift numeric keypad between numbers and function                                              keys.
Numeric Keypad                                              Type numbers with Num Lock on, use cursor and special                                                                            control keys with Num Lock off.
Ctrl-Alt-Del                                                      Reset (warm boot) your computer.
Ctrl                                                                    Use with character keys to perform special operations.


NOTE

Previously typed DOS commands are stored in a temporary 

memory location called a buffer. The following keys are used to reuse and modify the stored command

line. This may vary slightly depending upon your microcomputer.


F1                                                                     Copy one character from buffer.

F2 x                                                                  Copy all characters from the buffer up to the character x.

F3                                                                     Copy all remaining characters from the buffer,

                                                                         beginning at the present position to the end of the line.

F4 x                                                                  Skip all characters up to the character x.

F5                                                                      Use the last editing line for further modification.

Ins                                                                     Insert one or more characters in a line.

Del                                                                    Delete the next character from the buffer.

Esc                                                                    Cancel this line and start over; does not change contents                                                                              of the buffer.

F6 or Ctrl-Z                                                      Type End-of-file marker.


Comments

Popular posts from this blog

Making, Changing, and Removing Directories

You used the DIR (directory) command in Section 3 to display a list of filenames on the screen. You can create and name multiple disk directories on a disk to allow for the subdivision of your files. This feature lets you group common files into separate directories. This is similar to subdividing information into file cabinet drawers and file folders. This is particularly convenient when you use a fixed disk containing hundreds or even thousands of files. Instead of listing all files in one directory, you can list files in smaller, more manageable sub directories. Lock at the following directory commands. Command                                      Purpose                   MKDIR or MD                                Make a new directory        ...

Filenames

It is important to understand DOS file naming conventions and their use. Here, filenames and some special filename "tools" called wild cards and literals are described. What is a File name?   Every program and data file is given a name to differentiate it from other programs and data files. A program is one or more computer instructions collected into a file. A data file is normally a collection of characters (or data) that make up a document, like a letter, or a database, like a collection of accounting transactions or customer records. Descriptive filenames are normally used. For example, if you create and save a letter to Mom, you might give it the filename MOM.LTR. A letter to Dad could be called DAD.LTR. A word processing program file might have the filename WP.COM. Examine these filenames a little closer. First, notice that each filename is meaningful. This is important if you want to know what is in a file by looking at its name. Obscure filenames are of little u...