Re: Launching a telnet session from a process
On Jan 17, 2007, at 10:49 AM, Michael P. Soulier wrote: On 1/17/07, Kailas Ramasamy [EMAIL PROTECTED] wrote: Hi, How do I launch a telnet session from a process and tell that session to use console port (/dev/console) for stdin and stdout?. Appreciate your help. I read through fork() and exec() man pages but it is not mentioned there. Personally I'd use expect around the telnet, and then send the output to any file desired. Mike -- Michael P. Soulier [EMAIL PROTECTED] Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein What about telnet /dev/console 1 /dev/console? See: http:// hemsidor.torget.se/users/d/Devlin/shell/sh7a.html#7.3. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Launching a telnet session from a process
Hi Garret, Thanks for the info. -Kailas On 1/17/07, Garrett Cooper [EMAIL PROTECTED] wrote: On Jan 17, 2007, at 10:49 AM, Michael P. Soulier wrote: On 1/17/07, Kailas Ramasamy [EMAIL PROTECTED] wrote: Hi, How do I launch a telnet session from a process and tell that session to use console port (/dev/console) for stdin and stdout?. Appreciate your help. I read through fork() and exec() man pages but it is not mentioned there. Personally I'd use expect around the telnet, and then send the output to any file desired. Mike -- Michael P. Soulier [EMAIL PROTECTED] Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein What about telnet /dev/console 1 /dev/console? See: http:// hemsidor.torget.se/users/d/Devlin/shell/sh7a.html#7.3. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Launching a telnet session from a process
Hi, How do I launch a telnet session from a process and tell that session to use console port (/dev/console) for stdin and stdout?. Appreciate your help. I read through fork() and exec() man pages but it is not mentioned there. Thanks Kailas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Launching a telnet session from a process
On 1/17/07, Kailas Ramasamy [EMAIL PROTECTED] wrote: Hi, How do I launch a telnet session from a process and tell that session to use console port (/dev/console) for stdin and stdout?. Appreciate your help. I read through fork() and exec() man pages but it is not mentioned there. Personally I'd use expect around the telnet, and then send the output to any file desired. Mike -- Michael P. Soulier [EMAIL PROTECTED] Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]