readline: do not use && || conditionals in do_funcs; breaks trap ERR.