Re: shell to /dev/ttySxx
Try:
$ cat > /dev/ttySxx
If you don't give any args to cat, it reads stdin. (aka, "interactive")
HTH,
-D
On Sat, Dec 30, 2000 at 07:15:47PM +0100, Matthieu Paindavoine wrote:
> Hello,
>
> I have a device connected to a serial port. There is no protocol, I just
> send out characters.
> I would like to know how to have a shell where every thing I typed is
> sent to this device once I type [enter], pretty much like irc.
> Currently I can output files to this device (Cat xxx > /dev/ttySxx), but
> I am looking for a more interactive mode.
>
> Thank you, and have a happy, happy, New Year!
>
> Matthieu
>
Reply to: