Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

wclear(3cur) [ultrix man page]

clear(3cur)															       clear(3cur)

Name
       clear, wclear - clear window

Syntax
       #include <cursesX.h>

       int clear()

       int wclear(win)
       WINDOW *win;

Description
       The routine resets the entire default window to blanks and sets the current
       (y, x) coordinates to (0, 0).

       The routine resets the entire specified window to blanks and sets the current (y, x) coordinates to (0, 0).

       The  routine  assumes  that  the  screen may have garbage on it that it doesn't know about.  The routine first calls which copies blanks to
       every position in the default window, and then which clears the physical screen completely on the next call to for

       The routine is a macro.

Return Values
       The and functions return OK on success and ERR on error.

See Also
       clearok(3cur), erase(3cur), refresh(3cur)

																       clear(3cur)

Check Out this Related Man Page

addstr(3cur)															      addstr(3cur)

Name
       addstr, waddstr, mvaddstr, mvwaddstr - add string to window

Syntax
       #include <cursesX.h>

       int addstr(str)
       char *str;

       int waddstr(win, str)
       WINDOW *win;
       char *str;

       int mvaddstr(y, x, str)
       int y, x;
       char *str;

       int mvwaddstr(win, y, x, str)
       WINDOW *win;
       int y, x;
       char *str;

Description
       The routine writes all the characters of the null-terminated character string on the default window at the current (y, x) coordinates.

       The routine writes all the characters of the null terminated character string on the specified window at the current (y, x) coordinates.

       The routine writes all the characters of the null terminated character string on the default window at the specified (y, x) coordinates.

       The routine writes all the characters of the null terminated character string on the specified window at the specified (y, x) coordinates.

       The  following  information  applies to all the routines.  All the routines return if writing the string causes illegal scrolling.  In this
       case the routine will write as much as possible of the string on the window.

       These routines are functionally equivalent to calling or once for each character in the string.

       The routines and are macros.

Return Values
       The and functions return OK on success and ERR on error.

See Also
       addch(3cur), waddch(3cur)

																      addstr(3cur)
Man Page

4 More Discussions You Might Find Interesting

1. Programming

curses (ncurses) library question

Hi again. I'm using the curses functions simply to output data to the screen in certain areas. Very simple, just using the full screen, no windows. The problem is that I'm calling mvprintw from within several child processes in the same session, and the output is going bananas. ie, no... (1 Reply)
Discussion started by: TelePlayer
1 Replies

2. Programming

Problem with curses library on Mac OS 10.2 darwin

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)
Discussion started by: marks
2 Replies

3. 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

4. Programming

ld: 0711-317 ERROR: Undefined symbol: stdscr

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)
Discussion started by: wvuguy
13 Replies