gnupic: Re: [gnupic] Interfacing with linux over rs-232


Previous by date: 26 Jul 2006 18:06:06 +0100 Re: [gnupic] Interfacing with linux over rs-232, George M. Gallant, Jr.
Next by date: 26 Jul 2006 18:06:06 +0100 Re: [gnupic] Interfacing with linux over rs-232, Pierre GAUFILLET
Previous in thread: 26 Jul 2006 18:06:06 +0100 Re: [gnupic] Interfacing with linux over rs-232, George M. Gallant, Jr.
Next in thread: 26 Jul 2006 18:06:06 +0100 Re: [gnupic] Interfacing with linux over rs-232, Pierre GAUFILLET

Subject: Re: [gnupic] Interfacing with linux over rs-232
From: "Mark Rages" ####@####.####
Date: 26 Jul 2006 18:06:06 +0100
Message-Id: <74ee72ca0607261006g6884faa8na9fa09ea02799e52@mail.gmail.com>

On 7/25/06, George M. Gallant, Jr. ####@####.#### wrote:
> This sounds more convoluted than need be. The typical Linux comes
> with minicom. It is less than glamorous but rock solid. For X windows
> you can get the source code for seyon and build locally. Both programs
> support terminal configuration and various data transfer functions.
>

I think it is helpful to understand how to read/write the device
files.  It makes it trivial to arrange a series of shell scripts to
control the hardware if need be.

Here's a Python program that reads from the serial port and prints to stdout:
import serial,sys
s=serial.serial(baudrate=9600) # defaults to first serial port

while 1:
   c=s.read(1)
   sys.stdout.write(c)
   sys.stdout.flush()

Regards,
Mark
markrages@gmail
-- 
You think that it is a secret, but it never has been one.
  - fortune cookie

Previous by date: 26 Jul 2006 18:06:06 +0100 Re: [gnupic] Interfacing with linux over rs-232, George M. Gallant, Jr.
Next by date: 26 Jul 2006 18:06:06 +0100 Re: [gnupic] Interfacing with linux over rs-232, Pierre GAUFILLET
Previous in thread: 26 Jul 2006 18:06:06 +0100 Re: [gnupic] Interfacing with linux over rs-232, George M. Gallant, Jr.
Next in thread: 26 Jul 2006 18:06:06 +0100 Re: [gnupic] Interfacing with linux over rs-232, Pierre GAUFILLET


Powered by ezmlm-browse 0.20.