[fpc-pascal]Odd behavior with Crt unit..

Stephen Hurd shurd at sk.sympatico.ca
Thu Dec 6 18:37:21 CET 2001


> -----Original Message-----
> From: fpc-pascal-admin at deadlock.et.tudelft.nl
> [mailto:fpc-pascal-admin at deadlock.et.tudelft.nl]On Behalf Of Andreas K.
> Foerster
> Sent: Wednesday, December 05, 2001 11:07
> To: fpc-pascal at deadlock.et.tudelft.nl
> Subject: Re: [fpc-pascal]Odd behavior with Crt unit..
>
>
> On Wed, Dec 05, 2001 at 08:03:02AM -0800, Gene Buckle wrote:
>
> > >From what I've been able to discover (with much help from external
> > sources) is that for some reason the FPC program is sending [6n and then
> > expects some kind of response.  I think that mTelnet and Hyperterm (and
> > some others) are returning either an invalid or incorrect response, thus
> > sending some bit of code wildly out of control.
> >
> > Ideas?
>
> Use nCRT instead of CRT.
> nCRT uses ncurses and so it uses the terminfo database.
> Disadvantage: the program will be dynamically linked to ncurses and
> libc6.
>
> --
> Tschuess
> 	Andreas

Last time I used nCrt, KeyPressed ate the key... BUT
In the latest version of Crt at the least, I've found that ensuring a tset
(Terminal Setup) is being done on the tty before the program runs fixes the
problem (I use 'tset ansi')






More information about the fpc-pascal mailing list