How to 'fix' the SML/NJ interactive system to use Arrow Keys

后端 未结 2 1637
难免孤独
难免孤独 2020-12-28 16:47

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

相关标签:
2条回答
  • 2020-12-28 17:30

    Another option is rlwrap.

    rlwrap sml
    
    0 讨论(0)
  • 2020-12-28 17:37

    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).

    0 讨论(0)
提交回复
热议问题