DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

echo(CURSES)


echo -- enable/disable terminal echo

Synopsis

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

int echo(void);

int noecho(void);

Description

The echo(CURSES) function enables Echo mode for the current screen. The noecho(CURSES) 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(CURSES) and noecho(CURSES) 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(CURSES), curses(F), termio(HW)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 01 June 2005