Use uint8_t/uint32_t etc to replace u_char/u_long etc; Use getchar for shell input.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@635 bbd45198-f89e-11dd-88c7-29a3b14d5316