[comp.sys.hp] HP 700/94 terminal escape sequences question

jthomas@nmsu.edu (James Thomas) (12/09/89)

Many of the users on our system have better luck with their HP 700/94
terminals in EM100 mode :-), but I like hp mode.  So when I log in, I cat
the file below (with "<ESC>" replaced by real ESCapes, of course) to the
terminal.  But it doesn't work.  The last line (I've tried various forms)
does things other than what's described in the manual.  Previously it just
caused the terminal to eat several following characters - the first prompt
- in various ways, sometimes completely, sometimes framing error(?) blots,
sometimes outputting high-order bit on characters.  Recently it has put the
terminal back into EM100 mode.  (I have to assume I've changed something in
the meantime, but I don't know what.  I edit the file regularly trying
things.)

Could someone look at the last line and tell me why it doesn't work?  I
have tried it on 2 terminals (and on a 700/92 the line is just ignored as
it should be).  I guess an "it works for me" would be OK too...

This is being used on an 840 running hp-ux 3.1 .  But I don't think that's
relevant because I've <ESC>Y watched the actual characters coming out, and
they're what I expect.

Thank you,
Jim		hard to reach at midas!jthomas@wsmr-emh82.army.mil

<ESC>&k0\	set HP mode
<ESC>&q0L	unlock all configuration menus
<ESC>&s0C	InhEOLWrap = NO
<ESC>3	Clear all TAB's
	Go to left margin, set TAB stops every 8 columns
<ESC>G<ESC>&a8C<ESC>1<ESC>&a+8C<ESC>1<ESC>&a+8C<ESC>1<ESC>&a+8C<ESC>1<ESC>&a+8C<ESC>1<ESC>&a+8C<ESC>1<ESC>&a+8C<ESC>1<ESC>&a+8C<ESC>1<ESC>&a+8C<ESC>1
<ESC>&a0C	Back to the left margin (useless in this annotated form)
<ESC>&s1G	InhHndShk = YES (i.e., ignore ^S^Q)
<ESC>&s1H	InhDC2 = YES ( when used with the above)
<ESC>&k1D	BELL = ON
<ESC>&q1te1{0g0H	RecvPace = XmitPace = NO

rjn@hpfcso.HP.COM (Bob Niland) (12/10/89)

re: > But it doesn't work.

<ESC>&q1te1{0g0H	RecvPace = XmitPace = NO

If you are running without XonXoff pacing,  you are probably experiencing
overruns.  Some escape sequences take time to process, and if the terminal
cannot hold-off the host,  incoming data during the processing may be lost.
The terminal has at least an 80-byte FIFO inbound, but your escape dump
may exceed that.

I would suggest enabling Xon/Xoff RecvPace at the start of the dump, 
then disabling it at the end, presuming that you need ^S and ^Q for some
application purpose.


<ESC>&s1G	InhHndShk = YES (i.e., ignore ^S^Q)
<ESC>&s1H	InhDC2 = YES ( when used with the above)

This disables HP block mode handshake, not XonXoff.  G/H=Yes allows the
use of softkeys, the [Enter] key and <esc>d screen-readback without having
to use blockmode.

Regards,                                              Hewlett-Packard
Bob Niland      rjn%hpfcrjn@hplabs.HP.COM             3404 East Harmony Road
                UUCP: [hplabs|hpfcse]!hpfcla!rjn      Ft Collins CO 80525-9599

This response does not represent the official position of, or statement by,
the Hewlett-Packard Company.  The above data is provided for informational
purposes only.  It is supplied without warranty of any kind.