From 47176111ed21aa8d40341248ed0dedd440393ccb Mon Sep 17 00:00:00 2001 From: stefanjones Date: Tue, 20 Jul 2004 00:27:42 +0000 Subject: [PATCH] 2004-07-19 Stefan Jones * src/frontend/commands.c: Make the BLT plot command default for spice plot --- ChangeLog | 8 ++++++++ src/frontend/commands.c | 11 ++++++++--- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index a2aa24e30..041108067 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2004-07-19 Stefan Jones + + * src/tclspice.c: + Register a SIGINT handler which stops any running bg job + + * src/frontend/commands.c: + Make the BLT plot command default for spice plot + 2004-07-19 Adrian Dawe * src/{Makefile.am,controls.tcl,engUnits.tcl,gnuplot.tcl, diff --git a/src/frontend/commands.c b/src/frontend/commands.c index 093780642..da81b36d4 100644 --- a/src/frontend/commands.c +++ b/src/frontend/commands.c @@ -111,12 +111,17 @@ struct comm spcp_coms[] = { { 0, 0, 0, 0 }, E_DEFHMASK, 3, LOTS, (void (*)()) NULL, "spec name pat ... : Redefine vector and plot types.\n" } , - { "plot", com_plot, FALSE, FALSE, TRUE, +#ifdef TCL_MODULE + { "bltplot", com_bltplot, FALSE, FALSE, TRUE, { 041000, 041000, 041000, 041000 }, E_BEGINNING | E_HASPLOTS, 1, LOTS, arg_plot, "expr ... [vs expr] [xl xlo xhi] [yl ylo yhi] : Plot things." }, -#ifdef TCL_MODULE - { "bltplot", com_bltplot, FALSE, FALSE, TRUE, + { "plot", com_bltplot, FALSE, FALSE, TRUE, + { 041000, 041000, 041000, 041000 }, E_BEGINNING | E_HASPLOTS, 1, LOTS, + arg_plot, + "expr ... [vs expr] [xl xlo xhi] [yl ylo yhi] : Plot things." }, +#else + { "plot", com_plot, FALSE, FALSE, TRUE, { 041000, 041000, 041000, 041000 }, E_BEGINNING | E_HASPLOTS, 1, LOTS, arg_plot, "expr ... [vs expr] [xl xlo xhi] [yl ylo yhi] : Plot things." },