HP-UX Reference (11i v1 05/09) - 1 User Commands N-Z (vol 2)

t
tabs(1) tabs(1)
tabs -- file; pr file
Any of the following can be used also; if a given option occurs more than once, the last value given takes
effect:
-Ttype tabs usually needs to know the type of terminal in order to set tabs and always needs to
know the type to set margins. type is a name listed in term(5). If no
-T option is supplied,
tabs searches for the $TERM value in the environment (see environ(5)). If
TERM is not
defined in the environment,
tabs
tries a sequence that will work for many terminals.
+mn The margin argument can be used for some terminals. It causes all tabs to be moved over n
columns by making column n+1 the left margin. If
+m is given without a value of n, the value
assumed is 10. The normal (left-most) margin on most terminals is obtained by
+m0. The
margin for most terminals is reset only when the
+m option is given explicitly.
Tab and margin setting is performed via the standard output.
EXTERNAL INFLUENCES
Environment Variables
LC_CTYPE determines the interpretation of text within file as single- and/or multi-byte characters.
LC_MESSAGES determines the language in which messages are displayed.
If LC_CTYPE or LC_MESSAGES is not specified in the environment or is set to the empty string, the
value of LANG is used as a default for each unspecified or empty variable. If
LANG is not specified or is
set to the empty string, a default of "C" (see lang(5)) is used instead of
LANG
.
If any internationalization variable contains an invalid setting,
tabs behaves as if all internationalization
variables are set to "C". See environ(5).
International Code Set Support
Single- and multi-byte character code sets are supported.
DIAGNOSTICS
illegal tabs
Arbitrary tabs are ordered incorrectly.
illegal increment
A zero or missing increment found in an arbitrary specification.
unknown tab code
A ‘‘canned’’ code cannot be found.
can’t open
--
file option was used and file cannot be opened.
file indirection
--
file option was used and the specification in that file points to yet another file. Indirection of this
form is not permitted.
WARNINGS
There is no consistency among different terminals regarding ways of clearing tabs and setting the left mar-
gin.
It is generally impossible to usefully change the left margin without also setting tabs.
tabs clears only 20 tabs (on terminals requiring a long sequence), but is willing to set 64.
SEE ALSO
nroff(1), pr(1), tset(1), environ(5), term(5).
STANDARDS CONFORMANCE
tabs: SVID2, SVID3, XPG2, XPG3, XPG4
HP-UX 11i Version 1: September 2005 2 Hewlett-Packard Company Section 1953