muta...@gmail.com
2022-02-17 08:53:56 UTC
Today I fixed the remaining important problem that was
stopping me from using a version of micro-emacs that
uses ANSI escape sequences under Windows (and thus
PDOS). I have replaced the micro-emacs executable that
directly wrote to 0xb8000 with this new one. That means
I no longer care if a PC manufacturer doesn't provide a
video card at 0xb8000. So long as their BIOS knows what
to do, even if it is in graphics mode, PDOS and micro-emacs
and other text-mode applications will work fine, which is
all I care about.
However, in the process I have lost ctrl-pagedown which
I use to get to the end of the file. Ideally ctrl-left/right/pgup/pgdwn
would exist.
As luck would have it, the escape sequences have some gaps:
https://en.wikipedia.org/wiki/ANSI_escape_code
e.g. between F5 and F6 there is ESC [ 16 ~
Any reason why I shouldn't use 4 of those unused escape
sequences in both PDOS and micro-emacs?
Or is there a better way of doing it?
I may end up slightly enhancing C90 and slightly enhancing
ANSI X3.64 as part of my PDOS development environment.
BFN. Paul.
stopping me from using a version of micro-emacs that
uses ANSI escape sequences under Windows (and thus
PDOS). I have replaced the micro-emacs executable that
directly wrote to 0xb8000 with this new one. That means
I no longer care if a PC manufacturer doesn't provide a
video card at 0xb8000. So long as their BIOS knows what
to do, even if it is in graphics mode, PDOS and micro-emacs
and other text-mode applications will work fine, which is
all I care about.
However, in the process I have lost ctrl-pagedown which
I use to get to the end of the file. Ideally ctrl-left/right/pgup/pgdwn
would exist.
As luck would have it, the escape sequences have some gaps:
https://en.wikipedia.org/wiki/ANSI_escape_code
e.g. between F5 and F6 there is ESC [ 16 ~
Any reason why I shouldn't use 4 of those unused escape
sequences in both PDOS and micro-emacs?
Or is there a better way of doing it?
I may end up slightly enhancing C90 and slightly enhancing
ANSI X3.64 as part of my PDOS development environment.
BFN. Paul.