Reading input command

Reading input command bounded to 512 chars