I\'m having some trouble using SML/NJ interactive system, namely, that when I try to use my arrow keys (either left or right to make a correction in the expression I\'ve typ
Another option is rlwrap.
rlwrap sml
Try this. You can use socat to add readline support to many things:
socat READLINE EXEC:sml
I just realized you're on OS X. socat does seem to be available for OS X, although I have not tested it (this does work on Linux).