[BACK]Return to ox_texmacs.c CVS log [TXT][DIR] Up to [local] / OpenXM / src / kxx

Diff for /OpenXM/src/kxx/ox_texmacs.c between version 1.5 and 1.6

version 1.5, 2004/03/01 09:37:05 version 1.6, 2004/03/01 12:55:03
Line 1 
Line 1 
 /* $OpenXM: OpenXM/src/kxx/ox_texmacs.c,v 1.4 2004/03/01 07:55:38 takayama Exp $ */  /* $OpenXM: OpenXM/src/kxx/ox_texmacs.c,v 1.5 2004/03/01 09:37:05 takayama Exp $ */
   
 #include <stdio.h>  #include <stdio.h>
 #include <setjmp.h>  #include <setjmp.h>
Line 105  main() {
Line 105  main() {
   while(1) {    while(1) {
         /* printp(sys);  no prompt */          /* printp(sys);  no prompt */
         if (SETJMP(EnvOfStackMachine)) {          if (SETJMP(EnvOfStackMachine)) {
           printv("Syntax error or an interruption\n");  
           KSexecuteString(" ctrlC-hook "); /* Execute User Defined functions. */            KSexecuteString(" ctrlC-hook "); /* Execute User Defined functions. */
           if (signal(SIGINT,SIG_IGN) != SIG_IGN) {            if (signal(SIGINT,SIG_IGN) != SIG_IGN) {
                 signal(SIGINT,ctrlC);                  signal(SIGINT,ctrlC);
Line 126  main() {
Line 125  main() {
         }          }
   
         if (s == NULL) { irt = 1; continue; }          if (s == NULL) { irt = 1; continue; }
         printf("%s",DATA_BEGIN_V);          if (!irt) printf("%s",DATA_BEGIN_V);
     KSexecuteString(" ox.engine ");      KSexecuteString(" ox.engine ");
     ob = KpoString(s);      ob = KpoString(s);
         KSpush(ob);          KSpush(ob);

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>