unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Nick Roberts <nickrob@snap.net.nz>
To: Eli Zaretskii <eliz@gnu.org>
Cc: keramida@ceid.upatras.gr, emacs-devel@gnu.org
Subject: Re: Menubar on text only terminals
Date: Tue, 3 Apr 2007 11:28:32 +1200	[thread overview]
Message-ID: <17937.37280.901597.817103@farnswood.snap.net.nz> (raw)
In-Reply-To: <uodm7555j.fsf@gnu.org>

 > 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.  What happens with toggle and radio buttons?  Are they also handled?

If someone writes some code, I'll be happy to test it.

-- 
Nick                                           http://www.inet.net.nz/~nickrob

  reply	other threads:[~2007-04-02 23:28 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 [this message]
2007-04-03  6:50                 ` David Kastrup
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=17937.37280.901597.817103@farnswood.snap.net.nz \
    --to=nickrob@snap.net.nz \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=keramida@ceid.upatras.gr \
    /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).