[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Base Operating System and Extensions Technical Reference, 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.

Implementation Specifics

This subroutine is part of Base Operating System (BOS) Runtime.

Related Information

The setupterm subroutine.

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


[ Previous | Next | Contents | Glossary | Home | Search ]