[GreenKeys] Avarda ITTY Feed / StayShift-On-Space
John Nagle
nagle at animats.com
Thu Oct 26 16:05:36 EDT 2017
If this is a problem, I'd suggest making the sending software
indifferent to unshift-on-space. My "baudotrss" does this. The
logic is
Next char Prev state New state Send Notes
letter LTRS LTRS
letter FIGS LTRS LTRS
letter UNKNOWN LTRS LTRS State UNKNOWN, shift
figure LTRS LTRS LTRS
figure FIGS FIGS
figure UNKNOWN FIGS FIGS State UNKNOWN, shift
space LTRS LTRS
space FIGS UNKNOWN Don't know state now
space UNKNOWN UNKNOWN
LTRS any LTRS
FIGS any FIGS
LF, CR any no change
BLANK any no change
The key here is the UNKNOWN state. When in UNKNOWN state, and
LTRS or FIGS state is needed, LTRS or FIGS must be sent.
When a SPACE is seen in FIGS state, the state becomes UNKNOWN,
because we don't know the state of the received machines.
The effect is that every space followed by a figure has
a FIGS inserted. Then it doesn't matter whether the receiving machine
has unshift-on-space.
John Nagle
More information about the GreenKeys
mailing list