[H-GEN] Curses or Ncurses

Bob Hepple bhepple at bit.net.au
Thu May 13 18:45:32 EDT 1999


(Note reply-to: being general at humbug.org.au vs Bob Hepple <bhepple at bit.net.au>)

Sid Young wrote:
> 
> (Note reply-to: being general at humbug.org.au vs Sid Young <syoung at powerup.com.au>)
> 
> First, a big thanks to the people who responded, most helpfull however...
> 
> I tried to compile the programs on the HPUX boxes at work and although the
> compiles were ok the program produced crappy borders using "|" and "-"
> (pipe and minus)  with "+" as the corner pieces.
> 
> I looked in the /usr/lib/ and there is only libcurses.a no "libncurses.a"
> are the enhanced borders only available in libncurses.a ??
> 
> I tried a variety of terminal type wyse60, vt100 and ANSI to no avail.
> 
> Any suggestions...
> 

You probably need to hack your terminfo entry so that curses knows how
to generate decent line drawing characters.

The entry is acsc and the following works well on my xterm (under Linux,
who knows about hockey pux?)

acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 

"man terminfo" should lead you in the right direction... also, look at
tic and infocmp programs.


Cheers


Bob

-- 
Bob Hepple
mailto:bhepple at bit.net.au
http://www.finder.com.au

--
This is list (humbug) general handled by majordomo at lists.humbug.org.au .
Postings only from subscribed addresses of lists general or general-post.



More information about the General mailing list