From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2877 invoked by alias); 17 Dec 2015 22:52:06 -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 2847 invoked by uid 89); 17 Dec 2015 22:52:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_05,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=H*r:sk:kawa@so, javascript, swing, JavaScript 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; Thu, 17 Dec 2015 22:52:03 +0000 Received: from [10.9.9.207] (helo=mailfront03.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1a9hOx-0002It-9q for kawa@sourceware.org; Thu, 17 Dec 2015 23:51:59 +0100 Received: from 70-36-239-58.dsl.dynamic.fusionbroadband.com ([70.36.239.58] helo=toshie.bothner.com) by mailfront03.runbox.com with esmtpsa (uid:757155 ) (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.76) id 1a9hOn-0004y5-BE for kawa@sourceware.org; Thu, 17 Dec 2015 23:51:49 +0100 To: Kawa mailing list From: Per Bothner Subject: DomTerm - a new console for Kawa (and everyone else) Message-ID: <56733C82.1050008@bothner.com> Date: Thu, 17 Dec 2015 22:52:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-q4/txt/msg00056.txt.bz2 Lately I've been quiet on the Kawa front because I've been spending my time on DomTerm, whose goal is a best-of-breed hybrid of xterm/ansi-compatible terminal emulator combined with a powerful REPL console supporting rich text, graphics. readline-style editing, and more. The core of the code is (semi-) portable and embeddable JavaScript. The home page is http://domterm.org/ and the source code is https://github.com/PerBothner/DomTerm Form the Kawa point of view, note especially the 2nd screenshot of the Features page: http://domterm.org/Features.html . If you "print" an XML node value, then it is inserted as HTML in the DomTerm output. (This happens for display but not for write, obviously.) Kawa also supports different styles/colors for the prompt (default green), input (default blue), and error output (default red). This works whether you invoke Kawa from the shell (running under DomTerm), or have DomTerm start up kawa.repl.main directly. I also want to implement the "graphics objects" ideas supported by the Swing console (which I know is currently broken): http://per.bothner.com/blog/2007/ReplPane/ I expect we'll change the -w option (or just entering a REPL when there is no console) so it starts up a DomTerm rather than the old Swing console. (Though I intend to keep the latter around for now - after I debug it.) More Lisp-IDE-type ideas are also being considered. For example being able to interrupt a running expression and see a stack trace. However, that may be a bit further off. This is still alpha quality, and the interfaces are highly unstable, if using Kawa with DomTerm, update both sources at the same time. Otherwise, have fun with it. -- --Per Bothner per@bothner.com http://per.bothner.com/