Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
Protocols
Protocols.TELNET
Protocols.TELNET.Readline

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()