* [9fans] [p9p] restart program on Acme Load
@ 2014-01-10 10:06 dexen deVries
2014-01-10 10:38 ` Rubén Berenguel
2014-01-10 14:03 ` Alexander Sychev
0 siblings, 2 replies; 6+ messages in thread
From: dexen deVries @ 2014-01-10 10:06 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
hi list,
this is plan 9 port Acme question: how do i make Acme restart application upon
Load? the only thing i care about is the correct working directory.
i'm running `git gui' from Acme; the tag indicates it with `git' word. upon
Dump, restart Acme, Load, the `git' word is recreated in tag, but the program
is not started.
--
dexen deVries
[[[↓][→]]]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [9fans] [p9p] restart program on Acme Load
2014-01-10 10:06 [9fans] [p9p] restart program on Acme Load dexen deVries
@ 2014-01-10 10:38 ` Rubén Berenguel
2014-01-10 17:02 ` sl
2014-01-10 14:03 ` Alexander Sychev
1 sibling, 1 reply; 6+ messages in thread
From: Rubén Berenguel @ 2014-01-10 10:38 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
[-- Attachment #1: Type: text/plain, Size: 793 bytes --]
I've been using Acme from p9p to interact with gnu-apl (sadly it has some
quirks that make it kind of unusable...) and I am also interested in
hearing of a way to do it (it was a mild pain to have to write ./apl
--emacs each time I opened and closed acme or gnu-apl crashed.
Ruben
On Fri, Jan 10, 2014 at 11:06 AM, dexen deVries <dexen.devries@gmail.com>wrote:
> hi list,
>
>
> this is plan 9 port Acme question: how do i make Acme restart application
> upon
> Load? the only thing i care about is the correct working directory.
>
>
> i'm running `git gui' from Acme; the tag indicates it with `git' word. upon
> Dump, restart Acme, Load, the `git' word is recreated in tag, but the
> program
> is not started.
>
> --
> dexen deVries
>
> [[[↓][→]]]
>
>
>
[-- Attachment #2: Type: text/html, Size: 1227 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [9fans] [p9p] restart program on Acme Load
2014-01-10 10:06 [9fans] [p9p] restart program on Acme Load dexen deVries
2014-01-10 10:38 ` Rubén Berenguel
@ 2014-01-10 14:03 ` Alexander Sychev
2014-01-10 14:36 ` dexen deVries
1 sibling, 1 reply; 6+ messages in thread
From: Alexander Sychev @ 2014-01-10 14:03 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
[-- Attachment #1: Type: text/plain, Size: 1294 bytes --]
Hi!
It seems dump file doesn't have application-specific info - it has to start
with 'e' symbol.
I have manually edited my acme.dump :
<-------------------------------------------------------------------->
/home/santucco
/usr/local/plan9/font/fixed/anon/anon.14.font
/lib/font/bit/lucm/unicode.9.font
0.0000000 67.8832117
w Newcol Kill Putall Dump Exit
e 0 0 0 0 0
0 0 0 0 0 Amail
/home/santucco/
amail
<-------------------------------------------------------------------->
And Load command runs amail.
But Dump command doesn't save the info back to acme.dump
Maybe this is a bug in rowdump function?
Best regards,
santucco
On Fri, Jan 10, 2014 at 1:06 PM, dexen deVries <dexen.devries@gmail.com>wrote:
> hi list,
>
>
> this is plan 9 port Acme question: how do i make Acme restart application
> upon
> Load? the only thing i care about is the correct working directory.
>
>
> i'm running `git gui' from Acme; the tag indicates it with `git' word. upon
> Dump, restart Acme, Load, the `git' word is recreated in tag, but the
> program
> is not started.
>
> --
> dexen deVries
>
> [[[↓][→]]]
>
>
>
--
Best regards,
santucco
[-- Attachment #2: Type: text/html, Size: 2064 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [9fans] [p9p] restart program on Acme Load
2014-01-10 14:03 ` Alexander Sychev
@ 2014-01-10 14:36 ` dexen deVries
2014-01-10 15:10 ` Alexander Sychev
0 siblings, 1 reply; 6+ messages in thread
From: dexen deVries @ 2014-01-10 14:36 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
On Friday 10 of January 2014 17:03:07 Alexander Sychev wrote:
> But Dump command doesn't save the info back to acme.dump
>
>
> Maybe this is a bug in rowdump function?
found `dump' in acme(4)
echo 'dump git gui' | 9p write acme/$winid/ctl
and then Dump
got me close -- but the `git gui' was started in wrong dir -- in Acme's
getwd() rather than window's directory.
--
dexen deVries
[[[↓][→]]]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [9fans] [p9p] restart program on Acme Load
2014-01-10 14:36 ` dexen deVries
@ 2014-01-10 15:10 ` Alexander Sychev
0 siblings, 0 replies; 6+ messages in thread
From: Alexander Sychev @ 2014-01-10 15:10 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
[-- Attachment #1: Type: text/plain, Size: 833 bytes --]
Maybe it makes a sence to set the directory via 'dumpdir'?
Really, it seems this is only way to set command to be executed - according
to the sources, 'e' is dumped if Window::dumpstr is filled, and
Window::dumpstr is filled by 'dump' command.
On Fri, Jan 10, 2014 at 5:36 PM, dexen deVries <dexen.devries@gmail.com>wrote:
> On Friday 10 of January 2014 17:03:07 Alexander Sychev wrote:
> > But Dump command doesn't save the info back to acme.dump
> >
> >
> > Maybe this is a bug in rowdump function?
>
>
> found `dump' in acme(4)
>
> echo 'dump git gui' | 9p write acme/$winid/ctl
> and then Dump
> got me close -- but the `git gui' was started in wrong dir -- in Acme's
> getwd() rather than window's directory.
>
>
> --
> dexen deVries
>
> [[[↓][→]]]
>
>
>
--
Best regards,
santucco
[-- Attachment #2: Type: text/html, Size: 1315 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-01-10 17:02 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-10 10:06 [9fans] [p9p] restart program on Acme Load dexen deVries
2014-01-10 10:38 ` Rubén Berenguel
2014-01-10 17:02 ` sl
2014-01-10 14:03 ` Alexander Sychev
2014-01-10 14:36 ` dexen deVries
2014-01-10 15:10 ` Alexander Sychev
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).