Changeset 057e93c in git for Singular/misc.cc
- Timestamp:
- Feb 27, 1998, 3:06:27 PM (26 years ago)
- Branches:
- (u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
- Children:
- a18fae54e4f760ce0cd7832679f5171a88c3fde7
- Parents:
- 1c31dc7f319d025944d44dcc090983f7cb03be12
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/misc.cc
r1c31dc r057e93c 73 73 #endif 74 74 /*4 private data of other modules*/ 75 I_FEbase();76 75 memset(&sLastPrinted,0,sizeof(sleftv)); 77 76 sLastPrinted.rtyp=NONE; … … 227 226 && *fgets(buffer, BUF_LEN, help) != EOF 228 227 && buffer[0] != FIN_INDEX) 229 { (void)printf("%s", buffer); 228 { 229 printf("%s", buffer); 230 230 if(lines++> MAX_LINES) 231 { printf(231 { 232 232 #ifdef macintosh 233 "\n Press <RETURN> to continue or x and <RETURN> to exit help.\n");233 printf("\n Press <RETURN> to continue or x and <RETURN> to exit help.\n"); 234 234 #else 235 "\n Press <RETURN> to continue or x to exit help.\n");235 printf("\n Press <RETURN> to continue or x to exit help.\n"); 236 236 #endif 237 237 fflush(stdout); … … 247 247 if(*close!='x') 248 248 { 249 printf(250 249 #ifdef macintosh 251 250 printf("\nEnd of part. Press <RETURN> to continue or x and <RETURN> to exit help.\n"); 252 251 #else 253 252 printf("\nEnd of part. Press <RETURN> to continue or x to exit help.\n"); 254 253 #endif 255 254 fflush(stdout); … … 341 340 Print("from lib %s\n",lib); 342 341 s=iiGetLibProcBuffer(IDPROC(h), example ? 2 : 0); 343 if (!example) { 344 PrintS(s); 345 FreeL((ADDRESS)s); 346 } 347 else { 348 if (s!=NULL) { 349 if (strlen(s)>5) iiEStart(s); /*newBuffer(s,BT_execute);*/ 350 else FreeL((ADDRESS)s); 351 } 342 if (!example) 343 { 344 PrintS(s); 345 FreeL((ADDRESS)s); 346 } 347 else 348 { 349 if (s!=NULL) 350 { 351 if (strlen(s)>5) iiEStart(s,IDPROC(h)); 352 else FreeL((ADDRESS)s); 353 } 352 354 } 353 355 } … … 438 440 {"interrupt", Sy_bit(OPT_INTERRUPT), ~Sy_bit(OPT_INTERRUPT) }, 439 441 {"sugarCrit", Sy_bit(OPT_SUGARCRIT), ~Sy_bit(OPT_SUGARCRIT) }, 440 {"teach", Sy_bit(OPT_DEBUG), ~Sy_bit(OPT_DEBUG) }, 442 {"teach", Sy_bit(OPT_DEBUG), ~Sy_bit(OPT_DEBUG) }, 441 443 /* 7 cancel unit */ 442 444 {"morePairs", Sy_bit(OPT_MOREPAIRS), ~Sy_bit(OPT_MOREPAIRS) },
Note: See TracChangeset
for help on using the changeset viewer.