PDA

View Full Version : Interactive Programs



creativeinspira
09-09-2007, 03:02 AM
Hey Guys,
When writing a shell, what is the technique for supporting interactive programs such as pico, more, and less. Suppose that a program has both, a keyboard input as well as a piped one ie ls | more, how can it be supported if the STDIN is tied to the pipe?