emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Menubar on text only terminals


From: Nick Roberts
Subject: Re: Menubar on text only terminals
Date: Tue, 3 Apr 2007 11:28:32 +1200

 > 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 via email to

[Prev in Thread] Current Thread [Next in Thread]