Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Xterm and CURSOR (INS && OVERRIDE)



heiko_elger@xxxxxxxxxx wrote:
> Is it possible to send an escape sequence when pressing the INS key to change
>  
> the cursor in the XTERM (AIXTERM), e.x. INSERT MODE --> full cursor, OVERRIDE
>  
> MODE small cursor.

This shouldn't be a problem.  The usual trick applies:  use ^V, then
the INS key to see what escape sequence it's sending, then bind that.
In my case the incantation is

bindkey "^[[2~" overwrite-mode

-- 
Peter Stephenson <pws@xxxxxx>       Tel: +39 50 844536
WWW:  http://www.ifh.de/~pws/
Gruppo Teorico, Dipartimento di Fisica
Piazza Torricelli 2, 56100 Pisa, Italy



Messages sorted by: Reverse Date, Date, Thread, Author