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


Groups > comp.graphics.apps.gnuplot > #4149 > unrolled thread

Terminal set to "unknown" in gnuplot 5.2.6

Started byjaga.physics94@gmail.com
First post2019-02-20 05:30 -0800
Last post2019-02-21 19:24 +0100
Articles 7 — 3 participants

Back to article view | Back to comp.graphics.apps.gnuplot


Contents

  Terminal set to "unknown" in gnuplot 5.2.6 jaga.physics94@gmail.com - 2019-02-20 05:30 -0800
    Re: Terminal set to "unknown" in gnuplot 5.2.6 Jörg Buchholz <bookwood4new@freenet.de> - 2019-02-21 07:22 +0100
      Re: Terminal set to "unknown" in gnuplot 5.2.6 jaga.physics94@gmail.com - 2019-02-21 01:02 -0800
        Re: Terminal set to "unknown" in gnuplot 5.2.6 Jörg Buchholz <bookwood4new@freenet.de> - 2019-02-21 11:36 +0100
          Re: Terminal set to "unknown" in gnuplot 5.2.6 jaga.physics94@gmail.com - 2019-02-21 02:50 -0800
            Re: Terminal set to "unknown" in gnuplot 5.2.6 Jörg Buchholz <bookwood4new@freenet.de> - 2019-02-21 14:16 +0100
    Re: Terminal set to "unknown" in gnuplot 5.2.6 Karl Ratzsch <mail.kfr@gmx.net> - 2019-02-21 19:24 +0100

#4149 — Terminal set to "unknown" in gnuplot 5.2.6

Fromjaga.physics94@gmail.com
Date2019-02-20 05:30 -0800
SubjectTerminal set to "unknown" in gnuplot 5.2.6
Message-ID<d69a1343-82ba-4fdd-9731-43623544b7a0@googlegroups.com>
Hi, 
I have installed gnuplot 5.2.6 package from 'http://gnuplot.sourceforge.net/' and installed in my ubuntu 18.04. After opening it in my terminal, I found terminal is set to unknown. 

I tried to remove the gnuplot by using the commang 'sudo apt remove gnuplot' and 'sudo apt-get purge --auto-remove gnuplot' and then tried to install gnuplot using the command 'sudo apt-get install gnuplot-qt', but event after all these my gnuplot is still showing terminal set to unknown.

kindly help me to fix this. Thank you.

[toc] | [next] | [standalone]


#4150

FromJörg Buchholz <bookwood4new@freenet.de>
Date2019-02-21 07:22 +0100
Message-ID<q4lg3i$b59$1@dont-email.me>
In reply to#4149
On 20.02.2019 14:30, jaga.physics94@gmail.com wrote:
> Hi, 
> I have installed gnuplot 5.2.6 package from 'http://gnuplot.sourceforge.net/' and installed in my ubuntu 18.04. After opening it in my terminal, I found terminal is set to unknown. 
> 
> I tried to remove the gnuplot by using the commang 'sudo apt remove gnuplot' and 'sudo apt-get purge --auto-remove gnuplot' and then tried to install gnuplot using the command 'sudo apt-get install gnuplot-qt', but event after all these my gnuplot is still showing terminal set to unknown.
> 
> kindly help me to fix this. Thank you.
> 

With "set term" you can show which terminals your gnuplot supports.

"terminal is set to unknown" means that the terminal is set to a
terminal that your gnuplot does not support.

What is in your gnuplotrc or .gnuplot file? See man gnuplot.

Jörg

[toc] | [prev] | [next] | [standalone]


#4151

Fromjaga.physics94@gmail.com
Date2019-02-21 01:02 -0800
Message-ID<04ef2108-fc93-4ae3-83e1-fe2e7d196270@googlegroups.com>
In reply to#4150
On Thursday, February 21, 2019 at 11:52:43 AM UTC+5:30, Jörg Buchholz wrote:
> On 20.02.2019 14:30, jaga.physics94@gmail.com wrote:
> > Hi, 
> > I have installed gnuplot 5.2.6 package from 'http://gnuplot.sourceforge.net/' and installed in my ubuntu 18.04. After opening it in my terminal, I found terminal is set to unknown. 
> > 
> > I tried to remove the gnuplot by using the commang 'sudo apt remove gnuplot' and 'sudo apt-get purge --auto-remove gnuplot' and then tried to install gnuplot using the command 'sudo apt-get install gnuplot-qt', but event after all these my gnuplot is still showing terminal set to unknown.
> > 
> > kindly help me to fix this. Thank you.
> > 
> 
> With "set term" you can show which terminals your gnuplot supports.
> 
> "terminal is set to unknown" means that the terminal is set to a
> terminal that your gnuplot does not support.
> 
> What is in your gnuplotrc or .gnuplot file? See man gnuplot.
> 
> Jörg

Before this gnuplot version, there was gnuplot-5.2.2 in my PC and 'qt' is the default version of terminal. But in this version, 'set terminal' option is nt showing terminal 'qt'.

Can you please suggest me some terminal type using which I can do ploting.

[toc] | [prev] | [next] | [standalone]


#4152

FromJörg Buchholz <bookwood4new@freenet.de>
Date2019-02-21 11:36 +0100
Message-ID<q4lv03$knr$1@dont-email.me>
In reply to#4151
On 21.02.2019 10:02, jaga.physics94@gmail.com wrote:
> On Thursday, February 21, 2019 at 11:52:43 AM UTC+5:30, Jörg Buchholz
> wrote:
>> On 20.02.2019 14:30, jaga.physics94@gmail.com wrote:
>>> Hi, I have installed gnuplot 5.2.6 package from
>>> 'http://gnuplot.sourceforge.net/' and installed in my ubuntu
>>> 18.04. After opening it in my terminal, I found terminal is set
>>> to unknown.

You have compiled the source and than installed it? There are no binary
for linux or .deb packages at 'http://gnuplot.sourceforge.net/'

>>> I tried to remove the gnuplot by using the commang 'sudo apt
>>> remove gnuplot' and 'sudo apt-get purge --auto-remove gnuplot'
>>> and then tried to install gnuplot using the command 'sudo apt-get
>>> install gnuplot-qt', but event after all these my gnuplot is
>>> still showing terminal set to unknown.

Have you tried it or have you done it? Here, after a 'sudo apt-get
install gnuplot-qt' on a Ubuntu 18.x LTS everything works fine.

>> What is in your gnuplotrc or .gnuplot file? See man gnuplot.
> 
> Before this gnuplot version, there was gnuplot-5.2.2 in my PC and
> 'qt' is the default version of terminal. But in this version, 'set
> terminal' option is nt showing terminal 'qt'.
> 
> Can you please suggest me some terminal type using which I can do
> ploting.

Type 'set terminal' in your gnuplot and you get a list of available
terminals.

Which gnuplot do you have at the moment and from where? On Ubuntu 18.X
gnuplot 5.2.2 is up to date.

Jörg

[toc] | [prev] | [next] | [standalone]


#4153

Fromjaga.physics94@gmail.com
Date2019-02-21 02:50 -0800
Message-ID<2c8b1bc3-e27f-4cbb-aea4-15e0fed22dff@googlegroups.com>
In reply to#4152
On Thursday, February 21, 2019 at 4:06:52 PM UTC+5:30, Jörg Buchholz wrote:
> On 21.02.2019 10:02, jaga.physics94@gmail.com wrote:
> > On Thursday, February 21, 2019 at 11:52:43 AM UTC+5:30, Jörg Buchholz
> > wrote:
> >> On 20.02.2019 14:30, jaga.physics94@gmail.com wrote:
> >>> Hi, I have installed gnuplot 5.2.6 package from
> >>> 'http://gnuplot.sourceforge.net/' and installed in my ubuntu
> >>> 18.04. After opening it in my terminal, I found terminal is set
> >>> to unknown.
> 
> You have compiled the source and than installed it? There are no binary
> for linux or .deb packages at 'http://gnuplot.sourceforge.net/'
> 
I have downloaded the '.tar.gz' from 'https://sourceforge.net/projects/gnuplot/files/gnuplot/5.2.6/' and then untar it using 'tar -xvf' command in termial and then './configure && make && make install'. After this restart my PC and since then this problem is comming.

> >>> I tried to remove the gnuplot by using the commang 'sudo apt
> >>> remove gnuplot' and 'sudo apt-get purge --auto-remove gnuplot'
> >>> and then tried to install gnuplot using the command 'sudo apt-get
> >>> install gnuplot-qt', but event after all these my gnuplot is
> >>> still showing terminal set to unknown.
> 
> Have you tried it or have you done it? Here, after a 'sudo apt-get
> install gnuplot-qt' on a Ubuntu 18.x LTS everything works fine.
> I have done it and then again entered the command 'sudo apt-get
> install gnuplot-qt'. Still my terminal type is showing 'unknown'
> >> What is in your gnuplotrc or .gnuplot file? See man gnuplot.
> > 
> > Before this gnuplot version, there was gnuplot-5.2.2 in my PC and
> > 'qt' is the default version of terminal. But in this version, 'set
> > terminal' option is nt showing terminal 'qt'.
> > 
> > Can you please suggest me some terminal type using which I can do
> > ploting.
> 
> Type 'set terminal' in your gnuplot and you get a list of available
> terminals.
> 
> Which gnuplot do you have at the moment and from where? On Ubuntu 18.X
> gnuplot 5.2.2 is up to date.
> 
> Jörg

[toc] | [prev] | [next] | [standalone]


#4154

FromJörg Buchholz <bookwood4new@freenet.de>
Date2019-02-21 14:16 +0100
Message-ID<q4m8bf$7rj$1@dont-email.me>
In reply to#4153
On 21.02.2019 11:50, jaga.physics94@gmail.com wrote:
> On Thursday, February 21, 2019 at 4:06:52 PM UTC+5:30, Jörg Buchholz
> wrote:
>> On 21.02.2019 10:02, jaga.physics94@gmail.com wrote:
>>> On Thursday, February 21, 2019 at 11:52:43 AM UTC+5:30, Jörg
>>> Buchholz wrote:
>>>> On 20.02.2019 14:30, jaga.physics94@gmail.com wrote:
>>>>> Hi, I have installed gnuplot 5.2.6 package from 
>>>>> 'http://gnuplot.sourceforge.net/' and installed in my ubuntu 
>>>>> 18.04. After opening it in my terminal, I found terminal is
>>>>> set to unknown.
>> 
>> You have compiled the source and than installed it? There are no
>> binary for linux or .deb packages at
>> 'http://gnuplot.sourceforge.net/'
>> 
> I have downloaded the '.tar.gz' from
> 'https://sourceforge.net/projects/gnuplot/files/gnuplot/5.2.6/' and
> then untar it using 'tar -xvf' command in termial and then
> './configure && make && make install'. After this restart my PC and
> since then this problem is comming.
> 
>>>>> I tried to remove the gnuplot by using the commang 'sudo apt 
>>>>> remove gnuplot' and 'sudo apt-get purge --auto-remove
>>>>> gnuplot' and then tried to install gnuplot using the command
>>>>> 'sudo apt-get install gnuplot-qt', but event after all these
>>>>> my gnuplot is still showing terminal set to unknown.

With these commands you only remove your gnuplot that comes over your
package management, it don't remove your own compiled gnuplot.

apt-get is your package management.

>> Have you tried it or have you done it? Here, after a 'sudo apt-get 
>> install gnuplot-qt' on a Ubuntu 18.x LTS everything works fine. I
>> have done it and then again entered the command 'sudo apt-get 
>> install gnuplot-qt'. Still my terminal type is showing 'unknown'
>>>> What is in your gnuplotrc or .gnuplot file? See man gnuplot.
>>> 
>>> Before this gnuplot version, there was gnuplot-5.2.2 in my PC
>>> and 'qt' is the default version of terminal. But in this version,
>>> 'set terminal' option is nt showing terminal 'qt'.
>>> 
>>> Can you please suggest me some terminal type using which I can
>>> do ploting.
>> 
>> Type 'set terminal' in your gnuplot and you get a list of
>> available terminals.
>> 
>> Which gnuplot do you have at the moment and from where?

Please give some answers to the two questions above, otherwise nobody
can help you. Nobody can see which version you starts, or what terminals
are included.

It can be that the command 'gnuplot' is linked to your own compiled
'gnuplot 5.2.6'.

Can you start gnuplot with 'gnuplot-qt'?

Jörg

[toc] | [prev] | [next] | [standalone]


#4155

FromKarl Ratzsch <mail.kfr@gmx.net>
Date2019-02-21 19:24 +0100
Message-ID<q4mqdi$lbb$1@solani.org>
In reply to#4149
Am 20.02.2019 um 14:30 schrieb jaga.physics94@gmail.com:
> Hi, 
> I have installed gnuplot 5.2.6 package from 'http://gnuplot.sourceforge.net/' and installed in my ubuntu 18.04. After opening it in my terminal, I found terminal is set to unknown. 

That result is tbe., because you very likely don't have installed
the numerous -dev packages of ubuntu that gnuplot needs to build all
the fancy interactive terminals. See e.g. here
https://stackoverflow.com/questions/29526044/installing-gnuplot-5-0-on-ubuntu/31819448#31819448

> I tried to remove the gnuplot by using the commang 'sudo apt remove gnuplot' and 'sudo apt-get purge --auto-remove gnuplot' and then tried to install gnuplot using the command 'sudo apt-get install gnuplot-qt', but event after all these my gnuplot is still showing terminal set to unknown.

These commands, as already mentioned in another post, did _not_
un/install the gnuplot you compiled by yourself, but a previous,
precompiled version that you had installed via ubuntu's package
manager (the executable should be in /usr/bin, you can run it from
there).

When looking for an executable, your shell inevitably first finds
the one you compiled yourself (it's located in /usr/local/bin or
such place), and doesn't look any further. I believe if you go back
into the source folder, and type "make uninstall", it gets removed.
Or you can delete it by hand.

So there are two possibilities: You either go back to ubuntu's stock
gnuplot package, or you re-compile from the sources as explained in
the link above.

Good luck!
   Karl

[toc] | [prev] | [standalone]


Back to top | Article view | comp.graphics.apps.gnuplot


csiph-web