Lines Matching full:gp
22 import gen_print as gp namespace
38 buffer = gp.sindent("", indent)
41 buffer += gp.sprint_varx("index", connection.index, 0, indent)
42 buffer += gp.sprint_varx("host", connection.host, 0, indent)
43 buffer += gp.sprint_varx("alias", connection.alias, 0, indent)
44 buffer += gp.sprint_varx("port", connection.port, 0, indent)
45 buffer += gp.sprint_varx("timeout", connection.timeout, 0, indent)
46 buffer += gp.sprint_varx("newline", connection.newline, 0, indent)
47 buffer += gp.sprint_varx("prompt", connection.prompt, 0, indent)
48 buffer += gp.sprint_varx("term_type", connection.term_type, 0, indent)
49 buffer += gp.sprint_varx("width", connection.width, 0, indent)
50 buffer += gp.sprint_varx("height", connection.height, 0, indent)
51 buffer += gp.sprint_varx(
54 buffer += gp.sprint_varx("encoding", connection.encoding, 0, indent)
118 gp.lprint_executing()
124 gp.lprintn(sprint_connection(connection))
126 gp.lprint_timen("Logging in to " + connection.host + ".")
127 gp.lprint_var(login_attempt_num)
134 gp.lprint_var(except_type)
135 gp.lprint_varx("except_value", str(except_value))
145 gp.lprint_var(out_buf)
200 gp.lprint_executing()
203 quiet = int(gp.get_var_value(quiet, 0))
204 test_mode = int(gp.get_var_value(test_mode, 0))
207 gp.pissuing(cmd_buf, test_mode)
208 gp.lpissuing(cmd_buf, test_mode)
223 gp.lprint_timen("Found the following existing connection:")
224 gp.lprintn(sprint_connection(connection))
229 gp.lprint_timen(
234 gp.lprint_timen("Connecting to " + open_connection_args["host"] + ".")
246 gp.lprint_var(exec_cmd_attempt_num)
267 gp.lprint_var(except_type)
268 gp.lprint_varx("except_value", str(except_value))
322 gp.lprint_timen("Closing all connections.")
324 gp.lprint_timen(
333 gp.lprintn(traceback.format_exc())
343 gp.print_var(rc, gp.hexa())
345 gp.print_var(stderr)
346 gp.print_var(stdout)
349 gp.printn(stderr + stdout)
352 message = gp.sprint_error(
356 + gp.sprint_var(rc, gp.hexa())