From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: * X-Spam-Status: No, score=1.4 required=5.0 tests=DATE_IN_PAST_06_12, DMARC_MISSING,FREEMAIL_FROM,FROM_LOCAL_DIGITS,FROM_LOCAL_HEX, FROM_STARTS_WITH_NUMS,INVALID_DATE,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=no autolearn_force=no version=4.0.0 Received: from mailout03.sul.t-online.com ([194.25.134.81]) by cvs.gentoo.org with esmtp (Exim 3.22 #1) id 14Q3ob-0006g5-00 for gentoo-dev@gentoo.org; Tue, 06 Feb 2001 01:49:34 -0700 Received: from fwd01.sul.t-online.com by mailout03.sul.t-online.com with smtp id 14Q3pA-00075b-0C; Tue, 06 Feb 2001 09:50:08 +0100 Received: from helios.bagwan (320095285153-0001@[217.80.39.186]) by fwd01.sul.t-online.com with smtp id 14Q3p3-2C8JA8C; Tue, 6 Feb 2001 09:50:01 +0100 Received: (qmail 15802 invoked by uid 0); 6 Feb 2001 11:31:17 -0000 Received: from sadchitananda2.bagwan (HELO gottinger.de) (achim@192.168.2.1) by helios.bagwan with SMTP; 6 Feb 2001 11:31:17 -0000 Message-ID: <3A7FB499.F6A6815@gottinger.de> From: 320095285153-0001@t-online.de (Achim Gottinger) X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.14 i686) X-Accept-Language: en MIME-Version: 1.0 To: gentoo-dev@gentoo.org Subject: Re: [gentoo-dev] Keyboard -- DEL Key References: <200102060706.IAA04535@smtp01do.de.uu.net> <3A7F9EB7.219498BA@gottinger.de> <20010206011948.A24074@cvs.gentoo.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Sender: 320095285153-0001@t-dialin.net Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0 Precedence: bulk Reply-To: gentoo-dev@gentoo.org X-Reply-To: achim@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux development list List-Unsubscribe: , List-Archive: Date: Tue Feb 6 01:50:02 2001 X-Original-Date: Tue, 06 Feb 2001 09:23:53 +0100 X-Archives-Salt: 96d121f5-26c3-4552-8d2c-bf5cfb4e7cf3 X-Archives-Hash: 738ba6538aac3416526b40bdf82dce37 Pete Gavin wrote: > On Tue, Feb 06, 2001 at 07:50:31AM +0100, Achim Gottinger wrote: > > Knut Feiert wrote: > > > > > On Mon, 5 Feb 2001 11:49:54 -0700, Pete Gavin wrote: > > > > > > > > > > >Add this line to your ~/.inputrc file to make the delete key work as > > > >expected in bash: > > > > > > > >"\e[3~": delete-char > > > > > > Why is that? Oversight or feature? > > > > A point on my Todo list. Pete do you know which of the console-tools > > files is the best place to start patching? > > > > achim~ > > > > This isn't anything that needs to be patched. Its actually a > feature. Whenever you hit the delete key, it sends the sequence > "\e[3~" (\e==^[), which the program can translate as it wishes. (The > same sort of thing happens with the insert key, home and end, and page > up/down.) The .inputrc file allows you to bind whatever keys to > whatever functions you want. The bash developers just decided not to > automatically bind delete to any function. If you want to make this > automatic, you could add a .inputrc file containing that line to > /etc/skel, so that every new user automatically has it in his/her home > directory after its been created. Or, you could add this line to > /etc/profile: > > bind '"\e[3~": delete-char' > > If you want more information on this stuff, do info bash and do a > search on inputrc by hitting Ctrl-s. Hmm ok it's a readline feature. Looks like /etc/inputrc should work too. If not adding INPUTRC="/etc/inpurc" to /etc/profile should do the job. At least I found such a file on a Suse6.3 system. I will add it to our baselayout package. Can you take a look at it. It seems you are more familary with it? BTW I made a new gcc package that builds with or without libg++. I will commit it with all the other sys-stuff I did in about a day. achim~ > > > Pete > > _______________________________________________ > gentoo-dev mailing list > gentoo-dev@gentoo.org > http://www.gentoo.org/mailman/listinfo/gentoo-dev