Date: Thu, 27 Jan 2005 10:00:40 +0100 From: "Florian Hengstberger" <e0025265@student.tuwien.ac.at> To: FreeBSD mailinglist <freebsd-questions@freebsd.org> Subject: simple serial loopback Message-ID: <iayx14.248s9e@webmail.tuwien.ac.at>
next in thread | raw e-mail | index | archive | help
Hi list! I'm currently trying to setup my box for simple data transfer to a microcontroller via the serial interface. Therefore I've wired a nullmodem cable and as a first test I was trying to connect from cuaa0 to cuaa1 simply by xterm1: cat /dev/cuaa0 xterm2: echo "Something" > /dev/cuaa1 Unfortunatly cat exits with 0 after the first echo although it displays the message correct, so I have to "cat /dev/cuaa0" everytime I send something. Why is this? Is there a better way to keep track of the ascii-chars sent over a serial connection? Kermit and minicom seem to be some sort of monster for real serial connection (initialisation ...) which is a bit to much for me. In the end I just wan't to see the chars sent over the cabel and wan't to reply to them by typing on the keyboard, that's it! Thanks in advance Florian PS: Maybe a simple shell/perl script can help, should I focus on that? ------------------------------------------------------ Linux/BSD: The daemons are not longer just in my head! ------------------------------------------------------ Florian Hengstberger e0025265@student.tuwien.ac.at http://stud3.tuwien.ac.at/~e0025265 ------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?iayx14.248s9e>
