Different PC keyboards in different countries can have identical keyboards, but with different engravings on the key-tops. Different countries can also have different shapes of keyboards, but the computer doesn't really know this. After editing, load the table using loadkeys uk.map . This is a tricky one. The kernel can do simple line editing, when asked to.
Applications have either line-based input, or character based input.
Before then, you can cancel the line, or other editing actions such as press BackSpace. If it is already set, either prefix it with CTRL-V, or put it into a file. This command makes it works properly, but only after the command is run. It won't be run before login. 3.7 vi Vi looks at the stty settings, and allows DEL as BackSpace.