Giles Atkinson
41c61604c5
Handle SIGTTIN and SIGTTOU on Unix-like OSs with X11 graphics.
...
That makes it possible to push ngspice into the background while
plot windows are open: the windows remain responsive.
Discussion on ngspice-users, starting 2023-09-01,
title: "`quit` in Interactive Mode."
Also restore terminal state when forcing exit with SIGINT (control-C).
2023-09-23 17:03:24 +02:00
Holger Vogt
5cb5d218c9
Remove the obsolete RETSIGTYPE, replace by void
2023-03-18 14:30:29 +01:00
Holger Vogt
3c354092ff
Line endings from \r\n to \n
2021-01-02 19:06:58 +01:00
Holger Vogt
2359f28812
Remove compiler warning
...
cast between incompatible function types from
‘void (*)(int, int)’ to ‘void (*)(int)’
2021-01-02 19:00:29 +01:00
Holger Vogt
9edc436ef7
remove SIGINT handling which was not functional
...
add SIGSEGV handler which may be excluded by
set nosighandling
2020-04-04 14:19:55 +02:00
Holger Vogt
ded0092ad6
If ngSpice_Command(NULL) is sent to shared ngspice,
...
the internal control structure memory is freed.
2020-04-04 14:15:38 +02:00
Holger Vogt
ceea40e012
Revert "enable compiling with readline for macOS"
...
This reverts commit 11df2b7719 .
2019-11-30 11:36:09 +01:00
Holger Vogt
11df2b7719
enable compiling with readline for macOS
...
which has a very simple readline header only
2019-09-20 20:43:36 +02:00
Francesco Lannutti
0c5196e773
signal_handler.c, ft_sigintr(), exit after three SIGINT requests
2016-11-01 20:33:13 +01:00
Krzysztof Blaszkowski
9d223d6778
execute ft_sigintr_cleanup() outside of the signal handler
...
to avoid execution of non-reentrant functions
2013-12-31 16:25:45 +01:00
Krzysztof Blaszkowski
1cf3dc81bb
abstraction, introduce ft_sigintr_cleanup()
2013-12-31 16:25:44 +01:00
Krzysztof Blaszkowski
fde7be49b9
ft_sigintr(), reorder, side effect: if `ft_setflag' then gr_clean() won't be invoked
...
and can't be invoked anyway
from inside of the signal handler
2013-12-31 16:25:43 +01:00
h_vogt
d7e291c53a
HAS_WINDOWS --> HAS_WINGUI
...
allow compilation on MS Windows without GUI
2013-12-31 12:56:57 +01:00
rlar
fe1acd3757
src/frontend/** remove superfluous `return' invocations
2012-09-22 19:33:55 +02:00
rlar
7454a6d486
src/frontend/**, whitespace, indentation, ...
...
untabify
delete-trailing-whitespace
braces
...
checked for object file invariance on linux
2012-09-20 20:30:53 +02:00
rlar
10346e055c
#1/4 #include <ngspice/...> --> #include "ngspice/..."
2011-12-11 18:05:00 +00:00
rlar
d26015586c
#1/7 use a subdirectory "ngspice" for includes to create a uniq namespace
2011-08-20 17:27:09 +00:00
rlar
abb87a6115
rename `IGNORE()' --> `NG_IGNORE()'
2010-11-16 20:38:24 +00:00
rlar
80286e0032
pour `IGNORE()' all over the source
2010-11-16 19:11:32 +00:00
rlar
a9ca8d7331
collect gr_clean() gr_end() gr_point() gr_start() gr_fixgrid() in "graf.h"
2010-10-16 15:48:39 +00:00
h_vogt
e778aab344
iplot graphics scaling, printing interrupt message
2009-05-09 13:23:08 +00:00
h_vogt
4ef61a65cf
SIGSEGV handling for Windows
2009-05-02 09:40:33 +00:00
sjborley
150a3e1775
jbuf moved to here. Was in main.c
2005-05-30 17:22:33 +00:00
sjborley
3c843de4ad
Changes to allow compile with MinGW. Macros used for sigjmp_buf (JMP_BUF), siglongjmp (LONGJMP) and sigsetjmp (SETJMP)
2005-05-17 21:49:07 +00:00
sjborley
cb247a15fb
Added support for the BSD licensed editline library (libedit).
2005-05-06 23:43:46 +00:00
pnenzi
b03a70760b
Applied Stuart's 12-03-2003 patch. Support for readline (disabled) and for node names in the form (x,y).
2004-01-10 21:39:36 +00:00
pnenzi
8686a73047
Added readline patch (support for command history).
2003-08-14 19:21:10 +00:00
pnenzi
978f1c32a2
Initial revision
2000-04-27 20:03:57 +00:00