16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Exit Values<br />

tabs — Set tab stops<br />

Format<br />

Description<br />

Options<br />

system_name=$(sysvar SYSNAME)<br />

o Successful completion<br />

1 Failure because var is not a valid system variable<br />

2 Failure because no var was specified<br />

tabs [+m[margin]] [–T term] [– number]<br />

tabs [+m[margin]] [–T term] –t tablist<br />

tabs [+m[margin]] [–T term] num1[,num2,...]<br />

tabs [+m[margin]] [–T term] tabspec<br />

tabs sends a series of characters to the standard output, designed to clear the<br />

terminal hardware’s tab stops and then set new ones. The characters that are sent<br />

depend on the type of terminal you are using.<br />

The first column of your terminal screen is column 1. If you set a tab stop at<br />

position N and then tab to that position, the next character displayed on the screen<br />

appears in column N+1 of the line (that is, after the tab stop).<br />

tabs may not be able to set the tab stops on some types of terminals. In this<br />

situation, it issues an error message and then exits with a status greater than zero.<br />

tabs with no arguments sets tab stops every 8 positions.<br />

+m[margin]<br />

Sets the left margin to margin. It defaults to 10 if you do not specify a<br />

value. All tab positions are relative to the left margin. To find the actual tab<br />

positions, you add the value of margin to each tab position.<br />

–T type<br />

Indicates the type of terminal you have. The term argument is a site-specific<br />

name for your terminal type.<br />

If you do not specify –T, tabs looks for an environment variable named<br />

TERM and uses its value for type. If TERM is not defined, tabs assumes a<br />

default terminal type.<br />

–t tablist<br />

Sets tab stops as specified by tablist. tablist consists of one or more<br />

positive decimal integers, separated by commas; the numbers in the list<br />

should be in strictly increasing order.<br />

If only one number N is given, tabs are set every N columns. If more than<br />

one number is given, tabs are set at those column numbers.<br />

num1[,num2,...]<br />

Sets tab stops to the given numbers. The numbers in the list should be<br />

positive decimal integers in strictly increasing order. Except for the first<br />

number, any number in the list may be preceded by a plus sign (+), in<br />

sysvar<br />

Chapter 2. Shell command descriptions 613

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!