From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <002e01c2e2e4$f1f807a0$2a8be793@gli.cas.cz> From: "peter a. cejchan" To: <9fans@cse.psu.edu> Cc: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_002B_01C2E2ED.539C6480" Subject: [9fans] Re: hack for acme Date: Wed, 5 Mar 2003 08:00:45 +0100 Topicbox-Message-UUID: 7979b650-eacb-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. ------=_NextPart_000_002B_01C2E2ED.539C6480 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable I have some other (newer?) version of acme.c, so I guessed the lines to = correct/add. However, after 3-1 on a dir, acme died with the following: acme: text.load couldn't find destination for message acme 1233: suicide: sys: trap: fault read addr =3D.... I would be grateful for a whole acme tarball. The idea sounds great -- I = don't feel I need 3-1 just for no-op thanks, ++pac ------=_NextPart_000_002B_01C2E2ED.539C6480 Content-Type: text/html; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable
I have some other (newer?) version of acme.c, so = I guessed=20 the lines to correct/add. However, after 3-1 on a dir, acme died with = the=20 following:
 
acme: text.load couldn't find destination for=20 message
acme 1233: suicide: sys: trap: fault read addr = =3D....
 
I would be grateful for a whole acme tarball. = The idea=20 sounds great -- I don't feel I need 3-1 just for no-op

thanks,
++pac
 
------=_NextPart_000_002B_01C2E2ED.539C6480-- From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <0419571d402c4a169238ff68be37c8bf@plan9.escet.urjc.es> To: 9fans@cse.psu.edu From: paurea@plan9.escet.urjc.es In-Reply-To: <002e01c2e2e4$f1f807a0$2a8be793@gli.cas.cz> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: [9fans] Re: hack for acme Date: Wed, 5 Mar 2003 13:04:08 +0100 Topicbox-Message-UUID: 79385c5a-eacb-11e9-9e20-41e7f4b1d025 There was a bug in the diff I sent to the list. Sorry for that. Here is a (hopely bugless) one. diff /n/dump/2003/0227/sys/src/cmd/acme/acme.c acme/acme.c 424c424 < uint q0, q1; --- > uint q0, q1, keepw; 431a432 > 540,541c541,544 < if(textselect3(t, &q0, &q1)) < look3(t, q0, q1, FALSE); --- > if(keepw=textselect3(t, &q0, &q1)){ > keepw=(keepw==4); // is it chord 31? > look3(t, q0, q1, FALSE, keepw); > } diff /n/dump/2003/0227/sys/src/cmd/acme/exec.c acme/exec.c 128a129 > 202a204 > 203a206 > return; diff /n/dump/2003/0227/sys/src/cmd/acme/fns.h acme/fns.h 59c59 < void look3(Text*, uint, uint, int); --- > void look3(Text*, uint, uint, int, uint); diff /n/dump/2003/0227/sys/src/cmd/acme/look.c acme/look.c 15c15 < Window* openfile(Text*, Expand*); --- > Window* openfile(Text*, Expand*, uint keepw); 20c20 < look3(Text *t, uint q0, uint q1, int external) --- > look3(Text *t, uint q0, uint q1, int external, uint keepw) 31a32 > 136c137 < openfile(t, &e); --- > openfile(t, &e, keepw); 170a172,175 > > > > 196c201 < openfile(nil, &e); --- > openfile(nil, &e, FALSE); 671c676 < openfile(Text *t, Expand *e) --- > openfile(Text *t, Expand *e, uint keepw) 677a683 > Rectangle rect; 693c699,707 < w = makenewwindow(t); --- > if(keepw){ > w=t->w; > if(w == nil) > return nil; > } > else{ > w = makenewwindow(t); > } > 695c709,713 < winsetname(w, e->name, e->nname); --- > > winsetname(w, e->name, e->nname); > if(keepw&&t->w->isdir){ > t->file->nc=0; > } 696a715,722 > > if(keepw&&t->w->isdir){ > rect=t->all; > rect.min.x += Scrollwid+Scrollgap+Margin+Border; > textredraw(t,rect,t->reffont->f,screen,-1); > rowresize(&row, screen->clipr); > flushimage(display, 1); > } 763c789 < openfile(et, &e); --- > openfile(et, &e, FALSE); diff /n/dump/2003/0227/sys/src/cmd/acme/text.c acme/text.c 13a14,15 > > 189a192 > 191a195 > 1047,1048c1051,1057 < h = (textselect23(t, q0, q1, but3col, 1|2) == 0); < return h; --- > h = textselect23(t, q0, q1, but3col, 2); > if(h & 4) > return 4; // chord31 > if(h==0) > return 1; > else > return 0; diff /n/dump/2003/0227/sys/src/cmd/acme/xfid.c acme/xfid.c 809c809 < look3(t, q0, q1, TRUE); --- > look3(t, q0, q1, TRUE, FALSE); From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu Subject: Re: [9fans] Re: hack for acme From: Fco.J.Ballesteros In-Reply-To: <002e01c2e2e4$f1f807a0$2a8be793@gli.cas.cz> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-qxzgbeyamkyimxauvlcvuqqtbc" Date: Wed, 5 Mar 2003 20:25:10 +0100 Topicbox-Message-UUID: 7aa04670-eacb-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-qxzgbeyamkyimxauvlcvuqqtbc Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit I've just done a diff wrt sources. The files in acme that are different wrt /n/sources/plan9/sys/src/cmd/acme can be found at /n/sources/nemo/sys/src/cmd/acme. A pull from the replica found there should retrieve those files. hth PS: I'd suggest you either pull or copy the plan9 acme files first. --upas-qxzgbeyamkyimxauvlcvuqqtbc Content-Type: message/rfc822 Content-Disposition: inline Received: from mail.cse.psu.edu ([130.203.4.6]) by aquamar; Wed Mar 5 18:19:52 MET 2003 Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.30.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 4B06E19A97; Wed, 5 Mar 2003 12:19:16 -0500 (EST) Delivered-To: 9fans@cse.psu.edu Received: from XMAIL.asuch.cas.cz (clusterb.asuch.cas.cz [147.231.136.17]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 56B71199B6 for <9fans@cse.psu.edu>; Wed, 5 Mar 2003 02:00:46 -0500 (EST) Received: from picture ([147.231.139.42]) by XMAIL.asuch.cas.cz over TLS secured channel with Microsoft SMTPSVC(5.0.2195.5329); Wed, 5 Mar 2003 08:00:45 +0100 Message-ID: <002e01c2e2e4$f1f807a0$2a8be793@gli.cas.cz> From: "peter a. cejchan" To: <9fans@cse.psu.edu> Cc: Organization: paleobiology & paleoecology lab MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_002B_01C2E2ED.539C6480" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-OriginalArrivalTime: 05 Mar 2003 07:00:45.0983 (UTC) FILETIME=[F1F8CAF0:01C2E2E4] Subject: [9fans] Re: hack for acme Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.11 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Wed, 5 Mar 2003 08:00:45 +0100 This is a multi-part message in MIME format. ------=_NextPart_000_002B_01C2E2ED.539C6480 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable I have some other (newer?) version of acme.c, so I guessed the lines to = correct/add. However, after 3-1 on a dir, acme died with the following: acme: text.load couldn't find destination for message acme 1233: suicide: sys: trap: fault read addr =3D.... I would be grateful for a whole acme tarball. The idea sounds great -- I = don't feel I need 3-1 just for no-op thanks, ++pac ------=_NextPart_000_002B_01C2E2ED.539C6480 Content-Type: text/html; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable
I have some other (newer?) version of acme.c, so = I guessed=20 the lines to correct/add. However, after 3-1 on a dir, acme died with = the=20 following:
 
acme: text.load couldn't find destination for=20 message
acme 1233: suicide: sys: trap: fault read addr = =3D....
 
I would be grateful for a whole acme tarball. = The idea=20 sounds great -- I don't feel I need 3-1 just for no-op

thanks,
++pac
 
------=_NextPart_000_002B_01C2E2ED.539C6480-- --upas-qxzgbeyamkyimxauvlcvuqqtbc-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sam To: <9fans@cse.psu.edu> Subject: Re: [9fans] Re: hack for acme In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Wed, 5 Mar 2003 22:51:37 -0500 Topicbox-Message-UUID: 7af18968-eacb-11e9-9e20-41e7f4b1d025 I've just tried this and I must say it's rather addictive. I instantly want my state maintained for the ability to go back up a directory :-/, though. Maybe with a mouse gesture. Speaking of tangent thoughts, has anyone given serious mindshare to how to integrate mouse gestures into rio? I have to note for humour's sake that the name for this on my system is hacme which cracks me up every time I type it. Cheers, Sam From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <75a765b9116426bfa0fd4cef32813662@plan9.escet.urjc.es> To: 9fans@cse.psu.edu Subject: Re: [9fans] Re: hack for acme From: paurea@plan9.escet.urjc.es In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Thu, 6 Mar 2003 11:08:59 +0100 Topicbox-Message-UUID: 7b2f9668-eacb-11e9-9e20-41e7f4b1d025 > Speaking of tangent thoughts, has > anyone given serious mindshare to how > to integrate mouse gestures into rio? I thought about it sometime ago, but haven't done anything about it yet. My first choice would be to use the graffiti keyboard somehow to read the mouse position when a button is pressed (my choice would be button 1 and a function key) and feed chars to a program which feeds orders for rio. If I have some time in the future I may do it. Gorka From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu Subject: Re: [9fans] Re: hack for acme From: paurea@plan9.escet.urjc.es In-Reply-To: <75a765b9116426bfa0fd4cef32813662@plan9.escet.urjc.es> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Thu, 6 Mar 2003 11:22:33 +0100 Topicbox-Message-UUID: 7b4461e2-eacb-11e9-9e20-41e7f4b1d025 > yet. My first choice would be to use the graffiti keyboard somehow to I mean scribble(2). Gorka