gets with \r

git-svn-id: http://hustoj.googlecode.com/svn@2133 19ab8b60-bd6c-11dd-baed-41e496641fac