Fix rts_input() which is the only procedure which calls raw_input(). As