move window and change several keyboard signal and ascii mapping