Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
X/Open Curses Library Functionsecho(3XCURSES)


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. The echo() and noecho() functions control software echo only. Hardware echo must remain disabled for the duration of the application, else the behavior is undefined.

RETURN VALUES

 

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

ERRORS

 

No errors are defined.

SEE ALSO

 

getch(3XCURSES), getstr(3XCURSES), initscr(3XCURSES), scanw(3XCURSES)


SunOS 5.9Go To TopLast Changed 4 May 1999

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.