Make a protocol for the Shell to communicate with the Terminal.