added terminal stuff, added set copyindent