home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / hp / 10480 < prev    next >
Encoding:
Text File  |  1992-09-15  |  1.2 KB  |  45 lines

  1. Xref: sparky comp.sys.hp:10480 comp.terminals:1136
  2. Newsgroups: comp.sys.hp,comp.terminals
  3. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!csn!teal!ssheu
  4. From: ssheu@teal.csn.org (Steve Sheu)
  5. Subject: Line drawing characters under curses of HP 8.07
  6. Message-ID: <ssheu.716608163@teal>
  7. Summary: Does it support graphic character set ?
  8. Keywords: curses of HP 8.07
  9. Sender: news@csn.org (news)
  10. Nntp-Posting-Host: teal.csn.org
  11. Organization: Colorado SuperNet, Inc.
  12. Date: Wed, 16 Sep 1992 01:49:23 GMT
  13. Lines: 30
  14.  
  15. Recently we are trying to port a curses base software(with lots of line 
  16. drawing characters) to HP 8.07 plateform. But unfortunatly it just cann't
  17. display those graphic characters.
  18.  
  19. The code looks something like this:
  20.  
  21. main()
  22. {
  23.     ...
  24.     initscr();
  25.     ...
  26.     ...
  27.     attrset(A_ALTCHARSET);
  28.     mvaddstr(y,x,"qqqqqqqqqqqqqqq");
  29.     ...
  30.     refresh();
  31.     endwin();
  32.     ...
  33. }
  34.  
  35. And we tried vt100, vt220 and vt320 from terminfo library.
  36.  
  37. So our questions are:
  38. 1. Do they support such attribute in this version of curses library ?
  39. 2. If yes, is there any way to switch character set (hope it's not terminfo
  40.    level function call) ?
  41.  
  42. Anyone ??
  43.  
  44. Steve
  45.