[Simh] off-topic basic translator

Dave G4UGM dave.g4ugm at gmail.com
Wed Aug 5 16:21:36 EDT 2015


As I am sure most of you know ANSI escapes don't work in "modern" windows
command shell.
 
http://stackoverflow.com/questions/16755142/how-to-make-win32-console-recogn
ize-ansi-vt100-escape-sequences
 
Dave Wade
G4UGM
 
From: Simh [mailto:simh-bounces at trailing-edge.com] On Behalf Of Dan
Gahlinger
Sent: 05 August 2015 20:57
To: simh at trailing-edge.com
Subject: Re: [Simh] off-topic basic translator
 
Another issue I'm running into which should be fun, is VT escape sequences

eg:
170 PRINT ESC+"Y"+CHR$(53)+CHR$(33);\INPUT #1;"PRESS RETURN TO CONTINUE";A$

That puts the cursor at a specific place on screen,
these were built on VT-52 and VT-100 terminals with fixed screen size.
using Linux you can get ANSI support, but the screen could be a vastly
different size,
of course, we can just make it run like normal.

the other problem is the escape sequences themselves may not work any more.
they seem to work in Linux with ANSI enabled,
will they work on Mac CLI (maybe) or DOS/Windows ? portability is important.

But, I'm not going to do a ton of work writing cursor routines for a dozen
basic programs from the 80's.

and btw freepascal has incredible string handling for those doubters out
there...

Dan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.trailing-edge.com/pipermail/simh/attachments/20150805/3d719a92/attachment-0001.html>


More information about the Simh mailing list