NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/44110: curses does not support all four playing card suit characters



The following reply was made to PR lib/44110; it has been noted by GNATS.

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: lib/44110: curses does not support all four playing card suit
 characters
Date: Sat, 20 Nov 2010 18:50:38 +0000

 On Fri, Nov 19, 2010 at 03:55:02AM +0000, Brett Lymn wrote:
  >  > curses.h defines ACS_DIAMOND, but not ACS_HEART, ACS_CLUB, or ACS_SPADE.
  >  > (presumably because someone sometime wanted ACS_DIAMOND as a bullet
  >  > point character or the like)
  >  
  >  I cannot find a reference to any of those ACS symbols apart from
  >  ACS_DIAMOND.  Checking solaris (original SYSV curses) and ncurses
  >  turns up nothing as does a search on google.
 
 Right, presumably because someone wanted diamonds as bullet points but
 ignored the others...
 
  >  > Add them and add the necessary bits to terminfo? Many terminals and
  >  > terminal fonts do have glyphs for all four suits.
  >  
  >  Well, taking on board that it would be totally non-standard...The
  >  battle here is you need to identify character that will produce the
  >  right shape when the alternate character mode (smacs) is on.  Once
  >  that is found it is a matter of either extending the acsc or if the
  >  character is already in the string, using it.
 
 I don't currently see any way to make wscons print these symbols, so
 perhaps worrying about it in curses is premature.
 
 sigh.
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index