[Sofaswitch-svn] [commit] r424 - sofaswitch/trunk/server
Author: derek Date: Wed Jul 2 23:45:34 2008 New Revision: 424 Modified: sofaswitch/trunk/server/client.py Log: Go back to no up arrow - it breaks the shell... Modified: sofaswitch/trunk/server/client.py ============================================================================== --- sofaswitch/trunk/server/client.py (original) +++ sofaswitch/trunk/server/client.py Wed Jul 2 23:45:34 2008 @@ -6,7 +6,7 @@ # See the description in server.py on how you use this program. # -import readline, socket, os, sys, thread +import socket, os, sys, thread if len(sys.argv) < 3: print "Syntax: client.py myId destination_host" @@ -35,7 +35,7 @@ thread.start_new(report_incoming,()) while True: - value = raw_input("> ") + value = sys.stdin.readline() value = value.strip() if value == 'end': sys.exit()
participants (1)
-
SofaSWITCH SVN