Lines Matching defs:sys
36 import sys
237 sys.audit("telnetlib.Telnet.open", self, host, port)
261 The higher it is, the more debug output you get (on sys.stdout).
293 sys.audit("telnetlib.Telnet.write", self, buffer)
541 if sys.platform == "win32":
546 selector.register(sys.stdin, selectors.EVENT_READ)
557 sys.stdout.write(text.decode('ascii'))
558 sys.stdout.flush()
559 elif key.fileobj is sys.stdin:
560 line = sys.stdin.readline().encode('ascii')
570 line = sys.stdin.readline()
584 sys.stdout.write(data.decode('ascii'))
586 sys.stdout.flush()
660 while sys.argv[1:] and sys.argv[1] == '-d':
662 del sys.argv[1]
664 if sys.argv[1:]:
665 host = sys.argv[1]
667 if sys.argv[2:]:
668 portstr = sys.argv[2]