From mint-bounce@lists.fishpool.fi Mon Jul 12 20:05:58 2010 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=5x60YUvukmTLsi1Rk7kmRbb6RLEn29wDhsKKA95vdnM=; b=iAi91eSdre+z+CmtOgjT+Dk6C3QuJigeJCGT2yQU7jvhTbvOiTG67xPf0Jr2iuqpo5 xR5ylrnNfCKnqySQwL539HDo66CCzRmHwMJh12DY7FKIMHiyQ7vp/20cgX97XRe2/X9W QoBKlIYwnKYTszA2MtSCV9QTxKH6SyaUx31vE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=dgNaCoqKGCKJ/gJgdnvSmzW/OW4jXJ3uUrGCxgQ7IJlrFefgOEq87J7vaJT15XKCxY 0NJhVHfaBGVzksoB61fbK7YffkLTZyFx8mbuakhJhxvUPBNvZ0iEjxlTphjTaiUDgLKz imYL4amXMHl11kDaxYHCEvdl+EfYFQTjWuB/U= Subject: Re: [MiNT] Conholio 0.7r Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Peter Persson In-Reply-To: <201007130033.03463.oak@helsinkinet.fi> Date: Tue, 13 Jul 2010 02:03:29 +0200 Cc: mint@lists.fishpool.fi Message-Id: <95A702DC-074A-4E36-9479-4E38D01D7123@gmail.com> References: <4C224E8E.9020709@atari-source.org> <201007130033.03463.oak@helsinkinet.fi> To: Eero Tamminen X-Mailer: Apple Mail (2.1081) X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: pep.fishmoose@gmail.com Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.sparemint.org id o6D05vBv020436 12 jul 2010 kl. 23.33 skrev Eero Tamminen: > I added that kind of support to wterm in 1998, and looking again at that > old code... Cool. > I don't see how application would need to know about the pasting. If > terminal application specifically requests mouse events to be reported, > it already needs to be handling cursor changing position. And paste > just goes to current cursor position. There are several modes. X-term has a mode for mouse highlighting. I haven't looked into it, but I'm under the impression that it's supposed to be used to select text/information on the application level. Pasting is a nobrainer though, and a "dumb" copy/highlight function shouldn't be tricky either. > As to selection and copying, what is in control of selection, Conholio > or the application? If it's not Conholio, how it can even know what could > / should be copied? If selection is controlled by Conholio, I again don't > see any problem (application doesn't need to know about copying as > it doesn't affect the terminal contents). I think it depends on the current mouse mode. > > > - Eero > > [1] wterm/wvt were the terminal programs for the W window system > (which was done initially for MiNT as more lightweight X replacement): > http://koti.mbnet.fi/tammat/open.shtml#wws > > This terminal had its own terminfo&termcap terminal name & entry. While > it was VT52 compatible, it implemented some features also from XTerm. > Main (VT102) omission was support for scrolling regions which would have > sped it up quite a bit I think. I chose to mimic the Linux console, mainly because A: I don't have to deal with termcap etc, and B: it has some of the features from X-term (and I don't feel like implementing too much from the latter at this point). > Maybe the wterm/wvt code is still useful to you. If you have any > questions about it, just ask. :-) Thanks :) I'll have a look. -- PeP