make *repl-mode* configurable option