Skip to content

Instantly share code, notes, and snippets.

@janewang
Created August 3, 2012 19:21
Show Gist options
  • Save janewang/3250611 to your computer and use it in GitHub Desktop.
Save janewang/3250611 to your computer and use it in GitHub Desktop.
Chatty Blubbering
Eshell V5.9.1 (abort with ^G)
1> c(mini_chat).
{ok,mini_chat}
2> mini_chat:start().
true
3> Jane = spawn(mini_chat, user, ["Jane"]).
SYSTEM: Jane has joined the channel.
<0.42.0>
4> Zach = spawn(mini_chat, user, ["Zach"]).
SYSTEM: Zach has joined the channel.
SYSTEM: Zach has joined the channel.
<0.44.0>
5> Zach ! {send, "Hello I'm Zacho"}.
Zach: Hello I'm Zacho{send,"Hello I'm Zacho"}
SYSTEM: Nick has joined the channel.
SYSTEM: Nick has joined the channel.
Nick: hello
Nick: hello
From the console:nc NAME.LOCAL 6667
Set a nickname with /nick.
/nick Nick
SYSTEM: Nick has joined the channel.
hello
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment