synchronous terminal and run function of trigger control

terminal function runs stable and allows resetting the dig ports