10 More Discussions You Might Find Interesting
1. 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
2. Programming
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
3. Shell Programming and Scripting
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
4. Programming
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
5. Programming
My vendor application has created serveral message queues in the AIX platform. I would like view the real-time message in the queues and output the contents on the screen by using curses library in UNIX.
I know how to do it with curses, but I have no idea to view the contents of the queue. Is... (1 Reply)
Discussion started by: kkyim
1 Replies
6. Programming
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. UNIX for Dummies Questions & Answers
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
8. Programming
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
9. Programming
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
10. 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
input-linux-mouse(7) GGI input-linux-mouse(7)
NAME
input-linux-mouse - Direct mouse input
SYNOPSIS
input-linux-mouse: [<mousetype>] [,<file>] [,[b<bauds>][r<rts>][d<dtr>]]
DESCRIPTION
This input opens a file (usually a device file or pipe) and reads mouse protocol data from it.
OPTIONS
mousetype
Indicates what type of mouse is attached. The following types are supported:
o ms, Microsoft : Two button Microsoft compatible mice.
o ms3, IntelliMouse, mman+ : Serial Intellimouse or compatible. Supports four buttons for mice like the Logitech MouseMan+.
o MouseSystems, msc : MouseSystems compatible (used in most 3-button mice).
o Logitech, logi : Used in older Logitech serial mice.
o mm, MMSeries : MM series mice.
o Sun : Sun mice. The protocol is the same as 'msc' protocol except it used only 3 bytes per packet.
o MouseMan, mman : MouseMan protocol.
o BusMouse, bm : Non-PS/2 busmice.
o LinuxUSB, lnxusb : IMPS2 that doesn't choke on USB (no init attempted).
o ps2, PS/2 : PS/2 mice (most non-serial mice use this protocol)
o imps2, IMPS/2 : PS/2 IntelliMouse and compatible (not USB, see lnxusb for that.)
o mmanps2, MouseManPlusPS/2 : PS/2 Logitech MouseMan+ and compatible.
Most of the strings supported by GPM, SVGAlib and XFree can be specified. If you find one that isn't, please report.
The special value auto tells input-linux-mouse to read ~/.ggi/input/linux-mouse, and if that fails, $sysconfdir/ggi/input/linux-
mouse. If none of the two files are found, input-linux-mouse tries to auto-detect the mouse, and as a last resort uses the mouse
information specified in /etc/vga/libvga.config.
file The file to read mouse protocol data from; defaults to /dev/mouse.
baud Baud rate of mouse device.
rts Turns off RTS if set to 0; turns RTS on if set to a number greater than 0.
dtr Turns off DTR if set to 0; turns DTR on if set to a number greater than 0.
FEATURES
o Generates evPtr* events.
FILES
~/.ggi/input/linux-mouse and $sysconfdir/ggi/input/linux-mouse consists of the following entries:
mouse mousetype
mdev file
where mousetype and file has the same semantics as the invocation options of the same names.
libgii-1.0.x 2003-08-11 input-linux-mouse(7)