I have been trying to perform a serial loop back test of my
serial port (ttyS0) on a machine running Slackware 12.0.
I have inserted one end of a null modem cable into the serial
port and have shorted pins 2 & 3 on the other end. I then issue the
following commands:
on tty1
on tty2
Code:
echo "This is a serial line/port test" > /dev/ttyS0
Expecting to see the result of the echo command on tty1, I get
nothing but a blinking cursor and some odd jibberish scrolling
by so fast I can't read it. As a matter of fact, the blinking
cursor and scrolling occur when I enter cat < /dev/ttyS0.
What am I doing wrong?