<div dir="ltr"><div>Hi,</div><div><br></div><div><div>I'm using gmsh to automatically generate a 3D mesh from an STL file. I run it from the command-line (Windows) with the following command to bypass the GUI: gmsh - geofile.geo</div><div><br></div><div>My .geo file has the following:</div><div><br></div><div>Delete Options;</div><div>General.Terminal=1;</div><div>Merge "stlfile.stl";</div><div>Surface Loop(2) = {1};</div><div>Volume(3) = {2};</div><div>Mesh 3;</div><div>OptimizeMesh "Netgen";</div><div>Save "outfile.msh";</div><div><br></div><div>Because the geometries that I work with are quite complex, the OptimizeMesh process is long and this is why I wanted to have the option General.Terminal=1 which prints to the terminal the "info" lines that you can see in the GUI.</div><div><br></div><div>However, with this option on, I can no longer use Ctrl+c to kill gmsh. I either have to kill the entire terminal window or wait for it to finish.</div><div><br></div><div>Is there a way of making Ctrl+c work with General.Terminal=1; ?</div></div><div><br></div><div>All the best,</div><div>Miguel</div><div><br></div><div>PS: I also asked this question on stackoverflow here:</div><div><a href="http://stackoverflow.com/questions/42588433">http://stackoverflow.com/questions/42588433</a></div></div>