public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
From: Per Bothner <per@bothner.com>
To: kawa@sourceware.org
Subject: Re: kawa binary snapshot
Date: Sat, 18 Jun 2016 17:26:00 -0000	[thread overview]
Message-ID: <094a9a01-5e34-57cf-9bfb-bdb6746d95ef@bothner.com> (raw)
In-Reply-To: <E4E6F9F0-DB4D-403A-B3A8-A852B5E97CD7@theptrgroup.com>

On 06/06/2016 01:44 PM, Jamison Hope wrote:
> It seems to work fine on Mac OS X, as long as I run under Java 8.
> I get an UnsupportedClassVersionError if I try to use Java 7.

Yes, the JLine3 implementation has some Java 8 dependencies.

I re-build (and re-uploaded) kawa-2.1.9-20160618.zip built with
-source 7 -target 7, so Kawa will run under Java 7, though you
won't get the jline (or domterm) support.

> (Also, the path to servlet.jar in the script is not very portable, but
> this doesn't affect ordinary non-server usage.)

I fixed that.

> Yeah that is neat, and is something that rlwrap can't match (since it
> just dumbly wraps I/O to java without knowing anything of parenthesis
> matching).

Also, tab-completion would be difficult with rlwrap (or the old
kawa-frontend).

> Are the prompt colors going to be customizable?  I usually do
> white-on-black, so the JLine prompt ends up being white on light green,
> which is hard to read.

Yes.  I expect I will remove the default prompt coloring when using jline,
though for now I checked it to green foreground, rather than green background.
I do plan to keep some default prompt color when using domterm, but that
is customizable with css:

(domterm-load-stylesheet "span[std='prompt'] {color: blue; background-color: pink }")

(This does not yet work when using jline+domterm, because there isn't
yet a way for jline to pass the correct escape codes to domterm.)
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/

  reply	other threads:[~2016-06-18 17:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-06 16:04 Per Bothner
2016-06-06 20:44 ` Jamison Hope
2016-06-18 17:26   ` Per Bothner [this message]
2016-06-18 16:29 ` kawa binary snapshot with domterm-based console 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=094a9a01-5e34-57cf-9bfb-bdb6746d95ef@bothner.com \
    --to=per@bothner.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).