10-10-2001
Can't find curses library
I am writing a c program with the use of the curses but when i tried compiling i get the error that the curses library is not found
the header file i included is curses.h
and th command i typed is
gcc -o chat chat.c -lcurses
1) Is this correct in linux?
2) found a file libncurses.so.5.2
Wat is it?
10 More Discussions You Might Find Interesting
1. Programming
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. UNIX for Dummies Questions & Answers
my solaris text talks about the 'find' command... it further goes to talk about an "action" used with the find command.
I am completely confused as to what the {} do with the find comand.
the explanation is this: "A set of braces, {}, delimits where the file name is passed to the command from... (2 Replies)
Discussion started by: xyyz
2 Replies
3. Shell Programming and Scripting
I wonder how I shall read the result below, especially 'what'
shown below.
The result was shown when I entered 'w'.
E.g what is TOP? What is gosh ( what does selmgr mean?)?
login@ idle JCPU PCPU what
6:15am 7:04 39 39 TOP
6:34am 6:45 45 45 TOP
6:41am ... (1 Reply)
Discussion started by: Aelgen
1 Replies
4. UNIX for Dummies Questions & Answers
echo 'it's friday'
why appear the > (3 Replies)
Discussion started by: yls177
3 Replies
5. UNIX for Advanced & Expert Users
Hi,
I am facing an interesting aspect of find command...
to be clear, we are running a small web server with oracle 8i database and Oralce9iAS on Sun E250 with Solaris 2.6
Over a period of time, the free memory ( displayed in 'top' utility ) drops down.. we could relate this to dedicated... (6 Replies)
Discussion started by: shibz
6 Replies
6. UNIX for Advanced & Expert Users
Somehow someone created a file named '-ov' in the root directory.
Given the name, the how was probably the result of some cpio command they bozo'ed.
I've tried a number of different ways to get rid of it using * and ? wildcards, '\' escape patterns etc.. They all fail with " illegal option --... (3 Replies)
Discussion started by: GSalisbury
3 Replies
7. Shell Programming and Scripting
Hopefully this doesn't come off as too much of a "newbie" question or a flamebait. But I have recently begun working with a Sun Solaris box after having spent the past five years working with RedHat. From what i can tell, thing look fairly similar and the 'man' command is some help. But I've... (7 Replies)
Discussion started by: deckard
7 Replies
8. Programming
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
9. Programming
I am programming on Linux using curses library but I found the document is not sufficient.Someone can help me?
Thank you!! (4 Replies)
Discussion started by: yixudong
4 Replies
10. UNIX for Dummies Questions & Answers
I am using curses library for graphics on linux.
I have created a static GUI which contains two boxes which cover the whole screen, but when i make the screen small it shows only the half GUI, it does'nt adjust according to the the new window size.
I want the GUI to adjust according to the... (1 Reply)
Discussion started by: apapap
1 Replies
LEARN ABOUT OPENDARWIN
panels
panels(3CURSES) Curses Library Functions panels(3CURSES)
NAME
panels - character based panels package
SYNOPSIS
#include <panel.h>
DESCRIPTION
The panel library is built using the curses library, and any program using panels routines must call one of the curses initialization rou-
tines such as initscr. A program using these routines must be compiled with -lpanel and -lcurses on the cc command line.
The panels package gives the applications programmer a way to have depth relationships between curses windows; a curses window is associ-
ated with every panel. The panels routines allow curses windows to overlap without making visible the overlapped portions of underlying
windows. The initial curses window, stdscr, lies beneath all panels. The set of currently visible panels is the deck of panels.
The panels package allows the applications programmer to create panels, fetch and set their associated windows, shuffle panels in the deck,
and manipulate panels in other ways.
Routine Name Index
The following table lists each panels routine and the name of the manual page on which it is described.
panels Routine Name Manual Page Name
bottom_panel panel_top(3CURSES)
del_panel panel_new(3CURSES)
hide_panel panel_show(3CURSES)
move_panel panel_move(3CURSES)
new_panel panel_new(3CURSES)
panel_above panel_above(3CURSES)
panel_below panel_above(3CURSES)
panel_hidden panel_show(3CURSES)
panel_userptr panel_userptr(3CURSES)
panel_window panel_window(3CURSES)
replace_panel panel_window(3CURSES)
set_panel_userptr panel_userptr(3CURSES)
show_panel panel_show(3CURSES)
top_panel panel_top(3CURSES)
update_panels panel_update(3CURSES)
RETURN VALUES
Each panels routine that returns a pointer to an object returns NULL if an error occurs. Each panel routine that returns an integer,
returns OK if it executes successfully and ERR if it does not.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|MT-Level |Unsafe |
+-----------------------------+-----------------------------+
SEE ALSO
curses(3CURSES), attributes(5) and 3X pages whose names begin "panel_" for detailed routine descriptions.
NOTES
The header <panel.h> automatically includes the header <curses.h>.
SunOS 5.10 31 Dec 1996 panels(3CURSES)