urbit/pub/docs/user/talk.mdy

294 lines
9.3 KiB
Plaintext
Raw Normal View History

2015-10-20 20:51:45 +03:00
---
title: Talk manual
2015-10-21 00:44:25 +03:00
sort: 7
2015-10-20 20:51:45 +03:00
next: true
---
2015-10-21 00:44:25 +03:00
# `:talk` manual
2015-10-05 23:45:40 +03:00
`:talk` is the Urbit appliance for chatter and notifications.
For less sophisticated users, Urbit *is* just `:talk`. If you
see `:talk` as "like Slack, but distributed," or "like IRC, but
persistent and encrypted," you're not completely wrong.
`:talk` is an unusual messenger in two ways. One: by default, it
multiplexes all content streams into a single flow. Most UI
researchers agree that context-switching is cognitively expensive
and leads to surfing the Internet. (`:talk` is also used for
your system notifications.)
Two: text lines are limited to 64 ASCII bytes, no uppercase.
This restriction is mobile-friendly and reduces the aesthetic
impact of low-quality content.
Messages in `:talk` are called "posts". Posts go to "stations,"
which are just like IRC or Slack channels. Any urbit can host or
subscribe to any number of stations.
`:talk` is not a text-only messenger; it's designed to support
arbitrary content in posts, from URLs to images to long-form
text. (Only URLs right now.) However, any message on `:talk`
has to be able to summarize itself in a 64-byte text line.
2015-10-20 20:51:45 +03:00
There are four kinds of station: a write-only `%mailbox` for
direct messages, an invite-only `%party` for private conversation,
a read-only `%journal` for curated content, and a public-access
`%board` for general use or abuse.
While there's obviously no central `:talk` server for all of
Urbit, and thus no such thing as a truly global station space,
active Urbit stars cooperate to federate, manage and mirror a
collectively-managed namespace, very like Usenet. These
"federal" stations are generally public-access boards.
2015-10-21 20:39:19 +03:00
Right now, the only public federal station is `urbit-meta`.
Because the party always starts in the kitchen.
2015-10-20 20:51:45 +03:00
## Quickstart
Let's post something! At the default `:talk` prompt
2015-10-20 20:51:45 +03:00
2015-10-21 20:39:19 +03:00
~fintud-macrep:talk()
2015-10-20 20:51:45 +03:00
type the message:
2015-10-20 20:51:45 +03:00
2015-10-21 20:39:19 +03:00
~fintud-macrep:talk() hello, world.
2015-10-20 20:51:45 +03:00
And hit return. Don't worry, no one but you will see this. The
`:` means you're posting to yourself. You'll get the post:
2015-10-20 20:51:45 +03:00
2015-10-21 20:39:19 +03:00
~fintud-macrep: hello, world.
~fintud-macrep:talk()
2015-10-20 20:51:45 +03:00
It's boring to post to yourself. Let's join a station:
2015-10-20 20:51:45 +03:00
2015-10-21 20:39:19 +03:00
~fintud-macrep: ;join /urbit-meta
2015-10-20 20:51:45 +03:00
2015-10-21 02:50:53 +03:00
(`/urbit-meta` is a federal station, meaning it's hosted by your
2015-10-21 20:39:19 +03:00
star (for `~fintud-macrep`, `~doznec`). The `/` notation is just
2015-10-21 02:50:53 +03:00
an abbreviation for `~doznec/urbit-meta`.)
You'll see:
2015-10-20 20:51:45 +03:00
2015-10-21 02:50:53 +03:00
---------:talk| %porch subscribed to /urbit-meta, called `>`
---------:talk| rules of /urbit-meta:
2015-10-21 20:39:19 +03:00
---------:talk| don't be rude
---------:talk| urbit-meta is politically correct and safe for work
~doznec= ~fintud-macrep admitted to %urbit-meta
~fintud-macrep:talk=
2015-10-20 20:51:45 +03:00
Notice the character assignment - stations you're subscribed to are
assigned [consistent ASCII glyphs](#-station-glyphs), which you'll
see in the log when you hear from these stations, and on the prompt
when you're talking to them.
2015-10-21 02:50:53 +03:00
Post a line to `/urbit-meta`:
2015-10-20 20:51:45 +03:00
2015-10-21 20:39:19 +03:00
~fintud-macrep:talk= hello, world
2015-10-20 20:51:45 +03:00
You'll see, echoed back at you through `~doznec`:
2015-10-20 20:51:45 +03:00
2015-10-21 20:39:19 +03:00
~fintud-macrep:talk= hello, world
2015-10-20 20:51:45 +03:00
2015-10-21 02:50:53 +03:00
And of course, anyone else in `/urbit-meta` will see it as well.
But you don't care about `/urbit-meta`, so leave it:
2015-10-20 20:51:45 +03:00
2015-10-21 20:39:19 +03:00
~fintud-macrep:talk= ;leave
2015-10-20 20:51:45 +03:00
You'll see:
2015-10-20 20:51:45 +03:00
2015-10-21 02:50:53 +03:00
---------:talk| %porch has left /urbit-meta, called `>`
2015-10-20 20:51:45 +03:00
Everyone else will see:
2015-10-20 20:51:45 +03:00
2015-10-21 20:39:19 +03:00
~doznec= ~fintud-macrep has left %urbit-meta
2015-10-20 20:51:45 +03:00
Now you're ready to use `:talk` for real! List the federal
groups currently available with
2015-10-20 20:51:45 +03:00
2015-10-21 20:39:19 +03:00
~fintud-macrep:talk= ;list
2015-10-20 20:51:45 +03:00
For general discussion about Urbit, we recommend `/urbit-meta`.
2015-10-20 20:51:45 +03:00
## Manual
2015-10-20 20:51:45 +03:00
### Input conventions
There are three kinds of inputs you can type at the `:talk`
prompt: lines, URLs, and commands.
A line is 64 bytes of ASCII lowercase and spaces. If the line
starts with '@', it's an action (IRC `/me`).
The `:talk` interface will let you keep typing past 64 bytes, but
insert a Unicode bullet-point character in an appropriate space
in your post, to show you the prospective linebreak. Your essay
will be posted in multiple lines.
A URL is any valid URL. A command is any line starting with `;`.
2015-10-20 20:51:45 +03:00
### Source annotation
Any post in your flow is shown with its author, together with a
glyph that shows how the post reached you. A post can reach you
in one of three ways:
Any post you see reached you in one of three ways. Either it was
sent directly to just you; to you and others; or to a station you
subscribe to.
Posts to just you are `:`. Posts to you and others (a multiparty
conversation) are `*`, unless you've bound this conversation to a
glyph. Posts to a station use that station's glyph.
You can see a list of glyph bindings with `;what`. Write
`;what >` to see what station `>` is bound to, or
2015-10-21 02:50:53 +03:00
`;what /urbit-meta` to see if `/urbit-meta` has a binding.
2015-10-20 20:51:45 +03:00
### Audience selection
Audience selection is important in a multiplexed communicator!
The audience is always shown in your prompt. If there's a glyph
for it, it's shown as the glyph:
2015-10-20 20:51:45 +03:00
2015-10-21 20:39:19 +03:00
~fintud-macrep:talk=
2015-10-20 20:51:45 +03:00
Otherwise, the audience is shown in parens:
2015-10-20 20:51:45 +03:00
2015-10-21 20:39:19 +03:00
~fintud-macrep:talk(~dannum-mitryl)
`:talk` works fairly hard to get the audience right and minimize
manual switching. But to manually set the audience, the command
2015-10-21 20:39:19 +03:00
is simply `;station` - eg, `;~dannum-mitryl` for a direct post;
2015-10-21 02:50:53 +03:00
`/urbit-meta` or `~doznec/urbit-meta` to post to a federal
station, `%mystation` to post to a station on your own ship.
For a station bound to a glyph, `;` then the glyph; eg, `;>`.
You can post a line and set the audience in one command, eg:
2015-10-20 20:51:45 +03:00
2015-10-21 20:39:19 +03:00
;~dannum-mitryl this is a private message
You can configure your audience in a number of ways, which are
applied in priority order. From strongest to weakest:
- if typing a post, the audience when you started typing.
- if you activated a post (see below), the post you activated.
- if you manually locked the audience (see above), that audience.
- audience of the last post received.
- audience of the last post sent.
You can clear any audience setting layer by moving your cursor to
the start of the line and pressing backspace (whether the line is
empty or not). Posting a line clears the typing and activation
configurations.
2015-10-20 20:51:45 +03:00
### Post activation and numbering
Every post can summarize itself in 64 bytes. But some posts
contain more information, which is not displayed by default.
Displaying this "attachment" is an opt-in operation. In the
post, it's marked by an underscore `_`, instead of a space,
between source and content.
The conventional example is a URL. When you post a URL:
2015-10-20 20:51:45 +03:00
2015-10-21 20:39:19 +03:00
~fintud-macrep:talk= http://foobar.com/moo/baz
2015-10-20 20:51:45 +03:00
This will appear in the flow as:
2015-10-20 20:51:45 +03:00
2015-10-21 20:39:19 +03:00
~fintud-macrep>_foobar.com
2015-10-20 20:51:45 +03:00
2015-10-21 20:39:19 +03:00
meaning that `~fintud-macrep` posted a link to `foobar.com`,
on the station or conversation whose glyph is `>`.
The effect of activating a post depends on the post. For a link,
the full URL is shown and (system permitting) put into the OS's
clipboard, or even automatically navigated to. Even for a text
post, activating shows the full audience, for complex audiences.
Posts in your `:talk` flow are numbered; the numbers are printed
every five posts, as
2015-10-20 20:51:45 +03:00
----------[5955]
You can specify a post to activate in two ways: by absolute or
relative position. Absolute position is a direct history number:
2015-10-20 20:51:45 +03:00
;5955
If you use fewer digits than are in the current flow number, the
high digits are defaulted "deli style" - if the current number is
5955, typing `;3` means `;5953`, and `;140` means `;5140`. To
actually activate post `3`, write `;0003`.
A unary sequence of `;` characters looks backward from the
present. `;` activates the most recent post; `;;` the second
most recent; etc.
2015-10-20 20:51:45 +03:00
### Nicknames
Sometimes you know your Urbit friends by other names, on or
offline. Use the `;nick` command to assign or look up
nicknames.
`;nick` with no arguments lists all nicknames; `;nick
2015-10-21 20:39:19 +03:00
~fintud-macrep` looks up a nickname; `;nick plato` searches in
reverse; `;nick ~fintud-macrep plato` creates a nickname.
All nicknames must be 14 characters or less, lowercase.
Of course, nicknames are strictly local - like the names on
entries in a phonebook. Sometimes in a post you want to mention
2015-10-21 20:39:19 +03:00
someone you know by a nickname. Just type `~plato`, and `:talk`
will replace it magically with `~fintud-macrep` (or beep if no
`~plato` is bound).
2015-10-20 20:51:45 +03:00
### Presence
You'll see presence notifications when people enter or leave
stations you're subscribed to.
`;who` lists everyone in all your stations. `;who station`
lists everyone in that station.
2015-10-20 20:51:45 +03:00
### Typing indicator
If one or more urbits in your audience is typing, `:talk`'s
presence system will detect it and change the prompt:
2015-10-21 20:39:19 +03:00
~fintud-macrep [~dannum-mitryl...]=
2015-10-20 20:51:45 +03:00
### Creating and managing stations
To create your own mailbox, party, journal or board:
2015-10-20 20:51:45 +03:00
;create party %myfunparty
;create journal %serious-journal
;create board %bizarre-board
etc.
Every form of station has an exception list; to block
2015-10-21 20:39:19 +03:00
`~dannum-mitryl` from your default mailbox `%porch`,
2015-10-20 20:51:45 +03:00
2015-10-21 20:39:19 +03:00
;block %porch ~dannum-mitryl
2015-10-20 20:51:45 +03:00
To invite people to `%myfunparty`:
2015-10-20 20:51:45 +03:00
2015-10-21 20:39:19 +03:00
;invite %myfunparty ~dannum-mitryl, ~lagret-marpub
2015-10-20 20:51:45 +03:00
To ban from `%bizarre-board`:
2015-10-20 20:51:45 +03:00
2015-10-21 20:39:19 +03:00
;banish %bizarre-board ~dannum-mitryl
2015-10-20 20:51:45 +03:00
To appoint a coauthor of `%serious-journal`:
2015-10-21 20:39:19 +03:00
;author %serious-journal ~lagret-marpub
2015-10-20 20:51:45 +03:00
#### Station glyphs
Station are assigned out of the list `:|}>`, then
randomly out of it and the sets `-+*.`, ``,=`'^\/``,
`$%&@`, and `{<[]()`, in decreasing order of probabilty.
Alphanumeric characters and `!#?;~_` are reserved.