Re:Snake Vim Trainer
by guard-of-terra on Friday August 16, 2013 @05:55PM
(#6226949)
$TERM is a joke when you're on ssh (and that's always).
It's always "xterm" but there is a huge variation between those xterms and key codes seems to be altered as they pass down the chain.
Is Home ^]]1~ or it's ^]H? You have to guess every time.
Of course UNIX terminal handling is not standardized at all, so you may find that some programs ignore $TERM and do their own thing.