DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Simple input and output

move

SYNOPSIS

   #include <ocurses.h>
   

int move(y, x) int y, x;

NOTES


EXAMPLE

   #include <ocurses.h>
   

main() { initscr(); addstr("Cursor should be here --> if move() works."); printw("\n\n\nPress <Return> to end test."); move(0,25); refresh(); getch(); /* Gets <Return>; discussed below. */ endwin(); }

Here's the output generated by running this program:

   Cursor should be here -->[]if move() works.
   
   
   Press <Return> to end test.
After you press RETURN, the screen looks like this:
   Cursor should be here --> if move() works.
   
   
   Press <Return> to end test.
   $[]
See ``The scatter program'' for another example using move.
Next topic: clear and erase
Previous topic: printw

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004