readcmd.c now work properly.