fix HOME and END key under linux