gui and tui: communication