gm2
[Top][All Lists]
Advanced

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

Re: [Gm2] ncurses


From: Gaius Mulley
Subject: Re: [Gm2] ncurses
Date: Fri, 17 Dec 2010 08:28:43 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

rob solomon <address@hidden> writes:

> Has anyone developed modules to use ncurses for output, sort of like
> TextTools has for Ada?
>
> I am interested in playing w/ gm2 on ubuntu but I want more than a
> console interface.
>
> I have no experience w/ linux programming but have used Stony Brook
> modula-2 for Windows to write my own code.
>
> Do I have to structure the code as in Windows by using a windows
> procedure and a message reading loop?
>
> Thanks in advance

Hi,

there is an ncurses example in

   gcc-4.1.2/gcc/gm2/examples/ncurses/

which might a useful starting point.  The ncurses.def module is a
definition module for C which was taken from /usr/include/ncurses.h.  No
need for a message reading loop with ncurses

regards,
Gaius



reply via email to

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