|
|
MPE/iX Developer's Kit Reference Manual Volume 2: HP 3000 MPE/iX Computer Systems > Chapter 4 CURSESmeta |
|
The meta routine is used to control the number of bits returned on input.
Whether a terminal returns 7 or 8 significant bits initially depends on the control mode of the terminal driver. The meta() routine forces the number of bits to be returned by getch() to be 7 (if bf is FALSE) or 8 (if bf is TRUE).
If the terminfo capabilities smm (meta_on) and rmm (meta_off) are defined for the terminal, smm is sent to the terminal when meta(win, TRUE) is called, and rmm is sent when meta(win, FALSE) is called. This routine is useful when extending the nontext command set in applications where the META key is used.
|
|