Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

clearok(3cur) [ultrix man page]

clearok(3cur)															     clearok(3cur)

Name
       clearok - enable screen clearing

Syntax
       #include <cursesX.h>

       int clearok(win, bf)
       WINDOW *win;
       bool bf;

Description
       If is the next call to for the specified window will clear the window completely and redraw the entire window without changing the original
       screen's contents.  This is useful when the contents of the screen are uncertain.  If the window is the entire screen is redrawn.

Return Values
       The function returns OK on success and ERR on error.

See Also
       refresh(3cur)

																     clearok(3cur)

Check Out this Related Man Page

printw(3cur)															      printw(3cur)

Name
       printw, mvprintw, mvwprintw, wprintw - formatted write to a window

Syntax
       #include <cursesX.h>

       int printw(fmt [, arg] ...)
       char *fmt;

       int wprintw(win, fmt [, arg] ...)
       WINDOW *win;
       char *fmt;

       int mvprintw(y, x, fmt [, arg] ...)
       int y, x;
       char *fmt;

       int mvwprintw(win, y, x, fmt [, arg] ...)
       WINDOW *win;
       int y, x;
       char *fmt;

Description
       The  routine  adds  a string to the default window starting at the current cursor position.  This routine causes the string that would nor-
       mally be output by to be output by

       The routine adds a string to the specified window starting at the current cursor position.  This routine causes the string that would  nor-
       mally be output by to be output by

       The  routine adds a string to the default window starting at the specified cursor position.  This routine causes the string that would nor-
       mally be output by to be output by

       The routine adds a string to the specified window starting at the specified cursor position.  This routine causes  the  string  that  would
       normally be output by to be output by

       All  these  routines  are analogous to It is advisable to use the field width options of to avoid leaving unwanted characters on the screen
       from earlier calls.

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

See Also
       addstr(3cur), waddstr(3cur), printf(3s)

																      printw(3cur)
Man Page

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

A short history of UNIX by l.madden@ic.ac.uk

<h1>A short history of UNIX</h1> <p>In the late 1960's Ken Thompsom joined the computing-science research group at Bell Laboratories, which is the research arm of the giant American corporation ATT. He and many colleagues had been collaborating with MIT and GE on the development of an... (0 Replies)
Discussion started by: Neo
0 Replies

2. Answers to Frequently Asked Questions

Lost root password / Can't login as root

We have quite a few threads about this subject. I have collected some of them and arranged them by the OS which is primarily discussed in the thread. That is because the exact procedure depends on the OS involved. What's more, since you often need to interact with the boot process, the... (0 Replies)
Discussion started by: Perderabo
0 Replies

3. Programming

How do you detect keystrokes in canonical mode?

I'm writing a command shell, and I want to be able to detect when the user presses an arrow key (otherwise it just prints [[A, [[B, etc.). I know it's relatively easy (although somewhat more time-consuming) to detect keystrokes in noncanonical mode, but I've noticed that the bash shell detects... (4 Replies)
Discussion started by: Ultrix
4 Replies

4. UNIX for Dummies Questions & Answers

Linux (Ubuntu) = Unix (NOT IMPORTANT - NO RUSH)

I'm learning off Linux (Ubuntu) right now. I want to move up to Unix, but I don't want to rush like I did when it came to Windows --> to Linux. What is the best Unix OS that fits in pretty well with Ubuntu. In other words is there kind of an equal Linux with Unix? Also what do I need to... (10 Replies)
Discussion started by: Linux_Guy
10 Replies

5. IP Networking

Can I change my hostname without messing things up?

I noticed my hostname is <my-full-name>s-macbook.local. I'm not sure exactly what information leaves the local network, and whether the hostname is included, but if it is, this would mean people on the Internet can look at my hostname and see who I am. Before anyone says that's not possible,... (4 Replies)
Discussion started by: Ultrix
4 Replies