HP3000-L Archives

April 1998, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Glenn Cole <[log in to unmask]>
Reply To:
Date:
Thu, 16 Apr 1998 16:41:03 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (25 lines)
Patrick Santucci writes:

> ECHO  <esc>&oC!R1COMMAND     <-- Careful here, this isn't how esc looks
> SET ECHO=OFF                     on a 3000 -- I had to improvise for
> INPUT R1STATUS                   this email.

I hope this doesn't mean the escape is hard-coded in the command file!
That must be *awful* when you list it!

Please consider using something like

        ECHO ![chr(27)]&oC!R1COMMAND
or
        ECHO ![ chr(27) + "&oC" + R1COMMAND ]
or even
        setvar  esc  chr(27)
        echo ![ esc + "&oC" + R1COMMAND ]

Not only will you not have to change anything for email,
you can also list command files without fear.

--Glenn "one hard-coded esc-h esc-J can ruin your whole day" Cole
  Software al dente, Inc.
  [log in to unmask]

ATOM RSS1 RSS2