MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Programmatic Search and Replace

  • To: mathgroup at
  • Subject: [mg62349] Re: [mg62292] Programmatic Search and Replace
  • From: "Yasvir A. Tesiram" <tesiramy at>
  • Date: Mon, 21 Nov 2005 05:25:22 -0500 (EST)
  • References: <> <Pine.LNX.4.63.0511200458390.6445@localhost.localdomain> <>
  • Sender: owner-wri-mathgroup at

Try running klipper or some similar utility. By habit, I use the middle 
mouse button to paste, and so had never encountered what you'd 
described. I was able to reproduce the "hang" using the key strokes as you 
detail. Running klipper solves it. Tested on fvwm, GNOME and KDE.

On Sun, 20 Nov 2005, Steven T. Hatton wrote:

> On Sunday 20 November 2005 06:46 am, Yasvir A. Tesiram wrote:
>> G'day,
>> Before you go programming something as  a replacement, I would check the
>> features of the Desktop environment, if you are using one i.e.. I have
>> been working with Mathematica on Linux since V4.2, and am currently at
>> 5.2.
>> I sometimes use a Desktop environment on Linux but I know that what you
>> describe below has never been an issue. In any case, I would suggest
>> trying to switch from say KDE to GNOME. See if there is a difference.
>> If so install a different version of the Desktop environment and test it
>> etc etc.
> I tried it under fvwm and the same thing happens.  I copy some text out of the
> notebook, Ctrl+F, Shift+Insert, and it locks up.  When I did a RMC, the
> pointer became confined to the notebook rectangle, and I lost all other HID
> access to the machine.

Yes, its odd. I assume its related to the Find form not knowing what 
Shift+Insert means.

>> Otherwise see if Developer`ClipboardNotebook, NotebookWrite, NotebookRead
>> etc can be of help to you.
> For now it works to simply handjam the FullForm target text into the search
> field.  That's a bit inconvenient when dealing with things such as
> \[DoubleLongLeftRightArrow].

Painful. So its worth spending the time to find a workaround.

Qt really ie a pleasure to program with. AFAIK,
> the cross-platform support is solid.  The development of what is now Qt began
> 15 years ago.  The founders of TrollTech have been coding in C++ for almost
> as long as Stroustrup.

I don't doubt it.


  • Prev by Date: Re: Lost connection to license server
  • Next by Date: Re: Types in Mathematica
  • Previous by thread: Re: Programmatic Search and Replace
  • Next by thread: Re: Programmatic Search and Replace