NAME | SYNOPSIS | DESCRIPTION | RETURN VALUES | ERRORS | SEE ALSO
#include <curses.h>int echo(void);
The echo() and noecho() functions enable and disable terminal echo, respectively. When enabled, characters received by getch(3XC) are echoed back to the terminal. When disabled, characters are transferred to the program without echoing them to the terminal display. The program may instead echo the characters to an area of the screen controlled by the program or may not echo the characters at all. Terminal echo is enabled, by default.
Subsequent calls to echo() or noecho() do not flush type-ahead.
The tty driver echo is disabled by initscr(3XC) and newterm(3XC). All echoing is controlled by X/Open Curses.
On success, these functions return OK. Otherwise, they return ERR.
None.
NAME | SYNOPSIS | DESCRIPTION | RETURN VALUES | ERRORS | SEE ALSO