Subject: menu_sys.def uses asterisks for box sides
To: None <current-users@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: current-users
Date: 01/26/2001 14:01:58
Is the curses ACS_VLINE and ACS_HLINE compatible across the NetBSD
platforms?

ACS_VLINE is a vertical line; if it doesn't exist it defaults to "|".
ACS_HLINE is a horizontal line; if it doesn't exist then uses a "-".

For your info, my NetBSD 1.5.1_ALPHA (i386) /usr/include/curses.h has:
#define ACS_VLINE       _acs_char['x']
#define ACS_HLINE       _acs_char['q']

Basically the menuc tool (menu compiler) defaults to use
/usr/share/misc/menu_sys.def for creating boxes.

(For example, when set to use ACS -- alternate character sets, the sysinst
looks a lot nicer.)

If this is compatible for multiple architectures, I'll submit a send-pr
with a diff to use line drawing instead of asterisks for the box() for
/usr/share/misc/menu_sys.def.

On a related note, maybe the menu_sys.def's selected ">" bullet should be
also be changed to use an ACS equivalent (ACS_RARROW or ACS_BULLET).

Any comments?

   Jeremy C. Reed
   http://www.reedmedia.net/