Package: console-data
Version: 1.03-1
Severity: wishlist
X-Debbugs-CC: [EMAIL PROTECTED]

Some ACM files of `console-data' are written in the quoted character
format, using single characters as translation stuff.  This
representation is incompatible with the specification defined in [1]:

--cut: mapscrn(1)--
       Values in the file may be specified in one of several formats:
       [...]
       5. Character: Single character enclosed  in  single  quotes.  (And  the
       binary  value  is used.)  Note that blank, comma, tab character and '#'
       cannot be specified with this format.
--cut: mapscrn(1)--

It breaks when `setfont -m' is invoked on one of such files, e. g.:

$ setfont koi8b-8x16 -m koi8-r -u koi8-r
Error parsing symbolic map from `/usr/share/consoletrans/koi8-r.acm.gz', line 5

The given question will be settled if to set `U+0023' instead of `#'
in the all problem files:

bulgarian-mic.acm
cp1251.acm
cp866.acm
koi8-r.acm
MacCyrillic.acm

It's interesting that `setfont -m' is able to parse comma character
contrary to mapscrn(1).  Blank and tab characters weren't put in
the files mentioned above.

References

1. mapscrn(1), as of `kbd' version `1.12-19'.

Below attached diff for the problem ACM files.

diff -drHuN console-data-1-03-1-orig/bulgarian-mic.acm
console-data-1-03-1-my/bulgarian-mic.acm
--- console-data-1-03-1-orig/bulgarian-mic.acm  2007-05-09
00:00:08.000000000 +0700
+++ console-data-1-03-1-my/bulgarian-mic.acm    2007-10-17
02:12:53.000000000 +0700
@@ -1,7 +1,7 @@
 # Made by makeacm script (c) 1999 by Victor Wagner <[EMAIL PROTECTED]>
 0x21   '!'
 0x22   '"'
-0x23   '#'
+0x23   U+0023
 0x24   '$'
 0x25   '%'
 0x26   '&'
diff -drHuN console-data-1-03-1-orig/cp1251.acm
console-data-1-03-1-my/cp1251.acm
--- console-data-1-03-1-orig/cp1251.acm 2007-05-09 00:00:08.000000000 +0700
+++ console-data-1-03-1-my/cp1251.acm   2007-10-17 02:01:52.000000000 +0700
@@ -1,7 +1,7 @@
 # Made by makeacm script (c) 1999 by Victor Wagner <[EMAIL PROTECTED]>
 0x21   '!'
 0x22   '"'
-0x23   '#'
+0x23   U+0023
 0x24   '$'
 0x25   '%'
 0x26   '&'
diff -drHuN console-data-1-03-1-orig/cp866.acm console-data-1-03-1-my/cp866.acm
--- console-data-1-03-1-orig/cp866.acm  2007-05-09 00:00:08.000000000 +0700
+++ console-data-1-03-1-my/cp866.acm    2007-10-17 02:03:32.000000000 +0700
@@ -1,7 +1,7 @@
 # Made by makeacm script (c) 1999 by Victor Wagner <[EMAIL PROTECTED]>
 0x21   '!'
 0x22   '"'
-0x23   '#'
+0x23   U+0023
 0x24   '$'
 0x25   '%'
 0x26   '&'
diff -drHuN console-data-1-03-1-orig/koi8-r.acm
console-data-1-03-1-my/koi8-r.acm
--- console-data-1-03-1-orig/koi8-r.acm 2007-05-09 00:00:08.000000000 +0700
+++ console-data-1-03-1-my/koi8-r.acm   2007-10-17 02:04:01.000000000 +0700
@@ -2,7 +2,7 @@

 0x21   '!'
 0x22   '"'
-0x23   '#'
+0x23   U+0023
 0x24   '$'
 0x25   '%'
 0x26   '&'
diff -drHuN console-data-1-03-1-orig/MacCyrillic.acm
console-data-1-03-1-my/MacCyrillic.acm
--- console-data-1-03-1-orig/MacCyrillic.acm    2007-05-09
00:00:08.000000000 +0700
+++ console-data-1-03-1-my/MacCyrillic.acm      2007-10-17
02:04:22.000000000 +0700
@@ -1,7 +1,7 @@
 # Made by makeacm script (c) 1999 by Victor Wagner <[EMAIL PROTECTED]>
 0x21   '!'
 0x22   '"'
-0x23   '#'
+0x23   U+0023
 0x24   '$'
 0x25   '%'
 0x26   '&'



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to