Subject: | |
From: | |
Reply To: | |
Date: | Thu, 12 Jul 2001 13:14:27 +0100 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
I have a standard setting in Qedit for handling escape
sequences:
SET VI ESC "\"
In VIsual mode any escape sequences will appear in
full with *\* where the escape character appears.
To see the finished result: in Line-mode *List* the
appropriate lines.
Martin Mason
-----Original Message-----
From: Donna Garverick [mailto:[log in to unmask]]
Sent: 11 July 2001 18:53
To: [log in to unmask]
Subject: Re: [HP3000-L] Highliting in an editor
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'<<<
____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|