On Tue, Jun 14, 2022 at 08:19:13PM +0800, Steven Shiau wrote:
> Package: ncurses-term
> Version: 6.3+20220423-2
> Severity: normal
> 
> Dear Maintainer,
> 
> Terminfo entry jfbterm should not be linked to kon. It causes CJK

That part's debatable (there probably are no active packages for either).
The entry you're commenting about dates from 2006.

REV:1.300               terminfo.src        2006/09/09 22:38:37       tom
tags:            v5_5_20060916, v5_5_20060909

   reviewed kon (kon2) and the later version jfbterm.  I can run the former,
   and read code for both.  Reviewing, I also noticed that linux was using
   invis, but that's incorrect.
...
# This is based on the Linux console (relies on the console to perform some
# of the functionality), but does not recognize as many control sequences.
# The program comes bundled with an old (circa 1998) copy of the Linux
# console terminfo.  It recognizes some non-ANSI/VT100 sequences such as
#       \E*     move cursor to home, as as \E[H
#       \E,X    same as \E(X
#       \EE     move cursor to beginning of row
#       \E[y,xf same as \E[y,xH
#
# Note: The status-line support is buggy (dsl does not work).
kon|kon2|jfbterm|Kanji ON Linux console,
        ccc@, hs,
        civis@, cnorm@, cvvis@, dsl=\E[?H, flash@, fsl=\E[?F, initc@,
        initp@, kcbt@, oc@, op=\E[37;40m, rs1=\Ec, tsl=\E[?T,
        use=linux,

Seeing the report, the obvious problem is that in updating "linux" to
use "linux2.6", I altered these (which inherit from "linux"):

# 2011-07-16
#       * add/use xterm+tmux chunk from xterm #271 -TD
#       * resync xterm-new entry from xterm #271 -TD
#       * add E3 extended capability to linux-basic (Miroslav Lichvar)
#       * add linux2.2, linux2.6, linux3.0 entries to give context for E3 -TD
#       * add SI/SO change to linux2.6 entry (Debian #515609) -TD

the smacs/rmacs are SI/SO.

There's a related enacs...

> (Chinese, Japanes, Korean) environment showing weird characters.
> The original terminfo entry jfbterm from it's orignal tarball 0.4.7,

...uploaded in 2011-11-18, using sources dated 2005-02-24.

The accompanying Debian patch takes out the dsl which I commented on.

> could be found here:
> https://launchpad.net/ubuntu/+source/jfbterm/0.4.7-9

However, comparing the 0.4.7 version, I see these differences:

        acsc: 
'++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~', 
'++\,\,--..00II``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~'.
        enacs: '\E)0', -.
        rmacs: '^O', '\E[10m'.
        smacs: '^N', '\E[11m'.

So the fix is to undo that detail.

Whether kon and jfbterm should/should not be linked depends on what kon
really does (I don't seem to have a source tarball for that at hand).

-- 
Thomas E. Dickey <dic...@invisible-island.net>
https://invisible-island.net
ftp://ftp.invisible-island.net

Attachment: signature.asc
Description: PGP signature

Reply via email to