[Ilugc] Reading from a TTY

Arun Chaganty arunchaganty at gmail.com
Tue Dec 2 17:14:48 IST 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/


More information about the ilugc mailing list