Changeset 82ab6f in git


Ignore:
Timestamp:
May 1, 2005, 10:58:03 PM (19 years ago)
Author:
Michael Brickenstein <bricken@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '79dfb9a6d258bfeb991428bdb25b8f55e9e809b2')
Children:
d1a54b1d03b681db8f1032e2f169a09db7a0faf7
Parents:
a0ddf2ce9398ab9d21db077c3aab6d162a7a76ad
Message:
*bricken: support for surf, even if now X is active


git-svn-id: file:///usr/local/Singular/svn/trunk@7980 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/surf.lib

    ra0ddf2 r82ab6f  
    11//last change: 02.03.2001 (Eric Westenberger)
    22///////////////////////////////////////////////////////////////////////////////
    3 version="$Id: surf.lib,v 1.21 2002-07-17 08:49:08 keilen Exp $";
     3version="$Id: surf.lib,v 1.22 2005-05-01 20:58:03 bricken Exp $";
    44category="Visualization";
    55info="
     
    115115    }
    116116  }
    117   string surf_call = "surf ";
     117  string surf_call;
     118  surf_call = "surf ";
    118119  if (defined(extra_surf_opts))
    119120  {
    120121    surf_call = surf_call + extra_surf_opts + " ";
    121122  }
    122 //  "calling surf (by Stephan Endrass) for drawing";
    123   i=system("sh",surf_call + l +" >/dev/null 2>&1");
     123  surf_call =surf_call+ l +" >/dev/null 2>&1";
     124 
     125  if("ppcMac-darwin"!=system("uname")){
     126     i=system("sh",surf_call);
     127  } else {
     128    surf_call= surf_call + " || "+ "singularsurf " +
     129      extra_surf_opts + " " +l +" >/dev/null 2>&1";
     130      print(surf_call);
     131      i=system("sh",surf_call);
     132  }
     133
    124134  if (i!=0)
    125135  {
Note: See TracChangeset for help on using the changeset viewer.