Created on 2008-03-31.22:17:19 by czapkofan, last changed 2009-10-24.00:08:08 by admin.
File name |
Uploaded |
Type |
Edit |
Remove |
get-echo.hs
|
kowey,
2008-05-13.19:20:37
|
text/x-haskell |
|
|
msg4160 (view) |
Author: czapkofan |
Date: 2008-03-31.22:17:17 |
|
Currently, there is no indication that I pressed a letter to choose an
option after asked some question by darcs. If my computer is slow, it
can result in my being unsure whether I have pressed one, and pressing
it again. And that might possibly result in e.g. two hunks being
accepted, when I wanted only the first. Echoing the letter would make
it possible for me to see whether the key got there.
Keep up good work.
|
msg4165 (view) |
Author: droundy |
Date: 2008-04-01.13:15:48 |
|
Thanks for the bug report! I'll just note here that this is windows-specific
behavior, as key presses are echoed on posix systems.
David
|
msg4632 (view) |
Author: kowey |
Date: 2008-05-13.14:21:37 |
|
Adding to this note, the prompts just use getChar from the Prelude.
This may be worth asking the Haskell community about (if anybody hangs out in
#haskell, for example). Or maybe somebody here knows?
|
msg4639 (view) |
Author: kowey |
Date: 2008-05-13.19:20:37 |
|
Can somebody tell me what this program does under Windows?
On Linux,
$ ./get-echo
default echo status: True
sans echo
gimme a char and hit enter [with echo]: x
you said x
with echo
gimme a char and hit enter [sans echo]:
you said y
Attachments
|
msg4890 (view) |
Author: kowey |
Date: 2008-05-30.10:19:33 |
|
Another thought: this may be related to the stuff Simon Marlow found here:
http://wiki.darcs.net/index.html/WindowsConsoles
|
msg4911 (view) |
Author: kowey |
Date: 2008-06-02.10:06:08 |
|
Huh... so if I run my test program on the DOS prompt, I get this error
get-echo.exe: <stdout>: hSetEcho: failed (failed to set echoing)
If I redirect the stdout to a text file, it seems to work fine (and I get
echoing to screen)
|
msg7060 (view) |
Author: thorkilnaur |
Date: 2009-01-12.11:19:46 |
|
It seems that this issue is not completely understood: If there is a solution to
the problem reported, I am unable to see it. So I would like a volunteer with
access to a Windows machine to take a further look at this, run kowey's program
perhaps. And then decide on what to do about it.
Thanks and best regards
Thorkil
|
msg7143 (view) |
Author: kirby |
Date: 2009-01-19.14:52:44 |
|
This bug solved in darcs 2.2.
|
|
Date |
User |
Action |
Args |
2008-03-31 22:17:19 | czapkofan | create | |
2008-04-01 13:15:53 | droundy | set | priority: wishlist nosy:
+ wglozer, eivuokko, rgm, droundy, jaredj topic:
+ Windows status: unread -> unknown messages:
+ msg4165 |
2008-05-13 14:21:38 | kowey | set | nosy:
+ dagit messages:
+ msg4632 |
2008-05-13 19:20:39 | kowey | set | files:
+ get-echo.hs nosy:
droundy, tommy, beschmi, kowey, wglozer, eivuokko, dagit, rgm, jaredj, czapkofan messages:
+ msg4639 |
2008-05-30 10:19:34 | kowey | set | nosy:
droundy, tommy, beschmi, kowey, wglozer, eivuokko, dagit, rgm, jaredj, czapkofan messages:
+ msg4890 |
2008-06-02 10:06:10 | kowey | set | nosy:
droundy, tommy, beschmi, kowey, wglozer, eivuokko, dagit, rgm, jaredj, czapkofan messages:
+ msg4911 |
2009-01-12 11:19:49 | thorkilnaur | set | status: unknown -> needs-reproduction nosy:
+ dmitry.kurochkin, simon, czapkofan, thorkilnaur, - czapkofan messages:
+ msg7060 |
2009-01-19 14:52:46 | kirby | set | status: needs-reproduction -> resolved-in-stable nosy:
+ kirby messages:
+ msg7143 |
2009-01-19 15:09:58 | kowey | set | status: resolved-in-stable -> resolved nosy:
droundy, tommy, beschmi, kowey, wglozer, eivuokko, dagit, simon, rgm, thorkilnaur, jaredj, dmitry.kurochkin, czapkofan, kirby |
2009-08-06 17:57:48 | admin | set | nosy:
+ markstos, jast, Serware, darcs-devel, zooko, mornfall, - droundy, wglozer, eivuokko, rgm, jaredj, czapkofan, kirby |
2009-08-06 21:01:34 | admin | set | nosy:
- beschmi |
2009-08-10 22:19:05 | admin | set | nosy:
+ wglozer, eivuokko, kirby, rgm, czapkofan, jaredj, - markstos, darcs-devel, zooko, jast, Serware, mornfall |
2009-08-11 00:09:24 | admin | set | nosy:
- dagit |
2009-08-25 17:38:58 | admin | set | nosy:
+ darcs-devel, - simon |
2009-08-27 14:15:12 | admin | set | nosy:
tommy, kowey, wglozer, darcs-devel, eivuokko, rgm, thorkilnaur, jaredj, dmitry.kurochkin, czapkofan, kirby |
2009-10-23 22:42:15 | admin | set | nosy:
+ robmoss, - rgm |
2009-10-24 00:08:08 | admin | set | nosy:
+ rgm, - robmoss |
|