[comp.sys.sgi] Cut and Paste function for Jot

karron@KARRON.MED.NYU.EDU (11/14/90)

There has been some discussion of what some people would like to see
in Jot. High on some folk's wish list was a cut and paste function for Jot.

Well, it is in there if you know how to tease it out. The following was
discovered by trial and error. You Jot guys should have revealed this first!
This should be more obvious in the menus.

Load the cut/paste buffer with your REPLACEMENT pattern by clicking on
copy after you mark your region with what you want to replace.

Click on search, and enter your SEARCH pattern. Click on search to highlight
the first match. With the search pattern highlighted, click on paste.

Your search pattern will disappear and your replacement pattern will be in
the previously highlighted region.

Click on the search panel continue button to continue. It will highlight
the next search pattern found. Click on paste to replace.

Repeat till you are done.

Apparently, the highlighted region is in a different buffer from the
replacement buffer, and any highlighted region is removed if you enter
any characters, including a click from the paste menu item, which will replace
your highlighted search string.

This is in IRIX 3.3.1.
+-----------------------------------------------------------------------------+
| karron@nyu.edu (mail alias that will always find me)                        |
|                                         Dan Karron                          |
| . . . . . . . . . . . . . .             New York University Medical Center  |
| 560 First Avenue           \ \    Pager <1> (212) 397 9330                  |
| New York, New York 10016    \**\        <2> 10896   <3> <your-number-here>  |
| (212) 340 5210               \**\__________________________________________ |
| Please Note : Soon to move to dan@karron.med.nyu.edu 128.122.135.3  (Nov 1 )|
+-----------------------------------------------------------------------------+

portuesi@tweezers.esd.sgi.com (Michael Portuesi) (11/14/90)

>>>>> On 14 Nov 90 07:38:33 GMT, karron@KARRON.MED.NYU.EDU said:

> There has been some discussion of what some people would like to see
> in Jot. High on some folk's wish list was a cut and paste function for Jot.

> Well, it is in there if you know how to tease it out. The following was
> discovered by trial and error. You Jot guys should have revealed this first!
> This should be more obvious in the menus.

[procedure description omitted...]

Well, jot has always had a cut and paste function on its menus.  What
you just described was a way to do search and replace using the Search
feature combined with the Paste command.

As for suggestions for other enhancements to Jot, it's currently being
rewritten for the next major software release.  I'm not the person
performing the overhaul, and I don't know what enhancements (if any)
might appear, but we do read the suggestions which appear here and
we'll consider any enhancements that you'd care to suggest.  When
suggesting an enhancement, please keep in mind that Jot was intended
to be a simple, functional editor for "the rest of us", i.e. people
who won't deal with the huge, complex command set of an editor such as
emacs or vi.  We'd like to add essential features to Jot, but we want
to avoid "creeping featuritis" and keep it's small and simple
philosophy.

m.
--
__
\/  Michael Portuesi   Silicon Graphics, Inc.   portuesi@sgi.com

"Adroit wives seize on conversational leads toward topics on which
their husbands talk well.  If it's apropos, they ask to hear that
story he told well the night before--or has told well many times.
Never mind how often the wife has heard it: the fun lies in seeing
the husband win applause."

	--Nina Fischer, "How to Help Your Husband Get Ahead"
	part of the Amy Vanderbilt Success Program for Women