[comp.sys.hp] 700/43 terminal setup to HP 9000 835SE

AR.HFN@forsythe.stanford.edu (Hooshyar Naraghi) (03/30/91)

I just received an HP 700/43 terminal that we have tried hard to
configure to logon to an HP 9000 835SE series with no success at
all.  Is there anybody out there who knows how to set it up?

This terminal emulates Wyse30 or 50, but in those compatibility modes
we are still unable to make it work.  The main problem is that when
I log on to the 9000, I can only scroll one page.  That means after
displaying 24 lines, the cursor will advance to the first line on
top of the screen.  If I set Multipage to 96, every 4 screens the
cursor will move to the top line.

Can somebody help?  HP Response Center said forget it, this terminal
ain't good for unix, but I have a hard time to believe this!  After
all people are using Wyse50's in unix environments.  Even somebody
said the 700/43 was indeed a Wyse50 in the HP box.

We are running HP-UX 7.0 if that helps.  A many advance thanks to
those who would reply.

Thanks,
Hooshyar Naraghi
AR.HFN@forsythe.stanford.edu
(415)324-1055

rjn@hpfcso.FC.HP.COM (Bob Niland) (04/01/91)

re: > I just received an HP 700/43 terminal that we have tried hard to
    > configure to logon to an HP 9000 835SE series with no success at
    > all.  Is there anybody out there who knows how to set it up?

As system console, you can't.  The Series 800 requires a console terminal
that is configured for HP "term0" command set, such as a 700/92 or 700/94.

The 700/43 (and 700/41) are "non-HP HP terminals" and support only low-end
industry "ASCII" command sets.  There are also the 700/22, 700/32 and
700/44, which support DEC command sets.  None of these speak any variant of
HP terminal languages.  They are also priced much lower than the /92 and
/94.

However, you should be able to get it working as a non-console login
terminal.  Here is some info developed for the earlier 700/41.

--------------------------------------------------------------------------
                            700/41 on UN*X

How to make the best use of your 700/41 terminal on an UN*X system.

The terminfo entry below (and terminal configuration described) will allow
you to get the maximum performance out of the 700/41 terminal when connected
to an UN*X system.

If you are familiar with an HP terminal on an UN*X system, you will probably
notice only 2 major differences.  

First there are 16 special function keys on the keyboard, and any program that 
was able to make use of the function keys on an HP terminal will probably 
NOT work with this terminal. Though you can still program them to do whatever 
you want them to do from the terminal setup screen, and you now have 32 keys. 

Second there is no terminal scroll memory, meaning that if what you were 
watching scrolled up off the screen, it is gone.


DISCLAIMER:  This entry was constructed based on a prototype 700/41 terminal
             serial number 2718A80014.


                MAKING THE TERMINAL WORK ON UN*X 

1) Configure the terminal for use.
   Follow instructions accompanying the terminal.
   You will want to set the fields as described below.

   Make sure you "SAVE FOR POWERON" so that they will still be there
   when you power on the terminal again.

2) Use the "tic" command (as root) to compile and add the "terminfo"
   entry listed below.

   This will create 7 new entries in the terminfo data base.
           c1003 c1003a c1003g 1003 1003a 1003g 700-41
   Any of these answers may be used for the 700/41 terminal.

3) When logging in make sure you answer the "TERM=" prompt with one of the
   legal answers for this terminal.  
   
   Be careful NOT to answer with HP or HP2622 (or similar) then attempt to 
   change your TERM type to an acceptable answer, or allow the system to 
   automatically set the TERM type to an HP terminal, as some of the HP 
   terminal escape sequences can lock up the 700/41 terminal.

   Legal "TERM=" answers:
                           c1003
                           c1003a
                           c1003g
                           1003
                           1003a
                           1003g
                           700-41

--------------------------------------------------------------------------------

                SETTING UP THE TERMINAL DEFAULT CONFIGURATION

   Some of the fields MUST be set as shown, others will be set to these values
   whenever you login or start up "vi".

   Fields marked "(per your preference)" can be set to whatever you desire.

   Remember to "SAVE FOR POWERON" so that the terminal remembers what you have
   changed after poweroff.

Terminal Setup:

        Screen Saver    =               (per your preference)
        Block Mode      = Character
        On Line         = On Line
        Smooth Scroll   = JUMP recommended for "vi" -- but (per your preference)
        Auto Scroll     = On
        Auto Linefeed   = Off
        Auto Wrap       = On
        Status Line     =               (per your preference)
        Protect Mode    = Off
        Monitor Mode    = Off
        Graph Mode      = Off
        Bgnd Attr       =               (per your preference)
        Attr Extent     = LINE
        Compatibility   = WY 30
        Enhance Mode    =               (per your preference0
        Leadin Char     = Esc
        EOM Char        =               (per your preference)
        Block Term      =               (per your preference)

Datacom Setup:
        
        Baud Rate       = 9600          (to match your interface port)
        Handshake       = Xon/Xoff      (to match your interface port)
                                If this is not selected on both the terminal 
                                and the UN*X interface you will probably loose
                                data whenever you press the "Scroll Lock" key 
                                on your terminal.
        Data Length     = 8bits         (to match your interface port)
        Parity          = None          (to match your interface port)
        Communication   = Full Duplex

Keyboard Setup:
        Edit Keys       = Local

        All other parameters per your preference.

Program Keys:
        Defaults usually acceptable or modifiable to your liking with the 
        following considerations/changes.

        CURSOR RIGHT:
                This keys normal escape sequence conflicts with the "vi" 
                command "^L" used to repaint the screen.  
		'vi' allows the "^R" key to repaint the screen when the "^L"
		key is used for cursor right.
		You need to change nothing, but remember to use "^R" for
		repaint

        INSERT-LINE:
        INSERT-CHAR:
                These are NOT a definable keys, but they do transmit escape
                sequences to the UN*X computer when they are pressed.  

                Because the effects of these keys' escape sequence so badly
                confuses most "vi" users, the terminfo entries have been made 
                to interpret the INSERT-CHAR sequence as a relitavely 
                harmless "index forward", and the INSERT-LINE sequence as a 
                "index backward". Try them and you will understand.

                These keys will not put you into insert mode in "vi".
                But the INSERT key will.

                All the other editing keys behave approximately as they 
                are labeled.

	CLEAR-PAGE:
                Please note that the "CLEAR PAGE" key does almost exactly
                that.  It deletes text from your current position through
                the end of file. (as per vi definition)

	CLEAR/HOME:
                The shifted "CLEAR/HOME" key will repaint your screen. 
		(as per "vi" definition)

	FUNCTION KEYS:
		The function keys as shipped with the terminal define the
		special function keys to be 3 character sequences.  The
		'curses' package does not seem to work well when it is
		looking for 3 character sequences.  The terminfo entry below
		defines the special function keys to be the first two
		characters of the sequence, leaving the final "LineFeed" NOT
		part of the definition.  This is the scheme used in several
		other terminal definitions.  If this extra "LineFeed" causes
		problems, you can re-define the function keys to be only the
		first two characters of the sequence and then SaveForPoweron
		and everything will be better.  (Very few people/programs
		use this capability so you can probably ignore it)


--------------------------------------------------------------------------------

			SPECIAL NOTE FOR HEAVY vi USERS

If you are a die-hard 'vi' user you will probably be considerably displeased
(to put it mildly) at 'vi's tendency to wait 1/2 second after an ESC
character to see if the next character is part of an escape sequence.  The
result is usually that you type ESC followed by some normal command like "h"
(backspace) and get totally unexpected results.  (like home to corner and
begin inserting)

To make this "feature" disappear it is necessary to give up the ability to
use ANY of the editing and function keys on you keyboard.  This means that
if you strike any of these keys you will be doing even more bizzare
commands, but if you NEVER strike them you get rid of the ESC confusion.

To lose these keys capabilities and the ESC delay, remove the entries:
	kdch1=\EW, 
	kdl1=\ER, 
	kel=\ET, 
	ked=\EY, 
	kich1=\Eq, 
	knp=\EK, 
	kpp=\EJ, 
	kind=\EQ, 
	kri=\EE, 
from the terminfo entry, and make sure that you have not done any ":map" 
commands that start with the ESC character in your ".exrc" file.

The result is that whenever you press the ESC key you immediately execute it,
and/or get the beep without the extra 1/2 second delay.


--------------------------------------------------------------------------------
				TERMINFO ENTRY 

        Use the "tic" command on this entry (as root) to create the TERM types
        described above.  None of these entries should conflict with anything
        that already exists, or will exist.

	This entry is full blown and done just about everything the terminal 
	can do with the curses/vi database.
	
	Note: I see I have two slightly different terminfos for the 700/41.
    	      Try them both. - rjn

	-------------------------- cut here -----------------------------

c1003|c1003a|c1003g|1003|1003a|1003g|700-41,
	am, mir, 
	cols#80, lines#24, xmc#1, 
	cbt=\EI, bel=^G, cr=\r, tbc=\E0, 
	clear=\E;, el=\ET, ed=\EY, cup=\E=%p1%' '%+%c%p2%' '%+%c, 
	cud1=\n, home=^~, civis=\E`0, cub1=\b, 
	cnorm=\E`1, cuf1=\f, cuu1=^K, dch1=\EW, 
	dl1=\ER, dsl=\E{, smacs=\EH^B, blink=\EG2, 
	smir=\Eq, invis=\EG1, rev=\EG4, smso=\EG4, 
	smul=\EG8, rmacs=\EH^C, sgr0=\EG0, rmir=\Er, 
	rmso=\EG0, rmul=\EG0, is2=\E~"\E`1\E\^3\EO\Eu\E'\EC, il1=\EE, 
	kbs=\b, kclr=^Z, kdch1=\EW, kdl1=\ER, 
	kcud1=\n, krmir=\Er, kel=\ET, ked=\EY, 
	kf1=^A@, kf10=^AI, kf2=^AA, kf3=^AB, 
	kf4=^AC, kf5=^AD, kf6=^AE, kf7=^AF, 
	kf8=^AG, kf9=^AH, khome=^~, kich1=\Eq, 
	kcub1=\b, knp=\EK, kpp=\EJ, kcuf1=\f, 
	kind=\EQ, kri=\EE, kcuu1=^K, rmkx=\Ek, 
	smkx=\El, pfx=\Ez%p1%'?'%+%c%p2%s, mc0=\EP, mc4=^T, 
	mc5=^R, ind=\n, ri=\Ej, hts=\E1, 
	ht=\t, 


c1003|c1003a|c1003g|1003|1003a|1003g|700-41,
	am, mir, 
	cols#80, lines#24, xmc#1, 
	cbt=\EI, bel=^G, cr=\r, tbc=\E0, 
	clear=\E;, el=\ET, ed=\EY, cup=\E=%p1%' '%+%c%p2%' '%+%c, 
	cud1=\n, home=^~, civis=\E`0, cub1=\b, 
	cnorm=\E`1, cuf1=\f, cuu1=^K, dch1=\EW, 
	dl1=\ER, dsl=\E{, smacs=\EH^B, blink=\EG2, 
	smir=\Eq, invis=\EG1, rev=\EG4, smso=\EG4, 
	smul=\EG8, rmacs=\EH^C, sgr0=\EG0, rmir=\Er, 
	rmso=\EG0, rmul=\EG0, is2=\E~"\E`1\E\^3\EO\Eu\E'\EC, il1=\EE, 
	kbs=\b, kclr=^Z, kdch1=\EW, kdl1=\ER, 
	kcud1=\n, krmir=\Er, kel=\ET, ked=\EY, 
	khome=^~, kich1=\Eq, kcub1=\b, knp=\EK, 
	kpp=\EJ, kcuf1=\E\f, kind=\EQ, kri=\EE, 
	kcuu1=^K, rmkx=\Ek, smkx=\El, ind=\n, 
	ri=\Ej, hts=\E1, ht=\t, 
--------------------------------------------------------------------------

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