HP 3000 Manuals

echo, noecho [ MPE/iX Developer's Kit Reference Manual Volume II ] MPE/iX 5.0 Documentation


MPE/iX Developer's Kit Reference Manual Volume II

echo, noecho 

The echo and noecho routines are used to enable and disable terminal
echo.

Syntax 

     #include <curses.h>

     int echo();
     int noecho();

Return Values 

OK                    Successful completion.

ERR                   An error occurred.

Description 

The echo() and noecho() routines enable and disable the terminal echo,
respectively.  When enabled, characters received by getch() 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.


NOTE The tty driver echo is disabled by initscr() and newterm(). All echoing is controlled by CURSES.
Implementation Considerations Identical to XPG/3 See Also wgetch(), wgetstr(), wscanw() Portability HP-UX, UNIX System V, XPG/3


MPE/iX 5.0 Documentation