HP3000-L Archives

July 2001, Week 2

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:
Donna Garverick <[log in to unmask]>
Reply To:
Donna Garverick <[log in to unmask]>
Date:
Wed, 11 Jul 2001 10:52:57 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (25 lines)
Forrest Smith wrote:

> I am trying to edit a command file that has some highliting in it.  How is the highliting created in a command file etc.?

it can be done crudely or elegantly....and it sounds like you hit a crude implementation.  for example to turn on
'halfbright', the escape sequence is 'esc&dH' (no quotes, case is important).  escape is a character just like (say) 'a' --
you just can't see it...and it causes all manner of hair-pulling :-)

since you're an ecometry site, i believe you have access to qedit.  in that case, once inside qedit, type "set decimal on"
and "c '27 to ~" (tilde can be most any character -- but one that you're confident isn't already in the file).  that should
make the command file more easily editted.

*however* to avoid this pain and agony, try defining a ci variable to hold the value of escape (that is -- setvar my_esc
char(27)).  then with simple variable manipulation you can create all the highlight variable string you need/want *and* the
file can still be easily editted.        - d

--
Donna Garverick     Sr. System Programmer
925-210-6631        [log in to unmask]

>>>MY opinions, not Longs Drug Stores'<<<

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2