X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/8dacc30e3a1bd57526c21b701383f69ef93a6703..10705014ce38c846c2314823550beb0371c5fc6c:/unix/uxputty.c diff --git a/unix/uxputty.c b/unix/uxputty.c index 5b7c580a..c2047879 100644 --- a/unix/uxputty.c +++ b/unix/uxputty.c @@ -13,16 +13,10 @@ /* * TODO: * - * - Arrange for the window title not to be `pterm'. - * * - Fix command-line parsing to be more PuTTYlike and not so * ptermy - in particular non-option arguments should be * hostname and port in the obvious way. * - * - Session loading and saving; current thinking says the best - * way is to have a subdir .putty/sessions containing files - * whose names are actually munged saved session names. - * * - libcharset enumeration. * * - fix the printer enum (I think the sensible thing is simply to @@ -150,6 +144,11 @@ int cfgbox(Config *cfg) return do_config_box("PuTTY Configuration", cfg); } +char *make_default_wintitle(char *hostname) +{ + return dupcat(hostname, " - PuTTY", NULL); +} + int main(int argc, char **argv) { extern int pt_main(int argc, char **argv);