Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

getmaxy(3x) [freebsd man page]

curs_legacy(3X) 														   curs_legacy(3X)

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
curses(3X), curs_getyx(3X), curs_opaque(3X) curs_legacy(3X)

Check Out this Related Man Page

curs_legacy(3X) 														   curs_legacy(3X)

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
curses(3X), curs_getyx(3X), curs_opaque(3X) curs_legacy(3X)
Man Page

6 More Discussions You Might Find Interesting

1. Programming

equal command for gotoxy() in uinx

hello i am new user to this site. i want to know about equal command for gotoxy() which is used in dos operating system and also equal hedder file for conio.h? please give me responce to me if anybudy know about that. (5 Replies)
Discussion started by: g_s_r_c
5 Replies

2. Programming

curses & window resize issues

I am writing a program to display a database to the screen(xterm) and want to allow the window resize signal to increase/decrease the amount data that is displayed. I have a signal handler function for catching the SIGWINCH event and calling a function to reallocate the space for the windows... (0 Replies)
Discussion started by: kwaz
0 Replies

3. Programming

need info on current curser postion.

Hi All, I have written the below code to know the current curser position. The problem with this code is - it gives me window size properly but whn it comes to current curser position then it gives (0,0) as x,y co-ordinate eventhough my curser is somewhere middle on command line interface. ... (0 Replies)
Discussion started by: swap007
0 Replies

4. Debian

Trying to native compile Debian Dialog

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)
Discussion started by: jack2
1 Replies

5. Programming

How to render solid borders in NCURSES windows

Hello All Gr8 Linux Developers Out There, Background ========= I have created a ncurses application that is suppose to run only on the Linux's virtual console. This application will heavily utilize the ncurses windows to show window-based UI to the user. I am using CentOS5.x. The terminal for... (7 Replies)
Discussion started by: ku@ntum
7 Replies

6. Programming

Resize current window with Curses

Hi. I am beginning with Unix C Curses Library and i would like to know if it's possible to resize my current window. In other words, i am working with a Putty Client over my Windows system and with a telnet/ssh connection to linux. I want to build a small linux application using C Curses... (10 Replies)
Discussion started by: pogdorica
10 Replies