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-20 5:08

>>14
yes.
is your umask set right?

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