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 printer_enum *printer_start_enum(int *nprinters_ptr) {
37 char *printer_get_name(printer_enum *pe, int i) { return NULL;
39 void printer_finish_enum(printer_enum *pe) { }
41 Backend *select_backend(Config *cfg)
46 int cfgbox(Config *cfg)
48 return 1; /* no-op in pterm */
51 void cleanup_exit(int code)
56 int process_nonoption_arg(char *arg, Config *cfg)
58 return 0; /* pterm doesn't have any. */
61 char *make_default_wintitle(char *hostname)
63 return dupstr("pterm");
66 int main(int argc, char **argv)
68 extern int pt_main(int argc, char **argv);
69 extern void pty_pre_init(void); /* declared in pty.c */
71 cmdline_tooltype = TOOLTYPE_NONNETWORK;
75 return pt_main(argc, argv);