02.07.2013 Views

A/UX® Programmer's Reference Sections

A/UX® Programmer's Reference Sections

A/UX® Programmer's Reference Sections

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.

terminfo( 4) terminfo(4)<br />

17<br />

If the tenninal needs to be in a special mode when running a program<br />

that uses these capabilities, the codes to enter and exit this<br />

mode can be given as smeup and rmeup. This arises, for example,<br />

from terminals like the Concept with more than one page<br />

of memory. If the tenninal has only memory relative cursor addressing<br />

and not screen relative cursor addressing, a one screensized<br />

window must be fixed into the terminal for cursor addressing<br />

to work properly. This is also used for the TEKTRONIX 4025,<br />

where smeup sets the command character to be the one used by<br />

terminfo.<br />

If your terminal correctly generates underlined characters (with no<br />

special codes needed) even though it does not overstrike, then you<br />

should give the capability ul. If overstrikes are erasable with a<br />

blank, then this should be indicated by giving eo.<br />

Keypad<br />

If the terminal has a keypad that transmits codes when the keys<br />

are pressed, this information can be given. Note that it is not possible<br />

to handle terminals where the keypad only works in local<br />

(this applies, for example, to the unshifted HP 2621 keys). If the<br />

keypad can be set to transmit or not transmit, give these codes as<br />

smkx and rmkx. Otherwise the keypad is assumed to always<br />

transmit. The codes sent by the left arrow, right arrow, up arrow,<br />

down arrow, and home keys can be given as keubl, keufl,<br />

keuul, keudl, and khome respectively. If there are function<br />

keys such as fo, fl, ... , flO, the codes they send can be given<br />

as kfO, kfl, ... , kflO. If these keys have labels other than<br />

the default fo through flO, the labels can be given as If 0 ,<br />

1 f 1 , ... , 1 flO. The codes transmitted by certain other special<br />

keys can be given: kll (home down), kbs (backspace),<br />

ktbe (clear all tabs), kctab (clear the tab stop in this column),<br />

kclr (clear screen or erase key), kdehl (delete character),<br />

kdll (delete line), krmir (exit insert mode), kel (clear to end<br />

of line), ked (clear to end of screen), kiehl (insert character or<br />

enter insert mode), kill (insert line), knp (next page), kpp (previous<br />

page), kind (scroll forward/down), kri (scroll<br />

backward/up), khts (set a tab stop in this column). In addition, if<br />

the keypad has a 3 by 3 array of keys including the four arrow<br />

keys, the other five keys can be given as kal, ka3, kb2, kel,<br />

and kc3. These keys are useful when the effects of a 3 by 3<br />

directional pad are needed.<br />

February, 1990<br />

Revision C

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

Saved successfully!

Ooh no, something went wrong!