How to disable dead keys?

J

Johan Parin

Hi all,

I'm running Win2K and using a Swedish keyboard. I do *not* want the
dead key functionality, i.e. if I type e.g. tilde nothing happens
until I type the next character. It seems that in my case it affects
tilde, caret, backquote, and doble dot. I have tried to set input
language to both Swedish and English (United States) in the control
panel, but neither helps. Searching Google I have found some responses
suggesting setting keyboard to U.S., but of course that doesn't apply
in my case since I have a keyboard with Swedish layout.

So is there a way to accomplish this?
 
J

Johan Parin

Pegasus said:
You can also use remapkey.exe (Win2000 Resource Kit).

Thanks, but I can't find this utility at
ftp://ftp.microsoft.com/reskit/win2000/ or by searching the web. What I
did find however was some descriptions of how it works. It seems like it
will only allow one to move keys around, not to change the function of a
key. I don't see how that will help me. Perhaps I wasn't clear in my
original message. When I type e.g. tilde I want a tilde to appear
immediately. I don't want to have to type space after it.
 
P

Pegasus \(MVP\)

I copied the "shift" key over the "tab" key. Now when I press
"shift" I still get "shift", and when I press "tab" I also get "shift".

The tool is in my Win2000 Resource Kit, which I purchased.
 
J

Johan Parin

Pegasus said:
I copied the "shift" key over the "tab" key. Now when I press
"shift" I still get "shift", and when I press "tab" I also get "shift".

I still don't see how that would help in any way to disable the "dead
key" functionality.
 
P

Pegasus \(MVP\)

You're a hard man to please . . .

Take this as an example:
- I have a standard US keyboard.
- To the left of the letter "P" I have the square brackets [ ].
- When I load the Swedish keyboard layout, "[" becomes å
and "]" turns into a dead key: the first depression appears
to have no effect but the second depression gives me two
sets of double-dots like the ones you have on the letter "ä".
This is what I believe your problem is.
- If I now use remapkey.exe to place the shift key function
over the "]" character then I can press the "]" key as
many times as I like, and nothing happens (because it is
now the same as the standard "shift" key). It no longer
functions as a dead key. This is independet of any keyboard
language I choose.

Jag hoppas att du är nöjd nu!
 
J

Johan Parin

Pegasus said:
You're a hard man to please . . .

Yes I know ;)
Take this as an example:
- I have a standard US keyboard.
- To the left of the letter "P" I have the square brackets [ ].
- When I load the Swedish keyboard layout, "[" becomes å
and "]" turns into a dead key: the first depression appears
to have no effect but the second depression gives me two
sets of double-dots like the ones you have on the letter "ä".
This is what I believe your problem is.
- If I now use remapkey.exe to place the shift key function
over the "]" character then I can press the "]" key as
many times as I like, and nothing happens (because it is
now the same as the standard "shift" key). It no longer
functions as a dead key. This is independet of any keyboard
language I choose.

Jag hoppas att du är nöjd nu!

Well, unfortunately not quite. I will use your example to explain why.

In your example you have simply disabled a key you don't need (the one
containing the two dots). You have mapped a different existing key (the
shift key) to the key you want to completely disable. Presumably you
don't event use this key any more.

(As a side issue, you seem to load a keyboard layout that does not
correspond to the actual keyboard you have, which seems to require
shifting keyboard layout setting depending on if you want square
brackets or Swedish characters)

In my case, I have a key which looks like below (use a fixed-size font):

+--------------+-----------+
| ^ (caret) | |
+--------------+-----------+
| <double dot> | ~ (tilde) |
+--------------+-----------+

Now, the only place on my keyboard that I have caret and tilde is this
key (of course). I need tilde and caret. I don't need double-dot, but I
don't care if it's there. It's having to type

<alt-graph> <key> <space>

or

<shift> <key> <space>

that I hate. That last space is completely unnecessary. Now, there is no
way by moving another key to this key or move this key somewhere else
that I can get rid of this requirement (that I can see). I want to tell
Windows that when I type tilde (or caret) I am not interested in making
some combined (Spanish/French) whatever character which I don't have on
my keyboard. I just want the tilde/caret. Now. Apparantly this is
possible if you have a U.S. keyboard (and is not interested in combining
to any non-English characters) by selecting a "U.S." keyboard layout
instead of a "U.S. International" keyboard layout, or some such. I'm
looking for some similar solution for a Swedish keyboard (but anything
that works is OK).

It seems like you have chosen a different solution to the same basic
problem. As I understand it, you have a programming mode (where you are
interested in tilde etc but not Swedish characters) and a literary mode
where it's the other way round. You switch between these modes by
switching keyboard layouts, selecting a non-correct keyboard layout to
emulate a Swedish keyboard with your U.S. keyboard. This is an
interesting solution that I hadn't thought about. I tried and I can
actually do the same thing, but in reverse - select U.S. keyboard layout
for my Swedish keyboard. This works, i.e. I get a "U.S. keyboard",
without dead keys. The problem with this however, I need to get some
stickers to put on the keys to show me where they are and then "unlearn"
the Swedish layout and "relearn" the U.S. layout. This will take a lot
of time. I would also need to use the same method at home, both on Win
and Linux (switching between different keyboard layouts just doesn't work).

The best would be if there was a way to simply disable the dead key
functionality - like there apparantly is for U.S. keyboards.
 
P

Pegasus \(MVP\)

I see what you mean, I admire your problem, but unfortunately
I do not have a solution.


Johan Parin said:
Pegasus said:
You're a hard man to please . . .

Yes I know ;)
Take this as an example:
- I have a standard US keyboard.
- To the left of the letter "P" I have the square brackets [ ].
- When I load the Swedish keyboard layout, "[" becomes å
and "]" turns into a dead key: the first depression appears
to have no effect but the second depression gives me two
sets of double-dots like the ones you have on the letter "ä".
This is what I believe your problem is.
- If I now use remapkey.exe to place the shift key function
over the "]" character then I can press the "]" key as
many times as I like, and nothing happens (because it is
now the same as the standard "shift" key). It no longer
functions as a dead key. This is independet of any keyboard
language I choose.

Jag hoppas att du är nöjd nu!

Well, unfortunately not quite. I will use your example to explain why.

In your example you have simply disabled a key you don't need (the one
containing the two dots). You have mapped a different existing key (the
shift key) to the key you want to completely disable. Presumably you
don't event use this key any more.

(As a side issue, you seem to load a keyboard layout that does not
correspond to the actual keyboard you have, which seems to require
shifting keyboard layout setting depending on if you want square
brackets or Swedish characters)

In my case, I have a key which looks like below (use a fixed-size font):

+--------------+-----------+
| ^ (caret) | |
+--------------+-----------+
| <double dot> | ~ (tilde) |
+--------------+-----------+

Now, the only place on my keyboard that I have caret and tilde is this
key (of course). I need tilde and caret. I don't need double-dot, but I
don't care if it's there. It's having to type

<alt-graph> <key> <space>

or

<shift> <key> <space>

that I hate. That last space is completely unnecessary. Now, there is no
way by moving another key to this key or move this key somewhere else
that I can get rid of this requirement (that I can see). I want to tell
Windows that when I type tilde (or caret) I am not interested in making
some combined (Spanish/French) whatever character which I don't have on
my keyboard. I just want the tilde/caret. Now. Apparantly this is
possible if you have a U.S. keyboard (and is not interested in combining
to any non-English characters) by selecting a "U.S." keyboard layout
instead of a "U.S. International" keyboard layout, or some such. I'm
looking for some similar solution for a Swedish keyboard (but anything
that works is OK).

It seems like you have chosen a different solution to the same basic
problem. As I understand it, you have a programming mode (where you are
interested in tilde etc but not Swedish characters) and a literary mode
where it's the other way round. You switch between these modes by
switching keyboard layouts, selecting a non-correct keyboard layout to
emulate a Swedish keyboard with your U.S. keyboard. This is an
interesting solution that I hadn't thought about. I tried and I can
actually do the same thing, but in reverse - select U.S. keyboard layout
for my Swedish keyboard. This works, i.e. I get a "U.S. keyboard",
without dead keys. The problem with this however, I need to get some
stickers to put on the keys to show me where they are and then "unlearn"
the Swedish layout and "relearn" the U.S. layout. This will take a lot
of time. I would also need to use the same method at home, both on Win
and Linux (switching between different keyboard layouts just doesn't work).

The best would be if there was a way to simply disable the dead key
functionality - like there apparantly is for U.S. keyboards.
 
P

Pegasus \(MVP\)

As an afterthought: I suspect that the behaviour of the keyboard
is fixed in the file swedish.trn. If you're keen then you might try
and find out how to modify this file to suit your requirements.


Johan Parin said:
Pegasus said:
You're a hard man to please . . .

Yes I know ;)
Take this as an example:
- I have a standard US keyboard.
- To the left of the letter "P" I have the square brackets [ ].
- When I load the Swedish keyboard layout, "[" becomes å
and "]" turns into a dead key: the first depression appears
to have no effect but the second depression gives me two
sets of double-dots like the ones you have on the letter "ä".
This is what I believe your problem is.
- If I now use remapkey.exe to place the shift key function
over the "]" character then I can press the "]" key as
many times as I like, and nothing happens (because it is
now the same as the standard "shift" key). It no longer
functions as a dead key. This is independet of any keyboard
language I choose.

Jag hoppas att du är nöjd nu!

Well, unfortunately not quite. I will use your example to explain why.

In your example you have simply disabled a key you don't need (the one
containing the two dots). You have mapped a different existing key (the
shift key) to the key you want to completely disable. Presumably you
don't event use this key any more.

(As a side issue, you seem to load a keyboard layout that does not
correspond to the actual keyboard you have, which seems to require
shifting keyboard layout setting depending on if you want square
brackets or Swedish characters)

In my case, I have a key which looks like below (use a fixed-size font):

+--------------+-----------+
| ^ (caret) | |
+--------------+-----------+
| <double dot> | ~ (tilde) |
+--------------+-----------+

Now, the only place on my keyboard that I have caret and tilde is this
key (of course). I need tilde and caret. I don't need double-dot, but I
don't care if it's there. It's having to type

<alt-graph> <key> <space>

or

<shift> <key> <space>

that I hate. That last space is completely unnecessary. Now, there is no
way by moving another key to this key or move this key somewhere else
that I can get rid of this requirement (that I can see). I want to tell
Windows that when I type tilde (or caret) I am not interested in making
some combined (Spanish/French) whatever character which I don't have on
my keyboard. I just want the tilde/caret. Now. Apparantly this is
possible if you have a U.S. keyboard (and is not interested in combining
to any non-English characters) by selecting a "U.S." keyboard layout
instead of a "U.S. International" keyboard layout, or some such. I'm
looking for some similar solution for a Swedish keyboard (but anything
that works is OK).

It seems like you have chosen a different solution to the same basic
problem. As I understand it, you have a programming mode (where you are
interested in tilde etc but not Swedish characters) and a literary mode
where it's the other way round. You switch between these modes by
switching keyboard layouts, selecting a non-correct keyboard layout to
emulate a Swedish keyboard with your U.S. keyboard. This is an
interesting solution that I hadn't thought about. I tried and I can
actually do the same thing, but in reverse - select U.S. keyboard layout
for my Swedish keyboard. This works, i.e. I get a "U.S. keyboard",
without dead keys. The problem with this however, I need to get some
stickers to put on the keys to show me where they are and then "unlearn"
the Swedish layout and "relearn" the U.S. layout. This will take a lot
of time. I would also need to use the same method at home, both on Win
and Linux (switching between different keyboard layouts just doesn't work).

The best would be if there was a way to simply disable the dead key
functionality - like there apparantly is for U.S. keyboards.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top