]> git.lizzy.rs Git - plan9front.git/blob - sys/man/1/ircrc
add /sys/man/1/ircrc, thanks pap
[plan9front.git] / sys / man / 1 / ircrc
1 .TH IRCRC 1
2 .SH NAME
3 ircrc \- internet relay chat client
4 .SH SYNOPSIS
5 .B ircrc
6 [
7 .B -p
8 .I port
9 ]
10 [
11 .B -r
12 .I realname
13 ]
14 [
15 .B -t
16 .I target
17 ]
18 [
19 .B -n
20 .I nick
21 ]
22 [
23 .I server
24 ]
25 .SH DESCRIPTION
26 .I Ircrc
27 is an IRC client.
28 Messages are sent from stdin and received from stdout.
29 The default server is
30 .BR irc.freenode.net .
31 The options are:
32 .TP
33 .BI -p " port
34 Change the default port
35 .RB ( 6667 ).
36 .TP
37 .BI -r " realname
38 Change the default name
39 .RB ( <nil> ).
40 .TP
41 .BI -t " target
42 Set the target channel.
43 .TP
44 .BI -n " nick
45 Change the default nickname
46 .RB ( $user ).
47 .SS Commands
48 .I Ircrc
49 understands the following commands:
50 .TP
51 .BI /! " cmd
52 Send the output of the shell command
53 .I cmd
54 to the current target.
55 .TP
56 .B /M
57 .B MODE
58 command.
59 .TP
60 .B /N
61 .B NOTICE
62 command.
63 .TP
64 .B /T
65 .B TOPIC
66 command.
67 .TP
68 .B /W
69 .B WHOIS
70 command.
71 .TP
72 .B /a
73 .B AWAY
74 command.
75 .TP
76 .B /j
77 .B JOIN
78 command.
79 .TP
80 .B /l
81 .B LIST
82 command.
83 .TP
84 .B /m
85 .B PRIVMSG
86 command.
87 .TP
88 .B /n
89 .B NICK
90 command.
91 .TP
92 .B /p
93 .B PART
94 command.
95 .TP
96 .BI /q " cmd
97 Send the raw IRC command
98 .I cmd
99 to the server.
100 .TP
101 .BI /t " target
102 Set the current target.
103 Messages are sent to
104 .I target
105 unless they are commands.
106 .TP
107 .B /u
108 .B USERS
109 command.
110 .TP
111 .B /w
112 .B WHO
113 command.
114 .TP
115 .B /x
116 .B QUIT
117 command.
118 .PP
119 Anything else is sent as a message to the current target.
120 See RFC 1459 and RFC 2812 for detailed information about
121 IRC commands.
122 .SH EXAMPLES
123 Default usage:
124 .IP
125 .EX
126 % ircrc
127 .EE
128 .PP
129 Join
130 .B irc.oftc.net
131 as a different user:
132 .IP
133 .EX
134 % ircrc -r glenda -n glenda irc.oftc.net
135 .EE
136 .SH SOURCE
137 .B /rc/bin/ircrc
138 .SH SEE ALSO
139 .B http://tools.ietf.org/html/rfc1459
140 .br
141 .B http://tools.ietf.org/html/rfc2812
142 .SH BUGS
143 .I Ircrc
144 cannot join channels upon login (the
145 .B -t
146 flag only sets the target, it doesn't join the channel).
147 .PP
148 .I Ircrc
149 does not filter out the
150 .B ^B
151 character that is sent by nickserv when asking for
152 identification.
153 .PP
154 Some fonts do not support the nickname delimiters.
155 .PP
156 .I Ircrc
157 does not output messages received from the server when
158 .B /net/tcp/[0-9]/status
159 does not match the regular expression
160 .BR /^Established.*/ .
161 This occurs when using
162 .I ircrc.