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 3692784 for gnuports@2rosenthals.com; Mon, 16 May 2022 17:46:31 -0400 Received: from secmgr-va.randr ([192.168.200.201]:58864 helo=mail2.2rosenthals.com) by mail.2rosenthals.com with esmtp (Exim 4.94.2) (envelope-from ) id 1nqiXk-0007yq-2E for gnuports@2rosenthals.com; Mon, 16 May 2022 17:46:20 -0400 Received: from mta-101b.oxsus-vadesecure.net ([51.81.61.61]:35167 helo=nmtao101.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 1nqiXi-0007jn-0y for gnuports@2rosenthals.com; Mon, 16 May 2022 17:46:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; bh=SVIgJaiVNzup8LADZcpDxQPAEzD47DQ6hCA4FT HyZPA=; 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=1652737577; x=1653342377; b=SZHkMBAXYv1fSP2zWu3M1bgccpoCz/Bi8AahPewCu+4SQwxzHYHffuj RnlSswt0cp47p1calfgSorZsV8ed7kz69fCcDqWRrHUfwZlDcOXQ6Ge6e7vFIUMdMxZ5h8a 3iPOEfYc7yyiyT+aY2e/aphARttbVAX6HDpaI7yOCfoKEWq+2wQFVqpIg2UDFqC4PQHtO8V Cwh7lAr9VVKfb8E+BuVKVEBvsq7rbWA7ZpxBA6GBJv7czC2DdvqdaZ1v/k6Njl6NKUZNg/B dDaF8qXRm/gAJrpyJXQiaLOls4pTGk6UhsCvA3WvoPXOBlCZynW4cGo2/qrA4c/zOdLoJ5s 40g== Received: from slamain ([108.193.254.223]) by smtp.oxsus-vadesecure.net ESMTP oxsus1nmtao01p with ngmta id af26ee33-16efb411f34a3701; Mon, 16 May 2022 21:46:17 +0000 Message-ID: <6282c351.19.mr2ice.fgrirsq@earthlink.net> Date: Mon, 16 May 2022 14:34:09 -0700 To: "GNU Ports for eCS Mailing List" In-Reply-To: Subject: Re: [GNU Ports] getting a single keypress Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable X-Mailer: MR/2 Internet Cruiser Edition for OS/2 v3.00.11.23/60 In , on 05/16/22 at 12:10 PM, "Dave Yeo" said: Hi Dave, >OK, went with the libc version of kbdCharin(), which seems more 32 bit >friendly. That's probably a bit too low-level for your needs. I suspect you may no= t had read enough of the 16-bit Programming Reference to understand what KbdCharIn does. You probably will find: src\os2\keyboard.c:43 int kbd_input (UCHAR *dst, int binary_p, int echo_p, int wait_p, easier to integrate. This will return characters and not scan codes. >Only problem is at the test program start, it displays an "=CE". For which fprintf? Steven -- ---------------------------------------------------------------------- "Steven Levine" Warp/DIY/BlueLion etc. www.scoug.com www.arcanoae.com www.warpcave.com ----------------------------------------------------------------------