This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: DomTerm - a new console for Kawa (and everyone else)




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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]