02.07.2013 Views

A/UX® System Administrator's Reference Sections 1M, 7, and 8

A/UX® System Administrator's Reference Sections 1M, 7, and 8

A/UX® System Administrator's Reference Sections 1M, 7, and 8

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

console(7) console(7)<br />

NAME<br />

console - keyboard/screen driver<br />

DESCRIPTION<br />

The keyboard <strong>and</strong> video screen driver provides access to the<br />

system's console keyboard <strong>and</strong> screen. Running in its default<br />

configuration, it provides emulation of an ANSI st<strong>and</strong>ard screen<br />

<strong>and</strong> keyboard combination. Various ioctl comm<strong>and</strong>s allow the<br />

user to configure it for use along with the mouse in a more interactive<br />

environment<br />

The screen driver is a streams based driver. Before use, a line discipline<br />

may have to be pushed onto the device's stream. Under<br />

most conditions, this is done automatically by the operating system.<br />

When an application opens / dev / console explicitly, <strong>and</strong><br />

it is not already open, it may be necessary to push such a line discipline.<br />

There are three ways to do this.<br />

ioctl (fd, I_PUSH, line) ;<br />

line yush (fd) ;<br />

/etc/line_sane fd<br />

Unconditionally pushes a line<br />

discipline.<br />

Pushes a line discipline if one<br />

is not already pushed.<br />

Same as previous description,<br />

but as an application in a shell<br />

script<br />

In the previous examples,fd is a file descriptor of the open device.<br />

The last two methods are preferred, as they will only push a line<br />

discipline if required <strong>and</strong> they can be used on nonstreams drivers<br />

without adverse effects.<br />

When / dev / console is opened with a line discipline pushed<br />

on it, it will respond to all the ioctls <strong>and</strong> modes described in<br />

termio(7). Without the line discipline, it will only respond to<br />

the flags described under c cflag in termio(7). Setting the<br />

number of bits/character to CS 8 will put the screen into reverse<br />

video when it is in terminal emulation mode.<br />

ANSI Compatible Escape Sequences<br />

The terminal emulator responds to the following ANSI escape sequences.<br />

, \b'<br />

February, 1990<br />

Revision C<br />

backspace-move 1 column<br />

left<br />

1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!