Try adding a putenv() to ActionExecCommand() in action.c to set the name of the PCB's file. Then you can SaveAs(Layout) ExecCommand(vi $PCBFILE) LoadFrom(Revert) (assuming $PCBFILE gets expanded correctly) _______________________________________________ geda-user mailing list geda-user@xxxxxxxxxxxxxx http://www.seul.org/cgi-bin/mailman/listinfo/geda-user