Keywords: lpg

Next: 8.8.3 Use Options Up: 8.8 Options Previous: 8.8.1 Input Options

## 8.8.2 Terminal Attributes

- `int baudrate()`
  Returns the terminal speed in bps.
- `char erasechar()`
  Returns the current erase character.
- `char killchar()`
  Returns the current kill character.
- `int has_ic()`
  `int has_il()`
  has_ic() returns TRUE if the terminal has insert/delete character capability, has_il() returns TRUE when the terminal has insert/delete line capability. Otherwise the functions return ERR. (Note: not implemented yet.)
- `char *longname()`
  The returned pointer gives access to the description of the current terminal.
- `chtype termattrs()`
  (Note: not implemented yet.)
- `char *termname()`
  Returns the contents of TERM from the users environment. (Note: not implemented yet.)