version 1.6, 2000/12/05 01:24:56 |
version 1.7, 2000/12/22 10:03:31 |
|
|
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* |
* |
* $OpenXM: OpenXM_contrib2/asir2000/parse/debug.c,v 1.5 2000/08/22 05:04:26 noro Exp $ |
* $OpenXM: OpenXM_contrib2/asir2000/parse/debug.c,v 1.6 2000/12/05 01:24:56 noro Exp $ |
*/ |
*/ |
#include "ca.h" |
#include "ca.h" |
#include "parse.h" |
#include "parse.h" |
|
|
#endif |
#endif |
char buf[BUFSIZ]; |
char buf[BUFSIZ]; |
char prompt[BUFSIZ]; |
char prompt[BUFSIZ]; |
char *p,*pe; |
char *p,*pe,*line; |
NODE tn; |
NODE tn; |
extern int kernelmode,do_fep; |
extern int kernelmode,do_fep; |
NODE pvss; |
NODE pvss; |
|
|
fputc('\0',stderr); |
fputc('\0',stderr); |
setjmp(debug_env); |
setjmp(debug_env); |
while ( 1 ) { |
while ( 1 ) { |
if ( !do_server_in_X11 ) |
#if FEP |
fputs(prompt,stderr); |
if ( !do_fep ) |
|
#endif |
|
if ( !do_server_in_X11 ) |
|
fputs(prompt,stderr); |
bzero(buf,BUFSIZ); |
bzero(buf,BUFSIZ); |
while ( 1 ) { |
while ( 1 ) { |
|
#if FEP |
|
if ( do_fep ) { |
|
line = (char *)readline_console(prompt); |
|
strcpy(buf,line); free(line); |
|
} else |
|
#endif |
{ |
{ |
int len; |
int len; |
|
|