🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.terminals
Article #498

HP Termcap

#498
From: Andy Hart
Date: Tue, 25 Aug 1992 15:48
37 lines
2227 bytes
I am having the same problem as a fellow who posted a message a while back 
re problems with HP terminals and UNIFY-4GL.  (I tried to reply, but my 
email message came back undeliverable)

I am using Informix 4GL v. 4.10 on an HP 9000/837.  Informix only supports
termcap while HP only supports terminfo.  When using the hp termcap, I am 
having the following problems:

     1)  Line drawing mode does not work properly.  I have set the gs, ge,
	 and gb termcap attributes per the Informix manual.  When a window
	 is displayed and then closed, the text underneath the borders of 
	 the window is left "trashed" in the alternate character set.

     2)  When displaying something in standout mode (reverse video) in a 
	 window, "holes" get punched in the right side of my window.

     3)  I THINK we have the function keys working properly, but I would 
	 still like to try to remap the informix accept key (default, escape)
	 to be the block enter key.

We have worked out a kludge solution.  I created a shell script to launch the
application which checks the term type using the termtype command.  If it's
an hp terminal, I am sending the proper control chars to force the terminal
into ANSI emulation, saving off the current value of $TERM, and setting 
$TERM to vt100.  This works fine because the vt100 termcap appears to be 
complete, but I'm not sure that it's a viable long term solution.

Does ANYONE have complete termcap entries for 70092, 70094, 2392A, etc?  
Has ANYONE used informix with HP terminals like this and had better luck
than me?  Please respond via email...  I anxiously await your reply.  If 
there's no help out there, I guess I'll have to tear into this problem, but
I'm under a short deadline and your help will be GREATLY appreciated!!!

Thanks.

  --  andy                  (andy@cmptrc.lonestar.org)
Technical Details
Message-ID: <BtJqKn.2wp@cmptrc.lonestar.org>
Path: arc1-ca.pugleaf.net!sparky!uunet!seas.smu.edu!utacfd.uta.edu!rwsys!kf5iw!cmptrc!andy

Show Full Headers
Complete Article Headers
Newsgroups: comp.terminals
Path: arc1-ca.pugleaf.net!sparky!uunet!seas.smu.edu!utacfd.uta.edu!rwsys!kf5iw!cmptrc!andy
From: andy@cmptrc.lonestar.org (Andy Hart)
Subject: HP Termcap
Message-ID: <BtJqKn.2wp@cmptrc.lonestar.org>
Date: Tue, 25 Aug 1992 15:48:22 GMT
Distribution: WORLD
Organization: CompuTrac Inc., Richardson TX
Keywords: HP 70092 2392A
Lines: 39