Amiga Unix — 68040 · 68060

Manual pages › Amiga-specific commands (1A)

getscr(1A)

getty front end for console screens

From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.

/etc/getscr - getty front end for console screens

/etc/getscr [options] device [arguments to getty]

/etc/getscr is a getty front end which opens an Amiga Unix console screen and sets its graphics modes and resolution before running getty. Typically, /etc/inittab has one /etc/getscr entry for each console virtual screen which may be used.

/etc/getscr recognizes the following options:

-0 aaa
Set the background color to aaa, where aaa is a three digit hex number representing the red, green, and blue color levels.
-1 aaa
Set the foreground color to aaa, where aaa is a three digit hex number representing the red, green, and blue color levels.
Load the specified font before running getty. font may be an absolute pathname of a font file, or the name of one of the fonts in /usr/amiga/lib/font.
Bind the screen to function key group key. If not specified, the screen will have a random binding.
Set the screen's mode value to mode. See screen(7A) for a description of the mode bits.
Request a screen n pixels wide.
Request a screen n pixels high.
Request a screen n pixels deep.

The /etc/inittab entry

F2:23:respawn:/etc/getscr -g2 -x800 -y600 -0 000 -1 fff term/con2 con

would open a screen on function key 2 with x resolution of 800 pixels and y resolution of 600 pixels. With the default font (Topaz 8), this would yield 50 lines of text each with 80 characters per line. The screen would have a black background and a white foreground.

color(1A), sioc(1A), inittab(4), screen(7A)