Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #4233

Re: Change the default terminal on windows

Path csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From Jörg Buchholz <bookwood4new@freenet.de>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Change the default terminal on windows
Date Mon, 30 Sep 2019 13:22:55 +0200
Organization A noiseless patient Spider
Lines 77
Message-ID <qmsoig$512$1@dont-email.me> (permalink)
References <b1c92345-0bf7-458a-a505-f7fc3795d046@googlegroups.com> <qmgc7m$lcc$1@solani.org> <3213c6dc-3b6d-4890-b56b-6efb003b0da8@googlegroups.com> <qmi272$5vq$1@dont-email.me> <ef31ea5a-d69d-4fbf-bf34-9c7e97063e63@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
Injection-Date Mon, 30 Sep 2019 11:22:56 -0000 (UTC)
Injection-Info reader02.eternal-september.org; posting-host="d4b22f122e0d14ed41a61e8b20c6b1c5"; logging-data="5154"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19CJpeE7324HfkO35JEuHQXlYf0tWy070U="
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0
Cancel-Lock sha1:qZRNWefM/mZ22SeBMfDOXltxjTc=
In-Reply-To <ef31ea5a-d69d-4fbf-bf34-9c7e97063e63@googlegroups.com>
Content-Language en-GB
Xref csiph.com comp.graphics.apps.gnuplot:4233

Show key headers only | View raw


On 26.09.2019 19:18, s1291 wrote:
> On Thursday, September 26, 2019 at 12:00:04 PM UTC+2, Jörg Buchholz wrote:
>> On 26.09.2019 10:51, s1291 wrote:
>>> On Wednesday, September 25, 2019 at 7:38:48 PM UTC+1, Karl Ratzsch wrote:
>>>> Am 25.09.2019 um 18:22 schrieb SyntaxErrorX00:
>>>>
>>>>> gnuplot/wgnuplot use wxt as the default terminal. I want to change that to be 'qt' instead so every time I have to run "set term qt" so I am looking for a way to change it permanently. I tried everything I found on internet:
>>>>> * create GNUPLOT.INI and insert "set term qt",
>>>>> * Create an environment variable GNUPLOT pointing to that directory (My home directory, C:\Users\username).
>>>>>
>>>>> * Tried to change the file wgnuplot.ini in my home directory.
>>>>> * Tried to change the file wgnuplot in C:\Program Files\gnuplot\share\wgnuplt.ini
>>>>>
>>>>> But unfortuately that have no effect, every time I open gnuplot I get the default terminal wxt.
>>>>>
>>>>> Could you please tell me how can I change that? 
>>>>
>>>> You have to place the gnuplot.ini (not wgnuplot.ini, thats just for
>>>> the windows GUI) file in the $APPDATA directory, which usually is
>>>> <your home directory>\appdata\roaming
>>>>
>>>> (For some unknown reason, the ~\appdata directory is hidden by
>>>> default. First thing I change on every windows machine, right after
>>>> disabling the system sounds.)
>>>>
>>>> Enter "set APPDATA" on the command line to check.
>>>>
>>>> Or you reinstall gnuplot and choose a different default terminal in
>>>> the installer.
>>>>
>>>> Hth, Karl
>>>
>>>
>>> Thank you for you reply,
>>> Sorry I forgot to mention that I tried also with what you suggested: to add gnuplot.ini to %appdata% folder but unfortunately it didn't work.
>>> So I will try the second suggestion.
>>> Regards
>>>
>>
>> Hi,
>>
>> are you sure that it not works? It looks like gnuplot always tell you at
>> the start "Terminal type is now 'windows'", but the terminal is set to
>> what you give in the gnuplot.ini.
>>
>>
>> Jörg
> Hello Jörg,
> Yes I am sure, I tried to create a the file %appdata%\gnuplot.ini with the following content: 
> set terminal qt
> But that has no effect.
> I changed the content to 
> Terminal=qt
> 
> That has also no effect (I don't know if that syntax is valid or not but at least I tried it).

My "gnuplot.in" is at "C:\Users\"username"\AppData\Roaming\gnuplot.ini"
and all what I tell gnuplot is done.

The simple syntax is:

set term qt enhanced
set samples 1000
set grid
set encoding utf8

But I must do a "show terminal" to see what terminal is really set. At
the start gnuplot always says the terminal is set to "windows".

It is WIN 7 with gnuplot 5.2

Jörg




Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Change the default terminal on windows SyntaxErrorX00 <samirmath01@gmail.com> - 2019-09-25 09:22 -0700
  Re: Change the default terminal on windows Karl Ratzsch <mail.kfr@gmx.net> - 2019-09-25 20:38 +0200
    Re: Change the default terminal on windows s1291 <samirmath01@gmail.com> - 2019-09-26 01:51 -0700
      Re: Change the default terminal on windows Jörg Buchholz <bookwood4new@freenet.de> - 2019-09-26 12:00 +0200
        Re: Change the default terminal on windows s1291 <samirmath01@gmail.com> - 2019-09-26 10:18 -0700
          Re: Change the default terminal on windows Jörg Buchholz <bookwood4new@freenet.de> - 2019-09-30 13:22 +0200
            Re: Change the default terminal on windows s1291 <samirmath01@gmail.com> - 2019-10-30 06:53 -0700

csiph-web