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 */
14 Backend
*select_backend(Config
*cfg
)
19 int cfgbox(Config
*cfg
)
22 * This is a no-op in pterm, except that we'll ensure the
23 * protocol is set to -1 to inhibit the useless Connection
24 * panel in the config box.
30 void cleanup_exit(int code
)
35 int process_nonoption_arg(char *arg
, Config
*cfg
)
37 return 0; /* pterm doesn't have any. */
40 char *make_default_wintitle(char *hostname
)
42 return dupstr("pterm");
45 int main(int argc
, char **argv
)
47 extern int pt_main(int argc
, char **argv
);
48 extern void pty_pre_init(void); /* declared in pty.c */
50 cmdline_tooltype
= TOOLTYPE_NONNETWORK
;
51 default_protocol
= -1;
55 return pt_main(argc
, argv
);