Thread: Problems under cygwin

Started: 2009-10-20 23:01:47
Last activity: 2009-10-20 23:01:47
Topics: SAC Help
langlaude philippe - CETE Méditerr./LABO NICE/RS
2009-10-20 23:01:47
Hello,

I have just installed a version of SAC for Cygwin. It runs without any
problems but when I use the plot function, I cannot close the graphic
window which is created. I am obliged to kill SAC. On the other hand, I
have some scripts which uses SAC and when I run this scripts I have this
error :

"readline: readline_callback_read_char() called with no handler!"

Would anybody have a solution/explaination ?

Thanks in advance.
--
Philippe Langlaude
Equipe de Recherche "Risque Sismique"
CETE Méditerranée Laboratoire de Nice 56 bd Stalingrad
06359 Nice cedex 4 France
Tel: 06 70 83 57 85 / (33) 04 92 00 81 82
http://www.cete-mediterranee.fr
philippe.langlaude<at>developpement-durable.gouv.fr

  • Brian Savage
    2009-10-20 18:51:40
    Philippe

    A couple of things are happening here.

    First, the closing of the graphics window by using the "close window"
    button on the window is disabled as it was crashing sac. We need to
    find a solution to this issue.

    Second, sac normally uses the editline library (a compatible, but less
    restrictive library), but has the ability to use the readline
    library. We do not test normally test with the readline library. If
    you could send a simplified version of your script to me, I can test
    it with the readline library on windows to attempt to resolve this
    issue. If you expect your scripts to quit sac, you might want to make
    sure your scripts have the quit command at the end. This has been an
    issue previously.

    Brian
    savage<at>uri.edu

    On Oct 20, 2009, at 10:01 AM , langlaude philippe - CETE Méditerr./
    LABO NICE/RS wrote:

    Hello,

    I have just installed a version of SAC for Cygwin. It runs without
    any problems but when I use the plot function, I cannot close the
    graphic window which is created. I am obliged to kill SAC. On the
    other hand, I have some scripts which uses SAC and when I run this
    scripts I have this error :

    "readline: readline_callback_read_char() called with no handler!"

    Would anybody have a solution/explaination ?

    Thanks in advance.
    --
    Philippe Langlaude
    Equipe de Recherche "Risque Sismique"
    CETE Méditerranée Laboratoire de Nice 56 bd Stalingrad
    06359 Nice cedex 4 France
    Tel: 06 70 83 57 85 / (33) 04 92 00 81 82
    http://www.cete-mediterranee.fr
    philippe.langlaude<at>developpement-durable.gouv.fr
    _______________________________________________
    sac-help mailing list
    sac-help<at>iris.washington.edu
    http://www.iris.washington.edu/mailman/listinfo/sac-help



08:19:32 v.9a3bf08e