[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Base Operating System and Extensions, Volume 2

def_shell_mode Subroutine

Purpose

Saves the current terminal modes as shell mode ("out of curses").

Library

Curses Library (libcurses.a)

Syntax

#include <curses.h>

def_shell_mode( )

Description

The def_shell_mode subroutine saves the current terminal driver line discipline modes in the current terminal structure for later use by reset_shell_mode(). The def_shell_mode subroutine is called automatically by the setupterm subroutine.

This routine would normally not be called except by a library routine.

Example

To save the "out of curses" state, enter:

def_shell_mode();

This routine saves the "out of curses" state.

Related Information

The setupterm (setupterm Subroutine) subroutine.

Curses Overview for Programming, List of Curses Subroutines, Understanding Terminals with Curses in AIX 5L Version 5.2 General Programming Concepts: Writing and Debugging Programs.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]