Philip TAYLOR | 7 Aug 12:22

Options/Configurations/PERL not appearing

Seeking to add a PERL button to WinEDT (Build: 20040513  (v. 5.4)),
I downloaded WinEDT_PerlCC.zip and followed the instructions to
the best of my ability.  There was no trace of a WinEDT folder
under any of the "Application data" directories, but Search
found a WinEDT folder under C:\Layered products\WinEDT team
that contained a sub-directory "Config".  Assuming this to be
the correct location, I created a sub-sub-directory PERL and
unpacked WinEDT_PerlCC.zip to that directory.  However, on
re-starting WinEDT, "Options/Configurations" does not offer
a PERL option.  Can you help, please.  And a subsidiary
question : how does one interrogate WinEDT to ascertain
the expansion of WinEDT variables such as "%b" ?

Philip Taylor

J.Fine | 7 Aug 13:31
Favicon

RE: Options/Configurations/PERL not appearing

> -----Original Message-----
> From: Philip TAYLOR [mailto:P.Taylor <at> Rhul.Ac.Uk] 

> Seeking to add a PERL button to WinEDT (Build: 20040513  (v. 5.4)),
> I downloaded WinEDT_PerlCC.zip and followed the instructions to
> the best of my ability.

[snip]

The installation instructions on the page
    http://www.winedt.org/Config/modes/perl.php
were, it says, 
    Last update on: 27.11.2001

It might help to know what version of Windows you are using.

--

-- 
Jonathan

---------------------------------
The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a
charity registered in Scotland (SC 038302).

Philip TAYLOR | 7 Aug 12:37

Re: Options/Configurations/PERL not appearing

Win/XP, SP2.
** Phil.
--------
J.Fine wrote:

> It might help to know what version of Windows you are using.

J.Fine | 7 Aug 14:26
Favicon

RE: Options/Configurations/PERL not appearing

> J.Fine wrote:
> 
> > It might help to know what version of Windows you are using.
> 

> -----Original Message-----
> From: Philip TAYLOR [mailto:P.Taylor <at> Rhul.Ac.Uk] 

> Win/XP, SP2.

You said you downloaded WinEdt_PerlCC.zip.

The downloads page
   http://www.winedt.org/Config/modes/perl.php
suggests that for XP you download a different file.

--

-- 
Jonathan

---------------------------------
The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a
charity registered in Scotland (SC 038302).

Philip TAYLOR | 7 Aug 14:43

Re: Options/Configurations/PERL not appearing

Thank you, Jonathan : in fact, the vanilla ZIP
file was fine but I had failed to read the
instruction "... and execute install.edt".
I now have a PERL configuration.

** Phil.
--------
J.Fine wrote:

> You said you downloaded WinEdt_PerlCC.zip.
> 
> The downloads page
>    http://www.winedt.org/Config/modes/perl.php
> suggests that for XP you download a different file.
> 

Philip TAYLOR | 7 Aug 14:57

Re: Options/Configurations/PERL not appearing


Philip TAYLOR wrote:

> I now have a PERL configuration.

And having re-saved Porphyrogenitus.perl using
the PERL mode, I can now process it from the
GUI using the PERL button.  But the CMD window
which this launches doesn't remain on the
screen after completion, so I can't read the
last line to see if it completed without error,
not can I find (in the usual place, Options /
Execution modes) any way to configure this :
could someone kindly point me at the correct
way to indicate that the PERL CMD window should
remain open/active until explicitly dismissed ?

** Phil.

WinEdt Team | 12 Aug 19:57
Favicon

Re: Options/Configurations/PERL not appearing

>  > I now have a PERL configuration.
>
>  And having re-saved Porphyrogenitus.perl using the PERL mode, I
>  can now process it from the GUI using the PERL button. But the
>  CMD window which this launches doesn't remain on the screen
>  after completion, so I can't read the last line to see if it
>  completed without error, not can I find (in the usual place,
>  Options / Execution modes) any way to configure this : could
>  someone kindly point me at the correct way to indicate that the
>  PERL CMD window should remain open/active until explicitly
>  dismissed ?

The installation instructions on the page
    http://www.winedt.org/Config/modes/perl.php
were, it says,
    Last update on: 27.11.2001

In other words this package is too old to be aware of Execution
Modes or anything like this.

If you use Find In Files (in Perl directory) and search for
"Run(" you'll find all instances where Perl executable is
called with this function. This would have to be replaced with
WinExe(...); with pause parameters turned on and then the
configuration would have to be reloaded. It may not be
completely straightforward but it can be done, for sure...

Or else the package would have to be revisited to use Execution
Modes Interface. However, Denis has moved on to other pressing
things and it will take a motivated user to bring the package
(Continue reading)

Philip TAYLOR (Ret'd | 12 Aug 20:27

Re: Options/Configurations/PERL not appearing

Many thanks, Alex : much appreciated.
Philip Taylor
--------
WinEdt Team wrote:
>>  [The PERL] package is too old to be aware of Execution
> Modes or anything like this.
> 
> If you use Find In Files (in Perl directory) and search for
> "Run(" you'll find all instances where Perl executable is
> called with this function. This would have to be replaced with
> WinExe(...); with pause parameters turned on and then the
> configuration would have to be reloaded. It may not be
> completely straightforward but it can be done, for sure...
> 
> Or else the package would have to be revisited to use Execution
> Modes Interface. However, Denis has moved on to other pressing
> things and it will take a motivated user to bring the package
> up to date... In the next version of WinEdt that should include
> running it in WinEdt's Console (if so desired)...
> 
> Best regards,
> 
> alex
> 


Gmane