Pike v8.1 release 6

Method Protocols.TELNET.Readline()->tcgetattr()


Method tcgetattr

mapping(string:int) tcgetattr()

Description

Get current terminal attributes.

Currently only the following attributes are supported:

"columns"

Number of columns.

"rows"

Number of rows.

"ECHO"

Local character echo on (1) or off (0 (zero)).

"ICANON"

Canonical input on (1) or off (0 (zero)).

Note

Using this function currently bypasses the Readline layer.

See also

Stdio.File()->tcgetattr()