Download presentation
Presentation is loading. Please wait.
Published byLeslie Cunningham Modified over 9 years ago
1
1 The EDIT Program The Edit program is a full screen text editor that allows you to: Create text files Create text files Edit an existing text files Edit an existing text files Copy (rename a text file) Copy (rename a text file) Print an ASCII (text) file Print an ASCII (text) file Menu Bar Editing Area Status Bar
2
2 ASCII files Stands for American Standard Code for Information Interchange. ASCII files are usually referred to as Text or Standard files, and contain no formatting characters as in a Microsoft Word file. They contain data which is line oriented. Each line is a group of one or more ASCII characters ending usually with a carriage return and line feed control character sequence. The carriage return causes the cursor to be positioned at the beginning of a screen line or print line and the line feed causes the cursor to go down one line on the screen or printer.
3
3 ASCII files (continued) Here is a sample text file: Pressing the Enter key at the end of a group of characters causes the automatic generation of the carriage return and line feed. Of course, these characters are not usually displayed on the screen.
4
4 ASCII files (continued) Here is how the file is actually stored on the disk: Carriage return and line feed characters This is a hexadecimal display of the characters in the file. Each two hexadecimal numbers represents one byte of memory. For example, the hexadecimal value 41 represents the ASCII character 'A'.
5
5 ASCII Character Set The first 32 characters of the character set, values 00000000 to 00011111, are special control characters and are not shown in the table above.
6
6 How to Start Edit Open a Command Prompt window. Open a Command Prompt window. You can start Edit two ways: Start Edit without specifying a file name: A:\>Edit and press Start Edit without specifying a file name: A:\>Edit and press Start Edit with a file name: A:\>Edit File.txt and press Start Edit with a file name: A:\>Edit File.txt and press
7
7 Create a File Make the root directory of drive A: current Enter: A:\>edit File1.txt The following should appear: Note that the full file specification appears at the top of the editing window.
8
8 Create a File Key in the following lines (press to go to the next line): AAAAAAAAAAAAABBBBBBBBBBBBBCCCCCCCCCCCCCDDDDDDDDDDDDDEEEEEEEEEEEEEFFFFFFFFFFFFFGGGGGGGGGGGGGHHHHHHHHHHHHHIIIIIIIIIIIII
9
9 Create a File Your screen should now look as follows: To save the file to disk, open the File dropdown menu by clicking the mouse on File or hold down the Alt key and press F.
10
10 Create a File Your screen should now look as follows: Choose the Save option by clicking the mouse on Save or hold down the Alt key and press S.
11
11 File Dropdown Menu New - create a new file New - create a new file Open… - find and open another file Open… - find and open another file Save - save the current file Save - save the current file Save As… - save the current file with a new file name Save As… - save the current file with a new file name Close - close the file (file will be saved if necessary) Close - close the file (file will be saved if necessary) Print… - print the file Print… - print the file Exit - exit the editor (file will be saved if necessary) Exit - exit the editor (file will be saved if necessary)
12
12 New Option Select New from the dropdown File menu (or press alt, F, then select New). The following should appear: The file name will be UNTITLED#
13
13 Open… Option Select Open from the dropdown File menu (or press alt, F, then select Open). The following should appear: You can use the Tab key or the mouse to move around to the various panes in the dialog box. Select the Drive, Directory, and File you need then click the OK button.
14
14 Save Option Select Save from the dropdown File menu (or press alt, F, then select Save). The following should appear: If the file has a name (not UNTITLED#) it is saved. Otherwise you can select drive/directory/new-name for the file.
15
15 SaveAs… Option Select SaveAs… from the dropdown File menu (or press alt, F, then select SaveAs…). The following should appear: The dialog box allows you to name your file and place the file in a specified drive/directory or on the File Name [………..……] line you can key in the path and file name.
16
16 Close Option Select Close from the dropdown File menu (or press alt, F, then select Close). The following should appear: If the file has not been previously saved or needs to be saved, a dialog box opens allowing you to save it or not.
17
17 Print… Option Select Print from the dropdown File menu (or press alt, F, then select Print). You can choose to print only the selected lines or the entire file.
18
18 Exit Option Select Exit from the dropdown File menu (or press alt, F, then select Exit). Edit is terminated giving control back to DOS. If the file needs to saved, you will be asked to save the file or not.
19
19 EDIT option The EDIT options work on selected regions on the screen. Select lines (regions) either with the mouse or a combination of shift key and cursor. clipboard - the clipboard is an area where data from a region is temporally stored copy & cut put data into the clipboard Paste copies the clipboard data to the screen
20
20 EDIT option - CUT Select lines (regions) either with the mouse or a combination of shift key and cursor Select lines (regions) either with the mouse or a combination of shift key and cursor Press alt Press alt E Cut Cut removes the region (selected lines) and puts the data in the ‘clipboard’ area removes the region (selected lines) and puts the data in the ‘clipboard’ area if something is already in the clipboard, that data is lost when this new data is placed there if something is already in the clipboard, that data is lost when this new data is placed there
21
21 EDIT option - COPY Select lines (regions) either with the mouse or a combination of shift key and cursor Select lines (regions) either with the mouse or a combination of shift key and cursor Press alt Press alt E Copy Copy copies the region (selected lines) and puts the data in the ‘clipboard’ area copies the region (selected lines) and puts the data in the ‘clipboard’ area if something is already in the clipboard, that data is lost when this new data is placed there if something is already in the clipboard, that data is lost when this new data is placed there
22
22 EDIT option - PASTE Press alt Press alt E Paste Paste pastes the data in the clipboard area at the position of the cursor pastes the data in the clipboard area at the position of the cursor data remains in the clipboard area data remains in the clipboard area therefore, you can ‘paste’ the clipboard multiple times therefore, you can ‘paste’ the clipboard multiple times
23
23 EDIT option - CLEAR Select lines (regions) either with the mouse or a combination of shift key and cursor Select lines (regions) either with the mouse or a combination of shift key and cursor Press alt Press alt E Clear Clear clears the selected area (removes the data from the screen) clears the selected area (removes the data from the screen) does not copy data into the clipboard does not copy data into the clipboard
24
24 SEARCH option The SEARCH option allows you to find and/or replace strings of data. Use the SEARCH by keying alt Search and selecting one of the following options from the dropdown menu: Find… Find… Repeat Last Find Repeat Last Find Replace… Replace…
25
25 Search option – Find… Press alt, S, Find… to display the Find Dialog Box. Enter the data you want to search for. The search starts from the current position of the cursor. Use the Repeat Last Find option or press F3 to repeat the search.
26
26 Search option - Repeat Last Find Press alt, S, Find Press alt, S, Find a pop-up box appears (Dialog Box) a pop-up box appears (Dialog Box) enter an L (repeat Last find) enter an L (repeat Last find) the search will continue from the current position of the cursor the search will continue from the current position of the cursor
27
27 Search option - Replace Press alt, S, Press alt, S, enter an Replace enter an Replace find what [enter select data] find what [enter select data] replace with [enter new data {changed to}] replace with [enter new data {changed to}] Replace - replaces data once Replace - replaces data once Replace All - replaces all instances Replace All - replaces all instances
28
28 View option First, create 3~4 ‘new’ windows (files) First, create 3~4 ‘new’ windows (files) Press alt, View Press alt, View a pop-up box appears a pop-up box appears you should see multiple untitled file names you should see multiple untitled file names you may select the file you wish to edit you may select the file you wish to edit by keying in the corresponding file number by keying in the corresponding file number
29
29 View option (continued) the Split Window gives you 2 windows the Split Window gives you 2 windows F6 toggles between windows F6 toggles between windows initially, both windows are editing the same file initially, both windows are editing the same file you may have 2 different files in 2 different windows by….. you may have 2 different files in 2 different windows by….. F6 to toggle F6 to toggle ALT, V, corresponding window number ALT, V, corresponding window number
30
30 View option (continued) the Size Window allows you to modify the sizes of the 2 windows the Size Window allows you to modify the sizes of the 2 windows alt, V, I (to get the size option) alt, V, I (to get the size option) use the up and down arrows to vary the size of the pair of windows use the up and down arrows to vary the size of the pair of windows Close window option Close window option toggle to the window you want to close toggle to the window you want to close alt, V, C closes the current window alt, V, C closes the current window
31
31 Options option alt, O brings a drop down box showing… alt, O brings a drop down box showing… Settings… Settings… for Tabs and the Printer port for Tabs and the Printer port Tabs - set number of columns between tabs Tabs - set number of columns between tabs Printer port - select port Printer port - select port Colors… - you can change the color of Colors… - you can change the color of Foreground Foreground Background Background selected Items such as file bar, menu bar selected Items such as file bar, menu bar
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.