Hello,

trying to use acmeedit I got from sb here I encountered this in
$PLAN9/lib/acme.rc file:
fn newwindow {
        winctl=`{9p read acme/new/ctl}
        winid=$winctl(1)
        winctl noscroll
}

fn winctl {     
        echo $* | 9p write acme/$winid/ctl
}
... many more lines

I believe the newwindow funcion is wrong. After its 1st line winctl is
a *variable* with many fields. And I try to call it on the 3rd line.
I'd expect sth. like
fn newwindow {
        winc=`{9p read acme/new/ctl}
        winid=$winc(1)
        winctl noscroll
}
was meant. Is it so?

Thank you!
Ruda

Reply via email to