On Thu, Jul 27, 2000 at 08:32:26PM +0200, Jan Houtsma wrote:
> i have the following macro which works for xterm:
> macro index   <F2> "<esc>VT~A\n;Wn^T~A\n<esc>Vc\n" "change-folder and mark all read"
> 
> however when i use Eterm i have to change the key into:
> macro index   <esc>[12~ "<esc>VT~A\n;Wn^T~A\n<esc>Vc\n" "change-folder and mark all 
>read"
> 
> Both use TERM=xterm.
> 
> Why is that?

Because Eterm is not exactly an xterm, and $TERM=xterm doesn't describe
it accuratelly.  There's a terminfo description in Eterm sources
(doc/Eterm.ti).  Either install it (then it will overwrite your xterm
definition and <f2> won't be recognised in the actual xterm) or modify
it before installing to change the name to Eterm (and then set TERM to
Eterm).

This might or might not work -- as I remember, Eterm.ti had some bugs
which were fixed in the CVS version.  I don't remember if the 0.9
release has those fixes (and I'm pessimistic about 0.8.x).  I use the
latest CVS version -- all bugs that annoyed me with 0.8.x and 0.9 are
fixed there.

Marius Gedminas
-- 
Science is to computer science as hydrodynamics is to plumbing.

Reply via email to