pawsNclaws has asked for the wisdom of the Perl Monks concerning the following question:

In order to get an installation of MikTeX working, I have installed Strawberry Perl, and the ps2eps script. However, when I invoke the ps2eps script from the command line with option -h, instead of getting the help menu, it starts reading from standard input. After comparing notes with a user who has a working installation, it is clear that something is not right. But what? WinVista / Strawberry Perl 5.10.0.3

Replies are listed 'Best First'.
Re: ps2eps / MikTeX installation
by Anonymous Monk on Mar 08, 2009 at 20:00 UTC
    how did you install ps2eps? how are you invoking ps2eps?
      Followed these instructions, downloaded with the script package:

      The best possibility is to use associated file types under Windows NT/2000/XP:
      1.) rename ps2eps to ps2eps.pl and
      done ------------------------------
      2.) SET PATHEXT=.pl;%PATHEXT% or use the settings -> control panel -> system -> "advanced" tab -> environment variables and edit the PATHEXT entry accordingly.
      added .pl to pathext in Control Panel > System > Advanced System Settings > Environment Variables
      3.) then simply typing ps2eps should invoke ps2eps correctly Another option is to call perl directly: perl ps2eps ... The script assumes that you have "gswin32c" as postscript interpreter in your path. Under Windows ps2eps can perform wildcard expansion now on its own. and tried invoking on the console command line with ps2eps -h

      n.b. I
      do have gswin32c as an executable file.