mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-03 04:22:47 -05:00
Serial back end for Unix. Due to hardware limitations (no Linux box
I own has both an X display and a working serial port) I have been unable to give this the full testing it deserves; I've managed to demonstrate the basic functionality of Unix Plink talking to a serial port, but I haven't been able to test the GTK front end. I have no reason to think it will fail, but I'll be more comfortable once somebody has actually tested it. [originally from svn r6822]
This commit is contained in:
@ -155,6 +155,8 @@ Filename platform_default_filename(const char *name)
|
||||
|
||||
char *platform_default_s(const char *name)
|
||||
{
|
||||
if (!strcmp(name, "SerialLine"))
|
||||
return dupstr("/dev/ttyS0");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@ -3444,7 +3446,7 @@ int pt_main(int argc, char **argv)
|
||||
|
||||
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 */
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user