Log Top Mode - HP 262SA Reference Manual

Dual-system display terminal and word-processing terminal
Table of Contents

Advertisement

Integral Printer Control
To initiate Record mode programmatically, send the terminal the following escape sequence:
Ec&p<char>p20C
The optional parameter
tt
<cha r >p" is the decimal equivalent of an ASCII character which can
be used to turn off Record mode. It should be the first character in a record; the default
character is
tto".
If tt<char>p" is omitted or if tto p " is specified, no character will turn off
Record mode. Termination can only occur by pressing RECORD MODE or initiating a soft or hard
reset. The reset can be initiated either from the keyboard or from the program.
The termination character selected in the escape code is valid only for the current activation
of Record mode. When Record mode is ended, the termination character returns to the default
character
C
t
0").
If the escape sequence is received from the computer, the terminal returns an tts" or ttF"
character to the program to indicate ttsuccessful" or ttfailed" status for execution of the escape
sequence. This status check is discussed later in this section.
When the status character is sent depends on whether or not the DCI/DC2 handshake is
enabled. (Refer to Sections 3 and 9 for information on handshake types.) If the DCI/DC2
handshake is disabled, the character (always an tts") is sent immediately after the terminal
receives the escape sequence; otherwise, it (an tts" or ttF") is sent after Record mode is turned
off and a DCI is received from the computer.
A 256-character buffer is used to hold each record prior to sending it to the ttto" device(s). If
the record exceeds 256 characters, the terminal's handshake holds off any further transmis-
sion from the computer until the buffer contents are sent to the ttto" device(s). Records shorter
than 256 characters are indicated by an LF (line feed) character. In this case also, the termi-
nal's handshake holds off further transmission from the computer until the buffer is cleared.
If Record mode is turned off with a partially-filled buffer, the contents are sent to the ttto"
device(s).
If the first character in the buffer is the termination character, Record mode is terminated
and the termination character is not sent to the ttto" device(s).
Log Top Mode
When the display is filled and another line of data is entered through the keyboard or
received over a datacomm line, the top line in the display is purged to make room for the new
line. With top logging, each line that is purged from the top of the display is printed. Thus,
while the line is ttlost" from display memory, it is maintained in hard copy form. Figure C-3
illustrates top logging.
C-7

Advertisement

Table of Contents
loading

This manual is also suitable for:

2628a

Table of Contents