Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

ncurses screen dump

Name: Anonymous 2009-08-18 15:48


void grand(int c)
{
  switch(c)
  {
    ...
    case 's':
      scr_dump("state");
      break;
    case 'l':
      scr_restore("state");
      break;
    case 'q':
      break;
  }
  move(row, col);
  refresh();


When I hit `s' the file with the data is created, but it isn't loaded after pushing `l'. What's wrong?

Name: Anonymous 2009-08-19 19:48

>>13
- has the process's wd changed in between the store and the retrieve?
Do you think I'm an idiot? Take tips like this to ubantoforums.
- have you read your sicp today?
Actually, I have.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List