hello-
i am calling getchar, and i know usually that you have to hit enter to flush the buffer and read the data with getchar. however, i see that if i input 2k characters interactively, getchar will read the data without a return. also, if i use a perl script as input, it seems i have to generate about 4k worth of characters before getchar will read it.
is there a standard buffer size that "overflows" and forces getchar to read without a carriage return? and why would i get different results between interactive and perl script?
just wondering...
thanks