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: Brett Lymn <>
Subject: Re: lib/44110: curses does not support all four playing card suit 
Date: Fri, 19 Nov 2010 14:20:36 +1030

 On Thu, Nov 18, 2010 at 06:15:00AM +0000, 
 > 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.
 > This makes the user interface of canfield(6) and other card games suck.
 no doubt about that...
 > 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.
 Brett Lymn
 The information contained in this email and any attached files is
 confidential to BAE Systems Australia. If you are not the intended
 recipient, any use, disclosure or copying of this email or any
 attachments is expressly prohibited.  If you have received this email
 in error, please notify us immediately. VIRUS: Every care has been
 taken to ensure this email and its attachments are virus free,
 however, any loss or damage incurred in using this email is not the
 sender's responsibility.  It is your responsibility to ensure virus
 checks are completed before installing any data sent in this email to
 your computer."

Home | Main Index | Thread Index | Old Index