The Single UNIX ® Specification, Version 2
Copyright © 1997 The Open Group

 NAME

echo, noecho - enable/disable terminal echo

 SYNOPSIS



#include <curses.h>

int echo(void);

int noecho(void);

 DESCRIPTION

The echo() function enables Echo mode for the current screen. The noecho() 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() and noecho() 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.

 SEE ALSO

Input Processing , getch(), <curses.h>, XBD specification, Parameters that Can be Set  .

UNIX ® is a registered Trademark of The Open Group.
Copyright © 1997 The Open Group
[ Main Index | XSH | XCU | XBD | XCURSES | XNS ]