Support for Windows PuTTY connecting straight to a local serial port
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 28 Aug 2006 10:35:12 +0000 (10:35 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 28 Aug 2006 10:35:12 +0000 (10:35 +0000)
commit7374c7790ee32f36855e4257eb15d2fe43e277ea
tree5b3aeb4cebcc3ec877331e6093c8f26a33207bf8
parent5dd29cf7f83b5dd9aa2c87898e7ea57abdf99a3e
Support for Windows PuTTY connecting straight to a local serial port
in place of making a network connection. This has involved a couple
of minor infrastructure changes:
 - New dlg_label_change() function in the dialog.h interface, which
   alters the label on a control. Only used, at present, to switch
   the Host Name and Port boxes into Serial Line and Speed, which
   means that any platform not implementing serial connections (i.e.
   currently all but Windows) does not need to actually do anything
   in this function. Yet.
 - New small piece of infrastructure: cfg_launchable() determines
   whether a Config structure describes a session ready to be
   launched. This was previously determined by seeing if it had a
   non-empty host name, but it has to check the serial line as well
   so there's a centralised function for it. I haven't gone through
   all front ends and arranged for this function to be used
   everywhere it needs to be; so far I've only checked Windows.
 - Similarly, cfg_dest() returns the destination of a connection
   (host name or serial line) in a text format suitable for putting
   into messages such as `Unable to connect to %s'.

git-svn-id: svn://svn.tartarus.org/sgt/putty@6815 cda61777-01e9-0310-a592-d414129be87e
23 files changed:
Recipe
be_all_s.c [new file with mode: 0644]
be_nos_s.c [new file with mode: 0644]
config.c
dialog.h
doc/config.but
doc/gs.but
doc/using.but
mac/macctrls.c
macosx/osxctrls.m
misc.c
putty.h
sercfg.c [new file with mode: 0644]
settings.c
unix/gtkdlg.c
windows/wincfg.c
windows/winctrls.c
windows/windefs.c
windows/window.c
windows/winhelp.h
windows/winplink.c
windows/winser.c [new file with mode: 0644]
windows/winstuff.h