From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6a5262b0e069cfdf X-Google-Attributes: gid103376,public From: dennison@telepath.com Subject: Re: Terminal Control (or System calls), unix Date: 1999/04/02 Message-ID: <7e2rp3$kvf$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 461975030 References: <3703F011.1DBB143C@cs.und.edu> X-Http-Proxy: 1.0 x2.dejanews.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Fri Apr 02 16:37:56 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.5 [en] (WinNT; I) Date: 1999-04-02T00:00:00+00:00 List-Id: In article <3703F011.1DBB143C@cs.und.edu>, "Sven E. Anderson" wrote: > I am attempting to write a simple screen editor with Ada95 and would > like to suppress the tty echo (unix/linux). A very simple solution > would be a system call to "stty -echo cbreak". How might I make such > a call in Ada? If its a system call, you should be able to make it from Ada. However I think stty is typically a shell builtin, isn't it? > I take it that Ada does not have the equivalent of C's curses package. If your platform has curses, you should be able to write bindings to the curses functions you want to use and link in libcurses.a. The curses routines are just library calls that can be made from any language that knows how to link to them. It just happens that most people use C to do that, but it doesn't have to be that way. T.E.D. -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own