Mercurial > hg > xemacs-beta
comparison src/signal.c @ 404:2f8bb876ab1d r21-2-32
Import from CVS: tag r21-2-32
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:16:07 +0200 |
parents | 8626e4521993 |
children | de805c49cfc1 |
comparison
equal
deleted
inserted
replaced
403:9f011ab08d48 | 404:2f8bb876ab1d |
---|---|
418 to the original shell, ever. */ | 418 to the original shell, ever. */ |
419 stdout_out ("No support for stopping a process on this operating system;\n"); | 419 stdout_out ("No support for stopping a process on this operating system;\n"); |
420 stdout_out ("you can continue or abort.\n"); | 420 stdout_out ("you can continue or abort.\n"); |
421 #endif /* not SIGTSTP */ | 421 #endif /* not SIGTSTP */ |
422 stdout_out ("Auto-save? (y or n) "); | 422 stdout_out ("Auto-save? (y or n) "); |
423 fflush (stdout); | |
424 if (((c = getc (stdin)) & ~040) == 'Y') | 423 if (((c = getc (stdin)) & ~040) == 'Y') |
425 Fdo_auto_save (Qnil, Qnil); | 424 Fdo_auto_save (Qnil, Qnil); |
426 while (c != '\n') | 425 while (c != '\n') |
427 c = getc (stdin); | 426 c = getc (stdin); |
428 stdout_out ("Abort (and dump core)? (y or n) "); | 427 stdout_out ("Abort (and dump core)? (y or n) "); |
429 fflush (stdout); | |
430 if (((c = getc (stdin)) & ~040) == 'Y') | 428 if (((c = getc (stdin)) & ~040) == 'Y') |
431 abort (); | 429 abort (); |
432 while (c != '\n') | 430 while (c != '\n') |
433 c = getc (stdin); | 431 c = getc (stdin); |
434 stdout_out ("Continuing...\n"); | 432 stdout_out ("Continuing...\n"); |
435 fflush (stdout); | |
436 reinit_initial_console (); | 433 reinit_initial_console (); |
437 MARK_FRAME_CHANGED (XFRAME (DEVICE_SELECTED_FRAME | 434 MARK_FRAME_CHANGED (XFRAME (DEVICE_SELECTED_FRAME |
438 (XDEVICE (CONSOLE_SELECTED_DEVICE | 435 (XDEVICE (CONSOLE_SELECTED_DEVICE |
439 (XCONSOLE | 436 (XCONSOLE |
440 (Vcontrolling_terminal)))))); | 437 (Vcontrolling_terminal)))))); |