Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ longname(3cur) — Ultrix/UWS 4.1 RISC

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

initscr(3cur)

newterm(3cur)

set_term(3cur)

longname(3cur)

Name

longname − return full terminal type name

Syntax

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.

See Also

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

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