02 09 | 2011

rxvt-unicode: generate key symbols

Written by Tanguy

Classified in : Homepage, Debian, Command line

rxvt-unicode is a terminal emulator with some interesting features. Here is one of them I find most amazing and elegant: it can generate the symbol characters corresponding to keyboard keys.

It works by pressing and releasing ⎈ + ⇧ (⎈ is the symbol for the Control key, and ⇧ is Shift, of course), then the key which symbol you want to get.

For instance, to get the Caps lock symbol, you type ⎈ + ⇧, ⇬, which gives you the following symbol: ⇬. Here are some other nice examples: ↵ (Return) ⇮ (AltGr aka Level3 Shift) ⌫ (BackSpace) ⎀ (Insert) ⌦ (Delete) ⇱ (Home) ⇲ (End) ⇞ (Prior) ⇟ (Next).

Beware that this will not cancel the effect of {Caps, Num} lock keys: you will get their symbols but also enter the corresponding mode.

Archives