pipes

DDRAKE at AUVM.BITNET DDRAKE at AUVM.BITNET
Mon Feb 5 06:30:22 AEST 1990


WE are currently writing a frontend for Csh that handles command line
editing, and command history using the arrow keys.  We kind of stalled out
because we haven't figured out how to create the necessary pipes.  We
would really like to just redirect stdio, fork() then execve() csh.  input
to csh would be the stdout of the frontend and output would just be
echoed.  CC screams when ever we try to assign any new FILE * to stdin and
stdout. WHat is the best way to implement the pipe?  we also tried using
pipe(), then fdopen(), but the cc still screams.

ddrake at auvm.bitnet
Please send email.



More information about the Comp.sys.sun mailing list