[Haskell-beginners] reading lines with history from bash terminal in OS X

Dennis Raddle dennis.raddle at gmail.com
Fri Jul 29 00:35:27 UTC 2016


Thanks. I'll install haskeline

On Thu, Jul 28, 2016 at 5:05 PM, David McBride <toad3k at gmail.com> wrote:

> You will have to use the haskeline library.  FYI that is the library that
> makes ghci work.
>
> On Thu, Jul 28, 2016 at 6:09 PM, Dennis Raddle <dennis.raddle at gmail.com>
> wrote:
>
>> I wrote a program first in Windows, where it works as expected, and now
>> I'm using it in OS X and getting undesired behavior.
>>
>> It reads lines from the terminal using the getLine function. In Windows
>> (DOS, actually) the up and down arrows can be used to choose previously
>> entered lines. However, this does not work in bash in OS X.
>>
>> What do I need to get the history available via the arrow keys?
>>
>> D
>>
>>
>> _______________________________________________
>> Beginners mailing list
>> Beginners at haskell.org
>> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>>
>>
>
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20160728/c1e71df1/attachment.html>


More information about the Beginners mailing list