Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ hp(1) — CLIX 3.1r7.6.22

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

300(1)

greek(1)

col(1)

eqn(1)

nroff(1)

tbl(1)



  hp(1)                               CLIX                               hp(1)



  NAME

    hp - Handles special functions of Hewlett-Packard terminals

  SYNOPSIS

    hp [-e] [-m]

  FLAGS

    The flags are as follows:

    -e   It is assumed that your terminal has the ``display enhancements''
         feature, and so maximal use is made of the added display modes.
         Overstruck characters are presented in the Underline mode.
         Superscripts are shown in Half-bright mode, and subscripts in Half-
         bright, Underlined mode.  If this flag is omitted, hp assumes that
         your terminal lacks the ``display enhancements'' feature.  In this
         case, all overstruck characters, subscripts, and superscripts are
         displayed in Inverse Video mode, that is, dark-on-light, rather than
         the usual light-on-dark.

    -m   Requests minimization of output by removal of newlines.  Any
         contiguous sequence of 3 or more newlines is converted into a
         sequence of only 2 newlines; that is, any number of successive blank
         lines produces only a single blank output line.  This allows you to
         retain more actual text on the screen.

    With regard to Greek and other special characters, hp provides the same
    set as does the 300 command, except that ``not'' is approximated by a
    right arrow, and only the top half of the integral sign is shown.

  DESCRIPTION

    The hp command supports special functions of the Hewlett-Packard 2640
    series of terminals, with the primary purpose of producing accurate
    representations of most nroff output.

  EXAMPLES

    A typical usage of the hp command is in conjunction with Documenter's
    Workbench Software:

    nroff -h file ... | hp

    Regardless of the hardware options on your terminal, hp tries to do
    sensible things with underlining and reverse linefeeds.  If the terminal
    has the ``display enhancements'' feature, subscripts and superscripts can
    be indicated in distinct ways.  If it has the ``mathematical-symbol''
    feature, Greek and other special characters can be displayed.




  2/94 - Intergraph Corporation                                              1






  hp(1)                               CLIX                               hp(1)



  NOTES

    An ``overstriking sequence'' is defined as a printing character followed
    by a backspace followed by another printing character.  In such sequences,
    if either printing character is an underscore, the other printing
    character is shown underlined or in Inverse Video; otherwise, only the
    first printing character is shown (again, underlined or in Inverse Video).
    Nothing special is done if a backspace is adjacent to an ASCII control
    character.  Sequences of control characters (for example, reverse
    linefeeds, backspaces) can make text ``disappear''; in particular, tables
    generated by tbl that contain vertical lines will often be missing the
    lines of text that contain the ``foot'' of a vertical line, unless the
    input to hp is piped through col.

    Although some terminals do provide numerical superscript characters, no
    attempt is made to display them.

  DIAGNOSTICS

    line too long
           The representation of a line exceeds 1,024 characters.

  EXIT VALUES

    The exit codes are 0 for normal termination, 2 for all errors.

  RELATED INFORMATION

    Commands: 300(1), greek(1), col(1), eqn(1), nroff(1), tbl(1)

























  2                                              Intergraph Corporation - 2/94




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