Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ console(7) — Interactive 3.2r4.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

bootctl(1M)

constype(1M)

chgcon(7)

display(7)

keyboard(7)

selcon(7)

termio(7)

console(7)  —  

NAME

console − console interface

DESCRIPTION

The file /dev/console is a pseudo device driver for the system console, and can refer to a video adapter, a serial terminal, or no console (see the INTERACTIVE UNIX System Installation and Maintenance Guide). If the console refers to a video adapter, then this special file implements the features described in display(7).

Ioctl Calls

PIOCINFO defined in /usr/include/sys/cons.h: This request returns the system console’s type defined in /usr/include/sys/bootinfo.h header file.  This request does not have any argument. Instead, the console’s type is returned to the ioctl() caller.  Currently, the following consoles are supported:

#define CON_GAKD 0 /* Console refers to kd driver */
#define CON_NOCONS 1 /* No console */
#define CON_SERIAL 2 /* Console refers to asy driver */

PIOCDEV defined in /usr/include/sys/cons.h: This request returns the major and minor number of the console’s device node.  This request does not have any argument. Instead, the console’s major and minor number is returned to the ioctl() caller. Any other requests will be passed to the proper physical driver.

FILES

/dev/console

SEE ALSO

bootctl(1M), constype(1M). 
chgcon(7), display(7), keyboard(7) selcon(7), termio(7).
The “Using a Serial Terminal As the Console” section in the INTERACTIVE UNIX System Installation and Maintenance Guide

ADDED VALUE

This entry, supplied by SunSoft, Inc., is an extension of UNIX ­System V. 
 
 

\*U  —  Version 1.0

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