Copyright (c) 2008-2011,2013 Free Software Foundation, Inc. *
*
Permission is hereby granted, free of charge, to any person obtaining a *
copy of this software and associated documentation files (the *
"Software"), to deal in the Software without restriction, including *
without limitation the rights to use, copy, modify, merge, publish, *
distribute, distribute with modifications, sublicense, and/or sell *
copies of the Software, and to permit persons to whom the Software is *
furnished to do so, subject to the following conditions: *
*
The above copyright notice and this permission notice shall be included *
in all copies or substantial portions of the Software. *
*
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS *
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. *
IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, *
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR *
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR *
THE USE OR OTHER DEALINGS IN THE SOFTWARE. *
*
Except as contained in this notice, the name(s) of the above copyright *
holders shall not be used in advertising or otherwise to promote the *
sale, use or other dealings in this Software without prior written *
authorization. *
***************************************************************************
$Id: tabs.1,v 1.11 2013/06/22 18:11:57 tom Exp $
The @TABS@ program clears and sets tab-stops on the terminal. This uses the terminfo clear_all_tabs and set_tab capabilities. If either is absent, @TABS@ is unable to clear/set tab-stops. The terminal should be configured to use hard tabs, e.g.,
stty tab0
5 -T "name" 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.
5 -d 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.
5 -n This option tells @TABS@ to check the options and run any debugging option, but not to modify the terminal settings.
-V 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
tabs 1 6 11 16 21
tabs 1,+5,+5,+5,+5
5 -a Assembler, IBM S/370, first format
5 -a2 Assembler, IBM S/370, second format
5 -c COBOL, normal format
5 -c2 COBOL compact format
5 -c3 COBOL compact format extended
5 -f FORTRAN
5 -p PL/I
5 -s SNOBOL
5 -u UNIVAC 1100 Assembler
X/Open describes a +m option, to set a terminal's left-margin. Very few of the entries in the terminal database provide this capability.
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 @NCURSES_MAJOR@.@NCURSES_MINOR@ (patch @NCURSES_PATCH@).