This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Re: Problems with tcgetattr()


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?

Andre

Andrew Lunn <andrew@lunn.ch> wrote:
> 
> On Thu, Aug 17, 2006 at 06:47:21PM -0400, Andre-John Mas wrote:
> > Hi,
> > 
> 
> > I am in the process of writing a simple authentication module for
> >  the administration of our card. For this we need to be able to hide
> >  the password when it is inputed. From what I can tell using
> >  tcgetattr() and tcsetattr() are the calls that I need. The problem
> >  is that when I try using tcgetattr() I get the error:
> 
> What device are you trying this on? I think it needs to be /dev/termiosX
> 
>      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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]