[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#505297: #505297 ncurses-base: Wrong terminfo for xterm keys up, down, end, home

On Fri, 4 Dec 2009, Jörg Sommer wrote:

But the applications jed and vi receive the strings:

Home: \E[1~
End: \E[4~

by the way, these codes come from a non-default setting (i.e., the menu entry "VT220 keyboard"). In that case, you might want to set $TERM to "xterm-vt220".

With the default resource settings, home/end keys send either

^[OH^[OF  (for application mode)
^[[H^[[F  (for normal mode)

Thomas E. Dickey

Reply to: