id	summary	reporter	owner	description	type	status	priority	milestone	version	resolution	keywords	cc
83	ghci doesn't accept entire input from GNU Screen	renick	judah	"ghci-haskeline-0.1.1

haskeline-0.6.1.6

GHCi, version 6.10.3

Using vim via screen with this plugin:

http://renick-bell.blogspot.com/2009/05/send-text-from-vim-to-any-repl.html


{{{
> let { o = lfSaw kr (mce2 8 7.23) 0 * 3 + 80
>     ; f = lfSaw kr 0.4 0 * 24 + o
>     ; s = sinOsc ar (midiCPS f) 0 * 0.04 }
> in audition (out 0 (combN s 0.2 0.2 4))
}}}

should appear in ghci as


{{{
:{
let { o = lfSaw kr (mce2 8 7.23) 0 * 3 + 80
    ; f = lfSaw kr 0.4 0 * 24 + o
    ; s = sinOsc ar (midiCPS f) 0 * 0.04 }
in audition (out 0 (combN s 0.2 0.2 4))
:}
}}}

When using ghci 6.10.1, it did.
Now, the same input appears in ghci as:


{{{
> :{
*HSC3| 23) 0 * 3 + 80
*HSC3| r 0.4 0 * 24 + o
*HSC3| c ar (midiCPS f) 0 * 0.04 }
*HSC3| udition (out 0 (combN s 0.2 0.2 4))
*HSC3|
}}}


Using my vim script to insert into another vim buffer via screen works flawlessly; I think there has to be something going on in either ghci or haskeline.

Thanks for your efforts!

"	defect	closed	major			fixed		
