<html><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Courier New";}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal>I believe this should do it. Fixed it for me.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Replaces “[?7h”, “[1L”, and “[1M” with CR.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>According to <a href="http://www.inwap.com/pdp10/ansicode.txt">http://www.inwap.com/pdp10/ansicode.txt</a><o:p></o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:black'> [1L Insert blank line at current row (shift screen down)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:black'> [1M Delete the current line (shift screen up)<o:p></o:p></span></p><pre><span style='color:black'> [?7h = DECAWM - AutoWrap Mode, start newline after column 80<o:p></o:p></span></pre><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>--- hpuifilter.c.ORIG 2017-03-24 13:49:49.991710473 -0700<o:p></o:p></p><p class=MsoNormal>+++ hpuifilter.c 2017-03-24 13:50:35.467645620 -0700<o:p></o:p></p><p class=MsoNormal>@@ -545,8 +545,8 @@<o:p></o:p></p><p class=MsoNormal> filter(char *buf, int len)<o:p></o:p></p><p class=MsoNormal> {<o:p></o:p></p><p class=MsoNormal> static regmatch_t pmatch[1];<o:p></o:p></p><p class=MsoNormal>-#define N_REG 16 /* number of regexes in reg[][] */<o:p></o:p></p><p class=MsoNormal>-#define N_CRs 2 /* number of CR replacements */<o:p></o:p></p><p class=MsoNormal>+#define N_REG 19 /* number of regexes in reg[][] */<o:p></o:p></p><p class=MsoNormal>+#define N_CRs 5 /* number of CR replacements */<o:p></o:p></p><p class=MsoNormal> static regex_t preg[N_REG];<o:p></o:p></p><p class=MsoNormal> static char reg[N_REG][50] = { /* vt100/220 escape codes */<o:p></o:p></p><p class=MsoNormal> "\x1B""7\x1B\\[1;24r\x1B""8", /* ds */<o:p></o:p></p><p class=MsoNormal>@@ -570,6 +570,9 @@<o:p></o:p></p><p class=MsoNormal> /* replace these with CR */<o:p></o:p></p><p class=MsoNormal> "\x1B\\[0m", /* me */<o:p></o:p></p><p class=MsoNormal> "\x1B""E",<o:p></o:p></p><p class=MsoNormal>+ "\x1B\\[\\?7h",<o:p></o:p></p><p class=MsoNormal>+ "\x1B\\[1L",<o:p></o:p></p><p class=MsoNormal>+ "\x1B\\[1M",<o:p></o:p></p><p class=MsoNormal> };<o:p></o:p></p><p class=MsoNormal> char bufstr[3] = {ESC, '\x07', '\0'},<o:p></o:p></p><p class=MsoNormal> ebuf[256];<o:p></o:p></p></div>
<br />
<br />
--<br />
<span style="color:rgb(31,73,153);font-size:11.0pt;font-family:"><strong>Kalani Sanders</strong></span> <span style="color:rgb(153,153,153);font-size:11.0pt;font-family:"><strong> | System Administrator</strong></span><br />
<span style="font-size:10.0pt;font-family:"><a href="mailto:ksanders@asprack.com">ksanders@asprack.com</a><br />
(714) 902-2019<br />
(714) 902-2019 Fax<br />
<a href="http://www.advancestorage.com" target="_blank">www.advancestorage.com</a><br />
</span>
<span>
<table border="0" cellspacing="0" cellpadding="0"><tr><td><IMG border="0" alt="Advance" src="cid:117032416574302207@us-mta-112.us.mimecast.lan" ></td></tr></table>
</span>
<span style="font-size:11.0pt;font-family:"><strong>Advance Storage Products</strong><br /></span>
<span style="font-size:8.0pt;font-family:">
15302 Pipeline Lane<br />
Huntington Beach, CA 92649<br />
</span>
<br />
<span style="color:#0082C6"><strong>Quality You Trust</strong></span>
<br />
<br />
<br />
The contents of this e-mail message and any attachments are <strong><em>confidential</em></strong> and are intended solely for addressee.
<br />
<br />
</body></html>