edit terminal