[fpc-pascal]Problems with ncrt unit

2004-01-03 Thread Ica
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 Co

Re: [fpc-pascal]CRT prevents break?

2004-01-03 Thread Michael . VanCanneyt
On Sat, 3 Jan 2004, Alan Mead wrote: > > --- [EMAIL PROTECTED] wrote: > > > Thanks for the information. Can you give me a pointer to > > "catching > > > these keys" myself? > > > > Just check the result of the next key with readkey. > > It should return #3 for ctrl-c, and #26 for ctrl-Z. >

Re: [fpc-pascal]CRT prevents break?

2004-01-03 Thread Alan Mead
--- [EMAIL PROTECTED] wrote: > > Thanks for the information. Can you give me a pointer to > "catching > > these keys" myself? > > Just check the result of the next key with readkey. > It should return #3 for ctrl-c, and #26 for ctrl-Z. Ah. Now I see. It's been a while ... is ReadKey blocki

Re: [fpc-pascal]CRT prevents break?

2004-01-03 Thread Michael . VanCanneyt
On Fri, 2 Jan 2004, Alan Mead wrote: > > --- Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > > This is a 'known issue'. It's normal behaviour. AFAIK, CTRL-C and > > CTRL-Z > > are normally handled by the shell. The CRT unit takes over the > > terminal, > > preventing the shell from catchi

Re: [fpc-pascal]building from cvs / win32

2004-01-03 Thread Marco van de Voort
> getting the follownig error when attempting to build the latest cvs. > i've gone over the build instructions and can't seem to see where i > might be going wrong. i'll paste below the last few lines of output up > to the point at which it fails. Starting compiler. While a fairly recent 1.9.