cameron@rsch.wisc.edu (Andrew J Cameron III) (08/04/86)
In article <739@oakhill.UUCP>, luis@oakhill.UUCP (Luis Basto) writes: > I started using NANSI.SYS recently and was very satisfied with its faster > screen scrolling. ... > However, there seems to be a problem when using it with Turbo Prolog. > Everything works normally except on Quit. Then the screen blanks completely > until a warm boot (Ctrl-Shift-Del) is used. Any clues as to what might be > causing this? Thanks. I experienced the same symptoms, but one should not be so quick to re-boot. Always try other things first, like <Ctrl-C> and <Ctrl-ScrollLock>, etc. In this case however, these don't help. The remedy is a bit more obscure. Ever think of typing "mode co80" even though the screen is comatose and you get no response to the keystrokes? It worked for me. Seems Turbo_Prolog QUITs leaving the system in "Monochrome Monitor" mode or at least not a "Color Monitor" mode. (I have not gotten around to contacting Borland about this.) I use the following batch file (called "TP.BAT") as a workaround: PROLOG %1 %2 %3 %4 %5 %6 %7 %8 %9 MODE CO80 EXIT Now you would invoke Turbo_Prolog by typing "TP" instead of "PROLOG". BTW, NANSI is not the only culprit. I encountered this problem when I first started using Turbo_Prolog (FCONSOLE was loaded at the time). I tried again using a "bare" system (no CONFIG.SYS and no AUTOEXEC.BAT) and there was no problem with QUITting. Everything is fine when ANSI.SYS is loaded as well. The above batch file enables one to use FCONSOLE (and NANSI as well, I assume). -- andyiii P.S. I would be interested in anyone's reactions to Turbo_Prolog in general (actually, the more specific, the better). If I get a significant number of responses, I will summarize and re-post to the net.
bc@cyb-eng.UUCP (Bill Crews) (08/06/86)
> In article <739@oakhill.UUCP>, luis@oakhill.UUCP (Luis Basto) writes: > > I started using NANSI.SYS recently and was very satisfied with its faster > > screen scrolling. ... > > However, there seems to be a problem when using it with Turbo Prolog. > > Everything works normally except on Quit. Then the screen blanks completely > > Ever think of typing "mode co80" even > though the screen is comatose and you get no response to the > keystrokes? It worked for me. Seems Turbo_Prolog QUITs leaving the > system in "Monochrome Monitor" mode or at least not a "Color Monitor" > mode. (I have not gotten around to contacting Borland about this.) I use a monochrome monitor, and the same thing happens. I thought it must be issuing an ANSI sequence to set the colors to black-on-black or something. But the CLS command restores the screen, too. If it were the ANSI sequence for black-on-black, the screen should just clear to all black-on-black. So, Borland must be issuing an int 10h directly? If that were it, a change in the driver would seem to make no difference. I give up. > -- andyiii -- bc Bill Crews @ NetCor Data International ..!{seismo,gatech,ihnp4}!ut-sally!cyb-eng!bc (512) 835-2937