This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: Different behavior for -s argument in Kawa 2.0?
- From: Jeff Gonis <jeff dot gonis at gmail dot com>
- To: kawa at sourceware dot org
- Date: Fri, 16 Jan 2015 11:24:31 -0700
- Subject: Re: Different behavior for -s argument in Kawa 2.0?
- Authentication-results: sourceware.org; auth=none
- References: <CAFVyn8RdRnhc9DGpzT=oA6sQ0oWcbRM71hYvVUROV+7grKkTMQ at mail dot gmail dot com> <CAFVyn8SzaE6Og3UT9+CXQJoPLRBZ7BD6pRSRznUcrxpZVXEC8w at mail dot gmail dot com> <54B03F22 dot 7050801 at bothner dot com> <CAFVyn8S9Tdzdwmczg883U2yXmZUmRMxArtf2sXBKA2HhjXTCNA at mail dot gmail dot com> <687DFB7D-EADA-43CC-9242-B1A0C9C8B7A2 at theptrgroup dot com> <54B05E87 dot 1050101 at bothner dot com> <54B066AF dot 5050804 at bothner dot com> <54B06CEB dot 3090902 at bothner dot com> <54B07C9C dot 6040401 at bothner dot com>
On Fri, Jan 9, 2015 at 6:13 PM, Per Bothner <per@bothner.com> wrote:
>
> On 01/09/2015 04:06 PM, Per Bothner wrote:
>>
>>
>>
>> On 01/09/2015 03:39 PM, Per Bothner wrote:
>>>
>>>
>>>
>>> On 01/09/2015 03:04 PM, Per Bothner wrote:
>>>>
>>>> A possible solution is to add a --console flag (similar to
>>>> sh's -i flag), which would be the inverse of the --no-console flag,
>>>> in that it would force haveConsole to return true.
>>>
>>>
>>> Please try the attached patch. You will need to specify --console.
>>> You shouldn't don't need to specify -s.
>>
>>
>> The patch doesn't work, because setHaveConsole is executed before
>> InPort is initialized.
>
>
> Please try the attached console2.patch instead.
>
>
> --
> --Per Bothner
> per@bothner.com http://per.bothner.com/
Hi Per,
Sorry for the delayed response I was in the moutains for the last few
days, and thus away from a computer. I built kawa from the 2.0
sources after applying your patch and then ran the resulting jar using
the --console argument in emacs on windows, and I do in fact get the
repl appearing in emacs. Fantastic!!! Thank you so much for your
efforts here, I am excited to dig into kawa 2.0 and see what it has to
offer.
Please let me know if there is any other information that I can
provide, or if there is anything else that you would like me to test.
Thanks for your efforts,
Jeff