Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ scr_dump(4) — CLIX 3.1r7.6.28

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

curses(3)



  scrdump(4)                         CLIX                         scrdump(4)



  NAME

    scr_dump - Curses screen image file format

  DESCRIPTION

    The curses() function scr_dump(), will copy the contents of the screen
    into a file.  The format of the screen image is as described below.

    The name of the tty is 20 characters long and the modification time (the
    mtime of the tty that this is an image of) is of the type time_t.  All
    other numbers and characters are stored as chtype (see <curses.h>).  No
    newlines are stored between fields.

    magic_number:  octal 0433
    name_of_tty
    mod_time_of_tty
    columns lines
    line_length chars_in_line   for each line on the screen
         O...
    labels?       1, if soft screen labels are present
    cursor_row cursor_column

    Only as many characters as are in a line will be listed.  For example, if
    the line_length is 0, there will be no characters following line_length.
    If labels? is 1, following it will be:

    number_of_labels
    label_width
    chars_in_label
         O...


  RELATED INFORMATION

    Functions:  curses(3)


















  2/94 - Intergraph Corporation                                              1




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