From owner-freebsd-questions@FreeBSD.ORG Wed Jan 17 18:47:26 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 67D8C16A4E9 for ; Wed, 17 Jan 2007 18:47:26 +0000 (UTC) (envelope-from ramadas@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.230]) by mx1.freebsd.org (Postfix) with ESMTP id 291E613C465 for ; Wed, 17 Jan 2007 18:47:26 +0000 (UTC) (envelope-from ramadas@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so2425385wxc for ; Wed, 17 Jan 2007 10:47:25 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=BXlo8bcStrYfNl7wan1D0yAPdZgVBGy40bUoOk8HO/0tqw1ry3JaP/Q0OJtZ9SyDraG005FAvHrxBY5RJc0Q+DxNIks0+frj6wl5UJ/eLMECxcGz8/RPlzEIs2c9ZRgz3cApUAdl2J1MoA+6LMBRK/FCvNPB7ThfpcAo8C92RZs= Received: by 10.90.100.2 with SMTP id x2mr6515525agb.1169058117439; Wed, 17 Jan 2007 10:21:57 -0800 (PST) Received: by 10.90.51.16 with HTTP; Wed, 17 Jan 2007 10:21:56 -0800 (PST) Message-ID: Date: Wed, 17 Jan 2007 10:21:56 -0800 From: "Kailas Ramasamy" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Launching a telnet session from a process X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jan 2007 18:47:26 -0000 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