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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d7aa4d3ffb49d5de,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-14 04:30:46 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: sandrobinetti@yahoo.com (Sandro Binetti) Newsgroups: comp.lang.ada Subject: Curses ESC character and protected objects Date: 14 Jun 2002 04:30:46 -0700 Organization: http://groups.google.com/ Message-ID: <877f1a1d.0206140330.278f5121@posting.google.com> NNTP-Posting-Host: 212.210.230.100 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1024054246 5987 127.0.0.1 (14 Jun 2002 11:30:46 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 14 Jun 2002 11:30:46 GMT Xref: archiver1.google.com comp.lang.ada:25933 Date: 2002-06-14T11:30:46+00:00 List-Id: Hi group. My UnixWare 7.1.1 software is written in ADA, compiled by GNAT 3.13a1, and uses a binding to Unix curses library for I/O. The keyboard ESC key has a strange behaviour. Normally, when the ESC key is pressed, after a delay of about 0.5 sec, it's correctly managed by the program (in this 0.5 sec delay curses waits for some other character, in order to correctly manage esc sequences coming from other keyboard keys). But since the moment I introduced a few protected objects to my software, the behaviour of the ESC key is completely changed: I have to press the ESC key twice to make it go right (it seems that the original 0.5 sec delay has become an infinite timeout ...) I don't search for a solution to my problem, I only have wish to understand the possible reason of this strange thing. TIA, Sandro.