7974b79e64
Sirc is an Internet Relay Chat programmable client written in perl and C. It has a main perl script that can be run in 'dumb' mode, standalone, and a separate split-screen front end in C, called ssfe.
17 lines
294 B
Bash
17 lines
294 B
Bash
#!/bin/sh
|
|
|
|
PERL=/usr/bin/perl
|
|
|
|
if test -z "$SIRCSERVER" && test -z "$IRCSERVER"
|
|
then
|
|
SIRCSERVER="irc.ef.net"
|
|
export SIRCSERVER
|
|
fi
|
|
|
|
case "$1" in
|
|
-d) shift
|
|
exec ${PERL} PREFIX.SED/bin/dsirc "$@"
|
|
;;
|
|
*) eval exec PREFIX.SED/bin/ssfe $SSFE ${PERL} PREFIX.SED/bin/dsirc \"\$@\"
|
|
esac
|