Re: Standard Input Max Length Limitation
- Posted by Bryan So <sohim at yahoo.com> Jun 26, 2007
- 741 views
Yes, I have tried exw and exwc before but have to give up since they have fewer limits. It is probably unrelated to the limitation of cmd.exe because cmd has 259 max not 128. 259 is probably fine for a command line interpreter interface like the one I'm working on but 128 is just not enough for me. Derek, thanks for the console_gets code. But it will not fly because it is very, very complicated to add support for backspace (with proper screen scrolling and cursor positioning when line length is longer than say 255). I will now adapt the csh-like backslash convention to concatenate two input lines into one. But this seems to be an arbitrary burden to the user. It would be really nice if there is a native solution to gets(stdin). Thanks. Bryan