Subject: Re: Enhancing default /bin/sh
To: David Laight <david@l8s.co.uk>
From: David Brownlee <abs@NetBSD.org>
List: current-users
Date: 08/27/2004 11:19:09
On Thu, 26 Aug 2004, David Laight wrote:

> On Thu, Aug 26, 2004 at 03:33:02PM -0400, BSD TECH wrote:
>> Hi. It is possible to add:
>> set -E
>> into /etc/profile or similar in the BASE SYSTEM ?
>
> That is a 'personalisation', not everyone uses 'emacs' style editing
> for shell commands.  Therefore it doesn't belong in /etc/profile.
>
> You can, of course, add it (or the more standard 'set -o emacs') to
> your own (as a user) .profile.

 	etc/root/dot.shrc has:

 	    case "$-" in *i*)
 		    PS1="${HOST%%.*}$PS1"
 		    set -o emacs
 		    ;;
 	    esac

 	So this _should_ be working. If anyone wants to submit patches
 	to fix it... :)

-- 
 		David/absolute       -- www.NetBSD.org: No hype required --