projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Serial back end for Unix. Due to hardware limitations (no Linux box
[u/mdw/putty]
/
unix
/
gtkwin.c
diff --git
a/unix/gtkwin.c
b/unix/gtkwin.c
index
76f78f6
..
920d7fe
100644
(file)
--- a/
unix/gtkwin.c
+++ b/
unix/gtkwin.c
@@
-155,6
+155,8
@@
Filename platform_default_filename(const char *name)
char *platform_default_s(const char *name)
{
char *platform_default_s(const char *name)
{
+ if (!strcmp(name, "SerialLine"))
+ return dupstr("/dev/ttyS0");
return NULL;
}
return NULL;
}
@@
-3444,7
+3446,7
@@
int pt_main(int argc, char **argv)
cmdline_run_saved(&inst->cfg);
cmdline_run_saved(&inst->cfg);
- if (!
*inst->cfg.host
&& !cfgbox(&inst->cfg))
+ if (!
cfg_launchable(&inst->cfg)
&& !cfgbox(&inst->cfg))
exit(0); /* config box hit Cancel */
}
exit(0); /* config box hit Cancel */
}