public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
From: Per Bothner <per@bothner.com>
To: Charlie Turner <chturne@gmail.com>
Cc: Kawa mailing list <kawa@sourceware.org>
Subject: Re: DomTerm - a new console for Kawa (and everyone else)
Date: Fri, 18 Dec 2015 19:46:00 -0000	[thread overview]
Message-ID: <56746287.70007@bothner.com> (raw)
In-Reply-To: <CAPMhJv1Dx_V_QRdEsLFUoj-whSw_vT1C-SjE0Un-UbVM8HFA-w@mail.gmail.com>



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/

  parent reply	other threads:[~2015-12-18 19:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-17 22:52 Per Bothner
2015-12-18 18:43 ` Charlie Turner
2015-12-18 19:14   ` Per Bothner
2015-12-18 19:28     ` Charlie Turner
2015-12-18 19:41       ` Jamison Hope
2015-12-18 19:46       ` Per Bothner [this message]
2015-12-18 20:00         ` Charlie Turner
2015-12-22  7:38       ` Per Bothner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56746287.70007@bothner.com \
    --to=per@bothner.com \
    --cc=chturne@gmail.com \
    --cc=kawa@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).