|
Re: ghci command history broken under rxvt and xterm: msg#00054lang.haskell.glasgow.bugs
Bruno Martínez wrote: When using ghci with rxvt under cygwin, the command history doesn't work. When I press the up arrow, for example, the cursor moves up, instead of showing the previous command. xterm has the same problem, but with cygwin's default console it works. GHCi doesn't use readline on Windows, at least by default, so nothing is interpreting the up or down arrow keys so they generate some control sequences that just move the cursor around. Something strange is afoot though, because you say that it works under a cygwin console - that's not the case here. What version of GHC is this? where did you get it? I believe that GHC can be compiled against mingw's readline library, but I seem to recall it was pretty flaky which is why we don't do it. I'd be happy to use a cut-down line editing library on Windows if someone could do the work of making sure it did something reasonable in all the environments we're interested in (windows command shell, cygwin terminal window, xterm). Cheers, Simon
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [GHC] #474: Debug.Trace.trace should work on Show, GHC |
|---|---|
| Next by Date: | Re: [GHC] #696: segmentation fault in ./genprimopcode (x86_64), GHC |
| Previous by Thread: | ghci command history broken under rxvt and xterm, Bruno Martínez |
| Next by Thread: | Re: ghci command history broken under rxvt and xterm, Bruno Martínez |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |