src/GamIO/FrameMaker.cc
// Input        none    : Output filename
//		warn    : Warning flag
// Return       FME     : A string for the FrameMaker
//                        executable command (hopefully)
// Note         	: Add more FrameMaker paths to FMNames in
//			  FMSeekStrings as needed.
Input        none    : Output filename
warn    : Warning flag
Return       FME     : A string for the FrameMaker
executable command (hopefully)
Note           : Add more FrameMaker paths to FMNames in
FMSeekStrings as needed.
Input none : Output filename warn : Warning flag Return FME : A string for the FrameMaker executable command ( hopefully ) Note : Add more FrameMaker paths to FMNames in FMSeekStrings as needed .
std::vector<std::string> FMSeekStrings()
  {
  std::vector<std::string> FMNames;
  std::string FM("FrameMaker");
  std::string WFM("wframe");
  std::string UB("/usr/bin/");
  std::string ULB("/usr/local/bin/");
  std::string UFW("/usr/freeware/bin/");
  std::string CW("/cygwin/bin/");
  std::string CWU("/cygwin/usr/bin");
  std::string CWUL("/cygwin/usr/local/bin");
  std::string MW("/mingw");
  std::string MWB("/mingw/bin");
  std::string AD("/Adobe");
  std::string PF("/Program Files");
  std::string FM55("/FrameMaker5.5");
  std::string FM6("/FrameMaker6");
  FMNames.push_back(FM);			
  FMNames.push_back(ULB + FM);			
  FMNames.push_back(UB + FM);			
  FMNames.push_back(UFW + FM);			
  FMNames.push_back(WFM);			 Windoze
  FMNames.push_back(ULB + WFM);			
  FMNames.push_back(UB + WFM);			
  #if defined(_MSC_VER) || defined(__MINGW32__)
    std::string DC("C:");
    std::string DD("D:");
    FMNames.push_back(DC + PF  + AD + FM55 + "/" + FM + ".exe");
    FMNames.push_back(DC + CW   + FM);
    FMNames.push_back(DC + CWU  + FM);
    FMNames.push_back(DC + CWUL + FM);
    FMNames.push_back(DC + ULB  + WFM);
    FMNames.push_back(DC + CW   + WFM);
    FMNames.push_back(DC + CWU  + WFM);
    FMNames.push_back(DC + CWUL + WFM);
    FMNames.push_back(DD + ULB  + FM);
    FMNames.push_back(DD + CW   + FM);
    FMNames.push_back(DD + CWU  + FM);
    FMNames.push_back(DD + CWUL + FM);
    FMNames.push_back(DD + ULB  + WFM);
    FMNames.push_back(DD + CW   + WFM);
    FMNames.push_back(DD + CWU  + WFM);
    FMNames.push_back(DD + CWUL + WFM);
  #endif
  return FMNames;
  }
std :: vector < std :: string > FMSeekStrings ( ) { std :: vector < std :: string > FMNames ; std :: string FM ( " " ) ; std :: string WFM ( " " ) ; std :: string UB ( " " ) ; std :: string ULB ( " " ) ; std :: string UFW ( " " ) ; std :: string CW ( " " ) ; std :: string CWU ( " " ) ; std :: string CWUL ( " " ) ; std :: string MW ( " " ) ; std :: string MWB ( " " ) ; std :: string AD ( " " ) ; std :: string PF ( " " ) ; std :: string FM55 ( " " ) ; std :: string FM6 ( " " ) ; FMNames . push_back ( FM ) ; FMNames . push_back ( ULB + FM ) ; FMNames . push_back ( UB + FM ) ; FMNames . push_back ( UFW + FM ) ; FMNames . push_back ( WFM ) ; FMNames . push_back ( ULB + WFM ) ; FMNames . push_back ( UB + WFM ) ; #if defined ( _MSC_VER ) || defined ( __MINGW32__ ) std :: string DC ( " " ) ; std :: string DD ( " " ) ; FMNames . push_back ( DC + PF + AD + FM55 + " " + FM + " " ) ; FMNames . push_back ( DC + CW + FM ) ; FMNames . push_back ( DC + CWU + FM ) ; FMNames . push_back ( DC + CWUL + FM ) ; FMNames . push_back ( DC + ULB + WFM ) ; FMNames . push_back ( DC + CW + WFM ) ; FMNames . push_back ( DC + CWU + WFM ) ; FMNames . push_back ( DC + CWUL + WFM ) ; FMNames . push_back ( DD + ULB + FM ) ; FMNames . push_back ( DD + CW + FM ) ; FMNames . push_back ( DD + CWU + FM ) ; FMNames . push_back ( DD + CWUL + FM ) ; FMNames . push_back ( DD + ULB + WFM ) ; FMNames . push_back ( DD + CW + WFM ) ; FMNames . push_back ( DD + CWU + WFM ) ; FMNames . push_back ( DD + CWUL + WFM ) ; #endif return FMNames ; }
Input        none    : Output filename
warn    : Warning flag
Return       FME     : A string for the FrameMaker
executable command (hopefully)
Note           : Add more FrameMaker paths to FMNames in
FMSeekStrings as needed.
Input none : Output filename warn : Warning flag Return FME : A string for the FrameMaker executable command ( hopefully ) Note : Add more FrameMaker paths to FMNames in FMSeekStrings as needed .
// If command local // GNUish install spot // Linux RPM install spot // SGI tardist install spot // If command local Windoze // Gnuish for cygwin // Why not for cygwin