aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorjames <>2008-02-15 23:52:12 +0000
committerjames <>2008-02-15 23:52:12 +0000
commit85a601f7fcaaa64d58567779236a4f3568c219ad (patch)
tree8f759603b660edb1ff7419cd10d4787f3a2fd33b /apps
parent15e84568cdefdddc2191d15156ab5e35d57b47be (diff)
downloadsympathy-85a601f7fcaaa64d58567779236a4f3568c219ad.tar.gz
sympathy-85a601f7fcaaa64d58567779236a4f3568c219ad.tar.bz2
sympathy-85a601f7fcaaa64d58567779236a4f3568c219ad.zip
*** empty log message ***
Diffstat (limited to 'apps')
-rw-r--r--apps/clients.c6
-rw-r--r--apps/sympathyd.c7
2 files changed, 12 insertions, 1 deletions
diff --git a/apps/clients.c b/apps/clients.c
index 01d5995..04aafc1 100644
--- a/apps/clients.c
+++ b/apps/clients.c
@@ -10,6 +10,9 @@ static char rcsid[] = "$Id$";
/*
* $Log$
+ * Revision 1.7 2008/02/15 23:52:12 james
+ * *** empty log message ***
+ *
* Revision 1.6 2008/02/15 03:32:07 james
* *** empty log message ***
*
@@ -56,6 +59,9 @@ client_msg (IPC_Msg * m, Context * c)
case IPC_MSG_TYPE_SETFLOW:
tty_set_flow (c->t, m->setflow.flow);
break;
+ case IPC_MSG_TYPE_HANGUP:
+ tty_hangup (c->t);
+ break;
default:
fprintf (stderr, "Unhandeled message type %d\n", m->hdr.type);
}
diff --git a/apps/sympathyd.c b/apps/sympathyd.c
index bdf8132..65ef1f9 100644
--- a/apps/sympathyd.c
+++ b/apps/sympathyd.c
@@ -11,6 +11,9 @@ static char rcsid[] =
/*
* $Log$
+ * Revision 1.13 2008/02/15 23:52:12 james
+ * *** empty log message ***
+ *
* Revision 1.12 2008/02/15 03:32:07 james
* *** empty log message ***
*
@@ -196,6 +199,7 @@ do_line (char *ptr, int lines, int line)
return ptr;
lname = line_to_name (line);
+ *(ptr++) = ' ';
while (*lname)
*(ptr++) = *(lname++);
@@ -292,7 +296,8 @@ main (int argc, char *argv[])
s = socket_listen ("socket");
- c.t = ptty_open (NULL, NULL);
+// c.t = ptty_open (NULL, NULL);
+ c.t = serial_open ("/dev/cellmodem", 0);
c.v = vt102_new ();
c.h = history_new (200);
c.l = file_log_new ("log");