Ever wanted to undo the ca-trace you just accepted in o.
Here is a simple way to make a undo-button that gives you the possibility to roll back as long as you want to. The o-macros I have attached to this mail uses the object 'current' and keeps backup 5 x back.

For it to work the only thing you need to do is to type '@yes' instead of 'yes' when you accept, and type @undo when you wanna go back. e.g. @undo @undo goes back 2 x

Enjoy!

--
Jesper L. Karlsen
Scientific Computing staff
Centre for Structural Biology
Department of Molecular Biology
University of Aarhus
Gustav Wieds Vej 10C
8000 Ã…rhus C

Phone: +45 8942 5257
E-mail: [EMAIL PROTECTED]

pdb-r .undo1.pdb current ;;;
zo ; obj curreall end
$ rm -f .undo.pdb
$ mv .undo1.pdb .undo.pdb
$ mv .undo2.pdb .undo1.pdb
$ mv .undo3.pdb .undo2.pdb
$ mv .undo4.pdb .undo3.pdb
$ mv .undo5.pdb .undo4.pdb
$ rm -f undo5.pdb
$ mv .undo4.pdb .undo5.pdb
$ mv .undo3.pdb .undo4.pdb
$ mv .undo2.pdb .undo3.pdb
$ mv .undo1.pdb .undo2.pdb
$ mv .undo.pdb .undo1.pdb
pdb-w .undo.pdb ;;;;;;
yes

Reply via email to