I was wondering if anyone knew any good tutorial for interacting with external programs which use readline?

Is there any other way than using the system() function?