Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

legacy(3ncurses) [v7 man page]

legacy(3NCURSES)														  legacy(3NCURSES)

NAME
getattrs - get curses cursor and window coordinates, attributes SYNOPSIS
#include <curses.h> int getattrs(WINDOW *win); int getbegx(WINDOW *win); int getbegy(WINDOW *win); int getcurx(WINDOW *win); int getcury(WINDOW *win); int getmaxx(WINDOW *win); int getmaxy(WINDOW *win); int getparx(WINDOW *win); int getpary(WINDOW *win); DESCRIPTION
The getbegy and getbegx functions return the same data as getbegyx. The getcury and getcurx functions return the same data as getyx. The getmaxy and getmaxx functions return the same data as getmaxyx. The getpary and getparx functions return the same data as getparyx. RETURN VALUE
These functions return an integer, or ERR if the window parameter is null. NOTES
All of these interfaces are provided as macros and functions. The macros are suppressed (and only the functions provided) when NCURSES_OPAQUE is defined. The standard forms such as getyx must be implemented as macros, and (in this implementation) are defined in terms of the functions described here, to avoid reliance on internal details of the WINDOW structure. PORTABILITY
These functions were supported on Version 7, BSD or System V implementations. SEE ALSO
ncurses(3NCURSES), getyx(3NCURSES), opaque(3NCURSES) legacy(3NCURSES)

Check Out this Related Man Page

legacy(3NCURSES)														  legacy(3NCURSES)

NAME
getattrs - get curses cursor and window coordinates, attributes SYNOPSIS
#include <curses.h> int getattrs(WINDOW *win); int getbegx(WINDOW *win); int getbegy(WINDOW *win); int getcurx(WINDOW *win); int getcury(WINDOW *win); int getmaxx(WINDOW *win); int getmaxy(WINDOW *win); int getparx(WINDOW *win); int getpary(WINDOW *win); DESCRIPTION
The getbegy and getbegx functions return the same data as getbegyx. The getcury and getcurx functions return the same data as getyx. The getmaxy and getmaxx functions return the same data as getmaxyx. The getpary and getparx functions return the same data as getparyx. RETURN VALUE
These functions return an integer, or ERR if the window parameter is null. NOTES
All of these interfaces are provided as macros and functions. The macros are suppressed (and only the functions provided) when NCURSES_OPAQUE is defined. The standard forms such as getyx must be implemented as macros, and (in this implementation) are defined in terms of the functions described here, to avoid reliance on internal details of the WINDOW structure. PORTABILITY
These functions were supported on Version 7, BSD or System V implementations. SEE ALSO
ncurses(3NCURSES), getyx(3NCURSES), opaque(3NCURSES) legacy(3NCURSES)
Man Page

10 More Discussions You Might Find Interesting

1. Programming

CMI Legacy

Is there anyone who still uses CMI to connect to the legacy system , my c applications do uses the binaries and libraries for using the CMI functionality but i do not have access to the original source code , and since this is a very old stuff , i just could not get any source to get to knwo the... (0 Replies)
Discussion started by: dino_leix
0 Replies

2. Solaris

How to set up legacy services right on Solaris 10

I want to add auto startup and shutdown script to Solaris 10's legacy services as they run in Solaris 9 or in Linux. To make this work, I created the crontrol script in /etc/init.d and then link it to /etc/rc0.d and /etc/rc2.d directories. rc0.d is for shutdown and rc2.d is for srat. After I... (15 Replies)
Discussion started by: duke0001
15 Replies

3. HP-UX

HP-UX: LVM migration from legacy to agile addressing onto a failover server

Hi there! I'm having problems migrating and vgimport onto a different server. Original server uses the legacy DSF naming (ctd naming like /dev/dsk/c0t1d0) and the new server where i'm migrating those luns to is using the Agile addressing (i.e persistent DSF i.e. /dev/disk/diskxxx) Importing a... (1 Reply)
Discussion started by: ilan
1 Replies

4. What is on Your Mind?

Tron Legacy

Watched it. Major disappointment. (10 Replies)
Discussion started by: ni2
10 Replies

5. Solaris

NFS server on Legacy Container?

Hi All, I have a problem as follows. Historically, there was an Ultra10 workstation running Solaris 8 using automount to access NFS volumes on a Solaris 8 server. The Ultra 10 was retired and the Solaris 8 server has been migrated to a Legacy Container (Solaris 8 Branded, whole root,... (9 Replies)
Discussion started by: hicksd8
9 Replies

6. Programming

Help with ISAM data access

We are using an ISAM database, it is called RTISAM and has been in place for many years. We access the data using AIX code and using FORTRAN programs. I have heard that there are ways to access this data via Visual Studio and C# with the use of either a FORTRAN dll or an ODBC driver. I'm... (2 Replies)
Discussion started by: KathyB148
2 Replies

7. Programming

Problem with Mux channel legacy code.

I been trying to sort this error for some time now and am unable to find out whats causing it, I added the source files for the mux channel code maybe some one can see what going on something am missing. Errors: mpreq_mux#000R2: MPMuxOpen: Unable to create low-level I/O channel.... (6 Replies)
Discussion started by: Wpgn
6 Replies

8. SCO

Need Help Installing Legacy System on Newer Hardware

We have a legacy software application that runs on SCO OpenServer 5.0.6, and the current server (built around 2003-04) is still running. I have been attempting to upgrade the hardware, to hopefully increase the time that we will have access to the data in this system, but am running into an... (13 Replies)
Discussion started by: spock9458
13 Replies

9. Solaris

Solaris 10 alternate ways of starting legacy scripts

Scenario: I have installed a service. When I start it by running /etc/init.d/<service> start it generates a massive amount of audit data (auditd) in /var/audit. So much so that running the service for any length of time is inadvisable due to overhead. However if I reboot the system the... (6 Replies)
Discussion started by: penguinpanzer
6 Replies

10. Solaris

Determine if you are in a Legacy Zone?

Hi Folks, Just a quick question here, about Legacy Zones. Well more about how to determine if you are actually in one, on logging into a legacy zone - is there a quick way of checking that? Regards Gull04 (7 Replies)
Discussion started by: gull04
7 Replies