1999-08-06 20:45:37 +00:00
|
|
|
--- src/term.c.orig Sat Aug 7 05:07:34 1999
|
|
|
|
+++ src/term.c Sat Aug 7 05:07:39 1999
|
|
|
|
@@ -201,11 +201,14 @@
|
|
|
|
}
|
|
|
|
if (FD_ISSET(0, &readFds)) {
|
|
|
|
i = read(0, buff, BUFSIZ);
|
|
|
|
+#if defined(__FreeBSD__)
|
|
|
|
+ i = cons25tovt100(buff, i, BUFSIZ);
|
|
|
|
+#endif
|
|
|
|
if (i > 0) write(masterPty, buff, i);
|
1997-07-10 13:15:00 +00:00
|
|
|
PollCursor(TRUE);
|
|
|
|
}
|
|
|
|
if (FD_ISSET(sockFd, &readFds)) SocketInterface(sockFd);
|
|
|
|
- if (mInfo.has_mouse) {
|
|
|
|
+ if (mInfo.has_mouse && mouseFd > 0) {
|
|
|
|
if (FD_ISSET(mouseFd, &readFds) && con.active) {
|
|
|
|
i = read(mouseFd, buff, BUFSIZ);
|
|
|
|
if (i > 0) MouseGetPacket(buff, i);
|