Fix two bugs under ubuntu

1. 001B [5 q [2 q error codes (Map cursor made)
2. blinking screen when login with (fsecure) ssh