octave-patch-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-patch-tracker] [patch #7847] Make gnuplot Qt terminal default fo


From: Dan Sebald
Subject: [Octave-patch-tracker] [patch #7847] Make gnuplot Qt terminal default for GUI/IDE via environment variable
Date: Thu, 13 Sep 2012 06:16:20 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.6.24-1.fc14 Firefox/3.6.24

URL:
  <http://savannah.gnu.org/patch/?7847>

                 Summary: Make gnuplot Qt terminal default for GUI/IDE via
environment variable
                 Project: GNU Octave
            Submitted by: sebald
            Submitted on: Thu 13 Sep 2012 06:16:19 AM GMT
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

This patch is a few small changes to make GUI/IDE+O use the Qt terminal by
setting the environment variable GNUTERM (which gnuplot searches for).  Most
of this is actually clean up of the code that establishes default terminal for
Octave so that it uses the already existing gnuplot process rather than
creating one or two more to check for availability of terminals.  If you want
to check what I mean, try the latest version with:

env GNUTERM="foo" octave-cli

then plot something at the command line.  gnuplot warning messages will keep
popping up with each plot command because new instances are created each
time.

After the patch, launching the GUI/IDE+O will set the GNUTERM environment
variable.  Octave will attempt to use the GNUTERM setting, but if that
terminal doesn't exist will fall back on the current defaults.  It's only the
first plot command for which

Unknown or ambiguous terminal name 'qt'

will appear on the screen via gnuplot.

This is a good setup.  GUI/IDE+O will only use gnuplot Qt if it were built
into one's version of gnuplot.  So some testers should emerge who begin simply
by running gnuplot Qt term on their system which means debugging Windows Qt
can be deferred to testers running the gnuplot demos.  If the testers can't
get it to work, just rebuild gnuplot without Qt support, which is easy to do.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 13 Sep 2012 06:16:19 AM GMT  Name:
octave-gnuplot_qt_for_ide-2012sep13.patch  Size: 3kB   By: sebald

<http://savannah.gnu.org/patch/download.php?file_id=26544>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?7847>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]