Index: console/console.c
===================================================================
--- console/console.c	(revision a805c24a0df4334c484ba532cf2c829648f551a3)
+++ console/console.c	(revision 375691248865a96405aedd242f1a7c5992b1d23e)
@@ -249,5 +249,5 @@
 	ipc_call_t call;
 	int consnum;
-	ipcarg_t arg1;
+	ipcarg_t arg1, arg2;
 
 	if ((consnum = find_free_connection()) == CONSOLE_COUNT) {
@@ -265,4 +265,5 @@
 	while (1) {
 		callid = async_get_call(&call);
+		arg1 = arg2 = 0;
 		switch (IPC_GET_METHOD(call)) {
 		case IPC_M_PHONE_HUNGUP:
@@ -286,4 +287,8 @@
 			screenbuffer_goto(&(connections[consnum].screenbuffer), IPC_GET_ARG1(call), IPC_GET_ARG2(call));
 			
+			break;
+		case CONSOLE_GETSIZE:
+			arg1 = fb_info.cols;
+			arg2 = fb_info.rows;
 			break;
 
@@ -304,5 +309,5 @@
 			break;
 		}
-		ipc_answer_fast(callid, 0, arg1, 0);
+		ipc_answer_fast(callid, 0, arg1, arg2);
 	}
 }
Index: console/console.h
===================================================================
--- console/console.h	(revision a805c24a0df4334c484ba532cf2c829648f551a3)
+++ console/console.h	(revision 375691248865a96405aedd242f1a7c5992b1d23e)
@@ -36,4 +36,5 @@
 #define CONSOLE_CLEAR	1028
 #define CONSOLE_GOTO	1029
+#define CONSOLE_GETSIZE	1030
 
 #endif
