tui: automatic config to TUI, step 1