Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Break key
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Usage for breaking the program's execution== While both {{keypress|Ctrl|Break}} and {{keypress|Ctrl|C}} combination are commonly implemented as a way of breaking the execution of a console application, they are also used for similar effect in [[integrated development environment]]s.<ref>{{cite web|url=http://msdn.microsoft.com/en-us/library/ff540312.aspx |title=CTRL+C (Break) |publisher=Msdn.microsoft.com |date=2010-03-30 |access-date=2010-10-22}}</ref><ref>{{cite web|url=http://msdn.microsoft.com/en-us/library/ff541727.aspx |title=Debug Break |publisher=Msdn.microsoft.com |date=2010-03-30 |access-date=2010-10-22}}</ref> Although these two are often considered interchangeable,<ref>{{cite web|url=http://encyclopedia2.thefreedictionary.com/Ctrl-Break |title=Ctrl-Break definition of Ctrl-Break in the Free Online Encyclopedia |publisher=Encyclopedia2.thefreedictionary.com |access-date=2010-10-22}}</ref> compilers and execution environments usually assign different signals to these.<ref>{{cite web |url=https://www.gnu.org/software/emacs/windows/ntemacs/discuss/subproc-ctrl-c |title=Re: trouble passing ^C through to processes running in a *shell* |website=www.gnu.org |archive-url=https://web.archive.org/web/20121022172337/https://www.gnu.org/software/emacs/windows/ntemacs/discuss/subproc-ctrl-c |archive-date=October 22, 2012}}</ref> Additionally, in some kernels (e.g. miscellaneous DOS variants) {{keypress|Ctrl|C}} is detected only at the time OS tries reading from a keyboard buffer and only if it's the only key sequence in the buffer,<ref>{{cite web|url=http://vimdoc.sourceforge.net/htmldoc/os_dos.html#dos-CTRL-Break |title=Vim documentation: vim online |publisher=Vim.org |access-date=2010-10-22}}</ref><ref>{{cite web |url=http://www.ousob.com/ng/dos5/ng27979.php |title=ClipX β DOS 5.0 Ref. - int 23h ctrl-c handler |publisher=Ousob.com |access-date=2010-10-22 |archive-url=https://web.archive.org/web/20160304031501/http://www.ousob.com/ng/dos5/ng27979.php |archive-date=2016-03-04 |url-status=dead }}</ref> while {{keypress|Ctrl|Break}} is often translated instantly (e.g. by [[BIOS call|INT 1Bh]] under DOS). Because of this, {{keypress|Ctrl|Break}} is usually a more effective choice under these operating systems; sensitivity for these two combinations can be enhanced by the <code>[[BREAK (CONFIG.SYS directive)|BREAK]]=ON</code> [[CONFIG.SYS]] statement.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)