[erlang-questions] user_drv with rlwrap?

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


hi,

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,

http://www.nabble.com/Patch-for-user_drv.erl-td19164346.html

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

Thanks!
Howard


-- 
blog: www.metacircus.com



More information about the erlang-questions mailing list