Bug#531478: /etc/{kbd|console-tools}/remap not supported

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#531478: /etc/{kbd|console-tools}/remap not supported

Adeodato Simó-4
Package: kbd,console-setup

Hello,

I think /etc/console-tools/remap was a very nice feature; I've recently
purged console-* from my system except console-setup, and installed kbd
instead because console-logs needs that.

I saw, then, that kbd ships /etc/kbd/remap, and the init scripts
supports it. However, that code path is not executed when console-setup
is installed, which I guess will be mostly always in desktop machines,
since X depends on console-setup.

I miss this functionality, and I don't think we should ditch it because
it's very handy (just doing a couple adjustments in a keymap, eg. for
keybindings). I also found no documentation in console-setup about how
to achive something similar within that package. Additionally, I'll note
that the feature works just nice, and it could work if kbd's init script
came after console-setup's in the boot sequence.

Anyway. Could we get console-setup to support an /etc/console-setup/remap
file, or get kbd's one to work?

Thanks,

--
- Are you sure we're good?
- Always.
        -- Rory and Lorelai




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

Reply | Threaded
Open this post in threaded view
|

Bug#531478: /etc/{kbd|console-tools}/remap not supported

Anton Zinoviev
On Mon, Jun 01, 2009 at 10:19:45PM +0200, Adeodato Simó wrote:
>
> I miss this functionality, and I don't think we should ditch it because
> it's very handy (just doing a couple adjustments in a keymap, eg. for
> keybindings). I also found no documentation in console-setup about how
> to achive something similar within that package.

Can you specify what kind of remapping you are using?  Maybe it is
supported by xkb?

> Anyway. Could we get console-setup to support an /etc/console-setup/remap
> file, or get kbd's one to work?

XKB supports many options so in most case it should be possible to
configure properly the keyboard without remapping.  In cases when this
is not so I think it is better fill a wishlist bug report against
xkb-data than to use remapping as a quick hack.  I can make the keyboard
file for XKB if needed.

But to answer your question - yes, this is possible but I am reluctand
to do so.  I've noticed that in many occasions dumpkeys doesn't work
properly and I don't want to introduce in console-setup bugs that I will
be unable to fix.

Anton Zinoviev




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

Reply | Threaded
Open this post in threaded view
|

Bug#531478: /etc/{kbd|console-tools}/remap not supported

Adeodato Simó-4
+ Anton Zinoviev (Tue, 02 Jun 2009 23:59:55 +0300):

> On Mon, Jun 01, 2009 at 10:19:45PM +0200, Adeodato Simó wrote:

> > I miss this functionality, and I don't think we should ditch it because
> > it's very handy (just doing a couple adjustments in a keymap, eg. for
> > keybindings). I also found no documentation in console-setup about how
> > to achive something similar within that package.

> Can you specify what kind of remapping you are using?  Maybe it is
> supported by xkb?

Well, I purposedly mentioned the word "keybindings" above since that's
more akin to the use of remapping I'm making use. In particular, I'm
using:

  % cat /etc/kbd/remap
  # This sed script is run across the dumpkeys output to remap keys on the console
  $a\
  alt keycode 36 = Incr_Console \
  alt keycode 37 = Decr_Console

So I doubt that's going to be supported out of the box, and rightfully so.

> > Anyway. Could we get console-setup to support an /etc/console-setup/remap
> > file, or get kbd's one to work?

> XKB supports many options so in most case it should be possible to
> configure properly the keyboard without remapping.  In cases when this
> is not so I think it is better fill a wishlist bug report against
> xkb-data than to use remapping as a quick hack.  I can make the keyboard
> file for XKB if needed.

Well, as seen above, I'm wanting a rather console-specific mapping, and
other people could want for completely different keys, so I can't see
how that could fit for xkb-data.

> But to answer your question - yes, this is possible but I am reluctand
> to do so.  I've noticed that in many occasions dumpkeys doesn't work
> properly and I don't want to introduce in console-setup bugs that I will
> be unable to fix.

I see. Well, what procedure would you recommend for my use case above? :-)

Thanks,

--
- Are you sure we're good?
- Always.
        -- Rory and Lorelai




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

Reply | Threaded
Open this post in threaded view
|

Bug#531478: /etc/{kbd|console-tools}/remap not supported

Anton Zinoviev
On Wed, Jun 03, 2009 at 02:53:16PM +0200, Adeodato Simó wrote:
>
>   % cat /etc/kbd/remap
>   # This sed script is run across the dumpkeys output to remap keys on the console
>   $a\
>   alt keycode 36 = Incr_Console \
>   alt keycode 37 = Decr_Console
>
> I see. Well, what procedure would you recommend for my use case above? :-)

Well this doesn't require dumpkeys, but only appending the current
keymap.  This can be supported in a future console-setup. :-)

Anton Zinoviev




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

Reply | Threaded
Open this post in threaded view
|

Bug#531478: marked as done (/etc/{kbd|console-tools}/remap not supported)

Debian Bug Tracking System
In reply to this post by Adeodato Simó-4

Your message dated Sat, 04 Jul 2009 11:17:07 +0000
with message-id <[hidden email]>
and subject line Bug#531478: fixed in console-setup 1.37
has caused the Debian Bug report #531478,
regarding /etc/{kbd|console-tools}/remap not supported
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [hidden email]
immediately.)


--
531478: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=531478
Debian Bug Tracking System
Contact [hidden email] with problems

Package: kbd,console-setup

Hello,

I think /etc/console-tools/remap was a very nice feature; I've recently
purged console-* from my system except console-setup, and installed kbd
instead because console-logs needs that.

I saw, then, that kbd ships /etc/kbd/remap, and the init scripts
supports it. However, that code path is not executed when console-setup
is installed, which I guess will be mostly always in desktop machines,
since X depends on console-setup.

I miss this functionality, and I don't think we should ditch it because
it's very handy (just doing a couple adjustments in a keymap, eg. for
keybindings). I also found no documentation in console-setup about how
to achive something similar within that package. Additionally, I'll note
that the feature works just nice, and it could work if kbd's init script
came after console-setup's in the boot sequence.

Anyway. Could we get console-setup to support an /etc/console-setup/remap
file, or get kbd's one to work?

Thanks,

--
- Are you sure we're good?
- Always.
        -- Rory and Lorelai




Source: console-setup
Source-Version: 1.37

We believe that the bug you reported is fixed in the latest version of
console-setup, which is due to be installed in the Debian FTP archive:

bdf2psf_1.37_all.deb
  to pool/main/c/console-setup/bdf2psf_1.37_all.deb
console-setup-amiga-ekmap_1.37_all.udeb
  to pool/main/c/console-setup/console-setup-amiga-ekmap_1.37_all.udeb
console-setup-ataritt-ekmap_1.37_all.udeb
  to pool/main/c/console-setup/console-setup-ataritt-ekmap_1.37_all.udeb
console-setup-fonts-udeb_1.37_all.udeb
  to pool/main/c/console-setup/console-setup-fonts-udeb_1.37_all.udeb
console-setup-macintoshold-ekmap_1.37_all.udeb
  to pool/main/c/console-setup/console-setup-macintoshold-ekmap_1.37_all.udeb
console-setup-mini_1.37_all.deb
  to pool/main/c/console-setup/console-setup-mini_1.37_all.deb
console-setup-pc-ekmap_1.37_all.udeb
  to pool/main/c/console-setup/console-setup-pc-ekmap_1.37_all.udeb
console-setup-sun4-ekmap_1.37_all.udeb
  to pool/main/c/console-setup/console-setup-sun4-ekmap_1.37_all.udeb
console-setup-sun5-ekmap_1.37_all.udeb
  to pool/main/c/console-setup/console-setup-sun5-ekmap_1.37_all.udeb
console-setup-udeb_1.37_all.udeb
  to pool/main/c/console-setup/console-setup-udeb_1.37_all.udeb
console-setup_1.37.dsc
  to pool/main/c/console-setup/console-setup_1.37.dsc
console-setup_1.37.tar.gz
  to pool/main/c/console-setup/console-setup_1.37.tar.gz
console-setup_1.37_all.deb
  to pool/main/c/console-setup/console-setup_1.37_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [hidden email],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Anton Zinoviev <[hidden email]> (supplier of updated console-setup package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [hidden email])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 04 Jul 2009 13:11:07 +0300
Source: console-setup
Binary: console-setup console-setup-mini bdf2psf console-setup-udeb console-setup-amiga-ekmap console-setup-ataritt-ekmap console-setup-macintoshold-ekmap console-setup-pc-ekmap console-setup-sun4-ekmap console-setup-sun5-ekmap console-setup-fonts-udeb
Architecture: source all
Version: 1.37
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <[hidden email]>
Changed-By: Anton Zinoviev <[hidden email]>
Description:
 bdf2psf    - font converter to generate console fonts from BDF source fonts
 console-setup - console font and keymap setup program
 console-setup-amiga-ekmap - encoded keyboard layouts for Amiga keyboards (udeb)
 console-setup-ataritt-ekmap - encoded keyboard layouts for Atari TT keyboards (udeb)
 console-setup-fonts-udeb - console fonts for Debian Installer (udeb)
 console-setup-macintoshold-ekmap - encoded keyboard layouts for old-style Macintosh keyboards (udeb)
 console-setup-mini - console font and keymap setup program - reduced version
 console-setup-pc-ekmap - encoded keyboard layouts for PC keyboards (udeb)
 console-setup-sun4-ekmap - encoded keyboard layouts for Sun4 keyboards (udeb)
 console-setup-sun5-ekmap - encoded keyboard layouts for Sun5 keyboards (udeb)
 console-setup-udeb - Configure the keyboard (udeb)
Closes: 524233 524239 527620 529574 529643 529860 531292 531478 531482
Changes:
 console-setup (1.37) unstable; urgency=low
 .
   [ Otavio Salvador ]
   * Use 'dpkg --print-architecture' in debconf config script. Closes: #529574
 .
   [ Christian Perrier ]
   * Add D-I localization sublevels markers.
 .
   [ Debconf translations ]
   * Swedish. Closes: #529860
 .
   [ Anton Zinoviev ]
   * ask_debconf function in the config script: do not ask the question
     when there is only one available option.  Thanks to Christian Perrier,
     closes: #529643.
   * config.proto: use explicitely pc105 as keyboard model on hppa.  Thanks
     to Samuel Thibault, closes: #531482.  I think hil keyboards were
     used only with old kernels and we won't find volunteer to test
     console-setup with such keyboards.
   * Add support for evdev keycodes.  Thanks to Samuel Thibault.
   * Do not define keys with only VoidSymbols.
   * Document in README.Debian which package configures the console when
     several console-configuring packages are installed.  Thanks to Kurt
     Roeckx, closes: #524233, #524239.
   * Compressed translations (size reduced from 1.1M to 200K).
   * Install uncompressed fonts in console-setup-fonts-udeb and
     console-setup-mini (setfont can not load compressed fonts if gunzip is
     not installed).  Thanks to Miroslav Kure.
   * Do not change the priority of the layout questions if preseeding is
     used.  This was the reason why keyboard could not be reconfigured in
     d-i.  Thanks to Christian Perrier.
   * Document in the default configuration file that HAL needs to be
     restarted if the file is changed.  Thanks to Petr Baudis,
     closes: #527620.
   * Do not issue warnings for unknown keycodes with AT keyboards (these
     are multimedia keys and they are unnecessary on the console).  Thanks
     to Anders Lagerås, closes: #531292.
   * Support for /etc/console-setup/remap.inc.  Thanks to Adeodato Simó,
     closes: #531478.
   * Respect the selected choices on <Go Back>.  Thanks to Frans Pop.
   * Do not ask charmap question in the udeb.  Thanks to Frans Pop.
   * Remove comments and indentation space from the scripts in
     console-setup-udeb and console-setup-mini in order to save space.
     Thanks to Frans Pop.
   * Allow Debconf to save charmap != UTF-8 in the configuration file even
     when console-setup-udeb or console-setup-mini is used.
   * Remove the model question from console-setup-udeb and console-setup-mini.
     By default do not change the keyboard when the model is unknown.
   * Remove the ttys question.
   * Do not ask questions when no keyboard is present.  Thanks for Frans
     Pop for requesting the feature and providing information.
   * Some code cleanup in the config script.
   * Delete .cvsignore and .svn in all udebs.
   * Remove the dependency on console-setup-fonts-udeb in console-setup-udeb.
Checksums-Sha1:
 8be77ddfafd1b826e44f915740259743a22c5d16 1222 console-setup_1.37.dsc
 aa73187b29a70e2eb2c56f91e47e40844f7833b6 2383504 console-setup_1.37.tar.gz
 e0ac383da94aa40dbb33866db196d29eb319fb70 709030 console-setup_1.37_all.deb
 be2fb4eec5c9f1e4c93ee93a1ff26775938ee6bf 877076 console-setup-mini_1.37_all.deb
 851e6fc50c85e8e3f38302121094d24174faa303 39822 bdf2psf_1.37_all.deb
 0b7a925476892a4c7ee648776299dae647401a49 224286 console-setup-udeb_1.37_all.udeb
 3dc8897139eeb37d92ae7e312306e20f65eb6cfc 104356 console-setup-amiga-ekmap_1.37_all.udeb
 d7df61952dbf52f9153c13c7a07bfbecb83af39e 103374 console-setup-ataritt-ekmap_1.37_all.udeb
 321820b6aef26dc08724e78814d913cb662b8dd6 81808 console-setup-macintoshold-ekmap_1.37_all.udeb
 a74af354187305192eeb8e9cf93cd1b34c6c8447 108406 console-setup-pc-ekmap_1.37_all.udeb
 6823ae3e158098c864f359ae618e60ffd72aab49 105504 console-setup-sun4-ekmap_1.37_all.udeb
 37957c9005c5fce72706e74ea1f628bea7864b35 105886 console-setup-sun5-ekmap_1.37_all.udeb
 22a705f79f5f2d7df5c4838644d864c553758ff0 27376 console-setup-fonts-udeb_1.37_all.udeb
Checksums-Sha256:
 6a531936c71f27dfe7bd380c90f56a4cd75fc3ec32e9770a14067fa46d1e9442 1222 console-setup_1.37.dsc
 08324c512027d7f7b2b6820b407367538681b11506e8a30a8d892d41f4b69265 2383504 console-setup_1.37.tar.gz
 fd61f49df4853238870cc010fd9be658089dc8e0d3739488f5544eb87eab9dde 709030 console-setup_1.37_all.deb
 e044217b7c4e05583f59c76c857dab943dd1b2182bbcfd51615f67500d500702 877076 console-setup-mini_1.37_all.deb
 1b0fd4dccf33243f0261d4fafe943f8028f4ab695b5a810455ddc5d5c871ca09 39822 bdf2psf_1.37_all.deb
 6aa36cf4a26fcc070808c28b7d704625ce921672eabd50497caf57f374873d23 224286 console-setup-udeb_1.37_all.udeb
 089d21b53dd96b45f323d307f5e72a4b7f68b649bf1f50961b1fb56b03a61080 104356 console-setup-amiga-ekmap_1.37_all.udeb
 9f423469098c2c99691e8badf10097d6f9eb1bdf71a112ddd7b63100f9af9f00 103374 console-setup-ataritt-ekmap_1.37_all.udeb
 e5cddc09a2c2d7f0d867df7fce1fb19edf41b1ea84e25c2dbb734a020d68e286 81808 console-setup-macintoshold-ekmap_1.37_all.udeb
 67558b8912b6978647797aea366a4c30cd4561c52576b0d6596d63819f8406b4 108406 console-setup-pc-ekmap_1.37_all.udeb
 a35ceedc361d6931dbbe9ee59ce18cd68d014834fefdea2c7a63c04fd942572f 105504 console-setup-sun4-ekmap_1.37_all.udeb
 4acef26e92ee4cac8b8e6368328888cecdeddd9b6535308d78cd8fd514f9ee58 105886 console-setup-sun5-ekmap_1.37_all.udeb
 dfe74746f605b9f07337ed80309c1e4c3e091e09d68aa7d25df9fecd38d09569 27376 console-setup-fonts-udeb_1.37_all.udeb
Files:
 0867d9c9b574ad7ffb7002250cca33d2 1222 utils optional console-setup_1.37.dsc
 6fd4d795990725976edcf1cb5794d39e 2383504 utils optional console-setup_1.37.tar.gz
 74abd7552a8ff5d1ca840cb4d6549416 709030 utils optional console-setup_1.37_all.deb
 2b41744241e4ace2de4470bc0ef13b69 877076 utils extra console-setup-mini_1.37_all.deb
 8111dba489527f7df8669d8b60fab624 39822 utils optional bdf2psf_1.37_all.deb
 1099e96ad20f37154a80024efd156896 224286 debian-installer extra console-setup-udeb_1.37_all.udeb
 51d8ae74aa4811c40533bddd2acbfb16 104356 debian-installer extra console-setup-amiga-ekmap_1.37_all.udeb
 2898b4bdf0aae93f5313022df3764d29 103374 debian-installer extra console-setup-ataritt-ekmap_1.37_all.udeb
 f21265d2d17164e6ff27cb3795326593 81808 debian-installer extra console-setup-macintoshold-ekmap_1.37_all.udeb
 a2b3003e59f017cdbaaa7b0c94458aeb 108406 debian-installer extra console-setup-pc-ekmap_1.37_all.udeb
 44ee51162430dc4485727bf5d33ac140 105504 debian-installer extra console-setup-sun4-ekmap_1.37_all.udeb
 5893acedc439950d0c61ab84fbb05413 105886 debian-installer extra console-setup-sun5-ekmap_1.37_all.udeb
 2d1c95c8a0834b254cb73fda166a560e 27376 debian-installer extra console-setup-fonts-udeb_1.37_all.udeb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFKTzgsJP1eZJv0KwcRAhWxAJwLF+F85wTsj13eU22IUNDenyml0gCfQ92F
PigrlYkkENP+0HXFJX2wurE=
=tXcs
-----END PGP SIGNATURE-----