Re: Don't cross the (tty) streams

2007-09-20 Thread Matthew Wilcox
On Thu, Sep 20, 2007 at 11:29:31PM +0200, Andreas Schwab wrote: > Read the thread starting here: > . Thanks, Andreas. I tested it with /bin/echo instead of the built-in echo and the problem disappeared. Both machines were running

Re: Don't cross the (tty) streams

2007-09-20 Thread Andreas Schwab
Matthew Wilcox <[EMAIL PROTECTED]> writes: > Connect two machines with a serial cable. On the victim: > > [EMAIL PROTECTED]:~$ cat > Now, let's find out which ttyS on the other machine is connected ... > > [EMAIL PROTECTED]:~$ echo foo >/dev/ttyS1 > -bash: echo: write error: Input/output error

Don't cross the (tty) streams

2007-09-20 Thread Matthew Wilcox
Connect two machines with a serial cable. On the victim: [EMAIL PROTECTED]:~$ cat /dev/ttyS1 -bash: echo: write error: Input/output error Oops, that's not a serial port. No output on rowlf, as expected. OK, carrying on ... [EMAIL PROTECTED]:~$ echo bar >/dev/ttyS0 And yet on rowlf, we now

Don't cross the (tty) streams

2007-09-20 Thread Matthew Wilcox
Connect two machines with a serial cable. On the victim: [EMAIL PROTECTED]:~$ cat /dev/ttyS1 Now, let's find out which ttyS on the other machine is connected ... [EMAIL PROTECTED]:~$ echo foo /dev/ttyS1 -bash: echo: write error: Input/output error Oops, that's not a serial port. No output

Re: Don't cross the (tty) streams

2007-09-20 Thread Andreas Schwab
Matthew Wilcox [EMAIL PROTECTED] writes: Connect two machines with a serial cable. On the victim: [EMAIL PROTECTED]:~$ cat /dev/ttyS1 Now, let's find out which ttyS on the other machine is connected ... [EMAIL PROTECTED]:~$ echo foo /dev/ttyS1 -bash: echo: write error: Input/output error

Re: Don't cross the (tty) streams

2007-09-20 Thread Matthew Wilcox
On Thu, Sep 20, 2007 at 11:29:31PM +0200, Andreas Schwab wrote: Read the thread starting here: http://lists.gnu.org/archive/html/bug-bash/2007-09/msg00020.html. Thanks, Andreas. I tested it with /bin/echo instead of the built-in echo and the problem disappeared. Both machines were running