tcsh and bashrc conflictWhy Ubuntu doesn't load settings from my .bashrc/.profile for apps not started from bash?No files in /etc/skel/ ; Can't restore .bashrcUbuntu 14.04 and tcshChanging the value of $HOME in .bashrcTrying to source bashrc: No such file or directoryScript in ~/.bashrc works when manually executed, but not otherwiseWhat is the analog of '$()' in tcsh?Install software that uses a different shellMake a program ignore “.bashrc”PYTHONPATH in .bashrc? .profile? Errors when upgrading from Ubuntu 16 to 18

Isometric embedding of a genus g surface

How were servants to the Kaiser of Imperial Germany treated and where may I find more information on them

Usage of an old photo with expired copyright

Ways of geometrical multiplication

Check if object is null and return null

Limit max CPU usage SQL SERVER with WSRM

Showing mass murder in a kid's book

Do I have to know the General Relativity theory to understand the concept of inertial frame?

How to reduce predictors the right way for a logistic regression model

Air travel with refrigerated insulin

Language involving irrational number is not a CFL

If Captain Marvel (MCU) were to have a child with a human male, would the child be human or Kree?

Why do Radio Buttons not fill the entire outer circle?

Given this phrasing in the lease, when should I pay my rent?

Is there anyway, I can have two passwords for my wi-fi

Integral Notations in Quantum Mechanics

What's the name of the logical fallacy where a debater extends a statement far beyond the original statement to make it true?

Can you identify this lizard-like creature I observed in the UK?

How do you justify more code being written by following clean code practices?

How do I Interface a PS/2 Keyboard without Modern Techniques?

Difference between shutdown options

Alignment of six matrices

Has the laser at Magurele, Romania reached a tenth of the Sun's power?

How do I fix the group tension caused by my character stealing and possibly killing without provocation?



tcsh and bashrc conflict


Why Ubuntu doesn't load settings from my .bashrc/.profile for apps not started from bash?No files in /etc/skel/ ; Can't restore .bashrcUbuntu 14.04 and tcshChanging the value of $HOME in .bashrcTrying to source bashrc: No such file or directoryScript in ~/.bashrc works when manually executed, but not otherwiseWhat is the analog of '$()' in tcsh?Install software that uses a different shellMake a program ignore “.bashrc”PYTHONPATH in .bashrc? .profile? Errors when upgrading from Ubuntu 16 to 18













0















I'm a new user to Ubuntu and confront a problem through some process:



  • There's a freeware called TDEFNODE coded with Fortran and runs under Ubuntu. So I've just installed Ubuntu 14 on a virtual drive.

  • My friend compiled the program, download "gfortran" and "tcsh", and put some syntax in the .bashrc to show the shell that the program is in some folder.

  • The software runs fine from the terminal and creates a lot of result files. Some of these files are used to draw some certain shapes and vectors.

  • Program needs another program called GMT so I downloaded it with all packages from the Ubuntu software center.


  • The real problem I encounter is that; a file which is called "td_plot". This is another file in the software folder and uses the output files and GMT software together to draw certain type of files, like .ps. A sample command is like this:



    td_plot -p map -m aaaa -obsv -calc


    And this means : Plot a map which results are in the ".aaaa" files. And show the "observation" and "calculated" vectors on this map.



  • This command produce files, but files include maps without these vectors.


  • As I understood, this td_plot file having commands used under "tcsh" and the misdrawing issue is about that.


  • All the process I've done until here is made under bashrc.


Any ideas to run this tcsh file properly?



Thanks.










share|improve this question




























    0















    I'm a new user to Ubuntu and confront a problem through some process:



    • There's a freeware called TDEFNODE coded with Fortran and runs under Ubuntu. So I've just installed Ubuntu 14 on a virtual drive.

    • My friend compiled the program, download "gfortran" and "tcsh", and put some syntax in the .bashrc to show the shell that the program is in some folder.

    • The software runs fine from the terminal and creates a lot of result files. Some of these files are used to draw some certain shapes and vectors.

    • Program needs another program called GMT so I downloaded it with all packages from the Ubuntu software center.


    • The real problem I encounter is that; a file which is called "td_plot". This is another file in the software folder and uses the output files and GMT software together to draw certain type of files, like .ps. A sample command is like this:



      td_plot -p map -m aaaa -obsv -calc


      And this means : Plot a map which results are in the ".aaaa" files. And show the "observation" and "calculated" vectors on this map.



    • This command produce files, but files include maps without these vectors.


    • As I understood, this td_plot file having commands used under "tcsh" and the misdrawing issue is about that.


    • All the process I've done until here is made under bashrc.


    Any ideas to run this tcsh file properly?



    Thanks.










    share|improve this question


























      0












      0








      0








      I'm a new user to Ubuntu and confront a problem through some process:



      • There's a freeware called TDEFNODE coded with Fortran and runs under Ubuntu. So I've just installed Ubuntu 14 on a virtual drive.

      • My friend compiled the program, download "gfortran" and "tcsh", and put some syntax in the .bashrc to show the shell that the program is in some folder.

      • The software runs fine from the terminal and creates a lot of result files. Some of these files are used to draw some certain shapes and vectors.

      • Program needs another program called GMT so I downloaded it with all packages from the Ubuntu software center.


      • The real problem I encounter is that; a file which is called "td_plot". This is another file in the software folder and uses the output files and GMT software together to draw certain type of files, like .ps. A sample command is like this:



        td_plot -p map -m aaaa -obsv -calc


        And this means : Plot a map which results are in the ".aaaa" files. And show the "observation" and "calculated" vectors on this map.



      • This command produce files, but files include maps without these vectors.


      • As I understood, this td_plot file having commands used under "tcsh" and the misdrawing issue is about that.


      • All the process I've done until here is made under bashrc.


      Any ideas to run this tcsh file properly?



      Thanks.










      share|improve this question
















      I'm a new user to Ubuntu and confront a problem through some process:



      • There's a freeware called TDEFNODE coded with Fortran and runs under Ubuntu. So I've just installed Ubuntu 14 on a virtual drive.

      • My friend compiled the program, download "gfortran" and "tcsh", and put some syntax in the .bashrc to show the shell that the program is in some folder.

      • The software runs fine from the terminal and creates a lot of result files. Some of these files are used to draw some certain shapes and vectors.

      • Program needs another program called GMT so I downloaded it with all packages from the Ubuntu software center.


      • The real problem I encounter is that; a file which is called "td_plot". This is another file in the software folder and uses the output files and GMT software together to draw certain type of files, like .ps. A sample command is like this:



        td_plot -p map -m aaaa -obsv -calc


        And this means : Plot a map which results are in the ".aaaa" files. And show the "observation" and "calculated" vectors on this map.



      • This command produce files, but files include maps without these vectors.


      • As I understood, this td_plot file having commands used under "tcsh" and the misdrawing issue is about that.


      • All the process I've done until here is made under bashrc.


      Any ideas to run this tcsh file properly?



      Thanks.







      bashrc tcsh






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jul 13 '17 at 1:09









      muru

      1




      1










      asked Jul 12 '17 at 22:09









      mehmetmehmet

      11




      11




















          3 Answers
          3






          active

          oldest

          votes


















          0














          As I understand until now, the problem is that the script is full of commands from "tcsh" shell. Scripts starts with a "#!/bin/tcsh -f", which means to run the script with the tcsh shell(which is installed).



          But the problem remains the same, output files are incorrect and missing some properties.



          Is there a way around to change the shell to tcsh and run this script with it?






          share|improve this answer






























            0














            Finally, I figured out to work with these softwares. I don't want this topic to be a dead end, so I'll simply explain the installation process. Maybe it'll be useful somehow:



            1. Installation and next process seems to rely on the versions of the softwares.

            2. I installed Ubuntu 16.04 on a VMware virtual machine(4 CPUs, 4 GB RAM).

            3. Install netcdf(libnetcdf-dev) and gdal(libgdal1-dev).

            4. Download GMT-4.5.14, GSHHG-GMT-2.3.4, GMT4param.txt, and install_gmt4.sh

            5. Change the parameters on GMT4param.txt:
              GSHHG_ftp=n
              GSHHG_path= (installation path)
              GMT_ftp=n
              GMT_prefix= (installation path)
              GMT_delete=n

            6. Install these files, using: sudo sh install_gmt4.sh GMT4param.txt

            7. Add PATH of GMT to your .bashrc file.

            These steps are for GMT.



            For TDEFNODE:



            1. Download and compile TDEFNODE.

            2. Put all the files in a directory.

            3. Specify the PATHs for TDEFNODE and td_plot in .bashrc

            4. Install tcsh package.

            Now the software runs and works with GMT. Seems no error so far.






            share|improve this answer






























              0














              Halo, I'm a new user to Ubuntu and I want to install defnode. Anyone can help me to show the process of the installation? thanks





              share








              New contributor




              Bondan Galih Dewanto is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.




















              • It seems you posted a question as an answer, please do not do that. Instead ask a new question here.

                – Emmet
                58 secs ago










              Your Answer








              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "89"
              ;
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function()
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled)
              StackExchange.using("snippets", function()
              createEditor();
              );

              else
              createEditor();

              );

              function createEditor()
              StackExchange.prepareEditor(
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader:
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              ,
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              );



              );













              draft saved

              draft discarded


















              StackExchange.ready(
              function ()
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f935594%2ftcsh-and-bashrc-conflict%23new-answer', 'question_page');

              );

              Post as a guest















              Required, but never shown

























              3 Answers
              3






              active

              oldest

              votes








              3 Answers
              3






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              0














              As I understand until now, the problem is that the script is full of commands from "tcsh" shell. Scripts starts with a "#!/bin/tcsh -f", which means to run the script with the tcsh shell(which is installed).



              But the problem remains the same, output files are incorrect and missing some properties.



              Is there a way around to change the shell to tcsh and run this script with it?






              share|improve this answer



























                0














                As I understand until now, the problem is that the script is full of commands from "tcsh" shell. Scripts starts with a "#!/bin/tcsh -f", which means to run the script with the tcsh shell(which is installed).



                But the problem remains the same, output files are incorrect and missing some properties.



                Is there a way around to change the shell to tcsh and run this script with it?






                share|improve this answer

























                  0












                  0








                  0







                  As I understand until now, the problem is that the script is full of commands from "tcsh" shell. Scripts starts with a "#!/bin/tcsh -f", which means to run the script with the tcsh shell(which is installed).



                  But the problem remains the same, output files are incorrect and missing some properties.



                  Is there a way around to change the shell to tcsh and run this script with it?






                  share|improve this answer













                  As I understand until now, the problem is that the script is full of commands from "tcsh" shell. Scripts starts with a "#!/bin/tcsh -f", which means to run the script with the tcsh shell(which is installed).



                  But the problem remains the same, output files are incorrect and missing some properties.



                  Is there a way around to change the shell to tcsh and run this script with it?







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Jul 13 '17 at 22:05









                  mehmetmehmet

                  11




                  11























                      0














                      Finally, I figured out to work with these softwares. I don't want this topic to be a dead end, so I'll simply explain the installation process. Maybe it'll be useful somehow:



                      1. Installation and next process seems to rely on the versions of the softwares.

                      2. I installed Ubuntu 16.04 on a VMware virtual machine(4 CPUs, 4 GB RAM).

                      3. Install netcdf(libnetcdf-dev) and gdal(libgdal1-dev).

                      4. Download GMT-4.5.14, GSHHG-GMT-2.3.4, GMT4param.txt, and install_gmt4.sh

                      5. Change the parameters on GMT4param.txt:
                        GSHHG_ftp=n
                        GSHHG_path= (installation path)
                        GMT_ftp=n
                        GMT_prefix= (installation path)
                        GMT_delete=n

                      6. Install these files, using: sudo sh install_gmt4.sh GMT4param.txt

                      7. Add PATH of GMT to your .bashrc file.

                      These steps are for GMT.



                      For TDEFNODE:



                      1. Download and compile TDEFNODE.

                      2. Put all the files in a directory.

                      3. Specify the PATHs for TDEFNODE and td_plot in .bashrc

                      4. Install tcsh package.

                      Now the software runs and works with GMT. Seems no error so far.






                      share|improve this answer



























                        0














                        Finally, I figured out to work with these softwares. I don't want this topic to be a dead end, so I'll simply explain the installation process. Maybe it'll be useful somehow:



                        1. Installation and next process seems to rely on the versions of the softwares.

                        2. I installed Ubuntu 16.04 on a VMware virtual machine(4 CPUs, 4 GB RAM).

                        3. Install netcdf(libnetcdf-dev) and gdal(libgdal1-dev).

                        4. Download GMT-4.5.14, GSHHG-GMT-2.3.4, GMT4param.txt, and install_gmt4.sh

                        5. Change the parameters on GMT4param.txt:
                          GSHHG_ftp=n
                          GSHHG_path= (installation path)
                          GMT_ftp=n
                          GMT_prefix= (installation path)
                          GMT_delete=n

                        6. Install these files, using: sudo sh install_gmt4.sh GMT4param.txt

                        7. Add PATH of GMT to your .bashrc file.

                        These steps are for GMT.



                        For TDEFNODE:



                        1. Download and compile TDEFNODE.

                        2. Put all the files in a directory.

                        3. Specify the PATHs for TDEFNODE and td_plot in .bashrc

                        4. Install tcsh package.

                        Now the software runs and works with GMT. Seems no error so far.






                        share|improve this answer

























                          0












                          0








                          0







                          Finally, I figured out to work with these softwares. I don't want this topic to be a dead end, so I'll simply explain the installation process. Maybe it'll be useful somehow:



                          1. Installation and next process seems to rely on the versions of the softwares.

                          2. I installed Ubuntu 16.04 on a VMware virtual machine(4 CPUs, 4 GB RAM).

                          3. Install netcdf(libnetcdf-dev) and gdal(libgdal1-dev).

                          4. Download GMT-4.5.14, GSHHG-GMT-2.3.4, GMT4param.txt, and install_gmt4.sh

                          5. Change the parameters on GMT4param.txt:
                            GSHHG_ftp=n
                            GSHHG_path= (installation path)
                            GMT_ftp=n
                            GMT_prefix= (installation path)
                            GMT_delete=n

                          6. Install these files, using: sudo sh install_gmt4.sh GMT4param.txt

                          7. Add PATH of GMT to your .bashrc file.

                          These steps are for GMT.



                          For TDEFNODE:



                          1. Download and compile TDEFNODE.

                          2. Put all the files in a directory.

                          3. Specify the PATHs for TDEFNODE and td_plot in .bashrc

                          4. Install tcsh package.

                          Now the software runs and works with GMT. Seems no error so far.






                          share|improve this answer













                          Finally, I figured out to work with these softwares. I don't want this topic to be a dead end, so I'll simply explain the installation process. Maybe it'll be useful somehow:



                          1. Installation and next process seems to rely on the versions of the softwares.

                          2. I installed Ubuntu 16.04 on a VMware virtual machine(4 CPUs, 4 GB RAM).

                          3. Install netcdf(libnetcdf-dev) and gdal(libgdal1-dev).

                          4. Download GMT-4.5.14, GSHHG-GMT-2.3.4, GMT4param.txt, and install_gmt4.sh

                          5. Change the parameters on GMT4param.txt:
                            GSHHG_ftp=n
                            GSHHG_path= (installation path)
                            GMT_ftp=n
                            GMT_prefix= (installation path)
                            GMT_delete=n

                          6. Install these files, using: sudo sh install_gmt4.sh GMT4param.txt

                          7. Add PATH of GMT to your .bashrc file.

                          These steps are for GMT.



                          For TDEFNODE:



                          1. Download and compile TDEFNODE.

                          2. Put all the files in a directory.

                          3. Specify the PATHs for TDEFNODE and td_plot in .bashrc

                          4. Install tcsh package.

                          Now the software runs and works with GMT. Seems no error so far.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Jul 24 '17 at 13:40









                          mehmetmehmet

                          11




                          11





















                              0














                              Halo, I'm a new user to Ubuntu and I want to install defnode. Anyone can help me to show the process of the installation? thanks





                              share








                              New contributor




                              Bondan Galih Dewanto is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                              Check out our Code of Conduct.




















                              • It seems you posted a question as an answer, please do not do that. Instead ask a new question here.

                                – Emmet
                                58 secs ago















                              0














                              Halo, I'm a new user to Ubuntu and I want to install defnode. Anyone can help me to show the process of the installation? thanks





                              share








                              New contributor




                              Bondan Galih Dewanto is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                              Check out our Code of Conduct.




















                              • It seems you posted a question as an answer, please do not do that. Instead ask a new question here.

                                – Emmet
                                58 secs ago













                              0












                              0








                              0







                              Halo, I'm a new user to Ubuntu and I want to install defnode. Anyone can help me to show the process of the installation? thanks





                              share








                              New contributor




                              Bondan Galih Dewanto is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                              Check out our Code of Conduct.










                              Halo, I'm a new user to Ubuntu and I want to install defnode. Anyone can help me to show the process of the installation? thanks






                              share








                              New contributor




                              Bondan Galih Dewanto is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                              Check out our Code of Conduct.








                              share


                              share






                              New contributor




                              Bondan Galih Dewanto is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                              Check out our Code of Conduct.









                              answered 7 mins ago









                              Bondan Galih DewantoBondan Galih Dewanto

                              1




                              1




                              New contributor




                              Bondan Galih Dewanto is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                              Check out our Code of Conduct.





                              New contributor





                              Bondan Galih Dewanto is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                              Check out our Code of Conduct.






                              Bondan Galih Dewanto is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                              Check out our Code of Conduct.












                              • It seems you posted a question as an answer, please do not do that. Instead ask a new question here.

                                – Emmet
                                58 secs ago

















                              • It seems you posted a question as an answer, please do not do that. Instead ask a new question here.

                                – Emmet
                                58 secs ago
















                              It seems you posted a question as an answer, please do not do that. Instead ask a new question here.

                              – Emmet
                              58 secs ago





                              It seems you posted a question as an answer, please do not do that. Instead ask a new question here.

                              – Emmet
                              58 secs ago

















                              draft saved

                              draft discarded
















































                              Thanks for contributing an answer to Ask Ubuntu!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid


                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.

                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f935594%2ftcsh-and-bashrc-conflict%23new-answer', 'question_page');

                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Möglingen Índice Localización Historia Demografía Referencias Enlaces externos Menú de navegación48°53′18″N 9°07′45″E / 48.888333333333, 9.129166666666748°53′18″N 9°07′45″E / 48.888333333333, 9.1291666666667Sitio web oficial Mapa de Möglingen«Gemeinden in Deutschland nach Fläche, Bevölkerung und Postleitzahl am 30.09.2016»Möglingen

                              Virtualbox - Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND)“VERR_SUPLIB_WORLD_WRITABLE” error when trying to installing OS in virtualboxVirtual Box Kernel errorFailed to open a seesion for the virtual machineFailed to open a session for the virtual machineUbuntu 14.04 LTS Virtualbox errorcan't use VM VirtualBoxusing virtualboxI can't run Linux-64 Bit on VirtualBoxUnable to insert the virtual optical disk (VBoxguestaddition) in virtual machine for ubuntu server in win 10VirtuaBox in Ubuntu 18.04 Issues with Win10.ISO Installation

                              Antonio De Lisio Carrera Referencias Menú de navegación«Caracas: evolución relacional multipleja»«Cuando los gobiernos subestiman a las localidades: L a Iniciativa para la Integración de la Infraestructura Regional Suramericana (IIRSA) en la frontera Colombo-Venezolana»«Maestría en Planificación Integral del Ambiente»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«Conózcanos»«Caracas: evolución relacional multipleja»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»