We can use `sensekey' with all the keys that we want, also from the console. For example, under X, we can use the `xmodmap' utility for modifying keymaps. First we save the default xmodmap -pke > default.map Now we modify the map for the arrow up/down keys: xmodmap -e 'keysym Up = cent' -e 'keysym Down = sterling' We control the autorepeat with xset r on # autorepeat on or xset r off # autorepeat off and finally start csound with an instr that uses the sensekey opcode. Now the printed codes are 162 and 163. Good. Let's remember us to restore the default: xmodmap default.map The file /usr/include/X11/keysymdef.h contains the names of all the keysyms (with a XK_ prefix). The keysyms of the codes from 128 to 255 are sed -n '/U+00A0/,/U+00FF/s/XK_//p' /usr/include/X11/keysymdef.h|awk '{print $2}' tito Send bugs reports to the Sourceforge bug tracker https://sourceforge.net/tracker/?group_id=81968&atid=564599 Discussions of bugs and features can be posted here To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"