DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

echo(3curses)


echo -- enable/disable terminal echo

Synopsis

cc [options] file -lcurses
#include <curses.h>

int echo(void);

int noecho(void);

Description

The echo(3curses) function enables Echo mode for the current screen. The noecho(3curses) function disables Echo mode for the current screen. Initially, curses software echo mode is enabled and hardware echo mode of the tty driver is disabled. echo(3curses) and noecho(3curses) control software echo only. Hardware echo must remain disabled for the duration of the application, else the behaviour is undefined.

Return value

Upon successful completion, these functions return OK. Otherwise, they return ERR.

Errors

No errors are defined.

Standards Conformance

The Single UNIX Specification, Version 2; The Open Group.

References

``Input Processing'', getch(3curses), curses(4), termio(7)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004