| Title: | POLYCENTER Console Manager |
| Notice: | Kits, Scans, Docs on CSC32:: as PCM$KITS:,PCM$DOCS:, PCM$SCANS: |
| Moderator: | CSC32::BUTTERWORTH |
| Created: | Thu Aug 06 1992 |
| Last Modified: | Fri Jun 06 1997 |
| Last Successful Update: | Fri Jun 06 1997 |
| Number of topics: | 1541 |
| Total number of notes: | 6564 |
Hello,
I am helping a customer with a problem he has passing meta characters
in parameters passed to dcl command procedures.
He is setting up text in the Event Dialog Box with text followed by the
meta characters *^ . For example "LOGIN*^" this is so that the rest of
the line can be translated in the Text parameter in the Parameters to
Pass to Action in the Action Dialog Box.
We are finding that when the parameter is passed to the command
procedure it contains the literal string including the chars *^ instead
of the translation of the regular expression metacharcters.
Is this expected behaviour ? If so how can you translate the
metacharacters so that they can be passed to a command procedure.
Thanks for any comments on this.
Regards
Royston (UK CSC)
| T.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 965.1 | CSC32::BUTTERWORTH | Gun Control is a steady hand. | Thu Sep 07 1995 15:19 | 18 | |
Royston,
This will happen if ENS cannot retrieve the event text, i.e., it
hasn't been flushed to the file yet. When a controller daemon detects
an event, the match string from the event definition is passed to ENS.
When ENS processes the packet, it will call the routine to retrieve the
event text from the logfile. If this routine returns a NULL pointer, we
will pass what the controller daemon handed us in the original packet.
If we got the text fromt he routine then it will pass that to the
command file. Image based actions *alyways* receive the match string
passed to us from the line controller daemon thus it is up to the
image based action routine to call the CMRetrieveEventText routine.
routine to retrieve the event text and if that routine r
Regs,
Dan
| |||||