{"id":600,"date":"2023-05-23T03:32:22","date_gmt":"2023-05-23T03:32:22","guid":{"rendered":"http:\/\/angbandos.skarstech.com\/wiki\/?p=600"},"modified":"2023-05-23T03:32:24","modified_gmt":"2023-05-23T03:32:24","slug":"special-keys","status":"publish","type":"post","link":"https:\/\/angbandos.skarstech.com\/wiki\/special-keys\/","title":{"rendered":"Special Keys"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Certain special keys may be intercepted by the operating system or the host machine, causing unexpected results. In general, these special keys are control keys, and often, you can disable their special effects.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you are playing on a UNIX or similar system, then \u2018Ctrl-c\u2019 will interrupt Angband. The second and third interrupt will induce a warning bell, and the fourth will induce both a warning bell and a special message, since the fifth will either quit without saving (if Angband was compiled without the SETGID option which puts the save files in a shared location for all users) or kill your character (if Angband was compiled with the SETGID option). Also, \u2018Ctrl-z\u2019 will suspend the game, and return you to the original command shell, until you resume the game with the \u2018fg\u2019 command. The \u2018Ctrl-\\\u2019 and \u2018Ctrl-d\u2019 and \u2018Ctrl-s\u2019 keys should not be intercepted.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It is often possible to specify \u201ccontrol-keys\u201d without actually pressing the control key, by typing a caret (<code>^<\/code>) followed by the key. This is useful for specifying control-key commands which might be caught by the operating system as explained above.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Pressing backslash (<code>\\<\/code>) before a command will bypass all keymaps, and the next keypress will be interpreted as an \u201cunderlying command\u201d key, unless it is a caret (<code>^<\/code>), in which case the keypress after that will be turned into a control-key and interpreted as a command in the underlying Angband keyset. The backslash key is useful for creating actions which are not affected by any keymap definitions that may be in force, for example, the sequence&nbsp;<code>\\<\/code>&nbsp;+&nbsp;<code>.<\/code>&nbsp;+&nbsp;<code>6<\/code>&nbsp;will always mean \u201crun east\u201d, even if the&nbsp;<code>.<\/code>&nbsp;key has been mapped to a different underlying command.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The&nbsp;<code>0<\/code>&nbsp;and&nbsp;<code>^<\/code>&nbsp;and&nbsp;<code>\\<\/code>&nbsp;keys all have special meaning when entered at the command prompt, and there is no \u201cuseful\u201d way to specify any of them as an \u201cunderlying command\u201d, which is okay, since they would have no effect.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For many input requests or queries, the special character \u2018ESCAPE\u2019 will abort the command. The \u2018[y\/n]\u2019 prompts may be answered with&nbsp;<code>y<\/code>&nbsp;or&nbsp;<code>n<\/code>, or \u2018escape\u2019. The \u2018-more-\u2019 message prompts may be cleared (after reading the displayed message) by pressing \u2018ESCAPE\u2019, \u2018SPACE\u2019, \u2018RETURN\u2019, \u2018LINEFEED\u2019, or by any keypress, if the \u2018quick_messages\u2019 option is turned on.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Certain special keys may be intercepted by the operating system or the host machine, causing unexpected results. In general, these special keys are control keys,&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-600","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/angbandos.skarstech.com\/wiki\/wp-json\/wp\/v2\/posts\/600","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/angbandos.skarstech.com\/wiki\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/angbandos.skarstech.com\/wiki\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/angbandos.skarstech.com\/wiki\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/angbandos.skarstech.com\/wiki\/wp-json\/wp\/v2\/comments?post=600"}],"version-history":[{"count":1,"href":"https:\/\/angbandos.skarstech.com\/wiki\/wp-json\/wp\/v2\/posts\/600\/revisions"}],"predecessor-version":[{"id":601,"href":"https:\/\/angbandos.skarstech.com\/wiki\/wp-json\/wp\/v2\/posts\/600\/revisions\/601"}],"wp:attachment":[{"href":"https:\/\/angbandos.skarstech.com\/wiki\/wp-json\/wp\/v2\/media?parent=600"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/angbandos.skarstech.com\/wiki\/wp-json\/wp\/v2\/categories?post=600"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/angbandos.skarstech.com\/wiki\/wp-json\/wp\/v2\/tags?post=600"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}