unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
To: Nick Roberts <nickrob@snap.net.nz>
Cc: keramida@ceid.upatras.gr, Eli Zaretskii <eliz@gnu.org>,
	emacs-devel@gnu.org
Subject: Re: Menubar on text only terminals
Date: Tue, 03 Apr 2007 08:50:50 +0200	[thread overview]
Message-ID: <86lkha7xyt.fsf@lola.quinscape.zz> (raw)
In-Reply-To: <17937.37280.901597.817103@farnswood.snap.net.nz> (Nick Roberts's message of "Tue\, 3 Apr 2007 11\:28\:32 +1200")

Nick Roberts <nickrob@snap.net.nz> 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

  reply	other threads:[~2007-04-03  6:50 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-31  7:12 Menubar on text only terminals Nick Roberts
2007-03-31 20:42 ` Richard Stallman
2007-03-31 21:36   ` Nick Roberts
2007-04-02  2:13     ` Giorgos Keramidas
2007-04-02  4:56       ` Nick Roberts
2007-04-02  6:55         ` Giorgos Keramidas
2007-04-02  7:25           ` David Kastrup
2007-04-02  7:37             ` Giorgos Keramidas
2007-04-02  7:47               ` David Kastrup
2007-04-02 12:31             ` Eli Zaretskii
2007-04-02 23:28               ` Nick Roberts
2007-04-03  6:50                 ` David Kastrup [this message]
2007-04-03  8:07                 ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86lkha7xyt.fsf@lola.quinscape.zz \
    --to=dak@gnu.org \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=keramida@ceid.upatras.gr \
    --cc=nickrob@snap.net.nz \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).