From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 130193 invoked by alias); 18 Dec 2015 19:46:33 -0000 Mailing-List: contact kawa-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: kawa-owner@sourceware.org Received: (qmail 130176 invoked by uid 89); 18 Dec 2015 19:46:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=UD:js, pty, Hx-languages-length:1484, browser X-HELO: aibo.runbox.com Received: from aibo.runbox.com (HELO aibo.runbox.com) (91.220.196.211) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Fri, 18 Dec 2015 19:46:31 +0000 Received: from [10.9.9.206] (helo=mailfront02.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1aA0yy-000808-N3; Fri, 18 Dec 2015 20:46:28 +0100 Received: from 70-36-239-58.dsl.dynamic.fusionbroadband.com ([70.36.239.58] helo=toshie.bothner.com) by mailfront02.runbox.com with esmtpsa (uid:757155 ) (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.76) id 1aA0yn-0006TF-Di; Fri, 18 Dec 2015 20:46:17 +0100 Subject: Re: DomTerm - a new console for Kawa (and everyone else) To: Charlie Turner References: <56733C82.1050008@bothner.com> <56745B04.7040907@bothner.com> Cc: Kawa mailing list From: Per Bothner Message-ID: <56746287.70007@bothner.com> Date: Fri, 18 Dec 2015 19:46:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-q4/txt/msg00061.txt.bz2 On 12/18/2015 11:28 AM, Charlie Turner wrote: > I almost got this working on OSX. See my hacks in the attached patch > file if you want to get where I got :-) [where the heck do you get > err_sys from on our box??] > In addition to that patch file, I also had to rename libpty.so to > libpty.jnilib on OSX. I have no idea why. This is my first experience > with Native Java :-) I guess I should start using autoconf ... Including --disable-javafx and --disable-pty configure options. > Sadly, I got lost after managing to get the DomTerm to run. make-pty > completes, and then the DomTerm window pops up with a scroll-bar, but > nothing else. I get this stack trace in the terminal window from which > I launched make run-pty, It may be easier to start with the server, as that avoids JavaFX issues. Perhaps try the --process option to avoid PTY issues: make run-server SERVER_ARGS=--process Then you can open a web console windows in your browser to check for error messages. You might enable the various verbosity options, including the one in terminal.js: this.verbosity = 2; // instead of 0 > netscape.javascript.JSException: ReferenceError: Can't find variable: > makeDomTerm That suggests the JavaScript in repl.html didn't get executed, or got executed in the wrong context, or something like that. I suggest try the server/browser combination first. -- --Per Bothner per@bothner.com http://per.bothner.com/