[Coco] BREAK detection under Basic09

L. Curtis Boyle curtisboyle at sasktel.net
Thu May 31 12:49:58 EDT 2018


Correct. The only issue that happens when one does that (and, as you mentioned, most text editors, etc. do do this), is if you force kill a process from another window. Since the Kill signal can not be intercepted, the window/shell you are dropped to will retain all of the “special” settings your program set up.


L. Curtis Boyle
curtisboyle at sasktel.net



> On May 31, 2018, at 10:23 AM, Dave Philipsen <dave at davebiz.com> wrote:
> 
> Yes, and in reality many programs that are anything more than a simple utility will probably want to disable one or more of the special functions and then re-enable them when the program is exited.  For example, in a text editor or word processor program you probably would not want an inadvertent BREAK key press to abort the program nor would you want an XOFF to halt output to the screen. And, in a terminal program you would most likely want all of the control characters available to actually send instead of having certain ones trapped by the operating system, etc.
> 
> Dave



More information about the Coco mailing list