From: "Sterling Bates" <[EMAIL PROTECTED]> To: fpc-devel@lists.freepascal.org Subject: [fpc-devel] Quick patch for bug 3762 Date: 30.3.2005 - 12:18:31
Hi Sterling > Turns out the CRT unit in OS/2 -- which, by my searches, uses > #13#10 as CRLF -- was recognizing #13 alone as CRLF. #10 was > completed ignored. Thanks for your patch, it's correct and I'll apply it once I get to a machine with CVS access (unless somebody else applies it earlier ;-) ). Unfortunately, the problem is wider - there are several other issues with the current OS/2 implementation (if you just quickly compare it with e.g. the GO32v2 implementation, you'd find some other problems too - e.g. handling of #8 is surely incorrect etc.). The main problem is that there's a lot platform independent functionality in Crt unit which is re-implemented for every platform again and again. The best solution would be to throw all the individual implementations away completely and implement cross-platform Crt unit based on capabilities provided by units Keyboard and Video (possibly missing functionalities within these units necessary for Crt could be either handled by platform specific include file, or by extending current Keyboard and/or Video). This issue has been discussed several times in the core team already, but nobody found the time for doing it yet due to higher priority tasks. Would you be willing to give it a try by any chance? Regards Tomas -- Akcni unorova nabidka "3 za cenu 1"! Ziskejte VOLNY ADSL 512/128 3GB za cenu 1GB! http://adsl.volny.cz _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel