From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14628 invoked by alias); 18 Aug 2006 14:40:47 -0000 Received: (qmail 14607 invoked by uid 22791); 18 Aug 2006 14:40:45 -0000 X-Spam-Check-By: sourceware.org Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 18 Aug 2006 14:40:41 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1GE5WS-00036Z-00; Fri, 18 Aug 2006 16:40:32 +0200 Date: Fri, 18 Aug 2006 14:40:00 -0000 To: Andre-John Mas Cc: ecos-discuss@sourceware.org Message-ID: <20060818144032.GA11580@lunn.ch> Mail-Followup-To: Andre-John Mas , ecos-discuss@sourceware.org References: <20060818142030.FDQM24981.tomts40-srv.bellnexxia.net@smtp1.sympatico.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060818142030.FDQM24981.tomts40-srv.bellnexxia.net@smtp1.sympatico.ca> User-Agent: Mutt/1.5.13 (2006-08-11) From: Andrew Lunn X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: Re: [ECOS] Problems with tcgetattr() X-SW-Source: 2006-08/txt/msg00185.txt.bz2 On Fri, Aug 18, 2006 at 10:20:30AM -0400, Andre-John Mas wrote: > I am trying this on STDIN_FILENO, based on examples I have seen > posted on the net. Currently I am connecting via the serial port, > but later on it is likely to be via a telnet or ssh connection. I > thought STDIN_FILENO was meant to be mapped to the current device? You are thinking in Unix way, not the eCos way. termio controls only work on the termios devices and no other devices. However, there is currently no ssh or telnet daemon for eCos, so when you implement these things, you can add support for this in however you implement telnet or ssh. Also, not there is no concept of a per thread STDIN. It is one STDIN for the whole system. Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss