Displaying 3 results from an estimated 3 matches for "getnumcols".
2009 Apr 15
2
The maximum number of rows in a com32 menu
...uses your menu, I found I can't reach more
than 24 rows whereas my screen is 25.
set_windows_size() relies on getnumrows() to define the maximum number
of possible rows.
But regarding to getnumrows() code, it sounds to report "// Actually
numrows - 1".
On my screen which is 80x25, getnumcols x getrowcols reports 80x24.
The set_windows_size() is so refusing to set the screen up to 80x25.
Is it a desired behavior or can we fix the menuing system by replacing
getnumrows() calls by getnumrows()+1 ?
Erwan,
2004 Apr 27
2
Gcc 3.4.0 and syslinux-2.09 menu
...en it will have to be done in the assembler code. Gcc 3.3.3
just seems to ignore the constraint. It didn't do anything special to
preserve the register.
I also noticed that getnumrows returns the contents of 0x484 which is
the number of rows minus one but menu.c has this
ms->numcols = getnumcols();
ms->numrows = getnumrows();
ms->maxcol = ms->numcols - 1;
ms->maxrow = ms->numrows - 1;
which makes maxrow = rows - 2. Is this intentional?
BTW, if you put this line
__asm__ (".code16gcc\n\t");
in an include file and include that file at the top of the ....
2002 Oct 16
5
Database newbee problem...
Hi all,
This is a potentially very stupid question about MySQL <-> R
interaction, but I have not been able to solve it.
I'm just trying to connect R to my MySQL databse, and gets this:
> library(RMySQL)
Loading required package: methods
> m <- dbDriver("MySQL")
> con <- dbConnect(m,group="testdb")
Process R segmentation fault at Wed Oct 16 07:04:30