From: Paolo M. <pao...@gm...> - 2008-03-09 15:45:06
|
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 |
From: Henry N. <Hen...@Ar...> - 2008-03-10 21:43:51
|
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 > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > coLinux-users mailing list > coL...@li... > https://lists.sourceforge.net/lists/listinfo/colinux-users > -- Henry N. |
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. |
From: Paolo M. <pao...@gm...> - 2008-03-17 22:31:07
|
On Tue, Mar 11, 2008 at 9:56 PM, Henry Nestler <Hen...@ar...> wrote: > 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. I think that a #define with SIZE_X and SIZE_Y can be good. Configuring the size at sartup can be good (an option vga=100x40, for example) , but I think require some works ..... For advanced use there is putty. Bye, Paolo |
From: Henry N. <Hen...@Ar...> - 2008-03-17 23:47:14
Attachments:
console-resize-disallow.patch
|
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 :=( Thanks. Live console resizing is not supported for colinux. The console buffer is allocated on the windows side on starting coLinux and can not change at live time. The patch will fix it. -- Henry N. |