Showing changes from revision #0 to #1:
Added | Removed | Changed
RISC OS makes use of the Break key on the keyboard to perform certain functions. This key is usually located at the right-hand end of the function key strip, and may be labelled Pause instead of Break.
This page lists the functions performed by the Break key, and describes how to remap another key to act as Break.
Key | Action |
---|---|
Break | Same as pressing Esc (i.e. cancel an action) |
Alt-Break | Brings up the application termination dialogue |
Ctrl-Break | Reboot |
Shift-Break | Reboot to command line1 |
1 Continue holding down the Shift key until the reboot has finished.
As the Pi 400 does not have a Break key, certain functions of the Break key are available on the PrtScn key of the Pi 400.2 This is not a total remapping: the PrtScn key still invokes the “print” function if used on its own.
2 This feature was introduced in RISC OS 5.30.
If your keyboard doesn’t have a Break key, you can remap another key to perform the Break function.
This is done by means of the KeyMapper module, which is supplied with the “RISC OS Direct” distribution, or is available separately from https://effarig.co.uk/riscos/.
To install KeyMapper (if it isn’t already installed) unzip the archive and place the module in !Boot.Resources.!System.350.Modules.
To invoke KeyMapper at boot time, create an Obey file in !Boot.Choices.Boot.PreDesk – a suitable filename would be “KeyMaps”. A typical file might contain:
RMEnsure KeyMapper 0.00 RMLoad System:Modules.KeyMapper
keymap 9 15
This ensures that KeyMapper is loaded and remaps the F9 key to act as Break. You don’t have to use F9: you could in principle remap any key on the keyboard.3
If you wish to remap any other keys (for example you can use KeyMapper to swap the functions of the left and right mouse buttons), place the additional “keymap” commands – one per line – at the end of the file.
3 For a list of key numbers to use with KeyMapper, see Low-Level Internal Key Numbers.