Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.development.apps > #155

Re: termios

From Grant Edwards <invalid@invalid.invalid>
Newsgroups comp.os.linux.development.apps
Subject Re: termios
Date 2011-06-17 20:19 +0000
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <itgct7$a04$1@reader1.panix.com> (permalink)
References <4dfb6e98$0$30769$ba4acef3@reader.news.orange.fr>

Show all headers | View raw


On 2011-06-17, michel simian <michel@simian.fr> wrote:

> I develop an industrial application which send and receive from RS485 
> device, on linux (2.6.32 i686).
>
> When I c onfigure my /dev/ttSx port, like below :
>
> c _lflag &= ~(ICANON | ECHO | ECHOE)
>
> I always receive an echo of my last write output and a select
> returns immediately...
>
> What's wrong ?

My guess is that your RS485 hardware is doing the echoing.

-- 
Grant Edwards               grant.b.edwards        Yow! Are we on STRIKE yet?
                                  at               
                              gmail.com            

Back to comp.os.linux.development.apps | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

termios michel simian <michel@simian.fr> - 2011-06-17 17:14 +0200
  Re: termios Jan Panteltje <pNaonStpealmtje@yahoo.com> - 2011-06-17 17:01 +0000
  Re: termios Grant Edwards <invalid@invalid.invalid> - 2011-06-17 20:19 +0000
    Re: termios michel simian <michel@simian.fr> - 2011-06-18 17:17 +0200
      Re: termios Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2011-06-18 19:38 +0300
        Re: termios michel simian <michel@simian.fr> - 2011-06-18 20:01 +0200
          Re: termios Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2011-06-18 22:44 +0300
            Re: termios michel simian <michel@simian.fr> - 2011-06-19 06:56 +0200
            Re: termios michel simian <michel@simian.fr> - 2011-06-24 19:28 +0200
              Re: termios Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2011-06-24 21:42 +0300
                Re: termios Grant Edwards <invalid@invalid.invalid> - 2011-06-26 02:27 +0000

csiph-web