sic \- simple irc client
.SH SYNOPSIS
.B sic
+.RB [ \-s
+.IR server ]
+.RB [ \-p
+.IR port ]
+.RB [ \-n
+.IR nick ]
+.RB [ \-k
+.IR keyword ]
+.RB [ \-f
+.IR fullname ]
+.RB \-v
.RB [ \-v ]
.SH DESCRIPTION
.B sic
different channel buffers, that's actually a feature.
.SH OPTIONS
.TP
+.BI \-s " server"
+Overrides the default server (irc.oftc.net)
+.TP
+.BI \-p " port"
+Overrides the default port (6667)
+.TP
+.BI \-n " nickname"
+Override the default nick ($USER)
+.TP
+.BI \-k " keyword"
+Specifies the keyword to authenticate your nick on the server
+.TP
+.BI \-f " fullname"
+Specify the real name (default is $USER)
+.TP
.BI \-v
Prints version information to standard output, then exits.
.SH COMMANDS
/* CUSTOMIZE */
static char *server = "irc.oftc.net";
static int port = 6667;
-static char *nick = "arg";
-static char *fullname = "Anselm R. Garbe";
+static char *nick = NULL;
+static char *fullname = NULL;
static char *password = NULL;
static char bufin[MAXMSG], bufout[MAXMSG];
char ping[256];
fd_set rd;
+ nick = fullname = getenv("USER");
for(i = 1; (i < argc) && (argv[i][0] == '-'); i++) {
switch (argv[i][1]) {
default: