[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Serial port connection (null modem) not working




On Aug 24, 2007, at 10:30 AM, Ken Irving wrote:

On Fri, Aug 24, 2007 at 08:48:42AM -0800, Ken Irving wrote:
On Fri, Aug 24, 2007 at 09:14:21AM -0700, David Brodbeck wrote:
As an alternative to minicom, 'screen' also makes a useful serial terminal program. At least on OS X, I often do something like this to talk to
routers and the like:
screen /dev/tty.usbserial 9600

"Ctrl-A Shift-K" will exit. "Ctrl-A i" will give you a nice little display
of what the serial control lines are doing.

I haven't tried it under Linux, but it should work the same. Of course
you'd substitute /dev/ttyS0 or whatever device you're using for
/dev/tty.usbserial.

I tried it on a sid box, but just end up with screen showing a shell on
the local host, i.e., the same as without those arguments.

I googled for the Mac OS X screen manpage thinking it must be different,
but it's identical to the one on my linux box.  Any other hints on how
that works or where/how it's documented?

I learned about it here:
http://www.tigoe.net/pcomp/resources/archives/avr/000749.shtml

You're right that it doesn't seem to be documented in the manpage. How odd. Maybe it's a compile-time option or something.





Reply to: