Telnet and Control Break Key

Dar Scott dsc at
Wed Sep 4 20:16:01 EDT 2002

On Wednesday, September 4, 2002, at 09:32 AM, Dar Scott wrote:

> The ASCII code for space is 20 hex, 00100000 binary.  Since this 
> is sent at quarter speed (1200 bps), the lower five zeros (in 
> binary) will look like a break at 9600 bps.  You need at least 10 
> unit times to make a break and this will generate 24 including the 
> start bit.  However, the upper 2 bits will look like 80 hex; it 
> generates 2*4 zeros at 9600, but one is needed for the start.  So 
> holding down the space bar will send sets of break plus some non 
> ascii character.  The weird extra character may be related to the 
> reliability problem.

You may have noticed that 1200 is not a quarter of 9600.  May brain 
slipped a cog.  All of the above applies to 2400 bps instead of 
1200.  At 1200 each space looks like _two_ breaks to 9600, a long 
one and a short one.

Sorry for adding to the confusion.

Hey, Luis, maybe there is some way for your stack to use some other 
program for serial IO and somehow tell it to send a break.  What 
platform are you needing this on?

Dar Scott

More information about the Use-livecode mailing list