Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ PtTerminalGetKeys

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PtTerminalGetKeys

[Previous] [Contents] [Index] [Next]

PtTerminalGetKeys()

Get the terminal line-editing keys

Synopsis:

void PtTerminalGetKeys( int protocol, 
                        struct termios *buf );

Description:

This function fills the following items of the buf->c_cc array with values appropriate for the given protocol:

  • VPREFIX
  • VSUFFIX
  • VLEFT
  • VRIGHT
  • VUP
  • VDOWN
  • VINS
  • VDEL
  • VHOME
  • VEND

The other fields of the structure aren't modified. For more information, see the Pt_ARG_TERM_ANSI_PROTOCOL resource associated with the PtTerminal widget.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtTerminal


[Previous] [Contents] [Index] [Next]

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026