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: David Kastrup
Subject: Re: Menubar on text only terminals
Date: Tue, 03 Apr 2007 08:50:50 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Nick Roberts <address@hidden> 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 via email to

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