Changeset 2651


Ignore:
Timestamp:
Oct 27, 2011 11:44:43 AM (13 years ago)
Author:
mmc
Message:

Added the Rappture::curses command needed for the new "submit" command.
Use "curses start" and "curses stop" to enter/exit curses mode. Use
"curses clear" to clear the screen. Use "curses puts -at line col string"
to put stuff on the screen. Use "curses getch" to read characters from
the keyboard. Many other options too. Use the source, Luke!

Location:
trunk/lang/tcl/src
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/lang/tcl/src/Makefile.in

    r1944 r2651  
    4949LIBS = \
    5050        -L../../../src/core -lrappture \
    51         $(TCL_LIB_SPEC) -lexpat -lz -lm -lstdc++
     51        $(TCL_LIB_SPEC) -lncurses -lexpat -lz -lm -lstdc++
    5252
    5353OBJS = \
    5454        Rappture_Init.o \
     55        RpCurses.o \
    5556        RpDaemon.o \
    5657        RpEncodeTclInterface.o \
  • trunk/lang/tcl/src/Rappture_Init.c

    r1930 r2651  
    2929extern Tcl_AppInitProc RpSysinfo_Init;
    3030extern Tcl_AppInitProc RpDaemon_Init;
     31extern Tcl_AppInitProc RpCurses_Init;
    3132
    3233#ifdef notdef
     
    9394        return TCL_ERROR;
    9495    }
     96    if (RpCurses_Init(interp) != TCL_OK) {
     97        return TCL_ERROR;
     98    }
    9599    return TCL_OK;
    96100}
Note: See TracChangeset for help on using the changeset viewer.