Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ def_shell_mode(3cur) — Ultrix-32 3.1D RISC

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

initscr(3cur)

reset_prog_mode(3cur)

reset_shell_mode(3cur)

def_prog_mode(3cur)

NAME

def_prog_mode, def_shell_mode − save terminal modes

SYNTAX

def_prog_mode()

def_shell_mode()

DESCRIPTION

The def_prog_mode routine saves the current terminal modes as the program if the terminal is running under curses. The stored terminal modes are used by the reset_prog_mode() routine. This function is used when the user makes a temporary exit from curses.

The routine def_shell_mode saves the current terminal modes as the shell if the terminal is not running under curses. The stored terminal modes are used by the reset_shell_mode() routine.

Both routines are called automatically by initscr(.).

SEE ALSO

initscr(3cur), reset_prog_mode(3cur), reset_shell_mode(3cur)

Subroutines

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026