add interactive check and inputrc check