Set up basic programming and text mode settings via text-/prog-mode