[erlang-questions] user_drv with rlwrap?

Howard Yeh hayeah@REDACTED
Mon May 4 09:16:40 CEST 2009


i am trying to use rlwrap with the erlang interpreter. But apparently
rlwrap only handles readline if the terminal is attached to stdin/stdout...

The main page says,

"When  the  standard  input  is not a terminal, rlwrap will check, and
then ignore, all options and simply execute command. When stdout (or
stderr) is not a terminal, rlwrap will re-open it to /dev/tty (the
users terminal) after it has started command"

Is there a work around? I see there's a patch on user_drv that allows
switching to different shell program,


but i can't figure out how that works...


blog: www.metacircus.com

More information about the erlang-questions mailing list