Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ vidi(C) — OpenDesktop 1.0.0y

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

screen(HW)


     VIDI(C)                                    UNIX System V



     Name
          vidi - sets the font and video mode for a video device


     Syntax
          vidi [ -d ] [ -f fontfile ] command


     Description
          vidi sets video mode  or  loads/extracts  a  font  from  the
          device   that   is   the  current  standard  input;  without
          arguments, it lists the all of the valid video mode and font
          commands.

          Some video cards support changeable  character  fonts.   The
          vidi  font  commands  (font8x8,  font8x14, and font8x16) are
          used to load and extract fonts from the tables stored in the
          kernel.   If  neither  of  the  -d  or  -f  options has been
          specified, vidi will attempt to load the specified font from
          i/usr/lib/vidi/fontname.   he  -d option causes vidi to read
          the specified font from the kernel and write (dump) the font
          to the standard output.

          The -f option is used to load  fonts  other  than  those  in
          /usr/lib/vidi  or  to  specify  an  output  file  other than
          standard output.  When loading a font, -f filename will load
          the     font     from     filename     instead    of    from
          /usr/lib/vidi/fontname.   When extracting a font (-d option)
          -f  filename  causes  vidi  to write the extracted font into
          filename instead of writing the font to the standard output.

          The other vidi commands set the  video  mode  of  the  video
          adapter  connected  to  vidi's standard input.  The commands
          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 Modes                          |
          |____________________________________________________________|
          | Command    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                         |
          |____________________________________________________________|
          |   Command          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.


     (printed 8/24/89)                                  VIDI(C)

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