9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Use acme.rc with acme (p9p)
@ 2013-04-03 10:39 dglmoore
  2013-04-03 10:52 ` Rubén Berenguel
  2013-04-03 20:06 ` Sergio Perticone
  0 siblings, 2 replies; 4+ messages in thread
From: dglmoore @ 2013-04-03 10:39 UTC (permalink / raw)
  To: 9fans

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.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] Use acme.rc with acme (p9p)
  2013-04-03 10:39 [9fans] Use acme.rc with acme (p9p) dglmoore
@ 2013-04-03 10:52 ` Rubén Berenguel
  2013-04-03 20:06 ` Sergio Perticone
  1 sibling, 0 replies; 4+ messages in thread
From: Rubén Berenguel @ 2013-04-03 10:52 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 740 bytes --]

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, <dglmoore@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 them each
> as a separate command in my PATH which I don't care for.
>
> Thanks.
>
>

[-- Attachment #2: Type: text/html, Size: 1152 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] Use acme.rc with acme (p9p)
  2013-04-03 10:39 [9fans] Use acme.rc with acme (p9p) dglmoore
  2013-04-03 10:52 ` Rubén Berenguel
@ 2013-04-03 20:06 ` Sergio Perticone
  2013-04-03 21:37   ` Mathieu Lonjaret
  1 sibling, 1 reply; 4+ messages in thread
From: Sergio Perticone @ 2013-04-03 20:06 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 438 bytes --]

On Wed, Apr 3, 2013 at 12:39 PM, <dglmoore@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.
>

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.
>
>

[-- Attachment #2: Type: text/html, Size: 974 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] Use acme.rc with acme (p9p)
  2013-04-03 20:06 ` Sergio Perticone
@ 2013-04-03 21:37   ` Mathieu Lonjaret
  0 siblings, 0 replies; 4+ messages in thread
From: Mathieu Lonjaret @ 2013-04-03 21:37 UTC (permalink / raw)
  To: sergio, Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 792 bytes --]

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 <g4ll0ws@gmail.com> wrote:

> On Wed, Apr 3, 2013 at 12:39 PM, <dglmoore@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.
>>
>
> 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.
>>
>>
>

[-- Attachment #2: Type: text/html, Size: 1542 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-04-03 21:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-03 10:39 [9fans] Use acme.rc with acme (p9p) dglmoore
2013-04-03 10:52 ` Rubén Berenguel
2013-04-03 20:06 ` Sergio Perticone
2013-04-03 21:37   ` Mathieu Lonjaret

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).