Groups | Search | Server Info | Login | Register


Groups > comp.os.os2.programmer.misc > #1714

Re: win32 via odin

X-Received by 2002:a05:622a:1982:b0:402:36dd:20fe with SMTP id u2-20020a05622a198200b0040236dd20femr64136qtc.2.1689462308738; Sat, 15 Jul 2023 16:05:08 -0700 (PDT)
X-Received by 2002:a05:6808:1a21:b0:3a1:eb8a:203d with SMTP id bk33-20020a0568081a2100b003a1eb8a203dmr11392119oib.11.1689462308413; Sat, 15 Jul 2023 16:05:08 -0700 (PDT)
Path csiph.com!news.mixmin.net!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups comp.os.os2.programmer.misc
Date Sat, 15 Jul 2023 16:05:08 -0700 (PDT)
In-Reply-To <7ee4e13c-63ae-4c02-a17d-b183c5045e92n@googlegroups.com>
Injection-Info google-groups.googlegroups.com; posting-host=136.158.103.73; posting-account=CeHKkQoAAAAowY1GfiJYG55VVc0s1zaG
NNTP-Posting-Host 136.158.103.73
References <a29691a7-9701-4935-a5b2-986c5f5c2bddn@googlegroups.com> <Aj3sM.255151$edN3.186930@fx14.iad> <83234834-db2d-42ac-8bc6-0fcf631f53b9n@googlegroups.com> <7ee4e13c-63ae-4c02-a17d-b183c5045e92n@googlegroups.com>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <e48bb3c4-e0c0-409f-b13b-c172afb74b47n@googlegroups.com> (permalink)
Subject Re: win32 via odin
From Paul Edwards <mutazilah@gmail.com>
Injection-Date Sat, 15 Jul 2023 23:05:08 +0000
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding quoted-printable
X-Received-Bytes 2725
Xref csiph.com comp.os.os2.programmer.misc:1714

Show key headers only | View raw


On Sunday, July 16, 2023 at 6:34:16 AM UTC+8, xhajt03 wrote:

> > > Not sure about that one, perhaps someone else has some insight. 
> > I have confirmed that when I build my own OS/2 native 
> > executables, the escape sequences take effect.

> I believe that Win32 console applications executed via Odin are actually run in a PM window rather than a real OS/2 console window and ANSI codes are probably not interpreted there.

When running from an OS/2 command prompt, "pe" is used
for Win32 graphics programs, and "pec" is used to run
console mode programs. "pec" does not open a new window
and it looks totally like it stays in the OS/2 command prompt.

But I may be mistaken.

> > I think the VIO thing is what is swallowing the ESC character. 
> > And what I need to do is switch to standard streams.

> I don't think that you can ever get cursor keys from stdin under OS/2 - only regular characters are delivered that way. You'd need to use the (16-bit) kbdcalls with thunking, or some wrapper around it (EMXWRAP.DLL from EMX runtime, or something else). 

Crikey. I thought that OS/2 2.0 had done a total switch to 32-bit.

Ok, thanks for the tip. If that's what I need to use, so be it.
It will all be hidden in my C library anyway.

Thanks. Paul.

Back to comp.os.os2.programmer.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

win32 via odin Paul Edwards <mutazilah@gmail.com> - 2023-07-13 13:46 -0700
  Re: win32 via odin Dave Yeo <dave.r.yeo@gmail.com> - 2023-07-13 20:30 -0700
    Re: win32 via odin Paul Edwards <mutazilah@gmail.com> - 2023-07-14 22:02 -0700
      Re: win32 via odin xhajt03 <xhajt03@gmail.com> - 2023-07-15 15:34 -0700
        Re: win32 via odin Paul Edwards <mutazilah@gmail.com> - 2023-07-15 16:05 -0700
          Re: win32 via odin Paul Edwards <mutazilah@gmail.com> - 2023-07-15 17:56 -0700
            Re: win32 via odin Paul Edwards <mutazilah@gmail.com> - 2023-07-15 18:29 -0700
            Re: win32 via odin xhajt03 <xhajt03@gmail.com> - 2023-07-15 20:43 -0700
              Re: win32 via odin Paul Edwards <mutazilah@gmail.com> - 2023-07-15 23:17 -0700
                Re: win32 via odin Paul Edwards <mutazilah@gmail.com> - 2023-07-15 23:47 -0700
                Re: win32 via odin Paul Edwards <mutazilah@gmail.com> - 2023-07-16 02:20 -0700
                Re: win32 via odin xhajt03 <xhajt03@gmail.com> - 2023-07-16 03:58 -0700
                Re: win32 via odin Paul Edwards <mutazilah@gmail.com> - 2023-07-16 09:03 -0700
                Re: win32 via odin xhajt03 <xhajt03@gmail.com> - 2023-07-16 14:51 -0700
              Re: win32 via odin Paul Edwards <mutazilah@gmail.com> - 2023-12-20 10:35 +0800
                Re: win32 via odin Paul Edwards <mutazilah@gmail.com> - 2023-12-20 14:16 +0800
                Re: win32 via odin Paul Edwards <mutazilah@gmail.com> - 2023-12-20 16:24 +0800
                Re: win32 via odin Paul Edwards <mutazilah@gmail.com> - 2023-12-20 20:10 +0800
            Re: win32 via odin Dave Yeo <dave.r.yeo@gmail.com> - 2023-07-16 20:30 -0700
          Re: win32 via odin Dave Yeo <dave.r.yeo@gmail.com> - 2023-07-16 20:44 -0700
            Re: win32 via odin Paul Edwards <mutazilah@gmail.com> - 2023-07-16 21:11 -0700
              Re: win32 via odin Dave Yeo <dave.r.yeo@gmail.com> - 2023-07-16 23:04 -0700
                Re: win32 via odin Dave Yeo <dave.r.yeo@gmail.com> - 2023-07-16 23:11 -0700
                Re: win32 via odin Paul Edwards <mutazilah@gmail.com> - 2023-07-17 07:07 -0700
                Re: win32 via odin Paul Edwards <mutazilah@gmail.com> - 2023-07-17 07:13 -0700
                Re: win32 via odin Paul Edwards <mutazilah@gmail.com> - 2023-07-17 07:48 -0700
                Re: win32 via odin Paul Edwards <mutazilah@gmail.com> - 2023-07-17 16:50 -0700

csiph-web