A cross-platform, cross-console way to handle echoing terminal input
21.50 KB
built 2026-10-14 00:05:14 GMT
Description
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.
Dependencies
8 totalRequires6
- ghc-Cabal-devel
- ghc-base-devel
- ghc-process-devel
- ghc-rpm-macros
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
Provides2
- ghc-echo = 0.1.4-20.fc45
- ghc-echo-devel = 0.1.4-20.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
2Name ![]() |
Size |
|---|---|
| echo-0.1.4.tar.gz | 5.37 KB |
| ghc-echo.spec | 7.26 KB |
Files 1–2 of 2
Component of
buildroots that installed this RPMNo Buildroots
