Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Need help for using curses library Post 302599243 by Corona688 on Thursday 16th of February 2012 01:31:09 PM
Old 02-16-2012
Quote:
Originally Posted by apapap
I am using curses library for graphics on linux.
? curses is a terminal library, not a graphics one.
 

10 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

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 ... (1 Reply)
Discussion started by: xenon830
1 Replies

3. Programming

Curses.h not found ...

I am writing a program which uses curses.h. I do not have any problem when compilng it in Digital UNIX at my school. But when I compiling it in Mandrake Linux 6.0 at my home, I got a error message said that curses.h not found. Does curses.h include in Linux? How to slove my problem? (2 Replies)
Discussion started by: MacMonster
2 Replies

4. UNIX for Dummies Questions & Answers

curses.h

hi i'd like to know how to draw a rectangle using the curses.h library, you know with all the WINDOW *newwin stuff and all thanx!:) (1 Reply)
Discussion started by: chomano
1 Replies

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

6. Programming

curses.h

hi all i get a segmentation fault error in the following program. couldn't understand why it happens. can anyone explain what is really happening. s1.c #include<curses.h> main(){ int c; noecho(); cbreak(); c=getch(); printf("%c",(char)c); } I compiled this program as cc s1.c... (2 Replies)
Discussion started by: bankpro
2 Replies

7. Programming

<curses.h>

i want to write a C programm.i want to read a 2-dimension array from a file and using the library <curses.h> i want to delineate to the monitor the array.the monitor must every 40ms being refresing.i want to use the setitimer() function to achive this.the array will be similar like above (2 Replies)
Discussion started by: nektarios4u
2 Replies

8. Shell Programming and Scripting

ksh88 - curses

I was wondering if there is anyway to use the curses library with ksh88. I saw Shell Curses function library which says I can use /usr/local/functions/shellcurses on ksh93 but I am on ksh88. I am on a HP-UX box. (0 Replies)
Discussion started by: IMTheNachoMan
0 Replies

9. Programming

Someone can give me some document about Curses Library?

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

Curses::UI script question

I recently moved from linux to aix, version 6.1, perl 5.8.8. We were running a perl script using curses::ui for a user interface which was working fine on linux, but the issue on aix is no mouse support. I have tried with the -mouse-support => 1, to no avail. I'm not sure about aix's xterm... (0 Replies)
Discussion started by: islanderman
0 Replies
plot(3x)																  plot(3x)

Name
       openpl, erase, label, line, circle, arc, move, cont, point, linemod, space, closepl, box, color, dot - graphics interface

Syntax
       openpl()

       erase()

       label(s)
       char s[];

       line(x1, y1, x2, y2)

       circle(x, y, r)

       arc(x, y, x0, y0, x1, y1)

       move(x, y)

       cont(x, y)

       point(x, y)

       linemod(s)
       char s[];

       space(x0, y0, x1, y1)

       closepl()

       box(x0, x1, y0, y1)

       color(c)

       dot()

Description
       These  subroutines generate graphic output in a device-independent manner.  See for a description of their effect.  The subroutine precedes
       the other subroutines as it opens the device for writing.  The subroutine flushes the output. The and routines are used by  the	lvp16  and
       hp7475a plotters only.

       String arguments to and are null-terminated and do not contain newlines.

       Many of these functions have additional options for different output devices.  They are accessed by the options as follows:

       -lplot	     device-independent graphics stream on standard output for filters

       -lplotaed     AED 512 color graphics terminal

       -lplotbg      BBN bitgraph graphics terminal

       -lplotdumb    dumb terminals without cursor addressing or line printers

       -lplotgigi    gigi graphics terminal

       -lplotgrn     grn files

       -lplot2648    HP 2648 graphics terminal

       -lplot7221    HP 7221 graphics terminal

       -lplotimagen  Imagen laser printer (default 240 DPI resolution)

       -l300	     GSI 300 terminal

       -l300s	     GSI 300S terminal

       -l450	     DASI 450 terminal

       -l4013	     Tektronix 4013 terminal

       -l4014	     Tektronix 4014 terminal

       -llvp16	     DEC LVP16 and HP7475A plotters

See Also
       graph(1g), plot(1g), plot(5)

																	  plot(3x)
All times are GMT -4. The time now is 09:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy