home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / database / informix / 2751 < prev    next >
Encoding:
Internet Message Format  |  1992-12-21  |  3.2 KB

  1. Path: sparky!uunet!cs.utexas.edu!sun-barr!ames!elroy.jpl.nasa.gov!swrinde!emory!emory!not-for-mail
  2. From: jparker@hpbs2776.boi.hp.com (Jack Parker)
  3. Newsgroups: comp.databases.informix
  4. Subject: hp termcap/terminfo
  5. Date: 18 Dec 1992 11:38:14 -0500
  6. Organization: Mailing List Gateway
  7. Lines: 74
  8. Sender: walt@mathcs.emory.edu
  9. Distribution: world
  10. Message-ID: <1gsupmINN2q5@emory.mathcs.emory.edu>
  11. Reply-To: jparker@hpbs2776.boi.hp.com (Jack Parker)
  12. NNTP-Posting-Host: emory.mathcs.emory.edu
  13. X-Informix-List-ID: <list.1720>
  14.  
  15. (Author's note to hisself)
  16. Let's try sending it to the Net this time dummy!
  17. Sorry Kacy for the dupe.
  18.  
  19. >    Anybody got a good termcap/terminfo entry for an hp tube?  (Yeah, I know, look 
  20. >    where I'm working!).  Specifically I'm wondering if there is a solution to the
  21. >    magic-cookie-glitch for this thing.
  22. >    Also, has anybody ever got Informix to use attributes like DIM, UNDERLINE, or
  23. >    BLINK in a DISPLAY on an hp tube?  REVERSE is ok, but no others.
  24. > Me, too!  I can't find a way to get hpterms or xterms to run
  25. > isql, tbmonitor, vi, and man consistently in the same window.
  26.  
  27. I played around for a while and got the hp supported attributes to work from
  28. the os, but not from informix! 
  29.  
  30. For those of you who care,
  31.  
  32. :mb=\E&dA:mh=\E&dH:us=\E&dD:\        # blink, dim, underline
  33.  
  34. I prefer:
  35.  
  36. :so=\E&dJ:                # for standout which informix actually uses!
  37.  
  38. which frees up:
  39.  
  40. :mr=\E&dB:                # for reverse as it should be.
  41.  
  42.  
  43. For those of you using terminfo it would be (in the same order):
  44.  
  45. blink=\E&dA, dim=..., smul=..., smso=..., rev=...
  46.  
  47. For those of you who don't know how to terminfo:
  48.    (1) do an untic into a local directory (./),
  49.    (2) make your changes to the file ./h/$TERM
  50.    (3) TERMINFO=./
  51.    (4) tic ./h/$TERM
  52.    (5) and try it.  If you like it get your sysadmin to make the changes to
  53.    /usr/lib/terminfo/h/$TERM (or whatever your hp $TERM is)
  54.  
  55. you can mix your own as follows:
  56. # \E&dx: where x is:    @ off, A blink, B RV, C RV_Blink, D UL, E UL_Blink,
  57. #                       F RV_UL, G RV_UL_Blink, H Dim, I Dim_Blink, J RV_Dim,
  58. #                       K RV_Dim_Blink, L UL_Dim, M UL_Dim_Blink, N RV_UL_Dim
  59. #                       O All 4
  60.  
  61. My particular monitor doesn't do the blink (which is fine by me!), but the
  62. codes are right.
  63.  
  64. I went through the Informix termcap (which is almost identical to /etc/termcap)
  65. and tested what I could of hp functionality.  It seems to work pretty much ok.
  66. (Aside from the various documented problems).  I have another message in to the 
  67. termcap guru, I gather from the terminfo documentation and news that the highlight 
  68. is, not a bug, but rather a known area of non-conformance.
  69.  
  70. Although I did this on HP's time in an effort to solve problems we are having,
  71. it most certainly does not have HP's blessing.  Even if I were a real person
  72. and not a keyboard-for-hire.
  73.  
  74.  
  75. still looking for Mrs. Goodterm,
  76.         j.
  77.  
  78. _____________________________________________________________________________
  79.  
  80. Jack Parker - Contractor               | 
  81. Hewlett Packard, BSMC Boise, Idaho, USA|     I've forgotten more than
  82. jparker@hpbs2651.boi.hp.com            |           I ever knew
  83. (208) 323-5388 (W)  (208) 384-1623 (H) |
  84. _____________________________________________________________________________
  85.  
  86.