[comp.os.minix] Elle 4.1 and IBM keypad

dfenyes@thesis1.hsch.utexas.edu (DAVID A. FENYES) (11/05/90)

Hello Minix Elle users,

There have been some articles regarding using the arrow & keypad keys
with Elle.  Remapping Esc-[ to extend is OK, but then you lose the
resemblence to EMACS :-(

There is a function compiled in (if you used one of the supplied ellepro.e
files) called "VT100 button hack"  It is currently mapped to ESC-O, which
of course is useless except from a VT100.  If you map this to ESC-[ in your
ellepro.e, you will automatically have arrow-key functionality.  In porting
Elle to Coherent, It was trivial to extend this function to include all
the keypad, as well as the function keys (In coherent, the functon keys
generate Esc-[-n-x, where n is the fn number.  Alted keys generate a 'y'
instead of 'x.' The function keys are particularly useful in navigating
windows.  All this co-exists with the normal EMACS bindings:-)  Of course,
the describe_key func. doesn't support these "hard" keys, and they can't be
remapped without recompiling, but for fixed name keys on the keyboard, this
is not distressing.

By the way, in addition to fixing a number of display inconsistencies,
I have just added an find-tag routine for e-tags, and am about to integrate
regular exps.  Has anyone else done this?  If so, let me know to save me
the work.  If not, I'd be glad to post the modified code or patches to
the net. (It may be a short while before I have time to work on this again)

Good Luck :-)

David.

-   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
David Fenyes                                  dfenyes@thesis1.hsch.utexas.edu
University of Texas Medical School            Houston, Texas
=============================================================================

mike.irons@lynx.northeastern.edu (11/05/90)

"DAVID A. FENYES" <dfenyes%THESIS1.HSCH.UTEXAS.EDU@VM1.NoDak.EDU> writes

> Hello Minix Elle users,

> There have been some articles regarding using the arrow & keypad keys
> with Elle.  Remapping Esc-[ to extend is OK, but then you lose the
> resemblence to EMACS :-(

	Bingo, that's what I was talking about.

 [stuff deleted]
> It is currently mapped to ESC-O, which of course is useless except from a
> VT100.  If you map this to ESC-[ in your ellepro.e, you will automatically
> have arrow-key functionality. 

 Both useless, and a little silly, since most students et. al. will be
using the console. Why not move it to ESC-[ in the distributed source.
That would seem to be much more useful.

 [more stuff deleted]
> Of course, the describe_key func. doesn't support these "hard" keys, and
> they  can't be remapped without recompiling, but for fixed name keys on
> the  keyboard, this is not distressing.

  It would be nice to be able to bind functions to the function keys. The
ones with names it's not to bad, since they would most likely stay the same.
The others though, it would be nice to alow binding user-defined keyboard
'macros' / 'functions' to them.

> By the way, in addition to fixing a number of display inconsistencies,
> I have just added an find-tag routine for e-tags, and am about to integrate
> regular exps.

  Sounds interesting, and usefull.

		mike.irons%lynx@helios.northeastern.edu