move(3NCURSES)move(3NCURSES)NAME
move, wmove - move curses window cursor
SYNOPSIS
#include <curses.h>
int move(int y, int x);
int wmove(WINDOW *win, int y, int x);
DESCRIPTION
These routines move the cursor associated with the window to line y and column x. This routine does not move the physical cursor of the
terminal until refresh is called. The position specified is relative to the upper left-hand corner of the window, which is (0,0).
RETURN VALUE
These routines return ERR upon failure and OK (SVr4 specifies only "an integer value other than ERR") upon successful completion.
Specifically, they return an error if the window pointer is null, or if the position is outside the window.
NOTES
Note that move may be a macro.
PORTABILITY
These functions are described in the XSI Curses standard, Issue 4.
SEE ALSO ncurses(3NCURSES), refresh(3NCURSES)move(3NCURSES)
Check Out this Related Man Page
curs_move(3CURSES) Curses Library Functions curs_move(3CURSES)NAME
curs_move, move, wmove - move curses window cursor
SYNOPSIS
cc [ flag ... ] file ... -lcurses [ library ... ]
#include <curses.h>
int move(int y, int x);
int wmove(WINDOW *win, int y, int x);
DESCRIPTION
With these routines, the cursor associated with the window is moved to line y and column x. This routine does not move the physical cursor
of the terminal until refresh() is called. The position specified is relative to the upper left-hand corner of the window, which is (0,0).
RETURN VALUES
These routines return the integer ERR upon failure and an integer value other than ERR upon successful completion.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|MT-Level |Unsafe |
+-----------------------------+-----------------------------+
SEE ALSO curs_refresh(3CURSES), curses(3CURSES), attributes(5)NOTES
The header <curses.h> automatically includes the headers <stdio.h> and <unctrl.h>.
Note that move() may be a macro.
SunOS 5.11 31 Dec 1996 curs_move(3CURSES)
Hello,
I am trying to write a simple program with functions in the ncurses library, on a Mac running OSX 10.2.8, with the compiler and libraries that were included in the Dec 2002 Developer's tools release (the last one that runs on Jaguar, as far as I know). When I try to compile, I get... (2 Replies)
hi every one
i got a problem in blinking text
i tried like this
main()
{
initscr();
move(5,10);
addstr("this is blink->");
addch('H' | A_BLINK);
refresh();
getch();
endwin();
}
an error came like this
# cc r3.c
r3.c: In function ‘main':
r3.c:6: error: ‘A_BLINK' undeclared (first... (5 Replies)
Hi,
tried to native compile Debian Dialog as ncurses-dev is available.
I am trying native compile Debian Dialog using gcc on Linux embedded router.
What's wrong, as running than make
I get errors.
Mayby this line in the log file is an exaplanation to a problem ?
"
checking if we have... (1 Reply)
Hi,
the following code comes from Unix Linux dialog utility project.
Unfortunately, this project is no more actively maintained.
Unix Linux dialog utility is made of widget boxes.
One of them is mixedgauge.c
In the following example I would like to get rid of flickering
when run in... (0 Replies)
I am trying to compile pro*c program on aix 5.3. The program compiled fine when I was using curses library. After switching to ncurses, I have started getting compilation errors. After installing ncurses on the box, I changed the -lcurses flag to -lncurses. I have also updated the path to the... (13 Replies)
I'm working with an extremely outdated and old system at work. We do not have ncurses, but we do have curses. I need to make a user interface for users connecting with xterm. One issue I've encountered is if the user resizes the window, I'd like to provide functionality to redraw the screen with... (4 Replies)
Hi,
I have two files
file1 :>
val="10"
port="localhost:8080"
httpadd="http:\\192.168.0.239"
file2 :>
val=${val}
port=${port}
httpadd=${httpadd}
fileloc=${fileloc}
file3(or file2) should have following output(input from fileone)
file3 (8 Replies)
My script. For plasma TV connected to PC and used as monitor.
required
It is windows moving scrip t- floating windows. It move all windows what was ever focused.
If window lager than
widthconst heightconstscript uses xoc and yoc position for it. I use "Relative upper-left" for correction.... (2 Replies)
I am trying to place and size a window on Mac using XOJO as my coding app. I am NOT in Terminal. Needs to be run as a shell I guess, but I don't know how to get the variable or set the variable.
Here is a line of code that opens a folder:
Dim sh As New Shell()
sh.Execute("open... (1 Reply)
what i should to do next? read full query first please!!
harshbhu@harshbhu:/usr/local/gg/10.6/updates/Source$ sudo ./install_software
sudo: unable to resolve host harshbhu
install_software version 2017/06/29
GAMIT and GLOBK to be installed into /usr/local/gg/10.6/updates/Source
If... (0 Replies)
harshbhu@harshbhu:/usr/local/gg/10.6/updates/Source$ sudo ./install_softwaresudo: unable to resolve host harshbhu
password for harshbhu:
install_software version 2017/06/29
GAMIT and GLOBK to be installed into /usr/local/gg/10.6/updates/Source
If you need help with command line... (1 Reply)