* to execute the command and will exit with status 127. You can catch
* that by installing a SIGCHLD handler if you want.
*/
-pid_t rote_vt_forkpty(RoteTerm *rt, const char *command);
+pid_t rote_vt_forkpty(RoteTerm *rt, const char *path, const char *argv[]);
/* Disconnects the RoteTerm from its forked child process. This function
* should be called when the child process dies or something of the sort.
* read from the child process it will return immediately. */
void rote_vt_update(RoteTerm *rt);
+int rote_vt_read(RoteTerm *rt, char *buf, int buflen);
+
/* Puts data into the terminal: if there is a forked process running,
* the data will be sent to it. If there is no forked process,
* the data will simply be injected into the terminal (as in