X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail.wilcox-tech.com (mail.wilcox-tech.com [45.32.83.9]) by lists.alpinelinux.org (Postfix) with ESMTP id 126195C5B8F for ; Wed, 10 Jan 2018 00:25:54 +0000 (GMT) Received: (qmail 24207 invoked from network); 10 Jan 2018 00:25:51 -0000 Received: from 107-131-85-28.lightspeed.tulsok.sbcglobal.net (HELO ?192.168.1.57?) (awilcox@wilcox-tech.com@107.131.85.28) by mail.wilcox-tech.com with ESMTPA; 10 Jan 2018 00:25:51 -0000 Subject: Re: [alpine-devel] Missing /etc/inputrc To: alpine-devel@lists.alpinelinux.org References: From: "A. Wilcox" Organization: =?UTF-8?Q?Ad=c3=a9lie_Linux?= Message-ID: <0ae12c2d-4ecb-81b6-4a0c-ea6d23c191a2@adelielinux.org> Date: Tue, 9 Jan 2018 18:25:15 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="18vWRnEdUh2s12cHj8F7EbOcHa1xcqWAe" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --18vWRnEdUh2s12cHj8F7EbOcHa1xcqWAe Content-Type: multipart/mixed; boundary="VDFpbBiLxW631gi47lbqpMcwnQJoeqefp"; protected-headers="v1" From: "A. Wilcox" To: alpine-devel@lists.alpinelinux.org Message-ID: <0ae12c2d-4ecb-81b6-4a0c-ea6d23c191a2@adelielinux.org> Subject: Re: [alpine-devel] Missing /etc/inputrc References: In-Reply-To: --VDFpbBiLxW631gi47lbqpMcwnQJoeqefp Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 01/09/18 12:11, Gennady Feldman wrote: > Hi, >=20 > I've ran into an issue where some of the common keys where not working > inside bash in Alpine. "some of the common keys" is vague here. I'm assuming you probably mean the emacs bindings like ^A, ^K, etc? > The fix was actually quite trivial. I just had to > copy /etc/inputrc from another box. This leads me to the question as to= > why Alpine doesn't provide /etc/inputrc as part of a package? Using these packages: Installed: Available: bash-4.4.12-r1 =3D 4.4.12-r1 readline-7.0.003-r0 =3D 7.0.003-r0 I don't need an /etc/inputrc to use ^A, ^K, etc in bash. (I use zsh in vim mode typically, so I wouldn't typically notice.) It looks like maybe this also handles ^=E2=86=90 ^=E2=86=92 for word skipping, which do= es *not* work here in this bash. > alpine-baselayout? Since this is a readline file, it should probably be provided by readline; I'm not sure why Gentoo puts it in sys-apps/baselayout. Debian has it in readline-common (as /usr/share/readline/inputrc). Fedora has it in setup[noarch] ("A set of configuration and setup files"); presumably, this is because they customise it beyond the readline library's shipped example file, and because readline is a part of their @system repo. So, tl;dr: +1 on shipping an /etc/inputrc in readline package. Best, --arw --=20 A. Wilcox (awilfox) Project Lead, Ad=C3=A9lie Linux http://adelielinux.org --VDFpbBiLxW631gi47lbqpMcwnQJoeqefp-- --18vWRnEdUh2s12cHj8F7EbOcHa1xcqWAe Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQJMBAEBCAA2FiEEjNyWOYPU1SaTSMHHyynLUZIrnRQFAlpVXWsYHGF3aWxmb3hA YWRlbGllbGludXgub3JnAAoJEMspy1GSK50U0rYP/AyVGDrNkjOgU2NbK/cplJr+ LWX/HWBtnSBrueoEZ7N7h2Yku3tWkBSzqyBz9HkGNICf0aYKjwQ4ejqLtG2c9mDl ctVJSV/Qx9bYP3El9B1jm2+ZY7qx6wcGsjdVMe4aBC/su5QpmJRP3CzhmIfY1v0R Fy8pHWwXgvaJ1BB+/6duCxqFX4uQK0QwG2GPDmhs0YN8lyJ5gc6DJ6GP2/4PvMqd VR+KA7ZJBcxjjx8wRNgfDyISyfYo6qE0nRE4DcnFPhqUqYv19CfjRIhx6Qf+jNGr F51VMBSlGPgr4UNpuLng0hFO2pvR25moSHln5OWzgfQjdPB5nmo26Zao5SPmvKSQ QPhn8vG/ewi+S6AgIRJwP1U6RU47XkKZYsWvdKshL0bO+lNX7KBBWI4uRU50v9Rg Do5P8aJE9zgS47n9Xsc6yDMfKP5+Ws5fqY3T80ht9NhsiYit0q/ffw5Hq+BLwHV1 LtA7BC9tfRuyaT/yxgssy2UI9E23SxEu6F7V4yOSFMBZdqbZmwtHx/yjTSOklEGK GnwqgTY29bUgxxxHJUzRUdVsofDf6Ts6CFouGXF+4I537BETGYKNlxgwXEyq+cIi LR1Wj3tnJLTXbii80N6HH10I+9rMU4yB0YEkucFASW3J6tBLkwLiauZzYX6263nX Bp5ue6FGkq3QKMNZ6+l/ =XxHa -----END PGP SIGNATURE----- --18vWRnEdUh2s12cHj8F7EbOcHa1xcqWAe-- --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---