terminfo.4 (2010 09)
t
terminfo(4) terminfo(4)
(ENHANCED CURSES)
Automatic Motion after Printing Wide Character
Normal Mode or Micro Mode (mcs = orc):
widcs Steps moved horizontally
Micro Mode (mcs < orc):
mcs Steps moved horizontally
There may be control sequences to change the number of columns per inch (the character pitch) and to
change the number of lines per inch (the line pitch). If these are used, the resolution of the printer
changes, but the type of change depends on the printer:
Changing the Character/Line Pitches
cpi Change character pitch
cpix If set, cpi changes orhi; otherwise, changes orc
lpi Change line pitch
lpix If set, lpi changes orvi; otherwise, changes orl
chr Change steps per column
cvr Change steps per line
The cpi and lpi string capabilities are each used with a single argument, the pitch in columns (or
characters) and lines per inch, respectively. The chr and cvr string capabilities are each used with a
single argument, the number of steps per column and line, respectively.
Using any of the control sequences in these strings will imply a change in some of the values of orc,
orhi, orl, and orvi. Also, the distance moved when a wide character is printed, widcs, changes in
relation to orc. The distance moved when a character is printed in micro mode, mcs, changes similarly,
with one exception: if the distance is 0 or 1, then no change is assumed.
Programs that use cpi, lpi, chr,or cvr should recalculate the printer resolution (and should recalcu-
late other values. See the Effect of Changing Printing Resolution section below.
28 Hewlett-Packard Company − 28 − HP-UX 11i Version 3: September 2010