OSはwindouwsXPで、DOSで時計を表示するプログラムでエスケープシーケンスが動きません。
「device=%SystemRoot%\system32\ANSI.SYS」をconfig.NTに追加して、
system32の方のプロンプトに直接エスケープシーケンスを書き込んで機能させるところまでできたのですが・・・。

#include<stdio.h>
#include<time.h>
#include<conio.h>

main()
{
time_t timee;
struct tm *timee2;
char *timee3;


while(!kbhit()){
time(&timee);
timee2 = localtime(&timee);
timee3 = asctime(timee2);
printf("\x1b[4;1H");
printf("現在時刻:%s", timee3);

}

return 0;
}

ESC部分は、¥0x1b、¥x1b、で試しました。
よろしくお願いします。