home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / hp / 8676 < prev    next >
Encoding:
Text File  |  1992-07-29  |  1.9 KB  |  46 lines

  1. Newsgroups: comp.sys.hp
  2. Path: sparky!uunet!sybus.sybus.com!myrddin!tct!chip
  3. From: chip@tct.com (Chip Salzenberg)
  4. Subject: Re: hpterm considered stupid
  5. Summary: clear screen with extreme prejudice
  6. Message-ID: <2A769970.4578@tct.com>
  7. Date: Wed, 29 Jul 1992 13:13:19 GMT
  8. References: <2A6D7E9D.52B9@tct.com> <1992Jul28.012923.3784@bain3.bain.oz.au>
  9. Organization: TC Telemanagement, Clearwater, FL
  10. Lines: 34
  11.  
  12. According to bill@bain3.bain.oz.au (Bill Richardson):
  13. >chip@tct.com (Chip Salzenberg) writes:
  14. >> Bad news: you can only have eight distinct color combinations
  15. >> displayed at a time?!
  16. >
  17. >Technically you can have 64 combinations (8 foreground * 8 background)
  18.  
  19. If only it were so!
  20.  
  21. There are eight color sets, numbered zero through seven.  Each
  22. character on the screen is associated with exactly one color set.
  23. Now, you can have any foreground and any background you like assigned
  24. to a given color set -- but there are only eight sets, so you are
  25. limited to a total of eight color combinations displayed at once.
  26.  
  27. (On the other hand, you can specify fractional red, green and blue
  28. values for each color set.  As a co-worker of mine observed: "You can
  29. only have eight colors -- but they're eight _bitchin'_ colors.")
  30.  
  31. Worse, hpterm remembers where you specified that a color should begin
  32. to be displayed.  The only way to be sure that you're getting a clean
  33. slate of colors is to use the clear-to-end-of-line command ("nuke it
  34. from orbit") and redraw the whole line.
  35.  
  36. As if that weren't enough: since my original article I've found out
  37. that only eight of the twelve function keys generate distinct escape
  38. sequences -- F9-F12 repeat F1-F4 -- and the arrow keys can't generate
  39. escape sequences at all!
  40.  
  41. I hate hpterm.
  42. -- 
  43. Chip Salzenberg at Teltronics/TCT  <chip@tct.com>, <73717.366@compuserve.com>
  44.    "Do Rush place weird subliminal backmasked messages in their songs to
  45.  compel unwilling geeks to commit evil .sig atrocities?"  -- Dean Engelhardt
  46.