Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

ANSI escapes for input (Developers)

posted by kerravon, Ligao, Free World North, 18.07.2023, 02:08

I have a fullscreen editor (microemacs 3.6) working
satisfactorily on PDOS/386. Running under Windows
requires a hack to get around a bug that I haven't
been able to find, and I don't use that anyway, so
it hasn't been a priority.

I now realize that DOS+HX+doslfn running under ArcaOS
(OS/2) is probably the environment I really want.

But traditionally DOS has only provided ANSI.SYS for
screen output, but not keyboard input.

I want the ESC [ A etc for cursor keys to come through
to my apps (like microemacs).

It is only with Windows 10 that Microsoft started allowing
that.

I would like to know if there is a reason keyboard input
for MSDOS is not ANSI standard (no driver), and whether
this should be changed with a DOS driver or in HX.

Also, the ANSI standard allows 2 ESC to be sent when the
user presses ESC, and this is what I want (and what PDOS
does), but it is not what Windows does. So I'd like this
to be configurable.

I was just about to raise an HX issue on github when I
realized that this may be a DOS question.

Thanks. Paul.

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 136 users online (2 registered, 134 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum