- Ctrl+Break patch

From: A Thomas <"A>
Date: Tue, 16 Jan 2007 09:53:24 +0200

----boundary-LibPST-iamunique-1310074043_-_-
Content-type: text/plain

Hei Alexander,

        I am finding what you say about long running commands very
interesting. They are something which causes me lots of problems. I find it
best if possible to break them up into short running commands attached to a
Services.action. But this is not always feasible.

You have explained the "...is not responding" that I kept seeing. Thanks.
One disaster that I keep finding with a long running command is if I say go
into my email and then back to BB BB will not continue to rum the command it
will be in a zombie state. This is more than a little difficult. I can just
not use email etc in these situations but the same thing happens with screen
savers etc. Have you seen this behavior?

Moi

        Andrew

-----Original Message-----
From: blackbox{([at]})nowhere.xy
Iljin
Sent: 16. tammikuuta 2007 0:59
To: BlackBox Mailing List
Subject: [BlackBox] - Ctrl+Break patch

Hello, Alexander!

AI> Description: Patch fixing Ctrl+Break functionality.
AI> Author: Alexander Iljin, 24.09.2006.
AI> Problem: Ctrl+Break key combination does not interrupt hung program
AI> very well.
AI> Changes:
AI> - fixed Kernel.KeyboardWatcher procedure;
AI> - linked BlackBox.exe with new Kernel module.

AI> To install patch replace files in BlackBox installation directory with
AI> corresponding files from this patch. You must close BlackBox before
AI> replacing BlackBox.exe.

  I forgot to mention, that as a side-effect of the patch Ctrl+Break
  will interrupt hanging BlackBox even if another application is
  currently active and you may think that you address Ctrl+Break to
  that application.

  You see, the key combination is registered globally in the system,
  not only for BlackBox. Before the patch, BlackBox's watcher thread
  tried to ignore Ctrl+Breaks if they were send with BlackBox not
  being currently active. That's precisely why it stopped working when
  we moved from Windows 98 to Windows XP. When a program is being too
  busy for a while, it is not active anymore. Instead the Explorer
  is active, replacing the offending window with its own, with
  "...is not responding" in the title bar. Thus, Ctrl+Break didn't
  work.
  I simply removed the "who is active?" check. Now you may interrupt
  BlackBox' execution from anywhere. Call it a feature.

---=====---
 Alexander

--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy

--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy


----boundary-LibPST-iamunique-1310074043_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"


e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIEhlaSBBbGV4YW5kZXIsXHBhcg0KXHBhcg0KXHRh
YiBJIGFtIGZpbmRpbmcgd2hhdCB5b3Ugc2F5IGFib3V0IGxvbmcgcnVubmluZyBjb21tYW5kcyB2
ZXJ5XHBhcg0KaW50ZXJlc3RpbmcuIFRoZXkgYXJlIHNvbWV0aGluZyB3aGljaCBjYXVzZXMgbWUg
bG90cyBvZiBwcm9ibGVtcy4gSSBmaW5kIGl0XHBhcg0KYmVzdCBpZiBwb3NzaWJsZSB0byBicmVh
ayB0aGVtIHVwIGludG8gc2hvcnQgcnVubmluZyBjb21tYW5kcyBhdHRhY2hlZCB0byBhXHBhcg0K
U2VydmljZXMuYWN0aW9uLiBCdXQgdGhpcyBpcyBub3QgYWx3YXlzIGZlYXNpYmxlLlxwYXINClxw
YXINCllvdSBoYXZlIGV4cGxhaW5lZCB0aGUgIi4uLmlzIG5vdCByZXNwb25kaW5nIiB0aGF0IEkg
a2VwdCBzZWVpbmcuIFRoYW5rcy5ccGFyDQpPbmUgZGlzYXN0ZXIgdGhhdCBJIGtlZXAgZmluZGlu
ZyB3aXRoIGEgbG9uZyBydW5uaW5nIGNvbW1hbmQgaXMgaWYgSSBzY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 - 08:53:24 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:32:02 UTC