From: Henry N. <Hen...@Ar...> - 2008-03-11 20:55:58
|
Hello, is console size (NT and FLTK) an interesting option for coLinux? Should we give it as runtime parameter? Instead the source code change and recompiling. Henry Nestler wrote: > Hello Paolo, > > think, you have forgotten two lines with 79 and 24, the "values-1". > Have changed console size to 40x120. Hope, it is not to big now. ;-) > > Here is the complete patch for coLinux 0.8.0: > http://www.henrynestler.com/colinux/patches/devel/console-size-40x120.patch > Should also be usable for 0.7.2/0.7.3, but not tested. > > and a ready to use build with it: > http://www.henrynestler.com/colinux/testing/devel-0.8.0/20080310-con-40x120/ > > and a screenshot: > http://www.henrynestler.com/colinux/screenshoots/Console-size-40x120.png > > Paolo Minazzi wrote: >> hi colinux developers and users. >> >> I have two things to communicate (a post and a question) >> >> 1) >> with the 0.7.1 if I use >> stty rows n , where n>25 , Windows crash >> This is not an important problem, but it is an error. >> I tried to understand where is the problem (into the source) but I wan >> unabile to do it. I'm sorry :=( >> >> 2) >> I have tried to adjust the console-nt to have a larger console, for >> example 80x40. >> I have modified some lines in the code : >> >> src/colinux/kernel/monitor.c:915: >> rc = co_console_create(80, 40 /* 25 */ , 0, &cmon->console); // BY PAOLO >> >> src/colinux/os/linux/kernel/module/.module.kernel_build/monitor.c:915: >> rc = co_console_create(80, 40 /* 25 */ , 0, &cmon->console); // BY PAOLO >> >> src/colinux/os/current/user/console-nt/widget.cpp:125 >> r.bottom = fs.Y * 40; // 25; BY PAOLO >> >> src/colinux/os/current/user/console-nt/widget.cpp:141 >> size.Y = 40 ; // 25 ; PAOLO >> >> ~/build/linux-2.6.22-source/drivers/video/console:63 >> c->vc_rows = 40; // 25; BY PAOLO >> >> recompile all. >> Colinux on Win32 starts ok, but afterm some messages the system crash >> and my PC reboots. >> >> I have searched something like "4000" (=80x25) or "8000" (=80*25*2, >> for char and attribute) but nothing. >> >> I know that it is possbile use putty, but the console sometimes is more useful. >> If someone have ideas, please submit it. >> >> Regards, >> Paolo Minazzi >> -- Henry N. |