2 * pterm main program.
\r
10 const char *const appname = "pterm";
\r
11 const int use_event_log = 0; /* pterm doesn't need it */
\r
12 const int new_session = 0, saved_sessions = 0; /* or these */
\r
13 const int use_pty_argv = TRUE;
\r
15 Backend *select_backend(Config *cfg)
\r
17 return &pty_backend;
\r
20 int cfgbox(Config *cfg)
\r
23 * This is a no-op in pterm, except that we'll ensure the
\r
24 * protocol is set to -1 to inhibit the useless Connection
\r
25 * panel in the config box.
\r
31 void cleanup_exit(int code)
\r
36 int process_nonoption_arg(char *arg, Config *cfg, int *allow_launch)
\r
38 return 0; /* pterm doesn't have any. */
\r
41 char *make_default_wintitle(char *hostname)
\r
43 return dupstr("pterm");
\r
46 int main(int argc, char **argv)
\r
48 extern int pt_main(int argc, char **argv);
\r
49 extern void pty_pre_init(void); /* declared in pty.c */
\r
51 cmdline_tooltype = TOOLTYPE_NONNETWORK;
\r
52 default_protocol = -1;
\r
56 return pt_main(argc, argv);
\r