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.

infocmp<br />

:co#80:\<br />

:li#24:\<br />

:kn#2:\<br />

:.cd=\EJ:\<br />

:.ce=\EI:\<br />

:.cl=\EK:\<br />

6. To print the two terminal definitions showing the difference between the<br />

capabilities (F indicates False, entry not present; T indicates True, entry<br />

present):<br />

infocmp –d ibm3101 hft-c<br />

You will get:<br />

# Reconstructed via infocmp from file:/usr/share/lib/terminfo/i<br />

ibm3101|IBM 3101-10:\<br />

comparing ibm3101 to hft-c.<br />

comparing booleans.<br />

bw:F:T.<br />

msgr:F:T.<br />

xon:F:T.<br />

comparing numbers.<br />

it:-1:8.<br />

lines:24:25.<br />

comparing strings.<br />

batt1:’NULL’,’\206\361’.<br />

batt2:’NULL’,’\206\361\224\204’.<br />

To print the capabilities that are different between the two terminal definitions.<br />

The values for the first terminal definitions are shown.<br />

infocmp –u ibm3101 hft-c<br />

You will get:<br />

# Reconstructed via infocmp from file:/usr/share/lib/terminfo/i<br />

ibm3101|IBM 3101-10:\<br />

ibm3101|IBM 3101-10,<br />

bw@, msgr@, xon@,<br />

it@, lines#24,<br />

batt1@, batt2@, blink@, bold@, box1@, box2@,<br />

clear=¬.\322, colb0@, colb1@, colb2@, colb3@, colb4@,<br />

colb5@, colb6@, colb7@, colf0@, colf1@, colf2@,<br />

colf3@, colf4@, colf5@, colf6@, colf7@, cub@, cud@,<br />

cuf@, cuf1=¬.\303,<br />

7. To print the capabilities that are the same in both terminal definitions, issue:<br />

infocmp –c ibm3101 hft-c<br />

You will get:<br />

# Reconstructed via infocmp from file:/usr/share/lib/terminfo/i<br />

ibm3101|IBM 3101-10:\<br />

comparing ibm3101 to hft-c.<br />

comparing booleans.<br />

am= T.<br />

comparing numbers.<br />

cols= 80.<br />

comparing strings.<br />

bel= ’¬?’.<br />

cr= ’\r’.<br />

cub1= ’\b’.<br />

cud1= ’\n’.<br />

8. To print the capabilities that are not found in either terminal definition, issue:<br />

infocmp –u ibm3101 hft-c<br />

318 z/<strong>OS</strong> <strong>V1R9.0</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> <strong>Command</strong> Reference

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

Saved successfully!

Ooh no, something went wrong!