3 ms·
> Decades ago, the Home/End/PgUp etc keys might not work on all terminals. Decades ago, on real serial terminals, the terminal keyboard likely did not even hav
by pwg 4y ago
> Decades ago, the Home/End/PgUp etc keys might not work on all terminals.
Decades ago, on real serial terminals, the terminal keyboard likely did not even have Home/End/PgUp/PgDn keys [1].
That is the reason for the seeming odd mappings now in 2022 after almost every computer has a keyboard that contains nearly the same set of 'extra' keys. When readline was developed, there was no IBM-PC keyboard layout (because readline predates the IBM-PC) and besides the basic letters, numbers and punctuation keys there were very few other keys that were available on all keyboards at the time.
[1] https://en.wikipedia.org/wiki/File:Mappa_Teletype_ASR-33.jpg https://en.wikipedia.org/wiki/File:Mappa_Teletype_ASR-33.jpg
https://vt100.net/docs/vt100-ug/chapter3.html https://vt100.net/docs/vt100-ug/chapter3.html (see "The Keyboard")