Bug#360813: kbd: Add braille key names

2007-06-08 Thread Samuel Thibault
Hi,

Denis Barbier, le Tue 04 Apr 2006 23:21:37 +0200, a écrit :
> On Tue, Apr 04, 2006 at 10:42:52PM +0200, Samuel Thibault wrote:
> > If this is ok, I'll additionally patch keymaps for mapping
> > alt-altgr-[ASDFJKLM] to braille dots.
> 
> Please do, keymaps are shipped in console-data.
> But note that we have not yet switched from console-tools to kbd,
> Alastair may want to wait for this switch before patching keymaps.

Has the switch occured?

Samuel



Bug#360813: kbd: Add braille key names

2006-11-14 Thread Denis Barbier
On Tue, Nov 14, 2006 at 10:47:05PM +0100, Samuel Thibault wrote:
> Hi,
> 
> Oh, I left this behind:
> 
> Denis Barbier, le Tue 04 Apr 2006 23:21:37 +0200, a écrit :
> > On Tue, Apr 04, 2006 at 10:42:52PM +0200, Samuel Thibault wrote:
> > > If this is ok, I'll additionally patch keymaps for mapping
> > > alt-altgr-[ASDFJKLM] to braille dots.
> > 
> > Please do, keymaps are shipped in console-data.
> > But note that we have not yet switched from console-tools to kbd,
> > Alastair may want to wait for this switch before patching keymaps.
> 
> I guess the switch has occurred since?

No, but your patch has also been committed into console-tools, see #360864.

> (yes, I know, Etch is pending, I'm just wondering whether I can work as
> soon as now on kbd files).

Denis



Bug#360813: kbd: Add braille key names

2006-11-14 Thread Samuel Thibault
Denis Barbier, le Tue 14 Nov 2006 23:11:55 +0100, a écrit :
> On Tue, Nov 14, 2006 at 10:47:05PM +0100, Samuel Thibault wrote:
> > Oh, I left this behind:
> > 
> > Denis Barbier, le Tue 04 Apr 2006 23:21:37 +0200, a écrit :
> > > On Tue, Apr 04, 2006 at 10:42:52PM +0200, Samuel Thibault wrote:
> > > > If this is ok, I'll additionally patch keymaps for mapping
> > > > alt-altgr-[ASDFJKLM] to braille dots.
> > > 
> > > Please do, keymaps are shipped in console-data.
> > > But note that we have not yet switched from console-tools to kbd,
> > > Alastair may want to wait for this switch before patching keymaps.
> > 
> > I guess the switch has occurred since?
> 
> No, but your patch has also been committed into console-tools, see #360864.

Ok. Should I submit a separate bug report for the keymap patch, which
you may poke when the switch occurs?

Samuel


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



Bug#360813: kbd: Add braille key names

2006-11-14 Thread Samuel Thibault
Hi,

Oh, I left this behind:

Denis Barbier, le Tue 04 Apr 2006 23:21:37 +0200, a écrit :
> On Tue, Apr 04, 2006 at 10:42:52PM +0200, Samuel Thibault wrote:
> > If this is ok, I'll additionally patch keymaps for mapping
> > alt-altgr-[ASDFJKLM] to braille dots.
> 
> Please do, keymaps are shipped in console-data.
> But note that we have not yet switched from console-tools to kbd,
> Alastair may want to wait for this switch before patching keymaps.

I guess the switch has occurred since?

(yes, I know, Etch is pending, I'm just wondering whether I can work as
soon as now on kbd files).

Samuel


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



Bug#360813: kbd: Add braille key names

2006-04-05 Thread Samuel Thibault
Denis Barbier, le Wed 05 Apr 2006 07:03:20 +0200, a écrit :
> It seems that KT_BRL will be set to 14 and not 13, so I slightly
> modified your patch, here it is.

Ah, oops, sorry, indeed, I forgot the "dead2" slot.

Regards,
Samuel



Bug#360813: kbd: Add braille key names

2006-04-04 Thread Denis Barbier
clone 360813 -1
reassign -1 console-tools
thanks

On Wed, Apr 05, 2006 at 12:31:35AM +0200, Samuel Thibault wrote:
> Denis Barbier, le Tue 04 Apr 2006 23:21:37 +0200, a écrit :
> > > If this is ok, I'll additionally patch keymaps for mapping
> > > alt-altgr-[ASDFJKLM] to braille dots.
> > 
> > Please do, keymaps are shipped in console-data.
> 
> Ok.
> 
> > But note that we have not yet switched from console-tools to kbd,
> 
> Ah. Should I also submit a patch to console-tools for braille keysym
> names?

No need to, let's play with control bot ;)

It seems that KT_BRL will be set to 14 and not 13, so I slightly
modified your patch, here it is.

Denis
diff -upr kbd-1.12/src/ksyms.c kbd-1.12-mine/src/ksyms.c
--- kbd-1.12/src/ksyms.c2006-04-04 22:15:32.0 +0200
+++ kbd-1.12-mine/src/ksyms.c   2006-04-04 22:14:59.0 +0200
@@ -1498,6 +1498,20 @@
"SCtrlR"
 };
 
+/* Keysyms whose KTYP is KT_BRL. */
+
+static const char *brl_syms[] = {
+   "Brl_blank",
+   "Brl_dot1",
+   "Brl_dot2",
+   "Brl_dot3",
+   "Brl_dot4",
+   "Brl_dot5",
+   "Brl_dot6",
+   "Brl_dot7",
+   "Brl_dot8"
+};
+
 #define E(x) { x, sizeof(x) / sizeof(x[0]) }
 
 syms_entry syms[] = {
@@ -1513,7 +1527,9 @@ syms_entry syms[] = {
E(ascii_syms),  /* KT_ASCII */
E(lock_syms),   /* KT_LOCK */
{ 0, 0 },   /* KT_LETTER */
-   E(sticky_syms)  /* KT_SLOCK */
+   E(sticky_syms), /* KT_SLOCK */
+   { 0, 0 },   /* */
+   E(brl_syms) /* KT_BRL */
 };
 
 #undef E


Bug#360813: kbd: Add braille key names

2006-04-04 Thread Samuel Thibault
Denis Barbier, le Tue 04 Apr 2006 23:21:37 +0200, a écrit :
> > If this is ok, I'll additionally patch keymaps for mapping
> > alt-altgr-[ASDFJKLM] to braille dots.
> 
> Please do, keymaps are shipped in console-data.

Ok.

> But note that we have not yet switched from console-tools to kbd,

Ah. Should I also submit a patch to console-tools for braille keysym
names?

> Alastair may want to wait for this switch before patching keymaps.

Ok.

Regards,
Samuel


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



Bug#360813: kbd: Add braille key names

2006-04-04 Thread Denis Barbier
tags 360813 + pending
thanks

On Tue, Apr 04, 2006 at 10:42:52PM +0200, Samuel Thibault wrote:
> Package: kbd
> Version: 1.12-13
> Severity: wishlist
> Tags: patch
> 
> Hi,
> 
> Linux 2.6.17-rc1 introduces braille keysyms, here is a patch for giving
> them names.

Committed, thanks.

> If this is ok, I'll additionally patch keymaps for mapping
> alt-altgr-[ASDFJKLM] to braille dots.

Please do, keymaps are shipped in console-data.
But note that we have not yet switched from console-tools to kbd,
Alastair may want to wait for this switch before patching keymaps.

Denis


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



Bug#360813: kbd: Add braille key names

2006-04-04 Thread Samuel Thibault
Package: kbd
Version: 1.12-13
Severity: wishlist
Tags: patch

Hi,

Linux 2.6.17-rc1 introduces braille keysyms, here is a patch for giving
them names.

If this is ok, I'll additionally patch keymaps for mapping
alt-altgr-[ASDFJKLM] to braille dots.

Regards,
Samuel

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages kbd depends on:
ii  console-common   0.7.55.1Basic infrastructure for text cons
ii  dpkg 1.13.17 package maintenance system for Deb
ii  libc62.3.6-4 GNU C Library: Shared libraries an
ii  sysvinit 2.86.ds1-14 System-V-like init utilities

Versions of packages kbd recommends:
ii  console-data  20060317   Keymaps, fonts, charset maps, fall

-- no debconf information
diff -upr kbd-1.12/src/ksyms.c kbd-1.12-mine/src/ksyms.c
--- kbd-1.12/src/ksyms.c2006-04-04 22:15:32.0 +0200
+++ kbd-1.12-mine/src/ksyms.c   2006-04-04 22:14:59.0 +0200
@@ -1498,6 +1498,20 @@
"SCtrlR"
 };
 
+/* Keysyms whose KTYP is KT_BRL. */
+
+static const char *brl_syms[] = {
+   "Brl_blank",
+   "Brl_dot1",
+   "Brl_dot2",
+   "Brl_dot3",
+   "Brl_dot4",
+   "Brl_dot5",
+   "Brl_dot6",
+   "Brl_dot7",
+   "Brl_dot8"
+};
+
 #define E(x) { x, sizeof(x) / sizeof(x[0]) }
 
 syms_entry syms[] = {
@@ -1513,7 +1527,8 @@ syms_entry syms[] = {
E(ascii_syms),  /* KT_ASCII */
E(lock_syms),   /* KT_LOCK */
{ 0, 0 },   /* KT_LETTER */
-   E(sticky_syms)  /* KT_SLOCK */
+   E(sticky_syms), /* KT_SLOCK */
+   E(brl_syms) /* KT_BRL */
 };
 
 #undef E