From nobody Thu Mar 28 16:09:06 2024 X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-pf0-f172.google.com (mail-pf0-f172.google.com [209.85.192.172]) by lists.alpinelinux.org (Postfix) with ESMTP id D429E5C4DE6 for ; Tue, 9 Jan 2018 18:11:53 +0000 (GMT) Received: by mail-pf0-f172.google.com with SMTP id 23so6440571pfp.3 for ; Tue, 09 Jan 2018 10:11:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=9VO4+1AWUo4Heue2Zq7aUDbQ35oKeDTOx6Edz4Uym4s=; b=LpI+ki7oVGr3yytV4BP1/W1CDAh4VHkvsPfXEhejXcnjBDxFJYMgk59kOnONC2Rzhl jI0STYbW3Xnin6icOOaKdyYAtsBfImSSHQAfqHpQ9L3xKZbHz3L3d7zr/jTsusNGpy5g opYDyjbOjDtibFZot5K4nHZt+B07qVMbtl9xUd8U0+MG9VKONIriU2+zRphHq8p70qJp 8z4CQg1tbQ5Y1S3UUN37OrkD87cfYy8X9vj+8TsVxIeXM4Vbbe/UcS37c8GYjNXGYv1c t93Vbs7BIBI0dvJtNLKz0f3W14NVkkHDWqA2qzIw3Ke6bRQn2pHOOtsvsJUq/DUxEHO/ nQww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=9VO4+1AWUo4Heue2Zq7aUDbQ35oKeDTOx6Edz4Uym4s=; b=j6sJ/BrN3cnIoXoSOU68oaWUZ3yplPzZZfoGfAhAfYtJYaIaHzz6fiFFZI7zlnDPNW bsQz9TTEAEuc/Vx8nWQNr7RH/Kh6nDD/5IEp4rJ5TDhsM730rSbukJoEDG5/jjdKnl59 RCrA8qRCbbFZGXYbXf3KVBBOofLhc74NDIfRAZqlA1APtdwwiQzcs9RrPF1IZt93gDEp rE/oBshSa8SAQFrbqMNxu+0YvR0PtzJZt3rDfnHUc4sKM65LjqBW5bods/sByfyCEuKJ rly4/6LoU2eTOXAZcbZxVVvYU9HFzcr5mG3IFMHxWQ0otc8kVW9QEK++M2eiq5Ed1lOg zoDg== X-Gm-Message-State: AKGB3mLyXvuBHWCbu6sx+zF2ez7+jANtSrcu/eMzvG1RMJ7OXcx6Pa7p aEHRAt+k2M4LPEUtEIdXJ86kw3wUj8q0ra03CeQmLw== X-Google-Smtp-Source: ACJfBovTe+01SNqRaZdEHuvo0h7wf7zzuS4AS8kVTdhbqfqCbYPlkvvjD2UnnwoM2ArTfQ3Y+feocixXKdPNoc4Ng0A= X-Received: by 10.159.207.150 with SMTP id z22mr16381415plo.214.1515521512919; Tue, 09 Jan 2018 10:11:52 -0800 (PST) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Received: by 10.100.155.98 with HTTP; Tue, 9 Jan 2018 10:11:32 -0800 (PST) From: Gennady Feldman Date: Tue, 9 Jan 2018 13:11:32 -0500 Message-ID: Subject: [alpine-devel] Missing /etc/inputrc To: alpine-devel@lists.alpinelinux.org Content-Type: multipart/alternative; boundary="089e0828ad706d595f05625bd9d4" --089e0828ad706d595f05625bd9d4 Content-Type: text/plain; charset="UTF-8" Hi, I've ran into an issue where some of the common keys where not working inside bash in Alpine. 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? alpine-baselayout? Thank you, Gennady --089e0828ad706d595f05625bd9d4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I've ran into an issue= where some of the common keys where not working inside bash in Alpine. The= fix was actually quite trivial. I just had to copy /etc/inputrc from anoth= er box. This leads me to the question as to why Alpine doesn't provide = /etc/inputrc as part of a package? alpine-baselayout?

Thank yo= u,

Gennady
--089e0828ad706d595f05625bd9d4-- --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org --- From nobody Thu Mar 28 16:09:06 2024 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 --- From nobody Thu Mar 28 16:09:06 2024 X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-pl0-f67.google.com (mail-pl0-f67.google.com [209.85.160.67]) by lists.alpinelinux.org (Postfix) with ESMTP id 6A8FD5C364F for ; Wed, 10 Jan 2018 17:45:10 +0000 (GMT) Received: by mail-pl0-f67.google.com with SMTP id d21so7712453pll.1 for ; Wed, 10 Jan 2018 09:45:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=hEtXO29R1oJjRh5GQXxStKDbKtESg8yRoJciaGpE/Ec=; b=rtwGlx7vPwuJWjXcfqFqT7quBaUzvthSYABF1Fht9WvcZ0W/yj3WzprM3qBiYL07cq J9GttHTJqZ8kSdBCqipeLH5GtfVtzpLLqIPtyabE0aDCs0KRk/1EeIKg3IRyfMzA/SgQ fq6bXkarF5iFCJizzslhE/UlRVLTHuVlBhZmedJSdfe55PE5CtwFLZ07ZZW4Xb/t9hzK Dein7K4SaW2Q2BReiodbdeo0lcDJWBtVBPlEKR+mcJbxTY5T0DXWzS7OWqevEal1fJDj qxkjHZZ/eVduSY80oeUlBC7AllqBPBN2gr75KIro1ssPCnZi3cmfwXeqBuKLyuz8h0c/ cdtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=hEtXO29R1oJjRh5GQXxStKDbKtESg8yRoJciaGpE/Ec=; b=CrFoyVJJzagzBGgTYoV+PsHQPfcSvjazLjB2twRybjknI7GBu0L+hVEjAtKAsdtHXk +vEVrTTUMfekRTjSizvUrDMy5nxjlhlOGpus/x+Wz3dC8b4nwXIZC8TdWEwNm5OvOFAW 4hiQlOPgbWIcFQEd7UOBgeBfsL8Ccbkmk3t1fhfb3vGRUsxqC8H/wov/wWH6lC3QFhVv BW3GtB+yE5u14EzqXgSGjz0jOn7j92fK5D6TkrT4mEVTLHBOkI4GOGqioaTr6Iz7Ei12 81eeFH6EEvztC1DjVJtueq/xbtBPj729+T3cswohLcK2cA/BeFzqlB8J8nXfdUPzL0K3 gHwg== X-Gm-Message-State: AKGB3mLtfr9f9ZPpAo8QuDDDThL6+SXRPWU82sBRthnOJXLBadF1Q5me rfbabOFKrFy2RJpSu32P83Rf8bxm3KxMv+mdvOc= X-Google-Smtp-Source: ACJfBovdBo+HxFV6ymGHx4IaQyvXSioVmDsPqnqokZxj0eTYHAyBmL8CIoEcEOUM6XD0E0MbBwFQCKlV2kMNZtbDvJ0= X-Received: by 10.159.207.150 with SMTP id z22mr19764669plo.214.1515606309495; Wed, 10 Jan 2018 09:45:09 -0800 (PST) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Received: by 10.100.155.98 with HTTP; Wed, 10 Jan 2018 09:44:49 -0800 (PST) In-Reply-To: <0ae12c2d-4ecb-81b6-4a0c-ea6d23c191a2@adelielinux.org> References: <0ae12c2d-4ecb-81b6-4a0c-ea6d23c191a2@adelielinux.org> From: Gennady Feldman Date: Wed, 10 Jan 2018 12:44:49 -0500 Message-ID: Subject: Re: [alpine-devel] Missing /etc/inputrc To: "A. Wilcox" Cc: alpine-devel@lists.alpinelinux.org Content-Type: multipart/alternative; boundary="089e0828ad70b26aaa05626f9711" --089e0828ad70b26aaa05626f9711 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I had issues with Home/End keys in default (emacs) bash editing mode. I just sent a PR to add inputrc to readline package. Thank you, Gennady On Tue, Jan 9, 2018 at 7:25 PM, A. Wilcox wrote: > On 01/09/18 12:11, Gennady Feldman wrote: > > Hi, > > > > 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 > > -- > A. Wilcox (awilfox) > Project Lead, Ad=C3=A9lie Linux > http://adelielinux.org > > --089e0828ad70b26aaa05626f9711 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I had issues with Home/End keys in default = (emacs) bash editing mode.

I just sent a PR to add inputrc to = readline package.

Thank you,

Gennady

On Tue, Jan 9, 2018 = at 7:25 PM, A. Wilcox <awilfox@adelielinux.org> wrote:=
On 01/09/18 12:11, Genn= ady Feldman wrote:
> Hi,
>
> I've ran into an issue where some of the common keys where not wor= king
> inside bash in Alpine.


"some of the common keys" is vague here.=C2=A0 I'm ass= uming 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 t= o
> why Alpine doesn't provide /etc/inputrc as part of a package?


Using these packages:

Installed:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Available:
bash-4.4.12-r1=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =3D 4.4.12-r1
readline-7.0.003-r0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0=3D 7.0.003-r0

I don't need an /etc/inputrc to use ^A, ^K, etc in bash.=C2=A0 (I use z= sh in
vim mode typically, so I wouldn't typically notice.)=C2=A0 It looks lik= e
maybe this also handles ^=E2=86=90 ^=E2=86=92 for word skipping, which does= *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

--
A. Wilcox (awilfox)
Project Lead, Ad=C3=A9lie Linux
htt= p://adelielinux.org


--089e0828ad70b26aaa05626f9711-- --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---