about summary refs log tree commit diff stats
path: root/html/rogue/js
Commit message (Collapse)AuthorAgeFilesLines
* *elioat2024-12-284-10/+132
|
* *elioat2024-12-282-2/+1
|
* *elioat2024-12-281-1/+13
|
* *elioat2024-12-282-3/+108
|
* *elioat2024-12-282-9/+76
|
* *elioat2024-12-281-1/+1
|
* *elioat2024-12-281-11/+20
|
* *elioat2024-12-283-11/+17
|
* *elioat2024-12-285-58/+82
|
* *elioat2024-12-282-26/+30
|
* *elioat2024-12-284-16/+9
|
* *elioat2024-12-281-1/+1
|
* *elioat2024-12-281-1/+1
|
* *elioat2024-12-285-77/+81
|
* *elioat2024-12-275-0/+119
|
* *elioat2024-12-275-65/+165
|
* *elioat2024-12-273-7/+62
|
* *elioat2024-12-271-1/+0
|
* *elioat2024-12-274-3/+101
|
* *elioat2024-12-273-18/+17
|
* *elioat2024-12-274-7/+24
|
* *elioat2024-12-275-10/+36
|
* *elioat2024-12-275-118/+162
|
* *elioat2024-12-271-0/+3
|
* *elioat2024-12-278-1458/+301
|
* *elioat2024-12-241-231/+304
|
* *elioat2024-12-241-17/+29
|
* *elioat2024-12-241-20/+28
|
* *elioat2024-12-241-106/+104
|
* *elioat2024-12-241-78/+133
|
* *elioat2024-12-241-3/+3
|
* *elioat2024-12-241-96/+87
|
* *elioat2024-12-244-30/+70
|
* *elioat2024-12-243-92/+154
|
* *elioat2024-12-242-309/+345
|
* *elioat2024-12-241-1/+34
|
* *elioat2024-12-241-4/+108
|
* *elioat2024-12-241-12/+30
|
* *elioat2024-12-241-43/+43
|
* *elioat2024-12-241-2/+94
|
* *elioat2024-12-241-1/+77
|
* *elioat2024-12-241-2/+103
|
* *elioat2024-12-241-12/+57
|
* *elioat2024-12-242-3/+172
|
* *elioat2024-12-241-19/+108
|
* *elioat2024-12-244-0/+464
|
* *elioat2024-12-243-0/+0
class="w"> SetOutputMode(O_TEXT); printf("\n\n%s %d\n\n", gettext("Exiting via interrupt:"), sig); fflush(stdout); } #ifndef NOSIGHUP } else { cleanup_files(); } #endif /* NOSIGHUP */ #ifndef NOSIGHUP (void) signal(SIGHUP, SIG_DFL); #endif /* NOSIGHUP */ (void) signal(SIGTERM, SIG_DFL); #ifndef VMS (void) signal(SIGINT, SIG_DFL); #endif /* !VMS */ #ifdef SIGTSTP if (no_suspend) (void) signal(SIGTSTP, SIG_DFL); #endif /* SIGTSTP */ if (sig != 0) { exit(0); } } /* * Called by Interrupt handler or at quit time. * Erases the temporary files that lynx created. */ PUBLIC void cleanup_files NOARGS { LYCleanupTemp(); FREE(lynx_temp_space); } PUBLIC void cleanup NOARGS { int i; #ifdef VMS extern BOOLEAN DidCleanup; #endif /* VMS */ /* * Cleanup signals - just in case. * Ignore further interrupts. - mhc: 11/2/91 */ #ifndef NOSIGHUP (void) signal(SIGHUP, SIG_IGN); #endif /* NOSIGHUP */ (void) signal (SIGTERM, SIG_IGN); #ifndef VMS /* use ttclose() from cleanup() for VMS */ (void) signal (SIGINT, SIG_IGN); #endif /* !VMS */ if (LYCursesON) { move(LYlines-1, 0); clrtoeol(); lynx_stop_all_colors (); refresh(); stop_curses(); } #ifdef EXP_CHARTRANS_AUTOSWITCH #ifdef LINUX /* * Currently implemented only for LINUX: Restore original font. */ UCChangeTerminalCodepage(-1, (LYUCcharset*)0); #endif /* LINUX */ #endif /* EXP_CHARTRANS_AUTOSWITCH */ #ifdef EXP_PERSISTENT_COOKIES /* * This can go right here for now. We need to work up a better place * to save cookies for the next release, preferably whenever a new * persistent cookie is received or used. Some sort of protocol to * handle two processes writing to the cookie file needs to be worked * out as well. */ if (persistent_cookies) LYStoreCookies (LYCookieFile); #endif cleanup_files(); for (i = 0; i < nhist; i++) { FREE(history[i].title); FREE(history[i].address); FREE(history[i].post_data); FREE(history[i].post_content_type); FREE(history[i].bookmark); } nhist = 0; #ifdef VMS ttclose(); DidCleanup = TRUE; #endif /* VMS */ LYCloseTracelog(); }