Subject: | |
From: | |
Reply To: | |
Date: | Wed, 11 Jul 2001 13:14:02 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
The elegant way to include highlighting (a.k.a.: Escape seq, for terminal/printer commands) is as follows:
EXAMPLE:
Setvar NOENH '![chr(%33)]' + '&d@'
Setvar BLINK '![chr(%33)]' + '&dA'
Setvar UPCURSOR '![chr(%33)]' + 'A'
Setvar LEFTCURSOR '![chr(%33)]' + 'D'
Echo !HPDATEF !HPTIMEF !BLINK Moving files into place........
[code to move files] > $NULL
Echo !UPCURSOR!LEFTCURSOR
Echo !HPDATEF !HPTIMEF !NOENH Moving files into place COMPLETE.
The crude way is to actually type the ESC key to place unprintable characters into the ASCII file being edited. An example can't be shown because of it being unprintable ;-)
If you are editing a file like this you will need to enable 'DISPLAY FUNCTIONS' to see these characters. Same applies if you want to print it, you'll need to enable 'DISPLAY FUNCTIONS' on the printer.
My rule: DO NOT PUT UNPRINTABLE CHARACTERS INTO SOURCE CODE FILES!
--
Michael Anderson
Spring Independent School District
16717 Ella Boulevard
Houston, Texas 77090-4299
office: 281.586.1105
fax: 281.586.1187
-
>>> Forrest Smith <[log in to unmask]> 07/11/01 12:25PM >>>
I am trying to edit a command file that has some highliting in it. How is the highliting created in a command file etc.?
Forrest Smith
Ecometry Administrator
(760) 918-3705
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|