#include <errno.h>
#include <stdlib.h>
#include <fcntl.h>
-#ifdef USE_PTY
-#include <pty.h>
-#endif
#include <stdio.h>
#include <string.h>
+#include <sys/ioctl.h>
#include "madtty.h"
#include "roteprivate.h"
return 0;
}
-
-#ifdef USE_PTY
-
pid_t rote_vt_forkpty(RoteTerm *rt, const char *path, const char *argv[])
{
struct winsize ws;
rt->childpid = 0;
}
-#endif
-
void rote_vt_update(RoteTerm *rt)
{
char buf[512];