terminaldict and setup