Re: Setting console keybindings

2001-01-18 Thread MH
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

> "Paul" == Paul D Smith <[EMAIL PROTECTED]> writes:

Paul> This sounds promising, but I can't find a package that
Paul> contains these things, after apt-cache search'ing on
Paul> loadkeys, keymap, dumpkeys, etc. etc.

Paul> Any hints?

dpkg -S loadkeys
console-tools: /usr/share/man/man1/loadkeys.1.gz
console-tools: /bin/loadkeys

Should be console-tools, then ...

HTH

MH
- -- 
(Dr.) Michael Hummel
mailto: [EMAIL PROTECTED] || [EMAIL PROTECTED]
- --
fprint = F24D EAC6 E3D7 372C 9122 D510 EB24 01CA 0B56 B518
id: 1024D/0B56B518 key: http://www.seitung.net/key
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.5 and Gnu Privacy Guard 


iD8DBQE6ZiSq6yQBygtWtRgRAt1kAJ44XA9NlonNRiDZokuoSNhG7bs/BgCfTyih
KJczdWSsACuGADDC8WL0kDs=
=C71V
-END PGP SIGNATURE-



Re: Setting console keybindings

2001-01-17 Thread Paul D. Smith
%% MH <[EMAIL PROTECTED]> writes:

  m> What's about using loadkeys and other keymap-utilities...

This sounds promising, but I can't find a package that contains these
things, after apt-cache search'ing on loadkeys, keymap, dumpkeys,
etc. etc.

Any hints?

Thanks!

-- 
---
 Paul D. Smith <[EMAIL PROTECTED]>HASMAT--HA Software Methods & Tools
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
---
   These are my opinions---Nortel Networks takes no responsibility for them.



Re: Setting console keybindings

2001-01-16 Thread MH
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

> "Paul" == Paul D Smith <[EMAIL PROTECTED]> writes:
 
 
Paul> It's sure a shame that there's no way to include extra,
Paul> user-specifiable settings that don't require modification of
Paul> standard files; say you create a
Paul> /etc/console-tools/user.kmap file and the toolset
Paul> automatically appends the contents of that file to the
Paul> default keymap when it builds it, or something.

What's about using loadkeys and other keymap-utilities...

Dump the contents of the keymap with dumpkeys; edit this file at your
taste; save it and call it at your login ( in .bash_profile .zlogin or
according to whatever shell you are using) with:

loadkeys mykeymap

Everything at user level and it's working fine.

man loadkeys dumpkeys showkey & Keyboard-and-Console-HOWTO at
www.linuxdoc.org/HOWTO/Keyboard-and-Console-HOWTO.html
HTH

MH

- -- 
(Dr.) Michael Hummel
mailto: [EMAIL PROTECTED] || [EMAIL PROTECTED]
- --
fprint = F24D EAC6 E3D7 372C 9122 D510 EB24 01CA 0B56 B518
id: 1024D/0B56B518 key: http://www.seitung.net/key
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.5 and Gnu Privacy Guard 


iD8DBQE6ZMKp6yQBygtWtRgRAq29AJ9LIWgrU0+koAkaFf3yB9NYn5SkpACff8U9
HqzDlqnfQau3aOytvpiBuBs=
=sm01
-END PGP SIGNATURE-



Re: Setting console keybindings

2001-01-16 Thread Paul D. Smith
%% [EMAIL PROTECTED] writes:

  m> Once you have built the keymap file that you want, store it in
  m> /etc/console-tools/default.kmap.gz. It will then get loaded at boot
  m> time and will not be disturbed by package updates.

OK.

But, it still seems to me that if I rerun kbdconfig or whatever it will
copy a new keymap and overwrite my current default.kmap.gz.  Right?
Sure, probably it'll ask me first, then I can go back and do that same
modification to the new keysym file.

It's sure a shame that there's no way to include extra, user-specifiable
settings that don't require modification of standard files; say you
create a /etc/console-tools/user.kmap file and the toolset automatically
appends the contents of that file to the default keymap when it builds
it, or something.

Thanks.

-- 
---
 Paul D. Smith <[EMAIL PROTECTED]>HASMAT--HA Software Methods & Tools
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
---
   These are my opinions---Nortel Networks takes no responsibility for them.



Re: Setting console keybindings

2001-01-16 Thread mark
On Tue, Jan 16, 2001 at 03:04:27PM -0500, Paul D. Smith wrote:
> What's the good/right/proper way to set console keysyms?
> 
> I want to change the CapsLock key to a CTRL key in my Linux console.  I
> see that there are two packages which manage this, either kbd or
> console-tools.  The latter is installed by default; is this the
> preferred tool going forward?
> 
> With either of these I don't really see any way to customize the keymap
> that it installs; I could edit the default keymap before or after
> installation, but I would much prefer to come up with some out-of-band
> way of adding an override for this.  I'm worried that if I modify these
> files my changes will just get overwritten when I upgrade these
> packages.
> 

Once you have built the keymap file that you want, store it in
/etc/console-tools/default.kmap.gz. It will then get loaded at boot
time and will not be disturbed by package updates.

-- Mark



Setting console keybindings

2001-01-16 Thread Paul D. Smith
What's the good/right/proper way to set console keysyms?

I want to change the CapsLock key to a CTRL key in my Linux console.  I
see that there are two packages which manage this, either kbd or
console-tools.  The latter is installed by default; is this the
preferred tool going forward?

With either of these I don't really see any way to customize the keymap
that it installs; I could edit the default keymap before or after
installation, but I would much prefer to come up with some out-of-band
way of adding an override for this.  I'm worried that if I modify these
files my changes will just get overwritten when I upgrade these
packages.

Thanks for any hints!


PS. Do people realize the FAQ-O-Matic is down?

-- 
---
 Paul D. Smith <[EMAIL PROTECTED]>HASMAT--HA Software Methods & Tools
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
---
   These are my opinions---Nortel Networks takes no responsibility for them.