Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jan 2005 07:55:51 +0200
From:      dkouroun@cc.uoi.gr
To:        freebsd-questions@freebsd.org
Subject:   del key in bash or tcsh
Message-ID:  <1105682151.41e75ee75d681@webmail.uoi.gr>
In-Reply-To: <20050114041625.5FAAB16A4D1@hub.freebsd.org>
References:  <20050114041625.5FAAB16A4D1@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1105682151.41e75ee75d681>