From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 118931 invoked by alias); 2 Jan 2018 07:09:49 -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 118922 invoked by uid 89); 2 Jan 2018 07:09:48 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=COLUMN, valuable, clicking, mouse 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 ESMTP; Tue, 02 Jan 2018 07:09:41 +0000 Received: from [10.9.9.212] (helo=mailfront12.runbox.com) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1eWGhe-0001z4-G5 for kawa@sourceware.org; Tue, 02 Jan 2018 08:09:38 +0100 Received: from 70-36-239-2.dsl.dynamic.fusionbroadband.com ([70.36.239.2] helo=localhost.localdomain) by mailfront12.runbox.com with esmtpsa (uid:757155 ) (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.82) id 1eWGhT-0004I6-S4 for kawa@sourceware.org; Tue, 02 Jan 2018 08:09:28 +0100 To: Kawa mailing list From: Per Bothner Subject: DomTerm/Kawa integration - two new features Message-ID: Date: Tue, 02 Jan 2018 07:09:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2018-q1/txt/msg00000.txt.bz2 The DomTerm terminal emulator (http://domterm.org) has two new features Kawa users may find valuable. (These require the latest Kawa from gitlab.) (1) The Kawa REPL now supports moving the cursor by clicking the mouse when run under DomTerm. This works using either the readline front-end (enabled by the configure flag --enable-kawa-frontend) or when using the JLine3 input editor. When editing multi-line commands using JLine3 you can also move the cursor between lines, not just within a line. Wrapped lines (longer than the terminal width) works, as does middle-button paste. This works by DomTerm calculating the "distance" between the clicked position and current cursor position, and sending the corresponding number of arrow-key events. (2) Error and warning messages from the Kawa Compiler are now emitted as clickable links with file: URLs. By default, when you click on the link, it opens an emacs window pointing at the erroneous position. However, you can customize this: http://domterm.org/Tips.html#link-handlers The line-and-column location is turned into '#position=LINE:COLUMN' added to the end of the URL. If the file being loaded or compiled has a relative file name, the file: URL will include the directory path, though this won't show in the error message. (You can see the actual URL by hovering over the link.) -- --Per Bothner per@bothner.com http://per.bothner.com/