Hi,
I would like to know can I read text from the console? Text is drawn in the console window so it's in RAM and I assume that it should be possible to access it.
The way streams work, what you're asking is impossible with them.
BUT, there's a different solution. Google ncurses or PDcurses, and then read this: http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/