#include <string.h>
#include "extern.h"

chgjyo(chs)     /* ¼Þ®³·®³ Ë®³¼Þ ÍÝº³ */
       char chs[];
       {
		char dspbuf2[70];

        nwdate();
        strcpy(stus,chs);
        strcpy(pasttime,nowtime);

        sprintf(dspbuf,"\x0b\x1bT");

        sprintf(dspbuf2,"%d %04d>%04d",devdrv,resttime[0],resttime[1]);
		strcat(dspbuf,dspbuf2);
        sprintf(dspbuf2," %04d>%04d",resttime[2],resttime[3]);
		strcat(dspbuf,dspbuf2);
        sprintf(dspbuf2," %s %s %d",pasttime,stus,cnttime);
		strcat(dspbuf,dspbuf2);
        sprintf(dspbuf2," fm=%s",hiscall);
		strcat(dspbuf,dspbuf2);
        sprintf(dspbuf2," %s\n\n",lastdate);
		strcat(dspbuf,dspbuf2);

	    sprintf(dspbuf2,"\x1b[24;1H");  
		strcat(dspbuf,dspbuf2);

        dspjyo();
		return(0);
       }
       
