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

Home » Public Forums » archive » Re: paste into unix IDL slow?
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: paste into unix IDL slow? [message #31453] Thu, 11 July 2002 12:10
wmconnolley is currently offline  wmconnolley
Messages: 106
Registered: November 2000
Senior Member
Craig Markwardt <craigmnet@cow.physics.wisc.edu> wrote:
> wmc@bas.ac.uk writes:

>> Not quite the same thing, but while paste is under discussion, I have a feature
>> (under { alpha OSF unix 5.4 Sep 25 2000 64 64}) that if I paste in too
>> many lines from elsewhere (maybe more than 4-8) the first few get pasted
>> in (fast) then the terminal locks up and will never recover. Anyone else have that?

> This happens to me too on Alpha machines, but not just under IDL I
> think. It happens anytime I paste a large amount, even to the shell.

Interesting. It definitely only happens to me within IDL: I can paste pages
and pages into other windows with no problems.

-W.

--
William M Connolley | wmc@bas.ac.uk | http://www.nerc-bas.ac.uk/icd/wmc/
Climate Modeller, British Antarctic Survey | Disclaimer: I speak for myself
I'm a .signature virus! copy me into your .signature file & help me spread!
Re: paste into unix IDL slow? [message #31457 is a reply to message #31453] Thu, 11 July 2002 06:56 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
wmc@bas.ac.uk writes:

> Marshall Perrin <mperrin+news@arkham.berkeley.edu> wrote:
>> I'm using IDL on Solaris. If I highlight text in another window and then
>> middle-click on my IDL terminal, the text pastes in v-e-r-y s-l-o-w-l-y.
>> As in, up to 5 seconds to paste in one 80-character line. This makes
>> using IDL interactively somewhat of a drag...
>
> Not quite the same thing, but while paste is under discussion, I have a feature
> (under { alpha OSF unix 5.4 Sep 25 2000 64 64}) that if I paste in too
> many lines from elsewhere (maybe more than 4-8) the first few get pasted
> in (fast) then the terminal locks up and will never recover. Anyone else have that?

Hi William--

This happens to me too on Alpha machines, but not just under IDL I
think. It happens anytime I paste a large amount, even to the shell.

Craig


--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
Re: paste into unix IDL slow? [message #31459 is a reply to message #31457] Thu, 11 July 2002 05:57 Go to previous message
James Kuyper is currently offline  James Kuyper
Messages: 425
Registered: March 2000
Senior Member
Marshall Perrin wrote:
>
> Craig Markwardt <craigmnet@cow.physics.wisc.edu> wrote:
>> Marshall, does this only happen when you are pasting into an IDL
>> session that has other widgets or direct graphics windows open?
>
> Ha, yes! This precisely. I'd never noticed that correlation before, but
> it does seem to hold 100% in the tests I've just done.
>
>> I get
>> this when I am logged in from home on a slow 56k modem. Apparently,
>> when any windows are on the screen, IDL has a different input loop
>> which involves a lot of hidden communication back and forth over your
>> session link.
>
> You only see this over a modem? Hrm. I see it while at work, sshed from the
> slow ultra 1 on my desk to the huge beast in the basement with the
> gigs of RAM, over what I *think* is 100 base T. At the very least it's 10.

I see the same thing over an ssh link from my Linux desktop machine to a
big, nearby SGI machine. I don't know the details of the network
connection, but it should be adequate; I only see problems like this
with IDL, and not with any of the other comparable programs I use.
Re: paste into unix IDL slow? [message #31461 is a reply to message #31459] Thu, 11 July 2002 03:01 Go to previous message
wmconnolley is currently offline  wmconnolley
Messages: 106
Registered: November 2000
Senior Member
Marshall Perrin <mperrin+news@arkham.berkeley.edu> wrote:
> I'm using IDL on Solaris. If I highlight text in another window and then
> middle-click on my IDL terminal, the text pastes in v-e-r-y s-l-o-w-l-y.
> As in, up to 5 seconds to paste in one 80-character line. This makes
> using IDL interactively somewhat of a drag...

Not quite the same thing, but while paste is under discussion, I have a feature
(under { alpha OSF unix 5.4 Sep 25 2000 64 64}) that if I paste in too
many lines from elsewhere (maybe more than 4-8) the first few get pasted
in (fast) then the terminal locks up and will never recover. Anyone else have that?

-W.

--
William M Connolley | wmc@bas.ac.uk | http://www.nerc-bas.ac.uk/icd/wmc/
Climate Modeller, British Antarctic Survey | Disclaimer: I speak for myself
I'm a .signature virus! copy me into your .signature file & help me spread!
Re: paste into unix IDL slow? [message #31463 is a reply to message #31461] Thu, 11 July 2002 00:36 Go to previous message
mperrin+news is currently offline  mperrin+news
Messages: 81
Registered: May 2001
Member
Craig Markwardt <craigmnet@cow.physics.wisc.edu> wrote:
> Marshall, does this only happen when you are pasting into an IDL
> session that has other widgets or direct graphics windows open?

Ha, yes! This precisely. I'd never noticed that correlation before, but
it does seem to hold 100% in the tests I've just done.

> I get
> this when I am logged in from home on a slow 56k modem. Apparently,
> when any windows are on the screen, IDL has a different input loop
> which involves a lot of hidden communication back and forth over your
> session link.

You only see this over a modem? Hrm. I see it while at work, sshed from the
slow ultra 1 on my desk to the huge beast in the basement with the
gigs of RAM, over what I *think* is 100 base T. At the very least it's 10.

Hmm. I wonder if it's related to the fact that I have
Device, Retain=2
in my .idlstartup. I'll try again tomorrow with that line commented out
and see if that speeds things up over the local LAN.

> * wiggle your mouse on an IDL window while pasting
This makes it somewhat faster, but still slow, at least over the
1.5Mbs DSL line I have at home. I routinely get 800 kbps file transfers to
my office, so the net is fast enough to past a line of text faster
than a few characters per second...
> * close the window while pasting
as in fact this demonstrates, by making pastes of several pages of text
nearly instantaneous when no windows are open.

Interesting. Do you know if RSI is aware of this issue? (Not that it's
necessarily of tremendous priority, but it is quite the annoyance.)
In any case, I can work around it for now with windows closed when
possible. Thanks.

- Marshall
Re: paste into unix IDL slow? [message #31464 is a reply to message #31463] Wed, 10 July 2002 23:09 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
mperrin+news@arkham.berkeley.edu (Marshall Perrin) writes:

> I'm using IDL on Solaris. If I highlight text in another window and then
> middle-click on my IDL terminal, the text pastes in v-e-r-y s-l-o-w-l-y.
> As in, up to 5 seconds to paste in one 80-character line. This makes
> using IDL interactively somewhat of a drag...

Marshall, does this only happen when you are pasting into an IDL
session that has other widgets or direct graphics windows open? I get
this when I am logged in from home on a slow 56k modem. Apparently,
when any windows are on the screen, IDL has a different input loop
which involves a lot of hidden communication back and forth over your
session link.

Quick workarounds:
* wiggle your mouse on an IDL window while pasting
* close the window while pasting

Unfortunately it also makes emacs's idlwave mode close to useless over
slow remote links.

Good luck in any case!
Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Executable
Next Topic: Error messages

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

Current Time: Wed Oct 08 17:02:59 PDT 2025

Total time taken to generate the page: 0.00587 seconds