Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- EDLIN - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

    Edit Line command

    Purpose:  Allows you to edit a line of text. You must enter the line
              number of the line to be edited, or enter a period (.) to
              indicate the current line.

    Format:   [line]

    Remarks:  If you just press Enter, you specify that the line after the
              current line is to be edited. The line number and its text
              are displayed and the line number is repeated on the line
              below.

              You can use the control keys and the DOS editing keys to edit
              the line, or you can replace the entire line by typing new
              text. When you press the Enter key, the edited line is placed
              in the file and becomes the current line.

              If you decide not to save the changed line, press either Esc
              or Ctrl-Break instead of Enter. The original line remains un-
              changed. Pressing the Enter key with the cursor at the begin-
              ning of the line has the same effect as pressing Esc or Ctrl-
              Break.

              If the cursor is in any position other than the beginning or
              the end of a line, pressing Enter erases the rest of the
              line.

    Example:  Assume that you want to edit line 6. The following display
              would appear on the screen:

              *6
                6:*This is a sample unedited line.
                6:*_

              The first line is your request to edit line 6, followed by
              the two-line display response.

              If you want to move the cursor to the letter u, press F2 and
              then the u key.

              The result is:

              *
                6:*This is a sample unedited line.
                6:*This is a sample _

              If you want to delete the next two characters and keep the re-
              mainder of the line, press Del twice; then press F3.

              The result is:

              *
                6:*This is a sample unedited line.
                6:*This is a sample edited line._

              Now you can take one of the following actions:

              .   Press Enter to save the changed line.
              .   Extend the changed line by typing more text. You are auto-
                  matically in insert mode when the cursor is at the end of
                  a line.
              .   Press F5 to do additional editing to the changed line
                  without changing the original line.
              .   Press Esc or Ctrl-Break to cancel the changes you made to
                  the line. The original contents of the line are preserved.

See Also: Dos keys Common line

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson