Changeset db8559 in git
- Timestamp:
- Feb 11, 2002, 1:03:58 PM (21 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'f875bbaccd0831e36aaed09ff6adeb3eb45aeb94')
- Children:
- bd59178f61b0d020cc0cf4b16a448d78a242dfce
- Parents:
- ee2c298cf0d2f434245b20c263dd6cf6a731d450
- Location:
- Singular
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/emacs.cc
ree2c29 rdb8559 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: emacs.cc,v 1.2 1 2001-10-09 16:35:57Singular Exp $ */4 /* $Id: emacs.cc,v 1.22 2002-02-11 12:03:58 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: Esingular main file … … 13 13 #include <string.h> 14 14 15 #ifdef WINNT15 #ifdef ix86_Win 16 16 #include <windows.h> 17 17 #endif … … 44 44 # define UP_DIR ".." 45 45 46 #ifndef WINNT46 #ifndef ix86_Win 47 47 void error(const char *fmt, ...) 48 48 { … … 196 196 } 197 197 198 #ifdef WINNT199 #define EXTRA_XTERM_ARGS "+vb -sl 2000 -fb Courier-bold-1 3-tn linux -cr Red3"198 #ifdef ix86_Win 199 #define EXTRA_XTERM_ARGS "+vb -sl 2000 -fb Courier-bold-12 -tn linux -cr Red3" 200 200 #else 201 201 #define EXTRA_XTERM_ARGS "" … … 256 256 if ((emacs_load==NULL)||(!access(emacs_load,X_OK))) 257 257 emacs_load = getenv("SINGHOME"); 258 #endif 258 #endif 259 259 sprintf(cwd, "%s/.emacs-singular", emacs_load); 260 260 if (! access(cwd, R_OK)) -
Singular/feResource.cc
ree2c29 rdb8559 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: feResource.cc,v 1.3 3 2002-01-29 17:26:47Singular Exp $ */4 /* $Id: feResource.cc,v 1.34 2002-02-11 12:03:58 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: management of resources … … 31 31 32 32 #if defined(MAKE_DISTRIBUTION) 33 #if defined( WINNT) && ! defined(__CYGWIN__)33 #if defined(ix86_Win) && ! defined(__CYGWIN__) 34 34 #define SINGULAR_DEFAULT_DIR "/Singular/"S_VERSION1 35 35 #elif defined(macintosh) … … 90 90 {"info", 'I', feResBinary,"INFO", "%b/info", ""}, 91 91 {"tkinfo", 'T', feResBinary,"TKINFO", "%b/tkinfo", ""}, 92 #ifdef WINNT92 #ifdef ix86_Win 93 93 {"rxvt", 'X', feResBinary,"RXVT", "%b/rxvt", ""}, 94 94 #else … … 122 122 123 123 char fePathSep = 124 #if defined( WINNT)124 #if defined(ix86_Win) 125 125 ';' 126 126 #elif defined(macintosh) … … 143 143 static void mystrcpy(char* d, char* s); 144 144 static char* feSprintf(char* s, const char* fmt, int warn = -1); 145 #if defined( WINNT) && defined(__GNUC__)145 #if defined(ix86_Win) && defined(__GNUC__) 146 146 // utility function of Cygwin32: 147 147 extern "C" int cygwin32_posix_path_list_p (const char *path); … … 180 180 void feInitResources(char* argv0) 181 181 { 182 #if defined( WINNT) && defined(__GNUC__)182 #if defined(ix86_Win) && defined(__GNUC__) 183 183 if (cygwin32_posix_path_list_p (getenv("PATH"))) 184 184 fePathSep = ':'; … … 410 410 } 411 411 #ifndef macintosh 412 #ifdef WINNT// stupid WINNT sometimes gives you argv[0] within ""412 #ifdef ix86_Win // stupid WINNT sometimes gives you argv[0] within "" 413 413 if (*feArgv0 == '"') 414 414 { … … 479 479 printf("Clean value:%s\n", value); 480 480 #endif 481 #ifdef WINNT481 #ifdef ix86_Win 482 482 #ifdef RESOURCE_DEBUG 483 483 printf("Clean WINNT value:%s\n", value); -
Singular/fehelp.cc
ree2c29 rdb8559 91 91 static heBrowser_s heHelpBrowsers[] = 92 92 { 93 #ifdef WINNT93 #ifdef ix86_Win 94 94 { "html", heDummyInit, heHtmlHelp}, 95 95 { "winhlp", heDummyInit, heWinHelp}, … … 204 204 // First, try emacs, if emacs-option is set 205 205 // Under Win, always use html 206 #ifndef WINNT206 #ifndef ix86_Win 207 207 if (feOptValue(FE_OPT_EMACS) != NULL) 208 208 { … … 757 757 return FALSE; 758 758 } 759 #ifndef WINNT759 #ifndef ix86_Win 760 760 if (getenv("DISPLAY") == NULL) 761 761 { … … 805 805 sprintf(url, "%s%s/index.htm", urltype, htmldir); 806 806 } 807 #ifndef WINNT807 #ifndef ix86_Win 808 808 sprintf(sys, "%s --remote 'OpenUrl(%s)' > /dev/null 2>&1", 809 809 #else … … 890 890 char sys[MAX_SYSCMD_LEN]; 891 891 892 #ifdef WINNT893 #define EXTRA_XTERM_ARGS "+vb -sb -fb Courier-bold-1 3-tn linux -cr Red3"892 #ifdef ix86_Win 893 #define EXTRA_XTERM_ARGS "+vb -sb -fb Courier-bold-12 -tn linux -cr Red3" 894 894 #else 895 895 #define EXTRA_XTERM_ARGS "" … … 916 916 static BOOLEAN heTkinfoInit(int warn) 917 917 { 918 #ifndef WINNT918 #ifndef ix86_Win 919 919 if (getenv("DISPLAY") == NULL) 920 920 {
Note: See TracChangeset
for help on using the changeset viewer.