[Ilugc] Reading from a TTY

  • From: arunchaganty@xxxxxxxxx (Arun Chaganty)
  • Date: Tue Dec 2 17:15:04 2008

Hey,
    I was wondering if I can "connect" to one of the /dev/tty's
(/dev/tty0, /dev/ttyUSB0) and at least read data from it. I want to do
two things:

1) I've sshed into my computer, and I want to check out  what's
happening on some terminal (say tty0), *not* running screen.
2) I want to get raw output from a serial port (or a usb port).

Cheers,
-- 
Arun Tejasvi Chaganty
http://arun.chagantys.org/

Other related posts: