10 const char *const appname = "pterm";
11 const int use_event_log = 0; /* pterm doesn't need it */
12 const int new_session = 0, saved_sessions = 0; /* or these */
13 const int dup_check_launchable = 0; /* no need to check host name in conf */
14 const int use_pty_argv = TRUE;
16 Backend *select_backend(Conf *conf)
21 int cfgbox(Conf *conf)
24 * This is a no-op in pterm, except that we'll ensure the
25 * protocol is set to -1 to inhibit the useless Connection
26 * panel in the config box.
28 conf_set_int(conf, CONF_protocol, -1);
32 void cleanup_exit(int code)
37 int process_nonoption_arg(const char *arg, Conf *conf, int *allow_launch)
39 return 0; /* pterm doesn't have any. */
42 char *make_default_wintitle(char *hostname)
44 return dupstr("pterm");
47 void setup(int single)
49 extern void pty_pre_init(void); /* declared in pty.c */
51 cmdline_tooltype = TOOLTYPE_NONNETWORK;
52 default_protocol = -1;