[comp.sys.ibm.pc] Ooops. Typo in my Re: Bat file using ESC seq needs to find if DEVICE=ANSI.SYS was set

mds7958@ritcv.UUCP (Mark Sicignao) (04/14/88)

> > printf("\n\033[2J"); /* prints a newline and then tries to clear the screen */
> 
> I don't think this will work?  At least not on my version of MS-DOS (3.1)
> Even without ansi.sys installed, the \003[2J sequence still clears my screen

                 ------->    should be \033[2J

> and puts the cursor at HOME position.
> 
> However the escape sequence \003[H is only recognized when ansi.sys is used,

        ------->    should be \033[H

> so this will work.
> 
> -mark