From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 Date: Wed, 2 Sep 2015 08:08:57 +0200 Message-ID: From: Rudolf Sykora To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: [9fans] acme search backwards Topicbox-Message-UUID: 6839def2-ead9-11e9-9d60-3106f5b1d025 Hi, by chance, hasn't somebody changed acme so that one can easily, say with a ctrl key, change the direction of the search done by the 3rd mouse button? I find it very missing. Thanks Ruda From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: From: Mathieu Lonjaret Date: Wed, 2 Sep 2015 15:14:29 +0200 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=089e0122eb667b144c051ec373af Subject: Re: [9fans] acme search backwards Topicbox-Message-UUID: 685dc8d0-ead9-11e9-9d60-3106f5b1d025 --089e0122eb667b144c051ec373af Content-Type: text/plain; charset=UTF-8 I had done https://bitbucket.org/mpl/acme-with-easy-backwards-search , but since I wasn't bright enough to host it as a diff I don't really remember how it works or what I changed. I think I had added a Rev command to the tag bar of the window. Although it wasn't useful enough for me to keep on maintaining it, I'm pretty sure it was working. Also there was a discussion on 9fans about it with other suggestions/solutions. On 2 September 2015 at 08:08, Rudolf Sykora wrote: > Hi, > > by chance, hasn't somebody changed acme so that one can easily, > say with a ctrl key, change the direction of the search done by the > 3rd mouse button? I find it very missing. > > Thanks > Ruda > > --089e0122eb667b144c051ec373af Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I had done https://bitbucket.org/mpl/acme-with-easy-backwards-s= earch , but since I wasn't bright enough to host it as a diff I don= 't really remember how it works or what I changed. I think I had added = a Rev command to the tag bar of the window. Although it wasn't useful e= nough for me to keep on maintaining it, I'm pretty sure it was working.=
=C2=A0
Also there was a discussion on 9fans about it with ot= her suggestions/solutions.

On 2 September 2015 at 08:08, Rudolf Sykora <r= udolf.sykora@gmail.com> wrote:
Hi,

by chance, hasn't somebody changed acme so that one can easily,
say with a ctrl key, change the direction of the search done by the
3rd mouse button? I find it very missing.

Thanks
Ruda


--089e0122eb667b144c051ec373af-- From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <5ad5dfde114f33e7a3520275a573d2d8@proxima.alt.za> To: 9fans@9fans.net Date: Wed, 2 Sep 2015 16:01:36 +0200 From: lucio@proxima.alt.za In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] acme search backwards Topicbox-Message-UUID: 686684e8-ead9-11e9-9d60-3106f5b1d025 > Also there was a discussion on 9fans about it with other > suggestions/solutions. :-/RE is what I remember Russ recommending, It's not perfect, but it does help. Lucio. From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <5ad5dfde114f33e7a3520275a573d2d8@proxima.alt.za> References: <5ad5dfde114f33e7a3520275a573d2d8@proxima.alt.za> From: Alexander Kapshuk Date: Wed, 2 Sep 2015 17:37:37 +0300 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] acme search backwards Topicbox-Message-UUID: 686b2eda-ead9-11e9-9d60-3106f5b1d025 On Wed, Sep 2, 2015 at 5:01 PM, wrote: >> Also there was a discussion on 9fans about it with other >> suggestions/solutions. > > :-/RE > > is what I remember Russ recommending, It's not perfect, but it does help. > > Lucio. > > Page 4 of A Tutorial for Sam Command Language, by Rob Pike, suggests the following usage: >>> Just precede the pattern with a minus sign, which reverses the direction of the search: -/Emacs/ Similarly, $-/Emacs/ finds the last occurrence in the file, so 0/Emacs/,$-/Emacs/ selects the text from the first to last Emacs, inclusive. <<< From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: <5ad5dfde114f33e7a3520275a573d2d8@proxima.alt.za> Date: Wed, 2 Sep 2015 17:01:05 +0200 Message-ID: From: Rudolf Sykora To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] acme search backwards Topicbox-Message-UUID: 686ede22-ead9-11e9-9d60-3106f5b1d025 On 2 September 2015 at 16:37, Alexander Kapshuk wrote: > On Wed, Sep 2, 2015 at 5:01 PM, wrote: >>> Also there was a discussion on 9fans about it with other >>> suggestions/solutions. >> >> :-/RE >> >> is what I remember Russ recommending, It's not perfect, but it does help. >> >> Lucio. >> >> > > Page 4 of A Tutorial for Sam Command Language, by Rob Pike, suggests > the following usage: >>>> > Just precede the pattern with a minus > sign, which reverses the direction of the search: > -/Emacs/ > > Similarly, > $-/Emacs/ > finds the last occurrence in the file, so > 0/Emacs/,$-/Emacs/ > selects the text from the first to last Emacs, inclusive. I actually know all of what you write, and the question was meant explicitly differently. I.e., the suggestions you mention are still far from reciprocal to a b3-click on any word in the text file. Copying (or even selecting a whole portion of) a word to get it into a formula like :-/.../ somewhere is ugly, to say the least. Thanks anyway! Ruda From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <149d14ec2b0f7dd35cd414bcf01733ae@proxima.alt.za> To: 9fans@9fans.net Date: Wed, 2 Sep 2015 17:27:50 +0200 From: lucio@proxima.alt.za In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] acme search backwards Topicbox-Message-UUID: 6873b104-ead9-11e9-9d60-3106f5b1d025 > I.e., the suggestions you mention are still far from reciprocal > to a b3-click on any word in the text file. It's just one of those Pandora's boxes, once it's open it can't be closed. I have continual trouble with unintentionlly pressing the Cape-Lock key at the same time as the letter A and finding myself typing text at the beginning of the line (which could be a paragraph, in Acme) instead of the place I was at one Ctrl-A earlier. Still, you could set an indicator that reverses the direction of B3's search. It's just not all that useful and programming it and testing it may be more effort than you gain from the trouble. Also, knowing which way you're going next time you click B3 may not be very clear and you further need to decide whether it is a window-wide or global setting. Lucio. From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <5ad5dfde114f33e7a3520275a573d2d8@proxima.alt.za> References: <5ad5dfde114f33e7a3520275a573d2d8@proxima.alt.za> From: Mathieu Lonjaret Date: Thu, 3 Sep 2015 11:16:53 +0200 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=001a1136b7d8a47265051ed43f97 Subject: Re: [9fans] acme search backwards Topicbox-Message-UUID: 68807ed4-ead9-11e9-9d60-3106f5b1d025 --001a1136b7d8a47265051ed43f97 Content-Type: text/plain; charset=UTF-8 No, I meant other implementation suggestions. Since you're all as lazy as I am, here it is: https://groups.google.com/d/msg/comp.os.plan9/Q6R9iuu0lE8/u3h-FUnXOmEJ On 2 September 2015 at 16:01, wrote: > > Also there was a discussion on 9fans about it with other > > suggestions/solutions. > > :-/RE > > is what I remember Russ recommending, It's not perfect, but it does help. > > Lucio. > > > --001a1136b7d8a47265051ed43f97 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
No, I meant other implementation suggestions.

Since you're all as lazy as I am, here it is:


On 2 September 2015 at 16:01, <lucio@prox= ima.alt.za> wrote:
> Also there was a discussion on 9fans about it with other
> suggestions/solutions.

=C2=A0:-/RE<B3>

is what I remember Russ recommending,=C2=A0 It's not perfect, but it do= es help.

Lucio.



--001a1136b7d8a47265051ed43f97-- From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: <5ad5dfde114f33e7a3520275a573d2d8@proxima.alt.za> Date: Thu, 3 Sep 2015 11:38:17 +0200 Message-ID: From: Rudolf Sykora To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] acme search backwards Topicbox-Message-UUID: 688cd490-ead9-11e9-9d60-3106f5b1d025 On 3 September 2015 at 11:16, Mathieu Lonjaret > https://groups.google.com/d/msg/comp.os.plan9/Q6R9iuu0lE8/u3h-FUnXOmEJ Thanks for the link! I wonder, why is it that they claim that implementing the functionality of: 3b = search forward, shift+3b = search backward is not feasible on plan9... Ruda From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Thu, 3 Sep 2015 06:11:17 -0700 To: 9fans@9fans.net Message-ID: <85e18fdc09a479c86f5955be0cb604be@brasstown.quanstro.net> In-Reply-To: References: <5ad5dfde114f33e7a3520275a573d2d8@proxima.alt.za> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] acme search backwards Topicbox-Message-UUID: 68912478-ead9-11e9-9d60-3106f5b1d025 On Thu Sep 3 02:40:05 PDT 2015, rudolf.sykora@gmail.com wrote: > On 3 September 2015 at 11:16, Mathieu Lonjaret > > https://groups.google.com/d/msg/comp.os.plan9/Q6R9iuu0lE8/u3h-FUnXOmEJ > > Thanks for the link! > I wonder, why is it that they claim that implementing the functionality > of: > 3b = search forward, shift+3b = search backward > is not feasible on plan9... because the keyboard doesn't pass modal presses to user space, and devmouse already takes shift+right -> middle, for insufficient mice. - erik From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <85e18fdc09a479c86f5955be0cb604be@brasstown.quanstro.net> References: <5ad5dfde114f33e7a3520275a573d2d8@proxima.alt.za> <85e18fdc09a479c86f5955be0cb604be@brasstown.quanstro.net> From: =?UTF-8?B?QXJhbSBIxIN2xINybmVhbnU=?= Date: Thu, 3 Sep 2015 15:34:54 +0200 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] acme search backwards Topicbox-Message-UUID: 68958298-ead9-11e9-9d60-3106f5b1d025 On Thu, Sep 3, 2015 at 3:11 PM, erik quanstrom wrot= e: > because the keyboard doesn't pass modal presses to user space There has been solved in 9front in 2011: http://man.cat-v.org/9front/8/kbdf= s --=20 Aram H=C4=83v=C4=83rneanu From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 3 Sep 2015 07:14:58 -0700 Message-ID: In-Reply-To: From: erik quanstrom To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 Subject: Re: [9fans] acme search backwards Topicbox-Message-UUID: 689a19e8-ead9-11e9-9d60-3106f5b1d025 c29tZWhvdyBJIHRob3VnaHQgdGhhdCB3YXMgZ29pbmcgdG8gYmUgdGhlIHJlc3BvbnNlLCBidXQg dGhhdCdzIG5vdCByZWFsbHkgdHJ1ZSB1bmxlc3MgYWNtZSBoYXMgYmVlbiByZXdyaXR0ZW4gb24g dGhlIGxvd2VyIGxldmVsIGtiZCBtb2RlbC4KCnRoYXQgbW9kZWwgYWxzbyBpbnRyb2R1Y2VzIHVz ZXIgc3BhY2Uga2JkIGNvbnRyb2wsIHNvIGdvb2QgbHVjayB1c2luZyBpdCBpbiB0aGUgZXZlbnQg b2YgcGFuaWMuCgotIGVyaWsKCgpPbiBTZXAgMywgMjAxNSA2OjM0IEFNLCBBcmFtIEjEg3bEg3Ju ZWFudSA8YXJhbS5oQG1nay5ybz4gd3JvdGU6Cj4KPiBPbiBUaHUsIFNlcCAzLCAyMDE1IGF0IDM6 MTEgUE0sIGVyaWsgcXVhbnN0cm9tIDxxdWFuc3Ryb0BxdWFuc3Ryby5uZXQ+IHdyb3RlOiAKPiA+ IGJlY2F1c2UgdGhlIGtleWJvYXJkIGRvZXNuJ3QgcGFzcyBtb2RhbCBwcmVzc2VzIHRvIHVzZXIg c3BhY2UgCj4KPiBUaGVyZSBoYXMgYmVlbiBzb2x2ZWQgaW4gOWZyb250IGluIDIwMTE6IGh0dHA6 Ly9tYW4uY2F0LXYub3JnLzlmcm9udC84L2tiZGZzIAo+Cj4gLS0gCj4gQXJhbSBIxIN2xINybmVh bnUgCj4KPgo= From mboxrd@z Thu Jan 1 00:00:00 1970 In-Reply-To: References: User-Agent: Type for Android MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----O10NW1HU4C1LJMN5LAZM1C7WGY7077" Content-Transfer-Encoding: 7bit From: Stanley Lieber Date: Thu, 3 Sep 2015 10:27:11 -0400 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-ID: Subject: Re: [9fans] acme search backwards Topicbox-Message-UUID: 689e7042-ead9-11e9-9d60-3106f5b1d025 ------O10NW1HU4C1LJMN5LAZM1C7WGY7077 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable > somehow I thought that was going to be the response gee, erik On Sep = 3, 2015, 10:16 AM, at 10:16 AM, erik quanstrom wr= ote: >somehow I thought that was going to be the response, but that's not >= really true unless acme has been rewritten on the lower level kbd >model=2E= > >that model also introduces user space kbd control, so good luck using >= it in the event of panic=2E > >- erik > > >On Sep 3, 2015 6:34 AM, Aram H= =C4=83v=C4=83rneanu wrote: >> >> On Thu, Sep 3, 2015 at= 3:11 PM, erik quanstrom > wrote: >> > because th= e keyboard doesn't pass modal presses to user space >> >> There has been s= olved in 9front in 2011: >http://man=2Ecat-v=2Eorg/9front/8/kbdfs >> >> --= >> Aram H=C4=83v=C4=83rneanu >> >> ------O10NW1HU4C1LJMN5LAZM1C7WGY7077 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

> somehow I thought that was goi= ng to be the response

gee, erik

------O10NW1HU4C1LJMN5LAZM1C7WGY7077-- From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 3 Sep 2015 10:30:55 -0400 From: Kurt H Maier To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-ID: <20150903143055.GA38129@wopr.sciops.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [9fans] acme search backwards Topicbox-Message-UUID: 68a25810-ead9-11e9-9d60-3106f5b1d025 On Thu, Sep 03, 2015 at 07:14:58AM -0700, erik quanstrom wrote: > somehow I thought that was going to be the response, but that's not really true unless acme has been rewritten on the lower level kbd model. patches > that model also introduces user space kbd control, so good luck using it in the event of panic. welcome From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Thu, 3 Sep 2015 16:42:11 +0200 Message-ID: From: Rudolf Sykora To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] acme search backwards Topicbox-Message-UUID: 68b1b5b2-ead9-11e9-9d60-3106f5b1d025 On 3 September 2015 at 16:14, erik quanstrom wrote: > somehow I thought that was going to be the response, but that's not really true unless acme has been rewritten on the lower level kbd model. > > that model also introduces user space kbd control, so good luck using it in the event of panic. Sorry, I don't orient. Does it all mean that I could nowadays possibly get the wanted behaviour (using, say, ctrl+3b for the purpose) on 9front while I cannot on the original plan9? Thanks Ruda