Difference between revisions of "Backslash"

From NetHackWiki
Jump to navigation Jump to search
m (moved \ to Backslash: fix copy-paste move)
(mistake is mine there, was apparently a control character - movin' accordingly)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{distinguish|slash}}
 
{{ASCII}}
 
{{ASCII}}
{{distinguish|slash}}
+
In ''[[NetHack]]'', the '''backslash''' ('''\''') serves the following purposes:
* The '''backslash''' {{yellow|\}} character represents a [[throne]].
 
* {{white|\}} is also used for drawing [[ray]]s (e.g. [[breath attack]]s and zapped [[wands]]).
 
* During the game, press '''{{kbd|\}}''' to view your current knowledge about [[Discoveries|identified items]].
 
: Note: With a french-canadian keyboard layout, pressing the backslash command won't work as result because it require a tricky manipulation that do not process right in the common windows terminal <Unknown command 'M-#'.> "(AltGr and the "~ '" key for \), also the [[Nhraykey.dll]] or subkeyvalue won't do it and there no patch about it either. To solve this you might change for a US layout and restart nethack or play on a linux tty(it handle the french-canadian layout correctly) or play on a graphical port.
 
* Pressing {{kbd|\}} at a menu [[Menu_controls|deselects]] all items on the current page.  Supported by [[tty]] and [[curses interface]]s, see [[menu controls]].
 
  
Do not confuse the backslash \ with the [[Slash|forward slash /]].
+
* {{yellow|\}} character represents a [[throne]].
 +
* {{white|\}} is used for drawing diagonal [[ray]]s.
  
{{nethack-343}}
+
* Press {{kbd|\}} to view your current knowledge about [[Discoveries|identified items]].
 +
* In [[Menu controls|a menu]], pressing {{kbd|\}} deselects all items on the current page.
 +
* A French-Canadian keyboard layout will prevent the backslash command from working, due to requiring a tricky manipulation that is not processed properly in most Windows terminals - you may need to change your keyboard layout to a US layout and restart ''NetHack'', or else play the game via a Linux tty (which handles the French-Canadian layout correctly) or a graphical port.<!--unsure if still true as of 3.6.7-->
 +
{{nethack-367}}
 
[[Category:ASCII]]
 
[[Category:ASCII]]

Latest revision as of 17:30, 6 January 2024

Not to be confused with slash.
Printable ASCII characters
~ ! @ # $ % ^ & * ( ) _ + space
` 1 2 3 4 5 6 7 8 9 0 - = { } |
Qq Ww Ee Rr Tt Yy Uu Ii Oo Pp : " [ ] \
Aa Ss Dd Ff Gg Hh Jj Kk Ll ? ; ' Ctrl
Zz Xx Cc Vv Bb Nn Mm , . / < > Alt

In NetHack, the backslash (\) serves the following purposes:

  • \ character represents a throne.
  • \ is used for drawing diagonal rays.
  • Press \ to view your current knowledge about identified items.
  • In a menu, pressing \ deselects all items on the current page.
  • A French-Canadian keyboard layout will prevent the backslash command from working, due to requiring a tricky manipulation that is not processed properly in most Windows terminals - you may need to change your keyboard layout to a US layout and restart NetHack, or else play the game via a Linux tty (which handles the French-Canadian layout correctly) or a graphical port.