Commit Graph

1 Commits

Author SHA1 Message Date
Marcel Dopita
df5663e6ed readline: Add inputrc
This makes Home/End keys working over SSH when connected from some clients like PuTTY on Windows.

Basically all Linux distributions provide some default /etc/inputrc configuration:
- Debian based distros in package readline-common (both Debian 9 and Ubuntu 17.10 share same config)
- Red Hat based distros in package setup (both CentOS 7 and Fedora 27 share same config)
- Arch Linux in package readline
- openSUSE in package aaa_base
- OpenWRT etc.

The proposed inputrc configuration is a intersection of default mappings used in Debian 9, CentOS 7 and Arch Linux. That should provide safe and expected mappings.
2018-01-16 14:13:26 +01:00