[Haskell-cafe] a library for control of terminal driver modes?

Max Bolingbroke batterseapower at hotmail.com
Tue Oct 13 16:58:22 EDT 2009


Yes, ansi-terminal supports this. Try:

setSGR [SetBlinkSpeed NoBlink]

(http://hackage.haskell.org/packages/archive/ansi-terminal/0.5.0/doc/html/System-Console-ANSI.html)

Cheers,
Max

2009/10/12 Iain Barnett <iainspeed at gmail.com>:
>
> On 11 Oct 2009, at 15:30, Andrew Coppin wrote:
>
>> Iain Barnett wrote:
>>>
>>> I'm looking for a library like Perl's Term-Readkey, so that I can turn on
>>> and off the echo for secure password input from a terminal. Anyone know
>>> which library I need to use for this?
>>
>> The package ansi-terminal allows you to do various things to the terminal;
>> I think it might include turning local echo on/off. Alternatively, there was
>> an announcement recently about a text-mode UI package, which might do what
>> you want. (I don't recall the name...)
>>
>
> Thanks
>
>
> Iain
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>


More information about the Haskell-Cafe mailing list