Bug#671227: ncurses-term: glitches in bterm

2012-06-04 Thread Sven Joachim
On 2012-05-13 11:09 +0200, Samuel Thibault wrote:

 Sven Joachim, le Sun 13 May 2012 10:31:29 +0200, a écrit :
 So now we have op=\E[49m\E[39m which does not resemble anything else in
 terminfo.src.  Samuel, does it work?

 Yes it does.

I uploaded ncurses 5.9-8 yesterday.  What remains to be done is to
rebuild bogl-bterm-udeb with the fixed ncurses-term, either via a binNMU
on all arches or with a sourceful upload (perhaps bumping Depends and
Build-Depends on ncurses-term to = 5.9-8).

Cheers,
   Sven



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#671227: ncurses-term: glitches in bterm

2012-06-04 Thread Samuel Thibault
Sven Joachim, le Mon 04 Jun 2012 20:44:38 +0200, a écrit :
 On 2012-05-13 11:09 +0200, Samuel Thibault wrote:
 
  Sven Joachim, le Sun 13 May 2012 10:31:29 +0200, a écrit :
  So now we have op=\E[49m\E[39m which does not resemble anything else in
  terminfo.src.  Samuel, does it work?
 
  Yes it does.
 
 I uploaded ncurses 5.9-8 yesterday.  What remains to be done is to
 rebuild bogl-bterm-udeb with the fixed ncurses-term, either via a binNMU
 on all arches or with a sourceful upload (perhaps bumping Depends and
 Build-Depends on ncurses-term to = 5.9-8).

Right, filed as Bug#676035.

Samuel



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#671227: ncurses-term: glitches in bterm

2012-05-13 Thread Sven Joachim
On 2012-05-13 01:30 +0200, Thomas Dickey wrote:

 On Sun, May 13, 2012 at 01:15:50AM +0200, Samuel Thibault wrote:
 Hello,
 
 Sven Joachim, le Wed 02 May 2012 17:13:07 +0200, a ?crit :
  |  acsc: '``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~', 
  'aajjkkllmmqqttuuxx'.
 
  |  op: NULL, '\E49;39m'.
 
 This is the culprit.
 
  |  sgr: '\E[0m%?%p1%t\E[7m%;%?%p2%t\E[4m%;', NULL.
  `
  
  There are comments in ncurses' misc/terminfo.src regarding the
  differences in acsc and sgr:
  
  ,
  | # Notes:
  | # bterm only supports acs using wide-characters, has case for these: 
  qjxamlkut
  | # bterm does not support sgr, since it only processes one parameter -TD
 
 for the same reason as sgr: \E49;39m is two parameters, which bterm can
 not grok. Dropping 'op' makes the glitches go away.

 oh.  Actually there are two errors: the string is also missing '[' after
 the 'E'.  I'll put out an improved version in tonight's patch (which I
 was almost done with...).

So now we have op=\E[49m\E[39m which does not resemble anything else in
terminfo.src.  Samuel, does it work?

Cheers,
   Sven



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#671227: ncurses-term: glitches in bterm

2012-05-13 Thread Samuel Thibault
Sven Joachim, le Sun 13 May 2012 10:31:29 +0200, a écrit :
 So now we have op=\E[49m\E[39m which does not resemble anything else in
 terminfo.src.  Samuel, does it work?

Yes it does. I had some other glitch, but that was due to a color
configuration in my .muttrc which was not taking into account that the
default might be black on white, and not white on black.

Samuel



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#671227: ncurses-term: glitches in bterm

2012-05-13 Thread Thomas Dickey
On Sun, May 13, 2012 at 11:09:47AM +0200, Samuel Thibault wrote:
 Sven Joachim, le Sun 13 May 2012 10:31:29 +0200, a ?crit :
  So now we have op=\E[49m\E[39m which does not resemble anything else in
  terminfo.src.  Samuel, does it work?
 
 Yes it does. I had some other glitch, but that was due to a color
 configuration in my .muttrc which was not taking into account that the
 default might be black on white, and not white on black.

sounds good.

I recall making that typo before, should add a warning to tic's checking, e.g.,
\E followed by something other than a digit or one of the special cases which
correspond to a C1 control.  It would take some tuning to make it usable
though...

-- 
Thomas E. Dickey dic...@invisible-island.net
http://invisible-island.net
ftp://invisible-island.net


signature.asc
Description: Digital signature


Bug#671227: ncurses-term: glitches in bterm

2012-05-12 Thread Samuel Thibault
Hello,

Sven Joachim, le Wed 02 May 2012 17:13:07 +0200, a écrit :
 | acsc: '``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~', 
 'aajjkkllmmqqttuuxx'.

 | op: NULL, '\E49;39m'.

This is the culprit.

 | sgr: '\E[0m%?%p1%t\E[7m%;%?%p2%t\E[4m%;', NULL.
 `
 
 There are comments in ncurses' misc/terminfo.src regarding the
 differences in acsc and sgr:
 
 ,
 | # Notes:
 | # bterm only supports acs using wide-characters, has case for these: 
 qjxamlkut
 | # bterm does not support sgr, since it only processes one parameter -TD

for the same reason as sgr: \E49;39m is two parameters, which bterm can
not grok. Dropping 'op' makes the glitches go away.

Samuel



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#671227: ncurses-term: glitches in bterm

2012-05-12 Thread Thomas Dickey
On Sun, May 13, 2012 at 01:15:50AM +0200, Samuel Thibault wrote:
 Hello,
 
 Sven Joachim, le Wed 02 May 2012 17:13:07 +0200, a ?crit :
  |   acsc: '``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~', 
  'aajjkkllmmqqttuuxx'.
 
  |   op: NULL, '\E49;39m'.
 
 This is the culprit.
 
  |   sgr: '\E[0m%?%p1%t\E[7m%;%?%p2%t\E[4m%;', NULL.
  `
  
  There are comments in ncurses' misc/terminfo.src regarding the
  differences in acsc and sgr:
  
  ,
  | # Notes:
  | # bterm only supports acs using wide-characters, has case for these: 
  qjxamlkut
  | # bterm does not support sgr, since it only processes one parameter -TD
 
 for the same reason as sgr: \E49;39m is two parameters, which bterm can
 not grok. Dropping 'op' makes the glitches go away.

oh.  Actually there are two errors: the string is also missing '[' after
the 'E'.  I'll put out an improved version in tonight's patch (which I
was almost done with...).

-- 
Thomas E. Dickey dic...@invisible-island.net
http://invisible-island.net
ftp://invisible-island.net


signature.asc
Description: Digital signature


Bug#671227: ncurses-term: glitches in bterm

2012-05-05 Thread Sven Joachim
[ Adding Samuel to CC. ]

On 2012-05-03 12:27 +0200, Thomas Dickey wrote:

 On Wed, May 02, 2012 at 05:13:07PM +0200, Sven Joachim wrote:
 Package: ncurses-term
 Version: 5.9-7
 Severity: normal
 
 On 2012-05-01 12:12 +0200, Samuel Thibault wrote:
 
  There is however apparently a discrepancy between the
  bogl-provided bterm and the ncurses-provided bterm (I assumed that they
  were the same, but they are not), resulting in quite a few glitches e.g.
  in mutt. The ncurses one is probably outdated, we will have to fix that.

 It would be nice to have details (or a screenshot).

Indeed.  Since I don't actually use bterm or mutt myself, this has to be
provided by Samuel, though.
  
 Running infocmp shows the following differences (bterm-bogl being the
 file from bogl 0.1.18-6, bterm-ncurses the file from ncurses-term
 5.9-7):
 
 ,
 | comparing bterm-bogl to bterm-ncurses.
 | comparing booleans.
 | comparing numbers.
 | comparing strings.
 |acsc: '``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~', 
 'aajjkkllmmqqttuuxx'.
 |op: NULL, '\E49;39m'.
 |sgr: '\E[0m%?%p1%t\E[7m%;%?%p2%t\E[4m%;', NULL.
 `
 
 There are comments in ncurses' misc/terminfo.src regarding the
 differences in acsc and sgr:
 
 ,
 | # Notes:
 | # bterm only supports acs using wide-characters, has case for these: 
 qjxamlkut
 | # bterm does not support sgr, since it only processes one parameter -TD
 `

 right (I read the source-code using the Debian package as a reference,
 and that's accurate enough barring updates past my review at the end of 2009).

Cheers,
   Sven



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#671227: ncurses-term: glitches in bterm

2012-05-03 Thread Thomas Dickey
On Wed, May 02, 2012 at 05:13:07PM +0200, Sven Joachim wrote:
 Package: ncurses-term
 Version: 5.9-7
 Severity: normal
 
 On 2012-05-01 12:12 +0200, Samuel Thibault wrote:
 
  There is however apparently a discrepancy between the
  bogl-provided bterm and the ncurses-provided bterm (I assumed that they
  were the same, but they are not), resulting in quite a few glitches e.g.
  in mutt. The ncurses one is probably outdated, we will have to fix that.

It would be nice to have details (or a screenshot).
 
 Running infocmp shows the following differences (bterm-bogl being the
 file from bogl 0.1.18-6, bterm-ncurses the file from ncurses-term
 5.9-7):
 
 ,
 | comparing bterm-bogl to bterm-ncurses.
 | comparing booleans.
 | comparing numbers.
 | comparing strings.
 | acsc: '``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~', 
 'aajjkkllmmqqttuuxx'.
 | op: NULL, '\E49;39m'.
 | sgr: '\E[0m%?%p1%t\E[7m%;%?%p2%t\E[4m%;', NULL.
 `
 
 There are comments in ncurses' misc/terminfo.src regarding the
 differences in acsc and sgr:
 
 ,
 | # Notes:
 | # bterm only supports acs using wide-characters, has case for these: 
 qjxamlkut
 | # bterm does not support sgr, since it only processes one parameter -TD
 `

right (I read the source-code using the Debian package as a reference,
and that's accurate enough barring updates past my review at the end of 2009).

-- 
Thomas E. Dickey dic...@invisible-island.net
http://invisible-island.net
ftp://invisible-island.net


signature.asc
Description: Digital signature


Bug#671227: ncurses-term: glitches in bterm

2012-05-02 Thread Sven Joachim
Package: ncurses-term
Version: 5.9-7
Severity: normal

On 2012-05-01 12:12 +0200, Samuel Thibault wrote:

 There is however apparently a discrepancy between the
 bogl-provided bterm and the ncurses-provided bterm (I assumed that they
 were the same, but they are not), resulting in quite a few glitches e.g.
 in mutt. The ncurses one is probably outdated, we will have to fix that.

Running infocmp shows the following differences (bterm-bogl being the
file from bogl 0.1.18-6, bterm-ncurses the file from ncurses-term
5.9-7):

,
| comparing bterm-bogl to bterm-ncurses.
| comparing booleans.
| comparing numbers.
| comparing strings.
|   acsc: '``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~', 
'aajjkkllmmqqttuuxx'.
|   op: NULL, '\E49;39m'.
|   sgr: '\E[0m%?%p1%t\E[7m%;%?%p2%t\E[4m%;', NULL.
`

There are comments in ncurses' misc/terminfo.src regarding the
differences in acsc and sgr:

,
| # Notes:
| # bterm only supports acs using wide-characters, has case for these: qjxamlkut
| # bterm does not support sgr, since it only processes one parameter -TD
`

Comments from Samuel (X-Debbugs-CC'ed) would be highly welcome.


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 3.4.0-rc5-nouveau (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org