* [9fans] the `Look' command in Acme @ 2012-05-17 8:55 dexen deVries 2012-05-17 9:12 ` Lucio De Re 2012-05-17 15:54 ` Tristan 0 siblings, 2 replies; 8+ messages in thread From: dexen deVries @ 2012-05-17 8:55 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs i've removed the `Look' command from Acme's tag, as i found no use for it. anything i'm missing? -- dexen deVries [[[↓][→]]] Weightless and alone you speed through the eerie nothingness of space you circle 'round the Moon and journey back to face the punishing torment of re-entry -- LUNA-C, ``Supaset8 (full release)'', #24m52s ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [9fans] the `Look' command in Acme 2012-05-17 8:55 [9fans] the `Look' command in Acme dexen deVries @ 2012-05-17 9:12 ` Lucio De Re 2012-05-17 9:12 ` hugo rivera 2012-05-17 15:54 ` Tristan 1 sibling, 1 reply; 8+ messages in thread From: Lucio De Re @ 2012-05-17 9:12 UTC (permalink / raw) To: 9fans > i've removed the `Look' command from Acme's tag, as i found no use for it. > anything i'm missing? It's a convenient mechanism to search for patterns that may be misinterpreted. I use it a lot when the pattern I'm looking for happens to match a filename. ++L ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [9fans] the `Look' command in Acme 2012-05-17 9:12 ` Lucio De Re @ 2012-05-17 9:12 ` hugo rivera 2012-05-17 9:23 ` Peter A. Cejchan 0 siblings, 1 reply; 8+ messages in thread From: hugo rivera @ 2012-05-17 9:12 UTC (permalink / raw) To: lucio, Fans of the OS Plan 9 from Bell Labs True, but I think he refers to remove it from the tag only, since every time you have to use a Look command you have to retype it followed by the pattern. 2012/5/17 Lucio De Re <lucio@proxima.alt.za>: >> i've removed the `Look' command from Acme's tag, as i found no use for it. >> anything i'm missing? > > It's a convenient mechanism to search for patterns that may be > misinterpreted. I use it a lot when the pattern I'm looking for > happens to match a filename. > > ++L > > -- Hugo ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [9fans] the `Look' command in Acme 2012-05-17 9:12 ` hugo rivera @ 2012-05-17 9:23 ` Peter A. Cejchan 2012-05-17 9:43 ` dexen deVries 0 siblings, 1 reply; 8+ messages in thread From: Peter A. Cejchan @ 2012-05-17 9:23 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs [-- Attachment #1: Type: text/plain, Size: 383 bytes --] i was always missing a 'command window' where can i see the file with my customized commands (for the task i'm working on), w/o restarting acme. see my ancient postings about an idea how to replace (mostly redundant) taglines with a command window. (yes, i can open my guide file in a window and snarf/paste to a tagline; however, it's at least, unelegant...) cheers, ++pac [-- Attachment #2: Type: text/html, Size: 411 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [9fans] the `Look' command in Acme 2012-05-17 9:23 ` Peter A. Cejchan @ 2012-05-17 9:43 ` dexen deVries 0 siblings, 0 replies; 8+ messages in thread From: dexen deVries @ 2012-05-17 9:43 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs [-- Attachment #1: Type: text/plain, Size: 610 bytes --] On Thursday 17 of May 2012 11:23:47 Peter A. Cejchan wrote: > i was always missing a 'command window' where can i see the file with my > customized commands (for the task i'm working on), w/o restarting acme. see > my ancient postings about an idea how to replace (mostly redundant) > taglines with a command window. (yes, i can open my guide file in a window > and snarf/paste to a tagline; however, it's at least, unelegant...) probably the Dump/Load (or the -l <dumfile> argument) would do the trick for you. anyway, hacking Acme's C sources to adjust content of tag line is easy enough. -- dx [-- Attachment #2: 0001-do-not-put-Look-in-Acme-s-window.patch --] [-- Type: text/x-patch, Size: 1092 bytes --] >From 09daae41cbf3c64d3b9bbb33f59c7c1e515e789f Mon Sep 17 00:00:00 2001 From: dexen deVries <devnull@localhost> Date: Tue, 25 Jan 2011 12:04:54 +0100 Subject: [PATCH 1/2] do not put `Look' in Acme's window X-Face: 1TH%]0KlR_DQ/V9+m_"neC|Yj3$MU@B/vVI\}^j`G/[9JKe=5`p[$l|z^\MRO%<k:9xXL[_!jEZo8$[]yo{7O-]t_@Qj`v5H@L[YyU<#j7(H)P\{pMs))9$@Vww1"ni-{+{5olk=XY&G,}|UHQMC08506\0=+p|75ucH!S!1UcXoC1vgpN_{lOMt_54_N5;)ngh6=D^uZN,}ZI9-k9"v<!}`jpCUMM,//`>H6w{K<geM^bS]jwD8'lAEX9>F[ScIHig1.r%65; --- src/cmd/acme/wind.c | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/cmd/acme/wind.c b/src/cmd/acme/wind.c index bfe4bec..b68f66f 100644 --- a/src/cmd/acme/wind.c +++ b/src/cmd/acme/wind.c @@ -468,8 +468,15 @@ winsettag1(Window *w) else{ k = w->tag.file->b.nc; if(w->body.file->seq == 0){ - runemove(new+i, Llook, 6); - i += 6; + if (0){ + runemove(new+i, Llook, 6); + i += 6; + } + else{ + static Rune foo[] = { ' ', 0 }; + runemove(new+i, foo, 1); + i += 1; + } } } new[i] = 0; -- 1.7.5.1 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [9fans] the `Look' command in Acme 2012-05-17 8:55 [9fans] the `Look' command in Acme dexen deVries 2012-05-17 9:12 ` Lucio De Re @ 2012-05-17 15:54 ` Tristan 2012-05-18 6:12 ` Peter A. Cejchan 1 sibling, 1 reply; 8+ messages in thread From: Tristan @ 2012-05-17 15:54 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs > i've removed the `Look' command from Acme's tag, as i found no use for it. > anything i'm missing? looking for text from one window in another window: select text in the first window 2-1 chord on Look in the second window's tag line i don't use it as much as some things, but i do use it. tristan -- All original matter is hereby placed immediately under the public domain. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [9fans] the `Look' command in Acme 2012-05-17 15:54 ` Tristan @ 2012-05-18 6:12 ` Peter A. Cejchan 2012-05-18 12:21 ` Yaroslav 0 siblings, 1 reply; 8+ messages in thread From: Peter A. Cejchan @ 2012-05-18 6:12 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs [-- Attachment #1: Type: text/plain, Size: 183 bytes --] > select text in the first window > > 2-1 chord on Look in the second window's tag line > > how about running a command from another window, w/o copying to the tagline? ++pac [-- Attachment #2: Type: text/html, Size: 355 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [9fans] the `Look' command in Acme 2012-05-18 6:12 ` Peter A. Cejchan @ 2012-05-18 12:21 ` Yaroslav 0 siblings, 0 replies; 8+ messages in thread From: Yaroslav @ 2012-05-18 12:21 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs 2012/5/18 Peter A. Cejchan <tyapca7@gmail.com>: >> select text in the first window >> >> > 2-1 chord on Look in the second window's tag line >> > > how about running a command from another window, w/o copying to the tagline? This is it: you don't copy to the tagline but just pass last selection as an argument. ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2012-05-18 12:21 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2012-05-17 8:55 [9fans] the `Look' command in Acme dexen deVries 2012-05-17 9:12 ` Lucio De Re 2012-05-17 9:12 ` hugo rivera 2012-05-17 9:23 ` Peter A. Cejchan 2012-05-17 9:43 ` dexen deVries 2012-05-17 15:54 ` Tristan 2012-05-18 6:12 ` Peter A. Cejchan 2012-05-18 12:21 ` Yaroslav
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).