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
REPLAY(1) User Contributed Perl Documentation REPLAY(1)
NAME
scriptreplay - play back typescripts, using timing information
SYNOPSIS
scriptreplay timingfile [typescript [divisor]]
DESCRIPTION
This program replays a typescript, using timing information to ensure that output happens at the same speed as it originally appeared when
the script was recorded.
The replay simply displays the information again; the programs that were run when the typescript was being recorded are not run again.
Since the same information is simply being displayed, scriptreplay is only guaranteed to work properly if run on the same type of terminal
the typescript was recorded on. Otherwise, any escape characters in the typescript may be interpreted differently by the terminal to which
scriptreplay is sending its output.
The timings information is what script(1) outputs to standard error if it is run with the -t parameter.
By default, the typescript to display is assumed to be named "typescript", but other filenames may be specified, as the second parameter.
If the third parameter is specified, it is used as a speed-up multiplier. For example, a speed-up of 2 makes scriptreplay go twice as fast
and a speed-up of 0.1 makes it go ten times slower than the original session.
EXAMPLE
% script -t 2> timingfile
Script started, file is typescript
% ls
<etc, etc>
% exit
Script done, file is typescript
% scriptreplay timingfile
SEE ALSO
script(1)
COPYRIGHT
Copyright (C) 2008 James Youngman
Copyright (C) 2008 Karel Zak
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
Released under the GNU General Public License version 2 or later.
AUTHOR
The original scriptreplay program was written by Joey Hess <joey@kitenet.net>. The program was re-written in C by James Youngman
<jay@gnu.org> and Karel Zak <kzak@redhat.com>.
AVAILABILITY
The scriptreplay command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
3rd Berkeley Distribution perl v5.6.0 REPLAY(1)