ctr p and autowrite