Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ isttype(3J) — NEWS-os 4.1C

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

stty(1)

ioctl(2)

tty(4)

ISTTYPE(3J)  —  NEWS-OS Programmer’s Manual

NAME

isttype − check type of a terminal

SYNOPSIS

#include <ttype.h>

int isttype(fd)
int fd;

DESCRIPTION

Isttype retruns the type of the terminal specified by the file descriptor fd.  Terminal types are defined as the following:

#define T_NOTTERM−1/∗ not a terminal ∗/
#define T_ASCII 0/∗ not a Kanji terminal ∗/
#define T_SJIS 1/∗ Shift-JIS kanji terminal ∗/
#define T_JIS   2/∗ JIS kanji terminal ∗/
#define T_EUC  3/∗ EUC terminal ∗/
#define T_TCA  4/∗ TCA terminal ∗/

SEE ALSO

stty(1), ioctl(2), tty(4)

NEWS-OSRelease 4.1C

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