TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Classic View

Use Proportional Font
Show HTML Part by Default
Condense Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Content-Transfer-Encoding: 7bit
Sender: "Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
Subject: Re: linux
From: "David C. Hoos, Sr." <[log in to unmask]>
Date: Sat, 22 Sep 2001 05:20:16 -0500
Content-Type: text/plain; charset="iso-8859-1"
MIME-Version: 1.0
Reply-To: "David C. Hoos, Sr." <[log in to unmask]>
Parts/Attachments: text/plain (27 lines)
This is really a function of the terminal emulation in which
you run the program, and what commands must be issued to the
terminal emulator in order to effect the operations you desire.

In the gnat examples directory is a program called diners which
positions the cursor in the window, but doesn't change colors.

However, that program will show the techniques for manipulating
the terminal window, and it can be easily extended to control
color as well (if you have a terminal emulator that supports color).

Another package for doing this is called curses, and an Ada binding to
curses is available at.

www.gnuada.org/linux/rpms/3.13p/glibc2.1/RPMS/i386/AdaCurses-5.2.2.i386.rpm

----- Original Message -----
From: "EDUARDO HASBUN ." <[log in to unmask]>
To: <[log in to unmask]>
Sent: September 21, 2001 9:25 AM
Subject: linux


I'm learning ada for linux and i would like to know if there are any
functions that clear the screen , move the cursor and change the text color
for linux, and where i could get them.

ATOM RSS1 RSS2