Re: Standard Input Max Length Limitation
- Posted by Bryan So <sohim at yahoo.com> Jun 25, 2007
- 718 views
OK, the real problem in detail: Here is the 4-line program: include get.e sequence s s = gets(0) printf(1, "Length: %d\n", length(s)) Under Windows XP, I run DOS Command Prompt. Then do EX TEST.EX Start to type. It will not allow you to type more than 128 characters. The cursor simply stays put after typing a while. I have also tried the TCSH shell using Cygwin. Same issue. I'm writing a language interpreter and really want user to be able to enter long command lines, e.g. print("a long string .... etc etc") Thanks Bryan ps... regarding "running under Vanilla DOS" comment. I am under the impression that ex.exe is supposed to be run under vanilla DOS, right? What else is available that is more recommended. Thanks.