Q: killing processes in acme-sac

101 views
Skip to first unread message

base2design

unread,
Jan 24, 2011, 1:17:50 PM1/24/11
to acme...@googlegroups.com
Hello all!

I'm using acme-sac on both Win7 and OSX and I don't seem to be able to kill runaway processes via "kill".

In addition, I see no way to send a "DELETE" character on OSX to kill a process started from a "win" session.

Is this supposed to work or is this a limitation in acme-sac? I did a basic seach of the issues here and didn't see anything that matched my specific observation.

Help!

-joe

Caerwyn Jones

unread,
Jan 24, 2011, 10:33:52 PM1/24/11
to acme...@googlegroups.com
inferno-os kill(1) should be included and should work. If not try
'echo kill > /prog/n/ctl where n is you pid.

DELETE won't kill tasks in win (or in wm/sh in inferno-os). The only
way to stop the task is by running kill from another win. This is
intentional because there are no signals in inferno.

there is no task manager in acme-sac; though adeb might be a good
place to start to build one.

caerwyn

Joseph Stewart

unread,
Jan 25, 2011, 7:05:20 AM1/25/11
to acme...@googlegroups.com
caerwyn,

On the MacOS version of acme-sac (AcmeSAC-0.31.dmg), It seems "kill" is a shell function instead of kill.dis.

This function seems broken in a way that I don't quite understand yet (here's the shell output when I run it):

% kill loop
echo kill > /prog/97/ctl #    86 stewarj    0:00.0 release    73K loop[$Sys]

After I rub the sleep out of my eyes, I'll take another look and see if the intention of the function makes more sense.

BR,
-joe

Mechiel Lukkien

unread,
Jan 25, 2011, 7:17:55 AM1/25/11
to acme...@googlegroups.com
On Tue, Jan 25, 2011 at 07:05:20AM -0500, Joseph Stewart wrote:
> This function seems broken in a way that I don't quite understand yet
> (here's the shell output when I run it):
>
> % kill loop
> echo kill > /prog/97/ctl # 86 stewarj 0:00.0 release 73K loop[$Sys]
>
> After I rub the sleep out of my eyes, I'll take another look and see if the
> intention of the function makes more sense.

it probably prints commands to kill the processes. you can pipe the
output to sh, or copy-paste them (or a selection) in a sh.

Caerwyn Jones

unread,
Jan 25, 2011, 7:29:21 AM1/25/11
to acme...@googlegroups.com
Right, it was meant to emulate the plan9 kill. But I replaced it in
the repo with the original inferno kill. You'll need to pull the
latest.

Caerwyn Jones

unread,
Jan 25, 2011, 7:32:03 AM1/25/11
to acme...@googlegroups.com

Joseph Stewart

unread,
Jan 25, 2011, 8:36:02 AM1/25/11
to acme...@googlegroups.com
Ah, got it. I haven't tried acme-sac from hg yet... going off to do that now.

Thanks!

On Tue, Jan 25, 2011 at 7:29 AM, Caerwyn Jones <caer...@gmail.com> wrote:
Reply all
Reply to author
Forward
0 new messages