on master help sign in
Merge pull request #103 from Fang-/ctrl

Consistently use ctrl-key instead of ^key

commit64c13629739a5993d74d144b8fd8a181c7b2329b authorcgyarvin <curtis.yarvin@gmail.com> dateWed 31 Aug 2016, 15:17 (10 years ago) parent228be384edc587
8 files changed+34−31
docs/about/runtime.md+1−1 docs/byte/0.md+5−4 docs/byte/1.md+3−2 docs/byte/2.md+5−4 docs/hoon/troubleshooting.md+1−1 docs/hoon/twig/sig-hint/lus-memo.md+1−1 docs/using/admin.md+17−17 docs/using/setup.md+1−1
docs/about/runtime.md+1−1
@@ -513,7 +513,7 @@ no means the case.
513513
514514In deep memory, think of yourself as if in a signal handler.
515515Your 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`).
517517
518518For instance, you can't call `malloc` (or C++ `new`) in your C
519519code, 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
9090```
9191
9292That'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`:
9494
9595```
9696> (add 2 2)
@@ -121,7 +121,7 @@ http: live (insecure, loopback) on 12321
121121```
122122
123123Note 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
125125-9`. None of these should cause Urbit to lose data. If you do
126126manage to corrupt a pier, it's a bug; please let us know.
127127
@@ -256,10 +256,11 @@ Each number is an atom; each dot is a cell.
256256
257257## And we're done
258258
259−And we're done! Press `^D` to exit:
259+And we're done! Type `|exit` to exit:
260260
261261```
262−~zod:dojo> ^D
262+~zod:dojo> |exit
263+%drum-exit
263264$
264265```
265266
docs/byte/1.md+3−2
@@ -334,10 +334,11 @@ all its atoms as decimals.
334334
335335## And we're done
336336
337−And we're done! Press `^D` to exit:
337+And we're done! Type `|exit` to exit:
338338
339339```
340−~zod:dojo> ^D
340+~zod:dojo> |exit
341+%drum-exit
341342$
342343```
343344
docs/byte/2.md+5−4
@@ -36,8 +36,8 @@ are expressions.
3636
3737(The dojo is not the only command-line app on your Urbit. By
3838default there is one other, `:talk`. Since you're on a fakezod,
39−you can only talk to yourself. If you accidentally press `^X`,
40−it will put you into `:talk`; press `^X` again to switch back.)
39+you can only talk to yourself. If you accidentally press `ctrl-x`,
40+it will put you into `:talk`; press `ctrl-x` again to switch back.)
4141
4242### Dojo variables
4343
@@ -476,10 +476,11 @@ not a particularly interesting mystery.
476476
477477## And we're done
478478
479−And we're done! Press `^D` to exit:
479+And we're done! Type `|exit` to exit:
480480
481481```
482−~zod:dojo> ^D
482+~zod:dojo> |exit
483+%drum-exit
483484$
484485```
485486
docs/hoon/troubleshooting.md+1−1
@@ -145,7 +145,7 @@ If your code crashes at runtime or overflows the stack, you'll
145145see a stack trace that looks just like the trace above. Don't
146146confuse runtime crashes with compilation errors, though.
147147
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
149149need to be developing on the local console; otherwise, the
150150infinite loop will time out either too slowly or too fast). The
151151stack 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:
2929121.393
3030```
3131
32−This may make you want to press ^C:
32+This may make you want to press `ctrl-c`:
3333
3434```
3535~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
1717
1818## Shutdown
1919
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.
2121
2222## Restart
2323
@@ -42,29 +42,29 @@ Your Urbit terminal is separated into two parts: the prompt (the bottom line) an
4242
4343In 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.
4444
45−`^X` - Switches the prompt between running console apps
45+`ctrl-x` - Switches the prompt between running console apps
4646
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.
4848
49−`^D` - From `:talk` or `:dojo` stops your Urbit process.
49+`ctrl-d` - From `:talk` or `:dojo` stops your Urbit process.
5050
5151`↑` / `↓` - History navigation
5252
5353The following emacs-style key bindings are available:
5454
55− ^A cursor to beginning of the line (Home)
56− ^B cursor one character backward (left-arrow)
57− ^E cursor to the end of the line (End)
58− ^F cursor one character forward (right-arrow)
59− ^G beep; cancel reverse-search
60− ^K kill to end of line
61− ^L clear the screen
62− ^N next line in history (down-arrow)
63− ^P previous line in history (up-arrow)
64− ^R reverse-search
65− ^T transpose characters
66− ^U kill to beginning of line
67− ^Y yank from kill buffer
55+ ctrl-a cursor to beginning of the line (Home)
56+ ctrl-b cursor one character backward (left-arrow)
57+ ctrl-e cursor to the end of the line (End)
58+ ctrl-f cursor one character forward (right-arrow)
59+ ctrl-g beep; cancel reverse-search
60+ ctrl-k kill to end of line
61+ ctrl-l clear the screen
62+ ctrl-n next line in history (down-arrow)
63+ ctrl-p previous line in history (up-arrow)
64+ ctrl-r reverse-search
65+ ctrl-t transpose characters
66+ ctrl-u kill to beginning of line
67+ ctrl-y yank from kill buffer
6868
6969Full coverage of the Urbit shell, the `:dojo` is covered in the [Shell walkthrough](/docs/using/shell).
7070
docs/using/setup.md+1−1
@@ -62,7 +62,7 @@ Good.
6262
6363### Messaging — `:talk`
6464
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
6666channel.
6767
6868For planets: