on master help sign in
Merge pull request #103 from Fang-/ctrl
64c1362cgyarvin
docs/about/runtime.md+1−1
@@ -513,7 +513,7 @@ no means the case.
513
513
514In deep memory, think of yourself as if in a signal handler.
514In deep memory, think of yourself as if in a signal handler.
515Your execution context is extremely fragile and may be terminated
515Your execution context is extremely fragile and may be terminated
516−without warning or cleanup at any time (for instance, by ^C).
516+without warning or cleanup at any time (for instance, by `ctrl-c`).
517
517
518For instance, you can't call `malloc` (or C++ `new`) in your C
518For instance, you can't call `malloc` (or C++ `new`) in your C
519code, because you don't have the right to modify data structures
519code, because you don't have the right to modify data structures
docs/byte/0.md+5−4
@@ -90,7 +90,7 @@ http: live (insecure, loopback) on 12321
90```
90```
91
91
92That's super awesome! You made your first noun! We'll make a
92That's super awesome! You made your first noun! We'll make a
93−few more in a second. First, quit Urbit with `^D`:
93+few more in a second. First, quit Urbit with `ctrl-d`:
94
94
95```
95```
96> (add 2 2)
96> (add 2 2)
@@ -121,7 +121,7 @@ http: live (insecure, loopback) on 12321
121```
121```
122
122
123Note also that Urbit is an ACID database. You can stop it
123Note also that Urbit is an ACID database. You can stop it
124−politely with `^D`, abruptly with `^Z`, even violently with `kill
124+politely with `ctrl-d`, abruptly with `ctrl-z`, even violently with `kill
125-9`. None of these should cause Urbit to lose data. If you do
125-9`. None of these should cause Urbit to lose data. If you do
126manage to corrupt a pier, it's a bug; please let us know.
126manage to corrupt a pier, it's a bug; please let us know.
127
127
@@ -256,10 +256,11 @@ Each number is an atom; each dot is a cell.
256
256
257## And we're done
257## And we're done
258
258
259−And we're done! Press `^D` to exit:
259+And we're done! Type `|exit` to exit:
260
260
261```
261```
262−~zod:dojo> ^D
262+~zod:dojo> |exit
263+%drum-exit
263$
264$
264```
265```
265
266
docs/byte/1.md+3−2
@@ -334,10 +334,11 @@ all its atoms as decimals.
334
334
335## And we're done
335## And we're done
336
336
337−And we're done! Press `^D` to exit:
337+And we're done! Type `|exit` to exit:
338
338
339```
339```
340−~zod:dojo> ^D
340+~zod:dojo> |exit
341+%drum-exit
341$
342$
342```
343```
343
344
docs/byte/2.md+5−4
@@ -36,8 +36,8 @@ are expressions.
36
36
37(The dojo is not the only command-line app on your Urbit. By
37(The dojo is not the only command-line app on your Urbit. By
38default there is one other, `:talk`. Since you're on a fakezod,
38default there is one other, `:talk`. Since you're on a fakezod,
39−you can only talk to yourself. If you accidentally press `^X`,
39+you can only talk to yourself. If you accidentally press `ctrl-x`,
40−it will put you into `:talk`; press `^X` again to switch back.)
40+it will put you into `:talk`; press `ctrl-x` again to switch back.)
41
41
42### Dojo variables
42### Dojo variables
43
43
@@ -476,10 +476,11 @@ not a particularly interesting mystery.
476
476
477## And we're done
477## And we're done
478
478
479−And we're done! Press `^D` to exit:
479+And we're done! Type `|exit` to exit:
480
480
481```
481```
482−~zod:dojo> ^D
482+~zod:dojo> |exit
483+%drum-exit
483$
484$
484```
485```
485
486
docs/hoon/troubleshooting.md+1−1
@@ -145,7 +145,7 @@ If your code crashes at runtime or overflows the stack, you'll
145see a stack trace that looks just like the trace above. Don't
145see a stack trace that looks just like the trace above. Don't
146confuse runtime crashes with compilation errors, though.
146confuse runtime crashes with compilation errors, though.
147
147
148−If your code goes into an infinite loop, kill it with `^C` (you'll
148+If your code goes into an infinite loop, kill it with `ctrl-c` (you'll
149need to be developing on the local console; otherwise, the
149need to be developing on the local console; otherwise, the
150infinite loop will time out either too slowly or too fast). The
150infinite loop will time out either too slowly or too fast). The
151stack trace will show what your code was doing when interrupted.
151stack trace will show what your code was doing when interrupted.
docs/hoon/twig/sig-hint/lus-memo.md+1−1
@@ -29,7 +29,7 @@ This may pause for a second:
29121.393
29121.393
30```
30```
31
31
32−This may make you want to press ^C:
32+This may make you want to press `ctrl-c`:
33
33
34```
34```
35~zod:dojo> %.(30 |=(a/@ ?:((lth a 2) 1 (add $(a (sub a 2)) $(a (dec a))))))
35~zod:dojo> %.(30 |=(a/@ ?:((lth a 2) 1 (add $(a (sub a 2)) $(a (dec a))))))
docs/using/admin.md+17−17
@@ -17,7 +17,7 @@ Your Urbit is a persistent Unix process that you mainly control from the console
17
17
18## Shutdown
18## Shutdown
19
19
20−You can turn your Urbit off with `^D` from the `:talk` or `:dojo` prompts.
20+You can turn your Urbit off with `ctrl-d` from the `:talk` or `:dojo` prompts.
21
21
22## Restart
22## Restart
23
23
@@ -42,29 +42,29 @@ Your Urbit terminal is separated into two parts: the prompt (the bottom line) an
42
42
43In the CLI Urbit apps can process your input before you hit return. To see this in action try entering `)` as the first character at the `:dojo` prompt. Since there is no dojo command or hoon expression that starts with ')', the dojo rejects it.
43In the CLI Urbit apps can process your input before you hit return. To see this in action try entering `)` as the first character at the `:dojo` prompt. Since there is no dojo command or hoon expression that starts with ')', the dojo rejects it.
44
44
45−`^X` - Switches the prompt between running console apps
45+`ctrl-x` - Switches the prompt between running console apps
46
46
47−`^C` - Crash current event. Processed at the Unix layer and prints a stack trace.
47+`ctrl-c` - Crash current event. Processed at the Unix layer and prints a stack trace.
48
48
49−`^D` - From `:talk` or `:dojo` stops your Urbit process.
49+`ctrl-d` - From `:talk` or `:dojo` stops your Urbit process.
50
50
51`↑` / `↓` - History navigation
51`↑` / `↓` - History navigation
52
52
53The following emacs-style key bindings are available:
53The following emacs-style key bindings are available:
54
54
55− ^A cursor to beginning of the line (Home)
55+ ctrl-a cursor to beginning of the line (Home)
56− ^B cursor one character backward (left-arrow)
56+ ctrl-b cursor one character backward (left-arrow)
57− ^E cursor to the end of the line (End)
57+ ctrl-e cursor to the end of the line (End)
58− ^F cursor one character forward (right-arrow)
58+ ctrl-f cursor one character forward (right-arrow)
59− ^G beep; cancel reverse-search
59+ ctrl-g beep; cancel reverse-search
60− ^K kill to end of line
60+ ctrl-k kill to end of line
61− ^L clear the screen
61+ ctrl-l clear the screen
62− ^N next line in history (down-arrow)
62+ ctrl-n next line in history (down-arrow)
63− ^P previous line in history (up-arrow)
63+ ctrl-p previous line in history (up-arrow)
64− ^R reverse-search
64+ ctrl-r reverse-search
65− ^T transpose characters
65+ ctrl-t transpose characters
66− ^U kill to beginning of line
66+ ctrl-u kill to beginning of line
67− ^Y yank from kill buffer
67+ ctrl-y yank from kill buffer
68
68
69Full coverage of the Urbit shell, the `:dojo` is covered in the [Shell walkthrough](/docs/using/shell).
69Full coverage of the Urbit shell, the `:dojo` is covered in the [Shell walkthrough](/docs/using/shell).
70
70
docs/using/setup.md+1−1
@@ -62,7 +62,7 @@ Good.
62
62
63### Messaging — `:talk`
63### Messaging — `:talk`
64
64
65−Use `^X` (ctrl-x) to change your prompt. Let's join the main Urbit chat
65+Use `ctrl-x` to change your prompt. Let's join the main Urbit chat
66channel.
66channel.
67
67
68For planets:
68For planets: