From bug-octave-request at bevo dot che dot wisc dot edu Fri Nov 15 14:51:47 2002 Subject: Various points From: "John W. Eaton" To: Remy Bruno Cc: bug-octave at bevo dot che dot wisc dot edu Date: Fri, 15 Nov 2002 14:51:19 -0600 On 14-Nov-2002, Remy Bruno wrote: | I have some propositions to make octave even better, IMHO: | * in liboctave/oct-shlib.cc: I added the option RTLD_GLOBAL to the call of the | function dlopen, because I made a .oct file that used other libraries (I | think it was for libalsa) that failed to load without this option I've made this change. | * in scripts/image/image.m: I added the option -raw to the arguments of the | xv command (xv = sprintf ("xv -raw -expand %f %s", zoom, ppm_name);). Indeed, | I often use the image function to visualise matrices, and without this | option, xv adds blur to the image. But maybe the blur is a desired feature | for image()? I've made this change. | * when editing a command line (with readline), I often use CTRL-C to stop | editing the current line without erasing it. But CTRL-C kills all the xv | processes children of octave (but not the gnuplot processes) and even | sometimes makes octave exit, without dumping an octave-core (I didn't manage | to find out the precise conditions exactly) I think this happens because signals are also sent to any child processes. I suppose xv responds to SIGINT by exiting. If you don't want that to happen, I suppose you could either fix xv, or wrap it in a shell script that traps and ignores interrupts. I have no way of debugging the cause of Octave exiting on interrupts and without even creating an octave-core file unless you can provide me with a precise set of instructions for reproducing the problem. jwe ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------