Mark Seiden wrote:

> yes, i fixed this in mine also but i use e3 in emacs emulation mode.
> dunno about zile.  it isn't in my lrps.

All major editors except THE (VMS Edit clone) are on the major data
disks - including the System Rescue Disk and the Network Tools Disk #1. 
The included editors are nano, elvis-tiny, and zile.

> i don't have an original /sbin/unconfigured.sh handy, but
> the changes  were in these three sections:
> > select_against_e3 () {
> >       if [ -x $1 ] ; then
> >               EDITOR=$1
> >       else
> >               EDITOR=$E3
> >               E3EMU=$2
> >       fi
> ...
> >               emacs|EMACS) select_against_e3 $ZI em ;;
> >               vi|VI) select_against_e3 $VI vi ;;
> >               pico|PICO) select_against_e3 $NA ;;
> >
> ...
> >       cat - <<!* >>/root/.profile
> > # --- added $(date)
> >
> > EDITOR=$EDITOR
> > export E3EMU=$E3EMU
> > !*

The idea behind this code was the following:

1. If a "generic" editor (emacs, vi, pico) was selected, set the
emulation for e3 to use it, and set the editor to the clone to match
when it is present.

2. If a specific editor (zile, nano, elvis) was selected, set the editor
to the clone to match when it is present.

Thus, assuming everything works right, when you select "emacs" during
setup, then e3 will use emacs emulation; if you select "zile" during
setup, it will not.

I'll have to revisit this code and see what I can do.  I'm open to
suggestions.

_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to