aboutsummaryrefslogtreecommitdiffstats
path: root/apps/sympathy.c
blob: 4b67502d5e74f112466ce25426845c31326089f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
/*
 * sympathy.c:
 *
 * Copyright (c) 2008 James McKenzie <james@fishsoup.dhs.org>,
 * All rights reserved.
 *
 */

static char rcsid[] = "$Id$";

/*
 * $Log$
 * Revision 1.4  2008/02/20 02:11:35  james
 * *** empty log message ***
 *
 * Revision 1.3  2008/02/14 02:46:44  james
 * *** empty log message ***
 *
 * Revision 1.2  2008/02/14 00:57:58  james
 * *** empty log message ***
 *
 * Revision 1.1  2008/02/05 14:25:49  james
 * *** empty log message ***
 *
 */

#include <sympathy.h>
#include "mainloop.h"

int
main (int argc, char *argv[])
{
int c;
extern char *optarg;
extern int optind, opterr, optopt;

int tflag=0,cflag=0,sflag=0,rflag=0;
int lflag=0,dflag=0,bflag=0,pflag=0;
int kflag=0;

int nhistory=200;
int baud=-1;
char *rid,*device_path;
char *socket_path;

while ((c=getopt(argc,argv,"tscr:d:pb:fL:Fk:n:"))!=EOF) {
switch(c) {
	case 't':
		tflag++;
		break;
	case 's':
		sflag++;
		break;
	case 'c':
		cflag++;
	






default:
	usage();
}
}




           "sympathy -t      [-l] [-d serialdev|-p] [-b baud] [-f] [-L log]\n"
           "sympathy -s      [-l] [-d serialdev|-p] [-b baud] [-f] [-L log] [-F] [-k skt]\n"
	   "                      [-n hlines]\n"
           "sympathy [-s -c] [-l] [-d serialdev|-p] [-b baud] [-f] [-L log] [-k skt]\n"
	   "                      [-n hlines]\n"
           "sympathy -c      [-H] -k skt\n"
           "sympathy -r id   [-H]\n"
           "\n"

  client ();
}