Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

$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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: