156 lines · 2.8 KB · Text
RawDownload
.TH IRC 1.SH NAMEircsrv, irc \- internet relay chat client and ui.SH SYNOPSIS.B ircsrv[.I -e][.I -s service][.I -f file][.I -p pass][.I -P nickserv pass][.I -n nickname][.I -D debug log].I [tcp!]irc.server.org[!port].br.B irc[.I -S][.I -c charset][.I -t victim][.I -b lines][.I -n nick][.I -r file][.I /srv/serv[.I /tmp/file]].SH DESCRIPTION.I Ircsrvmakes a connection to an irc server and reconnects if the connectiongets broken. It posts a service to /srv and creates (if necessary) anappend mode log file to /tmp. Default file and service name is a concatenation the username and the string .I irc.The default nickname is your username unless flag.I -nis used..PP.I Ircis a client program that makes use of the service provided by.I ircsrvand provides a user interface for sending and receivingmessages..PPThe command language understood by.I ircis as follows.EX/h  this message/H	this message/m	privmsg #chan/nick message/M	mode #chan +nt/j	join [ #chan ]/p	part [ #chan ]/q	send parameters raw to the server/l	list [ #chan ]/L	names [ #chan ]/n	nick newnick/N	notice #chan/nick message/t	set [ victim ]/T	topic [ #chan [ newtopic ]]/W	whois nick/w	who nick (a shorter whois).EE.PPThe.I -eflag enables SSL, the.I -cflag sets character set conversion using.IR tcs (1),the.I -rflag will cause irc to replay the conversation from the raw file supplied as argument without user interaction,the.I -bflag causes the client to display the last n lines of the default target or conversations if no target is set. Without any arguments.I -bprints the conversation from the very beginning. The flag.I -Sprevents.I ircfrom enabling scrolling in the window by default. This should be used when run in acme to prevent an error message. The.I -tflag sets the default target to which the messages aresent by default if a line written to.I ircdoes not begin with /. Irc also prints messages to/fromthe target exclusively if one is set. Irc prints only private messages if the target is set to "MSGS", useful for being notified when a message is sent to your nick without having to monitor all the status information. Flags.I -pand.I -Pare for normal passwords and nickserv passwords (a la freenode). Flag.I -nsets a nickname to something other than your username..SH EXAMPLESTo start up ircsrv on a remote cpu server.EXcpu -c ircsrv glenda irc.freenode.net.EE.PPTo use ircsrv started earlier on a cpu server.EXimport $cpu /srvimport $cpu /tmpirc.EE.PPTo start/see/continue a conversation with a specific target (can be #chan or nick).EXirc -t \'#plan9\'irc -t f2f.EE.PPTo run irc within acme start irc inside "win -e":.EXwin -eirc -t f2f.EE.SH SOURCE/sys/src/cmd/ircsrv.c.br/sys/src/cmd/irc.c.SH SEE ALSO.IR tcs (1),.IR faces (1),.IR nedmail (1).SH BUGSYes.