crt & ncurses

Frank Heckenbach ih8mj at fjf.gnu.de
Sat Feb 4 13:13:27 CET 2006


Russell Whitaker wrote:

> On Sat, 4 Feb 2006, Frank Heckenbach wrote:
> 
> > Russell Whitaker wrote:
> >
> >>[..]
> >> if I insert SetPCCharSet( false ) before
> >> the first write the problem goes away.
> >
> > That's right. (But you got my patch back then to fix the problem
> > also in the other case, didn't you?)
> >
> Yes, but somehow the change never made it into the latest alpha
> releases.
> 
> As 2nd thought on the mater perhaps it would be more "universal"
> to put SetPCCharSet( false ) in crt's init code. (What made the
> demos work was framwin's SetPCCharSet(true), followed by some
> writes, and then SetPCCharSet(false).

There's a problem with BP compatibility. If you use CRT without
calling CRTInit (which BP doesn't have), it behaves Dos/BP
compatible. If you call CRTInit, the default is in fact
SetPCCharSet (False), as well as SetCRTUpdate (UpdateWaitInput).

Frank

-- 
Frank Heckenbach, frank at g-n-u.de, http://fjf.gnu.de/, 7977168E
GPC To-Do list, latest features, fixed bugs:
http://www.gnu-pascal.de/todo.html
GPC download signing key: ACB3 79B2 7EB2 B7A7 EFDE  D101 CD02 4C9D 0FE0 E5E8




More information about the Gpc mailing list