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


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

Re: termios

From Jan Panteltje <pNaonStpealmtje@yahoo.com>
Newsgroups comp.os.linux.development.apps
Subject Re: termios
Date 2011-06-17 17:01 +0000
Organization albasani.net
Message-ID <itg18v$k2j$1@news.albasani.net> (permalink)
References <4dfb6e98$0$30769$ba4acef3@reader.news.orange.fr>

Show all headers | View raw


On a sunny day (Fri, 17 Jun 2011 17:14:26 +0200) it happened michel simian
<michel@simian.fr> wrote in <4dfb6e98$0$30769$ba4acef3@reader.news.orange.fr>:

>Hi,
>
>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 ?
>
>Thanks

If
tty.c_lflag = 0;
BUT
RS485 always listens on the same 2 wires it sends no?

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