Question: how to add new menu functionality

2011-04-22 Thread Stephen Torri
I am using the released grub-1.98 code for my development. The problem I am having is how to add new functionality to the 'normal' module. I would like to add a new feature to the code using some functions that don't presently exist in the code. When I coded the functions I had to manually edit def

Re: Question: how to add new menu functionality

2011-04-22 Thread Colin Watson
On Fri, Apr 22, 2011 at 06:03:41AM -0400, Stephen Torri wrote: > I am using the released grub-1.98 code for my development. I recommend using 1.99~rc2 or a current bzr checkout, if you can. Not just on general principles, but because its rewritten build system is really a great deal easier to mod

Re: Question: how to add new menu functionality

2011-04-22 Thread Stephen Torri
Thanks for the help. The build code for 1.99 is much easier to navigate than for 1.98. I downloaded the 1.99-rc2 source from the ftp site. As I worked on the code today I came up with four more questions on developing grub2: 1. This relates to the use of the kvm for testing a grub2 iso. How do yo

Re: Question: how to add new menu functionality

2011-04-22 Thread Vladimir 'φ-coder/phcoder' Serbinenko
> 1. This relates to the use of the kvm for testing a grub2 iso. How do > you scroll up and down in the view in the kvm window? > pager=1 > 2. How do you do unblocking I/O from stdin? There are ways to do it with > the select system call but it seems that there are only grub functions > that are s

Re: Question: how to add new menu functionality

2011-04-22 Thread Colin Watson
On Fri, Apr 22, 2011 at 06:25:26PM -0400, Stephen Torri wrote: > Thanks for the help. The build code for 1.99 is much easier to navigate > than for 1.98. I downloaded the 1.99-rc2 source from the ftp site. > > As I worked on the code today I came up with four more questions on > developing grub2: