Updated man page since command line arguments is now handled directly by the application and is more complete, remove obsolete code in shell script laucher and updated copyrights and email addresses.

cusax-fix
Martin Andre 18 years ago
parent 9a6a47bf8d
commit d4d1563eed

@ -3,9 +3,9 @@ Mon, 25 Sep 2006 11:51:01 +0900.
It was downloaded from http://www.sip-communicator.org.
Upstream Author: Emil Ivov <emcho@clarinet.u-strasbg.fr>
Upstream Author: Emil Ivov <emcho@sip-communicator.org>
Copyright: (C) 2004-2006, Emil Ivov <emcho@clarinet.u-strasbg.fr>
Copyright: (C) 2004-2008, Emil Ivov <emcho@sip-communicator.org>
License:
GNU LESSER GENERAL PUBLIC LICENSE

@ -2,7 +2,7 @@
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH sip-communicator 1 "September 25, 2006"
.TH sip-communicator 1 "October 10, 2008"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
@ -19,29 +19,41 @@
sip-communicator \- the Java VoIP and Instant Messaging client
.SH SYNOPSIS
.B sip-communicator
.RI [ options ]
.RI [ options ] " " [ uri-to-call ]
.SH DESCRIPTION
This manual page documents briefly the
.B sip-communicator
command.
.PP
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
.\" respectively.
\fBSIP Communicator\fP is an application that allows you to do audio/video
conversations over the Internet through the SIP protocol, as well as chat with
your friends using some of the most popular instant messaging protocols such as
SIP/SIMPLE, Jabber, AIM/ICQ, MSN, Yahoo, IRC and others.
\fBSIP Communicator\fP is an audio/video Internet phone and instant messenger
that supports some of the most popular instant messaging and telephony
protocols such as SIP, Jabber, AIM/ICQ, MSN, Yahoo! Messenger, Bonjour, IRC,
RSS and soon others like IAX.
.PP
.RI "An optional " uri-to-call " expression can be specified to start a call from the command-line. If SIP Communicator is already running then the call is handled by the running application, except when it is explicitly told to allow multiple instance launch."
.SH OPTIONS
.TP
.BI "\-c, \-\-config=" DIR
Use
.I DIR
for configuration files.
.TP
.B \-d, \-\-debug
Print debugging messages to stdout.
.TP
.B \-h, \-\-help
Show summary of options.
Print a help message containing usage instructions and descriptions of all options currently supported.
.TP
.B \-m, \-\-multiple
Allow multiple instance launch.
.TP
.B \-6, \-\-ipv6
Force use of IPv6 addresses where possible.
.TP
.B \-v, \-\-verbose
SIP communicator logs are displayed in the console.
.B \-4, \-\-ipv4
Force non-support for IPv6 and use of IPv4 only.
.TP
.B \-V, \-\-version
Show version of program.
.B \-v, \-\-version
Display the current version and exit.
.TP
.SH FILES
.TP
@ -54,7 +66,7 @@ The IM contact-list.
.RS
The main configuration file.
.SH AUTHOR
SIP Communicator was written by Emil Ivov <emcho@clarinet.u-strasbg.fr>.
SIP Communicator was written by Emil Ivov <emcho@sip-communicator.org>.
.PP
This manual page was written by Martin Andre <mandre@dev.java.net>, for the
Debian project (but may be used by others).

@ -1,28 +1,5 @@
#!/bin/bash
function print_help() {
echo "SIP Communicator option summary"
echo -e "\t-h, --help\t show this help message"
echo -e "\t-v, --verbose\t verbose output"
echo -e "\t-V, --version\t show version"
}
#TEMP=`getopt -o hVv -l help -l version -l verbose -n 'SIP Communicator' -- "$@"`
#if [ $? != 0 ] ; then echo "Terminating..." >&2 ; exit 1 ; fi
#eval set -- "$TEMP"
#while true ; do
# case "$1" in
# -h|--help) print_help; exit 0;;
# -V|--version) echo "SIP Communicator version _SC_VERSION_"; exit 0;;
# -v|--verbose) VERBOSE="yes" ; shift ;;
# --) shift ; break ;;
# *) echo "Internal error!" ; exit 1 ;;
# esac
#done
javabin=`which java`
SCDIR=/usr/lib/sip-communicator
@ -32,27 +9,15 @@ FELIX_CONFIG=$LIBPATH/felix.client.run.properties
LOG_CONFIG=$LIBPATH/logging.properties
COMMAND="$javabin -classpath $CLASSPATH -Dfelix.config.properties=file:$FELIX_CONFIG -Djava.util.logging.config.file=$LOG_CONFIG net.java.sip.communicator.launcher.SIPCommunicator"
#set add LIBPATH to LD_LIBRARY_PATH for any sc natives (e.g. jmf .so's)
# set add LIBPATH to LD_LIBRARY_PATH for any sc natives (e.g. jmf .so's)
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LIBPATH/native
#make LD_PRELOAD use libaoss so that java doesn't hog on the audio device.
# make LD_PRELOAD use libaoss so that java doesn't hog on the audio device.
export LD_PRELOAD=/usr/lib/libaoss.so
#create .sip-commnicator/log in home or otherwise java.util.logging will freak
# create .sip-commnicator/log in home or otherwise java.util.logging will freak
mkdir -p $HOME/.sip-communicator/log
cd $SCDIR
exec $COMMAND $*
#commenting out silent execution handling as it is now being implemented in SC
#(even though it currently works worse than what's in here)
#if [ -f $javabin ]
#then
# if [ $VERBOSE ] ; then
# exec $COMMAND
# else
# exec $COMMAND > /dev/null 2>&1
# fi
# exit $?
#fi

Loading…
Cancel
Save