Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!cbmvax!cbmehq!cbmger!peterk From: peterk@cbmger.UUCP (Peter Kittel GERMANY) Newsgroups: comp.sys.amiga.datacomm Subject: Re: ASCII code for BREAK ??? Message-ID: <905@cbmger.UUCP> Date: 19 Feb 91 14:40:34 GMT References: <1991Feb19.032422.26230@watdragon.waterloo.edu> Reply-To: peterk@cbmger.UUCP (Peter Kittel GERMANY) Organization: Commodore Bueromaschinen GmbH, West Germany Lines: 25 In article <1991Feb19.032422.26230@watdragon.waterloo.edu> ccplumb@rose.uwaterloo.ca (Colin Plumb) writes: >drues@iastate.edu wrote: >>Can anyone tell me what ASCII code for "BREAK" is??? >>I can't find it in ASCII table I have. > >Break is not part of ASCII; it's more part of RS232. Well, actually, >it makes sense in most asynchronous serial protocols, but there aren't >very many that aren't descendants (some legitimate; most bastard) of >RS232. > > [ lots of detailed explanation deleted ] Hmm, I hardly dare to step in here because so many people already stated that there is no ASCII code for BREAK, BUT: In most systems I know, a Ctrl-C serves as a break signal. Now, for this you can indeed give an ASCII value, it's 3. For beginners: If you press Ctrl and a letter key, the system will deliver the code of the key minus 64 (at least normally :-). So, Ctrl-A gives a 1, and Ctrl-Z gives a 26 (often used as EOF in the CP/M and MS-DOS world). -- Best regards, Dr. Peter Kittel // E-Mail to \\ Only my personal opinions... Commodore Frankfurt, Germany \X/ {uunet|pyramid|rutgers}!cbmvax!cbmger!peterk