in reply to Transparent Wrapper

I think Expect is the module you should look at.

It supports a lot of the stuff you are looking for as it regards communicating with the underlying process.

Unfortunately, I doesn't support terminating the controling program and reconnecting the underlying process with the terminal.

In fact, I don't know of anything that does that. Expect-the-language (as opposed to Expect-the-module) has a command that stops the program looking at the input, and just makes sure the data passes from one to the other and back unimpeded, but even then you still have both your Expect script and the whole Expect interpreter still loaded in memory.

Replies are listed 'Best First'.
Re: Re: Transparent Wrapper
by devslashneil (Friar) on Mar 05, 2004 at 12:46 UTC
    Is it possible to do the first part without using a module though? Using unidirectional pipes? :)

    Neil Archibald
      Can I ask why non-standard modules are a problem? They should not be. If you can provide info, we can probably help you get a module into your environment (i.e. non-root access, not sure of how to use modules on Win32, etc).
        Using modules is a problem because i wish to learn the concept behind what i'm doing, not just use someone elses code :)

        Neil Archibald