For every process, if it is controlled by the specified terminal (denoted by “tp”), hit it with “psignal”.