[Top][All Lists]

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

Re: How DDD redirect stdin/out?

From: J.H.M. Dassen (Ray)
Subject: Re: How DDD redirect stdin/out?
Date: Tue, 30 Oct 2001 10:11:20 +0100
User-agent: Mutt/1.3.23i

On Mon, Oct 29, 2001 at 20:50:43 +0100, address@hidden wrote:
> I have to redirect stdin/stdout of gdb to program that I'm working to.

gdb is an interactive application, which you need to run in a
(pseudo)terminal in order for it to work properly. Advanced Unix programming
books often have chapters on Unix' handling of terminals and working with

> I saw that DDD (useful program) use this function but I have not found, in
> sources, how it is implemented!

Look at ddd/ttytest.C and ddd/TTYAgent.[Ch] . Other programs that deal
pseudo-terminals are "screen", "expect" and terminal emulators for the X
window system like "xterm" and "rxvt".

PATRIOTISM  A great British writer once said that if he had to choose
between betraying his country and betraying a friend he hoped he would
have the decency to betray his country.
    - The Hipcrime Vocab by Chad C. Mulligan

reply via email to

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