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 use_pty_argv
= TRUE
;
15 Backend
*select_backend(Config
*cfg
)
20 int cfgbox(Config
*cfg
)
23 * This is a no-op in pterm, except that we'll ensure the
24 * protocol is set to -1 to inhibit the useless Connection
25 * panel in the config box.
31 void cleanup_exit(int code
)
36 int process_nonoption_arg(char *arg
, Config
*cfg
, int *allow_launch
)
38 return 0; /* pterm doesn't have any. */
41 char *make_default_wintitle(char *hostname
)
43 return dupstr("pterm");
46 int main(int argc
, char **argv
)
48 extern int pt_main(int argc
, char **argv
);
49 extern void pty_pre_init(void); /* declared in pty.c */
51 cmdline_tooltype
= TOOLTYPE_NONNETWORK
;
52 default_protocol
= -1;
56 return pt_main(argc
, argv
);