10 const char *const appname = "pterm";
13 * Another bunch of temporary stub functions. These ones will want
14 * removing by means of implementing them properly: libcharset
15 * should invent its own sensible format for codepage names and a
16 * means of enumerating them, and printer_enum needs to be dealt
17 * with somehow or other too.
20 char *cp_name(int codepage)
24 char *cp_enumerate(int index)
28 int decode_codepage(char *cp_name)
33 Backend *select_backend(Config *cfg)
38 int cfgbox(Config *cfg)
40 return 1; /* no-op in pterm */
43 void cleanup_exit(int code)
48 int process_nonoption_arg(char *arg, Config *cfg)
50 return 0; /* pterm doesn't have any. */
53 char *make_default_wintitle(char *hostname)
55 return dupstr("pterm");
58 int main(int argc, char **argv)
60 extern int pt_main(int argc, char **argv);
61 extern void pty_pre_init(void); /* declared in pty.c */
63 cmdline_tooltype = TOOLTYPE_NONNETWORK;
67 return pt_main(argc, argv);