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.
NAME
/etc/getscr - getty front end for console screens
SYNOPSIS
/etc/getscr [options] device [arguments to getty]
DESCRIPTION
/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.
OPTIONS
/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.
- -f font
- 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.
- -g key
- Bind the screen to function key group key. If not specified, the screen will have a random binding.
- -m mode
- Set the screen's mode value to mode. See screen(7A) for a description of the mode bits.
- -x n
- Request a screen n pixels wide.
- -y n
- Request a screen n pixels high.
- -z n
- Request a screen n pixels deep.
EXAMPLES
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.