VIDI(C) XENIX System V VIDI(C)
Name
vidi - Sets the font and video mode for a video device.
Syntax
vidi [ -d ] [ -f fontfile ] font
vidi mode
Description
vidi has two functions: it loads/extracts a font or sets
the video mode for the current standard input device.
Without arguments, it lists all of the valid video mode and
font commands.
Font Options
Some video cards support changeable character fonts.
Available fonts are font8x8, font8x14, and font8x16. The
font options are used as follows:
vidi font loads font from /usr/lib/vidi/font.
vidi-d font writes font to the standard output.
vidi-d -f font fontfile
writes font to fontfile.
vidi-f fontfile font
loads font from fontfile instead of
default directory.
Mode Options
vidi also sets the mode of the video adapter connected to
the standard input. The modes are:
mono move current screen to the monochrome adapter.
cga move current screen to the Color Graphics adapter.
ega move current screen to the Enhanced Graphics
adapter.
vga move current screen to the Video Graphics adapter.
internal activate the internal monitor on portable with a
plasma screen.
external activate the external monitor on portable with a
plasma screen.
Text and Graphics Modes
The following tables list the available modes.
Page 1 (printed 2/7/91)
VIDI(C) XENIX System V VIDI(C)
_________________________________________________________________
| Text Modes |
|________________________________________________________________|
| Mode Cols Rows Font Adapter |
|________________________________________________________________|
| |
| c40x25 40 25 8x8 CGA (EGA VGA) |
| e40x25 40 25 8x14 EGA (VGA) |
| v40x25 40 25 8x16 VGA |
| m80x25 80 25 8x14 MONO (EGA_MONO VGA_MONO) |
| c80x25 80 25 8x8 CGA (EGA VGA) |
| em80x25 80 25 8x14 EGA_MONO (VGA_MONO) |
| e80x25 80 25 8x14 EGA (VGA) |
| vm80x25 80 25 8x16 VGA_MONO |
| v80x25 80 25 8x16 VGA |
| e80x43 80 43 8x14 EGA (VGA) |
|________________________________________________________________|
_________________________________________________________________
| Graphics Modes |
|________________________________________________________________|
| Mode Pixel Resolution Colors |
|________________________________________________________________|
| mode5 320x200 4 |
| mode6 640x200 2 |
| modeD 320x200 16 |
| modeE 640x200 16 |
| modeF 640x350 2 (mono) |
| mode10 640x350 16 |
| mode11 640x480 2 |
| mode12 640x480 16 |
| mode13 320x200 256 |
|________________________________________________________________|
See Also
screen(HW)
Notes
The internal and external commands do not work with all
types of portables.
Page 2 (printed 2/7/91)