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, 31.07.2023, 15:21

> > > ANSIplus is most likely what you need.
> >
> However, the workaround is to make a DOS version of
> Microemacs 3.6, which should at least allow me to edit
> small files.
>
> I have done that, but ran into an apparently unrelated
> issue trying to test it, so I'll report back when I'm
> finished with that.

Everything worked!

I have released a new uc8086 at http://pdos.org with
an me.exe

You can edit small files on PDOS/86, and presumably
bigger files with Freedos.

Freedos requires ansiplus installed.

One side-effect was that I can't use cursor up for
command recall on freedos.

Regardless - common source code - all C90-compliant
with ANSI X3.64 extensions. On a mainframe there is
some change to deal with ASCII vs EBCDIC issues, but
that's all.


http://www.sweger.com/ansiplus/AnsiPlus.html

E:\>grep -i ansi config.sys
config.sys: device=C:\ANSIPLUS\ANSIPLUS.exe

E:\>grep -i ansi autoexec.bat
autoexec.bat: path c:\freedos\bin;c:\hx\bin;c:\winpath;d:\dos;
d:\;c:\dospath;c:\watcom\binnt;c:\watcom\binw;c:\ansiplus

E:\>grep -i setaplus autoexec.bat
autoexec.bat: setaplus loadkeys pdoskeys.cfg

E:\>type pdoskeys.cfg
27,27,27
0,72,27,"[A"
0,80,27,"[B"
0,77,27,"[C"
0,75,27,"[D"

E:\>

 

Complete thread:

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