From: "Steven Levine" Received: from [192.168.100.201] (HELO mail.2rosenthals.com) by 2rosenthals.com (CommuniGate Pro SMTP 5.4.10) with ESMTPS id 3692959 for gnuports@2rosenthals.com; Mon, 16 May 2022 22:15:32 -0400 Received: from [192.168.200.201] (port=59172 helo=mail2.2rosenthals.com) by mail.2rosenthals.com with esmtp (Exim 4.94.2) (envelope-from ) id 1nqmk5-0003iS-06 for gnuports@2rosenthals.com; Mon, 16 May 2022 22:15:21 -0400 Received: from mta-201a.oxsus-vadesecure.net ([51.81.229.180]:40577 helo=nmtao201.oxsus-vadesecure.net) by mail2.2rosenthals.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1nqmk2-0002UL-0Y for gnuports@2rosenthals.com; Mon, 16 May 2022 22:15:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; bh=B4dUKPRzK2qd5HDoDTicrlZy6x6QDQ58k0nEXI loFNA=; c=relaxed/relaxed; d=earthlink.net; h=from:reply-to:subject: date:to:cc:resent-date:resent-from:resent-to:resent-cc:in-reply-to: references:list-id:list-help:list-unsubscribe:list-subscribe:list-post: list-owner:list-archive; q=dns/txt; s=dk12062016; t=1652753717; x=1653358517; b=VqzQxEN2jm2MlrS8YpVxsbCHsNhZUkccnYOd4seF3UKIVtcKfCjI0GY yQ+stQ0SrX0DGqsOIVjxvwBKANXJyLp9humsjhFIO9F/zmkzuAX2fp2mpEucIDyhezC0NDe kkcRY48ZnEhYpG4HxX9Ngx+znpwBkF6hsZm1zKQorrFJwL9NS6K5VXD2ZUGlFCBBaMLPjN3 /WtVmeCTpBikF4DLXs0oTkUu19xw1J7J1ehF83W8Dfb/UXw0QLOGzapZvmLFZ7OJrhqD+cN 6Ic74y0DnMD+i/vzBQ9961MwvhJTMN5LMrRGA9/zWyDP5OSt+xQKbDGMN5XIZ83uesh+Sgw gyw== Received: from slamain ([108.193.254.223]) by smtp.oxsus-vadesecure.net ESMTP oxsus2nmtao01p with ngmta id 49f07688-16efc2bfb8d24859; Tue, 17 May 2022 02:15:17 +0000 Message-ID: <6283047f.21.mr2ice.fgrirsq@earthlink.net> Date: Mon, 16 May 2022 19:12:15 -0700 To: "GNU Ports for eCS Mailing List" In-Reply-To: Subject: Re: [GNU Ports] getting a single keypress X-Mailer: MR/2 Internet Cruiser Edition for OS/2 v3.00.11.23/60 In , on 05/16/22 at 02:53 PM, "Dave Yeo" said: Hi, >> KbdCharIn does. >For low ASCII (below 127) it seems to do the job This is more or less true. >fprintf(stderr, "got key: %c\n", val); I still suspect you were printing a scan code. Try fprintf(stderr, "got key: %c %x\n", val, val); so you can see the hex value too. Steven -- ---------------------------------------------------------------------- "Steven Levine" Warp/DIY/BlueLion etc. www.scoug.com www.arcanoae.com www.warpcave.com ----------------------------------------------------------------------