initial ed and lastn commands