From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@9fans.net Date: Wed, 3 Apr 2013 10:39:15 +0000 From: dglmoore@gmail.com Message-ID: <542e1db3-cec0-453e-a991-ec6a3ad294b1@googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1 Subject: [9fans] Use acme.rc with acme (p9p) Topicbox-Message-UUID: 3d08561a-ead8-11e9-9d60-3106f5b1d025 I know that there should be a way to use the functions defined in acme.rc, but I cannot seem to figure out how to load it. Any help would be appreciated. Up to this point every time I've created new commands I've added them each as a separate command in my PATH which I don't care for. Thanks. From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <542e1db3-cec0-453e-a991-ec6a3ad294b1@googlegroups.com> References: <542e1db3-cec0-453e-a991-ec6a3ad294b1@googlegroups.com> From: =?ISO-8859-1?Q?Rub=E9n_Berenguel?= Date: Wed, 3 Apr 2013 12:52:21 +0200 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=047d7bdc8f5c39735904d972a764 Subject: Re: [9fans] Use acme.rc with acme (p9p) Topicbox-Message-UUID: 3d110012-ead8-11e9-9d60-3106f5b1d025 --047d7bdc8f5c39735904d972a764 Content-Type: text/plain; charset=ISO-8859-1 I run acme (in Mac OS X with zsh) as: SHELL=$PLAN9/bin/rc acme -a -f /mnt/font/Monaco/16a/font & to be able to use rc in Win. I guess this also loads all the stuff in profile.rc (I think I had tried this already a few weeks ago) and probably also acme.rc (didn't know about acme.rc, makes more sense than clobbering profile.rc!) Ruben On Wed, Apr 3, 2013 at 12:39 PM, wrote: > I know that there should be a way to use the functions defined in acme.rc, > but I cannot seem to figure out how to load it. Any help would be > appreciated. > > Up to this point every time I've created new commands I've added them each > as a separate command in my PATH which I don't care for. > > Thanks. > > --047d7bdc8f5c39735904d972a764 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I run acme (in Mac OS X with zsh) as:

S= HELL=3D$PLAN9/bin/rc acme -a -f /mnt/font/Monaco/16a/font &

to be able to use rc in Win. I guess this also load= s all the stuff in profile.rc (I think I had tried this already a few weeks= ago) and probably also acme.rc (didn't know about acme.rc, makes more = sense than clobbering profile.rc!)

Ruben


On Wed, Apr 3, 2013 at 12:39 PM, <dg= lmoore@gmail.com> wrote:
I know that there should be a way to use the= functions defined in acme.rc, but I cannot seem to figure out how to load = it. Any help would be appreciated.

Up to this point every time I've created new commands I've added th= em each as a separate command in my PATH which I don't care for.

Thanks.


--047d7bdc8f5c39735904d972a764-- From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <542e1db3-cec0-453e-a991-ec6a3ad294b1@googlegroups.com> References: <542e1db3-cec0-453e-a991-ec6a3ad294b1@googlegroups.com> From: Sergio Perticone Date: Wed, 3 Apr 2013 22:06:41 +0200 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=20cf307d03ce3fa88e04d97a66a9 Subject: Re: [9fans] Use acme.rc with acme (p9p) Topicbox-Message-UUID: 3d37bfd6-ead8-11e9-9d60-3106f5b1d025 --20cf307d03ce3fa88e04d97a66a9 Content-Type: text/plain; charset=UTF-8 On Wed, Apr 3, 2013 at 12:39 PM, wrote: > I know that there should be a way to use the functions defined in acme.rc, > but I cannot seem to figure out how to load it. Any help would be > appreciated. > dot: . $PLAN9/lib/acme.rc newwindow > > Up to this point every time I've created new commands I've added them each > as a separate command in my PATH which I don't care for. > > Thanks. > > --20cf307d03ce3fa88e04d97a66a9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Wed, Apr 3, 2013 at 12:39 PM, <dglmoore@g= mail.com> wrote:
I know that there should be a way to use the= functions defined in acme.rc, but I cannot seem to figure out how to load = it. Any help would be appreciated.

dot:

= . $PLAN9/lib/acme.rc
newwindow
=C2=A0

Up to this point every time I've created new commands I've added th= em each as a separate command in my PATH which I don't care for.

Thanks.


--20cf307d03ce3fa88e04d97a66a9-- From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: <542e1db3-cec0-453e-a991-ec6a3ad294b1@googlegroups.com> From: Mathieu Lonjaret Date: Wed, 3 Apr 2013 23:37:01 +0200 Message-ID: To: sergio@pertico.net, Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=047d7b15ad03b312bd04d97ba8e0 Subject: Re: [9fans] Use acme.rc with acme (p9p) Topicbox-Message-UUID: 3d3cc5c6-ead8-11e9-9d60-3106f5b1d025 --047d7b15ad03b312bd04d97ba8e0 Content-Type: text/plain; charset=UTF-8 if you start acme with your SHELL being $PLAN9/bin/rc, then the wins you'll open will run rc -l, which reads $HOME/lib/profile. So whatever functions you define in there will be known to your wins in acme. Not sure that answers your questions though. On 3 April 2013 22:06, Sergio Perticone wrote: > On Wed, Apr 3, 2013 at 12:39 PM, wrote: > >> I know that there should be a way to use the functions defined in >> acme.rc, but I cannot seem to figure out how to load it. Any help would be >> appreciated. >> > > dot: > > . $PLAN9/lib/acme.rc > newwindow > > >> >> Up to this point every time I've created new commands I've added them >> each as a separate command in my PATH which I don't care for. >> >> Thanks. >> >> > --047d7b15ad03b312bd04d97ba8e0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable if you start acme with your SHELL being $PLAN9/bin/rc, then the wins you= 9;ll open will run rc -l, which reads $HOME/lib/profile.
So whatever fu= nctions you define in there will be known to your wins in acme. Not sure th= at answers your questions though.

On 3 April 2013 22:06, Sergio Perticone <g4= ll0ws@gmail.com> wrote:
On Wed, Apr 3, 2013 at 12:39 PM, &= lt;dglmoore@gmail.c= om> wrote:
I know that there should be a way to use the= functions defined in acme.rc, but I cannot seem to figure out how to load = it. Any help would be appreciated.

dot:

. $PLAN9/lib= /acme.rc
newwindow
=C2=A0

Up to this point every time I've created new commands I've added th= em each as a separate command in my PATH which I don't care for.

Thanks.



--047d7b15ad03b312bd04d97ba8e0--