From owner-freebsd-questions@FreeBSD.ORG Fri Dec 3 13:41:22 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2E401065672 for ; Fri, 3 Dec 2010 13:41:22 +0000 (UTC) (envelope-from jb.1234abcd@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9AEDC8FC15 for ; Fri, 3 Dec 2010 13:41:22 +0000 (UTC) Received: by qwj9 with SMTP id 9so4105389qwj.13 for ; Fri, 03 Dec 2010 05:41:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=VgIN/Aybj0gPa3gSC24O5u7DzORrMN7S8RYfIpiswME=; b=Hx3exjY1ukJH3aoTJmilGirihK7y206X8bdwSjzXXHiMwj5cFMOl7y9MSRnevN/uff lSCmX3AK8O7q/AJ2pslUKwCKr6xdgxaqt/E5VBldJGaLN7kav4pgLRsx3p8ursst3wjj Ni/8ALhQAprp/JdmvMRqEP6CuOENgJNmiL8Uk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=nthklyVhpvifOx+Gcy1vzqvWNiaobFN+b/75EFmYEco2h5fvF50aHyfdblpY6c4IMn acKDW0smUXPELObymxxfWEDwBrOCnt39oYuAssWkn1jCi7o1OM7ppXNwuCbBqduVIxuf g6lYgrxxqNoG2gniCSJaLLcSkT7IqAne1yliU= MIME-Version: 1.0 Received: by 10.229.238.148 with SMTP id ks20mr1229875qcb.262.1291383681812; Fri, 03 Dec 2010 05:41:21 -0800 (PST) Received: by 10.220.90.148 with HTTP; Fri, 3 Dec 2010 05:41:21 -0800 (PST) Date: Fri, 3 Dec 2010 14:41:21 +0100 Message-ID: From: J B To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: console and bash - how to get Delete key working properly ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Dec 2010 13:41:23 -0000 Hi, I searched BSD docs and Google for answers, but none of them works. By "working properly" I mean for Del key to delete char under the cursor and not the previous one. It works in gnome xterm, but not in console. It works in sh with config hint from FreeBSD handbook: bind ^? ed-delete-next-char # for console bind ^[[3~ ed-delete-next-char # for xterm but not in bash (with or w/o the hint). Having readline lib installed does not make any difference as well. $ uname -r 8.1-RELEASE $ env |grep -i shell SHELL=/usr/local/bin/bash $ ls /var/db/pkg/bash-4.1.7/ No readline lib installed. JB