The echo package

[Tags:bsd3, library]

The base library exposes the hGetEcho and hSetEcho functions for querying and setting echo status, but unfortunately, neither function works with MinTTY consoles on Windows. This is a serious issue, since hGetEcho and hSetEcho are often used to disable input echoing when a program prompts for a password, so many programs will reveal your password as you type it on MinTTY!

This library provides an alternative interface which works with both MinTTY and other consoles. An example is included which demonstrates how one might prompt for a password using this library. To build it, make sure to configure with the -fexample flag.


[Skip to Readme]

Properties

Versions 0.1, 0.1.1, 0.1.2, 0.1.3
Change log CHANGELOG.md
Dependencies base (>=4.3 && <5), echo, mintty (==0.1.*), process (>=1.0.1.1 && <1.7), Win32 (==2.*) [details]
License BSD3
Copyright (C) 2016-2017 Ryan Scott
Author Ryan Scott
Maintainer Ryan Scott <ryan.gl.scott@gmail.com>
Stability Provisional
Category System
Home page https://github.com/RyanGlScott/echo
Bug tracker https://github.com/RyanGlScott/echo/issues
Source repository head: git clone https://github.com/RyanGlScott/echo
Uploaded Tue Jan 31 02:42:47 UTC 2017 by ryanglscott
Updated Wed Mar 15 15:15:05 UTC 2017 by ryanglscott to revision 1
Distributions LTSHaskell:0.1.3, NixOS:0.1.3, Stackage:0.1.3, Tumbleweed:0.1.3
Downloads 172 total (111 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2017-01-31 [all 1 reports]

Modules

[Index]

Flags

NameDescriptionDefaultType
exampleBuild the bundled example program.DisabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for echo

Readme for echo-0.1.3

echo

Hackage Hackage Dependencies Haskell Programming Language BSD3 License Build Windows build

The base library exposes the hGetEcho and hSetEcho functions for querying and setting echo status, but unfortunately, neither function works with MinTTY consoles on Windows. This is a serious issue, since hGetEcho and hSetEcho are often used to disable input echoing when a program prompts for a password, so many programs will reveal your password as you type it on MinTTY!

This library provides an alternative interface which works with both MinTTY and other consoles. An example is included which demonstrates how one might prompt for a password using this library. To build it, make sure to configure with the -fexample flag.