From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Menubar on text only terminals Date: Tue, 03 Apr 2007 08:50:50 +0200 Message-ID: <86lkha7xyt.fsf@lola.quinscape.zz> References: <17934.2504.477668.354102@farnswood.snap.net.nz> <17934.54358.129732.694345@farnswood.snap.net.nz> <20070402021343.GA2989@kobe.laptop> <17936.36075.282286.535939@farnswood.snap.net.nz> <20070402065536.GA4779@kobe.laptop> <86abxrck6c.fsf@lola.quinscape.zz> <17937.37280.901597.817103@farnswood.snap.net.nz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1175583080 16755 80.91.229.12 (3 Apr 2007 06:51:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 3 Apr 2007 06:51:20 +0000 (UTC) Cc: keramida@ceid.upatras.gr, Eli Zaretskii , emacs-devel@gnu.org To: Nick Roberts Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 03 08:51:13 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HYcrI-0003D7-7e for ged-emacs-devel@m.gmane.org; Tue, 03 Apr 2007 08:51:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HYcuO-0007ap-6K for ged-emacs-devel@m.gmane.org; Tue, 03 Apr 2007 02:54:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HYcuL-0007Z2-Mq for emacs-devel@gnu.org; Tue, 03 Apr 2007 02:54:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HYcuK-0007Wt-6m for emacs-devel@gnu.org; Tue, 03 Apr 2007 02:54:21 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HYcuJ-0007Wq-V3 for emacs-devel@gnu.org; Tue, 03 Apr 2007 02:54:20 -0400 Original-Received: from pc3.berlin.powerweb.de ([62.67.228.11]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HYcrA-0004gJ-MJ for emacs-devel@gnu.org; Tue, 03 Apr 2007 02:51:05 -0400 Original-Received: from quinscape.de (pd95b0fdb.dip0.t-ipconnect.de [217.91.15.219]) by pc3.berlin.powerweb.de (8.9.3p3/8.9.3) with ESMTP id IAA04787 for ; Tue, 3 Apr 2007 08:50:53 +0200 X-Delivered-To: Original-Received: (qmail 6679 invoked from network); 3 Apr 2007 06:50:58 -0000 Original-Received: from unknown (HELO lola.quinscape.zz) ([10.0.3.43]) (envelope-sender ) by ns.quinscape.de (qmail-ldap-1.03) with SMTP for ; 3 Apr 2007 06:50:58 -0000 Original-Received: by lola.quinscape.zz (Postfix, from userid 1001) id 08D72C3A49; Tue, 3 Apr 2007 08:50:50 +0200 (CEST) In-Reply-To: <17937.37280.901597.817103@farnswood.snap.net.nz> (Nick Roberts's message of "Tue\, 3 Apr 2007 11\:28\:32 +1200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-detected-kernel: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:68961 Archived-At: Nick Roberts writes: > > Indeed. I suggested long ago to retrofit the MSDOS code into a > > Posix text terminal. This should be almost trivial: all we need > > is to replace direct screen writes with terminfo commands and > > stdio output. All the rest can be kept almost verbatim. The > > relevant functions are XMenuCreate, XMenuAddPane, > > XMenuAddSelection, XMenuLocate, XMenuActivate, and XMenuDestroy > > (and their few subroutines), all found on src/msdos.c. Of these, > > XMenuActivate is the only one that is complicated; all the rest > > are really trivial. > > I'm surprised that it is so easy given that tmm.el isn't a simple > piece of code. Eli did not say that the MSDOS code was a simple piece of code. He just said that it should be easy to retrofit into other terminals. > What happens with toggle and radio buttons? Are they also handled? My guess would be yes (how else would the port be functional?), but Eli will be better equipped to answer that. -- David Kastrup