beautypg.com

How to exit the editor without saving, How to move the cursor – Gasboy CFN III Manager Manual V3.6 User Manual

Page 190

background image

Using Text Editors

Using the Editor

Page 18-6 MDE-4871 CFN III Manager’s Manual for Windows® XP Embedded - Version 3.6 · August 2010

2

Save the file.
If it is a new file, use save; if it has been saved before, use RESAVE.

3

Type q to exit the Editor.

How to Exit the Editor without Saving

Normally before you exit the editor you will use the SAVE or RESAVE command to save the
changes you made. But sometimes you may make changes to a file that you decide you do not
want to keep.

You can use the command-mode command q to exit without saving. The editor will ask File
not saved, proceed?
Type a Y to exit without saving. The disk file will contain whatever was
saved the last time you used the SAVE (or RESAVE) command. Type N to stay in the editor.

How to Move the Cursor

To move around in the file you must be in Edit or Insert Mode. Type ^E to enter Edit Mode, or
^N to enter Insert Mode. The commands to move the cursor a character or line at a time work
in both Edit Mode and Insert Mode.

In Edit Mode and Insert Mode you can move the cursor with the arrow keys or with control
characters. The right arrow key and ^L move the cursor one character to the right. The left
arrow key and ^H move the cursor one character to the left. The up arrow key and ^K move
the cursor up one line. The down arrow key and ^J move the cursor down one line.

The following table gives the cursor movement keys:

Press the tab key or type ^I to move the cursor to the next tab stop. In Insert Mode this will
insert tabs.

Moving Rapidly Forward/Backward through File

To move rapidly forward or backward through a file, proceed as follows:

1

If you are not in Edit Mode, type ^E to get into edit mode.

2

Type u or U to start moving rapidly backward or up through the file. Type anything else to
stop.
The cursor will automatically stop when it gets to the first line of the file.

3

Type d or D to start moving forward or down through the file. Type anything else to stop.
The cursor will automatically stop when it gets to the last line of the file.

Action

Keys

Move one right

right arrow or ^L

Move one left

left arrow or ^H

Up one line

up arrow or ^K

Down one line

down arrow or ^J

This manual is related to the following products: