moved hterm selection to new file