Ignore:
Timestamp:
06/18/11 12:12:23 (13 years ago)
Author:
tbretz
Message:
Removed RunDim and replaces it with RunShell and LocalStream
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/fadctrl.cc

    r11043 r11056  
    14081408}
    14091409
     1410/*
    14101411template<class S>
    14111412int RunDim(Configuration &conf)
    14121413{
    1413     /*
    1414      initscr();               // Start curses mode
    1415      cbreak();                // Line buffering disabled, Pass on
    1416      intrflush(stdscr, FALSE);
    1417      start_color();            // Initialize ncurses colors
    1418      use_default_colors();     // Assign terminal default colors to -1
    1419      for (int i=1; i<8; i++)
    1420         init_pair(i, i, -1);  // -1: def background
    1421         scrollok(stdscr, true);
    1422         */
    1423 
    14241414    WindowLog wout;
    14251415
    14261416    ReadlineColor::PrintBootMsg(wout, conf.GetName(), false);
    14271417
    1428     //log.SetWindow(stdscr);
    14291418    if (conf.Has("log"))
    14301419        if (!wout.OpenLogFile(conf.Get<string>("log")))
     
    14411430    return 0;
    14421431}
     1432*/
    14431433
    14441434template<class T, class S>
     
    15841574        {
    15851575            if (conf.Get<bool>("no-dim"))
    1586                 return RunDim<StateMachine>(conf);
     1576                return RunShell<LocalStream, StateMachine>(conf);
    15871577            else
    1588                 return RunDim<StateMachineDim>(conf);
     1578                return RunShell<LocalStream, StateMachineDim>(conf);
    15891579        }
    15901580        // Cosole access w/ and w/o Dim
Note: See TracChangeset for help on using the changeset viewer.