bug-ncurses
[Top][All Lists]
Advanced

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

Re: Double line borders


From: Thomas Dickey
Subject: Re: Double line borders
Date: Wed, 25 Mar 2015 06:49:08 -0400
User-agent: Mutt/1.5.20 (2009-06-14)

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

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]