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).
3 years ago
Holger Vogt
5cb5d218c9
Remove the obsolete RETSIGTYPE, replace by void
3 years ago
Holger Vogt
3c354092ff
Line endings from \r\n to \n
5 years ago
Holger Vogt
2359f28812
Remove compiler warning
cast between incompatible function types from
‘void (*)(int, int)’ to ‘void (*)(int)’
5 years ago
Holger Vogt
9edc436ef7
remove SIGINT handling which was not functional
add SIGSEGV handler which may be excluded by
set nosighandling
6 years ago
Holger Vogt
ded0092ad6
If ngSpice_Command(NULL) is sent to shared ngspice,
the internal control structure memory is freed.
6 years ago
Holger Vogt
ceea40e012
Revert "enable compiling with readline for macOS"
This reverts commit 11df2b7719 .
7 years ago
Holger Vogt
11df2b7719
enable compiling with readline for macOS
which has a very simple readline header only
7 years ago
Francesco Lannutti
0c5196e773
signal_handler.c, ft_sigintr(), exit after three SIGINT requests
11 years ago
Krzysztof Blaszkowski
9d223d6778
execute ft_sigintr_cleanup() outside of the signal handler
to avoid execution of non-reentrant functions
13 years ago
Krzysztof Blaszkowski
1cf3dc81bb
abstraction, introduce ft_sigintr_cleanup()
13 years ago
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
13 years ago
h_vogt
d7e291c53a
HAS_WINDOWS --> HAS_WINGUI
allow compilation on MS Windows without GUI
13 years ago
rlar
fe1acd3757
src/frontend/** remove superfluous `return' invocations
14 years ago
rlar
7454a6d486
src/frontend/**, whitespace, indentation, ...
untabify
delete-trailing-whitespace
braces
...
checked for object file invariance on linux
14 years ago
rlar
10346e055c
#1/4 #include <ngspice/...> --> #include "ngspice/..."
15 years ago
rlar
d26015586c
#1/7 use a subdirectory "ngspice" for includes to create a uniq namespace
15 years ago
rlar
abb87a6115
rename `IGNORE()' --> `NG_IGNORE()'
16 years ago
rlar
80286e0032
pour `IGNORE()' all over the source
16 years ago
rlar
a9ca8d7331
collect gr_clean() gr_end() gr_point() gr_start() gr_fixgrid() in "graf.h"
16 years ago
h_vogt
e778aab344
iplot graphics scaling, printing interrupt message
17 years ago
h_vogt
4ef61a65cf
SIGSEGV handling for Windows
17 years ago
sjborley
150a3e1775
jbuf moved to here. Was in main.c
21 years ago
sjborley
3c843de4ad
Changes to allow compile with MinGW. Macros used for sigjmp_buf (JMP_BUF), siglongjmp (LONGJMP) and sigsetjmp (SETJMP)
21 years ago
sjborley
cb247a15fb
Added support for the BSD licensed editline library (libedit).
21 years ago
pnenzi
b03a70760b
Applied Stuart's 12-03-2003 patch. Support for readline (disabled) and for node names in the form (x,y).
23 years ago
pnenzi
8686a73047
Added readline patch (support for command history).
23 years ago
pnenzi
978f1c32a2
Initial revision
26 years ago