Date: Thu, 27 Jan 2005 10:18:17 +0100 From: Bernt Hansson <bernt@bah.homeip.net> To: FreeBSD mailinglist <freebsd-questions@freebsd.org> Subject: Re: simple serial loopback Message-ID: <41F8B1D9.4000808@bah.homeip.net> In-Reply-To: <iayx14.248s9e@webmail.tuwien.ac.at> References: <iayx14.248s9e@webmail.tuwien.ac.at>
next in thread | previous in thread | raw e-mail | index | archive | help
Florian Hengstberger skrev: > Hi list! Hello. > 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 > Thanks in advance > Florian > > PS: Maybe a simple shell/perl script can help, should I focus on that? Try cu. %cu --help Taylor UUCP 1.06.1, copyright (C) 1991, 92, 93, 94, 1995 Ian Lance Taylor Usage: cu [options] [system or phone-number] -a,-p,--port port: Use named port -l,--line line: Use named device (e.g. tty0) -s,--speed,--baud speed, -#: Use given speed -c,--phone phone: Phone number to call -z,--system system: System to call -e: Set even parity -o: Set odd parity --parity={odd,even}: Set parity -E,--escape char: Set escape character -h,--halfduplex: Echo locally --nostop: Turn off XON/XOFF handling -t,--mapcr: Map carriage return to carriage return/linefeed -n,--prompt: Prompt for phone number -d: Set maximum debugging level -x,--debug debug: Set debugging type -I,--config file: Set configuration file to use -v,--version: Print version and exit --help: Print help and exit No idea if that's what you are looking for.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41F8B1D9.4000808>