tabs Parameter

Sets tab positions.

Scope: File

Syntax

query tabs 
set tabs [Position] [Position] [...] [every Interval] 

Options

Position 
Explicit positions for up to a maximum of 50 tab settings. These positions must be sequential.
every Interval 
Sets tabs at fixed intervals. The default is 8.

Description

The tabs parameter sets tab psotions for the file. When the Tab key is pressed, the cursor moves to the next tab position. When the Backtab key is pressed, the cursor moves to the previous tab position.

You can set tabs at a number of explicit positions and at fixed intervals.

Examples

  1. To set tabs at positions 8, 12, 16, 26, 36 . . . type:
    set tabs 8 12 16 every 10 
  2. To set tabs at positions 10, 20, 30, 40, 50 . . . type:
    set tabs every 10 

API Return Codes

-2 
You have specified more than 50 Positions for the set tabs command. Issue the command again with less Positions.
-2 
The Interval set for the every option is not a whole, positive number. Issue the set tabs command again with a valid Interval.
-2 
The Positions set are not sequential. Issue the set tabs command with the Positions listed in ascending order.
-2 
One or more of the specified Positions is too large.

check Command
detab Command
entab Command