the address is lost as soon as the ctl file is closed (personally, i think this is not ideal behaviour). under p9p i use the attached code to retrieve the current value of acme's dot for a particular window. i couldn't figure out a way to do it reliably in a shell script.