Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ cons(4) — SunOS 0.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

tty(4)

CONS(4)  —  System Manager’s Manual — Special Files

NAME

cons − Driver for Sun console

DESCRIPTION

Sunio is the driver for the Sun workstation console.  Cons is implemented by calling the PROM resident monitor to perform I/O to and from the current system console, which is either the Sun black and white frame buffer or RS232 port ‘A’. 

This driver also provides access to the frame buffer using the mmap(2)systemcall.

The frame buffer is at standard address 0xC0000 and consumes 128K of memory space. 

This driver supports the normal UNIX system terminal interface as described in tty(4). In addition, the following ioctl call is supported:

KIOCTRANS
to control keyboard translation:

int   x;
ioctl(fd, KIOCTRANS, &x);

where x is:

0no keyboard translation (up/down key codes are reported). 

1do keyboard translation (this is the normal case). 

Note that the KIOCSKEYB call is not supported. 

FILES

/dev/ttya — port A
/dev/ttyb — port B

SEE ALSO

tty(4)

Sun System Release 0.3  —  2 May 1983

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