|tabs(1)||General Commands Manual||tabs(1)|
Like clear(1), tabs writes to the standard output. You can redirect the standard output to a file (which prevents tabs from actually changing the tabstops), and later cat the file to the screen, setting tabstops at that point.
- Tell tabs which terminal type to use. If this option is not given, tabs will use the $TERM environment variable. If that is not set, it will use the ansi+tabs entry.
- The debugging option shows a ruler line, followed by two data lines. The first data line shows the expected tab-stops marked with asterisks. The second data line shows the actual tab-stops, marked with asterisks.
- This option tells tabs to check the options and run any debugging option, but not to modify the terminal settings.
- reports the version of ncurses which was used in this program, and exits.
The tabs program processes a single list of tab stops. The last option to be processed which defines a list is the one that determines the list to be processed.
Use “-0” to clear all tabs.
Use “-8” to set tabs to the standard interval.
tabs 1 6 11 16 21
Use a “+” to treat a number as an increment relative to the previous value, e.g.,
which is equivalent to the 1,6,11,16,21 example.
- Assembler, IBM S/370, first format
- Assembler, IBM S/370, second format
- COBOL, normal format
- COBOL compact format
- COBOL compact format extended
- UNIVAC 1100 Assembler
- This standard describes a +m option, to set a terminal's left-margin. Very few of the entries in the terminal database provide this capability.
- There is no counterpart in X/Open Curses Issue 7 for this utility, unlike tput(1).
The -d (debug) and -n (no-op) options are extensions not provided by other implementations.
Documentation for other implementations states that there is a limit on the number of tab stops. While some terminals may not accept an arbitrary number of tab stops, this implementation will attempt to set tab stops up to the right margin of the screen, if the given list happens to be that long.
This describes ncurses version 6.1 (patch 20180127).