Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ longname(3) — OSF/1 1.0 (TIN) MIPS

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

initscr(3)

newterm(3)

set_term(3)

longname(3)  —  Subroutines

Digital

NAME

longname − return full terminal type name

SYNOPSIS

#include <curses.h>

char ∗longname()

DESCRIPTION

This routine returns a pointer to a static area containing a verbose description of the current terminal.  The maximum length of a verbose description is 128 characters.  It is defined only after the call to the initscr routine or the newterm routine. 

The static area is overwritten by each call to newterm and is not restored by set_term.  The value should be saved between calls to newterm if longname is going to be used with multiple terminals. 

RETURN VALUES

The longname function returns a pointer to a verbose description of the current terminal on success and the null pointer on error. 

RELATED INFORMATION

initscr(3), newterm(3), set_term(3)

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