Wed Sep 8 11:11:00 PDT 1999 Michael Jennings <mej@eterm.org>

Patch from Sung-Hyun Nam <namsh@lgic.co.kr> for the theme files.  Also
	added a timeout for the backtrace attempt so that it hopefully won't
	hang around forever when gdb decides to hang.


SVN revision: 204
eterm-0.10
Michael Jennings 24 years ago
parent 48b2403b9a
commit 0efd3d7465
  1. 7
      ChangeLog
  2. 29
      src/command.c
  3. 8
      src/term.c
  4. 3
      themes/Eterm/theme.cfg.in
  5. 3
      themes/chooser/theme.cfg.in
  6. 3
      themes/emacs/theme.cfg.in
  7. 3
      themes/irc/theme.cfg.in
  8. 3
      themes/mutt/theme.cfg.in
  9. 3
      themes/tn3270/theme.cfg.in
  10. 3
      themes/trans/theme.cfg.in

@ -2372,3 +2372,10 @@ Tue Sep 7 13:15:30 PDT 1999 Michael Jennings <mej@eterm.org>
make distcheck works without breaking regular makes now. =P
-------------------------------------------------------------------------------
Wed Sep 8 11:11:00 PDT 1999 Michael Jennings <mej@eterm.org>
Patch from Sung-Hyun Nam <namsh@lgic.co.kr> for the theme files. Also
added a timeout for the backtrace attempt so that it hopefully won't
hang around forever when gdb decides to hang.
-------------------------------------------------------------------------------

@ -958,6 +958,21 @@ request_code_to_name(int code)
return "Unknown";
}
static void
hard_exit(void) {
#ifdef HAVE__EXIT
_exit(-1);
#elif defined(SIGKILL)
kill(cmd_pid, SIGKILL);
raise(SIGKILL);
#else
kill(cmd_pid, 9);
raise(9);
#endif
}
/* Try to get a stack trace when we croak */
void
dump_stack_trace(void)
@ -991,21 +1006,11 @@ dump_stack_trace(void)
print_error("Your system does not support any of the methods Eterm uses. Exiting.\n");
return;
#endif
signal(SIGALRM, (sighandler_t) hard_exit);
alarm(10);
system(cmd);
}
void
hard_exit(void) {
dump_stack_trace();
#ifdef HAVE__EXIT
_exit(-1);
#else
abort();
#endif
}
/* signal handling, exit handler */
/*
* Catch a SIGCHLD signal and exit if the direct child has died

@ -149,6 +149,10 @@ lookup_key(XEvent * ev)
}
#endif /* USE_XIM */
#ifdef USE_XIM
if (valid_keysym) {
#endif
if (action_dispatch(ev, keysym)) {
return;
}
@ -160,10 +164,6 @@ lookup_key(XEvent * ev)
}
}
#ifdef USE_XIM
if (valid_keysym) {
#endif
if ((Options & Opt_report_as_keysyms) && (keysym >= 0xff00)) {
len = sprintf(kbuf, "\e[k%X;%X~", (unsigned int) (ev->xkey.state & 0xff), (unsigned int) (keysym & 0xff));
tt_write(kbuf, len);

@ -321,6 +321,9 @@ begin main
# (Default is 5).
border_width 5
# Defines the number of pixels to add between lines (default is 0).
# line_space 2
# Value to use for $TERM
term_name xterm

@ -321,6 +321,9 @@ begin main
# (Default is 5).
border_width 5
# Defines the number of pixels to add between lines (default is 0).
# line_space 2
# Value to use for $TERM
term_name xterm

@ -321,6 +321,9 @@ begin main
# (Default is 5).
border_width 5
# Defines the number of pixels to add between lines (default is 0).
# line_space 2
# Value to use for $TERM
term_name xterm

@ -321,6 +321,9 @@ begin main
# (Default is 5).
border_width 5
# Defines the number of pixels to add between lines (default is 0).
# line_space 2
# Value to use for $TERM
term_name xterm

@ -270,6 +270,9 @@ begin main
# (Default is 5).
border_width 0
# Defines the number of pixels to add between lines (default is 0).
# line_space 2
# Value to use for $TERM
term_name xterm

@ -352,6 +352,9 @@ begin main
# (Default is 5).
border_width 5
# Defines the number of pixels to add between lines (default is 0).
# line_space 2
# Value to use for $TERM
term_name xterm

@ -324,6 +324,9 @@ begin main
# (Default is 5).
border_width 5
# Defines the number of pixels to add between lines (default is 0).
# line_space 2
# Value to use for $TERM
term_name xterm

Loading…
Cancel
Save