RE: Shall we not use ROOT in cygwin at all ?

From: Fine, Valeri <fine_at_bnl.gov>
Date: Thu, 25 Jun 2009 00:28:36 -0400

 

> This is a temporary solution for now, it would be much more convenient
> to be able to run VC++ version in xterm as it does for the GCC version.
 

We are coming back to the start point of this thread.  

Can you explain what your "more convenient" stands for?  

I understand your only complain was about quality of the Windows Console (Cygwin doesn't create its own console . It does use the Windows console with the bash shell ) rather about ROOT application. You re not alone.

However you was able to activate the basic copy/paste functionality.

If you are still not satisfied with the functionality the standard console deliveries you are recommended to install another one http://sourceforge.net/projects/console It should take you a fraction of the time we are spending now to talk the issue.  

Hope this helps,
My best regards, Valeri    


From: Wei Xie [mailto:wxie_at_purdue.edu]
Sent: Wed 6/24/2009 11:28 PM
To: vladimirsavinov_at_gmail.com
Cc: Fine, Valeri; ROOT Talk
Subject: Re: [ROOT] Shall we not use ROOT in cygwin at all ?

I actually find the following way is more convenient:

o right click the ROOT icon in windows and select the "properties" o click on "option" and check "QuickEdit mode"

Then the console can copy text using mouse. Then I do all the coding using xterm but when running the root, I change to the cygwin console.

This is a temporary solution for now, it would be much more convenient to be able to run VC++ version in xterm as it does for the GCC version. Would that be possible?

Thanks
--Wei

Vladimir Savinov wrote:
> then do
>
> cygstart root
>
>
> from xterm!
>
> of course ROOT does not start INSIDE this xterm, as it was NOT compiled
> in this case with X11 library!
>
> Wei Xie wrote:
>> Hi Valeri
>>
>> I take back what I said in the following. VC++ version have no problem
>> in cygwin console (I just tried and it worked). The following problem
>> shows up when running it in xterm console. The following is what I did:
>>
>> cygwin:~> export DISPLAY=127.0.0.1:0.0
>> cygwin:~>xterm&
>>
>> Then I go to the xterm and type root.exe and the probably mentioned in
>> the following message shows up.
>>
>>
>> Thanks
>> --Wei
>>
>> Wei Xie wrote:
>>> Hi Valeri
>>>
>>> Thanks for all the feedbacks.
>>>
>>> I did try what's mentioned in the following. The difference is I
>>> directly downloaded the binary of VC++ from ROOT website instead
>>> building it myself. When run ROOT, it hangs after printing out the
>>> version number as the following. Will it make a difference if I build
>>> the ROOT myself? I have no problem to run the gcc version of ROOT.
>>>
>>> ////////////////////////
>>> cygwin:c>root -b
>>> *******************************************
>>> * *
>>> * W E L C O M E to R O O T *
>>> * *
>>> * Version 5.22/00 17 December 2008 *
>>> * *
>>> * You are welcome to visit our Web site *
>>> * http://root.cern.ch <http://root.cern.ch/> *
>>> * *
>>> *******************************************
>>>
>>> ROOT 5.22/00 (trunk_at_26997, Jan 05 2009, 10:56:00 on win32)
>>>
>>> CINT/ROOT C/C++ Interpreter version 5.16.29, Jan 08, 2008
>>> Type ? for help. Commands must be C++ statements.
>>> Enclose multiple statements between { }.
>>> //////////////////////////////////////////////
>>>
>>> Cheers
>>> --Wei
>>>
>>>
>>> Fine, Valeri wrote:
>>>>> The advantage I referred is really because I'm a Linux user. The way
>>>> to
>>>>> use GCC version of ROOT in cygwin is exactly the same as in a linux
>>>>> machine. One can run ROOT in a xterm in any directory and can also use
>>>>> mouse to copy any text into the root prompt.
>>>>
>>>> You do build ROOT using Cygwin and Visual C++ right now. You can use
>>>> the
>>>> Cygwin shell console to start the ROOT (compiled with Visual C++ ) too.
>>>>
>>>> To do that you need to set ROOTSYS and PATH environment variable
>>>> (compare, on linux you need to set PATH and LD_LIBRARY_PATH)
>>>> Let's assume you built ROOT with cygwin under "~/root" directory
>>>> Can you keep that cygwin widget open and set
>>>>
>>>> cd ~/root
>>>> export ROOTSYS=`pwd`
>>>> export PATH=$ROOTSYS/bin:$PATH
>>>> root.exe
>>>>
>>>> So the only difference between Linux and Windows is the name of the
>>>> second variable (PATH) to set.
>>>>
>>>> Can you try that?
>>>>
>>>>
>>>> Thank you.
>>>>
>>>
>>>
>>
>>

--
Dept. of Physics, Purdue Univ.
525 Northwestern Ave., West Lafayette, IN 47907

http://www.physics.purdue.edu/people/faculty/wxie.shtml
Tel: 765-494-8743, Fax: 765-494-0706
_______________________________________________________
Received on Thu Jun 25 2009 - 06:29:37 CEST

This archive was generated by hypermail 2.2.0 : Thu Jun 25 2009 - 11:50:02 CEST