From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 05:55:54 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72C1A16A4CE for ; Fri, 14 Jan 2005 05:55:54 +0000 (GMT) Received: from webmail.uoi.gr (webmail.uoi.gr [195.130.120.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3849543D41 for ; Fri, 14 Jan 2005 05:55:53 +0000 (GMT) (envelope-from dkouroun@cc.uoi.gr) Received: from webmail.uoi.gr (localhost [127.0.0.1])j0E5tpNP005738 for ; Fri, 14 Jan 2005 07:55:51 +0200 Received: (from wwwrun@localhost) by webmail.uoi.gr (8.12.10/8.12.10/Submit) id j0E5tpAZ005737 for freebsd-questions@freebsd.org; Fri, 14 Jan 2005 07:55:51 +0200 Received: from vdp005.pam01.gwc.hol.gr (vdp005.pam01.gwc.hol.gr [194.30.213.37]) by webmail.uoi.gr (IMP) with HTTP for ; Fri, 14 Jan 2005 07:55:51 +0200 Message-ID: <1105682151.41e75ee75d681@webmail.uoi.gr> Date: Fri, 14 Jan 2005 07:55:51 +0200 From: dkouroun@cc.uoi.gr To: freebsd-questions@freebsd.org References: <20050114041625.5FAAB16A4D1@hub.freebsd.org> In-Reply-To: <20050114041625.5FAAB16A4D1@hub.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.2 X-Originating-IP: 194.30.213.37 Subject: del key in bash or tcsh X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jan 2005 05:55:54 -0000 Dear list, Does anybody know how to change this annoying default behaviour of bash or sh in FreeBSD when somebody presses the del key? When I press the del key I want this to work as it works on any editor or in Linux bash! Anyway to achieve this? And does anybody knows how to have coloured prompt output in sh? For bash I have found the following! PS1='\[\033[02;35m\](\A)\[\033[02;34m\]\u@\[\033[02;31m\]\h \[\033[01;34m\]\W \$ \[\033[00m\]' For sh which command controls the color? Thanks in advance! D.K.