Changeset 48ce9a in git for Singular/cntrlc.cc


Ignore:
Timestamp:
Jul 27, 2005, 11:59:27 AM (19 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '4a9821a93ffdc22a6696668bd4f6b8c9de3e6c5f')
Children:
58ac0853e446e66c1775b4ecbc279060079c866a
Parents:
dcb1b7234585e33f2aa5d87adfdbc154c0cd591e
Message:
*hannes: removed MWERKS and macintosh (Mac 9) code


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

Legend:

Unmodified
Added
Removed
  • Singular/cntrlc.cc

    rdcb1b7 r48ce9a  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: cntrlc.cc,v 1.48 2005-05-06 14:21:19 Singular Exp $ */
     4/* $Id: cntrlc.cc,v 1.49 2005-07-27 09:59:26 Singular Exp $ */
    55/*
    66* ABSTRACT - interupt handling
     
    495495#endif /* !MSDOS */
    496496
    497 //#ifdef macintosh
    498 //#include <Types.h>
    499 //#include <Events.h>
    500 //#include <OSEvents.h>
    501 //#include <CursorCtl.h>
    502 //
    503 ///*3
    504 //* macintosh only:
    505 //* side effect of ^C is to insert EOF at the end of the current
    506 //* input selection. We must drain input, reach this EOF, then clear it
    507 //*/
    508 //static void flush_intr(void)
    509 //{
    510 //  int c;
    511 //
    512 //  while ((c=getchar())!=EOF);
    513 //  clearerr(stdin);
    514 //}
    515 //
    516 ///*3
    517 //* macintosh only:
    518 //* spin beach ball in MPW, allows MPW-tool to go to the background
    519 //* so you can use the finder and interrupts
    520 //*/
    521 //static void beachball(void)
    522 //{
    523 //  Show_Cursor(HIDDEN_CURSOR);
    524 //  SpinCursor(10);
    525 //}
    526 //#endif
    527 
    528497#ifndef MSDOS
    529498//void test_int()
    530499//{
    531 //#ifndef macintosh
    532500//  if (siCntrlc!=0)
    533501//  {
     
    535503//    siCntrlc = FALSE;
    536504//    si_set_signal(SIGINT ,sigint_handler);
    537 ////#ifdef macintosh
    538 ////    flush_intr();
    539 ////#endif
    540505//    iiDebug();
    541506//    si_echo = saveecho;
    542507//  }
    543 //#endif
    544508//}
    545509#endif /* !MSDOS */
Note: See TracChangeset for help on using the changeset viewer.