Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ vidi(C) — OpenDesktop 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

screen(HW)


 vidi(C)                         19 June 1992                         vidi(C)


 Name

    vidi - set the font and video mode for a video device

 Syntax

    vidi [ -d ] [ -f fontfile ] font

    vidi mode

 Description

    The vidi command has two functions.  With arguments 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 com-
    mands.

    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 direc-
                        tory.

    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 Compaq portable with a plasma
              screen.

    external  activate the external monitor on Compaq portable with a plasma
              screen.

    Text and graphics modes

    The following tables list the available modes.

    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              Adapter
    _________________________________________________________________________
    mode5          320x200                    4                 CGA (EGA VGA)
    mode6          640x200                    2                 CGA (EGA VGA)
    modeD          320x200                   16                 EGA (VGA)
    modeE          640x200                   16                 EGA (VGA)
    modeF          640x350                    2 (mono)          EGA (VGA)
    mode10         640x350                   16                 EGA (VGA)
    mode11         640x480                    2                 VGA
    mode12         640x480                   16                 VGA
    mode13         320x200                  256                 VGA


 See also

    screen(HW)

 Note

    The internal and external commands should only be used on Compaq compati-
    ble displays.

 Value added

    vidi is an extension of AT&T System V provided by The Santa Cruz Opera-
    tion, Inc.


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