move(3cur)move(3cur)Name
move, wmove - move cursor in window
Syntax
move(y, x)
wmove(win, y, x)
WINDOW *win;
int y, x;
Description
The routine moves the cursor associated with the default window to the given location (y, x), where is the row, and is the column. This
routine does not move the physical cursor of the terminal until the routine is called.
The routine moves the cursor associated with the specified window to the given location (y, x). This does not move the physical cursor of
the terminal until the routine is called.
For both routines the position specified is relative to the upper left corner of the window, which is (0,0).
The routine is a macro.
See Alsorefresh(3cur), wrefresh(3cur)move(3cur)
Check Out this Related Man Page
move(3XCURSES) X/Open Curses Library Functions move(3XCURSES)NAME
move, wmove - move cursor in window
SYNOPSIS
cc [ flag... ] file... -I /usr/xpg4/include -L /usr/xpg4/lib
-R /usr/xpg4/lib -lcurses [ library... ]
c89 [ flag... ] file... -lcurses [ library... ]
#include <curses.h>
int move(int y, int x);
int wmove(WINDOW *win, int y, int x);
PARAMETERS
y Is the y (row) coordinate of the position of the cursor in the window.
x Is the x (column) coordinate of the position of the cursor in the window.
win Is a pointer to the window in which the cursor is to be written.
DESCRIPTION
The move() function moves the logical cursor (for stdscr) to the position specified by y (row) and x (column), where the upper left corner
of the window is row 0, column 0. The wmove() function performs the same action, but moves the cursor in the window specified by win.
The physical cursor will not move until after a call to refresh(3XCURSES) or doupdate(3XCURSES).
RETURN VALUES
On success, these functions return OK. Otherwise, they return ERR.
ERRORS
None.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
|MT-Level |Unsafe |
+-----------------------------+-----------------------------+
SEE ALSO doupdate(3XCURSES), libcurses(3XCURSES), attributes(5), standards(5)SunOS 5.10 5 Jun 2002 move(3XCURSES)
Well, someone created a flash intro for us (their first attempt at SWiSH!)
OK,
SECOND DRAFT:
https://www.unix.com/test_intro2.swf
---------------------------
FIRST DRAFT:
https://www.unix.com/test_intro1.swf
Notice it says "Search before posting a question".....
Well????... (24 Replies)
Hi Can any one help me remove the unwanted data? I would want to remove the complete event id 4910 ( the type there is INFO), that means, I have to remove starting from 7th - 19th lines. can any one of you please help?
Thanks, (24 Replies)
All,
I am new to unix and i have the following requirement.
I have file(s) landing into input directory with timestamp, first i want to copy all these files into seperate directory then i want to rename these files without timestamp and also remove header,trailer from that file..
Could... (35 Replies)
I wanna remove a set files other than some selected files.
Eg.
:rolleyes::rolleyes::rolleyes:
a directory contains n files like
test1.dat
test2.dat
test3.dat
test4.dat
out5.dat
out1.dat
i wanna remove all files which doesnot name like *test*
I want to use this in shell... (22 Replies)
hi
I am trying to write shell script that must scan a series of filesystems and find files that have not been accessed for over some number
of days and move them to /tmp/old
Did anyone write a such a script before?
Any help is really appreciated. (26 Replies)
Hi,
I am trying to write a script that will take 2 or more instances of repetitive alphabets (ZZ) to be removed from a field. This should only happen from beginning and end of a field.
For Example :
Input File
a) ZZZIBM Corporation
b) ZZZIBM Corporation ZZZZZ
b) IBM ZZZ... (26 Replies)
I would like to remove rsh, rcp, rlogin from my production server.
How would i go about it?
Should i remove them from their original location using rm?
Will that impact on any other functionality?
---------- Post updated at 12:39 AM ---------- Previous update was at 12:16 AM ----------
... (23 Replies)
Hi,
I've a csv file seperated by '|' from which I'm trying to remove the excess '|' characters more than the existing fields. My CSV looks like as below.
HRLOAD|Service|AddChange|EN
PERSONID|STATUS|LASTNAME|FIRSTNAME|ITDCLIENTUSERID|ADDRESSLINE1
10000001|ACTIVE|Testazar1|Testore1|20041|||... (24 Replies)
Hi
Ive been scratching over this for some time with no solution.
I have a file like this
1 bla bla 1
2 bla bla 2
4 bla bla 3
5 bla bla 1
6 bla bla 1
I want to remove consecutive occurrences of lines like bla bla 1, but the first column may be different.
Any ideasss?? (23 Replies)
Hi,
I have a huge file which has Lacs of lines. File system got full.
I want your guys help to suggest me a solution so that I can remove all lines from that file but not last 50,000 lines. I want solution which can remove lines from existing file so that I can have some space left with. (28 Replies)
Hi buddy's
my file are like this:
s.no,name,band,sal
1,"suneel",,10
2,"bargav
sand",,20
30,"
ebdug gil",,4
but i want
s.no,name,band,sal
1,"suneel",,10
2,"bargav sand",,20
30,"ebdug gil",,4
any command or Shell script for this.
please help me it's urgent to implement (33 Replies)
Hi Guys
I am trying to move file containing more than two - at the 3rd line of each files to a new directory. The files are something like this :
****** Text ******
/text/
text text
I want to make sure the search effect only take place on the 3rd line one as there might me... (46 Replies)
Sorry for the weird title but i have the following problem.
We have several files which have between 10000 and about 500000 lines in them. From these files we want to remove lines which contain a pattern which is located in another file (around 20000 lines, all EAN codes). We also want to get... (28 Replies)
Greetings,
I'm trying to delete a file with a weird name from within Terminal on a Mac.
It's a very old file (1992) with null characters in the name: ââWord FinderÂŽ Plusâ˘.
Here are some examples of what I've tried:
12FX009:5 dpontius$ ls
ââWord FinderÂŽ Plusâ˘
12FX009:5 dpontius$ rm... (29 Replies)