have you read FAQ: How can I get input without having the user hit [Enter]?
have you read FAQ: How can I get input without having the user hit [Enter]?
All problems in computer science can be solved by another level of indirection,
except for the problem of too many layers of indirection.
– David J. Wheeler
To create my shell I used, the termcap library. Its standart for all terminals, and not to hard to work with.
http://www.gnu.org/software/termutil...o/termcap.html