Changeset 3983 for libcaca/trunk


Ignore:
Timestamp:
Nov 21, 2009, 11:12:09 AM (10 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Disable SLang's own SIGINT handler
Location:
libcaca/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/XCode/libcacaXCode.xcodeproj/project.pbxproj

    r3955 r3983  
    1111                E6A7681810B560BB008B6DEC /* caca++.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "caca++.h"; path = "../cxx/caca++.h"; sourceTree = SOURCE_ROOT; };
    1212                E6A7681910B560BB008B6DEC /* cxxtest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = cxxtest.cpp; path = ../cxx/cxxtest.cpp; sourceTree = SOURCE_ROOT; };
     13                E6A7681B10B561CE008B6DEC /* caca-canvas.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "caca-canvas.c"; path = "../ruby/caca-canvas.c"; sourceTree = SOURCE_ROOT; };
     14                E6A7681C10B561CE008B6DEC /* caca-canvas.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "caca-canvas.h"; path = "../ruby/caca-canvas.h"; sourceTree = SOURCE_ROOT; };
     15                E6A7681D10B561CE008B6DEC /* caca-display.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "caca-display.c"; path = "../ruby/caca-display.c"; sourceTree = SOURCE_ROOT; };
     16                E6A7681E10B561CE008B6DEC /* caca-display.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "caca-display.h"; path = "../ruby/caca-display.h"; sourceTree = SOURCE_ROOT; };
     17                E6A7681F10B561CE008B6DEC /* caca-dither.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "caca-dither.c"; path = "../ruby/caca-dither.c"; sourceTree = SOURCE_ROOT; };
     18                E6A7682010B561CE008B6DEC /* caca-dither.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "caca-dither.h"; path = "../ruby/caca-dither.h"; sourceTree = SOURCE_ROOT; };
     19                E6A7682110B561CE008B6DEC /* caca-event.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "caca-event.c"; path = "../ruby/caca-event.c"; sourceTree = SOURCE_ROOT; };
     20                E6A7682210B561CE008B6DEC /* caca-event.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "caca-event.h"; path = "../ruby/caca-event.h"; sourceTree = SOURCE_ROOT; };
     21                E6A7682310B561CE008B6DEC /* caca-font.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "caca-font.c"; path = "../ruby/caca-font.c"; sourceTree = SOURCE_ROOT; };
     22                E6A7682410B561CE008B6DEC /* caca-font.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "caca-font.h"; path = "../ruby/caca-font.h"; sourceTree = SOURCE_ROOT; };
     23                E6A7682510B561CE008B6DEC /* caca.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = caca.c; path = ../ruby/caca.c; sourceTree = SOURCE_ROOT; };
     24                E6A7682610B561CE008B6DEC /* common.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = common.h; path = ../ruby/common.h; sourceTree = SOURCE_ROOT; };
    1325                E6DB65F610AECC7800B6F924 /* attr.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = attr.c; path = ../caca/attr.c; sourceTree = SOURCE_ROOT; };
    1426                E6DB65F710AECC7800B6F924 /* box.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = box.c; path = ../caca/box.c; sourceTree = SOURCE_ROOT; };
     
    102114                        isa = PBXGroup;
    103115                        children = (
     116                                E6A7681A10B561B9008B6DEC /* ruby */,
    104117                                E6A7681510B560AE008B6DEC /* cxx */,
    105118                                E6DB66FA10B176D100B6F924 /* configure.ac */,
     
    121134                        sourceTree = "<group>";
    122135                };
     136                E6A7681A10B561B9008B6DEC /* ruby */ = {
     137                        isa = PBXGroup;
     138                        children = (
     139                                E6A7681B10B561CE008B6DEC /* caca-canvas.c */,
     140                                E6A7681C10B561CE008B6DEC /* caca-canvas.h */,
     141                                E6A7681D10B561CE008B6DEC /* caca-display.c */,
     142                                E6A7681E10B561CE008B6DEC /* caca-display.h */,
     143                                E6A7681F10B561CE008B6DEC /* caca-dither.c */,
     144                                E6A7682010B561CE008B6DEC /* caca-dither.h */,
     145                                E6A7682110B561CE008B6DEC /* caca-event.c */,
     146                                E6A7682210B561CE008B6DEC /* caca-event.h */,
     147                                E6A7682310B561CE008B6DEC /* caca-font.c */,
     148                                E6A7682410B561CE008B6DEC /* caca-font.h */,
     149                                E6A7682510B561CE008B6DEC /* caca.c */,
     150                                E6A7682610B561CE008B6DEC /* common.h */,
     151                        );
     152                        name = ruby;
     153                        sourceTree = "<group>";
     154                };
    123155                E6DB65F510AECC5800B6F924 /* caca */ = {
    124156                        isa = PBXGroup;
    125157                        children = (
    126158                                E6DB670010B17BFC00B6F924 /* Makefile.am */,
     159                                E6DB65FF10AECC7800B6F924 /* caca.h */,
    127160                                E6DB65F610AECC7800B6F924 /* attr.c */,
    128161                                E6DB65F710AECC7800B6F924 /* box.c */,
     
    133166                                E6DB65FC10AECC7800B6F924 /* caca_types.h */,
    134167                                E6DB65FE10AECC7800B6F924 /* caca.c */,
    135                                 E6DB65FF10AECC7800B6F924 /* caca.h */,
    136168                                E6DB660210AECC7800B6F924 /* caca0.c */,
    137169                                E6DB660310AECC7800B6F924 /* caca0.h */,
  • libcaca/trunk/caca/driver/slang.c

    r3587 r3983  
    118118};
    119119
     120static void default_sigint (int sig)
     121{
     122    /* Do nothing */
     123    return;
     124}
     125
    120126static int slang_init_graphics(caca_display_t *dp)
    121127{
     
    159165    SLsmg_refresh();
    160166
     167   
     168    /* Disable SLang's own SIGINT on ctrl-c */
     169    SLang_set_abort_signal (default_sigint);
     170   
    161171    /* Disable scrolling so that hashmap scrolling optimization code
    162172     * does not cause ugly refreshes due to slow terminals */
Note: See TracChangeset for help on using the changeset viewer.