I've tried searching for this but was surprised not to find. If it is a repeat query please forgive me!!
Can anybody tell me how to grab stdin before it gets to stdout? I would like to read what is being typed without it echoing to the screen, play with the input, then display it later.
I've been looking at freopen to redirect stdout into a buffer, but I can't get it to work.