support typing command from console in server