Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ wmove(3W) — HP-UX 5.50

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

curses(3X)

wsize(3W)

,wpan(3W)

WMOVE(3W)

Series 300 and 500 Only

NAME

wmove − move the location of a window

SYNOPSIS

int wmove(fd,x,y);
int fd;
int x,y;

DESCRIPTION

fd is an integer file descriptor for an opened window type device interface. 

x,y are the screen pixel coordinates for the position of the upper- corner of window view with respect to the physical screen. 

DISCUSSION

Move the window’s position on the physical screen.  This position can be anywhere on or off the screen. 

x and  y refer to the upper left corner of the contents portion, not the border.  Positive, negative and zero values for x and y are allowed.  (0,0) is the upper left hand corner of the screen. 

SEE ALSO

curses(3X), wsize(3W),wpan(3W). 

DIAGNOSTICS

A return of -1 indicates failure; otherwise 0 is returned.  See errno(2) for more information.

WARNING

The HP Windows/9000 library (-lwindow) and the curses library (-lcurses) both define the name wmove(). If both libraries are needed by the same program, the program must be compiled in pieces, with the window and curses pieces linked individually with their respective libraries.

For example, the following will not work:

cc main.c curses_piece.c window_piece.c -lcurses -lwindow   # won’t work

Instead use:

cc -c curses_piece.c window_piece.c
ld -r curses_piece.o -lcurses -o curses.o -h _wmove
ld -r window_piece.o -lwindow -o window.o -h _wmove
cc main.c curses.o window.o

If Starbase libraries were required for a device such as the 9837 bit-mapped display, the last cc could be:

cc main.c curses.o window.o -ldd9837 -lwindow -lsb1 -lsb2

 

Hewlett-Packard Company  —  May 11, 2021

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026