* [9fans] acme search backwards @ 2015-09-02 6:08 Rudolf Sykora 2015-09-02 13:14 ` Mathieu Lonjaret 0 siblings, 1 reply; 14+ messages in thread From: Rudolf Sykora @ 2015-09-02 6:08 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs 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 ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] acme search backwards 2015-09-02 6:08 [9fans] acme search backwards Rudolf Sykora @ 2015-09-02 13:14 ` Mathieu Lonjaret 2015-09-02 14:01 ` lucio 0 siblings, 1 reply; 14+ messages in thread From: Mathieu Lonjaret @ 2015-09-02 13:14 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs [-- Attachment #1: Type: text/plain, Size: 735 bytes --] 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 <rudolf.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 > > [-- Attachment #2: Type: text/html, Size: 1154 bytes --] ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] acme search backwards 2015-09-02 13:14 ` Mathieu Lonjaret @ 2015-09-02 14:01 ` lucio 2015-09-02 14:37 ` Alexander Kapshuk 2015-09-03 9:16 ` Mathieu Lonjaret 0 siblings, 2 replies; 14+ messages in thread From: lucio @ 2015-09-02 14:01 UTC (permalink / raw) To: 9fans > Also there was a discussion on 9fans about it with other > suggestions/solutions. :-/RE<B3> is what I remember Russ recommending, It's not perfect, but it does help. Lucio. ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] acme search backwards 2015-09-02 14:01 ` lucio @ 2015-09-02 14:37 ` Alexander Kapshuk 2015-09-02 15:01 ` Rudolf Sykora 2015-09-03 9:16 ` Mathieu Lonjaret 1 sibling, 1 reply; 14+ messages in thread From: Alexander Kapshuk @ 2015-09-02 14:37 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs On Wed, Sep 2, 2015 at 5:01 PM, <lucio@proxima.alt.za> wrote: >> Also there was a discussion on 9fans about it with other >> suggestions/solutions. > > :-/RE<B3> > > 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. <<< ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] acme search backwards 2015-09-02 14:37 ` Alexander Kapshuk @ 2015-09-02 15:01 ` Rudolf Sykora 2015-09-02 15:27 ` lucio 0 siblings, 1 reply; 14+ messages in thread From: Rudolf Sykora @ 2015-09-02 15:01 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs On 2 September 2015 at 16:37, Alexander Kapshuk <alexander.kapshuk@gmail.com> wrote: > On Wed, Sep 2, 2015 at 5:01 PM, <lucio@proxima.alt.za> wrote: >>> Also there was a discussion on 9fans about it with other >>> suggestions/solutions. >> >> :-/RE<B3> >> >> 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 ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] acme search backwards 2015-09-02 15:01 ` Rudolf Sykora @ 2015-09-02 15:27 ` lucio 0 siblings, 0 replies; 14+ messages in thread From: lucio @ 2015-09-02 15:27 UTC (permalink / raw) To: 9fans > 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. ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] acme search backwards 2015-09-02 14:01 ` lucio 2015-09-02 14:37 ` Alexander Kapshuk @ 2015-09-03 9:16 ` Mathieu Lonjaret 2015-09-03 9:38 ` Rudolf Sykora 1 sibling, 1 reply; 14+ messages in thread From: Mathieu Lonjaret @ 2015-09-03 9:16 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs [-- Attachment #1: Type: text/plain, Size: 447 bytes --] 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, <lucio@proxima.alt.za> wrote: > > Also there was a discussion on 9fans about it with other > > suggestions/solutions. > > :-/RE<B3> > > is what I remember Russ recommending, It's not perfect, but it does help. > > Lucio. > > > [-- Attachment #2: Type: text/html, Size: 951 bytes --] ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] acme search backwards 2015-09-03 9:16 ` Mathieu Lonjaret @ 2015-09-03 9:38 ` Rudolf Sykora 2015-09-03 13:11 ` erik quanstrom 0 siblings, 1 reply; 14+ messages in thread From: Rudolf Sykora @ 2015-09-03 9:38 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs 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 ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] acme search backwards 2015-09-03 9:38 ` Rudolf Sykora @ 2015-09-03 13:11 ` erik quanstrom 2015-09-03 13:34 ` Aram Hăvărneanu 0 siblings, 1 reply; 14+ messages in thread From: erik quanstrom @ 2015-09-03 13:11 UTC (permalink / raw) To: 9fans 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 ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] acme search backwards 2015-09-03 13:11 ` erik quanstrom @ 2015-09-03 13:34 ` Aram Hăvărneanu 2015-09-03 14:14 ` erik quanstrom 0 siblings, 1 reply; 14+ messages in thread From: Aram Hăvărneanu @ 2015-09-03 13:34 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs On Thu, Sep 3, 2015 at 3:11 PM, erik quanstrom <quanstro@quanstro.net> wrote: > 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/kbdfs -- Aram Hăvărneanu ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] acme search backwards 2015-09-03 13:34 ` Aram Hăvărneanu @ 2015-09-03 14:14 ` erik quanstrom 2015-09-03 14:27 ` Stanley Lieber ` (2 more replies) 0 siblings, 3 replies; 14+ messages in thread From: erik quanstrom @ 2015-09-03 14:14 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs 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. - erik On Sep 3, 2015 6:34 AM, Aram Hăvărneanu <aram.h@mgk.ro> wrote: > > On Thu, Sep 3, 2015 at 3:11 PM, erik quanstrom <quanstro@quanstro.net> wrote: > > 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/kbdfs > > -- > Aram Hăvărneanu > > ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] acme search backwards 2015-09-03 14:14 ` erik quanstrom @ 2015-09-03 14:27 ` Stanley Lieber 2015-09-03 14:30 ` Kurt H Maier 2015-09-03 14:42 ` Rudolf Sykora 2 siblings, 0 replies; 14+ messages in thread From: Stanley Lieber @ 2015-09-03 14:27 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs [-- Attachment #1: Type: text/plain, Size: 779 bytes --] > 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 <quanstro@quanstro.net> 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. > >- erik > > >On Sep 3, 2015 6:34 AM, Aram Hăvărneanu <aram.h@mgk.ro> wrote: >> >> On Thu, Sep 3, 2015 at 3:11 PM, erik quanstrom ><quanstro@quanstro.net> wrote: >> > 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/kbdfs >> >> -- >> Aram Hăvărneanu >> >> [-- Attachment #2: Type: text/html, Size: 180 bytes --] ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] acme search backwards 2015-09-03 14:14 ` erik quanstrom 2015-09-03 14:27 ` Stanley Lieber @ 2015-09-03 14:30 ` Kurt H Maier 2015-09-03 14:42 ` Rudolf Sykora 2 siblings, 0 replies; 14+ messages in thread From: Kurt H Maier @ 2015-09-03 14:30 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs 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 ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [9fans] acme search backwards 2015-09-03 14:14 ` erik quanstrom 2015-09-03 14:27 ` Stanley Lieber 2015-09-03 14:30 ` Kurt H Maier @ 2015-09-03 14:42 ` Rudolf Sykora 2 siblings, 0 replies; 14+ messages in thread From: Rudolf Sykora @ 2015-09-03 14:42 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs On 3 September 2015 at 16:14, erik quanstrom <quanstro@quanstro.net> 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 ^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2015-09-03 14:42 UTC | newest] Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2015-09-02 6:08 [9fans] acme search backwards Rudolf Sykora 2015-09-02 13:14 ` Mathieu Lonjaret 2015-09-02 14:01 ` lucio 2015-09-02 14:37 ` Alexander Kapshuk 2015-09-02 15:01 ` Rudolf Sykora 2015-09-02 15:27 ` lucio 2015-09-03 9:16 ` Mathieu Lonjaret 2015-09-03 9:38 ` Rudolf Sykora 2015-09-03 13:11 ` erik quanstrom 2015-09-03 13:34 ` Aram Hăvărneanu 2015-09-03 14:14 ` erik quanstrom 2015-09-03 14:27 ` Stanley Lieber 2015-09-03 14:30 ` Kurt H Maier 2015-09-03 14:42 ` Rudolf Sykora
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).