split input table generation based on terminal type