Hi Mike,
I read through fork() and exec() man pages but I couldn't find anything
related to
this. Basically, I want to launch a telnet session from a process and pass
in
/dev/console as stdin and stdout.

Thanks
Kailas

On 1/16/07, Mike Meyer <[EMAIL PROTECTED]> wrote:

In <[EMAIL PROTECTED]>, Kailas
Ramasamy <[EMAIL PROTECTED]> typed:
> Hi Mike,
> Yes, that what I am planing but I want to do this dynamically. Do you
know
> how to launch a
> telnet session from a process?. How do I pass stdin and stdout to the
telnet
> from a process?.

See the fork() and exec() man pages.

        <mike


> On 1/16/07, Mike Meyer <[EMAIL PROTECTED]> wrote:
> >
> > In <[EMAIL PROTECTED]>,
Kailas
> > Ramasamy <[EMAIL PROTECTED]> typed:
> > > Hi,
> > > Within a FreeBSD system, I want to telnet to another system and
bridge
> > that
> > > session to the
> > > console port so that when an user connects to the system via console
> > port,
> > > it is automatically
> > > redirected to other system for I have already established a telnet
> > session.
> >
> > What's wrong with simply leaving a telnet session running on the
> > console, maybe with some support to relaunch it should it ever exit?
> >
> >         <mike
> > --
> > Mike Meyer <[EMAIL PROTECTED]>
> > http://www.mired.org/consulting.html
> > Independent Network/Unix/Perforce consultant, email for more
information.
> >
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "
[EMAIL PROTECTED]"
>

--
Mike Meyer <[EMAIL PROTECTED]>
http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.

_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to