TAB
Inserts a tab at the current editing position, according to the current
tab stops of the buffer and the tab modes.
Key: EVE defines the TAB key (or CTRL/I) as TAB.
Usage notes
o To set tab stops, use SET TABS AT or SET TABS EVERY. Default
is EVERY 8 (that is, columns 9, 17, 25, 33, 41, and so on).
o To find out the current tab stops, use SHOW, or with the WPS keypad,
press the WPS Ruler key (GOLD-R).
o To set tab modes, use SET TABS and specify one of the following:
INSERT ..... (Default.) TAB inserts a tab character.
MOVEMENT ... TAB moves to the next tab stop without inserting anything.
SPACES ..... TAB inserts spaces instead of a tab character.
o To make tab characters visible (appearing as a small HT), use SET TABS
VISIBLE. Default is INVISIBLE.
o Tab stops are not stored in the output file. Therefore, in printing or
displaying the file, tab-aligned text may not appear the same as during
editing, depending on the tab stops set for the printer or display
device. You may want to use the CONVERT TABS command to replace tab
characters with spaces.
o With the WPS keypad, KP8 is defined as Tab Position, to move the cursor
to the next or previous tab character. You can define a key for this
function without enabling the WPS keypad. For example, the following
command defines GOLD-TAB as WPS Tab Position:
Command: DEFINE KEY= GOLD-TAB WPS KP8
o Tab stops are buffer settings---you can set different tab stops for
each buffer you edit (see help on Defaults). Tab mode and visibility
are global settings, applying in all buffers (see help on Attributes).
Related topics:
CONVERT TABS SET TABS SHOW