Re: display line numbers in idlde? [message #47198] |
Wed, 01 February 2006 02:31  |
Peter Clinch
Messages: 98 Registered: April 1996
|
Member |
|
|
swingnut@gmail.com wrote:
> to be constantly hitting about every minute. So, is there a way to get
> idlde to show line numbers of the currently displayed file?
Wait a couple of months for 6.3... The next version /should/ be
shipping with a new programming environment judging from a short talk on
plans for the future I heard last year from the RSI UK team. ICBW but I
think they said that was aimed at around March???
Pete.
--
Peter Clinch Medical Physics IT Officer
Tel 44 1382 660111 ext. 33637 Univ. of Dundee, Ninewells Hospital
Fax 44 1382 640177 Dundee DD1 9SY Scotland UK
net p.j.clinch@dundee.ac.uk http://www.dundee.ac.uk/~pjclinch/
|
|
|
Re: display line numbers in idlde? [message #47206 is a reply to message #47198] |
Tue, 31 January 2006 07:52   |
Jo Klein
Messages: 54 Registered: January 2006
|
Member |
|
|
VNC is the better option there - not so ugly to install, and client is
available for just about anything with a screen.
Jo
Ricardo Bugalho schrieb:
> Hello,
> If you don't wish to install Linux and IDL for Linux on your laptop, you
> can also try remote graphic access to your server, by using a Xserver
> for windows.
> http://x.cygwin.com/ is free AFAIK and there a number of comercial
> options.
> You'll need X11 forwarding activated on your ssh server.
>
>
> On Mon, 2006-01-30 at 20:43 -0800, swingnut@gmail.com wrote:
>
>> Ok, my preferred solution would actually be to running idl locally (as
>> opposed to ssh to a server) in Linux, editing in kwrite, at full
>> resolution of my laptop, but since I don't feel like wrestling with the
>> Sisyphean task of achieving all that while trying to get something
>> done, I ordered the Windows version of IDL. I'm using idlde because I
>> can't get idl to compile the pro files in my current working directory
>> -- it compiles the library routines I call but won't compile my files
>> when called. idlde allows my to load them all at once and compile them
>> all at once, but I still need line numbers because ctrl+g is cumbersome
>> to be constantly hitting about every minute. So, is there a way to get
>> idlde to show line numbers of the currently displayed file?
>>
>
>
|
|
|
Re: display line numbers in idlde? [message #47208 is a reply to message #47206] |
Tue, 31 January 2006 07:13   |
Ricardo Bugalho
Messages: 22 Registered: March 2005
|
Junior Member |
|
|
Hello,
If you don't wish to install Linux and IDL for Linux on your laptop, you
can also try remote graphic access to your server, by using a Xserver
for windows.
http://x.cygwin.com/ is free AFAIK and there a number of comercial
options.
You'll need X11 forwarding activated on your ssh server.
On Mon, 2006-01-30 at 20:43 -0800, swingnut@gmail.com wrote:
> Ok, my preferred solution would actually be to running idl locally (as
> opposed to ssh to a server) in Linux, editing in kwrite, at full
> resolution of my laptop, but since I don't feel like wrestling with the
> Sisyphean task of achieving all that while trying to get something
> done, I ordered the Windows version of IDL. I'm using idlde because I
> can't get idl to compile the pro files in my current working directory
> -- it compiles the library routines I call but won't compile my files
> when called. idlde allows my to load them all at once and compile them
> all at once, but I still need line numbers because ctrl+g is cumbersome
> to be constantly hitting about every minute. So, is there a way to get
> idlde to show line numbers of the currently displayed file?
>
|
|
|
Re: display line numbers in idlde? [message #47209 is a reply to message #47208] |
Tue, 31 January 2006 07:06   |
Jo Klein
Messages: 54 Registered: January 2006
|
Member |
|
|
David Fanning schrieb:
> swingnut@gmail.com writes:
>
>
>> Ok, my preferred solution would actually be to running idl locally (as
>> opposed to ssh to a server) in Linux, editing in kwrite, at full
>> resolution of my laptop, but since I don't feel like wrestling with the
>> Sisyphean task of achieving all that while trying to get something
>> done, I ordered the Windows version of IDL. I'm using idlde because I
>> can't get idl to compile the pro files in my current working directory
>> -- it compiles the library routines I call but won't compile my files
>> when called.
>
>
> Probably named incorrectly. See this article:
>
> http://www.dfanning.com/tips/namefiles.html
Oh, and the evil solution is to include an empty procedure by the name
of your file, e.g. if your file is called myfunctionlibrary.pro, have
something like
pro myfunctionlibrary
end
inside it. Then, when you want to make use of any procedures inside your
library, all you have to do is run myfunctionlibrary in your main
program, so that your functions get compiled and you can use them.
Doesn't free you from setting your PATH correctly, though!
Jo
|
|
|
|
|
Re: display line numbers in idlde? [message #47214 is a reply to message #47211] |
Mon, 30 January 2006 21:06   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
swingnut@gmail.com writes:
> Ok, my preferred solution would actually be to running idl locally (as
> opposed to ssh to a server) in Linux, editing in kwrite, at full
> resolution of my laptop, but since I don't feel like wrestling with the
> Sisyphean task of achieving all that while trying to get something
> done, I ordered the Windows version of IDL. I'm using idlde because I
> can't get idl to compile the pro files in my current working directory
> -- it compiles the library routines I call but won't compile my files
> when called.
Probably named incorrectly. See this article:
http://www.dfanning.com/tips/namefiles.html
> idlde allows my to load them all at once and compile them
> all at once, but I still need line numbers because ctrl+g is cumbersome
> to be constantly hitting about every minute. So, is there a way to get
> idlde to show line numbers of the currently displayed file?
You could glance down to the status bar to see where
your cursor is located. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|
|
|
|