version 1.2, 2000/10/13 07:39:10 |
version 1.4, 2000/11/28 04:02:56 |
|
|
/* -*- mode: C -*- */ |
/* -*- mode: C -*- */ |
/* $OpenXM: OpenXM/src/oxc/oxc.c,v 1.1 2000/10/13 06:05:12 ohara Exp $ */ |
/* $OpenXM: OpenXM/src/oxc/oxc.c,v 1.3 2000/11/18 06:03:42 ohara Exp $ */ |
|
|
#include <stdio.h> |
#include <stdio.h> |
#include <stdlib.h> |
#include <stdlib.h> |
Line 52 static char *xterminal() |
|
Line 52 static char *xterminal() |
|
return (e != NULL)? e: "xterm"; |
return (e != NULL)? e: "xterm"; |
} |
} |
|
|
|
static int basic0[] = { |
|
CMO_ERROR2, |
|
CMO_NULL, |
|
CMO_INT32, |
|
CMO_DATUM, |
|
CMO_STRING, |
|
CMO_MATHCAP, |
|
CMO_LIST, |
|
0}; |
|
|
int main(int argc, char *argv[]) |
int main(int argc, char *argv[]) |
{ |
{ |
OXFILE *oxfp; |
OXFILE *oxfp; |
Line 96 int main(int argc, char *argv[]) |
|
Line 106 int main(int argc, char *argv[]) |
|
fprintf(stderr, "oxc: cannot connect.\n"); |
fprintf(stderr, "oxc: cannot connect.\n"); |
}else { |
}else { |
fprintf(stderr, "oxc: oxfp = %p, fd = %d\n", oxfp, oxfp->fd); |
fprintf(stderr, "oxc: oxfp = %p, fd = %d\n", oxfp, oxfp->fd); |
mathcap_sysinfo_set(20001006, "v2000.10.06", "oxc"); |
mathcap_init(20001006, "v2000.10.06", "oxc", basic0, NULL); |
sm(oxfp); |
sm(oxfp); |
} |
} |
return 0; |
return 0; |