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 ---