Hi, Jan!
Thank you for your kind help.
It pointed me into the right direction, and so I'm posting this
as a follow up + solution for the list:
When I press the number sign/apostrophe key, which on my German keyboard
is left to Enter, has # and (with shift) ' printed on it,
xev: keycode 51 "number sign" and (with shift) "apostrophe"
alone, it produces: #
with shift, it produces: ' (immediately, and '' when pressed twice).
When I press the acute/grave accent key, which is left to Backspace
and has ´ and (with shift) ` printed on it,
xev: keycode 21, "dead_acute" and (with shift) "dead_grave"
and then a space,
that produces: ' (the apostrophe, which was why I suffered so much).
When I press the same acute/grave key twice, as you suggested,
the first pressing produces: nothing, the second pressing produces...
in Netscape: the acute accent alone ´ (yippieh!)
in konsole: a Ž (I read about that character in one of the docs the
other night, so when I saw this appear after your suggestion, I was
already happier knowing that it was going into the right direction...)
and in xterm: the acute accent ´ again (yippieh again! :-) :-) :-) )
Thank you very much for your very helpful suggestion, and thanks
especially for answering even though I had that very frustrated tone
in my original message...
--
More about the same topic:
http://andrew.triumf.ca/iso8859-1-compose.html
http://www.cl.cam.ac.uk//~mgk25/ucs/apostrophe.html
http://home.earthlink.net/~awinkelried/keyboard_shortcuts.html
I also had tried to use the program charmap with copy and paste.
From the standard charset I selected U+00B4 ACUTE ACCENT.
Copy and paste resulted...
in konsole: ? (questionmark)
in xterm: (nothing)
in Netscape: ´ (the acute accent)
Moreover, I tried:
xmodmap -e 'keycode 21 = acute'
which resulted...
in konsole: ? (questionmark, immediately, accented chars can't be typed
anymore, neither with the acute nor the grave accent)
in xterm: (nothing, keystroke ignored)
in Netscape: ´ (the acute accent, after one keystroke only,
and nothing at all when pressed with shift)
xmodmap -e 'keycode 21 = dead_acute'
gives back the behaviour found before, still nothing with the shift key.
Ok, I guess one should supply codes for all shift levels when changing
something...
--
So, now I think this posting should contain enough words for anyone
to find it quickly in the future.
Once again, thank you Jan,
Greetings and best wishes,
Joerg
Jan Willem Stumpel wrote:
I am desperately trying to make bash (or xterm or konsole using
sh) display an "acute" (034, b54 or so) character.
On my (UTF-8) system the apostrophe key can be used.
-- the apostrophe key is a dead acute; it places an acute above the
following letter.
-- to get an apostrophe by itself, press apostrophe followed by SPACE,
or AltGr-apostrophe.
-- to get an acute (unicode number 0xb4) by itself, press the apostrophe
key twice.
This should also work if your locale is not of the UTF-8 kind, e.g.
de_DE.iso88591.
Regards, Jan
--
-------------------------------------------------------------------
Dr. med. Jörg M. Sigle
http://www.ql-recorder.com +49-5527-846-535
http://www.jsigle.com Have a lovely day... +49-7043-950-6864