|
From: | Mike Aubury |
Subject: | Re: Double line borders |
Date: | Wed, 25 Mar 2015 13:24:29 +0000 |
On Wed, Mar 25, 2015 at 09:57:48AM +0000, Mike Aubury wrote:
> Hi,
>
> Is there a simple way to say I want "double line" borders - rather than the
> normal single line ones ?
yes/no: you could use the ncurses extension which I added in
http://invisible-island.net/ncurses/NEWS.html#t20091003
with the box_set function. That is not "simple", but would not be done
in a large number of places.
> Alternatively - is it possible to adjust the acsc line in the terminfo
> entry to get it to do the same thing outside of ncurses ?
also yes/not:
a) acsc is a mapping between 8-bit and 8-bit values
b) the double-line values are not implemented in an 8-bit alternate character
set anywhere (that I'm aware of). I documented those here:
http://invisible-island.net/ncurses/man/curs_add_wch.3x.html
but probably should have pointed out in terminfo(5) that there are
additional codes which are not part of acsc.
In any case, terminals that are "VT100-compatible" do not have unused
codes in the existing range to invent new mappings...
c) "outside of ncurses" could mean tput - but tput does not do translations
using acsc
d) alternatively, another application could make a user-defined capability
(using "tic -x") such as "wacsc" and assign whatever meaning it needs
for that.
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAlUSkqQACgkQcCNT4Pfkjtt1FQCeNplD6Ztc1sUu8GmVolJ1a3QB
EKcAni6dIAt68/cM6K0WVYt3eX/k8MCi
=CNSV
-----END PGP SIGNATURE-----
[Prev in Thread] | Current Thread | [Next in Thread] |