Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

del_curterm(3XC)

initscr(3XC)

use_env(3XC)

NAME

use_env − set values of lines and columns

SYNOPSIS

#include <curses.h>

void use_env(char bool);

ARGUMENTS

boolIs a Boolean expression. 

DESCRIPTION

The use_env() function takes the values for lines and columns from the terminfo database (if bool is FALSE) or from environmental variables LINES and COLUMNS (if bool is TRUE).  If no environmental variables have been set, the window size is used.  This function must be set before initscr(3XC), newterm(3XC), or setupterm(3XC) is called.  The default action is TRUE. 

RETURN VALUES

The use_env() function does not return a value. 

ERRORS

None. 

SEE ALSO

del_curterm(3XC), initscr(3XC)

SunOS 5.6  —  Last change: 1 Jun 1996

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