Displaying 2 results from an estimated 2 matches for "console_loop".
Did you mean:
console_lock
2006 Sep 06
7
[RFC PATCH] allow connecting to xenconsole from remote hosts
...-errno;
+ break;
+ }
+ count -= ret;
+ b += ret;
+ sum += ret;
+ }
+ return (ret >= 0 ? sum : ret);
}
/* don''t worry too much if setting terminal attributes fail */
@@ -91,79 +142,360 @@ static void restore_term(int fd, struct
tcsetattr(fd, TCSAFLUSH, old);
}
-static int console_loop(int fd)
-{
- int ret;
+static struct message *alloc_msg(char* data, size_t len)
+{
+ struct message *msg;
+
+ msg = malloc(sizeof(*msg));
+ if (!msg)
+ return NULL;
+
+ memset(msg, 0, sizeof(*msg));
+
+ msg->next = NULL;
+ msg->data = data;
+ msg->len = len;
+
+ return msg;
+}
+
+static v...
2008 May 26
4
xvm-gate: arrow keys broken in pygrub
One of my test domUs is a opensuse 10.3 PV domain, and it
has a /boot/grub/menu.lst file. pygrub is used as bootloader.
With xVM 3.1.4, the arrow keys can be used in the pygrub screen.
With xVM 3.3-unstable, the arrow keys don''t work for me any more.
What I''ve found out so far is that:
- gnome-terminal, xterm or dtterm are running with
"vt100 application key