And everyone's favourite cosmetic change: Unix PuTTY now doesn't
[u/mdw/putty] / unix / uxputty.c
index 5b7c580..c204787 100644 (file)
 /*
  * 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);