[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(no subject)
From: |
Reddy Rohan |
Subject: |
(no subject) |
Date: |
Sun, 10 Nov 2002 02:11:22 +0100 |
Hello every one,
can any one solve my following problem.
I am using ncurses to write a simple editor cum emulator application
everything is fine while using multiple ncurses screen-terminals(1) on single
gnome-terminal
I am also able to display different ncurses screen-terminals(1) on different
already created gnome-terminals (by opening device files /dev/pts/n)(2)
in case (2) asll worked fine i could read and write to all terminals just by
using set_term(SCREEN*)
except that i am not able to do the following:
I want to use more than one gnome-terninal for display BUT i want to CREATE the
gnome terminal from within the program by calling a function AND also get a
file pointer or the newly creatred device file's path and name. so that i can
use the pointer to display my ncurses screen.(3)
HAS ANYONE used more than one gnome-terminal or xterm to display more than one
ncurses-screen
BASICALLY I want to use more than one xwindow (like xterm window) for
displaying ncurses-screens
FINALLY CAN I create a gnome-terminal or xterm from program by a function call
and get the dev fiel handle back???
1. created using newterm(null,stdout,stdin)
2. these terminals were launched from bash commond prompt (say dev/pts/4,
dev/pts/5 have been created)
then i displayed the ncurses-screens on the terminals but here i created
newterms as follows
newterm( file_pointer_of (/dev/pts/n) , stdout,stdin)
3. i know i can launch new gnome-terminal by fork() and execvp() combination
BUT i dont get a handle or not even come to know the file has been created or
NOT
Rohan
Master Student ALaRI, Lugano, Switzerland
- (no subject),
Reddy Rohan <=