[GreenKeys] GreenKeys Digest, Vol 110, Issue 12

John Nagle nagle at animats.com
Tue Mar 5 13:33:57 EST 2013


On 3/5/2013 9:00 AM, greenkeys-request at mailman.qth.net wrote:
> Message: 6
> Date: Tue, 5 Mar 2013 09:33:02 -0600 (CST)
> From: Jim Haynes <jhhaynes at earthlink.net>
> To: gil at baudot.net
> Cc: "greenkeys at mailman.qth.net" <greenkeys at mailman.qth.net>,
> 	ross at hypertools.com
> Subject: Re: [GreenKeys] TTYSIM for secret project
> Message-ID: <alpine.LFD.2.03.1303050931220.1325 at earthlink.net>
> Content-Type: text/plain; charset="utf-8"; Format="flowed"
> 
> On Tue, 5 Mar 2013, gil at baudot.net wrote:
> 
>> > Dave Ross, old fellow -- how are you?? I was thinking of you just yesterday,
>> > as I fired up your TTYSIM program for some testing.? Yeah, even though it's
>> > a dos program and only works on com1, it works just dandy in a command
>> > window on my old xp laptop that has a built-in serial port.
> Hmmm - nobody mentioned ttysim recently when I was asking about a program
> to turn a laptop into a portable TTY.  I've been using rtty12g for the
> purpose.  Haven't tried ttysim yet, probably no better or worse.
> 
> If I only knew how to tell Windows that I want 5-bit characters one of
> these would run under Windows instead of DOS.

    Windows through Windows 7 will operate a classic serial port
at 45 baud 5 bit just fine.  Here's the setup in Python:

self.ser = serial.Serial(port, baudrate=45, timeout=timeout,
                bytesize=serial.FIVEBITS,
                parity=serial.PARITY_NONE,
                stopbits=serial.STOPBITS_ONE_POINT_FIVE)

Windows 2000 through Windows 7 will work.  Linux doesn't
handle non-standard baud rates properly for historical
reasons (it didn't work on the PDP-11).

				John Nagle







More information about the GreenKeys mailing list