comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: display line numbers in idlde?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: display line numbers in idlde? [message #47198] Wed, 01 February 2006 02:31 Go to next message
Peter Clinch is currently offline  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 Go to previous messageGo to next message
Jo Klein is currently offline  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 Go to previous messageGo to next message
Ricardo Bugalho is currently offline  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 Go to previous messageGo to next message
Jo Klein is currently offline  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 #47210 is a reply to message #47209] Tue, 31 January 2006 06:15 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
swingnut@gmail.com writes:

> Yeah, I could, but that's just less convenient when scrolling through
> lots of text. Also, it does not answer the question that was asked, but
> thank you for responding.

Ah, well. The answer to your question is NO. I was just
trying to soften the blow. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Re: display line numbers in idlde? [message #47211 is a reply to message #47210] Tue, 31 January 2006 00:53 Go to previous messageGo to next message
swingnut is currently offline  swingnut
Messages: 30
Registered: September 2005
Member
Yeah, I could, but that's just less convenient when scrolling through
lots of text. Also, it does not answer the question that was asked, but
thank you for responding.
Re: display line numbers in idlde? [message #47214 is a reply to message #47211] Mon, 30 January 2006 21:06 Go to previous messageGo to next message
David Fanning is currently offline  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/
Re: display line numbers in idlde? [message #47259 is a reply to message #47198] Thu, 02 February 2006 03:07 Go to previous message
swingnut is currently offline  swingnut
Messages: 30
Registered: September 2005
Member
For various reasons, none of the listed ideas (cygwinX, ssh, waiting)
are possible, but thank you all for helping!
Re: display line numbers in idlde? [message #47260 is a reply to message #47209] Thu, 02 February 2006 03:02 Go to previous message
swingnut is currently offline  swingnut
Messages: 30
Registered: September 2005
Member
So set path and include a call to a wrapper .pro in the main file. I'll
try it.
Re: display line numbers in idlde? [message #47261 is a reply to message #47210] Thu, 02 February 2006 03:00 Go to previous message
swingnut is currently offline  swingnut
Messages: 30
Registered: September 2005
Member
I kinda figured that was so, but thanks for the thought =).
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Force 8bit display ?
Next Topic: display line numbers in idlde?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:48:43 PDT 2025

Total time taken to generate the page: 0.00734 seconds