X-Spam-Check-By: sourceware.org Message-ID: <441F6689.6070305@infodev.ca> Date: Mon, 20 Mar 2006 21:35:53 -0500 From: "D.Pageau" User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Redirect stdin & stdout to serial port References: <441F2482 DOT 2040502 AT infodev DOT ca> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 2006-03-20 20:02, Igor Peshansky wrote: >> any work around ? > > Well, bash does offer an input/output redirection with the '<>' > operator... Did you try that? > > Also, duplicating the file descriptor might work (e.g., &0). <> no permission denied but output is still stdout &0 no permission denied but output is not redirected to /dev/ttyS0, not stdout either. nice try. Thanks Igor. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/