sorry, forgot to post this to the list.
--- Begin Message ---
Am Die, 2003-10-21 um 23.46 schrieb Markus Amersdorfer:
> Hi everyone!
>
> One of LyX' IMHO most important keyboard-shortcuts has not been working
> for some time now (I assume it has to do with the latest upgrade I
> performed with my Debian Sarge):
> Pressing "ALT-p, i" simply puts the two letters "pi" into the document,
> instead of changing the current paragraph to be an Itemization ...
>
Have you checked which bidings-file is loaded in the Preferences - it's
in the first sub-menu (sorry for my bad English; but assuming that
you're from Austria (e-mail: .at): Bearbeiten -> Einstellungen ->
Benutzerschnittstelle)
It's possible to edit these files, there are also some different
pre-formated files, and the sytax is qite simple - at least it's easy to
understand.
These files are at: "LyX-Dir"/bind/*.bind (on RedHat-9
Lyx-Dir=/usr/share/lyx)
But pay atention to the upper part of the files - it's easy to copy them
into your home-dir and edit them there.
- hope this helps -
-Kai-
> Comparing LyX' debug-output for keyboard activity from a machine where
> everything works with the one where it doesn't (see below for the full
> debug-logs), I think here is where the main problem lies/starts:
>
> Malfunctioning:
> [...]
> action first set to [-1]
> action now set to [-1]
> Key [action=-1][M-p]
>
> Properly working:
> [...]
> action first set to [1]
> action now set to [1]
> Key [action=1][M-p]
>
>
> How can this be fixed (and what's actually going wrong here)?
>
> Many thanks in advance!
> :)
>
> Cheers,
> Markus A.
>
>
> PS:
>
> Here's a "lyx -dbg 4" output from the machine where it doesn't work:
> -------------------------------------
> Press key 4131 text "none", ascii "0"
> Setting key to 4131,
> KeySym is Alt_R
> isOK is 1
> isMod is 1
> isModifier true
> Press key 80 text "p", ascii "112"
> Setting key to 80, p
> KeySym is p
> isOK is 1
> isMod is 0
> encoding is iso8859-1
> Using codec ISO 8859-1
> ISOEncoded returning value 112
> action first set to [-1]
> action now set to [-1]
> Key [action=-1][M-p]
> isText for key 80 isPrint is 1
> isText() is true, inserting.
> Cannot decode: p
> SelfInsert arg[`']
> Press key 73 text "i", ascii "105"
> Setting key to 73, i
> KeySym is i
> isOK is 1
> isMod is 0
> encoding is iso8859-1
> Using codec ISO 8859-1
> ISOEncoded returning value 105
> action first set to [88]
> action now set to [88]
> Key [action=88][i]
> Cannot decode: i
> SelfInsert arg[`']
> -------------------------------------
>
> Here's a similar output from a machine where ALT-p DOES work:
> -------------------------------------
> Press key 4131 text "none", ascii "0"
> Setting key to 4131,
> KeySym is Alt_R
> isOK is 1
> isMod is 1
> isModifier true
> Press key 80 text "p", ascii "112"
> Setting key to 80, p
> KeySym is p
> isOK is 1
> isMod is 0
> encoding is iso8859-1
> Using codec ISO 8859-1
> ISOEncoded returning value 112
> action first set to [1]
> action now set to [1]
> Key [action=1][M-p]
> Press key 73 text "i", ascii "105"
> Setting key to 73, i
> KeySym is i
> isOK is 1
> isMod is 0
> encoding is iso8859-1
> Using codec ISO 8859-1
> ISOEncoded returning value 105
> action first set to [88]
> action now set to [299]
> Key [action=299][M-p i]
> -------------------------------------
--
Kai Johannes Keller <[EMAIL PROTECTED]>
--- End Message ---