[fpc-pascal]Problems with ncrt unit
Ica
ica at dunid.com
Sun Jan 4 05:26:55 CET 2004
Hi.
In a Debian Linux unstable box, with kernel 2.4.23, libc 2.3.2, ncurses 5.3
and fpc 1.9.1 (snapshot), I have the following problem.
-- Example ---
program test;
uses
nCrt;
begin
WriteLn('NoMaxCols: ', nMaxCols, ' NoMaxRows: ', nMaxRows);
end.
-- Compile --
$>fpc test.pp
Free Pascal Compiler version 1.9.1 [2004/01/02] for i386
Copyright (c) 1993-2002 by Florian Klaempfl
Target OS: Linux for i386
Compiling test.pp
Linking test
8 Lines compiled, 0.0 sec
$>
-- Execute --
$>./test
NoMaxCols: 15 NoMaxRows: 1
$>
-------------
In my box, expected result is 80x25 for text console, or 80x24 in xterm.
What is wrong?
Thanks in advance.
Ica
More information about the fpc-pascal
mailing list