![]() If your file has more lines than can fit in the ED window, you can scroll through the file vertically. The next tab position (multiple of the TABS value 3 by default). Start of the first line on the screen (if cursor is already there, it is moved to the end of the last line on the screen). Right edge of current line (if cursor is already there, it is moved to the left edge). Left edge of the ED window (regardless of the margin setting). If you try to move the cursor beyond the top or bottom of the file, ED displays a Top of File or Bottom of File message.Īdditional key combinations that control cursor movement are: You cannot move the cursor beyond the left edge of the line. ED scrolls the text vertically one line at a time and horizontally ten characters at a time. If the cursor is on the right edge of the screen, ED scrolls the text to the left do display the rest of the line. Move the cursor one position in any direction by pressing the appropriate arrow key. It does not insert Tab characters or spaces in a line. In ED, the Tab key only moves the cursor. To move the cursor with the keyboard, use the arrow keys, Tab, and Ctrl+key combinations. The cursor can be positioned anywhere in text by moving the pointer to the desired spot and clicking the selection button. Immediate commands control the following: All immediate commands have corresponding extended versions. Specify an immediate command by pressing a single key or Ctrl+key combination or by using the mouse. In immediate mode, ED executes commands right away. Extended Commands are not executed until you press Return or Esc. Immediate Commands are executed as soon as typed. You can work on files in ED with the following two command modes: In addition, you can use the mouse to perform some commands, such as those that control cursor movement. By typing in the command's key sequence and pressing Return.You can enter ED commands in either of the following ways: By default the ED window is 640 x 200 picels or approximately 88 characters wide by 21 lines high.Īll ED commands have key sequences and many are available through menus. ![]() The WIDTH and HEIGHT arguments adjust the size of the ED window by specifying the number of characters to display horizontally and vertically. TABS sets the tab stop interval, which is the number of spaces to the right that the cursor moves when you press the Tab key. The WINDOW argument's keyword is required if you use WINDOW. The WINDOW argument specifies the console type, such as RAX:0/0/640/256/EdWindow or CONSOLE. The WITH argument's keywords is required if you use WITH. When WITH is specified, ED executes the commands contained in the command file. The WITH argument specifies an ED command file that can contain any sequence of ED extended mode commands. Increase the size of the buffer to 55,000 bytes. ED has a default text buffer size of 40,000 bytes. The SIZE argument changes the ED buffer size. This argument is required, but the FROM keyword is optional. The FROM argument specifies the source file to be edited. If the file name specified cannot be found in the current directory, ED opens a blank window and displays the message Creating new file. Where is the name of an existing file or a new file to be used for saving your work. Open ED at the prompt by entering ED and a new or existing file name, as follows: Start ED from a Shell or with the Workbench Execute Command menu item. Figure 4-1 illustrates the ED window showing the status line. Error messages displayed on the status line remain until you enter another ED command. The bottom line of the ED window is the status line used for displaying messages, prompts, and commands. ![]() To edit this type of file, use EDIT or MEmacs. Although ED's menus are preprogrammed, when you are familiar with the program, you can reconfigure them as needed.ĮD does not accept files containing binary code. Use either a mouse or the keyboard to perform operations with ED. ![]() It is easy to use and is suitable for editing scripts, startup files, MountLists, and other simple files. 3.12 Changing Command, Input, and Output FilesĮD is a full screen ASCII text editor that uses menus and function keys to access its features.1.4 Repeating Commands in Extended Mode.1.2.2 Moving the Cursor in Immediate Mode. ![]()
0 Comments
Leave a Reply. |