core functions of rbcurse (successor to rbcurse)