HPlogo MPE/iX Developer's Kit Reference Manual Volume 2: HP 3000 MPE/iX Computer Systems > Chapter 4 CURSES

reset_prog_mode reset_shell_mode

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

The reset_prog_mode and reset_shell_mode routines are used to reset the terminal modes.

Syntax

   #include <curses.h>



   int reset_prog_mode();

   int reset_shell_mode();

Return Values

OK

Successful completion.

Description

The reset_prog_mode() and reset_shell_mode() routines reset the current terminal modes to "program" (within CURSES) or "shell" (outside CURSES). The reset is done automatically by endwin() and by doupdate() after a call to endwin().

Implementation Considerations

Identical to XPG/3

Portability

UNIX System V, XPG/3

Feedback to webmaster