Idl 5.6 &linux [message #54514] |
Tue, 19 June 2007 05:43  |
cecilia.devecchi
Messages: 6 Registered: November 2006
|
Junior Member |
|
|
Hi folks!
I've installed IDL 5.6 under linux (ubuntu feisty). It seems work
fine, but the shortcuts don't go and a simple script that I've write
under windows don't run, so I tried with a single line with a
read_tiff but Idl says "error".....what's the problem?
Thanks in advance.
Regards
|
|
|
Re: Idl 5.6 &linux [message #54575 is a reply to message #54514] |
Mon, 25 June 2007 07:34  |
Norbert Hahn
Messages: 46 Registered: May 2003
|
Member |
|
|
Ce <cecilia.devecchi@gmail.com> wrote:
> I see :) ...I try to explain better:
> 1) E.g: to copy under linux the keyboard :) shortcut is ALT+C and to
> paste ALT+V but don't go
> 2) I don't expect that the windows script is compatible under linux
> but the simple row: image=read_tiff('home/kit/32G.tif') don't go
Hm, home/kit/32G.tif gets translated to /home/home/32G.tif as the leading
/ in the filename is missing. Please check the output of the shell command
$ file home/kit/32G.tif
It should report a tiff file with the right properties.
Else try ~/kit/32G.tif as file name. And /home/kit/32G.tif should work
as well.
Not to forget that Unix file names are case sensitive while Windows would
accept 32G.tif for 32g.tif.
Norbert
|
|
|
Re: Idl 5.6 &linux [message #54591 is a reply to message #54514] |
Fri, 22 June 2007 06:25  |
rkombiyil
Messages: 59 Registered: March 2006
|
Member |
|
|
On Jun 22, 5:53 pm, Ce <cecilia.devec...@gmail.com> wrote:
> I see :) ...I try to explain better:
> 1) E.g: to copy under linux the keyboard :) shortcut is ALT+C and to
> paste ALT+V but don't go
> 2) I don't expect that the windows script is compatible under linux
> but the simple row: image=read_tiff('home/kit/32G.tif') don't go
I have a 2 button mouse with a scroll wheel in between them (Dell). I
left click, drag and highlight what I want to copy and then click both
buttons together to paste.
As Paolo pointed out, you might wanna check about the correct way of
specifying path in *nix. Without the forward slash before, it will be
interpreted as "another" home directory within your home.
Have fun,
~rk
|
|
|
Re: Idl 5.6 &linux [message #54593 is a reply to message #54514] |
Fri, 22 June 2007 02:36  |
Paolo Grigis
Messages: 171 Registered: December 2003
|
Senior Member |
|
|
Ce wrote:
> I see :) ...I try to explain better:
> 1) E.g: to copy under linux the keyboard :) shortcut is ALT+C and to
> paste ALT+V but don't go
Well, I suspect that this has more to do with the configuration of the
shell than with IDL. The easiest way to copy & paste in Linux is selecting
some text and using the middle mouse button for copying.
> 2) I don't expect that the windows script is compatible under linux
> but the simple row: image=read_tiff('home/kit/32G.tif') don't go
First thing to check is if the file exist, using FILE_TEST.
If it does not find the file you may want to try '/home/...' instead.
Ciao,
Paolo
>
> On 19 Giu, 16:59, metachronist <rkombi...@gmail.com> wrote:
>> On Jun 19, 9:43 pm, Cecil <cecilia.devec...@gmail.com> wrote:
>>
>>> Hi folks!
>>> I've installedIDL5.6underlinux(ubuntu feisty). It seems work
>>> fine, but the shortcuts don't go and a simple script that I've write
>>> under windows don't run, so I tried with a single line with a
>>> read_tiff butIdlsays "error".....what's the problem?
>>> Thanks in advance.
>>> Regards
>> Well, shortcuts to what? And where are they "not" going? Shortcuts are
>> meant to go somewhere, right? :) Well, if you wrote a script that runs
>> under windoze, do you expect it to be cross-platform compatible?! The
>> conventions (drives) and the slashes (/ vs. \) are all different, so
>> will be the "locations (paths)" where they are installed (/usr/local/
>> rsi in GNU/Linuxand "I don't know where" in windows).
>> In short, reading your post, it is not clear what you want to tell
>> us..
>> ~rk
>
>
|
|
|