del key in bash or tcsh

dkouroun at cc.uoi.gr dkouroun at cc.uoi.gr
Thu Jan 13 21:55:54 PST 2005


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.


More information about the freebsd-questions mailing list