<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Ansicon looks interesting<br>freepascal also has functions built-in but that would need conversion of the code.<br>maybe I should forget dos/windows, it's almost dead anyhow :)<br><br>Dan.<br><br><div><hr id="stopSpelling">From: dave.g4ugm@gmail.com<br>To: simh@trailing-edge.com<br>Date: Wed, 5 Aug 2015 21:21:36 +0100<br>Subject: Re: [Simh] off-topic basic translator<br><br><style><!--
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal {
font-size:12.0pt;
font-family:"Times New Roman",serif;
}

.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink {
color:#0563C1;
text-decoration:underline;
}

.ExternalClass span.ecxMsoHyperlinkFollowed {
color:#954F72;
text-decoration:underline;
}

.ExternalClass p {
font-size:12.0pt;
font-family:"Times New Roman",serif;
}

.ExternalClass span.ecxEmailStyle18 {
font-family:"Calibri",sans-serif;
color:#1F497D;
}

.ExternalClass span.ecxSpellE {
}

.ExternalClass .ecxMsoChpDefault {
font-size:10.0pt;
}

.ExternalClass div.ecxWordSection1 {
}

--></style><div class="ecxWordSection1"><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;">As I am sure most of you know ANSI escapes don’t work in “modern” windows command shell.</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;"> </span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;"><a href="http://stackoverflow.com/questions/16755142/how-to-make-win32-console-recognize-ansi-vt100-escape-sequences" target="_blank">http://stackoverflow.com/questions/16755142/how-to-make-win32-console-recognize-ansi-vt100-escape-sequences</a></span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;"> </span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;">Dave Wade</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;">G4UGM</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;"> </span></p><div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt;"><div><div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm;"><p class="ecxMsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;" lang="EN-US">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;" lang="EN-US"> Simh [mailto:simh-bounces@trailing-edge.com] <b>On Behalf Of </b>Dan Gahlinger<br><b>Sent:</b> 05 August 2015 20:57<br><b>To:</b> simh@trailing-edge.com<br><b>Subject:</b> Re: [Simh] off-topic basic translator</span></p></div></div><p class="ecxMsoNormal"> </p><div><p class="ecxMsoNormal"><span style="font-family:"Calibri",sans-serif;">Another issue I'm running into which should be fun, is VT escape sequences<br><br>eg:<br>170 PRINT ESC+"Y"+CHR$(53)+CHR$(33);\INPUT #1;"PRESS RETURN TO CONTINUE";A$<br><br>That puts the cursor at a specific place on screen,<br>these were built on VT-52 and VT-100 terminals with fixed screen size.<br>using Linux you can get ANSI support, but the screen could be a vastly different size,<br>of course, we can just make it run like normal.<br><br>the other problem is the escape sequences themselves may not work any more.<br>they seem to work in Linux with ANSI enabled,<br>will they work on Mac CLI (maybe) or DOS/Windows ? portability is important.<br><br>But, I'm not going to do a ton of work writing cursor routines for a dozen basic programs from the 80's.<br><br>and btw freepascal has incredible string handling for those doubters out there...<br><br>Dan.</span></p></div></div></div><br>_______________________________________________
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh</div>                                        </div></body>
</html>