[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Launching a new Terminal?

From: Mike Gran
Subject: Re: Launching a new Terminal?
Date: Fri, 1 Feb 2013 22:32:05 -0800 (PST)

> From: Hei Chan <address@hidden>

>So, two questions:
>- Can ncurses launch multiple terminals and manipulate them?
>- If yes, any tutorial?

I once wrote a program that launched an xterm and then
started ncurses in it.  It used newterm.

The whole process is a bit complicated. I had to 
create a pty with openpty(), find that pty's stdio and stdin, launch
an xterm that uses that pty, and then run newterm on that

You can see some of that code in this program


Hope this helps,

Mike Gran

reply via email to

[Prev in Thread] Current Thread [Next in Thread]